Pull request #459 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9cd8a6aabc13d485076c234dfa675b4577b4a3ad+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (5f8c4b1d280150b52b7968ac8e0f91d702bd78df) 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-ssh11221924149494892453.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2190076038104891381.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7321261845907298217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14176705739674788159.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16895049582007529546.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-459/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-459/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3513938363900203168.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2859 in /w/workspace/gexfoundry_device-mqtt-go_PR-459 [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-459 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 9cd8a6aabc13d485076c234dfa675b4577b4a3ad Merge succeeded, producing 9cd8a6aabc13d485076c234dfa675b4577b4a3ad Checking out Revision 9cd8a6aabc13d485076c234dfa675b4577b4a3ad (PR-459) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-18T01:04:10.418Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T01:04:10.589Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T01:04:10.678Z] ========================================================= [2023-01-18T01:04:10.679Z] EdgeX Global Pipelines Version Info [2023-01-18T01:04:10.679Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9cd8a6aabc13d485076c234dfa675b4577b4a3ad # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9cd8a6aabc13d485076c234dfa675b4577b4a3ad # timeout=10 [2023-01-18T01:04:11.416Z] ------------------- [2023-01-18T01:04:11.416Z] stable info: [2023-01-18T01:04:11.416Z] ------------------- [2023-01-18T01:04:11.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T01:04:11.416Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T01:04:11.416Z] Message: update stable to v1.0.244 [2023-01-18T01:04:11.991Z] ------------------- [2023-01-18T01:04:11.991Z] experimental info: [2023-01-18T01:04:11.991Z] ------------------- [2023-01-18T01:04:11.991Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T01:04:11.991Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T01:04:11.991Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T01:04:12.266Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-18T01:04:12.306Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-18T01:04:12.343Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T01:04:12.383Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T01:04:12.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T01:04:12.460Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T01:04:12.504Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T01:04:12.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T01:04:12.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T01:04:12.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T01:04:12.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T01:04:12.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-18T01:04:12.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T01:04:12.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T01:04:12.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T01:04:13.041Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T01:04:13.098Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T01:04:13.141Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T01:04:13.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T01:04:13.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T01:04:13.278Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T01:04:13.317Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T01:04:13.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T01:04:13.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T01:04:13.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T01:04:13.468Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T01:04:13.505Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T01:04:13.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-459 [Pipeline] echo [2023-01-18T01:04:13.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-459 [Pipeline] echo [2023-01-18T01:04:13.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-459 [Pipeline] echo [2023-01-18T01:04:13.658Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [Pipeline] echo [2023-01-18T01:04:13.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cd8a6a [Pipeline] echo [2023-01-18T01:04:13.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:04:13.917Z] provisioning config files... [2023-01-18T01:04:13.930Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/config14170704509229208936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:04:14.299Z] ---> docker-login.sh [2023-01-18T01:04:14.299Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:04:14.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:14.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:14.558Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:14.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:14.558Z] [2023-01-18T01:04:14.558Z] Login Succeeded [2023-01-18T01:04:14.558Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:04:14.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:14.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:14.818Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:14.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:14.818Z] [2023-01-18T01:04:14.818Z] Login Succeeded [2023-01-18T01:04:14.818Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:04:14.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:14.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:14.818Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:14.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:14.818Z] [2023-01-18T01:04:14.818Z] Login Succeeded [2023-01-18T01:04:14.818Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:04:14.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:14.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:14.818Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:14.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:14.818Z] [2023-01-18T01:04:14.818Z] Login Succeeded [2023-01-18T01:04:15.078Z] docker.io [2023-01-18T01:04:15.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:15.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:15.337Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:15.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:15.337Z] [2023-01-18T01:04:15.337Z] Login Succeeded [2023-01-18T01:04:15.337Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:04:15.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T01:04:15.955Z] + git rev-list -1 --merges 9cd8a6aabc13d485076c234dfa675b4577b4a3ad~1..9cd8a6aabc13d485076c234dfa675b4577b4a3ad [Pipeline] echo [2023-01-18T01:04:16.016Z] -----------> git rev-list -1 --merges 9cd8a6aabc13d485076c234dfa675b4577b4a3ad~1..9cd8a6aabc13d485076c234dfa675b4577b4a3ad 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [false] [Pipeline] sh [2023-01-18T01:04:16.328Z] + git log --format=format:%s -1 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [Pipeline] echo [2023-01-18T01:04:16.462Z] ========================================================= [2023-01-18T01:04:16.462Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T01:04:16.462Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T01:04:16.895Z] + git log --format=format:%s -1 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [Pipeline] echo [2023-01-18T01:04:16.926Z] [semverPrep] GIT_COMMIT: 9cd8a6aabc13d485076c234dfa675b4577b4a3ad, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-18T01:04:16.954Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T01:04:17.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T01:04:17.318Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T01:04:17.318Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T01:04:17.318Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T01:04:17.318Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T01:04:17.318Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T01:04:17.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:04:17.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:04:17.738Z] [2023-01-18T01:04:17.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:04:18.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:04:18.187Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T01:04:18.187Z] b85a868b505f: Pulling fs layer [2023-01-18T01:04:18.187Z] e2be974225ed: Pulling fs layer [2023-01-18T01:04:18.187Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T01:04:18.187Z] 988bab9f4d93: Pulling fs layer [2023-01-18T01:04:18.187Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T01:04:18.187Z] eaf3925da568: Pulling fs layer [2023-01-18T01:04:18.187Z] bab4dde63d76: Pulling fs layer [2023-01-18T01:04:18.187Z] bde34c3a00c8: Pulling fs layer [2023-01-18T01:04:18.187Z] b352a97aabf1: Pulling fs layer [2023-01-18T01:04:18.187Z] 4872d77fe225: Pulling fs layer [2023-01-18T01:04:18.187Z] 5851b861e8e6: Pulling fs layer [2023-01-18T01:04:18.187Z] 988bab9f4d93: Waiting [2023-01-18T01:04:18.187Z] 1469e6f7b9e6: Waiting [2023-01-18T01:04:18.187Z] bde34c3a00c8: Waiting [2023-01-18T01:04:18.187Z] bab4dde63d76: Waiting [2023-01-18T01:04:18.187Z] 5851b861e8e6: Waiting [2023-01-18T01:04:18.187Z] 4872d77fe225: Waiting [2023-01-18T01:04:18.187Z] b352a97aabf1: Waiting [2023-01-18T01:04:18.187Z] e2be974225ed: Download complete [2023-01-18T01:04:18.187Z] 988bab9f4d93: Verifying Checksum [2023-01-18T01:04:18.187Z] 988bab9f4d93: Download complete [2023-01-18T01:04:18.452Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T01:04:18.452Z] 1469e6f7b9e6: Download complete [2023-01-18T01:04:18.452Z] 339a4e72a1f5: Download complete [2023-01-18T01:04:18.452Z] eaf3925da568: Verifying Checksum [2023-01-18T01:04:18.452Z] eaf3925da568: Download complete [2023-01-18T01:04:18.452Z] bde34c3a00c8: Verifying Checksum [2023-01-18T01:04:18.452Z] bde34c3a00c8: Download complete [2023-01-18T01:04:18.714Z] b352a97aabf1: Verifying Checksum [2023-01-18T01:04:18.714Z] b352a97aabf1: Download complete [2023-01-18T01:04:18.714Z] 4872d77fe225: Verifying Checksum [2023-01-18T01:04:18.714Z] 4872d77fe225: Download complete [2023-01-18T01:04:18.714Z] 5851b861e8e6: Verifying Checksum [2023-01-18T01:04:18.714Z] 5851b861e8e6: Download complete [2023-01-18T01:04:18.714Z] b85a868b505f: Verifying Checksum [2023-01-18T01:04:18.714Z] b85a868b505f: Download complete [2023-01-18T01:04:18.973Z] bab4dde63d76: Verifying Checksum [2023-01-18T01:04:18.973Z] bab4dde63d76: Download complete [2023-01-18T01:04:19.908Z] b85a868b505f: Pull complete [2023-01-18T01:04:19.908Z] e2be974225ed: Pull complete [2023-01-18T01:04:20.479Z] 339a4e72a1f5: Pull complete [2023-01-18T01:04:20.479Z] 988bab9f4d93: Pull complete [2023-01-18T01:04:20.738Z] 1469e6f7b9e6: Pull complete [2023-01-18T01:04:20.738Z] eaf3925da568: Pull complete [2023-01-18T01:04:22.640Z] bab4dde63d76: Pull complete [2023-01-18T01:04:22.640Z] bde34c3a00c8: Pull complete [2023-01-18T01:04:22.640Z] b352a97aabf1: Pull complete [2023-01-18T01:04:22.640Z] 4872d77fe225: Pull complete [2023-01-18T01:04:22.640Z] 5851b861e8e6: Pull complete [2023-01-18T01:04:22.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T01:04:22.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:04:22.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:04:22.860Z] prd-ubuntu20.04-docker-8c-8g-2859 does not seem to be running inside a container [2023-01-18T01:04:22.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-459 -v /w/workspace/gexfoundry_device-mqtt-go_PR-459:/w/workspace/gexfoundry_device-mqtt-go_PR-459:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-18T01:04:24.481Z] $ docker top 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 -eo pid,comm [2023-01-18T01:04:24.528Z] 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). [2023-01-18T01:04:24.528Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T01:04:24.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T01:04:24.655Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T01:04:24.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T01:04:24.768Z] $ docker exec 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 ssh-agent [2023-01-18T01:04:24.880Z] SSH_AUTH_SOCK=/tmp/ssh-98CWsllnlcSW/agent.32 [2023-01-18T01:04:24.880Z] SSH_AGENT_PID=38 [2023-01-18T01:04:24.887Z] Running ssh-add (command line suppressed) [2023-01-18T01:04:24.986Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/private_key_277691607391450598.key (/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/private_key_277691607391450598.key) [2023-01-18T01:04:24.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T01:04:25.316Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T01:04:25.345Z] $ docker exec --env ******** --env ******** 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 ssh-agent -k [2023-01-18T01:04:25.461Z] unset SSH_AUTH_SOCK; [2023-01-18T01:04:25.461Z] unset SSH_AGENT_PID; [2023-01-18T01:04:25.461Z] echo Agent pid 38 killed; [2023-01-18T01:04:25.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T01:04:25.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T01:04:25.551Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T01:04:25.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T01:04:25.669Z] $ docker exec 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 ssh-agent [2023-01-18T01:04:25.778Z] SSH_AUTH_SOCK=/tmp/ssh-nZhArQLPDKq2/agent.71 [2023-01-18T01:04:25.778Z] SSH_AGENT_PID=77 [2023-01-18T01:04:25.783Z] Running ssh-add (command line suppressed) [2023-01-18T01:04:25.878Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/private_key_15886622562033191391.key (/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/private_key_15886622562033191391.key) [2023-01-18T01:04:25.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T01:04:26.216Z] + git semver init [2023-01-18T01:04:26.476Z] 2023-01-18 01:04:26,427 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T01:04:26.476Z] 2023-01-18 01:04:26,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver [2023-01-18T01:04:26.476Z] 2023-01-18 01:04:26,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver [2023-01-18T01:04:26.476Z] 2023-01-18 01:04:26,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-459, universal_newlines=False, shell=None, istream=None) [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,364 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-459/.git/info/exclude [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver/PR-459 with force:False [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,365 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver/PR-459 [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,368 [execute] INFO git cat-file --batch-check [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,373 [execute] INFO git cat-file --batch [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T01:04:27.413Z] 2023-01-18 01:04:27,379 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-459/.semver/PR-459 [2023-01-18T01:04:27.413Z] 0.0.0 [Pipeline] } [2023-01-18T01:04:27.443Z] $ docker exec --env ******** --env ******** 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 ssh-agent -k [2023-01-18T01:04:27.539Z] unset SSH_AUTH_SOCK; [2023-01-18T01:04:27.539Z] unset SSH_AGENT_PID; [2023-01-18T01:04:27.539Z] echo Agent pid 77 killed; [2023-01-18T01:04:27.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T01:04:28.000Z] + git semver [Pipeline] } [2023-01-18T01:04:28.283Z] $ docker stop --time=1 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 [2023-01-18T01:04:29.626Z] $ docker rm -f --volumes 69885c0a9fe058f9ec2146d14d0447af853b4c5eef1b0603cecc3a0398e69827 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T01:04:30.042Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T01:04:30.342Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T01:04:30.455Z] [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 [2023-01-18T01:04:31.148Z] provisioning config files... [2023-01-18T01:04:31.158Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/config17243888194379635124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:04:31.505Z] ---> docker-login.sh [2023-01-18T01:04:31.505Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:04:31.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:31.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:31.505Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:31.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:31.505Z] [2023-01-18T01:04:31.505Z] Login Succeeded [2023-01-18T01:04:31.505Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:04:31.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:31.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:31.505Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:31.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:31.505Z] [2023-01-18T01:04:31.505Z] Login Succeeded [2023-01-18T01:04:31.505Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:04:31.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:31.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:31.765Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:31.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:31.765Z] [2023-01-18T01:04:31.765Z] Login Succeeded [2023-01-18T01:04:31.765Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:04:31.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:31.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:31.765Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:31.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:31.765Z] [2023-01-18T01:04:31.765Z] Login Succeeded [2023-01-18T01:04:31.765Z] docker.io [2023-01-18T01:04:32.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:04:32.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:04:32.285Z] Configure a credential helper to remove this warning. See [2023-01-18T01:04:32.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:04:32.285Z] [2023-01-18T01:04:32.285Z] Login Succeeded [2023-01-18T01:04:32.285Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:04:32.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T01:04:32.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:04:32.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:04:32.683Z] ========================================================= [2023-01-18T01:04:32.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T01:04:32.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:04:33.165Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T01:04:33.165Z] Sending build context to Docker daemon 6.342MB [2023-01-18T01:04:33.165Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:04:33.165Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T01:04:33.165Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T01:04:33.165Z] 213ec9aee27d: Pulling fs layer [2023-01-18T01:04:33.165Z] 4583459ba037: Pulling fs layer [2023-01-18T01:04:33.165Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T01:04:33.165Z] 53926ce57604: Pulling fs layer [2023-01-18T01:04:33.165Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T01:04:33.165Z] 22ff95d597cd: Pulling fs layer [2023-01-18T01:04:33.165Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T01:04:33.165Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T01:04:33.165Z] a7acece74701: Pulling fs layer [2023-01-18T01:04:33.165Z] 22ff95d597cd: Waiting [2023-01-18T01:04:33.165Z] 12d6caf4c0d1: Waiting [2023-01-18T01:04:33.165Z] 96b7cbca73a9: Waiting [2023-01-18T01:04:33.165Z] 21b2b0c7a3f4: Waiting [2023-01-18T01:04:33.165Z] 53926ce57604: Waiting [2023-01-18T01:04:33.165Z] a7acece74701: Waiting [2023-01-18T01:04:33.165Z] 93c1e223e6f2: Verifying Checksum [2023-01-18T01:04:33.165Z] 93c1e223e6f2: Download complete [2023-01-18T01:04:33.165Z] 4583459ba037: Verifying Checksum [2023-01-18T01:04:33.165Z] 4583459ba037: Download complete [2023-01-18T01:04:33.428Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T01:04:33.428Z] 22ff95d597cd: Download complete [2023-01-18T01:04:33.428Z] 213ec9aee27d: Verifying Checksum [2023-01-18T01:04:33.428Z] 213ec9aee27d: Download complete [2023-01-18T01:04:33.428Z] 12d6caf4c0d1: Verifying Checksum [2023-01-18T01:04:33.428Z] 12d6caf4c0d1: Download complete [2023-01-18T01:04:33.428Z] 213ec9aee27d: Pull complete [2023-01-18T01:04:33.698Z] 4583459ba037: Pull complete [2023-01-18T01:04:33.698Z] 93c1e223e6f2: Pull complete [2023-01-18T01:04:34.755Z] a7acece74701: Verifying Checksum [2023-01-18T01:04:34.755Z] a7acece74701: Download complete [2023-01-18T01:04:34.755Z] 53926ce57604: Download complete [2023-01-18T01:04:35.015Z] 96b7cbca73a9: Download complete [2023-01-18T01:04:38.298Z] 53926ce57604: Pull complete [2023-01-18T01:04:38.298Z] 21b2b0c7a3f4: Pull complete [2023-01-18T01:04:38.298Z] 22ff95d597cd: Pull complete [2023-01-18T01:04:38.557Z] 12d6caf4c0d1: Pull complete [2023-01-18T01:04:41.087Z] 96b7cbca73a9: Pull complete [2023-01-18T01:04:41.344Z] a7acece74701: Pull complete [2023-01-18T01:04:41.344Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T01:04:41.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T01:04:41.344Z] ---> db6d94c90886 [2023-01-18T01:04:41.344Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:04:43.877Z] ---> Running in 79bedcc58c7a [2023-01-18T01:04:43.877Z] Removing intermediate container 79bedcc58c7a [2023-01-18T01:04:43.877Z] ---> 581543008ea3 [2023-01-18T01:04:43.877Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:04:43.877Z] ---> Running in 277702fc16c2 [2023-01-18T01:04:43.877Z] Removing intermediate container 277702fc16c2 [2023-01-18T01:04:43.877Z] ---> 27953dab278e [2023-01-18T01:04:43.877Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:04:43.877Z] ---> Running in a3fc3f4fb358 [2023-01-18T01:04:43.877Z] Removing intermediate container a3fc3f4fb358 [2023-01-18T01:04:43.877Z] ---> 1077dccf2b20 [2023-01-18T01:04:43.877Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:04:43.877Z] ---> Running in 22278e9e69c6 [2023-01-18T01:04:43.877Z] Removing intermediate container 22278e9e69c6 [2023-01-18T01:04:43.877Z] ---> d3f7901e37fe [2023-01-18T01:04:43.877Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:04:43.877Z] ---> Running in 9f3c8b465e6b [2023-01-18T01:04:44.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T01:04:44.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T01:04:44.656Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T01:04:44.656Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T01:04:44.656Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T01:04:44.656Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T01:04:44.656Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:04:44.656Z] OK: 216 MiB in 55 packages [2023-01-18T01:04:45.225Z] Removing intermediate container 9f3c8b465e6b [2023-01-18T01:04:45.225Z] ---> cadffdbb3643 [2023-01-18T01:04:45.225Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-18T01:04:45.225Z] ---> Running in 2f84eede8c48 [2023-01-18T01:04:45.487Z] Removing intermediate container 2f84eede8c48 [2023-01-18T01:04:45.487Z] ---> c4c8e5285224 [2023-01-18T01:04:45.487Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T01:04:45.487Z] ---> bea797982747 [2023-01-18T01:04:45.487Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:04:45.487Z] ---> Running in eafe75e0f6ce [2023-01-18T01:04:45.977Z] Still waiting to schedule task [2023-01-18T01:04:45.977Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-18T01:05:07.419Z] Removing intermediate container eafe75e0f6ce [2023-01-18T01:05:07.419Z] ---> 84e3f1a48468 [2023-01-18T01:05:07.419Z] Step 11/12 : COPY . . [2023-01-18T01:05:07.419Z] ---> 1fd60d092f7d [2023-01-18T01:05:07.419Z] Step 12/12 : RUN $MAKE [2023-01-18T01:05:07.419Z] ---> Running in 2c29997319f1 [2023-01-18T01:05:07.419Z] noop [2023-01-18T01:05:07.419Z] Removing intermediate container 2c29997319f1 [2023-01-18T01:05:07.419Z] ---> 9aa7c3278d9f [2023-01-18T01:05:07.419Z] Successfully built 9aa7c3278d9f [2023-01-18T01:05:07.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:07.872Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T01:05:07.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:05:08.030Z] prd-ubuntu20.04-docker-8c-8g-2859 does not seem to be running inside a container [2023-01-18T01:05:08.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-459 -v /w/workspace/gexfoundry_device-mqtt-go_PR-459:/w/workspace/gexfoundry_device-mqtt-go_PR-459:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T01:05:08.407Z] $ docker top 51540ac92f126adedb43deda03952cc772c31f9b5e06481eced826bedd2237e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:05:08.790Z] + go version [2023-01-18T01:05:08.791Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T01:05:08.823Z] $ docker stop --time=1 51540ac92f126adedb43deda03952cc772c31f9b5e06481eced826bedd2237e0 [2023-01-18T01:05:10.113Z] $ docker rm -f --volumes 51540ac92f126adedb43deda03952cc772c31f9b5e06481eced826bedd2237e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:10.823Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T01:05:10.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:05:10.985Z] prd-ubuntu20.04-docker-8c-8g-2859 does not seem to be running inside a container [2023-01-18T01:05:11.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-459 -v /w/workspace/gexfoundry_device-mqtt-go_PR-459:/w/workspace/gexfoundry_device-mqtt-go_PR-459:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T01:05:11.412Z] $ docker top fbec49046d082014afc9f1fd428030d6734d384b8ce1dd254b47e0ac97003f9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:05:11.805Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-459 [Pipeline] fileExists [Pipeline] sh [2023-01-18T01:05:12.161Z] + make test [2023-01-18T01:05:12.161Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T01:05:12.419Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-18T01:05:18.971Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-18T01:05:18.971Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-18T01:05:18.971Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-18T01:05:18.971Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-18T01:05:18.971Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-18T01:05:18.971Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-18T01:05:19.905Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-18T01:05:19.905Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-18T01:05:19.905Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-18T01:05:19.905Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-18T01:05:19.905Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-18T01:05:19.905Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-18T01:05:20.164Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-01-18T01:05:20.164Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-18T01:05:20.206Z] $ docker stop --time=1 fbec49046d082014afc9f1fd428030d6734d384b8ce1dd254b47e0ac97003f9a [2023-01-18T01:05:21.946Z] $ docker rm -f --volumes fbec49046d082014afc9f1fd428030d6734d384b8ce1dd254b47e0ac97003f9a [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 [2023-01-18T01:05:23.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:23.180Z] [2023-01-18T01:05:23.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:23.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:23.563Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T01:05:23.563Z] 5eb5b503b376: Pulling fs layer [2023-01-18T01:05:23.563Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T01:05:23.563Z] ec43610c2a17: Pulling fs layer [2023-01-18T01:05:23.563Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T01:05:23.563Z] 33b1e0a273af: Pulling fs layer [2023-01-18T01:05:23.563Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T01:05:23.563Z] 2f39f015ded8: Pulling fs layer [2023-01-18T01:05:23.563Z] 3a2ae6a8a46f: Waiting [2023-01-18T01:05:23.563Z] 33b1e0a273af: Waiting [2023-01-18T01:05:23.563Z] 5d3b04190fa2: Waiting [2023-01-18T01:05:23.563Z] 2f39f015ded8: Waiting [2023-01-18T01:05:23.563Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T01:05:23.563Z] 5c69ac0246d0: Download complete [2023-01-18T01:05:23.563Z] 3a2ae6a8a46f: Download complete [2023-01-18T01:05:23.826Z] 33b1e0a273af: Verifying Checksum [2023-01-18T01:05:23.826Z] 33b1e0a273af: Download complete [2023-01-18T01:05:23.826Z] 5d3b04190fa2: Verifying Checksum [2023-01-18T01:05:23.826Z] 5d3b04190fa2: Download complete [2023-01-18T01:05:23.826Z] ec43610c2a17: Verifying Checksum [2023-01-18T01:05:23.826Z] ec43610c2a17: Download complete [2023-01-18T01:05:24.085Z] 5eb5b503b376: Verifying Checksum [2023-01-18T01:05:24.085Z] 5eb5b503b376: Download complete [2023-01-18T01:05:24.650Z] 2f39f015ded8: Download complete [2023-01-18T01:05:24.907Z] 5eb5b503b376: Pull complete [2023-01-18T01:05:25.166Z] 5c69ac0246d0: Pull complete [2023-01-18T01:05:25.425Z] ec43610c2a17: Pull complete [2023-01-18T01:05:25.425Z] 3a2ae6a8a46f: Pull complete [2023-01-18T01:05:25.683Z] 33b1e0a273af: Pull complete [2023-01-18T01:05:25.683Z] 5d3b04190fa2: Pull complete [2023-01-18T01:05:30.043Z] 2f39f015ded8: Pull complete [2023-01-18T01:05:30.043Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T01:05:30.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:30.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:05:30.262Z] prd-ubuntu20.04-docker-8c-8g-2859 does not seem to be running inside a container [2023-01-18T01:05:30.295Z] $ 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-459 -v /w/workspace/gexfoundry_device-mqtt-go_PR-459:/w/workspace/gexfoundry_device-mqtt-go_PR-459:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T01:05:32.369Z] $ docker top fe5f8b6144d354daed33b2ef42745e1c3904026fc3adb0922e9ca580d6f42417 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:05:32.800Z] ---> job-cost.sh [2023-01-18T01:05:32.800Z] lf-activate-venv: SKIPPING [2023-01-18T01:05:32.800Z] INFO: No Stack... [2023-01-18T01:05:34.703Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T01:05:34.962Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T01:05:35.280Z] + cut -d, -f6 [2023-01-18T01:05:35.280Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives/cost.csv [Pipeline] lock [2023-01-18T01:05:35.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [2023-01-18T01:05:35.327Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] did not exist. Created. [2023-01-18T01:05:35.328Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T01:05:35.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T01:05:35.778Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T01:05:35.800Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T01:05:35.877Z] $ docker stop --time=1 fe5f8b6144d354daed33b2ef42745e1c3904026fc3adb0922e9ca580d6f42417 [2023-01-18T01:05:37.043Z] $ docker rm -f --volumes fe5f8b6144d354daed33b2ef42745e1c3904026fc3adb0922e9ca580d6f42417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T01:05:37.411Z] Failed in branch amd64 [2023-01-18T01:07:22.541Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2862 in /w/workspace/gexfoundry_device-mqtt-go_PR-459 [Pipeline] { [Pipeline] ws [2023-01-18T01:07:22.607Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-18T01:07:22.737Z] Selected Git installation does not exist. Using Default [2023-01-18T01:07:22.737Z] The recommended git tool is: NONE [2023-01-18T01:07:28.557Z] using credential edgex-jenkins-ssh [2023-01-18T01:07:28.577Z] Cloning the remote Git repository [2023-01-18T01:07:28.646Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:07:28.727Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-18T01:07:28.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:07:28.897Z] > git --version # timeout=10 [2023-01-18T01:07:28.923Z] > git --version # 'git version 2.25.1' [2023-01-18T01:07:28.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:07:28.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T01:07:30.142Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-18T01:07:30.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T01:07:31.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-18T01:07:31.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:07:31.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:07:31.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T01:07:31.739Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [2023-01-18T01:07:32.010Z] Merge succeeded, producing 9cd8a6aabc13d485076c234dfa675b4577b4a3ad [2023-01-18T01:07:32.011Z] Checking out Revision 9cd8a6aabc13d485076c234dfa675b4577b4a3ad (PR-459) [2023-01-18T01:07:32.587Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-18T01:07:32.650Z] > git --version # timeout=10 [2023-01-18T01:07:32.661Z] > git --version # 'git version 2.25.1' [2023-01-18T01:07:32.676Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T01:07:31.763Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T01:07:31.782Z] > git checkout -f 9cd8a6aabc13d485076c234dfa675b4577b4a3ad # timeout=10 [2023-01-18T01:07:31.884Z] > git remote # timeout=10 [2023-01-18T01:07:31.905Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T01:07:31.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:07:31.952Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-18T01:07:31.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T01:07:32.021Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T01:07:32.036Z] > git checkout -f 9cd8a6aabc13d485076c234dfa675b4577b4a3ad # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T01:07:33.844Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T01:07:33.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T01:07:33.844Z] Dload Upload Total Spent Left Speed [2023-01-18T01:07:33.844Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-01-18T01:07:34.561Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T01:07:34.914Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T01:07:34.914Z] + sudo tee /etc/docker/daemon.new [2023-01-18T01:07:34.914Z] { [2023-01-18T01:07:34.914Z] "registry-mirrors": [ [2023-01-18T01:07:34.914Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T01:07:34.914Z] ], [2023-01-18T01:07:34.914Z] "bip": "10.250.0.254/24", [2023-01-18T01:07:34.914Z] "hosts": [ [2023-01-18T01:07:34.914Z] "tcp://0.0.0.0:5555", [2023-01-18T01:07:34.914Z] "unix:///var/run/docker.sock" [2023-01-18T01:07:34.914Z] ], [2023-01-18T01:07:34.914Z] "mtu": 1458, [2023-01-18T01:07:34.914Z] "selinux-enabled": true, [2023-01-18T01:07:34.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T01:07:34.914Z] } [Pipeline] sh [2023-01-18T01:07:35.267Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T01:07:35.720Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:07:54.113Z] provisioning config files... [2023-01-18T01:07:54.147Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8101993702157334318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:07:54.560Z] ---> docker-login.sh [2023-01-18T01:07:54.560Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:07:55.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:07:55.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:07:55.152Z] Configure a credential helper to remove this warning. See [2023-01-18T01:07:55.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:07:55.152Z] [2023-01-18T01:07:55.152Z] Login Succeeded [2023-01-18T01:07:55.152Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:07:55.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:07:55.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:07:55.693Z] Configure a credential helper to remove this warning. See [2023-01-18T01:07:55.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:07:55.693Z] [2023-01-18T01:07:55.693Z] Login Succeeded [2023-01-18T01:07:55.693Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:07:55.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:07:55.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:07:55.966Z] Configure a credential helper to remove this warning. See [2023-01-18T01:07:55.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:07:55.966Z] [2023-01-18T01:07:55.966Z] Login Succeeded [2023-01-18T01:07:55.966Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:07:56.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:07:56.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:07:56.516Z] Configure a credential helper to remove this warning. See [2023-01-18T01:07:56.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:07:56.516Z] [2023-01-18T01:07:56.516Z] Login Succeeded [2023-01-18T01:07:56.516Z] docker.io [2023-01-18T01:07:56.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:07:57.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:07:57.059Z] Configure a credential helper to remove this warning. See [2023-01-18T01:07:57.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:07:57.059Z] [2023-01-18T01:07:57.059Z] Login Succeeded [2023-01-18T01:07:57.059Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:07:57.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T01:07:57.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:07:57.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:07:57.614Z] ========================================================= [2023-01-18T01:07:57.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T01:07:57.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:07:58.147Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T01:07:58.418Z] Sending build context to Docker daemon 3.294MB [2023-01-18T01:07:58.418Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:07:58.418Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T01:07:58.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T01:07:58.690Z] 9b18e9b68314: Pulling fs layer [2023-01-18T01:07:58.690Z] 35d82f9e3411: Pulling fs layer [2023-01-18T01:07:58.690Z] e16973657156: Pulling fs layer [2023-01-18T01:07:58.690Z] fc693d55d65f: Pulling fs layer [2023-01-18T01:07:58.690Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T01:07:58.690Z] dda99020689f: Pulling fs layer [2023-01-18T01:07:58.690Z] db1c61fa0a46: Pulling fs layer [2023-01-18T01:07:58.690Z] 891c053d2c06: Pulling fs layer [2023-01-18T01:07:58.690Z] fc693d55d65f: Waiting [2023-01-18T01:07:58.690Z] db1c61fa0a46: Waiting [2023-01-18T01:07:58.690Z] 891c053d2c06: Waiting [2023-01-18T01:07:58.690Z] 7e9fc2657dce: Waiting [2023-01-18T01:07:58.690Z] dda99020689f: Waiting [2023-01-18T01:07:58.690Z] e16973657156: Download complete [2023-01-18T01:07:58.690Z] 35d82f9e3411: Verifying Checksum [2023-01-18T01:07:58.690Z] 35d82f9e3411: Download complete [2023-01-18T01:07:58.690Z] 7e9fc2657dce: Download complete [2023-01-18T01:07:58.690Z] dda99020689f: Verifying Checksum [2023-01-18T01:07:58.690Z] dda99020689f: Download complete [2023-01-18T01:07:58.690Z] 9b18e9b68314: Verifying Checksum [2023-01-18T01:07:58.690Z] 9b18e9b68314: Download complete [2023-01-18T01:07:59.667Z] 9b18e9b68314: Pull complete [2023-01-18T01:07:59.954Z] 891c053d2c06: Verifying Checksum [2023-01-18T01:07:59.954Z] 891c053d2c06: Download complete [2023-01-18T01:08:00.238Z] 35d82f9e3411: Pull complete [2023-01-18T01:08:00.829Z] e16973657156: Pull complete [2023-01-18T01:08:01.426Z] db1c61fa0a46: Verifying Checksum [2023-01-18T01:08:01.426Z] db1c61fa0a46: Download complete [2023-01-18T01:08:02.019Z] fc693d55d65f: Verifying Checksum [2023-01-18T01:08:02.019Z] fc693d55d65f: Download complete [2023-01-18T01:08:14.376Z] fc693d55d65f: Pull complete [2023-01-18T01:08:14.647Z] 7e9fc2657dce: Pull complete [2023-01-18T01:08:14.916Z] dda99020689f: Pull complete [2023-01-18T01:08:21.738Z] db1c61fa0a46: Pull complete [2023-01-18T01:08:23.728Z] 891c053d2c06: Pull complete [2023-01-18T01:08:23.729Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T01:08:23.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T01:08:23.729Z] ---> f96f9c87975a [2023-01-18T01:08:23.729Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:08:24.705Z] ---> Running in 92010b1c5144 [2023-01-18T01:08:24.974Z] Removing intermediate container 92010b1c5144 [2023-01-18T01:08:24.974Z] ---> 1be0174b07a2 [2023-01-18T01:08:24.974Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:08:24.974Z] ---> Running in e6449f21ac3e [2023-01-18T01:08:25.244Z] Removing intermediate container e6449f21ac3e [2023-01-18T01:08:25.244Z] ---> d5758b8f72c5 [2023-01-18T01:08:25.244Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:08:25.514Z] ---> Running in c711306283a8 [2023-01-18T01:08:25.786Z] Removing intermediate container c711306283a8 [2023-01-18T01:08:25.786Z] ---> 666532262d87 [2023-01-18T01:08:25.786Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:08:25.786Z] ---> Running in 06e54d130cfc [2023-01-18T01:08:26.062Z] Removing intermediate container 06e54d130cfc [2023-01-18T01:08:26.062Z] ---> bd548a177af0 [2023-01-18T01:08:26.062Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:08:26.331Z] ---> Running in 753252a3fb18 [2023-01-18T01:08:27.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T01:08:27.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T01:08:28.851Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T01:08:28.851Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T01:08:28.851Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T01:08:28.851Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T01:08:28.851Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:08:29.120Z] OK: 226 MiB in 55 packages [2023-01-18T01:08:30.107Z] Removing intermediate container 753252a3fb18 [2023-01-18T01:08:30.107Z] ---> c8a4d62d47e7 [2023-01-18T01:08:30.107Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-18T01:08:30.107Z] ---> Running in 6de883c2a9b0 [2023-01-18T01:08:30.695Z] Removing intermediate container 6de883c2a9b0 [2023-01-18T01:08:30.695Z] ---> 5abd7435b8a6 [2023-01-18T01:08:30.695Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T01:08:31.281Z] ---> 05ac247c7547 [2023-01-18T01:08:31.281Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:08:31.281Z] ---> Running in 83ad66c9687e [2023-01-18T01:09:39.188Z] Removing intermediate container 83ad66c9687e [2023-01-18T01:09:39.188Z] ---> 4d1b5eacf2a1 [2023-01-18T01:09:39.188Z] Step 11/12 : COPY . . [2023-01-18T01:09:39.188Z] ---> 40b340e15767 [2023-01-18T01:09:39.188Z] Step 12/12 : RUN $MAKE [2023-01-18T01:09:39.188Z] ---> Running in a35460b9e5d7 [2023-01-18T01:09:39.188Z] noop [2023-01-18T01:09:39.188Z] Removing intermediate container a35460b9e5d7 [2023-01-18T01:09:39.188Z] ---> 95bd81ab23bb [2023-01-18T01:09:39.188Z] Successfully built 95bd81ab23bb [2023-01-18T01:09:39.188Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:09:39.934Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T01:09:39.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:09:40.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-2862 does not seem to be running inside a container [2023-01-18T01:09:40.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T01:09:41.671Z] $ docker top bc31492079dd631e34eb735b89c2520fa2f4bd4de44cea9963064f40d6db89d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:09:42.572Z] + go version [2023-01-18T01:09:42.572Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T01:09:42.607Z] $ docker stop --time=1 bc31492079dd631e34eb735b89c2520fa2f4bd4de44cea9963064f40d6db89d6 [2023-01-18T01:09:44.296Z] $ docker rm -f --volumes bc31492079dd631e34eb735b89c2520fa2f4bd4de44cea9963064f40d6db89d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:09:45.165Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T01:09:45.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:09:45.437Z] prd-ubuntu20.04-docker-arm64-4c-16g-2862 does not seem to be running inside a container [2023-01-18T01:09:45.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T01:09:47.251Z] $ docker top f83a8eb9df0eded5761ef8fcba72a027be0ea5f8815825ea8277f32d4a13e123 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:09:48.187Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-18T01:09:48.901Z] + make test [2023-01-18T01:09:48.901Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T01:09:50.853Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-18T01:10:47.287Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-18T01:10:47.287Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-18T01:10:47.287Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-18T01:10:47.287Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-18T01:10:47.288Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-18T01:10:47.288Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-18T01:11:14.014Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-18T01:11:14.014Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-18T01:11:14.014Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-18T01:11:14.014Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-18T01:11:14.014Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-18T01:11:14.014Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-18T01:11:18.288Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-01-18T01:11:18.874Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-01-18T01:11:18.920Z] $ docker stop --time=1 f83a8eb9df0eded5761ef8fcba72a027be0ea5f8815825ea8277f32d4a13e123 [2023-01-18T01:11:20.747Z] $ docker rm -f --volumes f83a8eb9df0eded5761ef8fcba72a027be0ea5f8815825ea8277f32d4a13e123 [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 [2023-01-18T01:11:22.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:11:22.250Z] [2023-01-18T01:11:22.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:11:22.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:11:22.923Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T01:11:22.923Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T01:11:22.924Z] 04944245beec: Pulling fs layer [2023-01-18T01:11:22.924Z] 699f458cf7ca: Pulling fs layer [2023-01-18T01:11:22.924Z] 765212b225bb: Pulling fs layer [2023-01-18T01:11:22.924Z] f23df028b6ca: Pulling fs layer [2023-01-18T01:11:22.924Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T01:11:22.924Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T01:11:22.924Z] 765212b225bb: Waiting [2023-01-18T01:11:22.924Z] d65c8cfc05b1: Waiting [2023-01-18T01:11:22.924Z] 2437ff75d9bd: Waiting [2023-01-18T01:11:22.924Z] f23df028b6ca: Waiting [2023-01-18T01:11:22.924Z] 04944245beec: Verifying Checksum [2023-01-18T01:11:22.924Z] 04944245beec: Download complete [2023-01-18T01:11:22.924Z] 765212b225bb: Verifying Checksum [2023-01-18T01:11:22.924Z] 765212b225bb: Download complete [2023-01-18T01:11:22.924Z] f23df028b6ca: Verifying Checksum [2023-01-18T01:11:22.924Z] f23df028b6ca: Download complete [2023-01-18T01:11:22.924Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T01:11:22.924Z] d65c8cfc05b1: Download complete [2023-01-18T01:11:23.194Z] 699f458cf7ca: Verifying Checksum [2023-01-18T01:11:23.194Z] 699f458cf7ca: Download complete [2023-01-18T01:11:23.466Z] 8998bd30e6a1: Download complete [2023-01-18T01:11:26.065Z] 2437ff75d9bd: Download complete [2023-01-18T01:11:27.483Z] 8998bd30e6a1: Pull complete [2023-01-18T01:11:28.069Z] 04944245beec: Pull complete [2023-01-18T01:11:29.488Z] 699f458cf7ca: Pull complete [2023-01-18T01:11:29.757Z] 765212b225bb: Pull complete [2023-01-18T01:11:30.734Z] f23df028b6ca: Pull complete [2023-01-18T01:11:31.002Z] d65c8cfc05b1: Pull complete [2023-01-18T01:11:49.258Z] 2437ff75d9bd: Pull complete [2023-01-18T01:11:49.258Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T01:11:49.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:11:49.258Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:11:49.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-2862 does not seem to be running inside a container [2023-01-18T01:11:49.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-18T01:11:51.210Z] $ docker top dbeade98e40256a37538dfafad48720b5611fa664727d124e7e03052676982b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:11:52.171Z] ---> job-cost.sh [2023-01-18T01:11:52.171Z] lf-activate-venv: SKIPPING [2023-01-18T01:11:52.171Z] INFO: No Stack... [2023-01-18T01:11:52.443Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T01:11:53.412Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T01:11:54.107Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-18T01:11:54.107Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T01:11:54.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [2023-01-18T01:11:54.225Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] did not exist. Created. [2023-01-18T01:11:54.225Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T01:11:54.989Z] /w/workspace/device-mqtt-go/1@tmp/durable-7a44f47a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T01:11:55.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T01:11:55.790Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T01:11:56.469Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T01:11:56.566Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T01:11:56.646Z] $ docker stop --time=1 dbeade98e40256a37538dfafad48720b5611fa664727d124e7e03052676982b6 [2023-01-18T01:11:58.408Z] $ docker rm -f --volumes dbeade98e40256a37538dfafad48720b5611fa664727d124e7e03052676982b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T01:11:59.204Z] 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 [2023-01-18T01:12:01.657Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives ] [2023-01-18T01:12:01.657Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives [2023-01-18T01:12:01.657Z] total 16 [2023-01-18T01:12:01.657Z] drwxr-xr-x 3 root root 4096 Jan 18 01:05 . [2023-01-18T01:12:01.657Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 01:05 .. [2023-01-18T01:12:01.657Z] drwxr-xr-x 2 root root 4096 Jan 18 01:05 cost [2023-01-18T01:12:01.657Z] -rw-r--r-- 1 root root 86 Jan 18 01:05 cost.csv [2023-01-18T01:12:01.657Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives [2023-01-18T01:12:01.657Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives [2023-01-18T01:12:01.657Z] total 16 [2023-01-18T01:12:01.657Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 01:05 . [2023-01-18T01:12:01.657Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 01:05 .. [2023-01-18T01:12:01.657Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 01:05 cost [2023-01-18T01:12:01.657Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 18 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:01.998Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:02.889Z] ---> package-listing.sh [2023-01-18T01:12:02.889Z] ++ facter osfamily [2023-01-18T01:12:02.889Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T01:12:03.149Z] + OS_FAMILY=debian [2023-01-18T01:12:03.149Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-459 [2023-01-18T01:12:03.149Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T01:12:03.149Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T01:12:03.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T01:12:03.149Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T01:12:03.149Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-459 ']' [2023-01-18T01:12:03.149Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T01:12:03.149Z] + case "${OS_FAMILY}" in [2023-01-18T01:12:03.149Z] + dpkg -l [2023-01-18T01:12:03.149Z] + grep '^ii' [2023-01-18T01:12:03.149Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T01:12:03.149Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T01:12:03.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T01:12:03.149Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-459 ']' [2023-01-18T01:12:03.149Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives/ [2023-01-18T01:12:03.149Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-459/archives/ [Pipeline] echo [2023-01-18T01:12:03.184Z] 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-459/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T01:12:03.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:12:04.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:12:04.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:12:04.238Z] prd-ubuntu20.04-docker-8c-8g-2859 does not seem to be running inside a container [2023-01-18T01:12:04.268Z] $ 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-459/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-459 -v /w/workspace/gexfoundry_device-mqtt-go_PR-459:/w/workspace/gexfoundry_device-mqtt-go_PR-459:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T01:12:04.486Z] $ docker top e13053436b67ebd9b8160f94594d6777b4a9eb39633a1dc64a00c700e9c3e7d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:12:04.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T01:12:05.178Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T01:12:05.506Z] + ls /var/log/sa-host [2023-01-18T01:12:05.506Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:12:05.642Z] provisioning config files... [2023-01-18T01:12:05.652Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-459@tmp/config4788042950134221642tmp [Pipeline] { [Pipeline] echo [2023-01-18T01:12:05.703Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:06.015Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T01:12:06.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:06.449Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T01:12:06.482Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:06.904Z] ---> sudo-logs.sh [2023-01-18T01:12:06.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T01:12:07.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:07.360Z] ---> job-cost.sh [2023-01-18T01:12:07.360Z] lf-activate-venv: SKIPPING [2023-01-18T01:12:07.360Z] DEBUG: total: 0.2199999988079071 [2023-01-18T01:12:07.360Z] INFO: Retrieving Stack Cost... [2023-01-18T01:12:07.928Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T01:12:08.190Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T01:12:08.229Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:12:08.639Z] ---> logs-deploy.sh [2023-01-18T01:12:08.639Z] lf-activate-venv: SKIPPING [2023-01-18T01:12:08.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-459/1 [2023-01-18T01:12:08.639Z] INFO: archiving workspace using pattern(s): [2023-01-18T01:12:09.582Z] Archives upload complete. [2023-01-18T01:12:09.582Z] INFO: archiving logs to Nexus