Pull request #496 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1eacea0bdd025a052a9a88779ca3db2b513e35f0+bc7652beee9a90296fe0b57947c4589a421f5e02 (8a5d5542b7cbd9ee0635a8de27fe3c0537309d60) 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-ssh8115997098577121716.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-ssh2417367680689378915.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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3343047329960164582.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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3397312914965473047.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-ssh846852372456062540.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14167577885118474007.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-7172 in /w/workspace/gexfoundry_device-mqtt-go_PR-496 [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-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 1eacea0bdd025a052a9a88779ca3db2b513e35f0 Merge succeeded, producing 1eacea0bdd025a052a9a88779ca3db2b513e35f0 Checking out Revision 1eacea0bdd025a052a9a88779ca3db2b513e35f0 (PR-496) 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-02-23T01:18:53.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-23T01:18:53.930Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1eacea0bdd025a052a9a88779ca3db2b513e35f0 # 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 1eacea0bdd025a052a9a88779ca3db2b513e35f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-23T01:18:54.126Z] ========================================================= [2023-02-23T01:18:54.126Z] EdgeX Global Pipelines Version Info [2023-02-23T01:18:54.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:18:54.880Z] ------------------- [2023-02-23T01:18:54.880Z] stable info: [2023-02-23T01:18:54.880Z] ------------------- [2023-02-23T01:18:54.880Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-23T01:18:54.880Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T01:18:54.880Z] Message: update stable to v1.0.244 [2023-02-23T01:18:55.452Z] ------------------- [2023-02-23T01:18:55.452Z] experimental info: [2023-02-23T01:18:55.452Z] ------------------- [2023-02-23T01:18:55.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-23T01:18:55.452Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T01:18:55.452Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-23T01:18:55.754Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-23T01:18:55.803Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-23T01:18:55.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-23T01:18:55.892Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-23T01:18:55.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-23T01:18:55.989Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-23T01:18:56.031Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-23T01:18:56.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-23T01:18:56.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-23T01:18:56.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-23T01:18:56.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-23T01:18:56.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-23T01:18:56.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-23T01:18:56.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-23T01:18:56.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T01:18:56.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T01:18:56.460Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T01:18:56.503Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T01:18:56.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-23T01:18:56.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-23T01:18:56.629Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-23T01:18:56.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-23T01:18:56.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-23T01:18:56.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-23T01:18:56.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-23T01:18:56.832Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-23T01:18:56.877Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-23T01:18:56.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2023-02-23T01:18:56.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2023-02-23T01:18:56.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2023-02-23T01:18:57.044Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [Pipeline] echo [2023-02-23T01:18:57.086Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1eacea0 [Pipeline] echo [2023-02-23T01:18:57.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:18:57.246Z] provisioning config files... [2023-02-23T01:18:57.261Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/config2161152439934980242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:18:57.604Z] ---> docker-login.sh [2023-02-23T01:18:57.604Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:18:57.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:57.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:57.864Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:57.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:57.864Z] [2023-02-23T01:18:57.864Z] Login Succeeded [2023-02-23T01:18:57.864Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:18:57.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:57.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:57.864Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:57.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:57.864Z] [2023-02-23T01:18:57.864Z] Login Succeeded [2023-02-23T01:18:57.864Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:18:58.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:58.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:58.123Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:58.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:58.123Z] [2023-02-23T01:18:58.123Z] Login Succeeded [2023-02-23T01:18:58.123Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:18:58.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:58.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:58.123Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:58.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:58.123Z] [2023-02-23T01:18:58.123Z] Login Succeeded [2023-02-23T01:18:58.123Z] docker.io [2023-02-23T01:18:58.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:58.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:58.385Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:58.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:58.385Z] [2023-02-23T01:18:58.385Z] Login Succeeded [2023-02-23T01:18:58.385Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:18:58.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-23T01:18:59.016Z] + git rev-list -1 --merges 1eacea0bdd025a052a9a88779ca3db2b513e35f0~1..1eacea0bdd025a052a9a88779ca3db2b513e35f0 [Pipeline] echo [2023-02-23T01:18:59.082Z] -----------> git rev-list -1 --merges 1eacea0bdd025a052a9a88779ca3db2b513e35f0~1..1eacea0bdd025a052a9a88779ca3db2b513e35f0 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [false] [Pipeline] sh [2023-02-23T01:18:59.398Z] + git log --format=format:%s -1 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [Pipeline] echo [2023-02-23T01:18:59.434Z] ========================================================= [2023-02-23T01:18:59.434Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-23T01:18:59.434Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T01:18:59.868Z] + git log --format=format:%s -1 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [Pipeline] echo [2023-02-23T01:18:59.903Z] [semverPrep] GIT_COMMIT: 1eacea0bdd025a052a9a88779ca3db2b513e35f0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-23T01:18:59.934Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-23T01:19:00.315Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-23T01:19:00.315Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-23T01:19:00.315Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-23T01:19:00.315Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-23T01:19:00.315Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-23T01:19:00.315Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-23T01:19:00.315Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:00.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:19:00.751Z] [2023-02-23T01:19:00.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:01.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:19:01.130Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-23T01:19:01.130Z] b85a868b505f: Pulling fs layer [2023-02-23T01:19:01.130Z] e2be974225ed: Pulling fs layer [2023-02-23T01:19:01.130Z] 339a4e72a1f5: Pulling fs layer [2023-02-23T01:19:01.130Z] 988bab9f4d93: Pulling fs layer [2023-02-23T01:19:01.130Z] 1469e6f7b9e6: Pulling fs layer [2023-02-23T01:19:01.130Z] eaf3925da568: Pulling fs layer [2023-02-23T01:19:01.130Z] bab4dde63d76: Pulling fs layer [2023-02-23T01:19:01.130Z] bde34c3a00c8: Pulling fs layer [2023-02-23T01:19:01.130Z] b352a97aabf1: Pulling fs layer [2023-02-23T01:19:01.130Z] 4872d77fe225: Pulling fs layer [2023-02-23T01:19:01.130Z] 5851b861e8e6: Pulling fs layer [2023-02-23T01:19:01.130Z] 988bab9f4d93: Waiting [2023-02-23T01:19:01.130Z] bab4dde63d76: Waiting [2023-02-23T01:19:01.130Z] 1469e6f7b9e6: Waiting [2023-02-23T01:19:01.130Z] eaf3925da568: Waiting [2023-02-23T01:19:01.130Z] 4872d77fe225: Waiting [2023-02-23T01:19:01.130Z] bde34c3a00c8: Waiting [2023-02-23T01:19:01.130Z] 5851b861e8e6: Waiting [2023-02-23T01:19:01.130Z] b352a97aabf1: Waiting [2023-02-23T01:19:01.130Z] e2be974225ed: Verifying Checksum [2023-02-23T01:19:01.130Z] e2be974225ed: Download complete [2023-02-23T01:19:01.130Z] 988bab9f4d93: Verifying Checksum [2023-02-23T01:19:01.130Z] 988bab9f4d93: Download complete [2023-02-23T01:19:01.401Z] 1469e6f7b9e6: Verifying Checksum [2023-02-23T01:19:01.401Z] 1469e6f7b9e6: Download complete [2023-02-23T01:19:01.401Z] eaf3925da568: Verifying Checksum [2023-02-23T01:19:01.401Z] eaf3925da568: Download complete [2023-02-23T01:19:01.401Z] 339a4e72a1f5: Verifying Checksum [2023-02-23T01:19:01.401Z] 339a4e72a1f5: Download complete [2023-02-23T01:19:01.401Z] bde34c3a00c8: Download complete [2023-02-23T01:19:01.401Z] b352a97aabf1: Verifying Checksum [2023-02-23T01:19:01.401Z] b352a97aabf1: Download complete [2023-02-23T01:19:01.401Z] 4872d77fe225: Verifying Checksum [2023-02-23T01:19:01.401Z] 4872d77fe225: Download complete [2023-02-23T01:19:01.401Z] 5851b861e8e6: Verifying Checksum [2023-02-23T01:19:01.401Z] 5851b861e8e6: Download complete [2023-02-23T01:19:01.662Z] b85a868b505f: Verifying Checksum [2023-02-23T01:19:01.662Z] b85a868b505f: Download complete [2023-02-23T01:19:01.923Z] bab4dde63d76: Verifying Checksum [2023-02-23T01:19:01.923Z] bab4dde63d76: Download complete [2023-02-23T01:19:02.860Z] b85a868b505f: Pull complete [2023-02-23T01:19:02.860Z] e2be974225ed: Pull complete [2023-02-23T01:19:03.443Z] 339a4e72a1f5: Pull complete [2023-02-23T01:19:03.443Z] 988bab9f4d93: Pull complete [2023-02-23T01:19:03.704Z] 1469e6f7b9e6: Pull complete [2023-02-23T01:19:03.964Z] eaf3925da568: Pull complete [2023-02-23T01:19:05.870Z] bab4dde63d76: Pull complete [2023-02-23T01:19:05.870Z] bde34c3a00c8: Pull complete [2023-02-23T01:19:05.870Z] b352a97aabf1: Pull complete [2023-02-23T01:19:06.131Z] 4872d77fe225: Pull complete [2023-02-23T01:19:06.131Z] 5851b861e8e6: Pull complete [2023-02-23T01:19:06.131Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-23T01:19:06.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:19:06.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:19:06.359Z] prd-ubuntu20.04-docker-8c-8g-7172 does not seem to be running inside a container [2023-02-23T01:19:06.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-496 -v /w/workspace/gexfoundry_device-mqtt-go_PR-496:/w/workspace/gexfoundry_device-mqtt-go_PR-496:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-496@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-02-23T01:19:07.652Z] $ docker top 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc -eo pid,comm [2023-02-23T01:19:07.713Z] 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-02-23T01:19:07.713Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-23T01:19:07.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T01:19:07.850Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T01:19:07.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T01:19:07.984Z] $ docker exec 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc ssh-agent [2023-02-23T01:19:08.098Z] SSH_AUTH_SOCK=/tmp/ssh-NWSlpwjhx88Q/agent.32 [2023-02-23T01:19:08.098Z] SSH_AGENT_PID=38 [2023-02-23T01:19:08.105Z] Running ssh-add (command line suppressed) [2023-02-23T01:19:08.209Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/private_key_8108881784317885235.key (/w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/private_key_8108881784317885235.key) [2023-02-23T01:19:08.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T01:19:08.560Z] + git tag --points-at HEAD [Pipeline] } [2023-02-23T01:19:08.586Z] $ docker exec --env ******** --env ******** 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc ssh-agent -k [2023-02-23T01:19:08.683Z] unset SSH_AUTH_SOCK; [2023-02-23T01:19:08.683Z] unset SSH_AGENT_PID; [2023-02-23T01:19:08.683Z] echo Agent pid 38 killed; [2023-02-23T01:19:08.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-23T01:19:08.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T01:19:08.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T01:19:08.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T01:19:08.951Z] $ docker exec 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc ssh-agent [2023-02-23T01:19:09.059Z] SSH_AUTH_SOCK=/tmp/ssh-6y4pkHK8sr3S/agent.70 [2023-02-23T01:19:09.059Z] SSH_AGENT_PID=76 [2023-02-23T01:19:09.063Z] Running ssh-add (command line suppressed) [2023-02-23T01:19:09.164Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/private_key_150262734063065976.key (/w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/private_key_150262734063065976.key) [2023-02-23T01:19:09.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T01:19:09.504Z] + git semver init [2023-02-23T01:19:09.762Z] 2023-02-23 01:19:09,682 [run_init] DEBUG init version:0.0.0 force:False [2023-02-23T01:19:09.762Z] 2023-02-23 01:19:09,682 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver [2023-02-23T01:19:09.762Z] 2023-02-23 01:19:09,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver [2023-02-23T01:19:09.762Z] 2023-02-23 01:19:09,683 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-496, universal_newlines=False, shell=None, istream=None) [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,624 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-496/.git/info/exclude [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver/PR-496 with force:False [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,625 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver/PR-496 [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,629 [execute] INFO git cat-file --batch-check [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,637 [execute] INFO git cat-file --batch [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T01:19:10.699Z] 2023-02-23 01:19:10,642 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-496/.semver/PR-496 [2023-02-23T01:19:10.699Z] 0.0.0 [Pipeline] } [2023-02-23T01:19:10.725Z] $ docker exec --env ******** --env ******** 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc ssh-agent -k [2023-02-23T01:19:10.829Z] unset SSH_AUTH_SOCK; [2023-02-23T01:19:10.830Z] unset SSH_AGENT_PID; [2023-02-23T01:19:10.830Z] echo Agent pid 76 killed; [2023-02-23T01:19:10.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-23T01:19:11.273Z] + git semver [Pipeline] } [2023-02-23T01:19:11.558Z] $ docker stop --time=1 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc [2023-02-23T01:19:12.864Z] $ docker rm -f --volumes 9b286c8f334930919699e65e612966d62826f4cea417584bee5892e7c74936bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T01:19:13.276Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-23T01:19:13.543Z] Stashed 1 file(s) [Pipeline] echo [2023-02-23T01:19:13.561Z] [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-02-23T01:19:14.169Z] provisioning config files... [2023-02-23T01:19:14.181Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/config7024764760010807552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:19:14.529Z] ---> docker-login.sh [2023-02-23T01:19:14.529Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:19:14.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:19:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:19:14.529Z] Configure a credential helper to remove this warning. See [2023-02-23T01:19:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:19:14.529Z] [2023-02-23T01:19:14.529Z] Login Succeeded [2023-02-23T01:19:14.529Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:19:14.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:19:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:19:14.529Z] Configure a credential helper to remove this warning. See [2023-02-23T01:19:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:19:14.529Z] [2023-02-23T01:19:14.529Z] Login Succeeded [2023-02-23T01:19:14.792Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:19:14.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:19:14.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:19:14.792Z] Configure a credential helper to remove this warning. See [2023-02-23T01:19:14.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:19:14.792Z] [2023-02-23T01:19:14.792Z] Login Succeeded [2023-02-23T01:19:14.792Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:19:14.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:19:14.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:19:14.792Z] Configure a credential helper to remove this warning. See [2023-02-23T01:19:14.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:19:14.792Z] [2023-02-23T01:19:14.792Z] Login Succeeded [2023-02-23T01:19:14.792Z] docker.io [2023-02-23T01:19:15.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:19:15.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:19:15.312Z] Configure a credential helper to remove this warning. See [2023-02-23T01:19:15.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:19:15.312Z] [2023-02-23T01:19:15.312Z] Login Succeeded [2023-02-23T01:19:15.312Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:19:15.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T01:19:15.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:19:15.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:19:15.602Z] ========================================================= [2023-02-23T01:19:15.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-23T01:19:15.602Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:16.071Z] + 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-02-23T01:19:16.071Z] Sending build context to Docker daemon 6.328MB [2023-02-23T01:19:16.071Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:19:16.071Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T01:19:16.071Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-23T01:19:16.071Z] 213ec9aee27d: Pulling fs layer [2023-02-23T01:19:16.071Z] 4583459ba037: Pulling fs layer [2023-02-23T01:19:16.071Z] 93c1e223e6f2: Pulling fs layer [2023-02-23T01:19:16.071Z] 53926ce57604: Pulling fs layer [2023-02-23T01:19:16.071Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-23T01:19:16.071Z] 22ff95d597cd: Pulling fs layer [2023-02-23T01:19:16.071Z] 12d6caf4c0d1: Pulling fs layer [2023-02-23T01:19:16.071Z] 96b7cbca73a9: Pulling fs layer [2023-02-23T01:19:16.071Z] a7acece74701: Pulling fs layer [2023-02-23T01:19:16.071Z] 53926ce57604: Waiting [2023-02-23T01:19:16.071Z] 21b2b0c7a3f4: Waiting [2023-02-23T01:19:16.071Z] 22ff95d597cd: Waiting [2023-02-23T01:19:16.071Z] 12d6caf4c0d1: Waiting [2023-02-23T01:19:16.071Z] 96b7cbca73a9: Waiting [2023-02-23T01:19:16.071Z] 93c1e223e6f2: Verifying Checksum [2023-02-23T01:19:16.071Z] 93c1e223e6f2: Download complete [2023-02-23T01:19:16.071Z] 4583459ba037: Download complete [2023-02-23T01:19:16.071Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-23T01:19:16.071Z] 21b2b0c7a3f4: Download complete [2023-02-23T01:19:16.331Z] 22ff95d597cd: Verifying Checksum [2023-02-23T01:19:16.331Z] 22ff95d597cd: Download complete [2023-02-23T01:19:16.331Z] 213ec9aee27d: Verifying Checksum [2023-02-23T01:19:16.331Z] 213ec9aee27d: Download complete [2023-02-23T01:19:16.331Z] 12d6caf4c0d1: Download complete [2023-02-23T01:19:16.331Z] 213ec9aee27d: Pull complete [2023-02-23T01:19:16.594Z] 4583459ba037: Pull complete [2023-02-23T01:19:16.594Z] 93c1e223e6f2: Pull complete [2023-02-23T01:19:16.855Z] a7acece74701: Verifying Checksum [2023-02-23T01:19:16.855Z] a7acece74701: Download complete [2023-02-23T01:19:17.428Z] 96b7cbca73a9: Verifying Checksum [2023-02-23T01:19:17.428Z] 53926ce57604: Verifying Checksum [2023-02-23T01:19:17.428Z] 53926ce57604: Download complete [2023-02-23T01:19:21.621Z] 53926ce57604: Pull complete [2023-02-23T01:19:21.621Z] 21b2b0c7a3f4: Pull complete [2023-02-23T01:19:21.621Z] 22ff95d597cd: Pull complete [2023-02-23T01:19:21.621Z] 12d6caf4c0d1: Pull complete [2023-02-23T01:19:23.525Z] 96b7cbca73a9: Pull complete [2023-02-23T01:19:23.782Z] a7acece74701: Pull complete [2023-02-23T01:19:23.782Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-23T01:19:23.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-23T01:19:23.782Z] ---> db6d94c90886 [2023-02-23T01:19:23.782Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:19:25.157Z] ---> Running in 91c50e5b8ca7 [2023-02-23T01:19:25.415Z] Removing intermediate container 91c50e5b8ca7 [2023-02-23T01:19:25.415Z] ---> a272ac306b7f [2023-02-23T01:19:25.415Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:19:25.415Z] ---> Running in e0ea11545032 [2023-02-23T01:19:25.415Z] Removing intermediate container e0ea11545032 [2023-02-23T01:19:25.415Z] ---> ce28f1f878c0 [2023-02-23T01:19:25.415Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:19:25.415Z] ---> Running in 9ddf6943cf90 [2023-02-23T01:19:25.673Z] Removing intermediate container 9ddf6943cf90 [2023-02-23T01:19:25.673Z] ---> ddcfd50544aa [2023-02-23T01:19:25.673Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:19:25.673Z] ---> Running in 0e63aef53485 [2023-02-23T01:19:25.673Z] Removing intermediate container 0e63aef53485 [2023-02-23T01:19:25.673Z] ---> cd5b68defb03 [2023-02-23T01:19:25.673Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:19:25.933Z] ---> Running in ce781de0aefa [2023-02-23T01:19:25.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T01:19:26.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T01:19:26.451Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T01:19:26.451Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T01:19:26.451Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T01:19:26.451Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T01:19:26.451Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:19:26.451Z] OK: 216 MiB in 55 packages [2023-02-23T01:19:27.020Z] Removing intermediate container ce781de0aefa [2023-02-23T01:19:27.020Z] ---> ff98947de59c [2023-02-23T01:19:27.020Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T01:19:27.020Z] ---> Running in acd8fbd38f0b [2023-02-23T01:19:27.020Z] Removing intermediate container acd8fbd38f0b [2023-02-23T01:19:27.020Z] ---> 334cb144221a [2023-02-23T01:19:27.020Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T01:19:27.280Z] ---> 624a94bd2344 [2023-02-23T01:19:27.280Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:19:27.280Z] ---> Running in e71b63ac8d03 [2023-02-23T01:19:28.979Z] Still waiting to schedule task [2023-02-23T01:19:28.979Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-23T01:19:53.860Z] Removing intermediate container e71b63ac8d03 [2023-02-23T01:19:53.860Z] ---> b27892055925 [2023-02-23T01:19:53.860Z] Step 11/12 : COPY . . [2023-02-23T01:19:53.860Z] ---> 52ca4124bb49 [2023-02-23T01:19:53.860Z] Step 12/12 : RUN $MAKE [2023-02-23T01:19:53.860Z] ---> Running in 52d837c725c7 [2023-02-23T01:19:53.860Z] noop [2023-02-23T01:19:53.860Z] Removing intermediate container 52d837c725c7 [2023-02-23T01:19:53.860Z] ---> c18fbc18406b [2023-02-23T01:19:53.860Z] Successfully built c18fbc18406b [2023-02-23T01:19:53.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:54.319Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T01:19:54.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:19:54.475Z] prd-ubuntu20.04-docker-8c-8g-7172 does not seem to be running inside a container [2023-02-23T01:19:54.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-496 -v /w/workspace/gexfoundry_device-mqtt-go_PR-496:/w/workspace/gexfoundry_device-mqtt-go_PR-496:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-496@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-02-23T01:19:54.879Z] $ docker top ef57f18e4c46c04d0fcc618f82dcce0bde6de8b9c44998ff6d723dfc0bbedc3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:19:55.274Z] + go version [2023-02-23T01:19:55.274Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-23T01:19:55.318Z] $ docker stop --time=1 ef57f18e4c46c04d0fcc618f82dcce0bde6de8b9c44998ff6d723dfc0bbedc3d [2023-02-23T01:19:56.592Z] $ docker rm -f --volumes ef57f18e4c46c04d0fcc618f82dcce0bde6de8b9c44998ff6d723dfc0bbedc3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:57.305Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T01:19:57.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:19:57.457Z] prd-ubuntu20.04-docker-8c-8g-7172 does not seem to be running inside a container [2023-02-23T01:19:57.490Z] $ 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-496 -v /w/workspace/gexfoundry_device-mqtt-go_PR-496:/w/workspace/gexfoundry_device-mqtt-go_PR-496:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-496@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-02-23T01:19:57.871Z] $ docker top a7365e7e2ebefaee3a6713c75fca4cd643fe46de7f951d079ac01737dd48a536 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:19:58.258Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-496 [Pipeline] fileExists [Pipeline] sh [2023-02-23T01:19:58.617Z] + make test [2023-02-23T01:19:58.617Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T01:19:58.875Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T01:20:04.146Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-02-23T01:20:04.146Z] /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-02-23T01:20:08.336Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-02-23T01:20:08.336Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-23T01:20:08.386Z] $ docker stop --time=1 a7365e7e2ebefaee3a6713c75fca4cd643fe46de7f951d079ac01737dd48a536 [2023-02-23T01:20:10.450Z] $ docker rm -f --volumes a7365e7e2ebefaee3a6713c75fca4cd643fe46de7f951d079ac01737dd48a536 [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-02-23T01:20:11.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:11.599Z] [2023-02-23T01:20:11.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:20:11.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:11.980Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-23T01:20:11.980Z] 5eb5b503b376: Pulling fs layer [2023-02-23T01:20:11.980Z] 5c69ac0246d0: Pulling fs layer [2023-02-23T01:20:11.980Z] ec43610c2a17: Pulling fs layer [2023-02-23T01:20:11.980Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-23T01:20:11.980Z] 33b1e0a273af: Pulling fs layer [2023-02-23T01:20:11.980Z] 5d3b04190fa2: Pulling fs layer [2023-02-23T01:20:11.980Z] 2f39f015ded8: Pulling fs layer [2023-02-23T01:20:11.980Z] 3a2ae6a8a46f: Waiting [2023-02-23T01:20:11.980Z] 2f39f015ded8: Waiting [2023-02-23T01:20:11.980Z] 33b1e0a273af: Waiting [2023-02-23T01:20:11.980Z] 5d3b04190fa2: Waiting [2023-02-23T01:20:11.980Z] 5c69ac0246d0: Download complete [2023-02-23T01:20:11.980Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-23T01:20:11.980Z] 3a2ae6a8a46f: Download complete [2023-02-23T01:20:12.239Z] 33b1e0a273af: Verifying Checksum [2023-02-23T01:20:12.239Z] 33b1e0a273af: Download complete [2023-02-23T01:20:12.239Z] ec43610c2a17: Verifying Checksum [2023-02-23T01:20:12.239Z] ec43610c2a17: Download complete [2023-02-23T01:20:12.239Z] 5d3b04190fa2: Verifying Checksum [2023-02-23T01:20:12.239Z] 5d3b04190fa2: Download complete [2023-02-23T01:20:12.239Z] 5eb5b503b376: Verifying Checksum [2023-02-23T01:20:12.239Z] 5eb5b503b376: Download complete [2023-02-23T01:20:13.173Z] 2f39f015ded8: Download complete [2023-02-23T01:20:13.432Z] 5eb5b503b376: Pull complete [2023-02-23T01:20:13.432Z] 5c69ac0246d0: Pull complete [2023-02-23T01:20:14.001Z] ec43610c2a17: Pull complete [2023-02-23T01:20:14.001Z] 3a2ae6a8a46f: Pull complete [2023-02-23T01:20:14.261Z] 33b1e0a273af: Pull complete [2023-02-23T01:20:14.261Z] 5d3b04190fa2: Pull complete [2023-02-23T01:20:18.460Z] 2f39f015ded8: Pull complete [2023-02-23T01:20:18.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-23T01:20:18.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:18.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:20:18.708Z] prd-ubuntu20.04-docker-8c-8g-7172 does not seem to be running inside a container [2023-02-23T01:20:18.783Z] $ 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-496 -v /w/workspace/gexfoundry_device-mqtt-go_PR-496:/w/workspace/gexfoundry_device-mqtt-go_PR-496:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-496@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-02-23T01:20:22.088Z] $ docker top 10d87a504763d519292d572df1baeac23978da36ddfd44aa7c1d3db22960d079 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:20:22.558Z] ---> job-cost.sh [2023-02-23T01:20:22.559Z] lf-activate-venv: SKIPPING [2023-02-23T01:20:22.559Z] INFO: No Stack... [2023-02-23T01:20:22.818Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T01:20:23.077Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T01:20:23.393Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives/cost.csv [2023-02-23T01:20:23.393Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T01:20:23.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [2023-02-23T01:20:23.442Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] did not exist. Created. [2023-02-23T01:20:23.442Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T01:20:23.831Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-23T01:20:23.887Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T01:20:23.901Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T01:20:23.982Z] $ docker stop --time=1 10d87a504763d519292d572df1baeac23978da36ddfd44aa7c1d3db22960d079 [2023-02-23T01:20:25.145Z] $ docker rm -f --volumes 10d87a504763d519292d572df1baeac23978da36ddfd44aa7c1d3db22960d079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-23T01:20:25.658Z] Failed in branch amd64 [2023-02-23T01:22:39.568Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7174 in /w/workspace/gexfoundry_device-mqtt-go_PR-496 [Pipeline] { [Pipeline] ws [2023-02-23T01:22:39.631Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-23T01:22:39.714Z] Selected Git installation does not exist. Using Default [2023-02-23T01:22:39.714Z] The recommended git tool is: NONE [2023-02-23T01:22:45.402Z] using credential edgex-jenkins-ssh [2023-02-23T01:22:45.420Z] Cloning the remote Git repository [2023-02-23T01:22:45.470Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:22:45.550Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-23T01:22:45.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:22:45.730Z] > git --version # timeout=10 [2023-02-23T01:22:45.750Z] > git --version # 'git version 2.25.1' [2023-02-23T01:22:45.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:22:45.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T01:22:47.024Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T01:22:47.049Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T01:22:48.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T01:22:48.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:22:48.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:22:48.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-23T01:22:48.669Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [2023-02-23T01:22:48.934Z] Merge succeeded, producing 1eacea0bdd025a052a9a88779ca3db2b513e35f0 [2023-02-23T01:22:48.934Z] Checking out Revision 1eacea0bdd025a052a9a88779ca3db2b513e35f0 (PR-496) [2023-02-23T01:22:49.471Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-23T01:22:49.523Z] > git --version # timeout=10 [2023-02-23T01:22:49.536Z] > git --version # 'git version 2.25.1' [2023-02-23T01:22:49.569Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [2023-02-23T01:22:48.691Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T01:22:48.720Z] > git checkout -f 1eacea0bdd025a052a9a88779ca3db2b513e35f0 # timeout=10 [2023-02-23T01:22:48.821Z] > git remote # timeout=10 [2023-02-23T01:22:48.844Z] > git config --get remote.origin.url # timeout=10 [2023-02-23T01:22:48.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:22:48.883Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-23T01:22:48.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-23T01:22:48.944Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T01:22:48.961Z] > git checkout -f 1eacea0bdd025a052a9a88779ca3db2b513e35f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T01:22:50.743Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-23T01:22:50.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T01:22:50.743Z] Dload Upload Total Spent Left Speed [2023-02-23T01:22:50.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-02-23T01:22:51.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-23T01:22:51.794Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-02-23T01:22:51.794Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-23T01:22:51.794Z] { [2023-02-23T01:22:51.794Z] "registry-mirrors": [ [2023-02-23T01:22:51.794Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-23T01:22:51.794Z] ], [2023-02-23T01:22:51.794Z] "bip": "10.250.0.254/24", [2023-02-23T01:22:51.794Z] "hosts": [ [2023-02-23T01:22:51.794Z] "tcp://0.0.0.0:5555", [2023-02-23T01:22:51.794Z] "unix:///var/run/docker.sock" [2023-02-23T01:22:51.794Z] ], [2023-02-23T01:22:51.794Z] "mtu": 1458, [2023-02-23T01:22:51.794Z] "selinux-enabled": true, [2023-02-23T01:22:51.794Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-23T01:22:51.794Z] } [Pipeline] sh [2023-02-23T01:22:52.155Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-23T01:22:52.517Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:23:10.845Z] provisioning config files... [2023-02-23T01:23:10.874Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10285109928402828720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:23:11.278Z] ---> docker-login.sh [2023-02-23T01:23:11.278Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:23:11.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:23:11.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:23:11.873Z] Configure a credential helper to remove this warning. See [2023-02-23T01:23:11.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:23:11.873Z] [2023-02-23T01:23:11.873Z] Login Succeeded [2023-02-23T01:23:11.873Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:23:12.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:23:12.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:23:12.418Z] Configure a credential helper to remove this warning. See [2023-02-23T01:23:12.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:23:12.418Z] [2023-02-23T01:23:12.418Z] Login Succeeded [2023-02-23T01:23:12.418Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:23:12.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:23:12.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:23:12.689Z] Configure a credential helper to remove this warning. See [2023-02-23T01:23:12.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:23:12.689Z] [2023-02-23T01:23:12.689Z] Login Succeeded [2023-02-23T01:23:12.689Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:23:12.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:23:13.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:23:13.235Z] Configure a credential helper to remove this warning. See [2023-02-23T01:23:13.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:23:13.235Z] [2023-02-23T01:23:13.235Z] Login Succeeded [2023-02-23T01:23:13.235Z] docker.io [2023-02-23T01:23:13.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:23:13.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:23:13.781Z] Configure a credential helper to remove this warning. See [2023-02-23T01:23:13.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:23:13.781Z] [2023-02-23T01:23:13.781Z] Login Succeeded [2023-02-23T01:23:13.781Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:23:13.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T01:23:14.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:23:14.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:23:14.297Z] ========================================================= [2023-02-23T01:23:14.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-23T01:23:14.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:23:14.815Z] + 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-02-23T01:23:15.087Z] Sending build context to Docker daemon 3.288MB [2023-02-23T01:23:15.087Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:23:15.087Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T01:23:15.396Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-23T01:23:15.396Z] 9b18e9b68314: Pulling fs layer [2023-02-23T01:23:15.396Z] 35d82f9e3411: Pulling fs layer [2023-02-23T01:23:15.396Z] e16973657156: Pulling fs layer [2023-02-23T01:23:15.396Z] fc693d55d65f: Pulling fs layer [2023-02-23T01:23:15.396Z] 7e9fc2657dce: Pulling fs layer [2023-02-23T01:23:15.396Z] dda99020689f: Pulling fs layer [2023-02-23T01:23:15.396Z] db1c61fa0a46: Pulling fs layer [2023-02-23T01:23:15.396Z] 891c053d2c06: Pulling fs layer [2023-02-23T01:23:15.396Z] fc693d55d65f: Waiting [2023-02-23T01:23:15.396Z] 7e9fc2657dce: Waiting [2023-02-23T01:23:15.396Z] dda99020689f: Waiting [2023-02-23T01:23:15.396Z] 891c053d2c06: Waiting [2023-02-23T01:23:15.396Z] db1c61fa0a46: Waiting [2023-02-23T01:23:15.396Z] e16973657156: Verifying Checksum [2023-02-23T01:23:15.396Z] e16973657156: Download complete [2023-02-23T01:23:15.396Z] 35d82f9e3411: Verifying Checksum [2023-02-23T01:23:15.396Z] 35d82f9e3411: Download complete [2023-02-23T01:23:15.396Z] 7e9fc2657dce: Verifying Checksum [2023-02-23T01:23:15.396Z] 7e9fc2657dce: Download complete [2023-02-23T01:23:15.396Z] dda99020689f: Verifying Checksum [2023-02-23T01:23:15.396Z] dda99020689f: Download complete [2023-02-23T01:23:15.396Z] 9b18e9b68314: Download complete [2023-02-23T01:23:16.220Z] 9b18e9b68314: Pull complete [2023-02-23T01:23:16.820Z] 891c053d2c06: Verifying Checksum [2023-02-23T01:23:16.820Z] 891c053d2c06: Download complete [2023-02-23T01:23:17.800Z] db1c61fa0a46: Verifying Checksum [2023-02-23T01:23:17.800Z] db1c61fa0a46: Download complete [2023-02-23T01:23:18.394Z] 35d82f9e3411: Pull complete [2023-02-23T01:23:18.665Z] fc693d55d65f: Verifying Checksum [2023-02-23T01:23:18.665Z] fc693d55d65f: Download complete [2023-02-23T01:23:18.665Z] e16973657156: Pull complete [2023-02-23T01:23:33.708Z] fc693d55d65f: Pull complete [2023-02-23T01:23:33.708Z] 7e9fc2657dce: Pull complete [2023-02-23T01:23:33.708Z] dda99020689f: Pull complete [2023-02-23T01:23:37.996Z] db1c61fa0a46: Pull complete [2023-02-23T01:23:40.109Z] 891c053d2c06: Pull complete [2023-02-23T01:23:40.109Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-23T01:23:40.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-23T01:23:40.109Z] ---> f96f9c87975a [2023-02-23T01:23:40.109Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:23:42.077Z] ---> Running in bf7149634f13 [2023-02-23T01:23:42.077Z] Removing intermediate container bf7149634f13 [2023-02-23T01:23:42.077Z] ---> 7543c9ee995e [2023-02-23T01:23:42.077Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:23:42.345Z] ---> Running in c5292eb5c57c [2023-02-23T01:23:42.619Z] Removing intermediate container c5292eb5c57c [2023-02-23T01:23:42.619Z] ---> 290b58d21e16 [2023-02-23T01:23:42.619Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:23:42.619Z] ---> Running in e929545d7999 [2023-02-23T01:23:42.888Z] Removing intermediate container e929545d7999 [2023-02-23T01:23:42.888Z] ---> 26c1f4ef0b5f [2023-02-23T01:23:42.888Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:23:43.174Z] ---> Running in 6fdf2f79fb3e [2023-02-23T01:23:43.445Z] Removing intermediate container 6fdf2f79fb3e [2023-02-23T01:23:43.445Z] ---> 76cc82981387 [2023-02-23T01:23:43.445Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:23:43.445Z] ---> Running in 8693a37f9500 [2023-02-23T01:23:44.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T01:23:45.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T01:23:46.101Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T01:23:46.101Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T01:23:46.101Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T01:23:46.101Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T01:23:46.101Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:23:46.101Z] OK: 226 MiB in 55 packages [2023-02-23T01:23:47.516Z] Removing intermediate container 8693a37f9500 [2023-02-23T01:23:47.516Z] ---> 29fdfa540584 [2023-02-23T01:23:47.516Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T01:23:47.516Z] ---> Running in 3dc0e58750c5 [2023-02-23T01:23:47.516Z] Removing intermediate container 3dc0e58750c5 [2023-02-23T01:23:47.516Z] ---> 29d464895810 [2023-02-23T01:23:47.516Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T01:23:48.114Z] ---> b8855749e4c5 [2023-02-23T01:23:48.114Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:23:48.386Z] ---> Running in 8408328b7910 [2023-02-23T01:24:56.289Z] Removing intermediate container 8408328b7910 [2023-02-23T01:24:56.289Z] ---> b50823654c91 [2023-02-23T01:24:56.289Z] Step 11/12 : COPY . . [2023-02-23T01:24:56.289Z] ---> a565035f578f [2023-02-23T01:24:56.289Z] Step 12/12 : RUN $MAKE [2023-02-23T01:24:56.289Z] ---> Running in 0c86599edde1 [2023-02-23T01:24:56.289Z] noop [2023-02-23T01:24:56.289Z] Removing intermediate container 0c86599edde1 [2023-02-23T01:24:56.289Z] ---> 09e26b6d9e35 [2023-02-23T01:24:56.289Z] Successfully built 09e26b6d9e35 [2023-02-23T01:24:56.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:24:56.774Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T01:24:56.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:24:57.037Z] prd-ubuntu20.04-docker-arm64-4c-16g-7174 does not seem to be running inside a container [2023-02-23T01:24:57.113Z] $ 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-02-23T01:25:01.173Z] $ docker top 7e534ad2b9c0b5dbf8ec8a6db54fdef9813ea4c2b49700391eeee696bc925a76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:25:02.097Z] + go version [2023-02-23T01:25:02.097Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-23T01:25:02.143Z] $ docker stop --time=1 7e534ad2b9c0b5dbf8ec8a6db54fdef9813ea4c2b49700391eeee696bc925a76 [2023-02-23T01:25:03.789Z] $ docker rm -f --volumes 7e534ad2b9c0b5dbf8ec8a6db54fdef9813ea4c2b49700391eeee696bc925a76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:25:04.674Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T01:25:04.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:25:04.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-7174 does not seem to be running inside a container [2023-02-23T01:25:05.010Z] $ 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-02-23T01:25:06.248Z] $ docker top 3bc118e2b1499eb3e65f20d08203cfbcbf503f12e321a8262eb2e118d7fe1c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:25:07.132Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-23T01:25:07.866Z] + make test [2023-02-23T01:25:07.866Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T01:25:09.817Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T01:25:36.573Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-02-23T01:25:36.574Z] /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-02-23T01:26:33.085Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-02-23T01:26:33.085Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-23T01:26:33.130Z] $ docker stop --time=1 3bc118e2b1499eb3e65f20d08203cfbcbf503f12e321a8262eb2e118d7fe1c40 [2023-02-23T01:26:34.864Z] $ docker rm -f --volumes 3bc118e2b1499eb3e65f20d08203cfbcbf503f12e321a8262eb2e118d7fe1c40 [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-02-23T01:26:36.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:26:36.338Z] [2023-02-23T01:26:36.338Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:26:36.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:26:37.006Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-23T01:26:37.006Z] 8998bd30e6a1: Pulling fs layer [2023-02-23T01:26:37.006Z] 04944245beec: Pulling fs layer [2023-02-23T01:26:37.006Z] 699f458cf7ca: Pulling fs layer [2023-02-23T01:26:37.006Z] 765212b225bb: Pulling fs layer [2023-02-23T01:26:37.006Z] f23df028b6ca: Pulling fs layer [2023-02-23T01:26:37.006Z] d65c8cfc05b1: Pulling fs layer [2023-02-23T01:26:37.006Z] 2437ff75d9bd: Pulling fs layer [2023-02-23T01:26:37.006Z] f23df028b6ca: Waiting [2023-02-23T01:26:37.006Z] d65c8cfc05b1: Waiting [2023-02-23T01:26:37.006Z] 765212b225bb: Waiting [2023-02-23T01:26:37.006Z] 2437ff75d9bd: Waiting [2023-02-23T01:26:37.006Z] 04944245beec: Verifying Checksum [2023-02-23T01:26:37.006Z] 04944245beec: Download complete [2023-02-23T01:26:37.006Z] 765212b225bb: Verifying Checksum [2023-02-23T01:26:37.006Z] 765212b225bb: Download complete [2023-02-23T01:26:37.274Z] f23df028b6ca: Verifying Checksum [2023-02-23T01:26:37.274Z] f23df028b6ca: Download complete [2023-02-23T01:26:37.274Z] d65c8cfc05b1: Verifying Checksum [2023-02-23T01:26:37.274Z] d65c8cfc05b1: Download complete [2023-02-23T01:26:37.274Z] 699f458cf7ca: Verifying Checksum [2023-02-23T01:26:37.274Z] 699f458cf7ca: Download complete [2023-02-23T01:26:37.862Z] 8998bd30e6a1: Download complete [2023-02-23T01:26:39.812Z] 2437ff75d9bd: Verifying Checksum [2023-02-23T01:26:39.812Z] 2437ff75d9bd: Download complete [2023-02-23T01:26:41.755Z] 8998bd30e6a1: Pull complete [2023-02-23T01:26:45.100Z] 04944245beec: Pull complete [2023-02-23T01:26:46.059Z] 699f458cf7ca: Pull complete [2023-02-23T01:26:46.325Z] 765212b225bb: Pull complete [2023-02-23T01:26:46.907Z] f23df028b6ca: Pull complete [2023-02-23T01:26:47.173Z] d65c8cfc05b1: Pull complete [2023-02-23T01:27:05.394Z] 2437ff75d9bd: Pull complete [2023-02-23T01:27:05.394Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-23T01:27:05.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:27:05.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:27:05.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-7174 does not seem to be running inside a container [2023-02-23T01:27:05.789Z] $ 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-02-23T01:27:06.706Z] $ docker top 2f3f8bacbdd82e421b8a17b70c5b876d0d8b130aa525208cde8ef97a1f0da2cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:07.293Z] ---> job-cost.sh [2023-02-23T01:27:07.559Z] lf-activate-venv: SKIPPING [2023-02-23T01:27:07.559Z] INFO: No Stack... [2023-02-23T01:27:07.824Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-23T01:27:08.784Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T01:27:09.441Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-23T01:27:09.441Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T01:27:09.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [2023-02-23T01:27:09.531Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] did not exist. Created. [2023-02-23T01:27:09.531Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T01:27:10.257Z] /w/workspace/device-mqtt-go/1@tmp/durable-2b92bb64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-23T01:27:11.309Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-23T01:27:11.350Z] Warning: overwriting stash ‘stack-cost’ [2023-02-23T01:27:11.821Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T01:27:11.839Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T01:27:11.921Z] $ docker stop --time=1 2f3f8bacbdd82e421b8a17b70c5b876d0d8b130aa525208cde8ef97a1f0da2cc [2023-02-23T01:27:13.492Z] $ docker rm -f --volumes 2f3f8bacbdd82e421b8a17b70c5b876d0d8b130aa525208cde8ef97a1f0da2cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-23T01:27:14.240Z] 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-02-23T01:27:16.237Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives ] [2023-02-23T01:27:16.237Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives [2023-02-23T01:27:16.237Z] total 16 [2023-02-23T01:27:16.237Z] drwxr-xr-x 3 root root 4096 Feb 23 01:20 . [2023-02-23T01:27:16.237Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 01:20 .. [2023-02-23T01:27:16.237Z] drwxr-xr-x 2 root root 4096 Feb 23 01:20 cost [2023-02-23T01:27:16.237Z] -rw-r--r-- 1 root root 86 Feb 23 01:20 cost.csv [2023-02-23T01:27:16.237Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives [2023-02-23T01:27:16.237Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives [2023-02-23T01:27:16.237Z] total 16 [2023-02-23T01:27:16.237Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 01:20 . [2023-02-23T01:27:16.237Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 01:20 .. [2023-02-23T01:27:16.237Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 01:20 cost [2023-02-23T01:27:16.237Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 23 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:16.568Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:17.455Z] ---> package-listing.sh [2023-02-23T01:27:17.455Z] ++ facter osfamily [2023-02-23T01:27:17.455Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-23T01:27:17.715Z] + OS_FAMILY=debian [2023-02-23T01:27:17.715Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-496 [2023-02-23T01:27:17.715Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-23T01:27:17.715Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-23T01:27:17.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-23T01:27:17.715Z] + PACKAGES=/tmp/packages_start.txt [2023-02-23T01:27:17.715Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-496 ']' [2023-02-23T01:27:17.715Z] + PACKAGES=/tmp/packages_end.txt [2023-02-23T01:27:17.715Z] + case "${OS_FAMILY}" in [2023-02-23T01:27:17.715Z] + dpkg -l [2023-02-23T01:27:17.715Z] + grep '^ii' [2023-02-23T01:27:17.715Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-23T01:27:17.715Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-23T01:27:17.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-23T01:27:17.715Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-496 ']' [2023-02-23T01:27:17.715Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives/ [2023-02-23T01:27:17.715Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-496/archives/ [Pipeline] echo [2023-02-23T01:27:17.750Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-23T01:27:18.043Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:27:18.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:27:18.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:27:18.843Z] prd-ubuntu20.04-docker-8c-8g-7172 does not seem to be running inside a container [2023-02-23T01:27:18.878Z] $ 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-496/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-496 -v /w/workspace/gexfoundry_device-mqtt-go_PR-496:/w/workspace/gexfoundry_device-mqtt-go_PR-496:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-496@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-02-23T01:27:19.074Z] $ docker top 43d527b0ccaebc9f02bc83900805ecdf38069117bb9747b051996c64cf8f7772 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:27:19.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-23T01:27:19.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-23T01:27:20.073Z] + ls /var/log/sa-host [2023-02-23T01:27:20.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:27:20.281Z] provisioning config files... [2023-02-23T01:27:20.288Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-496@tmp/config4236452016147731249tmp [Pipeline] { [Pipeline] echo [2023-02-23T01:27:20.346Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:20.661Z] ---> create-netrc.sh [Pipeline] } [2023-02-23T01:27:20.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:21.123Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-23T01:27:21.156Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:21.468Z] ---> sudo-logs.sh [2023-02-23T01:27:21.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-23T01:27:21.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:21.884Z] ---> job-cost.sh [2023-02-23T01:27:21.884Z] lf-activate-venv: SKIPPING [2023-02-23T01:27:21.884Z] DEBUG: total: 0.2199999988079071 [2023-02-23T01:27:21.884Z] INFO: Retrieving Stack Cost... [2023-02-23T01:27:22.143Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T01:27:22.712Z] INFO: Archiving Costs [Pipeline] echo [2023-02-23T01:27:22.750Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:27:23.061Z] ---> logs-deploy.sh [2023-02-23T01:27:23.061Z] lf-activate-venv: SKIPPING [2023-02-23T01:27:23.061Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-496/1 [2023-02-23T01:27:23.061Z] INFO: archiving workspace using pattern(s): [2023-02-23T01:27:23.998Z] Archives upload complete. [2023-02-23T01:27:23.998Z] INFO: archiving logs to Nexus