Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a+8114a0a5788dfb33e69c59c13f1ac2f90e850568 (b27f164c2d642e5ade3e14d40ad708936a509302) 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-ssh7564259399571725678.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-ssh10231949508382742689.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6429448094104962512.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 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-ssh1092601380183029082.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9748465505893287975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2304 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [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-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a Merge succeeded, producing a7ef5b171d37566981e78ee191679ede5e224b67 Checking out Revision a7ef5b171d37566981e78ee191679ede5e224b67 (PR-385) > 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # 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 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7ef5b171d37566981e78ee191679ede5e224b67 # timeout=10 Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" > git rev-list --no-walk 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-13T03:18:01.327Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T03:18:01.369Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T03:18:01.383Z] ========================================================= [2022-06-13T03:18:01.383Z] EdgeX Global Pipelines Version Info [2022-06-13T03:18:01.383Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:18:02.145Z] ------------------- [2022-06-13T03:18:02.145Z] stable info: [2022-06-13T03:18:02.145Z] ------------------- [2022-06-13T03:18:02.145Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T03:18:02.145Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T03:18:02.145Z] Message: update stable to v1.0.234 [2022-06-13T03:18:02.720Z] ------------------- [2022-06-13T03:18:02.720Z] experimental info: [2022-06-13T03:18:02.720Z] ------------------- [2022-06-13T03:18:02.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T03:18:02.720Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T03:18:02.720Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T03:18:02.997Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-13T03:18:03.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-13T03:18:03.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T03:18:03.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T03:18:03.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T03:18:03.075Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T03:18:03.087Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T03:18:03.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T03:18:03.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T03:18:03.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T03:18:03.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T03:18:03.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-13T03:18:03.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T03:18:03.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T03:18:03.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T03:18:03.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T03:18:03.228Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T03:18:03.246Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T03:18:03.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T03:18:03.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T03:18:03.305Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T03:18:03.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T03:18:03.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T03:18:03.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T03:18:03.368Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T03:18:03.383Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T03:18:03.394Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T03:18:03.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-06-13T03:18:03.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-06-13T03:18:03.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-06-13T03:18:03.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo [2022-06-13T03:18:03.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7ef5b1 [Pipeline] echo [2022-06-13T03:18:03.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:18:03.515Z] provisioning config files... [2022-06-13T03:18:03.530Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config8364690220662750163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:18:03.850Z] ---> docker-login.sh [2022-06-13T03:18:03.850Z] nexus3.edgexfoundry.org:10001 [2022-06-13T03:18:04.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:04.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:04.113Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:04.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:04.113Z] [2022-06-13T03:18:04.113Z] Login Succeeded [2022-06-13T03:18:04.113Z] nexus3.edgexfoundry.org:10002 [2022-06-13T03:18:04.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:04.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:04.375Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:04.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:04.375Z] [2022-06-13T03:18:04.375Z] Login Succeeded [2022-06-13T03:18:04.375Z] nexus3.edgexfoundry.org:10003 [2022-06-13T03:18:04.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:04.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:04.637Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:04.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:04.637Z] [2022-06-13T03:18:04.637Z] Login Succeeded [2022-06-13T03:18:04.637Z] nexus3.edgexfoundry.org:10004 [2022-06-13T03:18:04.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:04.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:04.637Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:04.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:04.637Z] [2022-06-13T03:18:04.637Z] Login Succeeded [2022-06-13T03:18:04.637Z] docker.io [2022-06-13T03:18:04.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:05.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:05.161Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:05.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:05.161Z] [2022-06-13T03:18:05.161Z] Login Succeeded [2022-06-13T03:18:05.161Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T03:18:05.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T03:18:05.552Z] + git rev-list -1 --merges a7ef5b171d37566981e78ee191679ede5e224b67~1..a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo [2022-06-13T03:18:05.581Z] -----------> git rev-list -1 --merges a7ef5b171d37566981e78ee191679ede5e224b67~1..a7ef5b171d37566981e78ee191679ede5e224b67 a7ef5b171d37566981e78ee191679ede5e224b67 [2022-06-13T03:18:05.581Z] a7ef5b171d37566981e78ee191679ede5e224b67 [false] [Pipeline] sh [2022-06-13T03:18:05.878Z] + git log --format=format:%s -1 a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo [2022-06-13T03:18:05.894Z] ========================================================= [2022-06-13T03:18:05.894Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T03:18:05.894Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T03:18:06.233Z] + git log --format=format:%s -1 a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo [2022-06-13T03:18:06.246Z] [semverPrep] GIT_COMMIT: a7ef5b171d37566981e78ee191679ede5e224b67, Commit Message: Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD [Pipeline] echo [2022-06-13T03:18:06.256Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T03:18:06.629Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T03:18:06.629Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T03:18:06.629Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T03:18:06.629Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T03:18:06.629Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-13T03:18:06.629Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-13T03:18:06.629Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:18:07.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:18:07.061Z] [2022-06-13T03:18:07.061Z] 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-13T03:18:07.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:18:07.376Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T03:18:07.376Z] 42c077c10790: Pulling fs layer [2022-06-13T03:18:07.376Z] f63e77b7563a: Pulling fs layer [2022-06-13T03:18:07.376Z] bd5fdadae976: Pulling fs layer [2022-06-13T03:18:07.376Z] 205491f53016: Pulling fs layer [2022-06-13T03:18:07.376Z] df18705c85c3: Pulling fs layer [2022-06-13T03:18:07.376Z] bdb3f477010e: Pulling fs layer [2022-06-13T03:18:07.376Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T03:18:07.376Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T03:18:07.376Z] bdb8f0575790: Pulling fs layer [2022-06-13T03:18:07.376Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T03:18:07.376Z] 2343380bae48: Pulling fs layer [2022-06-13T03:18:07.376Z] 205491f53016: Waiting [2022-06-13T03:18:07.376Z] df18705c85c3: Waiting [2022-06-13T03:18:07.376Z] bdb3f477010e: Waiting [2022-06-13T03:18:07.376Z] c8a8fc8e1c8f: Waiting [2022-06-13T03:18:07.376Z] 2c6e9b1d212d: Waiting [2022-06-13T03:18:07.376Z] 2343380bae48: Waiting [2022-06-13T03:18:07.376Z] bdb8f0575790: Waiting [2022-06-13T03:18:07.376Z] f63e77b7563a: Verifying Checksum [2022-06-13T03:18:07.376Z] f63e77b7563a: Download complete [2022-06-13T03:18:07.376Z] 205491f53016: Download complete [2022-06-13T03:18:07.636Z] bd5fdadae976: Verifying Checksum [2022-06-13T03:18:07.636Z] bd5fdadae976: Download complete [2022-06-13T03:18:07.636Z] df18705c85c3: Verifying Checksum [2022-06-13T03:18:07.636Z] df18705c85c3: Download complete [2022-06-13T03:18:07.636Z] bdb3f477010e: Download complete [2022-06-13T03:18:07.636Z] 2c6e9b1d212d: Download complete [2022-06-13T03:18:07.636Z] bdb8f0575790: Download complete [2022-06-13T03:18:07.636Z] 386e3cb2ff24: Verifying Checksum [2022-06-13T03:18:07.636Z] 386e3cb2ff24: Download complete [2022-06-13T03:18:07.636Z] 2343380bae48: Verifying Checksum [2022-06-13T03:18:07.636Z] 2343380bae48: Download complete [2022-06-13T03:18:07.636Z] 42c077c10790: Download complete [2022-06-13T03:18:07.897Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-13T03:18:07.897Z] c8a8fc8e1c8f: Download complete [2022-06-13T03:18:09.283Z] 42c077c10790: Pull complete [2022-06-13T03:18:09.283Z] f63e77b7563a: Pull complete [2022-06-13T03:18:09.853Z] bd5fdadae976: Pull complete [2022-06-13T03:18:09.853Z] 205491f53016: Pull complete [2022-06-13T03:18:10.115Z] df18705c85c3: Pull complete [2022-06-13T03:18:10.376Z] bdb3f477010e: Pull complete [2022-06-13T03:18:12.290Z] c8a8fc8e1c8f: Pull complete [2022-06-13T03:18:12.290Z] 2c6e9b1d212d: Pull complete [2022-06-13T03:18:12.552Z] bdb8f0575790: Pull complete [2022-06-13T03:18:12.552Z] 386e3cb2ff24: Pull complete [2022-06-13T03:18:12.552Z] 2343380bae48: Pull complete [2022-06-13T03:18:12.552Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T03:18:12.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T03:18:12.552Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:18:12.658Z] prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container [2022-06-13T03:18:12.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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-devops/py-git-semver:0.1.4 cat [2022-06-13T03:18:14.259Z] $ docker top 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 -eo pid,comm [2022-06-13T03:18:14.335Z] 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-13T03:18:14.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T03:18:14.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T03:18:14.374Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T03:18:14.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T03:18:14.511Z] $ docker exec 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent [2022-06-13T03:18:14.662Z] SSH_AUTH_SOCK=/tmp/ssh-rOria3wdYRgB/agent.33 [2022-06-13T03:18:14.662Z] SSH_AGENT_PID=39 [2022-06-13T03:18:14.670Z] Running ssh-add (command line suppressed) [2022-06-13T03:18:14.797Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_9148768635784787505.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_9148768635784787505.key) [2022-06-13T03:18:14.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T03:18:15.108Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T03:18:15.125Z] $ docker exec --env ******** --env ******** 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent -k [2022-06-13T03:18:15.232Z] unset SSH_AUTH_SOCK; [2022-06-13T03:18:15.232Z] unset SSH_AGENT_PID; [2022-06-13T03:18:15.232Z] echo Agent pid 39 killed; [2022-06-13T03:18:15.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T03:18:15.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T03:18:15.275Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T03:18:15.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T03:18:15.403Z] $ docker exec 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent [2022-06-13T03:18:15.561Z] SSH_AUTH_SOCK=/tmp/ssh-XPxPhPN0Wliz/agent.73 [2022-06-13T03:18:15.561Z] SSH_AGENT_PID=79 [2022-06-13T03:18:15.567Z] Running ssh-add (command line suppressed) [2022-06-13T03:18:15.693Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5678409279471477399.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5678409279471477399.key) [2022-06-13T03:18:15.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T03:18:16.006Z] + git semver init [2022-06-13T03:18:16.268Z] 2022-06-13 03:18:16,226 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T03:18:16.268Z] 2022-06-13 03:18:16,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver [2022-06-13T03:18:16.268Z] 2022-06-13 03:18:16,227 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver [2022-06-13T03:18:16.268Z] 2022-06-13 03:18:16,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,938 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.git/info/exclude [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 with force:False [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,943 [execute] INFO git cat-file --batch-check [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,950 [execute] INFO git cat-file --batch [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-06-13T03:18:17.211Z] 2022-06-13 03:18:16,955 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 [2022-06-13T03:18:17.211Z] 0.0.0 [Pipeline] } [2022-06-13T03:18:17.221Z] $ docker exec --env ******** --env ******** 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent -k [2022-06-13T03:18:17.337Z] unset SSH_AUTH_SOCK; [2022-06-13T03:18:17.337Z] unset SSH_AGENT_PID; [2022-06-13T03:18:17.338Z] echo Agent pid 79 killed; [2022-06-13T03:18:17.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T03:18:17.673Z] + git semver [Pipeline] } [2022-06-13T03:18:17.947Z] $ docker stop --time=1 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 [2022-06-13T03:18:19.335Z] $ docker rm -f 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T03:18:19.703Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T03:18:19.963Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T03:18:19.966Z] [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-13T03:18:20.110Z] provisioning config files... [2022-06-13T03:18:20.125Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config7434556679619013615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:18:20.432Z] ---> docker-login.sh [2022-06-13T03:18:20.432Z] nexus3.edgexfoundry.org:10001 [2022-06-13T03:18:20.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:20.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:20.432Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:20.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:20.432Z] [2022-06-13T03:18:20.432Z] Login Succeeded [2022-06-13T03:18:20.432Z] nexus3.edgexfoundry.org:10002 [2022-06-13T03:18:20.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:20.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:20.694Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:20.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:20.694Z] [2022-06-13T03:18:20.694Z] Login Succeeded [2022-06-13T03:18:20.694Z] nexus3.edgexfoundry.org:10003 [2022-06-13T03:18:20.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:20.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:20.694Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:20.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:20.694Z] [2022-06-13T03:18:20.694Z] Login Succeeded [2022-06-13T03:18:20.694Z] nexus3.edgexfoundry.org:10004 [2022-06-13T03:18:20.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:20.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:20.954Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:20.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:20.954Z] [2022-06-13T03:18:20.954Z] Login Succeeded [2022-06-13T03:18:20.954Z] docker.io [2022-06-13T03:18:20.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:18:21.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:18:21.214Z] Configure a credential helper to remove this warning. See [2022-06-13T03:18:21.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:18:21.214Z] [2022-06-13T03:18:21.214Z] Login Succeeded [2022-06-13T03:18:21.214Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T03:18:21.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T03:18:21.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T03:18:21.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T03:18:21.307Z] ========================================================= [2022-06-13T03:18:21.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T03:18:21.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:18:21.630Z] + 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-13T03:18:21.631Z] Sending build context to Docker daemon 6.009MB [2022-06-13T03:18:21.631Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T03:18:21.631Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T03:18:21.631Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T03:18:21.631Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T03:18:21.631Z] 666ba61612fd: Pulling fs layer [2022-06-13T03:18:21.631Z] 8ed8ca486205: Pulling fs layer [2022-06-13T03:18:21.631Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T03:18:21.631Z] c516ae0d96e1: Pulling fs layer [2022-06-13T03:18:21.631Z] 684cea983483: Pulling fs layer [2022-06-13T03:18:21.631Z] dd3240ac7de5: Pulling fs layer [2022-06-13T03:18:21.631Z] b1e948a4e11c: Pulling fs layer [2022-06-13T03:18:21.631Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T03:18:21.631Z] 646ad004c059: Pulling fs layer [2022-06-13T03:18:21.631Z] c516ae0d96e1: Waiting [2022-06-13T03:18:21.631Z] 684cea983483: Waiting [2022-06-13T03:18:21.631Z] dd3240ac7de5: Waiting [2022-06-13T03:18:21.631Z] b1e948a4e11c: Waiting [2022-06-13T03:18:21.631Z] cc1cd167ecdc: Waiting [2022-06-13T03:18:21.631Z] 646ad004c059: Waiting [2022-06-13T03:18:21.631Z] a8fd76ee1af6: Waiting [2022-06-13T03:18:21.631Z] 8ed8ca486205: Verifying Checksum [2022-06-13T03:18:21.631Z] 8ed8ca486205: Download complete [2022-06-13T03:18:21.631Z] 666ba61612fd: Verifying Checksum [2022-06-13T03:18:21.631Z] 666ba61612fd: Download complete [2022-06-13T03:18:21.890Z] c516ae0d96e1: Verifying Checksum [2022-06-13T03:18:21.890Z] c516ae0d96e1: Download complete [2022-06-13T03:18:21.890Z] 684cea983483: Verifying Checksum [2022-06-13T03:18:21.890Z] 684cea983483: Download complete [2022-06-13T03:18:21.890Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T03:18:21.890Z] 59bf1c3509f3: Download complete [2022-06-13T03:18:21.890Z] dd3240ac7de5: Verifying Checksum [2022-06-13T03:18:21.890Z] dd3240ac7de5: Download complete [2022-06-13T03:18:21.890Z] b1e948a4e11c: Verifying Checksum [2022-06-13T03:18:21.890Z] b1e948a4e11c: Download complete [2022-06-13T03:18:21.890Z] 59bf1c3509f3: Pull complete [2022-06-13T03:18:22.153Z] 666ba61612fd: Pull complete [2022-06-13T03:18:22.153Z] 8ed8ca486205: Pull complete [2022-06-13T03:18:22.414Z] 646ad004c059: Verifying Checksum [2022-06-13T03:18:22.415Z] 646ad004c059: Download complete [2022-06-13T03:18:22.415Z] a8fd76ee1af6: Verifying Checksum [2022-06-13T03:18:22.415Z] a8fd76ee1af6: Download complete [2022-06-13T03:18:22.674Z] cc1cd167ecdc: Verifying Checksum [2022-06-13T03:18:22.674Z] cc1cd167ecdc: Download complete [2022-06-13T03:18:26.884Z] cc1cd167ecdc: Pull complete [2022-06-13T03:18:26.884Z] c516ae0d96e1: Pull complete [2022-06-13T03:18:26.884Z] 684cea983483: Pull complete [2022-06-13T03:18:26.884Z] dd3240ac7de5: Pull complete [2022-06-13T03:18:26.884Z] b1e948a4e11c: Pull complete [2022-06-13T03:18:29.447Z] a8fd76ee1af6: Pull complete [2022-06-13T03:18:30.018Z] 646ad004c059: Pull complete [2022-06-13T03:18:30.018Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T03:18:30.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T03:18:30.281Z] ---> 8f69c11f6b0c [2022-06-13T03:18:30.281Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T03:18:32.197Z] ---> Running in 60d8bb66e3b8 [2022-06-13T03:18:32.197Z] Removing intermediate container 60d8bb66e3b8 [2022-06-13T03:18:32.197Z] ---> 82ca78ed3e4c [2022-06-13T03:18:32.197Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T03:18:32.197Z] ---> Running in 6867a8524be6 [2022-06-13T03:18:32.197Z] Removing intermediate container 6867a8524be6 [2022-06-13T03:18:32.197Z] ---> fbcbdf2c5a49 [2022-06-13T03:18:32.197Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T03:18:32.197Z] ---> Running in 9a14ecf3794c [2022-06-13T03:18:32.768Z] Removing intermediate container 9a14ecf3794c [2022-06-13T03:18:32.768Z] ---> 7998d7244b51 [2022-06-13T03:18:32.768Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T03:18:32.768Z] ---> Running in 32c36e35881b [2022-06-13T03:18:33.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T03:18:33.971Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T03:18:34.541Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T03:18:34.541Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T03:18:34.541Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T03:18:34.803Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T03:18:34.803Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T03:18:34.803Z] OK: 224 MiB in 56 packages [2022-06-13T03:18:35.079Z] Still waiting to schedule task [2022-06-13T03:18:35.079Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-13T03:18:35.375Z] Removing intermediate container 32c36e35881b [2022-06-13T03:18:35.375Z] ---> 8862acc37875 [2022-06-13T03:18:35.375Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T03:18:35.375Z] ---> Running in fdc83cc6b273 [2022-06-13T03:18:35.375Z] Removing intermediate container fdc83cc6b273 [2022-06-13T03:18:35.375Z] ---> 6456a7299f0c [2022-06-13T03:18:35.375Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T03:18:35.643Z] ---> 6304ea9cfb49 [2022-06-13T03:18:35.643Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T03:18:35.643Z] ---> Running in 0b1df42b3d22 [2022-06-13T03:18:50.568Z] Removing intermediate container 0b1df42b3d22 [2022-06-13T03:18:50.568Z] ---> e954679e82be [2022-06-13T03:18:50.568Z] Step 10/12 : COPY . . [2022-06-13T03:18:50.568Z] ---> 42ca4e9f6343 [2022-06-13T03:18:50.568Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T03:18:50.568Z] ---> Running in ed08c31bf99e [2022-06-13T03:18:50.568Z] Removing intermediate container ed08c31bf99e [2022-06-13T03:18:50.568Z] ---> 2e13228b1ce9 [2022-06-13T03:18:50.568Z] Step 12/12 : RUN $MAKE [2022-06-13T03:18:50.568Z] ---> Running in 4b1603a05259 [2022-06-13T03:18:50.568Z] noop [2022-06-13T03:18:50.568Z] Removing intermediate container 4b1603a05259 [2022-06-13T03:18:50.568Z] ---> 49a18d4e3af4 [2022-06-13T03:18:50.568Z] Successfully built 49a18d4e3af4 [2022-06-13T03:18:50.568Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:18:50.883Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T03:18:50.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:18:50.970Z] prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container [2022-06-13T03:18:51.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-13T03:18:51.421Z] $ docker top 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T03:18:51.780Z] + go version [2022-06-13T03:18:51.780Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T03:18:51.798Z] $ docker stop --time=1 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 [2022-06-13T03:18:53.109Z] $ docker rm -f 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:18:53.535Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T03:18:53.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:18:53.628Z] prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container [2022-06-13T03:18:53.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-13T03:18:54.198Z] $ docker top 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T03:18:54.574Z] + make test [2022-06-13T03:18:54.574Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T03:18:54.833Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T03:19:04.829Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T03:19:04.829Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-06-13T03:19:04.829Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T03:19:10.117Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T03:19:13.411Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T03:19:13.411Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T03:19:13.411Z] ./bin/test-attribution-txt.sh [2022-06-13T03:19:13.671Z] An attribution for golang.org/x/sync is missing from in Attribution.txt, please add [2022-06-13T03:19:13.671Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-06-13T03:19:13.689Z] $ docker stop --time=1 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd [2022-06-13T03:19:15.488Z] $ docker rm -f 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:19:16.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T03:19:16.055Z] [2022-06-13T03:19:16.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:19:16.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T03:19:16.357Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T03:19:16.357Z] 5eb5b503b376: Pulling fs layer [2022-06-13T03:19:16.357Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T03:19:16.357Z] ec43610c2a17: Pulling fs layer [2022-06-13T03:19:16.357Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T03:19:16.357Z] 33b1e0a273af: Pulling fs layer [2022-06-13T03:19:16.357Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T03:19:16.357Z] 2f39f015ded8: Pulling fs layer [2022-06-13T03:19:16.357Z] 3a2ae6a8a46f: Waiting [2022-06-13T03:19:16.357Z] 33b1e0a273af: Waiting [2022-06-13T03:19:16.357Z] 5d3b04190fa2: Waiting [2022-06-13T03:19:16.357Z] 2f39f015ded8: Waiting [2022-06-13T03:19:16.357Z] 5c69ac0246d0: Verifying Checksum [2022-06-13T03:19:16.357Z] 5c69ac0246d0: Download complete [2022-06-13T03:19:16.357Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-13T03:19:16.357Z] 3a2ae6a8a46f: Download complete [2022-06-13T03:19:16.357Z] 33b1e0a273af: Verifying Checksum [2022-06-13T03:19:16.357Z] 33b1e0a273af: Download complete [2022-06-13T03:19:16.618Z] 5d3b04190fa2: Verifying Checksum [2022-06-13T03:19:16.618Z] 5d3b04190fa2: Download complete [2022-06-13T03:19:16.618Z] ec43610c2a17: Verifying Checksum [2022-06-13T03:19:16.618Z] ec43610c2a17: Download complete [2022-06-13T03:19:16.618Z] 5eb5b503b376: Verifying Checksum [2022-06-13T03:19:16.618Z] 5eb5b503b376: Download complete [2022-06-13T03:19:17.186Z] 2f39f015ded8: Verifying Checksum [2022-06-13T03:19:17.186Z] 2f39f015ded8: Download complete [2022-06-13T03:19:18.123Z] 5eb5b503b376: Pull complete [2022-06-13T03:19:18.123Z] 5c69ac0246d0: Pull complete [2022-06-13T03:19:18.384Z] ec43610c2a17: Pull complete [2022-06-13T03:19:18.643Z] 3a2ae6a8a46f: Pull complete [2022-06-13T03:19:18.643Z] 33b1e0a273af: Pull complete [2022-06-13T03:19:18.903Z] 5d3b04190fa2: Pull complete [2022-06-13T03:19:23.115Z] 2f39f015ded8: Pull complete [2022-06-13T03:19:23.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T03:19:23.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T03:19:23.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:19:23.205Z] prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container [2022-06-13T03:19:23.245Z] $ 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-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T03:19:24.925Z] $ docker top 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:19:25.327Z] ---> job-cost.sh [2022-06-13T03:19:25.327Z] lf-activate-venv: SKIPPING [2022-06-13T03:19:25.327Z] INFO: No Stack... [2022-06-13T03:19:25.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T03:19:26.159Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T03:19:26.453Z] + cut -d,+ -f6 [2022-06-13T03:19:26.453Z] cat /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/cost.csv [Pipeline] lock [2022-06-13T03:19:26.472Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [2022-06-13T03:19:26.481Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] did not exist. Created. [2022-06-13T03:19:26.481Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T03:19:26.795Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T03:19:26.834Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T03:19:26.841Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T03:19:26.864Z] $ docker stop --time=1 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 [2022-06-13T03:19:28.040Z] $ docker rm -f 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T03:19:28.174Z] Failed in branch amd64 [2022-06-13T03:20:10.600Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2305 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [Pipeline] { [Pipeline] ws [2022-06-13T03:20:10.612Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-06-13T03:20:10.647Z] Selected Git installation does not exist. Using Default [2022-06-13T03:20:10.647Z] The recommended git tool is: NONE [2022-06-13T03:20:16.378Z] using credential edgex-jenkins-ssh [2022-06-13T03:20:16.399Z] Cloning the remote Git repository [2022-06-13T03:20:16.488Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T03:20:16.587Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-06-13T03:20:16.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T03:20:16.681Z] > git --version # timeout=10 [2022-06-13T03:20:16.698Z] > git --version # 'git version 2.25.1' [2022-06-13T03:20:16.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T03:20:16.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T03:20:17.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-13T03:20:17.755Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T03:20:17.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-13T03:20:17.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-13T03:20:17.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T03:20:17.837Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-13T03:20:18.321Z] Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [2022-06-13T03:20:18.573Z] Merge succeeded, producing 62306c4adbdca55da5a026bd6518b65a996beead [2022-06-13T03:20:18.574Z] Checking out Revision 62306c4adbdca55da5a026bd6518b65a996beead (PR-385) [2022-06-13T03:20:18.346Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T03:20:18.365Z] > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [2022-06-13T03:20:18.453Z] > git remote # timeout=10 [2022-06-13T03:20:18.470Z] > git config --get remote.origin.url # timeout=10 [2022-06-13T03:20:18.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T03:20:18.502Z] > git merge 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 [2022-06-13T03:20:18.562Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-13T03:20:18.588Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T03:20:18.606Z] > git checkout -f 62306c4adbdca55da5a026bd6518b65a996beead # timeout=10 [2022-06-13T03:20:22.770Z] Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" [2022-06-13T03:20:22.784Z] > git rev-list --no-walk 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T03:20:23.717Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T03:20:23.717Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T03:20:23.717Z] Dload Upload Total Spent Left Speed [2022-06-13T03:20:23.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh [2022-06-13T03:20:24.532Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T03:20:24.873Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T03:20:24.873Z] sudo tee /etc/docker/daemon.new [2022-06-13T03:20:24.873Z] { [2022-06-13T03:20:24.873Z] "registry-mirrors": [ [2022-06-13T03:20:24.873Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T03:20:24.873Z] ], [2022-06-13T03:20:24.873Z] "bip": "10.250.0.254/24", [2022-06-13T03:20:24.873Z] "hosts": [ [2022-06-13T03:20:24.873Z] "tcp://0.0.0.0:5555", [2022-06-13T03:20:24.873Z] "unix:///var/run/docker.sock" [2022-06-13T03:20:24.873Z] ], [2022-06-13T03:20:24.873Z] "mtu": 1458, [2022-06-13T03:20:24.873Z] "selinux-enabled": true, [2022-06-13T03:20:24.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T03:20:24.873Z] } [Pipeline] sh [2022-06-13T03:20:25.213Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T03:20:25.556Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:20:44.016Z] provisioning config files... [2022-06-13T03:20:44.039Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1980513908145888757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:20:44.398Z] ---> docker-login.sh [2022-06-13T03:20:44.398Z] nexus3.edgexfoundry.org:10001 [2022-06-13T03:20:45.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:20:45.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:20:45.276Z] Configure a credential helper to remove this warning. See [2022-06-13T03:20:45.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:20:45.276Z] [2022-06-13T03:20:45.276Z] Login Succeeded [2022-06-13T03:20:45.276Z] nexus3.edgexfoundry.org:10002 [2022-06-13T03:20:45.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:20:45.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:20:45.825Z] Configure a credential helper to remove this warning. See [2022-06-13T03:20:45.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:20:45.825Z] [2022-06-13T03:20:45.825Z] Login Succeeded [2022-06-13T03:20:45.825Z] nexus3.edgexfoundry.org:10003 [2022-06-13T03:20:46.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:20:46.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:20:46.100Z] Configure a credential helper to remove this warning. See [2022-06-13T03:20:46.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:20:46.100Z] [2022-06-13T03:20:46.100Z] Login Succeeded [2022-06-13T03:20:46.100Z] nexus3.edgexfoundry.org:10004 [2022-06-13T03:20:46.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:20:46.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:20:46.705Z] Configure a credential helper to remove this warning. See [2022-06-13T03:20:46.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:20:46.705Z] [2022-06-13T03:20:46.705Z] Login Succeeded [2022-06-13T03:20:46.705Z] docker.io [2022-06-13T03:20:46.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T03:20:47.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T03:20:47.256Z] Configure a credential helper to remove this warning. See [2022-06-13T03:20:47.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T03:20:47.256Z] [2022-06-13T03:20:47.256Z] Login Succeeded [2022-06-13T03:20:47.530Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T03:20:47.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T03:20:47.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T03:20:47.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T03:20:47.817Z] ========================================================= [2022-06-13T03:20:47.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T03:20:47.818Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:20:48.184Z] + 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-13T03:20:48.458Z] Sending build context to Docker daemon 3.111MB [2022-06-13T03:20:48.458Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T03:20:48.458Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-13T03:20:48.736Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T03:20:48.736Z] 9b3977197b4f: Pulling fs layer [2022-06-13T03:20:48.736Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T03:20:48.736Z] 94645a83ff95: Pulling fs layer [2022-06-13T03:20:48.736Z] e6fb740bc735: Pulling fs layer [2022-06-13T03:20:48.736Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T03:20:48.736Z] 355e64cbe906: Pulling fs layer [2022-06-13T03:20:48.736Z] 63ab81a10011: Pulling fs layer [2022-06-13T03:20:48.736Z] 555d1d1c4555: Pulling fs layer [2022-06-13T03:20:48.736Z] 7d9057610161: Pulling fs layer [2022-06-13T03:20:48.736Z] 355e64cbe906: Waiting [2022-06-13T03:20:48.736Z] 63ab81a10011: Waiting [2022-06-13T03:20:48.736Z] 555d1d1c4555: Waiting [2022-06-13T03:20:48.736Z] 7d9057610161: Waiting [2022-06-13T03:20:48.736Z] e6fb740bc735: Waiting [2022-06-13T03:20:48.736Z] 3a77bd46dcc9: Waiting [2022-06-13T03:20:48.736Z] 94645a83ff95: Verifying Checksum [2022-06-13T03:20:48.736Z] 94645a83ff95: Download complete [2022-06-13T03:20:48.736Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T03:20:48.736Z] 1a89e8eeedd5: Download complete [2022-06-13T03:20:48.736Z] 3a77bd46dcc9: Verifying Checksum [2022-06-13T03:20:48.736Z] 3a77bd46dcc9: Download complete [2022-06-13T03:20:48.736Z] 355e64cbe906: Verifying Checksum [2022-06-13T03:20:48.736Z] 355e64cbe906: Download complete [2022-06-13T03:20:48.736Z] 9b3977197b4f: Verifying Checksum [2022-06-13T03:20:48.736Z] 9b3977197b4f: Download complete [2022-06-13T03:20:48.736Z] 63ab81a10011: Verifying Checksum [2022-06-13T03:20:48.736Z] 63ab81a10011: Download complete [2022-06-13T03:20:49.731Z] 9b3977197b4f: Pull complete [2022-06-13T03:20:49.731Z] 7d9057610161: Verifying Checksum [2022-06-13T03:20:49.731Z] 7d9057610161: Download complete [2022-06-13T03:20:50.330Z] 1a89e8eeedd5: Pull complete [2022-06-13T03:20:50.607Z] 94645a83ff95: Pull complete [2022-06-13T03:20:50.882Z] 555d1d1c4555: Verifying Checksum [2022-06-13T03:20:50.883Z] 555d1d1c4555: Download complete [2022-06-13T03:20:51.479Z] e6fb740bc735: Verifying Checksum [2022-06-13T03:20:51.479Z] e6fb740bc735: Download complete [2022-06-13T03:21:03.902Z] e6fb740bc735: Pull complete [2022-06-13T03:21:03.902Z] 3a77bd46dcc9: Pull complete [2022-06-13T03:21:03.902Z] 355e64cbe906: Pull complete [2022-06-13T03:21:04.176Z] 63ab81a10011: Pull complete [2022-06-13T03:21:10.904Z] 555d1d1c4555: Pull complete [2022-06-13T03:21:12.889Z] 7d9057610161: Pull complete [2022-06-13T03:21:12.889Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T03:21:12.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T03:21:12.889Z] ---> 819e984ddca1 [2022-06-13T03:21:12.889Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T03:21:13.492Z] ---> Running in 762db545cb2b [2022-06-13T03:21:13.768Z] Removing intermediate container 762db545cb2b [2022-06-13T03:21:13.768Z] ---> 49b14b72a698 [2022-06-13T03:21:13.768Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T03:21:13.768Z] ---> Running in cb2815f32065 [2022-06-13T03:21:14.043Z] Removing intermediate container cb2815f32065 [2022-06-13T03:21:14.043Z] ---> 64f2c39a1c74 [2022-06-13T03:21:14.043Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T03:21:14.319Z] ---> Running in c8601ea411e6 [2022-06-13T03:21:16.320Z] Removing intermediate container c8601ea411e6 [2022-06-13T03:21:16.320Z] ---> 15d9706349d4 [2022-06-13T03:21:16.320Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T03:21:16.320Z] ---> Running in f58b12133dbe [2022-06-13T03:21:17.760Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T03:21:18.745Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T03:21:19.736Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-13T03:21:19.736Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-13T03:21:19.736Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-13T03:21:20.011Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-13T03:21:20.011Z] Executing busybox-1.34.1-r3.trigger [2022-06-13T03:21:20.011Z] OK: 224 MiB in 56 packages [2022-06-13T03:21:20.994Z] Removing intermediate container f58b12133dbe [2022-06-13T03:21:20.994Z] ---> 7243f9cdc045 [2022-06-13T03:21:20.994Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-13T03:21:20.994Z] ---> Running in 075cf6e0b647 [2022-06-13T03:21:21.269Z] Removing intermediate container 075cf6e0b647 [2022-06-13T03:21:21.269Z] ---> d53b8f67b28b [2022-06-13T03:21:21.269Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-13T03:21:21.871Z] ---> 185503034e34 [2022-06-13T03:21:21.871Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T03:21:21.871Z] ---> Running in fbd2071505ac [2022-06-13T03:22:08.865Z] Removing intermediate container fbd2071505ac [2022-06-13T03:22:08.865Z] ---> b4b5a7f79caa [2022-06-13T03:22:08.865Z] Step 10/12 : COPY . . [2022-06-13T03:22:08.865Z] ---> e5b426901ee9 [2022-06-13T03:22:08.865Z] Step 11/12 : ARG MAKE='make build' [2022-06-13T03:22:08.865Z] ---> Running in a221cc5700cf [2022-06-13T03:22:08.865Z] Removing intermediate container a221cc5700cf [2022-06-13T03:22:08.865Z] ---> 84932aa058bc [2022-06-13T03:22:08.865Z] Step 12/12 : RUN $MAKE [2022-06-13T03:22:08.865Z] ---> Running in e578e6c9f31b [2022-06-13T03:22:08.865Z] noop [2022-06-13T03:22:08.865Z] Removing intermediate container e578e6c9f31b [2022-06-13T03:22:08.865Z] ---> 70df904bae30 [2022-06-13T03:22:08.865Z] Successfully built 70df904bae30 [2022-06-13T03:22:08.865Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:22:09.234Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T03:22:09.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:22:09.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container [2022-06-13T03:22:09.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-13T03:22:10.763Z] $ docker top df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T03:22:11.671Z] + go version [2022-06-13T03:22:11.671Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T03:22:11.700Z] $ docker stop --time=1 df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 [2022-06-13T03:22:13.311Z] $ docker rm -f df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:22:13.902Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T03:22:13.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:22:14.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container [2022-06-13T03:22:14.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-13T03:22:15.411Z] $ docker top 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T03:22:16.311Z] + make test [2022-06-13T03:22:16.311Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T03:22:17.757Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-13T03:23:39.573Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-13T03:23:39.573Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-06-13T03:23:39.573Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-13T03:23:39.573Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T03:23:39.573Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T03:24:06.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T03:24:06.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T03:24:06.376Z] ./bin/test-attribution-txt.sh [2022-06-13T03:24:07.355Z] An attribution for golang.org/x/sync is missing from in Attribution.txt, please add [2022-06-13T03:24:07.355Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-06-13T03:24:07.384Z] $ docker stop --time=1 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a [2022-06-13T03:24:09.173Z] $ docker rm -f 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:24:10.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:24:10.231Z] [2022-06-13T03:24:10.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:24:10.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:24:10.868Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T03:24:10.868Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T03:24:10.868Z] 04944245beec: Pulling fs layer [2022-06-13T03:24:10.868Z] 699f458cf7ca: Pulling fs layer [2022-06-13T03:24:10.868Z] 765212b225bb: Pulling fs layer [2022-06-13T03:24:10.868Z] f23df028b6ca: Pulling fs layer [2022-06-13T03:24:10.868Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T03:24:10.868Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T03:24:10.868Z] 765212b225bb: Waiting [2022-06-13T03:24:10.868Z] f23df028b6ca: Waiting [2022-06-13T03:24:10.868Z] d65c8cfc05b1: Waiting [2022-06-13T03:24:10.868Z] 2437ff75d9bd: Waiting [2022-06-13T03:24:10.868Z] 04944245beec: Verifying Checksum [2022-06-13T03:24:10.868Z] 04944245beec: Download complete [2022-06-13T03:24:10.868Z] 765212b225bb: Verifying Checksum [2022-06-13T03:24:10.868Z] 765212b225bb: Download complete [2022-06-13T03:24:10.868Z] f23df028b6ca: Verifying Checksum [2022-06-13T03:24:11.142Z] f23df028b6ca: Download complete [2022-06-13T03:24:11.142Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T03:24:11.142Z] d65c8cfc05b1: Download complete [2022-06-13T03:24:11.142Z] 699f458cf7ca: Verifying Checksum [2022-06-13T03:24:11.142Z] 699f458cf7ca: Download complete [2022-06-13T03:24:11.417Z] 8998bd30e6a1: Verifying Checksum [2022-06-13T03:24:11.417Z] 8998bd30e6a1: Download complete [2022-06-13T03:24:14.037Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T03:24:14.037Z] 2437ff75d9bd: Download complete [2022-06-13T03:24:16.016Z] 8998bd30e6a1: Pull complete [2022-06-13T03:24:16.292Z] 04944245beec: Pull complete [2022-06-13T03:24:17.737Z] 699f458cf7ca: Pull complete [2022-06-13T03:24:18.012Z] 765212b225bb: Pull complete [2022-06-13T03:24:18.995Z] f23df028b6ca: Pull complete [2022-06-13T03:24:18.995Z] d65c8cfc05b1: Pull complete [2022-06-13T03:24:37.387Z] 2437ff75d9bd: Pull complete [2022-06-13T03:24:37.387Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T03:24:37.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T03:24:37.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:24:37.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container [2022-06-13T03:24:37.744Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-13T03:24:40.224Z] $ docker top 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:41.155Z] ---> job-cost.sh [2022-06-13T03:24:41.155Z] lf-activate-venv: SKIPPING [2022-06-13T03:24:41.155Z] INFO: No Stack... [2022-06-13T03:24:41.749Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T03:24:42.338Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T03:24:42.997Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-06-13T03:24:42.997Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T03:24:43.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [2022-06-13T03:24:43.076Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] did not exist. Created. [2022-06-13T03:24:43.076Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T03:24:43.754Z] /w/workspace/device-mqtt-go/2@tmp/durable-5218c21d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T03:24:44.441Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T03:24:44.466Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T03:24:44.895Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T03:24:44.901Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T03:24:44.930Z] $ docker stop --time=1 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 [2022-06-13T03:24:46.462Z] $ docker rm -f 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T03:24:46.787Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-13T03:24:47.487Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives ] [2022-06-13T03:24:47.487Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-13T03:24:47.487Z] total 16 [2022-06-13T03:24:47.487Z] drwxr-xr-x 3 root root 4096 Jun 13 03:19 . [2022-06-13T03:24:47.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:19 .. [2022-06-13T03:24:47.487Z] drwxr-xr-x 2 root root 4096 Jun 13 03:19 cost [2022-06-13T03:24:47.487Z] -rw-r--r-- 1 root root 85 Jun 13 03:19 cost.csv [2022-06-13T03:24:47.487Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-13T03:24:47.487Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-13T03:24:47.487Z] total 16 [2022-06-13T03:24:47.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 03:19 . [2022-06-13T03:24:47.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:19 .. [2022-06-13T03:24:47.487Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 03:19 cost [2022-06-13T03:24:47.487Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 13 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:47.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:48.661Z] ---> package-listing.sh [2022-06-13T03:24:48.661Z] ++ facter osfamily [2022-06-13T03:24:48.661Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T03:24:48.922Z] + OS_FAMILY=debian [2022-06-13T03:24:48.922Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-385 [2022-06-13T03:24:48.922Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T03:24:48.922Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T03:24:48.922Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T03:24:48.922Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T03:24:48.922Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' [2022-06-13T03:24:48.922Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T03:24:48.922Z] + case "${OS_FAMILY}" in [2022-06-13T03:24:48.922Z] + dpkg -l [2022-06-13T03:24:48.922Z] + grep '^ii' [2022-06-13T03:24:48.922Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T03:24:48.922Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T03:24:48.922Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T03:24:48.922Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' [2022-06-13T03:24:48.922Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ [2022-06-13T03:24:48.922Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ [Pipeline] echo [2022-06-13T03:24:48.934Z] 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-13T03:24:49.217Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T03:24:49.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T03:24:49.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T03:24:49.881Z] prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container [2022-06-13T03:24:49.924Z] $ 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-385/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-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-13T03:24:50.155Z] $ docker top 7e0f103d6383361983d74fec0e40ed56811c959a3212f7778e88fcb0cf8d6915 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T03:24:50.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T03:24:50.804Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T03:24:51.094Z] + ls /var/log/sa-host [2022-06-13T03:24:51.094Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T03:24:51.246Z] provisioning config files... [2022-06-13T03:24:51.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config82388014888060379tmp [Pipeline] { [Pipeline] echo [2022-06-13T03:24:51.271Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:51.558Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T03:24:51.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:51.903Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T03:24:51.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:52.206Z] ---> sudo-logs.sh [2022-06-13T03:24:52.206Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T03:24:52.230Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:52.518Z] ---> job-cost.sh [2022-06-13T03:24:52.518Z] lf-activate-venv: SKIPPING [2022-06-13T03:24:52.518Z] DEBUG: total: 0.2199999988079071 [2022-06-13T03:24:52.518Z] INFO: Retrieving Stack Cost... [2022-06-13T03:24:52.779Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T03:24:53.351Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T03:24:53.361Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T03:24:53.648Z] ---> logs-deploy.sh [2022-06-13T03:24:53.648Z] lf-activate-venv: SKIPPING [2022-06-13T03:24:53.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-385/2 [2022-06-13T03:24:53.648Z] INFO: archiving workspace using pattern(s): [2022-06-13T03:24:54.591Z] Archives upload complete. [2022-06-13T03:24:54.591Z] INFO: archiving logs to Nexus