Pull request #504 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc+bc7652beee9a90296fe0b57947c4589a421f5e02 (8d2f2bab5da94a46cd892eca661c770e0e6c3939) 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-ssh4268034804357363086.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-ssh17003291248372189636.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-504/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-504/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16694478579072986690.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-504/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8872150311542018418.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-ssh10333904183577852924.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-504/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-504/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5511138974346987173.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-7858 in /w/workspace/gexfoundry_device-mqtt-go_PR-504 [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-504 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc > 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/504/head:refs/remotes/origin/PR-504 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc # timeout=10 Merge succeeded, producing e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc Checking out Revision e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc (PR-504) 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-03-01T02:00:14.868Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T02:00:15.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T02:00:15.159Z] ========================================================= [2023-03-01T02:00:15.159Z] EdgeX Global Pipelines Version Info [2023-03-01T02:00:15.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc # timeout=10 [2023-03-01T02:00:15.906Z] ------------------- [2023-03-01T02:00:15.906Z] stable info: [2023-03-01T02:00:15.906Z] ------------------- [2023-03-01T02:00:15.906Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T02:00:15.906Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T02:00:15.906Z] Message: update stable to v1.0.244 [2023-03-01T02:00:16.476Z] ------------------- [2023-03-01T02:00:16.476Z] experimental info: [2023-03-01T02:00:16.476Z] ------------------- [2023-03-01T02:00:16.476Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T02:00:16.476Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T02:00:16.476Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T02:00:16.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-01T02:00:16.837Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-01T02:00:16.880Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T02:00:16.924Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T02:00:16.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T02:00:17.005Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T02:00:17.047Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T02:00:17.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-01T02:00:17.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T02:00:17.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T02:00:17.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T02:00:17.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-01T02:00:17.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T02:00:17.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T02:00:17.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T02:00:17.478Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T02:00:17.516Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T02:00:17.560Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T02:00:17.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T02:00:17.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T02:00:17.685Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-01T02:00:17.727Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-01T02:00:17.770Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T02:00:17.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T02:00:17.855Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T02:00:17.898Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T02:00:17.942Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T02:00:17.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-504 [Pipeline] echo [2023-03-01T02:00:18.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-504 [Pipeline] echo [2023-03-01T02:00:18.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-504 [Pipeline] echo [2023-03-01T02:00:18.103Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [Pipeline] echo [2023-03-01T02:00:18.155Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4a6ac5 [Pipeline] echo [2023-03-01T02:00:18.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:00:18.305Z] provisioning config files... [2023-03-01T02:00:18.343Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/config8799300287804247901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:00:18.688Z] ---> docker-login.sh [2023-03-01T02:00:18.688Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:00:18.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:18.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:18.948Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:18.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:18.948Z] [2023-03-01T02:00:18.948Z] Login Succeeded [2023-03-01T02:00:18.948Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:00:18.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:19.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:19.207Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:19.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:19.207Z] [2023-03-01T02:00:19.207Z] Login Succeeded [2023-03-01T02:00:19.207Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:00:19.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:19.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:19.207Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:19.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:19.207Z] [2023-03-01T02:00:19.207Z] Login Succeeded [2023-03-01T02:00:19.207Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:00:19.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:19.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:19.466Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:19.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:19.466Z] [2023-03-01T02:00:19.466Z] Login Succeeded [2023-03-01T02:00:19.466Z] docker.io [2023-03-01T02:00:19.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:19.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:19.727Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:19.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:19.727Z] [2023-03-01T02:00:19.727Z] Login Succeeded [2023-03-01T02:00:19.727Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:00:19.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T02:00:20.396Z] + git rev-list -1 --merges e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc~1..e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [Pipeline] echo [2023-03-01T02:00:20.457Z] -----------> git rev-list -1 --merges e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc~1..e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [false] [Pipeline] sh [2023-03-01T02:00:20.765Z] + git log --format=format:%s -1 e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [Pipeline] echo [2023-03-01T02:00:20.801Z] ========================================================= [2023-03-01T02:00:20.801Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T02:00:20.801Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:00:21.235Z] + git log --format=format:%s -1 e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [Pipeline] echo [2023-03-01T02:00:21.268Z] [semverPrep] GIT_COMMIT: e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-01T02:00:21.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T02:00:21.673Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T02:00:21.673Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T02:00:21.673Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T02:00:21.673Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T02:00:21.673Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T02:00:21.673Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T02:00:21.673Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:22.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:00:22.101Z] [2023-03-01T02:00:22.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:22.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:00:22.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T02:00:22.479Z] b85a868b505f: Pulling fs layer [2023-03-01T02:00:22.479Z] e2be974225ed: Pulling fs layer [2023-03-01T02:00:22.479Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T02:00:22.479Z] 988bab9f4d93: Pulling fs layer [2023-03-01T02:00:22.479Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T02:00:22.479Z] eaf3925da568: Pulling fs layer [2023-03-01T02:00:22.479Z] bab4dde63d76: Pulling fs layer [2023-03-01T02:00:22.479Z] bde34c3a00c8: Pulling fs layer [2023-03-01T02:00:22.479Z] b352a97aabf1: Pulling fs layer [2023-03-01T02:00:22.479Z] 4872d77fe225: Pulling fs layer [2023-03-01T02:00:22.479Z] 5851b861e8e6: Pulling fs layer [2023-03-01T02:00:22.479Z] bab4dde63d76: Waiting [2023-03-01T02:00:22.479Z] bde34c3a00c8: Waiting [2023-03-01T02:00:22.479Z] b352a97aabf1: Waiting [2023-03-01T02:00:22.479Z] 988bab9f4d93: Waiting [2023-03-01T02:00:22.479Z] 1469e6f7b9e6: Waiting [2023-03-01T02:00:22.479Z] eaf3925da568: Waiting [2023-03-01T02:00:22.479Z] 4872d77fe225: Waiting [2023-03-01T02:00:22.479Z] 5851b861e8e6: Waiting [2023-03-01T02:00:22.479Z] e2be974225ed: Verifying Checksum [2023-03-01T02:00:22.479Z] e2be974225ed: Download complete [2023-03-01T02:00:22.479Z] 988bab9f4d93: Verifying Checksum [2023-03-01T02:00:22.479Z] 988bab9f4d93: Download complete [2023-03-01T02:00:22.738Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T02:00:22.738Z] 1469e6f7b9e6: Download complete [2023-03-01T02:00:22.738Z] eaf3925da568: Download complete [2023-03-01T02:00:22.738Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T02:00:22.738Z] 339a4e72a1f5: Download complete [2023-03-01T02:00:22.738Z] bde34c3a00c8: Verifying Checksum [2023-03-01T02:00:22.738Z] bde34c3a00c8: Download complete [2023-03-01T02:00:22.738Z] b352a97aabf1: Download complete [2023-03-01T02:00:22.738Z] 4872d77fe225: Verifying Checksum [2023-03-01T02:00:22.738Z] 5851b861e8e6: Download complete [2023-03-01T02:00:22.738Z] b85a868b505f: Verifying Checksum [2023-03-01T02:00:22.738Z] b85a868b505f: Download complete [2023-03-01T02:00:23.306Z] bab4dde63d76: Verifying Checksum [2023-03-01T02:00:23.306Z] bab4dde63d76: Download complete [2023-03-01T02:00:24.249Z] b85a868b505f: Pull complete [2023-03-01T02:00:24.249Z] e2be974225ed: Pull complete [2023-03-01T02:00:24.820Z] 339a4e72a1f5: Pull complete [2023-03-01T02:00:24.820Z] 988bab9f4d93: Pull complete [2023-03-01T02:00:25.078Z] 1469e6f7b9e6: Pull complete [2023-03-01T02:00:25.078Z] eaf3925da568: Pull complete [2023-03-01T02:00:26.978Z] bab4dde63d76: Pull complete [2023-03-01T02:00:26.978Z] bde34c3a00c8: Pull complete [2023-03-01T02:00:26.978Z] b352a97aabf1: Pull complete [2023-03-01T02:00:26.978Z] 4872d77fe225: Pull complete [2023-03-01T02:00:26.978Z] 5851b861e8e6: Pull complete [2023-03-01T02:00:26.978Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T02:00:27.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:00:27.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:00:27.441Z] prd-ubuntu20.04-docker-8c-8g-7858 does not seem to be running inside a container [2023-03-01T02:00:27.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-504 -v /w/workspace/gexfoundry_device-mqtt-go_PR-504:/w/workspace/gexfoundry_device-mqtt-go_PR-504:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T02:00:28.885Z] $ docker top d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 -eo pid,comm [2023-03-01T02:00:28.936Z] 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-03-01T02:00:28.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T02:00:29.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:00:29.062Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:00:29.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:00:29.174Z] $ docker exec d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 ssh-agent [2023-03-01T02:00:29.290Z] SSH_AUTH_SOCK=/tmp/ssh-tRbCWO13OiG8/agent.32 [2023-03-01T02:00:29.290Z] SSH_AGENT_PID=38 [2023-03-01T02:00:29.297Z] Running ssh-add (command line suppressed) [2023-03-01T02:00:29.408Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/private_key_10580321456828524399.key (/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/private_key_10580321456828524399.key) [2023-03-01T02:00:29.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:00:29.755Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T02:00:29.784Z] $ docker exec --env ******** --env ******** d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 ssh-agent -k [2023-03-01T02:00:29.884Z] unset SSH_AUTH_SOCK; [2023-03-01T02:00:29.885Z] unset SSH_AGENT_PID; [2023-03-01T02:00:29.885Z] echo Agent pid 38 killed; [2023-03-01T02:00:29.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T02:00:29.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:00:29.988Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:00:30.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:00:30.101Z] $ docker exec d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 ssh-agent [2023-03-01T02:00:30.200Z] SSH_AUTH_SOCK=/tmp/ssh-vNqdIdRBPNJl/agent.70 [2023-03-01T02:00:30.200Z] SSH_AGENT_PID=76 [2023-03-01T02:00:30.206Z] Running ssh-add (command line suppressed) [2023-03-01T02:00:30.313Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/private_key_3842478352253888156.key (/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/private_key_3842478352253888156.key) [2023-03-01T02:00:30.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:00:30.658Z] + git semver init [2023-03-01T02:00:30.919Z] 2023-03-01 02:00:30,839 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T02:00:30.919Z] 2023-03-01 02:00:30,840 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver [2023-03-01T02:00:30.919Z] 2023-03-01 02:00:30,841 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver [2023-03-01T02:00:30.919Z] 2023-03-01 02:00:30,841 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-504, universal_newlines=False, shell=None, istream=None) [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,718 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-504/.git/info/exclude [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,719 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver/PR-504 with force:False [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,719 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver/PR-504 [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,723 [execute] INFO git cat-file --batch-check [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,730 [execute] INFO git cat-file --batch [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:00:31.856Z] 2023-03-01 02:00:31,736 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-504/.semver/PR-504 [2023-03-01T02:00:31.856Z] 0.0.0 [Pipeline] } [2023-03-01T02:00:31.886Z] $ docker exec --env ******** --env ******** d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 ssh-agent -k [2023-03-01T02:00:31.980Z] unset SSH_AUTH_SOCK; [2023-03-01T02:00:31.980Z] unset SSH_AGENT_PID; [2023-03-01T02:00:31.980Z] echo Agent pid 76 killed; [2023-03-01T02:00:31.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T02:00:32.422Z] + git semver [Pipeline] } [2023-03-01T02:00:32.706Z] $ docker stop --time=1 d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 [2023-03-01T02:00:34.014Z] $ docker rm -f --volumes d5e9b89556fd853ae30545da6de7f8a2c15bb902acb19ede41b96a7a234527d9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T02:00:34.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T02:00:34.695Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T02:00:34.714Z] [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-03-01T02:00:35.348Z] provisioning config files... [2023-03-01T02:00:35.358Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/config2594907104391108465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:00:35.709Z] ---> docker-login.sh [2023-03-01T02:00:35.709Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:00:35.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:35.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:35.709Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:35.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:35.709Z] [2023-03-01T02:00:35.709Z] Login Succeeded [2023-03-01T02:00:35.709Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:00:35.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:35.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:35.709Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:35.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:35.709Z] [2023-03-01T02:00:35.709Z] Login Succeeded [2023-03-01T02:00:35.709Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:00:35.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:35.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:35.970Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:35.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:35.970Z] [2023-03-01T02:00:35.970Z] Login Succeeded [2023-03-01T02:00:35.970Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:00:35.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:35.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:35.970Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:35.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:35.970Z] [2023-03-01T02:00:35.970Z] Login Succeeded [2023-03-01T02:00:35.970Z] docker.io [2023-03-01T02:00:35.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:36.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:36.229Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:36.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:36.229Z] [2023-03-01T02:00:36.229Z] Login Succeeded [2023-03-01T02:00:36.229Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:00:36.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:00:36.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:00:36.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:00:36.518Z] ========================================================= [2023-03-01T02:00:36.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T02:00:36.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:37.003Z] + 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-03-01T02:00:37.003Z] Sending build context to Docker daemon 6.36MB [2023-03-01T02:00:37.003Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:00:37.003Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T02:00:37.003Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T02:00:37.003Z] 213ec9aee27d: Pulling fs layer [2023-03-01T02:00:37.003Z] 4583459ba037: Pulling fs layer [2023-03-01T02:00:37.003Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T02:00:37.003Z] 53926ce57604: Pulling fs layer [2023-03-01T02:00:37.003Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T02:00:37.003Z] 22ff95d597cd: Pulling fs layer [2023-03-01T02:00:37.003Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T02:00:37.003Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T02:00:37.003Z] a7acece74701: Pulling fs layer [2023-03-01T02:00:37.003Z] 53926ce57604: Waiting [2023-03-01T02:00:37.003Z] 21b2b0c7a3f4: Waiting [2023-03-01T02:00:37.003Z] 96b7cbca73a9: Waiting [2023-03-01T02:00:37.003Z] 22ff95d597cd: Waiting [2023-03-01T02:00:37.003Z] a7acece74701: Waiting [2023-03-01T02:00:37.003Z] 12d6caf4c0d1: Waiting [2023-03-01T02:00:37.003Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T02:00:37.003Z] 93c1e223e6f2: Download complete [2023-03-01T02:00:37.003Z] 4583459ba037: Download complete [2023-03-01T02:00:37.003Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T02:00:37.003Z] 21b2b0c7a3f4: Download complete [2023-03-01T02:00:37.268Z] 22ff95d597cd: Verifying Checksum [2023-03-01T02:00:37.268Z] 22ff95d597cd: Download complete [2023-03-01T02:00:37.268Z] 213ec9aee27d: Verifying Checksum [2023-03-01T02:00:37.268Z] 213ec9aee27d: Download complete [2023-03-01T02:00:37.268Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T02:00:37.268Z] 12d6caf4c0d1: Download complete [2023-03-01T02:00:37.268Z] 213ec9aee27d: Pull complete [2023-03-01T02:00:37.532Z] 4583459ba037: Pull complete [2023-03-01T02:00:37.532Z] 93c1e223e6f2: Pull complete [2023-03-01T02:00:37.792Z] a7acece74701: Verifying Checksum [2023-03-01T02:00:37.792Z] a7acece74701: Download complete [2023-03-01T02:00:38.050Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T02:00:38.050Z] 96b7cbca73a9: Download complete [2023-03-01T02:00:38.050Z] 53926ce57604: Download complete [2023-03-01T02:00:42.235Z] 53926ce57604: Pull complete [2023-03-01T02:00:42.235Z] 21b2b0c7a3f4: Pull complete [2023-03-01T02:00:42.235Z] 22ff95d597cd: Pull complete [2023-03-01T02:00:42.235Z] 12d6caf4c0d1: Pull complete [2023-03-01T02:00:44.140Z] 96b7cbca73a9: Pull complete [2023-03-01T02:00:44.398Z] a7acece74701: Pull complete [2023-03-01T02:00:44.398Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T02:00:44.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T02:00:44.658Z] ---> db6d94c90886 [2023-03-01T02:00:44.658Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T02:00:46.042Z] ---> Running in d2bed6f182ba [2023-03-01T02:00:46.302Z] Removing intermediate container d2bed6f182ba [2023-03-01T02:00:46.302Z] ---> 3d987dc059d2 [2023-03-01T02:00:46.302Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T02:00:46.302Z] ---> Running in a7556128f1ba [2023-03-01T02:00:46.302Z] Removing intermediate container a7556128f1ba [2023-03-01T02:00:46.302Z] ---> 6862362bc4f3 [2023-03-01T02:00:46.302Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T02:00:46.302Z] ---> Running in d6c26b92e0a8 [2023-03-01T02:00:46.561Z] Removing intermediate container d6c26b92e0a8 [2023-03-01T02:00:46.561Z] ---> 6fc138177aeb [2023-03-01T02:00:46.561Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T02:00:46.561Z] ---> Running in 22998ccb1831 [2023-03-01T02:00:46.561Z] Removing intermediate container 22998ccb1831 [2023-03-01T02:00:46.561Z] ---> 4d01b5083e03 [2023-03-01T02:00:46.561Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T02:00:46.820Z] ---> Running in 2877d71f7c87 [2023-03-01T02:00:46.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T02:00:47.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T02:00:47.340Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T02:00:47.340Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T02:00:47.340Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T02:00:47.602Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T02:00:47.602Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T02:00:47.602Z] OK: 216 MiB in 55 packages [2023-03-01T02:00:47.862Z] Removing intermediate container 2877d71f7c87 [2023-03-01T02:00:47.862Z] ---> fbd037db2f10 [2023-03-01T02:00:47.862Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-01T02:00:48.123Z] ---> Running in d90a5b315e2d [2023-03-01T02:00:48.123Z] Removing intermediate container d90a5b315e2d [2023-03-01T02:00:48.123Z] ---> a95f996e7421 [2023-03-01T02:00:48.123Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T02:00:48.123Z] ---> f3ba0512339c [2023-03-01T02:00:48.123Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:00:48.383Z] ---> Running in 708426cec2b4 [2023-03-01T02:00:50.150Z] Still waiting to schedule task [2023-03-01T02:00:50.151Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-01T02:01:10.320Z] Removing intermediate container 708426cec2b4 [2023-03-01T02:01:10.320Z] ---> 2b98f8779a32 [2023-03-01T02:01:10.320Z] Step 11/12 : COPY . . [2023-03-01T02:01:10.320Z] ---> 5d90dbca9fba [2023-03-01T02:01:10.320Z] Step 12/12 : RUN $MAKE [2023-03-01T02:01:10.320Z] ---> Running in c34cb96d86b6 [2023-03-01T02:01:10.320Z] noop [2023-03-01T02:01:10.320Z] Removing intermediate container c34cb96d86b6 [2023-03-01T02:01:10.320Z] ---> 44b24b0d67c7 [2023-03-01T02:01:10.320Z] Successfully built 44b24b0d67c7 [2023-03-01T02:01:10.320Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:01:10.764Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:01:10.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:01:10.913Z] prd-ubuntu20.04-docker-8c-8g-7858 does not seem to be running inside a container [2023-03-01T02:01:10.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-504 -v /w/workspace/gexfoundry_device-mqtt-go_PR-504:/w/workspace/gexfoundry_device-mqtt-go_PR-504:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:01:11.300Z] $ docker top e991b4843519bc163b2b77ca7cfe2155160837abf26168b6a33ce48a57bc0526 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:01:11.697Z] + go version [2023-03-01T02:01:11.697Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T02:01:11.725Z] $ docker stop --time=1 e991b4843519bc163b2b77ca7cfe2155160837abf26168b6a33ce48a57bc0526 [2023-03-01T02:01:12.977Z] $ docker rm -f --volumes e991b4843519bc163b2b77ca7cfe2155160837abf26168b6a33ce48a57bc0526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:01:13.698Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:01:13.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:01:13.861Z] prd-ubuntu20.04-docker-8c-8g-7858 does not seem to be running inside a container [2023-03-01T02:01:13.896Z] $ 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-504 -v /w/workspace/gexfoundry_device-mqtt-go_PR-504:/w/workspace/gexfoundry_device-mqtt-go_PR-504:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:01:14.224Z] $ docker top f7531a28552c0eb92370cc8c09849a23e582ede80721ebc1ef19b5326aeada7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:01:14.615Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-504 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:01:14.967Z] + make test [2023-03-01T02:01:14.967Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T02:01:15.226Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-01T02:01:23.342Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-01T02:01:23.342Z] /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-03-01T02:01:23.342Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-01T02:01:23.342Z] 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-03-01T02:01:23.342Z] 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-03-01T02:01:23.342Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-01T02:01:23.600Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-01T02:01:23.600Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-01T02:01:23.600Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-01T02:01:23.600Z] have (context.Context, requests.AddEventRequest) [2023-03-01T02:01:23.600Z] want (context.Context, string, requests.AddEventRequest) [2023-03-01T02:01:23.859Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-01T02:01:23.859Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-01T02:01:23.901Z] $ docker stop --time=1 f7531a28552c0eb92370cc8c09849a23e582ede80721ebc1ef19b5326aeada7d [2023-03-01T02:01:25.790Z] $ docker rm -f --volumes f7531a28552c0eb92370cc8c09849a23e582ede80721ebc1ef19b5326aeada7d [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-03-01T02:01:26.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:26.989Z] [2023-03-01T02:01:26.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:01:27.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:27.397Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T02:01:27.397Z] 5eb5b503b376: Pulling fs layer [2023-03-01T02:01:27.397Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T02:01:27.397Z] ec43610c2a17: Pulling fs layer [2023-03-01T02:01:27.397Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T02:01:27.397Z] 33b1e0a273af: Pulling fs layer [2023-03-01T02:01:27.397Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T02:01:27.397Z] 2f39f015ded8: Pulling fs layer [2023-03-01T02:01:27.397Z] 3a2ae6a8a46f: Waiting [2023-03-01T02:01:27.397Z] 33b1e0a273af: Waiting [2023-03-01T02:01:27.397Z] 5d3b04190fa2: Waiting [2023-03-01T02:01:27.397Z] 2f39f015ded8: Waiting [2023-03-01T02:01:27.397Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T02:01:27.397Z] 5c69ac0246d0: Download complete [2023-03-01T02:01:27.397Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T02:01:27.657Z] 33b1e0a273af: Verifying Checksum [2023-03-01T02:01:27.657Z] 33b1e0a273af: Download complete [2023-03-01T02:01:27.657Z] 5d3b04190fa2: Download complete [2023-03-01T02:01:27.657Z] ec43610c2a17: Verifying Checksum [2023-03-01T02:01:27.657Z] ec43610c2a17: Download complete [2023-03-01T02:01:27.657Z] 5eb5b503b376: Verifying Checksum [2023-03-01T02:01:27.657Z] 5eb5b503b376: Download complete [2023-03-01T02:01:28.228Z] 2f39f015ded8: Download complete [2023-03-01T02:01:29.164Z] 5eb5b503b376: Pull complete [2023-03-01T02:01:29.164Z] 5c69ac0246d0: Pull complete [2023-03-01T02:01:29.751Z] ec43610c2a17: Pull complete [2023-03-01T02:01:29.751Z] 3a2ae6a8a46f: Pull complete [2023-03-01T02:01:30.010Z] 33b1e0a273af: Pull complete [2023-03-01T02:01:30.010Z] 5d3b04190fa2: Pull complete [2023-03-01T02:01:35.404Z] 2f39f015ded8: Pull complete [2023-03-01T02:01:35.404Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T02:01:35.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:35.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:01:35.646Z] prd-ubuntu20.04-docker-8c-8g-7858 does not seem to be running inside a container [2023-03-01T02:01:35.674Z] $ 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-504 -v /w/workspace/gexfoundry_device-mqtt-go_PR-504:/w/workspace/gexfoundry_device-mqtt-go_PR-504:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T02:01:38.534Z] $ docker top 5d7f622a39ee5a7bcdf60e1ba5724a98e47b73cab089524ab2391838075836b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:01:38.965Z] ---> job-cost.sh [2023-03-01T02:01:38.965Z] lf-activate-venv: SKIPPING [2023-03-01T02:01:38.965Z] INFO: No Stack... [2023-03-01T02:01:39.533Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:01:39.793Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T02:01:40.109Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives/cost.csv [2023-03-01T02:01:40.109Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:01:40.148Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [2023-03-01T02:01:40.153Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] did not exist. Created. [2023-03-01T02:01:40.153Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:01:40.540Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T02:01:40.598Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:01:40.621Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:01:40.696Z] $ docker stop --time=1 5d7f622a39ee5a7bcdf60e1ba5724a98e47b73cab089524ab2391838075836b3 [2023-03-01T02:01:41.861Z] $ docker rm -f --volumes 5d7f622a39ee5a7bcdf60e1ba5724a98e47b73cab089524ab2391838075836b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T02:01:42.307Z] Failed in branch amd64 [2023-03-01T02:03:37.353Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7862 in /w/workspace/gexfoundry_device-mqtt-go_PR-504 [Pipeline] { [Pipeline] ws [2023-03-01T02:03:37.411Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-01T02:03:37.499Z] Selected Git installation does not exist. Using Default [2023-03-01T02:03:37.500Z] The recommended git tool is: NONE [2023-03-01T02:03:44.734Z] using credential edgex-jenkins-ssh [2023-03-01T02:03:44.759Z] Cloning the remote Git repository [2023-03-01T02:03:44.827Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:44.952Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-01T02:03:45.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:45.175Z] > git --version # timeout=10 [2023-03-01T02:03:45.201Z] > git --version # 'git version 2.25.1' [2023-03-01T02:03:45.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:45.295Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:03:46.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-01T02:03:46.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:03:47.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-01T02:03:48.368Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [2023-03-01T02:03:48.634Z] Merge succeeded, producing e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc [2023-03-01T02:03:48.634Z] Checking out Revision e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc (PR-504) [2023-03-01T02:03:49.233Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-01T02:03:47.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:47.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:47.812Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/504/head:refs/remotes/origin/PR-504 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T02:03:48.391Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:03:48.417Z] > git checkout -f e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc # timeout=10 [2023-03-01T02:03:48.513Z] > git remote # timeout=10 [2023-03-01T02:03:48.533Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T02:03:48.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:48.577Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-03-01T02:03:48.609Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T02:03:48.643Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:03:48.660Z] > git checkout -f e4a6ac5f8bdd944eb4cffa2d49047b688506c4fc # timeout=10 [2023-03-01T02:03:49.307Z] > git --version # timeout=10 [2023-03-01T02:03:49.322Z] > git --version # 'git version 2.25.1' [2023-03-01T02:03:49.343Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:03:50.446Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T02:03:50.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T02:03:50.446Z] Dload Upload Total Spent Left Speed [2023-03-01T02:03:50.446Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-03-01T02:03:51.046Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T02:03:51.398Z] + sudo tee /etc/docker/daemon.new [2023-03-01T02:03:51.398Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T02:03:51.398Z] { [2023-03-01T02:03:51.398Z] "registry-mirrors": [ [2023-03-01T02:03:51.398Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T02:03:51.398Z] ], [2023-03-01T02:03:51.398Z] "bip": "10.250.0.254/24", [2023-03-01T02:03:51.398Z] "hosts": [ [2023-03-01T02:03:51.398Z] "tcp://0.0.0.0:5555", [2023-03-01T02:03:51.398Z] "unix:///var/run/docker.sock" [2023-03-01T02:03:51.398Z] ], [2023-03-01T02:03:51.398Z] "mtu": 1458, [2023-03-01T02:03:51.398Z] "selinux-enabled": true, [2023-03-01T02:03:51.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T02:03:51.398Z] } [Pipeline] sh [2023-03-01T02:03:51.768Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T02:03:52.131Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:04:10.524Z] provisioning config files... [2023-03-01T02:04:10.564Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17983060014005243431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:04:10.995Z] ---> docker-login.sh [2023-03-01T02:04:10.995Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:04:11.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:04:11.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:04:11.593Z] Configure a credential helper to remove this warning. See [2023-03-01T02:04:11.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:04:11.593Z] [2023-03-01T02:04:11.593Z] Login Succeeded [2023-03-01T02:04:11.868Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:04:12.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:04:12.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:04:12.141Z] Configure a credential helper to remove this warning. See [2023-03-01T02:04:12.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:04:12.141Z] [2023-03-01T02:04:12.141Z] Login Succeeded [2023-03-01T02:04:12.141Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:04:12.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:04:12.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:04:12.695Z] Configure a credential helper to remove this warning. See [2023-03-01T02:04:12.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:04:12.695Z] [2023-03-01T02:04:12.695Z] Login Succeeded [2023-03-01T02:04:12.695Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:04:12.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:04:12.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:04:12.974Z] Configure a credential helper to remove this warning. See [2023-03-01T02:04:12.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:04:12.974Z] [2023-03-01T02:04:12.974Z] Login Succeeded [2023-03-01T02:04:12.974Z] docker.io [2023-03-01T02:04:13.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:04:13.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:04:13.850Z] Configure a credential helper to remove this warning. See [2023-03-01T02:04:13.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:04:13.850Z] [2023-03-01T02:04:13.850Z] Login Succeeded [2023-03-01T02:04:13.850Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:04:13.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:04:14.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:04:14.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:04:14.446Z] ========================================================= [2023-03-01T02:04:14.446Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T02:04:14.446Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:04:14.944Z] + 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-03-01T02:04:15.220Z] Sending build context to Docker daemon 3.288MB [2023-03-01T02:04:15.220Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:04:15.220Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T02:04:15.493Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T02:04:15.493Z] 9b18e9b68314: Pulling fs layer [2023-03-01T02:04:15.493Z] 35d82f9e3411: Pulling fs layer [2023-03-01T02:04:15.493Z] e16973657156: Pulling fs layer [2023-03-01T02:04:15.493Z] fc693d55d65f: Pulling fs layer [2023-03-01T02:04:15.493Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T02:04:15.493Z] dda99020689f: Pulling fs layer [2023-03-01T02:04:15.493Z] db1c61fa0a46: Pulling fs layer [2023-03-01T02:04:15.493Z] 891c053d2c06: Pulling fs layer [2023-03-01T02:04:15.493Z] dda99020689f: Waiting [2023-03-01T02:04:15.493Z] db1c61fa0a46: Waiting [2023-03-01T02:04:15.493Z] fc693d55d65f: Waiting [2023-03-01T02:04:15.493Z] 7e9fc2657dce: Waiting [2023-03-01T02:04:15.493Z] 891c053d2c06: Waiting [2023-03-01T02:04:15.493Z] e16973657156: Download complete [2023-03-01T02:04:15.493Z] 35d82f9e3411: Verifying Checksum [2023-03-01T02:04:15.493Z] 35d82f9e3411: Download complete [2023-03-01T02:04:15.493Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T02:04:15.493Z] 7e9fc2657dce: Download complete [2023-03-01T02:04:15.493Z] dda99020689f: Verifying Checksum [2023-03-01T02:04:15.493Z] dda99020689f: Download complete [2023-03-01T02:04:15.769Z] 9b18e9b68314: Verifying Checksum [2023-03-01T02:04:16.758Z] 9b18e9b68314: Pull complete [2023-03-01T02:04:16.758Z] 891c053d2c06: Verifying Checksum [2023-03-01T02:04:16.758Z] 891c053d2c06: Download complete [2023-03-01T02:04:17.352Z] 35d82f9e3411: Pull complete [2023-03-01T02:04:17.650Z] e16973657156: Pull complete [2023-03-01T02:04:18.249Z] db1c61fa0a46: Verifying Checksum [2023-03-01T02:04:18.249Z] db1c61fa0a46: Download complete [2023-03-01T02:04:18.845Z] fc693d55d65f: Verifying Checksum [2023-03-01T02:04:18.846Z] fc693d55d65f: Download complete [2023-03-01T02:04:31.222Z] fc693d55d65f: Pull complete [2023-03-01T02:04:31.494Z] 7e9fc2657dce: Pull complete [2023-03-01T02:04:31.765Z] dda99020689f: Pull complete [2023-03-01T02:04:40.126Z] db1c61fa0a46: Pull complete [2023-03-01T02:04:41.105Z] 891c053d2c06: Pull complete [2023-03-01T02:04:41.378Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T02:04:41.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T02:04:41.378Z] ---> f96f9c87975a [2023-03-01T02:04:41.378Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T02:04:42.361Z] ---> Running in 212821742dfa [2023-03-01T02:04:42.951Z] Removing intermediate container 212821742dfa [2023-03-01T02:04:42.951Z] ---> e54f9737f448 [2023-03-01T02:04:42.951Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T02:04:42.951Z] ---> Running in 36bd304cb74c [2023-03-01T02:04:43.234Z] Removing intermediate container 36bd304cb74c [2023-03-01T02:04:43.234Z] ---> 4308462b9b9c [2023-03-01T02:04:43.234Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T02:04:43.505Z] ---> Running in bc67d756dc41 [2023-03-01T02:04:43.774Z] Removing intermediate container bc67d756dc41 [2023-03-01T02:04:43.774Z] ---> 9da0901fe644 [2023-03-01T02:04:43.774Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T02:04:44.046Z] ---> Running in f5ca7e8bfb34 [2023-03-01T02:04:44.333Z] Removing intermediate container f5ca7e8bfb34 [2023-03-01T02:04:44.334Z] ---> 2ce665fa227a [2023-03-01T02:04:44.334Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T02:04:44.334Z] ---> Running in ad6c1b1536da [2023-03-01T02:04:45.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T02:04:46.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T02:04:47.451Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T02:04:47.451Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T02:04:47.451Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T02:04:47.451Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T02:04:47.451Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T02:04:47.451Z] OK: 226 MiB in 55 packages [2023-03-01T02:04:48.907Z] Removing intermediate container ad6c1b1536da [2023-03-01T02:04:48.907Z] ---> efad699021ee [2023-03-01T02:04:48.907Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-01T02:04:48.907Z] ---> Running in a429bbf35a48 [2023-03-01T02:04:49.192Z] Removing intermediate container a429bbf35a48 [2023-03-01T02:04:49.192Z] ---> 31731859f5fb [2023-03-01T02:04:49.192Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T02:04:49.781Z] ---> b0efdc7c2128 [2023-03-01T02:04:49.781Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:04:49.781Z] ---> Running in 8ef2ab5ac189 [2023-03-01T02:05:57.741Z] Removing intermediate container 8ef2ab5ac189 [2023-03-01T02:05:57.741Z] ---> d2a5afd46b60 [2023-03-01T02:05:57.741Z] Step 11/12 : COPY . . [2023-03-01T02:05:57.741Z] ---> fa8ec440188f [2023-03-01T02:05:57.741Z] Step 12/12 : RUN $MAKE [2023-03-01T02:05:57.741Z] ---> Running in 629cb21ae516 [2023-03-01T02:05:57.741Z] noop [2023-03-01T02:05:57.741Z] Removing intermediate container 629cb21ae516 [2023-03-01T02:05:57.741Z] ---> e855c877d67a [2023-03-01T02:05:57.741Z] Successfully built e855c877d67a [2023-03-01T02:05:57.741Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:05:58.256Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:05:58.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:05:58.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2023-03-01T02:05:58.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:06:00.072Z] $ docker top 38980aa45c72b73ee65d7d06ac01b5cf2cec3c30650df9e1f36b69f4b775c5c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:06:00.995Z] + go version [2023-03-01T02:06:00.995Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T02:06:01.026Z] $ docker stop --time=1 38980aa45c72b73ee65d7d06ac01b5cf2cec3c30650df9e1f36b69f4b775c5c1 [2023-03-01T02:06:02.713Z] $ docker rm -f --volumes 38980aa45c72b73ee65d7d06ac01b5cf2cec3c30650df9e1f36b69f4b775c5c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:06:03.617Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:06:03.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:06:03.877Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2023-03-01T02:06:03.957Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:06:05.236Z] $ docker top 980bb005a0df7e6eb9024e1194562a79ac0e1c2c91d83b202019384f914dfa9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:06:06.156Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:06:06.869Z] + make test [2023-03-01T02:06:06.870Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T02:06:08.823Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-01T02:07:16.762Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-01T02:07:16.762Z] /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-03-01T02:07:16.762Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-01T02:07:16.762Z] 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-03-01T02:07:16.762Z] 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-03-01T02:07:16.762Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-01T02:07:31.776Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-01T02:07:31.776Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-01T02:07:31.776Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-01T02:07:31.776Z] have (context.Context, requests.AddEventRequest) [2023-03-01T02:07:31.776Z] want (context.Context, string, requests.AddEventRequest) [2023-03-01T02:07:40.011Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-01T02:07:40.011Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-01T02:07:40.062Z] $ docker stop --time=1 980bb005a0df7e6eb9024e1194562a79ac0e1c2c91d83b202019384f914dfa9d [2023-03-01T02:07:41.928Z] $ docker rm -f --volumes 980bb005a0df7e6eb9024e1194562a79ac0e1c2c91d83b202019384f914dfa9d [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-03-01T02:07:43.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:07:43.480Z] [2023-03-01T02:07:43.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:07:43.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:07:44.185Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T02:07:44.185Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T02:07:44.185Z] 04944245beec: Pulling fs layer [2023-03-01T02:07:44.185Z] 699f458cf7ca: Pulling fs layer [2023-03-01T02:07:44.185Z] 765212b225bb: Pulling fs layer [2023-03-01T02:07:44.185Z] f23df028b6ca: Pulling fs layer [2023-03-01T02:07:44.185Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T02:07:44.185Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T02:07:44.185Z] 765212b225bb: Waiting [2023-03-01T02:07:44.185Z] f23df028b6ca: Waiting [2023-03-01T02:07:44.185Z] d65c8cfc05b1: Waiting [2023-03-01T02:07:44.185Z] 2437ff75d9bd: Waiting [2023-03-01T02:07:44.185Z] 04944245beec: Verifying Checksum [2023-03-01T02:07:44.185Z] 04944245beec: Download complete [2023-03-01T02:07:44.185Z] 765212b225bb: Verifying Checksum [2023-03-01T02:07:44.185Z] 765212b225bb: Download complete [2023-03-01T02:07:44.474Z] f23df028b6ca: Verifying Checksum [2023-03-01T02:07:44.474Z] f23df028b6ca: Download complete [2023-03-01T02:07:44.474Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T02:07:44.474Z] d65c8cfc05b1: Download complete [2023-03-01T02:07:44.744Z] 699f458cf7ca: Verifying Checksum [2023-03-01T02:07:44.744Z] 699f458cf7ca: Download complete [2023-03-01T02:07:45.016Z] 8998bd30e6a1: Verifying Checksum [2023-03-01T02:07:45.016Z] 8998bd30e6a1: Download complete [2023-03-01T02:07:47.613Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T02:07:47.613Z] 2437ff75d9bd: Download complete [2023-03-01T02:07:50.220Z] 8998bd30e6a1: Pull complete [2023-03-01T02:07:50.488Z] 04944245beec: Pull complete [2023-03-01T02:07:53.082Z] 699f458cf7ca: Pull complete [2023-03-01T02:07:53.082Z] 765212b225bb: Pull complete [2023-03-01T02:07:54.050Z] f23df028b6ca: Pull complete [2023-03-01T02:07:54.319Z] d65c8cfc05b1: Pull complete [2023-03-01T02:08:16.421Z] 2437ff75d9bd: Pull complete [2023-03-01T02:08:16.421Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T02:08:16.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:08:16.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:08:16.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2023-03-01T02:08:16.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T02:08:19.533Z] $ docker top c54af565cfb95f050906559723414bc31c3174f908d0dfa5cdb4964ad889de7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:20.496Z] ---> job-cost.sh [2023-03-01T02:08:20.496Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:20.496Z] INFO: No Stack... [2023-03-01T02:08:21.092Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T02:08:22.066Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T02:08:22.747Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-01T02:08:22.747Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:08:22.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [2023-03-01T02:08:22.846Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] did not exist. Created. [2023-03-01T02:08:22.846Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:08:23.600Z] /w/workspace/device-mqtt-go/1@tmp/durable-1f767a5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T02:08:24.315Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T02:08:24.352Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T02:08:24.934Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:08:24.956Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-504-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:08:25.036Z] $ docker stop --time=1 c54af565cfb95f050906559723414bc31c3174f908d0dfa5cdb4964ad889de7a [2023-03-01T02:08:26.821Z] $ docker rm -f --volumes c54af565cfb95f050906559723414bc31c3174f908d0dfa5cdb4964ad889de7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T02:08:27.536Z] 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-03-01T02:08:29.515Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives ] [2023-03-01T02:08:29.515Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives [2023-03-01T02:08:29.515Z] total 16 [2023-03-01T02:08:29.515Z] drwxr-xr-x 3 root root 4096 Mar 1 02:01 . [2023-03-01T02:08:29.515Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 02:01 .. [2023-03-01T02:08:29.515Z] drwxr-xr-x 2 root root 4096 Mar 1 02:01 cost [2023-03-01T02:08:29.515Z] -rw-r--r-- 1 root root 86 Mar 1 02:01 cost.csv [2023-03-01T02:08:29.515Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives [2023-03-01T02:08:29.515Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives [2023-03-01T02:08:29.515Z] total 16 [2023-03-01T02:08:29.515Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:01 . [2023-03-01T02:08:29.515Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 02:01 .. [2023-03-01T02:08:29.515Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 02:01 cost [2023-03-01T02:08:29.515Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:29.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:30.739Z] ---> package-listing.sh [2023-03-01T02:08:30.739Z] ++ facter osfamily [2023-03-01T02:08:30.739Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T02:08:30.998Z] + OS_FAMILY=debian [2023-03-01T02:08:30.998Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-504 [2023-03-01T02:08:30.998Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T02:08:30.998Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T02:08:30.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T02:08:30.998Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T02:08:30.998Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-504 ']' [2023-03-01T02:08:30.998Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T02:08:30.998Z] + case "${OS_FAMILY}" in [2023-03-01T02:08:30.998Z] + dpkg -l [2023-03-01T02:08:30.998Z] + grep '^ii' [2023-03-01T02:08:30.998Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T02:08:30.998Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T02:08:30.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T02:08:30.998Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-504 ']' [2023-03-01T02:08:30.998Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives/ [2023-03-01T02:08:30.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-504/archives/ [Pipeline] echo [2023-03-01T02:08:31.034Z] 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-504/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T02:08:31.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:08:31.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:08:31.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:08:32.102Z] prd-ubuntu20.04-docker-8c-8g-7858 does not seem to be running inside a container [2023-03-01T02:08:32.125Z] $ 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-504/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-504 -v /w/workspace/gexfoundry_device-mqtt-go_PR-504:/w/workspace/gexfoundry_device-mqtt-go_PR-504:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-504@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-03-01T02:08:32.338Z] $ docker top 89b5f8556babe113ba100526699266cca2f3759fcda09ff7e53752f82cd9a8c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:08:32.734Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T02:08:33.051Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T02:08:33.443Z] + ls /var/log/sa-host [2023-03-01T02:08:33.443Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:08:33.595Z] provisioning config files... [2023-03-01T02:08:33.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-504@tmp/config18319283744578056151tmp [Pipeline] { [Pipeline] echo [2023-03-01T02:08:33.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:33.974Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T02:08:34.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:34.416Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T02:08:34.451Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:34.773Z] ---> sudo-logs.sh [2023-03-01T02:08:34.773Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T02:08:34.865Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:35.183Z] ---> job-cost.sh [2023-03-01T02:08:35.183Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:35.183Z] DEBUG: total: 0.2199999988079071 [2023-03-01T02:08:35.183Z] INFO: Retrieving Stack Cost... [2023-03-01T02:08:35.442Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:08:35.700Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T02:08:35.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:36.054Z] ---> logs-deploy.sh [2023-03-01T02:08:36.054Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:36.054Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-504/1 [2023-03-01T02:08:36.054Z] INFO: archiving workspace using pattern(s): [2023-03-01T02:08:36.991Z] Archives upload complete. [2023-03-01T02:08:37.251Z] INFO: archiving logs to Nexus