Pull request #510 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53990273ce380ea90155d9563d7e31d8a78d693c+bc7652beee9a90296fe0b57947c4589a421f5e02 (f540a3d7bcb96d17dcc26fbbc76e27be346f5f5e) 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-ssh13518154557937453765.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-ssh15810075361880153525.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-510/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-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh651802770372416483.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-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5600691245332598416.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-ssh7727185309797705503.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-510/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-510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11415200456221385779.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-8469 in /w/workspace/gexfoundry_device-mqtt-go_PR-510 [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-510 # 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 53990273ce380ea90155d9563d7e31d8a78d693c > 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/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53990273ce380ea90155d9563d7e31d8a78d693c # timeout=10 Merge succeeded, producing 53990273ce380ea90155d9563d7e31d8a78d693c Checking out Revision 53990273ce380ea90155d9563d7e31d8a78d693c (PR-510) 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-07T01:59:47.498Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T01:59:47.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T01:59:47.773Z] ========================================================= [2023-03-07T01:59:47.773Z] EdgeX Global Pipelines Version Info [2023-03-07T01:59:47.773Z] ========================================================= [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 53990273ce380ea90155d9563d7e31d8a78d693c # timeout=10 [2023-03-07T01:59:48.511Z] ------------------- [2023-03-07T01:59:48.511Z] stable info: [2023-03-07T01:59:48.511Z] ------------------- [2023-03-07T01:59:48.511Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T01:59:48.511Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:59:48.511Z] Message: update stable to v1.0.244 [2023-03-07T01:59:49.079Z] ------------------- [2023-03-07T01:59:49.079Z] experimental info: [2023-03-07T01:59:49.079Z] ------------------- [2023-03-07T01:59:49.079Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T01:59:49.079Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:59:49.079Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T01:59:49.355Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-07T01:59:49.398Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-07T01:59:49.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T01:59:49.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T01:59:49.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T01:59:49.559Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T01:59:49.601Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T01:59:49.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T01:59:49.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T01:59:49.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T01:59:49.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T01:59:49.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-07T01:59:49.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T01:59:49.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T01:59:50.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:59:50.049Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:59:50.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:59:50.133Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:59:50.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T01:59:50.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T01:59:50.257Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-07T01:59:50.417Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-07T01:59:50.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T01:59:50.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T01:59:50.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T01:59:50.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T01:59:50.679Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T01:59:50.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-510 [Pipeline] echo [2023-03-07T01:59:50.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-510 [Pipeline] echo [2023-03-07T01:59:50.819Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-510 [Pipeline] echo [2023-03-07T01:59:50.862Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53990273ce380ea90155d9563d7e31d8a78d693c [Pipeline] echo [2023-03-07T01:59:50.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5399027 [Pipeline] echo [2023-03-07T01:59:50.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:59:51.047Z] provisioning config files... [2023-03-07T01:59:51.067Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/config7269621930737330198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:59:51.413Z] ---> docker-login.sh [2023-03-07T01:59:51.413Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:59:51.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:59:51.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:59:51.673Z] Configure a credential helper to remove this warning. See [2023-03-07T01:59:51.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:59:51.673Z] [2023-03-07T01:59:51.673Z] Login Succeeded [2023-03-07T01:59:51.673Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:59:51.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:59:51.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:59:51.673Z] Configure a credential helper to remove this warning. See [2023-03-07T01:59:51.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:59:51.673Z] [2023-03-07T01:59:51.673Z] Login Succeeded [2023-03-07T01:59:51.673Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:59:51.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:59:51.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:59:51.933Z] Configure a credential helper to remove this warning. See [2023-03-07T01:59:51.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:59:51.933Z] [2023-03-07T01:59:51.933Z] Login Succeeded [2023-03-07T01:59:51.933Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:59:51.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:59:51.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:59:51.933Z] Configure a credential helper to remove this warning. See [2023-03-07T01:59:51.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:59:51.933Z] [2023-03-07T01:59:51.933Z] Login Succeeded [2023-03-07T01:59:51.933Z] docker.io [2023-03-07T01:59:52.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:59:52.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:59:52.192Z] Configure a credential helper to remove this warning. See [2023-03-07T01:59:52.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:59:52.192Z] [2023-03-07T01:59:52.192Z] Login Succeeded [2023-03-07T01:59:52.192Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:59:52.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T01:59:52.853Z] + git rev-list -1 --merges 53990273ce380ea90155d9563d7e31d8a78d693c~1..53990273ce380ea90155d9563d7e31d8a78d693c [Pipeline] echo [2023-03-07T01:59:52.914Z] -----------> git rev-list -1 --merges 53990273ce380ea90155d9563d7e31d8a78d693c~1..53990273ce380ea90155d9563d7e31d8a78d693c 53990273ce380ea90155d9563d7e31d8a78d693c [false] [Pipeline] sh [2023-03-07T01:59:53.221Z] + git log --format=format:%s -1 53990273ce380ea90155d9563d7e31d8a78d693c [Pipeline] echo [2023-03-07T01:59:53.256Z] ========================================================= [2023-03-07T01:59:53.256Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T01:59:53.256Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:59:53.664Z] + git log --format=format:%s -1 53990273ce380ea90155d9563d7e31d8a78d693c [Pipeline] echo [2023-03-07T01:59:53.699Z] [semverPrep] GIT_COMMIT: 53990273ce380ea90155d9563d7e31d8a78d693c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T01:59:53.732Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T01:59:54.101Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T01:59:54.101Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T01:59:54.101Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T01:59:54.101Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T01:59:54.101Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T01:59:54.101Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T01:59:54.101Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:59:54.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:59:54.523Z] [2023-03-07T01:59:54.523Z] 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-07T01:59:54.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:59:54.898Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T01:59:54.898Z] b85a868b505f: Pulling fs layer [2023-03-07T01:59:54.898Z] e2be974225ed: Pulling fs layer [2023-03-07T01:59:54.898Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T01:59:54.898Z] 988bab9f4d93: Pulling fs layer [2023-03-07T01:59:54.898Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T01:59:54.898Z] eaf3925da568: Pulling fs layer [2023-03-07T01:59:54.898Z] bab4dde63d76: Pulling fs layer [2023-03-07T01:59:54.898Z] bde34c3a00c8: Pulling fs layer [2023-03-07T01:59:54.898Z] b352a97aabf1: Pulling fs layer [2023-03-07T01:59:54.898Z] 4872d77fe225: Pulling fs layer [2023-03-07T01:59:54.898Z] 5851b861e8e6: Pulling fs layer [2023-03-07T01:59:54.898Z] bde34c3a00c8: Waiting [2023-03-07T01:59:54.898Z] b352a97aabf1: Waiting [2023-03-07T01:59:54.898Z] bab4dde63d76: Waiting [2023-03-07T01:59:54.898Z] 4872d77fe225: Waiting [2023-03-07T01:59:54.898Z] 988bab9f4d93: Waiting [2023-03-07T01:59:54.898Z] 1469e6f7b9e6: Waiting [2023-03-07T01:59:54.898Z] eaf3925da568: Waiting [2023-03-07T01:59:54.898Z] e2be974225ed: Download complete [2023-03-07T01:59:54.898Z] 988bab9f4d93: Verifying Checksum [2023-03-07T01:59:54.898Z] 988bab9f4d93: Download complete [2023-03-07T01:59:55.160Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T01:59:55.160Z] 1469e6f7b9e6: Download complete [2023-03-07T01:59:55.160Z] eaf3925da568: Verifying Checksum [2023-03-07T01:59:55.160Z] eaf3925da568: Download complete [2023-03-07T01:59:55.160Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T01:59:55.160Z] 339a4e72a1f5: Download complete [2023-03-07T01:59:55.160Z] bde34c3a00c8: Download complete [2023-03-07T01:59:55.160Z] b352a97aabf1: Download complete [2023-03-07T01:59:55.160Z] 4872d77fe225: Verifying Checksum [2023-03-07T01:59:55.160Z] 4872d77fe225: Download complete [2023-03-07T01:59:55.160Z] 5851b861e8e6: Verifying Checksum [2023-03-07T01:59:55.160Z] 5851b861e8e6: Download complete [2023-03-07T01:59:55.160Z] b85a868b505f: Verifying Checksum [2023-03-07T01:59:55.160Z] b85a868b505f: Download complete [2023-03-07T01:59:55.729Z] bab4dde63d76: Verifying Checksum [2023-03-07T01:59:55.729Z] bab4dde63d76: Download complete [2023-03-07T01:59:56.664Z] b85a868b505f: Pull complete [2023-03-07T01:59:56.664Z] e2be974225ed: Pull complete [2023-03-07T01:59:57.233Z] 339a4e72a1f5: Pull complete [2023-03-07T01:59:57.233Z] 988bab9f4d93: Pull complete [2023-03-07T01:59:57.492Z] 1469e6f7b9e6: Pull complete [2023-03-07T01:59:57.492Z] eaf3925da568: Pull complete [2023-03-07T01:59:59.395Z] bab4dde63d76: Pull complete [2023-03-07T01:59:59.395Z] bde34c3a00c8: Pull complete [2023-03-07T01:59:59.395Z] b352a97aabf1: Pull complete [2023-03-07T01:59:59.395Z] 4872d77fe225: Pull complete [2023-03-07T01:59:59.655Z] 5851b861e8e6: Pull complete [2023-03-07T01:59:59.655Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T01:59:59.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:59:59.655Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:59:59.853Z] prd-ubuntu20.04-docker-8c-8g-8469 does not seem to be running inside a container [2023-03-07T01:59:59.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-510 -v /w/workspace/gexfoundry_device-mqtt-go_PR-510:/w/workspace/gexfoundry_device-mqtt-go_PR-510:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-510@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-07T02:00:01.290Z] $ docker top e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c -eo pid,comm [2023-03-07T02:00:01.360Z] 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-07T02:00:01.360Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T02:00:01.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T02:00:01.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T02:00:01.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T02:00:01.617Z] $ docker exec e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c ssh-agent [2023-03-07T02:00:01.723Z] SSH_AUTH_SOCK=/tmp/ssh-rOXGOV89u6Gq/agent.32 [2023-03-07T02:00:01.723Z] SSH_AGENT_PID=38 [2023-03-07T02:00:01.731Z] Running ssh-add (command line suppressed) [2023-03-07T02:00:01.847Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/private_key_9517488572214133882.key (/w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/private_key_9517488572214133882.key) [2023-03-07T02:00:01.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T02:00:02.197Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T02:00:02.229Z] $ docker exec --env ******** --env ******** e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c ssh-agent -k [2023-03-07T02:00:02.322Z] unset SSH_AUTH_SOCK; [2023-03-07T02:00:02.323Z] unset SSH_AGENT_PID; [2023-03-07T02:00:02.323Z] echo Agent pid 38 killed; [2023-03-07T02:00:02.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T02:00:02.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T02:00:02.418Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T02:00:02.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T02:00:02.539Z] $ docker exec e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c ssh-agent [2023-03-07T02:00:02.639Z] SSH_AUTH_SOCK=/tmp/ssh-9Y5ieQmGQgjC/agent.71 [2023-03-07T02:00:02.639Z] SSH_AGENT_PID=77 [2023-03-07T02:00:02.645Z] Running ssh-add (command line suppressed) [2023-03-07T02:00:02.745Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/private_key_7279209020049321098.key (/w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/private_key_7279209020049321098.key) [2023-03-07T02:00:02.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T02:00:03.098Z] + git semver init [2023-03-07T02:00:03.357Z] 2023-03-07 02:00:03,291 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T02:00:03.357Z] 2023-03-07 02:00:03,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver [2023-03-07T02:00:03.357Z] 2023-03-07 02:00:03,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver [2023-03-07T02:00:03.357Z] 2023-03-07 02:00:03,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-510, universal_newlines=False, shell=None, istream=None) [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,481 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-510/.git/info/exclude [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,481 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver/PR-510 with force:False [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,482 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver/PR-510 [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,486 [execute] INFO git cat-file --batch-check [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,494 [execute] INFO git cat-file --batch [2023-03-07T02:00:04.732Z] 2023-03-07 02:00:04,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T02:00:04.733Z] 2023-03-07 02:00:04,500 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-510/.semver/PR-510 [2023-03-07T02:00:04.733Z] 0.0.0 [Pipeline] } [2023-03-07T02:00:04.757Z] $ docker exec --env ******** --env ******** e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c ssh-agent -k [2023-03-07T02:00:04.860Z] unset SSH_AUTH_SOCK; [2023-03-07T02:00:04.861Z] unset SSH_AGENT_PID; [2023-03-07T02:00:04.861Z] echo Agent pid 77 killed; [2023-03-07T02:00:04.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T02:00:05.285Z] + git semver [Pipeline] } [2023-03-07T02:00:05.571Z] $ docker stop --time=1 e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c [2023-03-07T02:00:06.856Z] $ docker rm -f --volumes e7ea49914f0cc024a9c45a5566fb25cc32a30601c7ecdd0a1ff9688fe4e09d7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T02:00:07.257Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T02:00:07.550Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T02:00:07.572Z] [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-07T02:00:08.195Z] provisioning config files... [2023-03-07T02:00:08.205Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/config12226037363552205465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:00:08.565Z] ---> docker-login.sh [2023-03-07T02:00:08.565Z] nexus3.edgexfoundry.org:10001 [2023-03-07T02:00:08.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:00:08.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:00:08.565Z] Configure a credential helper to remove this warning. See [2023-03-07T02:00:08.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:00:08.565Z] [2023-03-07T02:00:08.565Z] Login Succeeded [2023-03-07T02:00:08.565Z] nexus3.edgexfoundry.org:10002 [2023-03-07T02:00:08.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:00:08.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:00:08.565Z] Configure a credential helper to remove this warning. See [2023-03-07T02:00:08.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:00:08.565Z] [2023-03-07T02:00:08.565Z] Login Succeeded [2023-03-07T02:00:08.565Z] nexus3.edgexfoundry.org:10003 [2023-03-07T02:00:08.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:00:08.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:00:08.825Z] Configure a credential helper to remove this warning. See [2023-03-07T02:00:08.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:00:08.825Z] [2023-03-07T02:00:08.825Z] Login Succeeded [2023-03-07T02:00:08.825Z] nexus3.edgexfoundry.org:10004 [2023-03-07T02:00:08.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:00:08.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:00:08.825Z] Configure a credential helper to remove this warning. See [2023-03-07T02:00:08.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:00:08.825Z] [2023-03-07T02:00:08.825Z] Login Succeeded [2023-03-07T02:00:08.825Z] docker.io [2023-03-07T02:00:09.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:00:10.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:00:10.992Z] Configure a credential helper to remove this warning. See [2023-03-07T02:00:10.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:00:10.992Z] [2023-03-07T02:00:10.992Z] Login Succeeded [2023-03-07T02:00:10.992Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T02:00:11.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T02:00:11.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T02:00:11.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T02:00:11.312Z] ========================================================= [2023-03-07T02:00:11.312Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T02:00:11.312Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:00:11.799Z] + 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-07T02:00:11.799Z] Sending build context to Docker daemon 6.363MB [2023-03-07T02:00:11.799Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T02:00:11.799Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T02:00:11.799Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T02:00:11.799Z] 213ec9aee27d: Pulling fs layer [2023-03-07T02:00:11.799Z] 4583459ba037: Pulling fs layer [2023-03-07T02:00:11.799Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T02:00:11.799Z] 53926ce57604: Pulling fs layer [2023-03-07T02:00:11.799Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T02:00:11.799Z] 22ff95d597cd: Pulling fs layer [2023-03-07T02:00:11.799Z] 53926ce57604: Waiting [2023-03-07T02:00:11.799Z] 21b2b0c7a3f4: Waiting [2023-03-07T02:00:11.799Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T02:00:11.799Z] 22ff95d597cd: Waiting [2023-03-07T02:00:11.799Z] 12d6caf4c0d1: Waiting [2023-03-07T02:00:11.799Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T02:00:11.799Z] a7acece74701: Pulling fs layer [2023-03-07T02:00:11.799Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T02:00:11.799Z] 93c1e223e6f2: Download complete [2023-03-07T02:00:11.799Z] 4583459ba037: Download complete [2023-03-07T02:00:11.799Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T02:00:11.799Z] 21b2b0c7a3f4: Download complete [2023-03-07T02:00:12.061Z] 22ff95d597cd: Verifying Checksum [2023-03-07T02:00:12.061Z] 22ff95d597cd: Download complete [2023-03-07T02:00:12.061Z] 213ec9aee27d: Verifying Checksum [2023-03-07T02:00:12.061Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T02:00:12.061Z] 12d6caf4c0d1: Download complete [2023-03-07T02:00:12.061Z] 213ec9aee27d: Pull complete [2023-03-07T02:00:12.336Z] 4583459ba037: Pull complete [2023-03-07T02:00:12.336Z] 93c1e223e6f2: Pull complete [2023-03-07T02:00:12.597Z] a7acece74701: Verifying Checksum [2023-03-07T02:00:12.597Z] a7acece74701: Download complete [2023-03-07T02:00:12.855Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T02:00:12.855Z] 96b7cbca73a9: Download complete [2023-03-07T02:00:12.855Z] 53926ce57604: Verifying Checksum [2023-03-07T02:00:12.855Z] 53926ce57604: Download complete [2023-03-07T02:00:17.053Z] 53926ce57604: Pull complete [2023-03-07T02:00:17.053Z] 21b2b0c7a3f4: Pull complete [2023-03-07T02:00:17.053Z] 22ff95d597cd: Pull complete [2023-03-07T02:00:17.053Z] 12d6caf4c0d1: Pull complete [2023-03-07T02:00:18.964Z] 96b7cbca73a9: Pull complete [2023-03-07T02:00:19.900Z] a7acece74701: Pull complete [2023-03-07T02:00:19.900Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T02:00:19.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T02:00:19.900Z] ---> db6d94c90886 [2023-03-07T02:00:19.900Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T02:00:21.805Z] ---> Running in 50e1dfe2bc52 [2023-03-07T02:00:21.805Z] Removing intermediate container 50e1dfe2bc52 [2023-03-07T02:00:21.805Z] ---> 1fcbfa39f0af [2023-03-07T02:00:21.805Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T02:00:21.805Z] ---> Running in 3b0ba9aa5272 [2023-03-07T02:00:21.805Z] Removing intermediate container 3b0ba9aa5272 [2023-03-07T02:00:21.805Z] ---> a123692ea2a2 [2023-03-07T02:00:21.805Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T02:00:22.065Z] ---> Running in 5ac049a5babb [2023-03-07T02:00:22.065Z] Removing intermediate container 5ac049a5babb [2023-03-07T02:00:22.065Z] ---> 5a4604e9dbde [2023-03-07T02:00:22.065Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T02:00:22.065Z] ---> Running in 54d0f67bc85e [2023-03-07T02:00:22.065Z] Removing intermediate container 54d0f67bc85e [2023-03-07T02:00:22.065Z] ---> 566f4994af0a [2023-03-07T02:00:22.065Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T02:00:22.323Z] ---> Running in d7501847c12a [2023-03-07T02:00:22.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T02:00:22.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T02:00:22.839Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T02:00:22.839Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T02:00:22.839Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T02:00:22.839Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T02:00:22.839Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T02:00:22.839Z] OK: 216 MiB in 55 packages [2023-03-07T02:00:23.006Z] Still waiting to schedule task [2023-03-07T02:00:23.006Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T02:00:23.406Z] Removing intermediate container d7501847c12a [2023-03-07T02:00:23.406Z] ---> 297edf05b990 [2023-03-07T02:00:23.406Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-07T02:00:23.406Z] ---> Running in 088718ba7e94 [2023-03-07T02:00:23.406Z] Removing intermediate container 088718ba7e94 [2023-03-07T02:00:23.406Z] ---> 0c1b5b92ff00 [2023-03-07T02:00:23.406Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T02:00:23.406Z] ---> 31c129be8e8c [2023-03-07T02:00:23.406Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T02:00:23.666Z] ---> Running in ac4a4d132df7 [2023-03-07T02:00:41.766Z] Removing intermediate container ac4a4d132df7 [2023-03-07T02:00:41.766Z] ---> 3004e4630a04 [2023-03-07T02:00:41.766Z] Step 11/12 : COPY . . [2023-03-07T02:00:41.766Z] ---> 05d4282bbb0c [2023-03-07T02:00:41.766Z] Step 12/12 : RUN $MAKE [2023-03-07T02:00:41.766Z] ---> Running in f1722adb4c39 [2023-03-07T02:00:41.766Z] noop [2023-03-07T02:00:41.766Z] Removing intermediate container f1722adb4c39 [2023-03-07T02:00:41.766Z] ---> ffdf2680952f [2023-03-07T02:00:41.766Z] Successfully built ffdf2680952f [2023-03-07T02:00:41.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:00:42.219Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T02:00:42.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:00:42.385Z] prd-ubuntu20.04-docker-8c-8g-8469 does not seem to be running inside a container [2023-03-07T02:00:42.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-510 -v /w/workspace/gexfoundry_device-mqtt-go_PR-510:/w/workspace/gexfoundry_device-mqtt-go_PR-510:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-510@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-07T02:00:42.791Z] $ docker top 0cf4362366fe6e7e5f9974708b2a49703b856e245eb8f33c7cf0bc66d0412b2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T02:00:43.180Z] + go version [2023-03-07T02:00:43.180Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T02:00:43.215Z] $ docker stop --time=1 0cf4362366fe6e7e5f9974708b2a49703b856e245eb8f33c7cf0bc66d0412b2c [2023-03-07T02:00:44.498Z] $ docker rm -f --volumes 0cf4362366fe6e7e5f9974708b2a49703b856e245eb8f33c7cf0bc66d0412b2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:00:45.190Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T02:00:45.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:00:45.335Z] prd-ubuntu20.04-docker-8c-8g-8469 does not seem to be running inside a container [2023-03-07T02:00:45.370Z] $ 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-510 -v /w/workspace/gexfoundry_device-mqtt-go_PR-510:/w/workspace/gexfoundry_device-mqtt-go_PR-510:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-510@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-07T02:00:45.732Z] $ docker top 44be5befc495fc98dd92cd11dcc206ac54a52027b7baf6deb48304f6cd4f58b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T02:00:46.113Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-510 [Pipeline] fileExists [Pipeline] sh [2023-03-07T02:00:46.477Z] + make test [2023-03-07T02:00:46.477Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T02:00:47.049Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-07T02:00:53.613Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-07T02:00:53.613Z] /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-07T02:00:53.613Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-07T02:00:53.613Z] 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-07T02:00:53.613Z] 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-07T02:00:53.613Z] /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-07T02:00:54.545Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-07T02:00:54.545Z] /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-07T02:00:54.545Z] /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-07T02:00:54.545Z] have (context.Context, requests.AddEventRequest) [2023-03-07T02:00:54.545Z] want (context.Context, string, requests.AddEventRequest) [2023-03-07T02:00:55.113Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-07T02:00:55.113Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-07T02:00:55.158Z] $ docker stop --time=1 44be5befc495fc98dd92cd11dcc206ac54a52027b7baf6deb48304f6cd4f58b2 [2023-03-07T02:00:56.797Z] $ docker rm -f --volumes 44be5befc495fc98dd92cd11dcc206ac54a52027b7baf6deb48304f6cd4f58b2 [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-07T02:00:58.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T02:00:58.206Z] [2023-03-07T02:00:58.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:00:58.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T02:00:58.597Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T02:00:58.597Z] 5eb5b503b376: Pulling fs layer [2023-03-07T02:00:58.597Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T02:00:58.597Z] ec43610c2a17: Pulling fs layer [2023-03-07T02:00:58.597Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T02:00:58.597Z] 33b1e0a273af: Pulling fs layer [2023-03-07T02:00:58.597Z] 3a2ae6a8a46f: Waiting [2023-03-07T02:00:58.597Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T02:00:58.597Z] 2f39f015ded8: Pulling fs layer [2023-03-07T02:00:58.597Z] 5d3b04190fa2: Waiting [2023-03-07T02:00:58.597Z] 33b1e0a273af: Waiting [2023-03-07T02:00:58.597Z] 2f39f015ded8: Waiting [2023-03-07T02:00:58.597Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T02:00:58.597Z] 5c69ac0246d0: Download complete [2023-03-07T02:00:58.597Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T02:00:58.597Z] 3a2ae6a8a46f: Download complete [2023-03-07T02:00:58.889Z] 33b1e0a273af: Verifying Checksum [2023-03-07T02:00:58.889Z] 33b1e0a273af: Download complete [2023-03-07T02:00:58.889Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T02:00:58.889Z] 5d3b04190fa2: Download complete [2023-03-07T02:00:58.889Z] ec43610c2a17: Verifying Checksum [2023-03-07T02:00:58.889Z] ec43610c2a17: Download complete [2023-03-07T02:00:58.889Z] 5eb5b503b376: Verifying Checksum [2023-03-07T02:00:58.889Z] 5eb5b503b376: Download complete [2023-03-07T02:00:59.494Z] 2f39f015ded8: Download complete [2023-03-07T02:01:00.106Z] 5eb5b503b376: Pull complete [2023-03-07T02:01:00.106Z] 5c69ac0246d0: Pull complete [2023-03-07T02:01:00.683Z] ec43610c2a17: Pull complete [2023-03-07T02:01:00.683Z] 3a2ae6a8a46f: Pull complete [2023-03-07T02:01:00.942Z] 33b1e0a273af: Pull complete [2023-03-07T02:01:00.942Z] 5d3b04190fa2: Pull complete [2023-03-07T02:01:05.136Z] 2f39f015ded8: Pull complete [2023-03-07T02:01:05.136Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T02:01:05.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T02:01:05.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:01:05.348Z] prd-ubuntu20.04-docker-8c-8g-8469 does not seem to be running inside a container [2023-03-07T02:01:05.380Z] $ 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-510 -v /w/workspace/gexfoundry_device-mqtt-go_PR-510:/w/workspace/gexfoundry_device-mqtt-go_PR-510:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-510@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-07T02:01:07.191Z] $ docker top 9c36013acdae1ec893124e50dcf4280f435b639edd2e60862eb30f1155994cb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:01:07.691Z] ---> job-cost.sh [2023-03-07T02:01:07.691Z] lf-activate-venv: SKIPPING [2023-03-07T02:01:07.691Z] INFO: No Stack... [2023-03-07T02:01:07.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T02:01:08.209Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T02:01:08.522Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives/cost.csv [2023-03-07T02:01:08.522Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T02:01:08.569Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [2023-03-07T02:01:08.574Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] did not exist. Created. [2023-03-07T02:01:08.574Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T02:01:08.978Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T02:01:09.035Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T02:01:09.052Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T02:01:09.205Z] $ docker stop --time=1 9c36013acdae1ec893124e50dcf4280f435b639edd2e60862eb30f1155994cb3 [2023-03-07T02:01:10.367Z] $ docker rm -f --volumes 9c36013acdae1ec893124e50dcf4280f435b639edd2e60862eb30f1155994cb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T02:01:10.729Z] Failed in branch amd64 [2023-03-07T02:03:04.765Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8471 in /w/workspace/gexfoundry_device-mqtt-go_PR-510 [Pipeline] { [Pipeline] ws [2023-03-07T02:03:04.821Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T02:03:04.895Z] Selected Git installation does not exist. Using Default [2023-03-07T02:03:04.895Z] The recommended git tool is: NONE [2023-03-07T02:03:10.336Z] using credential edgex-jenkins-ssh [2023-03-07T02:03:10.354Z] Cloning the remote Git repository [2023-03-07T02:03:10.408Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T02:03:10.492Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-07T02:03:10.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T02:03:10.649Z] > git --version # timeout=10 [2023-03-07T02:03:10.668Z] > git --version # 'git version 2.25.1' [2023-03-07T02:03:10.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T02:03:10.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T02:03:11.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-07T02:03:11.950Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T02:03:13.535Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 53990273ce380ea90155d9563d7e31d8a78d693c [2023-03-07T02:03:12.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-07T02:03:12.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T02:03:12.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T02:03:12.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T02:03:13.566Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T02:03:13.587Z] > git checkout -f 53990273ce380ea90155d9563d7e31d8a78d693c # timeout=10 [2023-03-07T02:03:13.783Z] Merge succeeded, producing 53990273ce380ea90155d9563d7e31d8a78d693c [2023-03-07T02:03:13.784Z] Checking out Revision 53990273ce380ea90155d9563d7e31d8a78d693c (PR-510) [2023-03-07T02:03:14.328Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T02:03:14.382Z] > git --version # timeout=10 [2023-03-07T02:03:14.394Z] > git --version # 'git version 2.25.1' [2023-03-07T02:03:14.416Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-03-07T02:03:13.684Z] > git remote # timeout=10 [2023-03-07T02:03:13.700Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T02:03:13.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T02:03:13.743Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-03-07T02:03:13.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T02:03:13.794Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T02:03:13.812Z] > git checkout -f 53990273ce380ea90155d9563d7e31d8a78d693c # timeout=10 [Pipeline] sh [2023-03-07T02:03:15.513Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T02:03:15.513Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T02:03:15.513Z] Dload Upload Total Spent Left Speed [2023-03-07T02:03:15.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 133k 0 --:--:-- --:--:-- --:--:-- 135k [Pipeline] sh [2023-03-07T02:03:16.142Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T02:03:16.491Z] + sudo tee /etc/docker/daemon.new [2023-03-07T02:03:16.491Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T02:03:16.491Z] { [2023-03-07T02:03:16.491Z] "registry-mirrors": [ [2023-03-07T02:03:16.491Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T02:03:16.491Z] ], [2023-03-07T02:03:16.491Z] "bip": "10.250.0.254/24", [2023-03-07T02:03:16.491Z] "hosts": [ [2023-03-07T02:03:16.491Z] "tcp://0.0.0.0:5555", [2023-03-07T02:03:16.491Z] "unix:///var/run/docker.sock" [2023-03-07T02:03:16.491Z] ], [2023-03-07T02:03:16.491Z] "mtu": 1458, [2023-03-07T02:03:16.491Z] "selinux-enabled": true, [2023-03-07T02:03:16.491Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T02:03:16.491Z] } [Pipeline] sh [2023-03-07T02:03:16.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T02:03:17.212Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T02:03:35.555Z] provisioning config files... [2023-03-07T02:03:35.589Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3542321299306678650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:03:35.999Z] ---> docker-login.sh [2023-03-07T02:03:35.999Z] nexus3.edgexfoundry.org:10001 [2023-03-07T02:03:36.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:03:36.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:03:36.864Z] Configure a credential helper to remove this warning. See [2023-03-07T02:03:36.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:03:36.864Z] [2023-03-07T02:03:36.864Z] Login Succeeded [2023-03-07T02:03:36.864Z] nexus3.edgexfoundry.org:10002 [2023-03-07T02:03:37.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:03:37.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:03:37.137Z] Configure a credential helper to remove this warning. See [2023-03-07T02:03:37.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:03:37.137Z] [2023-03-07T02:03:37.137Z] Login Succeeded [2023-03-07T02:03:37.137Z] nexus3.edgexfoundry.org:10003 [2023-03-07T02:03:37.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:03:37.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:03:37.685Z] Configure a credential helper to remove this warning. See [2023-03-07T02:03:37.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:03:37.685Z] [2023-03-07T02:03:37.685Z] Login Succeeded [2023-03-07T02:03:37.685Z] nexus3.edgexfoundry.org:10004 [2023-03-07T02:03:37.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:03:37.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:03:37.962Z] Configure a credential helper to remove this warning. See [2023-03-07T02:03:37.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:03:37.962Z] [2023-03-07T02:03:37.962Z] Login Succeeded [2023-03-07T02:03:37.962Z] docker.io [2023-03-07T02:03:38.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T02:03:38.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T02:03:38.507Z] Configure a credential helper to remove this warning. See [2023-03-07T02:03:38.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T02:03:38.507Z] [2023-03-07T02:03:38.507Z] Login Succeeded [2023-03-07T02:03:38.507Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T02:03:38.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T02:03:39.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T02:03:39.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T02:03:39.131Z] ========================================================= [2023-03-07T02:03:39.131Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T02:03:39.131Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:03:39.650Z] + 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-07T02:03:39.919Z] Sending build context to Docker daemon 3.29MB [2023-03-07T02:03:39.919Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T02:03:39.919Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T02:03:40.191Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T02:03:40.191Z] 9b18e9b68314: Pulling fs layer [2023-03-07T02:03:40.191Z] 35d82f9e3411: Pulling fs layer [2023-03-07T02:03:40.191Z] e16973657156: Pulling fs layer [2023-03-07T02:03:40.191Z] fc693d55d65f: Pulling fs layer [2023-03-07T02:03:40.191Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T02:03:40.191Z] dda99020689f: Pulling fs layer [2023-03-07T02:03:40.191Z] db1c61fa0a46: Pulling fs layer [2023-03-07T02:03:40.191Z] 891c053d2c06: Pulling fs layer [2023-03-07T02:03:40.191Z] fc693d55d65f: Waiting [2023-03-07T02:03:40.191Z] 7e9fc2657dce: Waiting [2023-03-07T02:03:40.191Z] dda99020689f: Waiting [2023-03-07T02:03:40.191Z] db1c61fa0a46: Waiting [2023-03-07T02:03:40.191Z] 891c053d2c06: Waiting [2023-03-07T02:03:40.191Z] e16973657156: Verifying Checksum [2023-03-07T02:03:40.191Z] e16973657156: Download complete [2023-03-07T02:03:40.191Z] 35d82f9e3411: Verifying Checksum [2023-03-07T02:03:40.191Z] 35d82f9e3411: Download complete [2023-03-07T02:03:40.191Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T02:03:40.191Z] 7e9fc2657dce: Download complete [2023-03-07T02:03:40.191Z] dda99020689f: Verifying Checksum [2023-03-07T02:03:40.191Z] dda99020689f: Download complete [2023-03-07T02:03:40.191Z] 9b18e9b68314: Verifying Checksum [2023-03-07T02:03:41.181Z] 9b18e9b68314: Pull complete [2023-03-07T02:03:41.469Z] 891c053d2c06: Verifying Checksum [2023-03-07T02:03:41.469Z] 891c053d2c06: Download complete [2023-03-07T02:03:42.082Z] 35d82f9e3411: Pull complete [2023-03-07T02:03:42.361Z] e16973657156: Pull complete [2023-03-07T02:03:42.956Z] db1c61fa0a46: Download complete [2023-03-07T02:03:43.546Z] fc693d55d65f: Verifying Checksum [2023-03-07T02:03:43.546Z] fc693d55d65f: Download complete [2023-03-07T02:03:55.885Z] fc693d55d65f: Pull complete [2023-03-07T02:03:55.885Z] 7e9fc2657dce: Pull complete [2023-03-07T02:03:55.885Z] dda99020689f: Pull complete [2023-03-07T02:04:01.326Z] db1c61fa0a46: Pull complete [2023-03-07T02:04:05.661Z] 891c053d2c06: Pull complete [2023-03-07T02:04:05.661Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T02:04:05.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T02:04:05.661Z] ---> f96f9c87975a [2023-03-07T02:04:05.661Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T02:04:07.629Z] ---> Running in 515b8dd87aef [2023-03-07T02:04:07.900Z] Removing intermediate container 515b8dd87aef [2023-03-07T02:04:07.900Z] ---> 685341d9fa81 [2023-03-07T02:04:07.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T02:04:07.900Z] ---> Running in eeb4823983a4 [2023-03-07T02:04:08.173Z] Removing intermediate container eeb4823983a4 [2023-03-07T02:04:08.173Z] ---> 188d864382c0 [2023-03-07T02:04:08.173Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T02:04:08.443Z] ---> Running in 02bef56324fb [2023-03-07T02:04:08.712Z] Removing intermediate container 02bef56324fb [2023-03-07T02:04:08.712Z] ---> 62cf3fc46d38 [2023-03-07T02:04:08.712Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T02:04:08.712Z] ---> Running in fe64e810fffd [2023-03-07T02:04:08.982Z] Removing intermediate container fe64e810fffd [2023-03-07T02:04:08.982Z] ---> fac47a5de278 [2023-03-07T02:04:08.982Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T02:04:09.251Z] ---> Running in 8d96df906d9b [2023-03-07T02:04:10.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T02:04:10.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T02:04:11.779Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T02:04:11.779Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T02:04:11.779Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T02:04:12.048Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T02:04:12.048Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T02:04:12.048Z] OK: 226 MiB in 55 packages [2023-03-07T02:04:13.014Z] Removing intermediate container 8d96df906d9b [2023-03-07T02:04:13.014Z] ---> 0bdb0ba1360c [2023-03-07T02:04:13.014Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-07T02:04:13.297Z] ---> Running in a1a8a6920e65 [2023-03-07T02:04:13.567Z] Removing intermediate container a1a8a6920e65 [2023-03-07T02:04:13.567Z] ---> 8976c915790a [2023-03-07T02:04:13.567Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T02:04:14.154Z] ---> 960adb5f6ab8 [2023-03-07T02:04:14.154Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T02:04:14.154Z] ---> Running in 8dda0adcc76b [2023-03-07T02:05:22.104Z] Removing intermediate container 8dda0adcc76b [2023-03-07T02:05:22.104Z] ---> f2b9e52f5d11 [2023-03-07T02:05:22.104Z] Step 11/12 : COPY . . [2023-03-07T02:05:22.104Z] ---> f52cf2986097 [2023-03-07T02:05:22.104Z] Step 12/12 : RUN $MAKE [2023-03-07T02:05:22.104Z] ---> Running in a119887189d1 [2023-03-07T02:05:22.104Z] noop [2023-03-07T02:05:22.104Z] Removing intermediate container a119887189d1 [2023-03-07T02:05:22.104Z] ---> fbbccc5cbec7 [2023-03-07T02:05:22.104Z] Successfully built fbbccc5cbec7 [2023-03-07T02:05:22.104Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:05:22.605Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T02:05:22.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:05:22.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-8471 does not seem to be running inside a container [2023-03-07T02:05:22.985Z] $ 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-07T02:05:24.370Z] $ docker top 272fa92f3443a2aec613110562dd935a0d7dd7eb3320e03e1937f6b892ddd505 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T02:05:25.316Z] + go version [2023-03-07T02:05:25.316Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T02:05:25.360Z] $ docker stop --time=1 272fa92f3443a2aec613110562dd935a0d7dd7eb3320e03e1937f6b892ddd505 [2023-03-07T02:05:27.070Z] $ docker rm -f --volumes 272fa92f3443a2aec613110562dd935a0d7dd7eb3320e03e1937f6b892ddd505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:05:28.044Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T02:05:28.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:05:28.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-8471 does not seem to be running inside a container [2023-03-07T02:05:28.411Z] $ 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-07T02:05:29.766Z] $ docker top 65c9b4656644f340e0e6944ce2016078a30e25f2a208f264751e3e5a090344c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T02:05:30.685Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T02:05:31.408Z] + make test [2023-03-07T02:05:31.408Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T02:05:33.361Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-07T02:06:29.802Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-07T02:06:29.802Z] /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-07T02:06:29.802Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-07T02:06:29.802Z] 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-07T02:06:29.802Z] 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-07T02:06:29.802Z] /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-07T02:06:48.069Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-07T02:06:48.069Z] /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-07T02:06:48.069Z] /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-07T02:06:48.069Z] have (context.Context, requests.AddEventRequest) [2023-03-07T02:06:48.069Z] want (context.Context, string, requests.AddEventRequest) [2023-03-07T02:06:56.273Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-07T02:06:56.273Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-07T02:06:56.321Z] $ docker stop --time=1 65c9b4656644f340e0e6944ce2016078a30e25f2a208f264751e3e5a090344c6 [2023-03-07T02:06:58.124Z] $ docker rm -f --volumes 65c9b4656644f340e0e6944ce2016078a30e25f2a208f264751e3e5a090344c6 [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-07T02:06:59.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T02:06:59.589Z] [2023-03-07T02:06:59.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:06:59.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T02:06:59.996Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T02:06:59.996Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T02:06:59.996Z] 04944245beec: Pulling fs layer [2023-03-07T02:06:59.996Z] 699f458cf7ca: Pulling fs layer [2023-03-07T02:06:59.996Z] 765212b225bb: Pulling fs layer [2023-03-07T02:06:59.996Z] f23df028b6ca: Pulling fs layer [2023-03-07T02:06:59.996Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T02:06:59.996Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T02:06:59.996Z] f23df028b6ca: Waiting [2023-03-07T02:06:59.996Z] d65c8cfc05b1: Waiting [2023-03-07T02:06:59.996Z] 2437ff75d9bd: Waiting [2023-03-07T02:06:59.996Z] 765212b225bb: Waiting [2023-03-07T02:07:00.266Z] 04944245beec: Verifying Checksum [2023-03-07T02:07:00.266Z] 04944245beec: Download complete [2023-03-07T02:07:00.266Z] 765212b225bb: Verifying Checksum [2023-03-07T02:07:00.266Z] 765212b225bb: Download complete [2023-03-07T02:07:00.266Z] f23df028b6ca: Verifying Checksum [2023-03-07T02:07:00.266Z] f23df028b6ca: Download complete [2023-03-07T02:07:00.266Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T02:07:00.266Z] d65c8cfc05b1: Download complete [2023-03-07T02:07:00.534Z] 699f458cf7ca: Verifying Checksum [2023-03-07T02:07:00.534Z] 699f458cf7ca: Download complete [2023-03-07T02:07:00.804Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T02:07:00.804Z] 8998bd30e6a1: Download complete [2023-03-07T02:07:03.398Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T02:07:03.398Z] 2437ff75d9bd: Download complete [2023-03-07T02:07:04.814Z] 8998bd30e6a1: Pull complete [2023-03-07T02:07:05.400Z] 04944245beec: Pull complete [2023-03-07T02:07:07.352Z] 699f458cf7ca: Pull complete [2023-03-07T02:07:07.627Z] 765212b225bb: Pull complete [2023-03-07T02:07:08.212Z] f23df028b6ca: Pull complete [2023-03-07T02:07:08.480Z] d65c8cfc05b1: Pull complete [2023-03-07T02:07:24.973Z] 2437ff75d9bd: Pull complete [2023-03-07T02:07:24.973Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T02:07:24.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T02:07:24.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:07:25.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-8471 does not seem to be running inside a container [2023-03-07T02:07:25.377Z] $ 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-07T02:07:28.057Z] $ docker top 2d6568b1a954d168bf422d5433bfadd7f21ad22e782039e6f4376f643e98eedf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:28.951Z] ---> job-cost.sh [2023-03-07T02:07:28.951Z] lf-activate-venv: SKIPPING [2023-03-07T02:07:28.951Z] INFO: No Stack... [2023-03-07T02:07:29.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T02:07:30.174Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T02:07:30.839Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-07T02:07:30.839Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T02:07:30.940Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [2023-03-07T02:07:30.946Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] did not exist. Created. [2023-03-07T02:07:30.946Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T02:07:31.369Z] /w/workspace/device-mqtt-go/1@tmp/durable-361013bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T02:07:32.045Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T02:07:32.083Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T02:07:33.311Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T02:07:33.330Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T02:07:33.417Z] $ docker stop --time=1 2d6568b1a954d168bf422d5433bfadd7f21ad22e782039e6f4376f643e98eedf [2023-03-07T02:07:35.008Z] $ docker rm -f --volumes 2d6568b1a954d168bf422d5433bfadd7f21ad22e782039e6f4376f643e98eedf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T02:07:35.700Z] 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-07T02:07:37.717Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives ] [2023-03-07T02:07:37.717Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives [2023-03-07T02:07:37.717Z] total 16 [2023-03-07T02:07:37.717Z] drwxr-xr-x 3 root root 4096 Mar 7 02:01 . [2023-03-07T02:07:37.717Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 02:01 .. [2023-03-07T02:07:37.717Z] drwxr-xr-x 2 root root 4096 Mar 7 02:01 cost [2023-03-07T02:07:37.717Z] -rw-r--r-- 1 root root 86 Mar 7 02:01 cost.csv [2023-03-07T02:07:37.717Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives [2023-03-07T02:07:37.717Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives [2023-03-07T02:07:37.717Z] total 16 [2023-03-07T02:07:37.717Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 02:01 . [2023-03-07T02:07:37.717Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 02:01 .. [2023-03-07T02:07:37.717Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 02:01 cost [2023-03-07T02:07:37.717Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:38.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:38.949Z] ---> package-listing.sh [2023-03-07T02:07:38.949Z] ++ facter osfamily [2023-03-07T02:07:38.949Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T02:07:39.206Z] + OS_FAMILY=debian [2023-03-07T02:07:39.206Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-510 [2023-03-07T02:07:39.206Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T02:07:39.206Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T02:07:39.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T02:07:39.206Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T02:07:39.206Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-510 ']' [2023-03-07T02:07:39.206Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T02:07:39.206Z] + case "${OS_FAMILY}" in [2023-03-07T02:07:39.206Z] + dpkg -l [2023-03-07T02:07:39.206Z] + grep '^ii' [2023-03-07T02:07:39.206Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T02:07:39.206Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T02:07:39.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T02:07:39.206Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-510 ']' [2023-03-07T02:07:39.206Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives/ [2023-03-07T02:07:39.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-510/archives/ [Pipeline] echo [2023-03-07T02:07:39.239Z] 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-510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T02:07:39.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T02:07:40.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T02:07:40.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T02:07:40.303Z] prd-ubuntu20.04-docker-8c-8g-8469 does not seem to be running inside a container [2023-03-07T02:07:40.338Z] $ 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-510/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-510 -v /w/workspace/gexfoundry_device-mqtt-go_PR-510:/w/workspace/gexfoundry_device-mqtt-go_PR-510:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-510@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-07T02:07:40.544Z] $ docker top 66cbeb290f9f3474c8bb76b2b5b40690ef672248046ee17d302d8f8bd767fc98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T02:07:40.931Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T02:07:41.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T02:07:41.557Z] + ls /var/log/sa-host [2023-03-07T02:07:41.557Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T02:07:41.689Z] provisioning config files... [2023-03-07T02:07:41.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-510@tmp/config9935614933312024837tmp [Pipeline] { [Pipeline] echo [2023-03-07T02:07:41.750Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:42.064Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T02:07:42.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:42.491Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T02:07:42.525Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:42.841Z] ---> sudo-logs.sh [2023-03-07T02:07:42.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T02:07:42.930Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:43.248Z] ---> job-cost.sh [2023-03-07T02:07:43.248Z] lf-activate-venv: SKIPPING [2023-03-07T02:07:43.248Z] DEBUG: total: 0.2199999988079071 [2023-03-07T02:07:43.248Z] INFO: Retrieving Stack Cost... [2023-03-07T02:07:43.507Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T02:07:44.074Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T02:07:44.107Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T02:07:44.415Z] ---> logs-deploy.sh [2023-03-07T02:07:44.415Z] lf-activate-venv: SKIPPING [2023-03-07T02:07:44.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-510/1 [2023-03-07T02:07:44.415Z] INFO: archiving workspace using pattern(s): [2023-03-07T02:07:45.352Z] Archives upload complete. [2023-03-07T02:07:45.352Z] INFO: archiving logs to Nexus