Pull request #503 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1+bc7652beee9a90296fe0b57947c4589a421f5e02 (69c0de3711ff76319eeed204200663b1b23a308a) 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-ssh9588211900640299985.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-ssh7902862133908519052.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-503/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-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4973574950045376122.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-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11028161200502725526.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-ssh4777835396761193398.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-503/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-503/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6696072109283209792.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-7857 in /w/workspace/gexfoundry_device-mqtt-go_PR-503 [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-503 # 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 e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 > 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/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 Checking out Revision e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 (PR-503) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-01T01:59:49.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T01:59:50.106Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T01:59:50.207Z] ========================================================= [2023-03-01T01:59:50.207Z] EdgeX Global Pipelines Version Info [2023-03-01T01:59:50.207Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 # timeout=10 [2023-03-01T01:59:50.926Z] ------------------- [2023-03-01T01:59:50.927Z] stable info: [2023-03-01T01:59:50.927Z] ------------------- [2023-03-01T01:59:50.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T01:59:50.927Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T01:59:50.927Z] Message: update stable to v1.0.244 [2023-03-01T01:59:51.495Z] ------------------- [2023-03-01T01:59:51.495Z] experimental info: [2023-03-01T01:59:51.495Z] ------------------- [2023-03-01T01:59:51.495Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T01:59:51.495Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T01:59:51.495Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T01:59:51.775Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-01T01:59:51.814Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-01T01:59:51.857Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T01:59:51.896Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T01:59:51.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T01:59:51.982Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T01:59:52.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T01:59:52.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-01T01:59:52.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T01:59:52.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T01:59:52.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T01:59:52.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-01T01:59:52.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T01:59:52.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T01:59:52.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T01:59:52.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T01:59:52.434Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T01:59:52.474Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T01:59:52.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T01:59:52.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T01:59:52.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-01T01:59:52.627Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-01T01:59:52.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T01:59:52.716Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T01:59:52.754Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T01:59:52.796Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T01:59:52.839Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T01:59:52.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-503 [Pipeline] echo [2023-03-01T01:59:52.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-503 [Pipeline] echo [2023-03-01T01:59:52.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-503 [Pipeline] echo [2023-03-01T01:59:53.005Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [Pipeline] echo [2023-03-01T01:59:53.050Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2d52b8 [Pipeline] echo [2023-03-01T01:59:53.099Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T01:59:53.212Z] provisioning config files... [2023-03-01T01:59:53.224Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/config11929073701340593336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:59:53.578Z] ---> docker-login.sh [2023-03-01T01:59:53.578Z] nexus3.edgexfoundry.org:10001 [2023-03-01T01:59:53.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:59:54.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:59:54.103Z] Configure a credential helper to remove this warning. See [2023-03-01T01:59:54.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:59:54.103Z] [2023-03-01T01:59:54.103Z] Login Succeeded [2023-03-01T01:59:54.103Z] nexus3.edgexfoundry.org:10002 [2023-03-01T01:59:54.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:59:54.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:59:54.103Z] Configure a credential helper to remove this warning. See [2023-03-01T01:59:54.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:59:54.103Z] [2023-03-01T01:59:54.103Z] Login Succeeded [2023-03-01T01:59:54.103Z] nexus3.edgexfoundry.org:10003 [2023-03-01T01:59:54.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:59:54.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:59:54.362Z] Configure a credential helper to remove this warning. See [2023-03-01T01:59:54.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:59:54.362Z] [2023-03-01T01:59:54.362Z] Login Succeeded [2023-03-01T01:59:54.362Z] nexus3.edgexfoundry.org:10004 [2023-03-01T01:59:54.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:59:54.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:59:54.362Z] Configure a credential helper to remove this warning. See [2023-03-01T01:59:54.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:59:54.362Z] [2023-03-01T01:59:54.362Z] Login Succeeded [2023-03-01T01:59:54.362Z] docker.io [2023-03-01T01:59:54.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:59:54.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:59:54.622Z] Configure a credential helper to remove this warning. See [2023-03-01T01:59:54.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:59:54.622Z] [2023-03-01T01:59:54.622Z] Login Succeeded [2023-03-01T01:59:54.622Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T01:59:54.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T01:59:55.277Z] + git rev-list -1 --merges e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1~1..e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [Pipeline] echo [2023-03-01T01:59:55.344Z] -----------> git rev-list -1 --merges e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1~1..e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [false] [Pipeline] sh [2023-03-01T01:59:55.653Z] + git log --format=format:%s -1 e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [Pipeline] echo [2023-03-01T01:59:55.687Z] ========================================================= [2023-03-01T01:59:55.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T01:59:55.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T01:59:56.109Z] + git log --format=format:%s -1 e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [Pipeline] echo [2023-03-01T01:59:56.140Z] [semverPrep] GIT_COMMIT: e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-01T01:59:56.170Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T01:59:56.559Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T01:59:56.559Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T01:59:56.559Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T01:59:56.559Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T01:59:56.559Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T01:59:56.559Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T01:59:56.559Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:59:57.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T01:59:57.053Z] [2023-03-01T01:59:57.053Z] 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-01T01:59:57.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T01:59:57.685Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T01:59:57.685Z] b85a868b505f: Pulling fs layer [2023-03-01T01:59:57.685Z] e2be974225ed: Pulling fs layer [2023-03-01T01:59:57.685Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T01:59:57.685Z] 988bab9f4d93: Pulling fs layer [2023-03-01T01:59:57.685Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T01:59:57.685Z] eaf3925da568: Pulling fs layer [2023-03-01T01:59:57.685Z] bab4dde63d76: Pulling fs layer [2023-03-01T01:59:57.685Z] bde34c3a00c8: Pulling fs layer [2023-03-01T01:59:57.685Z] b352a97aabf1: Pulling fs layer [2023-03-01T01:59:57.685Z] 4872d77fe225: Pulling fs layer [2023-03-01T01:59:57.685Z] 5851b861e8e6: Pulling fs layer [2023-03-01T01:59:57.685Z] bde34c3a00c8: Waiting [2023-03-01T01:59:57.685Z] 988bab9f4d93: Waiting [2023-03-01T01:59:57.685Z] b352a97aabf1: Waiting [2023-03-01T01:59:57.685Z] 4872d77fe225: Waiting [2023-03-01T01:59:57.685Z] 1469e6f7b9e6: Waiting [2023-03-01T01:59:57.685Z] eaf3925da568: Waiting [2023-03-01T01:59:57.685Z] 5851b861e8e6: Waiting [2023-03-01T01:59:57.685Z] bab4dde63d76: Waiting [2023-03-01T01:59:57.685Z] e2be974225ed: Verifying Checksum [2023-03-01T01:59:57.685Z] e2be974225ed: Download complete [2023-03-01T01:59:57.685Z] 988bab9f4d93: Download complete [2023-03-01T01:59:57.947Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T01:59:57.947Z] 1469e6f7b9e6: Download complete [2023-03-01T01:59:57.947Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T01:59:57.947Z] 339a4e72a1f5: Download complete [2023-03-01T01:59:57.947Z] eaf3925da568: Download complete [2023-03-01T01:59:57.947Z] bde34c3a00c8: Download complete [2023-03-01T01:59:57.947Z] b352a97aabf1: Verifying Checksum [2023-03-01T01:59:57.947Z] b352a97aabf1: Download complete [2023-03-01T01:59:57.947Z] 4872d77fe225: Verifying Checksum [2023-03-01T01:59:57.947Z] 4872d77fe225: Download complete [2023-03-01T01:59:57.947Z] 5851b861e8e6: Download complete [2023-03-01T01:59:57.947Z] b85a868b505f: Verifying Checksum [2023-03-01T01:59:57.947Z] b85a868b505f: Download complete [2023-03-01T01:59:58.206Z] bab4dde63d76: Verifying Checksum [2023-03-01T01:59:58.206Z] bab4dde63d76: Download complete [2023-03-01T01:59:59.587Z] b85a868b505f: Pull complete [2023-03-01T01:59:59.587Z] e2be974225ed: Pull complete [2023-03-01T02:00:00.545Z] 339a4e72a1f5: Pull complete [2023-03-01T02:00:00.545Z] 988bab9f4d93: Pull complete [2023-03-01T02:00:01.130Z] 1469e6f7b9e6: Pull complete [2023-03-01T02:00:01.130Z] eaf3925da568: Pull complete [2023-03-01T02:00:03.057Z] bab4dde63d76: Pull complete [2023-03-01T02:00:03.316Z] bde34c3a00c8: Pull complete [2023-03-01T02:00:03.316Z] b352a97aabf1: Pull complete [2023-03-01T02:00:03.576Z] 4872d77fe225: Pull complete [2023-03-01T02:00:03.576Z] 5851b861e8e6: Pull complete [2023-03-01T02:00:03.576Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T02:00:03.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:00:03.576Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:00:03.792Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2023-03-01T02:00:03.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-503 -v /w/workspace/gexfoundry_device-mqtt-go_PR-503:/w/workspace/gexfoundry_device-mqtt-go_PR-503:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T02:00:06.534Z] $ docker top a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 -eo pid,comm [2023-03-01T02:00:06.587Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-01T02:00:06.587Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T02:00:06.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:00:06.730Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:00:06.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:00:06.854Z] $ docker exec a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 ssh-agent [2023-03-01T02:00:06.962Z] SSH_AUTH_SOCK=/tmp/ssh-wWs7Qx3RgfzG/agent.33 [2023-03-01T02:00:06.962Z] SSH_AGENT_PID=39 [2023-03-01T02:00:06.969Z] Running ssh-add (command line suppressed) [2023-03-01T02:00:07.082Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/private_key_7059873482850208819.key (/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/private_key_7059873482850208819.key) [2023-03-01T02:00:07.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:00:07.423Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T02:00:07.455Z] $ docker exec --env ******** --env ******** a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 ssh-agent -k [2023-03-01T02:00:07.547Z] unset SSH_AUTH_SOCK; [2023-03-01T02:00:07.547Z] unset SSH_AGENT_PID; [2023-03-01T02:00:07.548Z] echo Agent pid 39 killed; [2023-03-01T02:00:07.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T02:00:07.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:00:07.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:00:07.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:00:07.762Z] $ docker exec a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 ssh-agent [2023-03-01T02:00:07.873Z] SSH_AUTH_SOCK=/tmp/ssh-dVjH4ul5anva/agent.71 [2023-03-01T02:00:07.873Z] SSH_AGENT_PID=77 [2023-03-01T02:00:07.877Z] Running ssh-add (command line suppressed) [2023-03-01T02:00:07.980Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/private_key_16804642635250833709.key (/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/private_key_16804642635250833709.key) [2023-03-01T02:00:07.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:00:08.327Z] + git semver init [2023-03-01T02:00:08.586Z] 2023-03-01 02:00:08,508 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T02:00:08.586Z] 2023-03-01 02:00:08,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver [2023-03-01T02:00:08.586Z] 2023-03-01 02:00:08,509 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver [2023-03-01T02:00:08.586Z] 2023-03-01 02:00:08,510 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-503, universal_newlines=False, shell=None, istream=None) [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,433 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-503/.git/info/exclude [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,433 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver/PR-503 with force:False [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,434 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver/PR-503 [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,437 [execute] INFO git cat-file --batch-check [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,445 [execute] INFO git cat-file --batch [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:00:09.527Z] 2023-03-01 02:00:09,451 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-503/.semver/PR-503 [2023-03-01T02:00:09.527Z] 0.0.0 [Pipeline] } [2023-03-01T02:00:09.559Z] $ docker exec --env ******** --env ******** a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 ssh-agent -k [2023-03-01T02:00:09.660Z] unset SSH_AUTH_SOCK; [2023-03-01T02:00:09.660Z] unset SSH_AGENT_PID; [2023-03-01T02:00:09.661Z] echo Agent pid 77 killed; [2023-03-01T02:00:09.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T02:00:10.088Z] + git semver [Pipeline] } [2023-03-01T02:00:10.375Z] $ docker stop --time=1 a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 [2023-03-01T02:00:11.662Z] $ docker rm -f --volumes a3366b90dd3a4c09f60cbb7779eee31b0744a6af88c2ff5dd88369dc33897322 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T02:00:12.060Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T02:00:12.302Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T02:00:12.319Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:00:12.910Z] provisioning config files... [2023-03-01T02:00:12.920Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/config1136406053537894101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:00:13.264Z] ---> docker-login.sh [2023-03-01T02:00:13.265Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:00:13.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:13.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:13.265Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:13.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:13.265Z] [2023-03-01T02:00:13.265Z] Login Succeeded [2023-03-01T02:00:13.265Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:00:13.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:13.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:13.265Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:13.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:13.265Z] [2023-03-01T02:00:13.265Z] Login Succeeded [2023-03-01T02:00:13.265Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:00:13.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:13.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:13.526Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:13.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:13.526Z] [2023-03-01T02:00:13.526Z] Login Succeeded [2023-03-01T02:00:13.526Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:00:13.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:13.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:13.526Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:13.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:13.526Z] [2023-03-01T02:00:13.526Z] Login Succeeded [2023-03-01T02:00:13.526Z] docker.io [2023-03-01T02:00:13.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:00:14.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:00:14.094Z] Configure a credential helper to remove this warning. See [2023-03-01T02:00:14.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:00:14.094Z] [2023-03-01T02:00:14.094Z] Login Succeeded [2023-03-01T02:00:14.094Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:00:14.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:00:14.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:00:14.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:00:14.388Z] ========================================================= [2023-03-01T02:00:14.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T02:00:14.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:14.848Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T02:00:14.848Z] Sending build context to Docker daemon 6.347MB [2023-03-01T02:00:14.848Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:00:14.848Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T02:00:14.848Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T02:00:14.848Z] 213ec9aee27d: Pulling fs layer [2023-03-01T02:00:14.848Z] 4583459ba037: Pulling fs layer [2023-03-01T02:00:14.848Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T02:00:14.848Z] 53926ce57604: Pulling fs layer [2023-03-01T02:00:14.848Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T02:00:14.848Z] 22ff95d597cd: Pulling fs layer [2023-03-01T02:00:14.848Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T02:00:14.848Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T02:00:14.848Z] a7acece74701: Pulling fs layer [2023-03-01T02:00:14.848Z] 53926ce57604: Waiting [2023-03-01T02:00:14.848Z] 96b7cbca73a9: Waiting [2023-03-01T02:00:14.848Z] a7acece74701: Waiting [2023-03-01T02:00:14.848Z] 21b2b0c7a3f4: Waiting [2023-03-01T02:00:14.848Z] 22ff95d597cd: Waiting [2023-03-01T02:00:14.848Z] 12d6caf4c0d1: Waiting [2023-03-01T02:00:14.848Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T02:00:14.848Z] 93c1e223e6f2: Download complete [2023-03-01T02:00:15.110Z] 4583459ba037: Verifying Checksum [2023-03-01T02:00:15.110Z] 4583459ba037: Download complete [2023-03-01T02:00:15.110Z] 21b2b0c7a3f4: Download complete [2023-03-01T02:00:15.110Z] 22ff95d597cd: Download complete [2023-03-01T02:00:15.110Z] 213ec9aee27d: Verifying Checksum [2023-03-01T02:00:15.110Z] 213ec9aee27d: Download complete [2023-03-01T02:00:15.110Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T02:00:15.110Z] 12d6caf4c0d1: Download complete [2023-03-01T02:00:15.110Z] 213ec9aee27d: Pull complete [2023-03-01T02:00:15.384Z] 4583459ba037: Pull complete [2023-03-01T02:00:15.384Z] 93c1e223e6f2: Pull complete [2023-03-01T02:00:15.646Z] a7acece74701: Verifying Checksum [2023-03-01T02:00:15.646Z] a7acece74701: Download complete [2023-03-01T02:00:15.906Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T02:00:15.906Z] 96b7cbca73a9: Download complete [2023-03-01T02:00:15.906Z] 53926ce57604: Verifying Checksum [2023-03-01T02:00:15.906Z] 53926ce57604: Download complete [2023-03-01T02:00:20.148Z] 53926ce57604: Pull complete [2023-03-01T02:00:20.148Z] 21b2b0c7a3f4: Pull complete [2023-03-01T02:00:20.148Z] 22ff95d597cd: Pull complete [2023-03-01T02:00:20.148Z] 12d6caf4c0d1: Pull complete [2023-03-01T02:00:22.045Z] 96b7cbca73a9: Pull complete [2023-03-01T02:00:22.609Z] a7acece74701: Pull complete [2023-03-01T02:00:22.609Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T02:00:22.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T02:00:22.609Z] ---> db6d94c90886 [2023-03-01T02:00:22.609Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T02:00:25.892Z] ---> Running in c4ce2737fbec [2023-03-01T02:00:26.151Z] Removing intermediate container c4ce2737fbec [2023-03-01T02:00:26.151Z] ---> 567a1d72b467 [2023-03-01T02:00:26.151Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T02:00:26.151Z] ---> Running in b613072cff99 [2023-03-01T02:00:26.151Z] Removing intermediate container b613072cff99 [2023-03-01T02:00:26.151Z] ---> 54ca5a01ac42 [2023-03-01T02:00:26.151Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T02:00:26.151Z] ---> Running in 54c57438f386 [2023-03-01T02:00:26.409Z] Removing intermediate container 54c57438f386 [2023-03-01T02:00:26.409Z] ---> 1249d7a0a2c4 [2023-03-01T02:00:26.409Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T02:00:26.409Z] ---> Running in 649343d56624 [2023-03-01T02:00:26.409Z] Removing intermediate container 649343d56624 [2023-03-01T02:00:26.409Z] ---> 2613be2bd990 [2023-03-01T02:00:26.409Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T02:00:26.409Z] ---> Running in 4c94330d1311 [2023-03-01T02:00:26.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T02:00:26.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T02:00:27.185Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T02:00:27.185Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T02:00:27.185Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T02:00:27.185Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T02:00:27.185Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T02:00:27.185Z] OK: 216 MiB in 55 packages [2023-03-01T02:00:27.728Z] Still waiting to schedule task [2023-03-01T02:00:27.729Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-01T02:00:27.753Z] Removing intermediate container 4c94330d1311 [2023-03-01T02:00:27.753Z] ---> a2d0e4419c34 [2023-03-01T02:00:27.753Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-01T02:00:27.753Z] ---> Running in b402a39d360f [2023-03-01T02:00:27.753Z] Removing intermediate container b402a39d360f [2023-03-01T02:00:27.753Z] ---> 8d5d1619ce60 [2023-03-01T02:00:27.753Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T02:00:28.012Z] ---> 9b101d386cad [2023-03-01T02:00:28.012Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:00:28.012Z] ---> Running in ea9d52cdbbaf [2023-03-01T02:00:54.627Z] Removing intermediate container ea9d52cdbbaf [2023-03-01T02:00:54.627Z] ---> ddb950b71b8e [2023-03-01T02:00:54.627Z] Step 11/12 : COPY . . [2023-03-01T02:00:54.627Z] ---> 5995c10bcdf6 [2023-03-01T02:00:54.627Z] Step 12/12 : RUN $MAKE [2023-03-01T02:00:54.627Z] ---> Running in 900b87382231 [2023-03-01T02:00:54.627Z] noop [2023-03-01T02:00:54.627Z] Removing intermediate container 900b87382231 [2023-03-01T02:00:54.627Z] ---> 35aab0f2cc61 [2023-03-01T02:00:54.627Z] Successfully built 35aab0f2cc61 [2023-03-01T02:00:54.627Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:55.072Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:00:55.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:00:55.217Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2023-03-01T02:00:55.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-503 -v /w/workspace/gexfoundry_device-mqtt-go_PR-503:/w/workspace/gexfoundry_device-mqtt-go_PR-503:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:00:55.588Z] $ docker top 8335a391986489597552a4b017535767711bee9db621deb9951c584bc4983b90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:00:55.981Z] + go version [2023-03-01T02:00:55.981Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T02:00:56.016Z] $ docker stop --time=1 8335a391986489597552a4b017535767711bee9db621deb9951c584bc4983b90 [2023-03-01T02:00:57.281Z] $ docker rm -f --volumes 8335a391986489597552a4b017535767711bee9db621deb9951c584bc4983b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:00:57.998Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:00:57.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:00:58.151Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2023-03-01T02:00:58.185Z] $ 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-503 -v /w/workspace/gexfoundry_device-mqtt-go_PR-503:/w/workspace/gexfoundry_device-mqtt-go_PR-503:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:00:58.531Z] $ docker top 2616454835b293b08464fa85c844174a42e2a601351585bf5c9cf687e587dfce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:00:58.928Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-503 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:00:59.288Z] + make test [2023-03-01T02:00:59.289Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T02:00:59.547Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-01T02:01:04.810Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-03-01T02:01:04.810Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-03-01T02:01:08.094Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-01T02:01:08.094Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-01T02:01:08.142Z] $ docker stop --time=1 2616454835b293b08464fa85c844174a42e2a601351585bf5c9cf687e587dfce [2023-03-01T02:01:10.310Z] $ docker rm -f --volumes 2616454835b293b08464fa85c844174a42e2a601351585bf5c9cf687e587dfce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:01:11.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:11.455Z] [2023-03-01T02:01:11.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:01:11.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:11.837Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T02:01:11.837Z] 5eb5b503b376: Pulling fs layer [2023-03-01T02:01:11.837Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T02:01:11.837Z] ec43610c2a17: Pulling fs layer [2023-03-01T02:01:11.837Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T02:01:11.837Z] 33b1e0a273af: Pulling fs layer [2023-03-01T02:01:11.837Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T02:01:11.837Z] 2f39f015ded8: Pulling fs layer [2023-03-01T02:01:11.837Z] 33b1e0a273af: Waiting [2023-03-01T02:01:11.837Z] 3a2ae6a8a46f: Waiting [2023-03-01T02:01:11.837Z] 5d3b04190fa2: Waiting [2023-03-01T02:01:11.837Z] 2f39f015ded8: Waiting [2023-03-01T02:01:11.837Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T02:01:11.837Z] 5c69ac0246d0: Download complete [2023-03-01T02:01:11.837Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T02:01:11.837Z] 3a2ae6a8a46f: Download complete [2023-03-01T02:01:12.101Z] 33b1e0a273af: Verifying Checksum [2023-03-01T02:01:12.101Z] 33b1e0a273af: Download complete [2023-03-01T02:01:12.101Z] 5d3b04190fa2: Verifying Checksum [2023-03-01T02:01:12.101Z] 5d3b04190fa2: Download complete [2023-03-01T02:01:12.101Z] ec43610c2a17: Verifying Checksum [2023-03-01T02:01:12.101Z] ec43610c2a17: Download complete [2023-03-01T02:01:12.101Z] 5eb5b503b376: Download complete [2023-03-01T02:01:12.667Z] 2f39f015ded8: Download complete [2023-03-01T02:01:13.603Z] 5eb5b503b376: Pull complete [2023-03-01T02:01:13.603Z] 5c69ac0246d0: Pull complete [2023-03-01T02:01:13.862Z] ec43610c2a17: Pull complete [2023-03-01T02:01:14.121Z] 3a2ae6a8a46f: Pull complete [2023-03-01T02:01:14.121Z] 33b1e0a273af: Pull complete [2023-03-01T02:01:14.384Z] 5d3b04190fa2: Pull complete [2023-03-01T02:01:18.722Z] 2f39f015ded8: Pull complete [2023-03-01T02:01:18.722Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T02:01:18.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:01:18.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:01:18.943Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2023-03-01T02:01:18.981Z] $ 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-503 -v /w/workspace/gexfoundry_device-mqtt-go_PR-503:/w/workspace/gexfoundry_device-mqtt-go_PR-503:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T02:01:23.208Z] $ docker top 81e03047515272a2ae270c065f3d3c1c3e275add0e82fc64e569cf0e6e2246c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:01:23.657Z] ---> job-cost.sh [2023-03-01T02:01:23.657Z] lf-activate-venv: SKIPPING [2023-03-01T02:01:23.657Z] INFO: No Stack... [2023-03-01T02:01:24.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:01:24.482Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T02:01:24.915Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives/cost.csv [2023-03-01T02:01:24.915Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:01:25.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [2023-03-01T02:01:25.040Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] did not exist. Created. [2023-03-01T02:01:25.040Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:01:25.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T02:01:25.593Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:01:25.608Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:01:25.691Z] $ docker stop --time=1 81e03047515272a2ae270c065f3d3c1c3e275add0e82fc64e569cf0e6e2246c1 [2023-03-01T02:01:26.915Z] $ docker rm -f --volumes 81e03047515272a2ae270c065f3d3c1c3e275add0e82fc64e569cf0e6e2246c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T02:01:27.269Z] Failed in branch amd64 [2023-03-01T02:03:21.340Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7861 in /w/workspace/gexfoundry_device-mqtt-go_PR-503 [Pipeline] { [Pipeline] ws [2023-03-01T02:03:21.399Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-01T02:03:21.485Z] Selected Git installation does not exist. Using Default [2023-03-01T02:03:21.485Z] The recommended git tool is: NONE [2023-03-01T02:03:28.019Z] using credential edgex-jenkins-ssh [2023-03-01T02:03:28.037Z] Cloning the remote Git repository [2023-03-01T02:03:28.096Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:28.184Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-01T02:03:28.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:28.362Z] > git --version # timeout=10 [2023-03-01T02:03:28.383Z] > git --version # 'git version 2.25.1' [2023-03-01T02:03:28.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:28.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:03:29.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-01T02:03:29.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:03:31.484Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [2023-03-01T02:03:31.771Z] Merge succeeded, producing e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 [2023-03-01T02:03:31.771Z] Checking out Revision e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 (PR-503) [2023-03-01T02:03:30.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-01T02:03:30.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-01T02:03:30.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:30.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T02:03:31.510Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:03:31.533Z] > git checkout -f e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 # timeout=10 [2023-03-01T02:03:31.641Z] > git remote # timeout=10 [2023-03-01T02:03:31.664Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T02:03:31.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:03:31.718Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-03-01T02:03:31.752Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T02:03:32.453Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-01T02:03:32.526Z] > git --version # timeout=10 [2023-03-01T02:03:32.542Z] > git --version # 'git version 2.25.1' [2023-03-01T02:03:32.563Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:03:31.783Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:03:31.802Z] > git checkout -f e2d52b8959ea20f89237b6cbd9cc9dc82721d7b1 # timeout=10 [2023-03-01T02:03:33.672Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T02:03:33.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T02:03:33.672Z] Dload Upload Total Spent Left Speed [2023-03-01T02:03:33.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-03-01T02:03:34.502Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T02:03:34.872Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T02:03:34.872Z] + sudo tee /etc/docker/daemon.new [2023-03-01T02:03:37.483Z] { [2023-03-01T02:03:37.483Z] "registry-mirrors": [ [2023-03-01T02:03:37.483Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T02:03:37.483Z] ], [2023-03-01T02:03:37.483Z] "bip": "10.250.0.254/24", [2023-03-01T02:03:37.483Z] "hosts": [ [2023-03-01T02:03:37.483Z] "tcp://0.0.0.0:5555", [2023-03-01T02:03:37.483Z] "unix:///var/run/docker.sock" [2023-03-01T02:03:37.483Z] ], [2023-03-01T02:03:37.483Z] "mtu": 1458, [2023-03-01T02:03:37.483Z] "selinux-enabled": true, [2023-03-01T02:03:37.483Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T02:03:37.483Z] } [Pipeline] sh [2023-03-01T02:03:37.848Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T02:03:38.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:03:56.562Z] provisioning config files... [2023-03-01T02:03:56.598Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16355021836738019386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:03:57.010Z] ---> docker-login.sh [2023-03-01T02:03:57.010Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:03:57.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:03:57.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:03:57.602Z] Configure a credential helper to remove this warning. See [2023-03-01T02:03:57.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:03:57.602Z] [2023-03-01T02:03:57.602Z] Login Succeeded [2023-03-01T02:03:57.602Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:03:57.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:03:58.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:03:58.143Z] Configure a credential helper to remove this warning. See [2023-03-01T02:03:58.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:03:58.143Z] [2023-03-01T02:03:58.143Z] Login Succeeded [2023-03-01T02:03:58.143Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:03:58.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:03:58.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:03:58.414Z] Configure a credential helper to remove this warning. See [2023-03-01T02:03:58.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:03:58.414Z] [2023-03-01T02:03:58.414Z] Login Succeeded [2023-03-01T02:03:58.414Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:03:58.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:03:58.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:03:58.686Z] Configure a credential helper to remove this warning. See [2023-03-01T02:03:58.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:03:58.686Z] [2023-03-01T02:03:58.686Z] Login Succeeded [2023-03-01T02:03:58.686Z] docker.io [2023-03-01T02:03:59.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:03:59.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:03:59.281Z] Configure a credential helper to remove this warning. See [2023-03-01T02:03:59.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:03:59.281Z] [2023-03-01T02:03:59.281Z] Login Succeeded [2023-03-01T02:03:59.281Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:03:59.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:03:59.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:03:59.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:03:59.819Z] ========================================================= [2023-03-01T02:03:59.819Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T02:03:59.819Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:04:00.328Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T02:04:00.603Z] Sending build context to Docker daemon 3.29MB [2023-03-01T02:04:00.603Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:04:00.603Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T02:04:00.874Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T02:04:00.874Z] 9b18e9b68314: Pulling fs layer [2023-03-01T02:04:00.874Z] 35d82f9e3411: Pulling fs layer [2023-03-01T02:04:00.874Z] e16973657156: Pulling fs layer [2023-03-01T02:04:00.874Z] fc693d55d65f: Pulling fs layer [2023-03-01T02:04:00.874Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T02:04:00.874Z] dda99020689f: Pulling fs layer [2023-03-01T02:04:00.874Z] db1c61fa0a46: Pulling fs layer [2023-03-01T02:04:00.874Z] 891c053d2c06: Pulling fs layer [2023-03-01T02:04:00.874Z] fc693d55d65f: Waiting [2023-03-01T02:04:00.874Z] 7e9fc2657dce: Waiting [2023-03-01T02:04:00.874Z] dda99020689f: Waiting [2023-03-01T02:04:00.874Z] db1c61fa0a46: Waiting [2023-03-01T02:04:00.874Z] 891c053d2c06: Waiting [2023-03-01T02:04:00.874Z] e16973657156: Verifying Checksum [2023-03-01T02:04:00.874Z] e16973657156: Download complete [2023-03-01T02:04:00.874Z] 35d82f9e3411: Verifying Checksum [2023-03-01T02:04:00.874Z] 35d82f9e3411: Download complete [2023-03-01T02:04:00.874Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T02:04:00.874Z] 7e9fc2657dce: Download complete [2023-03-01T02:04:00.874Z] dda99020689f: Download complete [2023-03-01T02:04:01.146Z] 9b18e9b68314: Verifying Checksum [2023-03-01T02:04:02.130Z] 891c053d2c06: Verifying Checksum [2023-03-01T02:04:02.130Z] 891c053d2c06: Download complete [2023-03-01T02:04:03.113Z] db1c61fa0a46: Verifying Checksum [2023-03-01T02:04:03.113Z] db1c61fa0a46: Download complete [2023-03-01T02:04:03.711Z] 9b18e9b68314: Pull complete [2023-03-01T02:04:04.085Z] fc693d55d65f: Verifying Checksum [2023-03-01T02:04:04.085Z] fc693d55d65f: Download complete [2023-03-01T02:04:04.380Z] 35d82f9e3411: Pull complete [2023-03-01T02:04:04.670Z] e16973657156: Pull complete [2023-03-01T02:04:19.709Z] fc693d55d65f: Pull complete [2023-03-01T02:04:19.709Z] 7e9fc2657dce: Pull complete [2023-03-01T02:04:19.709Z] dda99020689f: Pull complete [2023-03-01T02:04:23.982Z] db1c61fa0a46: Pull complete [2023-03-01T02:04:25.401Z] 891c053d2c06: Pull complete [2023-03-01T02:04:25.679Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T02:04:25.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T02:04:25.679Z] ---> f96f9c87975a [2023-03-01T02:04:25.679Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T02:04:27.648Z] ---> Running in acab826447d4 [2023-03-01T02:04:28.244Z] Removing intermediate container acab826447d4 [2023-03-01T02:04:28.244Z] ---> df761cef8d49 [2023-03-01T02:04:28.244Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T02:04:28.244Z] ---> Running in 7d7ed9972592 [2023-03-01T02:04:28.515Z] Removing intermediate container 7d7ed9972592 [2023-03-01T02:04:28.515Z] ---> df3d25146354 [2023-03-01T02:04:28.515Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-01T02:04:28.515Z] ---> Running in 59fa8197320f [2023-03-01T02:04:29.116Z] Removing intermediate container 59fa8197320f [2023-03-01T02:04:29.116Z] ---> 459f0ee3b5cb [2023-03-01T02:04:29.116Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T02:04:29.116Z] ---> Running in 8e1e750e8916 [2023-03-01T02:04:29.390Z] Removing intermediate container 8e1e750e8916 [2023-03-01T02:04:29.390Z] ---> 5282d80b90cb [2023-03-01T02:04:29.390Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T02:04:29.664Z] ---> Running in 42e0bb24aaf4 [2023-03-01T02:04:31.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T02:04:31.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T02:04:32.800Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T02:04:32.800Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T02:04:32.800Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T02:04:32.800Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T02:04:32.800Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T02:04:32.800Z] OK: 226 MiB in 55 packages [2023-03-01T02:04:34.248Z] Removing intermediate container 42e0bb24aaf4 [2023-03-01T02:04:34.248Z] ---> 1d128d10bab5 [2023-03-01T02:04:34.248Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-01T02:04:34.248Z] ---> Running in 87fbb615f175 [2023-03-01T02:04:34.519Z] Removing intermediate container 87fbb615f175 [2023-03-01T02:04:34.519Z] ---> 67e4094eb31f [2023-03-01T02:04:34.519Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T02:04:35.109Z] ---> 4f098eb6d0ad [2023-03-01T02:04:35.109Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:04:35.109Z] ---> Running in e61aa52e2d60 [2023-03-01T02:05:43.037Z] Removing intermediate container e61aa52e2d60 [2023-03-01T02:05:43.037Z] ---> abbbd5a26a09 [2023-03-01T02:05:43.037Z] Step 11/12 : COPY . . [2023-03-01T02:05:43.037Z] ---> 727aaa0344f5 [2023-03-01T02:05:43.037Z] Step 12/12 : RUN $MAKE [2023-03-01T02:05:43.037Z] ---> Running in cf68e11f8f93 [2023-03-01T02:05:43.037Z] noop [2023-03-01T02:05:44.007Z] Removing intermediate container cf68e11f8f93 [2023-03-01T02:05:44.007Z] ---> 991591bb4bca [2023-03-01T02:05:44.007Z] Successfully built 991591bb4bca [2023-03-01T02:05:44.007Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:05:44.483Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:05:44.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:05:44.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2023-03-01T02:05:44.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:05:46.225Z] $ docker top c069a7c782dd001ad6f408b43f2f9f1de8f1624c7b7c8e5a66796e019e5b17bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:05:47.153Z] + go version [2023-03-01T02:05:47.153Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T02:05:47.198Z] $ docker stop --time=1 c069a7c782dd001ad6f408b43f2f9f1de8f1624c7b7c8e5a66796e019e5b17bd [2023-03-01T02:05:48.957Z] $ docker rm -f --volumes c069a7c782dd001ad6f408b43f2f9f1de8f1624c7b7c8e5a66796e019e5b17bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:05:49.850Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:05:49.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:05:50.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2023-03-01T02:05:50.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:05:51.476Z] $ docker top 3fcc2dabb23a48c57214d62f7ca748177872430d6fc863f8a3d75e88548d6fab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:05:52.375Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:05:53.106Z] + make test [2023-03-01T02:05:53.106Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T02:05:55.056Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-01T02:06:27.330Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-03-01T02:06:27.330Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration [2023-03-01T02:07:35.251Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-01T02:07:35.251Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-01T02:07:35.307Z] $ docker stop --time=1 3fcc2dabb23a48c57214d62f7ca748177872430d6fc863f8a3d75e88548d6fab [2023-03-01T02:07:37.438Z] $ docker rm -f --volumes 3fcc2dabb23a48c57214d62f7ca748177872430d6fc863f8a3d75e88548d6fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:07:39.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:07:39.054Z] [2023-03-01T02:07:39.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:07:39.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:07:39.759Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T02:07:39.759Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T02:07:39.759Z] 04944245beec: Pulling fs layer [2023-03-01T02:07:39.759Z] 699f458cf7ca: Pulling fs layer [2023-03-01T02:07:39.759Z] 765212b225bb: Pulling fs layer [2023-03-01T02:07:39.759Z] f23df028b6ca: Pulling fs layer [2023-03-01T02:07:39.759Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T02:07:39.759Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T02:07:39.759Z] f23df028b6ca: Waiting [2023-03-01T02:07:39.759Z] 2437ff75d9bd: Waiting [2023-03-01T02:07:39.759Z] d65c8cfc05b1: Waiting [2023-03-01T02:07:39.759Z] 765212b225bb: Waiting [2023-03-01T02:07:39.759Z] 04944245beec: Verifying Checksum [2023-03-01T02:07:39.759Z] 04944245beec: Download complete [2023-03-01T02:07:39.759Z] 765212b225bb: Verifying Checksum [2023-03-01T02:07:39.759Z] 765212b225bb: Download complete [2023-03-01T02:07:40.032Z] f23df028b6ca: Verifying Checksum [2023-03-01T02:07:40.032Z] f23df028b6ca: Download complete [2023-03-01T02:07:40.032Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T02:07:40.032Z] d65c8cfc05b1: Download complete [2023-03-01T02:07:40.032Z] 699f458cf7ca: Verifying Checksum [2023-03-01T02:07:40.032Z] 699f458cf7ca: Download complete [2023-03-01T02:07:40.627Z] 8998bd30e6a1: Download complete [2023-03-01T02:07:43.992Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T02:07:43.992Z] 2437ff75d9bd: Download complete [2023-03-01T02:07:47.364Z] 8998bd30e6a1: Pull complete [2023-03-01T02:07:47.364Z] 04944245beec: Pull complete [2023-03-01T02:07:49.325Z] 699f458cf7ca: Pull complete [2023-03-01T02:07:49.596Z] 765212b225bb: Pull complete [2023-03-01T02:07:50.566Z] f23df028b6ca: Pull complete [2023-03-01T02:07:50.837Z] d65c8cfc05b1: Pull complete [2023-03-01T02:08:09.105Z] 2437ff75d9bd: Pull complete [2023-03-01T02:08:09.105Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T02:08:09.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:08:09.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:08:09.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-7861 does not seem to be running inside a container [2023-03-01T02:08:09.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T02:08:12.538Z] $ docker top fa920a8aac91d6f354031695c289aaf245980ba7909323b39771feb89a7395f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:13.533Z] ---> job-cost.sh [2023-03-01T02:08:13.533Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:13.533Z] INFO: No Stack... [2023-03-01T02:08:13.805Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T02:08:14.770Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T02:08:15.449Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-01T02:08:15.449Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:08:15.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [2023-03-01T02:08:15.565Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] did not exist. Created. [2023-03-01T02:08:15.566Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:08:16.311Z] /w/workspace/device-mqtt-go/1@tmp/durable-e83bb850/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T02:08:17.020Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T02:08:17.061Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T02:08:17.692Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:08:17.712Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-503-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:08:17.799Z] $ docker stop --time=1 fa920a8aac91d6f354031695c289aaf245980ba7909323b39771feb89a7395f7 [2023-03-01T02:08:19.681Z] $ docker rm -f --volumes fa920a8aac91d6f354031695c289aaf245980ba7909323b39771feb89a7395f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T02:08:20.428Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T02:08:22.366Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives ] [2023-03-01T02:08:22.366Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives [2023-03-01T02:08:22.366Z] total 16 [2023-03-01T02:08:22.366Z] drwxr-xr-x 3 root root 4096 Mar 1 02:01 . [2023-03-01T02:08:22.366Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 02:01 .. [2023-03-01T02:08:22.366Z] drwxr-xr-x 2 root root 4096 Mar 1 02:01 cost [2023-03-01T02:08:22.366Z] -rw-r--r-- 1 root root 86 Mar 1 02:01 cost.csv [2023-03-01T02:08:22.366Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives [2023-03-01T02:08:22.366Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives [2023-03-01T02:08:22.366Z] total 16 [2023-03-01T02:08:22.366Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:01 . [2023-03-01T02:08:22.366Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 02:01 .. [2023-03-01T02:08:22.366Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 02:01 cost [2023-03-01T02:08:22.366Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:22.696Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:23.585Z] ---> package-listing.sh [2023-03-01T02:08:23.585Z] ++ facter osfamily [2023-03-01T02:08:23.585Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T02:08:23.844Z] + OS_FAMILY=debian [2023-03-01T02:08:23.844Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-503 [2023-03-01T02:08:23.844Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T02:08:23.844Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T02:08:23.844Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T02:08:23.844Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T02:08:23.844Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-503 ']' [2023-03-01T02:08:23.844Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T02:08:23.844Z] + case "${OS_FAMILY}" in [2023-03-01T02:08:23.844Z] + dpkg -l [2023-03-01T02:08:23.844Z] + grep '^ii' [2023-03-01T02:08:23.844Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T02:08:23.844Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T02:08:23.844Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T02:08:23.844Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-503 ']' [2023-03-01T02:08:23.844Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives/ [2023-03-01T02:08:23.844Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-503/archives/ [Pipeline] echo [2023-03-01T02:08:23.882Z] 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-503/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T02:08:24.174Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:08:24.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:08:24.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:08:25.063Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2023-03-01T02:08:25.098Z] $ 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-503/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-503 -v /w/workspace/gexfoundry_device-mqtt-go_PR-503:/w/workspace/gexfoundry_device-mqtt-go_PR-503:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T02:08:27.160Z] $ docker top d7ae3cad8107fd725348f88100139776a63df6a4bbc889b0f1b5a5e207f17dad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:08:27.572Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T02:08:27.887Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T02:08:28.197Z] + ls /var/log/sa-host [2023-03-01T02:08:28.197Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:08:28.411Z] provisioning config files... [2023-03-01T02:08:28.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-503@tmp/config12839365032735239728tmp [Pipeline] { [Pipeline] echo [2023-03-01T02:08:28.472Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:28.789Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T02:08:28.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:29.234Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T02:08:29.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:29.580Z] ---> sudo-logs.sh [2023-03-01T02:08:29.580Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T02:08:29.668Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:29.983Z] ---> job-cost.sh [2023-03-01T02:08:29.983Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:29.983Z] DEBUG: total: 0.2199999988079071 [2023-03-01T02:08:29.983Z] INFO: Retrieving Stack Cost... [2023-03-01T02:08:30.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:08:30.810Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T02:08:30.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:31.153Z] ---> logs-deploy.sh [2023-03-01T02:08:31.153Z] lf-activate-venv: SKIPPING [2023-03-01T02:08:31.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-503/1 [2023-03-01T02:08:31.153Z] INFO: archiving workspace using pattern(s): [2023-03-01T02:08:32.153Z] Archives upload complete. [2023-03-01T02:08:32.153Z] INFO: archiving logs to Nexus