Pull request #564 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f0b01742971cf1d14213e106c16a02f0ee8c368+6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 (9f2a34cb6de4045da97760ef51ae331b0a6ec096) 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-ssh4359638504481760484.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17319932846687288307.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-564/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-564/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14173216557741967099.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-564/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7171778959913629506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3506938092244437268.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-564/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-564/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh792668217225729949.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-8835 in /w/workspace/gexfoundry_device-mqtt-go_PR-564 [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-564 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit 2f0b01742971cf1d14213e106c16a02f0ee8c368 > 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/564/head:refs/remotes/origin/PR-564 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0b01742971cf1d14213e106c16a02f0ee8c368 # timeout=10 Merge succeeded, producing 2f0b01742971cf1d14213e106c16a02f0ee8c368 Checking out Revision 2f0b01742971cf1d14213e106c16a02f0ee8c368 (PR-564) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T01:59:13.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T01:59:13.587Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T01:59:13.688Z] ========================================================= [2023-04-18T01:59:13.689Z] EdgeX Global Pipelines Version Info [2023-04-18T01:59:13.689Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0b01742971cf1d14213e106c16a02f0ee8c368 # timeout=10 [2023-04-18T01:59:14.418Z] ------------------- [2023-04-18T01:59:14.418Z] stable info: [2023-04-18T01:59:14.418Z] ------------------- [2023-04-18T01:59:14.418Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T01:59:14.418Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T01:59:14.418Z] Message: update stable to v1.0.248 [2023-04-18T01:59:14.992Z] ------------------- [2023-04-18T01:59:14.992Z] experimental info: [2023-04-18T01:59:14.992Z] ------------------- [2023-04-18T01:59:14.992Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T01:59:14.992Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T01:59:14.992Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T01:59:15.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-18T01:59:15.289Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-18T01:59:15.336Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T01:59:15.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T01:59:15.421Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T01:59:15.461Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T01:59:15.501Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T01:59:15.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T01:59:15.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T01:59:15.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T01:59:15.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T01:59:15.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-18T01:59:15.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T01:59:15.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T01:59:15.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T01:59:15.878Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T01:59:15.921Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T01:59:15.963Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T01:59:16.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T01:59:16.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T01:59:16.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T01:59:16.128Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T01:59:16.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T01:59:16.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T01:59:16.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T01:59:16.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T01:59:16.324Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T01:59:16.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-564 [Pipeline] echo [2023-04-18T01:59:16.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-564 [Pipeline] echo [2023-04-18T01:59:16.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-564 [Pipeline] echo [2023-04-18T01:59:16.494Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f0b01742971cf1d14213e106c16a02f0ee8c368 [Pipeline] echo [2023-04-18T01:59:16.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f0b017 [Pipeline] echo [2023-04-18T01:59:16.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T01:59:16.694Z] provisioning config files... [2023-04-18T01:59:16.708Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/config9706814026324364469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T01:59:17.044Z] ---> docker-login.sh [2023-04-18T01:59:17.044Z] nexus3.edgexfoundry.org:10001 [2023-04-18T01:59:17.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:17.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:17.306Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:17.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:17.306Z] [2023-04-18T01:59:17.306Z] Login Succeeded [2023-04-18T01:59:17.306Z] nexus3.edgexfoundry.org:10002 [2023-04-18T01:59:17.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:17.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:17.566Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:17.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:17.566Z] [2023-04-18T01:59:17.566Z] Login Succeeded [2023-04-18T01:59:17.566Z] nexus3.edgexfoundry.org:10003 [2023-04-18T01:59:17.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:17.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:17.566Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:17.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:17.566Z] [2023-04-18T01:59:17.566Z] Login Succeeded [2023-04-18T01:59:17.566Z] nexus3.edgexfoundry.org:10004 [2023-04-18T01:59:17.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:17.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:17.566Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:17.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:17.567Z] [2023-04-18T01:59:17.567Z] Login Succeeded [2023-04-18T01:59:17.567Z] docker.io [2023-04-18T01:59:17.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:18.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:18.088Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:18.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:18.088Z] [2023-04-18T01:59:18.088Z] Login Succeeded [2023-04-18T01:59:18.088Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T01:59:18.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T01:59:18.756Z] + git rev-list -1 --merges 2f0b01742971cf1d14213e106c16a02f0ee8c368~1..2f0b01742971cf1d14213e106c16a02f0ee8c368 [Pipeline] echo [2023-04-18T01:59:18.818Z] -----------> git rev-list -1 --merges 2f0b01742971cf1d14213e106c16a02f0ee8c368~1..2f0b01742971cf1d14213e106c16a02f0ee8c368 2f0b01742971cf1d14213e106c16a02f0ee8c368 [false] [Pipeline] sh [2023-04-18T01:59:19.138Z] + git log --format=format:%s -1 2f0b01742971cf1d14213e106c16a02f0ee8c368 [Pipeline] echo [2023-04-18T01:59:19.175Z] ========================================================= [2023-04-18T01:59:19.175Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T01:59:19.175Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T01:59:19.595Z] + git log --format=format:%s -1 2f0b01742971cf1d14213e106c16a02f0ee8c368 [Pipeline] echo [2023-04-18T01:59:19.625Z] [semverPrep] GIT_COMMIT: 2f0b01742971cf1d14213e106c16a02f0ee8c368, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-18T01:59:19.652Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T01:59:20.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T01:59:20.038Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T01:59:20.038Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T01:59:20.038Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T01:59:20.038Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T01:59:20.038Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T01:59:20.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T01:59:20.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T01:59:20.515Z] [2023-04-18T01:59:20.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T01:59:20.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T01:59:20.883Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T01:59:20.883Z] b85a868b505f: Pulling fs layer [2023-04-18T01:59:20.883Z] e2be974225ed: Pulling fs layer [2023-04-18T01:59:20.883Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T01:59:20.883Z] 988bab9f4d93: Pulling fs layer [2023-04-18T01:59:20.883Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T01:59:20.883Z] eaf3925da568: Pulling fs layer [2023-04-18T01:59:20.883Z] bab4dde63d76: Pulling fs layer [2023-04-18T01:59:20.883Z] bde34c3a00c8: Pulling fs layer [2023-04-18T01:59:20.883Z] b352a97aabf1: Pulling fs layer [2023-04-18T01:59:20.883Z] 4872d77fe225: Pulling fs layer [2023-04-18T01:59:20.883Z] 5851b861e8e6: Pulling fs layer [2023-04-18T01:59:20.883Z] 988bab9f4d93: Waiting [2023-04-18T01:59:20.883Z] 1469e6f7b9e6: Waiting [2023-04-18T01:59:20.883Z] eaf3925da568: Waiting [2023-04-18T01:59:20.883Z] bab4dde63d76: Waiting [2023-04-18T01:59:20.883Z] bde34c3a00c8: Waiting [2023-04-18T01:59:20.883Z] b352a97aabf1: Waiting [2023-04-18T01:59:20.883Z] 4872d77fe225: Waiting [2023-04-18T01:59:20.883Z] 5851b861e8e6: Waiting [2023-04-18T01:59:20.883Z] e2be974225ed: Download complete [2023-04-18T01:59:20.883Z] 988bab9f4d93: Download complete [2023-04-18T01:59:20.883Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T01:59:20.883Z] 339a4e72a1f5: Download complete [2023-04-18T01:59:20.883Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T01:59:20.883Z] 1469e6f7b9e6: Download complete [2023-04-18T01:59:21.143Z] eaf3925da568: Download complete [2023-04-18T01:59:21.143Z] bde34c3a00c8: Verifying Checksum [2023-04-18T01:59:21.143Z] bde34c3a00c8: Download complete [2023-04-18T01:59:21.143Z] b352a97aabf1: Verifying Checksum [2023-04-18T01:59:21.143Z] b352a97aabf1: Download complete [2023-04-18T01:59:21.143Z] 4872d77fe225: Verifying Checksum [2023-04-18T01:59:21.143Z] 4872d77fe225: Download complete [2023-04-18T01:59:21.143Z] 5851b861e8e6: Verifying Checksum [2023-04-18T01:59:21.143Z] 5851b861e8e6: Download complete [2023-04-18T01:59:21.143Z] b85a868b505f: Verifying Checksum [2023-04-18T01:59:21.143Z] b85a868b505f: Download complete [2023-04-18T01:59:21.403Z] bab4dde63d76: Verifying Checksum [2023-04-18T01:59:21.403Z] bab4dde63d76: Download complete [2023-04-18T01:59:22.349Z] b85a868b505f: Pull complete [2023-04-18T01:59:22.610Z] e2be974225ed: Pull complete [2023-04-18T01:59:23.179Z] 339a4e72a1f5: Pull complete [2023-04-18T01:59:23.179Z] 988bab9f4d93: Pull complete [2023-04-18T01:59:23.437Z] 1469e6f7b9e6: Pull complete [2023-04-18T01:59:23.438Z] eaf3925da568: Pull complete [2023-04-18T01:59:25.344Z] bab4dde63d76: Pull complete [2023-04-18T01:59:25.344Z] bde34c3a00c8: Pull complete [2023-04-18T01:59:25.344Z] b352a97aabf1: Pull complete [2023-04-18T01:59:25.344Z] 4872d77fe225: Pull complete [2023-04-18T01:59:25.344Z] 5851b861e8e6: Pull complete [2023-04-18T01:59:25.344Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T01:59:25.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T01:59:25.344Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T01:59:25.586Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-04-18T01:59:24.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-564 -v /w/workspace/gexfoundry_device-mqtt-go_PR-564:/w/workspace/gexfoundry_device-mqtt-go_PR-564:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-564@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-04-18T01:59:28.009Z] $ docker top fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 -eo pid,comm [2023-04-18T01:59:28.060Z] 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-04-18T01:59:28.060Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T01:59:28.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T01:59:28.199Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T01:59:28.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T01:59:28.322Z] $ docker exec fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 ssh-agent [2023-04-18T01:59:28.433Z] SSH_AUTH_SOCK=/tmp/ssh-eysG9Z1zHJDg/agent.32 [2023-04-18T01:59:28.433Z] SSH_AGENT_PID=38 [2023-04-18T01:59:28.441Z] Running ssh-add (command line suppressed) [2023-04-18T01:59:28.554Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/private_key_14517478879758301934.key (/w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/private_key_14517478879758301934.key) [2023-04-18T01:59:28.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T01:59:28.900Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T01:59:28.930Z] $ docker exec --env ******** --env ******** fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 ssh-agent -k [2023-04-18T01:59:29.021Z] unset SSH_AUTH_SOCK; [2023-04-18T01:59:29.021Z] unset SSH_AGENT_PID; [2023-04-18T01:59:29.022Z] echo Agent pid 38 killed; [2023-04-18T01:59:29.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T01:59:29.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T01:59:29.115Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T01:59:29.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T01:59:29.243Z] $ docker exec fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 ssh-agent [2023-04-18T01:59:29.343Z] SSH_AUTH_SOCK=/tmp/ssh-CEC2iQzwroXD/agent.71 [2023-04-18T01:59:29.343Z] SSH_AGENT_PID=77 [2023-04-18T01:59:29.348Z] Running ssh-add (command line suppressed) [2023-04-18T01:59:29.460Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/private_key_13314506659874477817.key (/w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/private_key_13314506659874477817.key) [2023-04-18T01:59:29.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T01:59:29.808Z] + git semver init [2023-04-18T01:59:30.068Z] 2023-04-18 01:59:29,985 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T01:59:30.068Z] 2023-04-18 01:59:29,986 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver [2023-04-18T01:59:30.068Z] 2023-04-18 01:59:29,986 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver [2023-04-18T01:59:30.068Z] 2023-04-18 01:59:29,987 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-564, universal_newlines=False, shell=None, istream=None) [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,757 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-564/.git/info/exclude [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver/PR-564 with force:False [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,758 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver/PR-564 [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,762 [execute] INFO git cat-file --batch-check [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,769 [execute] INFO git cat-file --batch [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T01:59:31.005Z] 2023-04-18 01:59:30,773 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-564/.semver/PR-564 [2023-04-18T01:59:31.005Z] 0.0.0 [Pipeline] } [2023-04-18T01:59:31.085Z] $ docker exec --env ******** --env ******** fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 ssh-agent -k [2023-04-18T01:59:31.192Z] unset SSH_AUTH_SOCK; [2023-04-18T01:59:31.192Z] unset SSH_AGENT_PID; [2023-04-18T01:59:31.192Z] echo Agent pid 77 killed; [2023-04-18T01:59:31.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T01:59:31.615Z] + git semver [Pipeline] } [2023-04-18T01:59:31.910Z] $ docker stop --time=1 fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 [2023-04-18T01:59:33.219Z] $ docker rm -f --volumes fa4b97cc2c269de71243eed595019805791593035c96022a1315d6ca44448169 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T01:59:33.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T01:59:33.872Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T01:59:33.905Z] [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-04-18T01:59:34.628Z] provisioning config files... [2023-04-18T01:59:34.637Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/config1136574584188263109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T01:59:34.978Z] ---> docker-login.sh [2023-04-18T01:59:34.978Z] nexus3.edgexfoundry.org:10001 [2023-04-18T01:59:34.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:34.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:34.978Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:34.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:34.978Z] [2023-04-18T01:59:34.978Z] Login Succeeded [2023-04-18T01:59:34.978Z] nexus3.edgexfoundry.org:10002 [2023-04-18T01:59:34.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:34.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:34.978Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:34.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:34.978Z] [2023-04-18T01:59:34.978Z] Login Succeeded [2023-04-18T01:59:34.978Z] nexus3.edgexfoundry.org:10003 [2023-04-18T01:59:35.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:35.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:35.238Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:35.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:35.238Z] [2023-04-18T01:59:35.238Z] Login Succeeded [2023-04-18T01:59:35.238Z] nexus3.edgexfoundry.org:10004 [2023-04-18T01:59:35.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:35.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:35.238Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:35.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:35.238Z] [2023-04-18T01:59:35.238Z] Login Succeeded [2023-04-18T01:59:35.238Z] docker.io [2023-04-18T01:59:35.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T01:59:35.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T01:59:35.497Z] Configure a credential helper to remove this warning. See [2023-04-18T01:59:35.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T01:59:35.497Z] [2023-04-18T01:59:35.497Z] Login Succeeded [2023-04-18T01:59:35.497Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T01:59:35.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T01:59:35.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T01:59:35.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T01:59:35.852Z] ========================================================= [2023-04-18T01:59:35.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T01:59:35.852Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T01:59:36.331Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T01:59:36.331Z] Sending build context to Docker daemon 6.446MB [2023-04-18T01:59:36.331Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T01:59:36.331Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T01:59:36.331Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T01:59:36.331Z] 63b65145d645: Pulling fs layer [2023-04-18T01:59:36.331Z] a2d21d5440eb: Pulling fs layer [2023-04-18T01:59:36.331Z] 935e6c44a52c: Pulling fs layer [2023-04-18T01:59:36.331Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T01:59:36.331Z] 30dea6a524f1: Pulling fs layer [2023-04-18T01:59:36.331Z] a2aff8979fd8: Pulling fs layer [2023-04-18T01:59:36.331Z] 6808be2612f2: Pulling fs layer [2023-04-18T01:59:36.331Z] f25807f1079a: Pulling fs layer [2023-04-18T01:59:36.331Z] 94cc34f8dd06: Waiting [2023-04-18T01:59:36.331Z] 6808be2612f2: Waiting [2023-04-18T01:59:36.331Z] f25807f1079a: Waiting [2023-04-18T01:59:36.331Z] 30dea6a524f1: Waiting [2023-04-18T01:59:36.331Z] a2aff8979fd8: Waiting [2023-04-18T01:59:36.331Z] a2d21d5440eb: Verifying Checksum [2023-04-18T01:59:36.331Z] a2d21d5440eb: Download complete [2023-04-18T01:59:36.331Z] 94cc34f8dd06: Download complete [2023-04-18T01:59:36.331Z] 30dea6a524f1: Verifying Checksum [2023-04-18T01:59:36.331Z] 30dea6a524f1: Download complete [2023-04-18T01:59:36.331Z] 63b65145d645: Verifying Checksum [2023-04-18T01:59:36.331Z] 63b65145d645: Download complete [2023-04-18T01:59:36.593Z] a2aff8979fd8: Verifying Checksum [2023-04-18T01:59:36.593Z] a2aff8979fd8: Download complete [2023-04-18T01:59:36.593Z] 63b65145d645: Pull complete [2023-04-18T01:59:36.852Z] a2d21d5440eb: Pull complete [2023-04-18T01:59:36.852Z] f25807f1079a: Verifying Checksum [2023-04-18T01:59:36.852Z] f25807f1079a: Download complete [2023-04-18T01:59:37.110Z] 935e6c44a52c: Verifying Checksum [2023-04-18T01:59:37.110Z] 935e6c44a52c: Download complete [2023-04-18T01:59:37.110Z] 6808be2612f2: Verifying Checksum [2023-04-18T01:59:40.391Z] 935e6c44a52c: Pull complete [2023-04-18T01:59:40.391Z] 94cc34f8dd06: Pull complete [2023-04-18T01:59:40.391Z] 30dea6a524f1: Pull complete [2023-04-18T01:59:40.391Z] a2aff8979fd8: Pull complete [2023-04-18T01:59:42.925Z] 6808be2612f2: Pull complete [2023-04-18T01:59:43.492Z] f25807f1079a: Pull complete [2023-04-18T01:59:43.492Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T01:59:43.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T01:59:43.492Z] ---> 3b553350e43f [2023-04-18T01:59:43.492Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T01:59:46.971Z] ---> Running in 220e52a4e748 [2023-04-18T01:59:46.971Z] Removing intermediate container 220e52a4e748 [2023-04-18T01:59:46.971Z] ---> 902ac2effa0f [2023-04-18T01:59:46.971Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T01:59:46.971Z] ---> Running in 682d3b8f2ffc [2023-04-18T01:59:46.971Z] Removing intermediate container 682d3b8f2ffc [2023-04-18T01:59:46.971Z] ---> 40fcd3bd4535 [2023-04-18T01:59:46.971Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T01:59:46.971Z] ---> Running in c07d9d865e63 [2023-04-18T01:59:46.971Z] Removing intermediate container c07d9d865e63 [2023-04-18T01:59:46.971Z] ---> 14aebda70126 [2023-04-18T01:59:46.971Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T01:59:46.971Z] ---> Running in 9aa6e1d9c5cd [2023-04-18T01:59:47.229Z] Removing intermediate container 9aa6e1d9c5cd [2023-04-18T01:59:47.229Z] ---> 1c1493d05b14 [2023-04-18T01:59:47.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T01:59:47.229Z] ---> Running in 2f3299be97ce [2023-04-18T01:59:47.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T01:59:47.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T01:59:47.747Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T01:59:47.747Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T01:59:47.747Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T01:59:47.747Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T01:59:47.747Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T01:59:47.747Z] OK: 269 MiB in 57 packages [2023-04-18T01:59:48.313Z] Removing intermediate container 2f3299be97ce [2023-04-18T01:59:48.313Z] ---> e03841597f14 [2023-04-18T01:59:48.313Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-18T01:59:48.313Z] ---> Running in 367742d17a6c [2023-04-18T01:59:48.313Z] Removing intermediate container 367742d17a6c [2023-04-18T01:59:48.313Z] ---> 7b6f1f030ea0 [2023-04-18T01:59:48.313Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T01:59:48.579Z] ---> cc2528af4d91 [2023-04-18T01:59:48.579Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T01:59:48.579Z] ---> Running in b3e4772337b8 [2023-04-18T01:59:49.458Z] Still waiting to schedule task [2023-04-18T01:59:49.458Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-18T02:00:46.389Z] Removing intermediate container b3e4772337b8 [2023-04-18T02:00:46.389Z] ---> 08a2cca61765 [2023-04-18T02:00:46.389Z] Step 11/12 : COPY . . [2023-04-18T02:00:46.389Z] ---> cddbff7a9e07 [2023-04-18T02:00:46.389Z] Step 12/12 : RUN $MAKE [2023-04-18T02:00:46.389Z] ---> Running in 25963e1217eb [2023-04-18T02:00:46.389Z] noop [2023-04-18T02:00:46.389Z] Removing intermediate container 25963e1217eb [2023-04-18T02:00:46.389Z] ---> d4b00d072ef9 [2023-04-18T02:00:46.389Z] Successfully built d4b00d072ef9 [2023-04-18T02:00:46.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:00:46.852Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T02:00:46.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:00:46.998Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-04-18T02:00:47.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-564 -v /w/workspace/gexfoundry_device-mqtt-go_PR-564:/w/workspace/gexfoundry_device-mqtt-go_PR-564:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-564@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-04-18T02:00:47.383Z] $ docker top 5fe602387c5094155a188664393ccc1a6ece382267a73418befc52392f81ea07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:00:47.766Z] + go version [2023-04-18T02:00:47.766Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T02:00:47.823Z] $ docker stop --time=1 5fe602387c5094155a188664393ccc1a6ece382267a73418befc52392f81ea07 [2023-04-18T02:00:49.071Z] $ docker rm -f --volumes 5fe602387c5094155a188664393ccc1a6ece382267a73418befc52392f81ea07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:00:49.777Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T02:00:49.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:00:49.929Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-04-18T02:00:49.973Z] $ 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-564 -v /w/workspace/gexfoundry_device-mqtt-go_PR-564:/w/workspace/gexfoundry_device-mqtt-go_PR-564:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-564@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-04-18T02:00:50.300Z] $ docker top 028be041d8a52390dc418511bd94e6923093a8160797869be4b0bef79af95916 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:00:50.694Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-564 [Pipeline] fileExists [Pipeline] sh [2023-04-18T02:00:51.058Z] + make test [2023-04-18T02:00:51.058Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T02:00:56.326Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-18T02:01:05.143Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-04-18T02:01:05.143Z] internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Start) [2023-04-18T02:01:05.711Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-18T02:01:05.711Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-04-18T02:01:05.711Z] FAIL [2023-04-18T02:01:05.711Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-18T02:01:05.764Z] $ docker stop --time=1 028be041d8a52390dc418511bd94e6923093a8160797869be4b0bef79af95916 [2023-04-18T02:01:08.662Z] $ docker rm -f --volumes 028be041d8a52390dc418511bd94e6923093a8160797869be4b0bef79af95916 [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-04-18T02:01:09.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:01:09.859Z] [2023-04-18T02:01:09.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:01:10.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:01:10.246Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T02:01:10.246Z] 5eb5b503b376: Pulling fs layer [2023-04-18T02:01:10.246Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T02:01:10.246Z] ec43610c2a17: Pulling fs layer [2023-04-18T02:01:10.246Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T02:01:10.246Z] 33b1e0a273af: Pulling fs layer [2023-04-18T02:01:10.246Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T02:01:10.246Z] 2f39f015ded8: Pulling fs layer [2023-04-18T02:01:10.246Z] 5d3b04190fa2: Waiting [2023-04-18T02:01:10.246Z] 2f39f015ded8: Waiting [2023-04-18T02:01:10.246Z] 3a2ae6a8a46f: Waiting [2023-04-18T02:01:10.246Z] 33b1e0a273af: Waiting [2023-04-18T02:01:10.246Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T02:01:10.246Z] 5c69ac0246d0: Download complete [2023-04-18T02:01:10.246Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T02:01:10.246Z] 3a2ae6a8a46f: Download complete [2023-04-18T02:01:10.246Z] ec43610c2a17: Verifying Checksum [2023-04-18T02:01:10.246Z] ec43610c2a17: Download complete [2023-04-18T02:01:10.246Z] 33b1e0a273af: Verifying Checksum [2023-04-18T02:01:10.246Z] 33b1e0a273af: Download complete [2023-04-18T02:01:10.505Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T02:01:10.505Z] 5d3b04190fa2: Download complete [2023-04-18T02:01:10.505Z] 5eb5b503b376: Verifying Checksum [2023-04-18T02:01:10.505Z] 5eb5b503b376: Download complete [2023-04-18T02:01:11.072Z] 2f39f015ded8: Verifying Checksum [2023-04-18T02:01:11.072Z] 2f39f015ded8: Download complete [2023-04-18T02:01:11.640Z] 5eb5b503b376: Pull complete [2023-04-18T02:01:11.640Z] 5c69ac0246d0: Pull complete [2023-04-18T02:01:12.207Z] ec43610c2a17: Pull complete [2023-04-18T02:01:12.207Z] 3a2ae6a8a46f: Pull complete [2023-04-18T02:01:12.466Z] 33b1e0a273af: Pull complete [2023-04-18T02:01:12.466Z] 5d3b04190fa2: Pull complete [2023-04-18T02:01:16.654Z] 2f39f015ded8: Pull complete [2023-04-18T02:01:16.654Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T02:01:16.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:01:16.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:01:16.847Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-04-18T02:01:16.883Z] $ 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-564 -v /w/workspace/gexfoundry_device-mqtt-go_PR-564:/w/workspace/gexfoundry_device-mqtt-go_PR-564:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-564@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-04-18T02:01:20.765Z] $ docker top 2b90dd1d94da7b458e1e5c4dee165cb727ff0d5017453345ae760f6fff81c736 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:01:21.202Z] ---> job-cost.sh [2023-04-18T02:01:21.202Z] lf-activate-venv: SKIPPING [2023-04-18T02:01:21.202Z] INFO: No Stack... [2023-04-18T02:01:21.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T02:01:21.719Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T02:01:22.032Z] + + cut -d, -f6 [2023-04-18T02:01:22.032Z] cat /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives/cost.csv [Pipeline] lock [2023-04-18T02:01:22.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [2023-04-18T02:01:22.077Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] did not exist. Created. [2023-04-18T02:01:22.077Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T02:01:22.466Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T02:01:22.523Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T02:01:22.546Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T02:01:22.628Z] $ docker stop --time=1 2b90dd1d94da7b458e1e5c4dee165cb727ff0d5017453345ae760f6fff81c736 [2023-04-18T02:01:23.786Z] $ docker rm -f --volumes 2b90dd1d94da7b458e1e5c4dee165cb727ff0d5017453345ae760f6fff81c736 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T02:01:24.129Z] Failed in branch amd64 [2023-04-18T02:02:19.504Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8838 in /w/workspace/gexfoundry_device-mqtt-go_PR-564 [Pipeline] { [Pipeline] ws [2023-04-18T02:02:19.561Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T02:02:19.643Z] Selected Git installation does not exist. Using Default [2023-04-18T02:02:19.643Z] The recommended git tool is: NONE [2023-04-18T02:02:25.577Z] using credential edgex-jenkins-ssh [2023-04-18T02:02:25.593Z] Cloning the remote Git repository [2023-04-18T02:02:25.628Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-18T02:02:25.731Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-18T02:02:25.890Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-18T02:02:25.892Z] > git --version # timeout=10 [2023-04-18T02:02:25.912Z] > git --version # 'git version 2.25.1' [2023-04-18T02:02:25.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T02:02:26.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T02:02:27.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-18T02:02:27.211Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T02:02:28.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-18T02:02:28.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-18T02:02:28.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T02:02:28.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/564/head:refs/remotes/origin/PR-564 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T02:02:28.873Z] Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit 2f0b01742971cf1d14213e106c16a02f0ee8c368 [2023-04-18T02:02:29.240Z] Merge succeeded, producing 2f0b01742971cf1d14213e106c16a02f0ee8c368 [2023-04-18T02:02:29.241Z] Checking out Revision 2f0b01742971cf1d14213e106c16a02f0ee8c368 (PR-564) [2023-04-18T02:02:28.890Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T02:02:28.989Z] > git checkout -f 2f0b01742971cf1d14213e106c16a02f0ee8c368 # timeout=10 [2023-04-18T02:02:29.098Z] > git remote # timeout=10 [2023-04-18T02:02:29.126Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T02:02:29.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T02:02:29.169Z] > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 [2023-04-18T02:02:29.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T02:02:29.241Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T02:02:29.263Z] > git checkout -f 2f0b01742971cf1d14213e106c16a02f0ee8c368 # timeout=10 [2023-04-18T02:02:29.861Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-18T02:02:29.926Z] > git --version # timeout=10 [2023-04-18T02:02:29.938Z] > git --version # 'git version 2.25.1' [2023-04-18T02:02:29.955Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T02:02:31.250Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T02:02:31.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T02:02:31.250Z] Dload Upload Total Spent Left Speed [2023-04-18T02:02:31.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh [2023-04-18T02:02:31.843Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T02:02:32.202Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-04-18T02:02:32.202Z] /etc/docker/daemon.new [2023-04-18T02:02:32.202Z] { [2023-04-18T02:02:32.202Z] "registry-mirrors": [ [2023-04-18T02:02:32.202Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T02:02:32.202Z] ], [2023-04-18T02:02:32.202Z] "bip": "10.250.0.254/24", [2023-04-18T02:02:32.202Z] "hosts": [ [2023-04-18T02:02:32.202Z] "tcp://0.0.0.0:5555", [2023-04-18T02:02:32.202Z] "unix:///var/run/docker.sock" [2023-04-18T02:02:32.202Z] ], [2023-04-18T02:02:32.202Z] "mtu": 1458, [2023-04-18T02:02:32.202Z] "selinux-enabled": true, [2023-04-18T02:02:32.202Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T02:02:32.202Z] } [Pipeline] sh [2023-04-18T02:02:32.557Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T02:02:32.908Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:02:51.270Z] provisioning config files... [2023-04-18T02:02:51.299Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16556495059933051846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:02:51.704Z] ---> docker-login.sh [2023-04-18T02:02:51.704Z] nexus3.edgexfoundry.org:10001 [2023-04-18T02:02:52.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:02:52.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:02:52.298Z] Configure a credential helper to remove this warning. See [2023-04-18T02:02:52.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:02:52.298Z] [2023-04-18T02:02:52.298Z] Login Succeeded [2023-04-18T02:02:52.298Z] nexus3.edgexfoundry.org:10002 [2023-04-18T02:02:52.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:02:52.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:02:52.841Z] Configure a credential helper to remove this warning. See [2023-04-18T02:02:52.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:02:52.841Z] [2023-04-18T02:02:52.841Z] Login Succeeded [2023-04-18T02:02:52.841Z] nexus3.edgexfoundry.org:10003 [2023-04-18T02:02:53.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:02:53.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:02:53.116Z] Configure a credential helper to remove this warning. See [2023-04-18T02:02:53.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:02:53.116Z] [2023-04-18T02:02:53.116Z] Login Succeeded [2023-04-18T02:02:53.116Z] nexus3.edgexfoundry.org:10004 [2023-04-18T02:02:53.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:02:53.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:02:53.389Z] Configure a credential helper to remove this warning. See [2023-04-18T02:02:53.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:02:53.389Z] [2023-04-18T02:02:53.389Z] Login Succeeded [2023-04-18T02:02:53.389Z] docker.io [2023-04-18T02:02:53.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T02:02:53.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T02:02:53.934Z] Configure a credential helper to remove this warning. See [2023-04-18T02:02:53.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T02:02:53.934Z] [2023-04-18T02:02:53.934Z] Login Succeeded [2023-04-18T02:02:53.934Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T02:02:53.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T02:02:54.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:02:54.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T02:02:54.677Z] ========================================================= [2023-04-18T02:02:54.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T02:02:54.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:02:55.314Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T02:02:57.271Z] Sending build context to Docker daemon 3.332MB [2023-04-18T02:02:57.271Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T02:02:57.271Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T02:02:57.544Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T02:02:57.544Z] af6eaf76a39c: Pulling fs layer [2023-04-18T02:02:57.544Z] 55522c791124: Pulling fs layer [2023-04-18T02:02:57.544Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T02:02:57.544Z] 169dfbe0d373: Pulling fs layer [2023-04-18T02:02:57.544Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T02:02:57.544Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T02:02:57.544Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T02:02:57.544Z] 169dfbe0d373: Waiting [2023-04-18T02:02:57.544Z] 5abe8eddf0d5: Waiting [2023-04-18T02:02:57.544Z] 52ebb69f0ebf: Waiting [2023-04-18T02:02:57.544Z] e1ff8fa3b103: Waiting [2023-04-18T02:02:57.544Z] 55522c791124: Verifying Checksum [2023-04-18T02:02:57.544Z] 55522c791124: Download complete [2023-04-18T02:02:57.544Z] 169dfbe0d373: Verifying Checksum [2023-04-18T02:02:57.544Z] 169dfbe0d373: Download complete [2023-04-18T02:02:57.544Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T02:02:57.544Z] e1ff8fa3b103: Download complete [2023-04-18T02:02:57.544Z] af6eaf76a39c: Verifying Checksum [2023-04-18T02:02:57.544Z] af6eaf76a39c: Download complete [2023-04-18T02:02:58.534Z] af6eaf76a39c: Pull complete [2023-04-18T02:02:58.534Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T02:02:58.534Z] 5abe8eddf0d5: Download complete [2023-04-18T02:02:59.124Z] 55522c791124: Pull complete [2023-04-18T02:03:00.092Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T02:03:00.092Z] ce5c4a1c91eb: Download complete [2023-04-18T02:03:00.092Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T02:03:00.092Z] 52ebb69f0ebf: Download complete [2023-04-18T02:03:10.278Z] ce5c4a1c91eb: Pull complete [2023-04-18T02:03:10.278Z] 169dfbe0d373: Pull complete [2023-04-18T02:03:10.545Z] e1ff8fa3b103: Pull complete [2023-04-18T02:03:17.215Z] 52ebb69f0ebf: Pull complete [2023-04-18T02:03:18.175Z] 5abe8eddf0d5: Pull complete [2023-04-18T02:03:18.175Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T02:03:18.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T02:03:18.175Z] ---> 6cb57ee374ae [2023-04-18T02:03:18.175Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T02:03:20.119Z] ---> Running in 6419cbeb2d79 [2023-04-18T02:03:20.386Z] Removing intermediate container 6419cbeb2d79 [2023-04-18T02:03:20.386Z] ---> ab7c8ac8fc22 [2023-04-18T02:03:20.386Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T02:03:20.386Z] ---> Running in 4158370bfa4a [2023-04-18T02:03:23.735Z] Removing intermediate container 4158370bfa4a [2023-04-18T02:03:23.735Z] ---> bef8f29240fc [2023-04-18T02:03:23.735Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T02:03:23.735Z] ---> Running in 0e992ff53194 [2023-04-18T02:03:24.001Z] Removing intermediate container 0e992ff53194 [2023-04-18T02:03:24.001Z] ---> 10a6b23fbc50 [2023-04-18T02:03:24.001Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T02:03:24.276Z] ---> Running in ac11897869ff [2023-04-18T02:03:24.543Z] Removing intermediate container ac11897869ff [2023-04-18T02:03:24.543Z] ---> fe290215068a [2023-04-18T02:03:24.543Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T02:03:24.543Z] ---> Running in 2af4357d3530 [2023-04-18T02:03:25.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T02:03:26.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T02:03:27.647Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T02:03:27.647Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T02:03:27.647Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T02:03:27.647Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T02:03:27.647Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T02:03:27.647Z] OK: 268 MiB in 57 packages [2023-04-18T02:03:28.750Z] Removing intermediate container 2af4357d3530 [2023-04-18T02:03:28.750Z] ---> 54053f0f7938 [2023-04-18T02:03:28.750Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-18T02:03:28.750Z] ---> Running in e0354f6727f5 [2023-04-18T02:03:29.053Z] Removing intermediate container e0354f6727f5 [2023-04-18T02:03:29.053Z] ---> cdd2a802612d [2023-04-18T02:03:29.053Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T02:03:29.643Z] ---> 763d46b8a8d3 [2023-04-18T02:03:29.643Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T02:03:29.643Z] ---> Running in b2c8ed148aee [2023-04-18T02:04:37.513Z] Removing intermediate container b2c8ed148aee [2023-04-18T02:04:37.513Z] ---> 5990f3ad2091 [2023-04-18T02:04:37.513Z] Step 11/12 : COPY . . [2023-04-18T02:04:37.513Z] ---> 84b460de1227 [2023-04-18T02:04:37.513Z] Step 12/12 : RUN $MAKE [2023-04-18T02:04:37.513Z] ---> Running in 7a52f66a2b29 [2023-04-18T02:04:37.513Z] noop [2023-04-18T02:04:37.513Z] Removing intermediate container 7a52f66a2b29 [2023-04-18T02:04:37.513Z] ---> 8bb85d523d93 [2023-04-18T02:04:37.513Z] Successfully built 8bb85d523d93 [2023-04-18T02:04:37.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:04:38.231Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T02:04:38.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:04:38.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-8838 does not seem to be running inside a container [2023-04-18T02:04:38.714Z] $ 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-04-18T02:04:39.999Z] $ docker top aa7e70b9e141c06869ace3d81f838c83390e0ebdc96998fa64798c9b842e19e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:04:40.930Z] + go version [2023-04-18T02:04:40.930Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T02:04:40.970Z] $ docker stop --time=1 aa7e70b9e141c06869ace3d81f838c83390e0ebdc96998fa64798c9b842e19e8 [2023-04-18T02:04:42.662Z] $ docker rm -f --volumes aa7e70b9e141c06869ace3d81f838c83390e0ebdc96998fa64798c9b842e19e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:04:43.538Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T02:04:43.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:04:43.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-8838 does not seem to be running inside a container [2023-04-18T02:04:43.881Z] $ 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-04-18T02:04:45.227Z] $ docker top d1956245d13e160210c0cab92b9c11b45285c743ac6eb8a5b31049bec0bf050e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:04:46.193Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T02:04:47.132Z] + make test [2023-04-18T02:04:47.132Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T02:05:26.058Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-18T02:07:02.712Z] # github.com/edgexfoundry/device-mqtt-go/internal/driver [2023-04-18T02:07:02.712Z] internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Start) [2023-04-18T02:07:24.794Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-18T02:07:24.794Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-04-18T02:07:24.794Z] FAIL [2023-04-18T02:07:24.794Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-18T02:07:24.841Z] $ docker stop --time=1 d1956245d13e160210c0cab92b9c11b45285c743ac6eb8a5b31049bec0bf050e [2023-04-18T02:07:26.781Z] $ docker rm -f --volumes d1956245d13e160210c0cab92b9c11b45285c743ac6eb8a5b31049bec0bf050e [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-04-18T02:07:28.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:07:28.541Z] [2023-04-18T02:07:28.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:07:28.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:07:29.208Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T02:07:29.208Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T02:07:29.208Z] 04944245beec: Pulling fs layer [2023-04-18T02:07:29.208Z] 699f458cf7ca: Pulling fs layer [2023-04-18T02:07:29.208Z] 765212b225bb: Pulling fs layer [2023-04-18T02:07:29.208Z] f23df028b6ca: Pulling fs layer [2023-04-18T02:07:29.208Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T02:07:29.208Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T02:07:29.208Z] f23df028b6ca: Waiting [2023-04-18T02:07:29.208Z] d65c8cfc05b1: Waiting [2023-04-18T02:07:29.208Z] 2437ff75d9bd: Waiting [2023-04-18T02:07:29.208Z] 765212b225bb: Waiting [2023-04-18T02:07:29.208Z] 04944245beec: Verifying Checksum [2023-04-18T02:07:29.208Z] 04944245beec: Download complete [2023-04-18T02:07:29.208Z] 765212b225bb: Verifying Checksum [2023-04-18T02:07:29.208Z] 765212b225bb: Download complete [2023-04-18T02:07:29.208Z] f23df028b6ca: Verifying Checksum [2023-04-18T02:07:29.208Z] f23df028b6ca: Download complete [2023-04-18T02:07:29.475Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T02:07:29.475Z] d65c8cfc05b1: Download complete [2023-04-18T02:07:29.475Z] 699f458cf7ca: Verifying Checksum [2023-04-18T02:07:29.475Z] 699f458cf7ca: Download complete [2023-04-18T02:07:29.745Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T02:07:29.745Z] 8998bd30e6a1: Download complete [2023-04-18T02:07:32.325Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T02:07:32.325Z] 2437ff75d9bd: Download complete [2023-04-18T02:07:33.739Z] 8998bd30e6a1: Pull complete [2023-04-18T02:07:34.006Z] 04944245beec: Pull complete [2023-04-18T02:07:35.414Z] 699f458cf7ca: Pull complete [2023-04-18T02:07:35.414Z] 765212b225bb: Pull complete [2023-04-18T02:07:36.373Z] f23df028b6ca: Pull complete [2023-04-18T02:07:36.373Z] d65c8cfc05b1: Pull complete [2023-04-18T02:07:51.368Z] 2437ff75d9bd: Pull complete [2023-04-18T02:07:51.368Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T02:07:51.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T02:07:51.368Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:07:51.726Z] prd-ubuntu20.04-docker-arm64-4c-16g-8838 does not seem to be running inside a container [2023-04-18T02:07:51.799Z] $ 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-04-18T02:07:54.810Z] $ docker top 7ba1e6ab961dbf15a576e93493ac456f296d5a9e92b753ff91f13a67cbbfdfaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:07:55.742Z] ---> job-cost.sh [2023-04-18T02:07:55.742Z] lf-activate-venv: SKIPPING [2023-04-18T02:07:55.742Z] INFO: No Stack... [2023-04-18T02:07:56.327Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T02:07:56.912Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T02:07:57.569Z] + cut -d, -f6 [2023-04-18T02:07:57.569Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-04-18T02:07:57.662Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [2023-04-18T02:07:57.668Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] did not exist. Created. [2023-04-18T02:07:57.668Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T02:07:58.400Z] /w/workspace/device-mqtt-go/1@tmp/durable-d1b9ba90/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T02:07:59.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T02:07:59.109Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T02:07:59.568Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T02:07:59.587Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-564-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T02:07:59.668Z] $ docker stop --time=1 7ba1e6ab961dbf15a576e93493ac456f296d5a9e92b753ff91f13a67cbbfdfaf [2023-04-18T02:08:01.281Z] $ docker rm -f --volumes 7ba1e6ab961dbf15a576e93493ac456f296d5a9e92b753ff91f13a67cbbfdfaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T02:08:02.121Z] 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-04-18T02:08:04.197Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives ] [2023-04-18T02:08:04.197Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives [2023-04-18T02:08:04.197Z] total 16 [2023-04-18T02:08:04.197Z] drwxr-xr-x 3 root root 4096 Apr 18 02:01 . [2023-04-18T02:08:04.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 02:01 .. [2023-04-18T02:08:04.197Z] drwxr-xr-x 2 root root 4096 Apr 18 02:01 cost [2023-04-18T02:08:04.197Z] -rw-r--r-- 1 root root 86 Apr 18 02:01 cost.csv [2023-04-18T02:08:04.197Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives [2023-04-18T02:08:04.197Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives [2023-04-18T02:08:04.197Z] total 16 [2023-04-18T02:08:04.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 02:01 . [2023-04-18T02:08:04.197Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 02:01 .. [2023-04-18T02:08:04.197Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 02:01 cost [2023-04-18T02:08:04.197Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:04.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:05.414Z] ---> package-listing.sh [2023-04-18T02:08:05.414Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T02:08:05.414Z] ++ facter osfamily [2023-04-18T02:08:05.674Z] + OS_FAMILY=debian [2023-04-18T02:08:05.674Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-564 [2023-04-18T02:08:05.674Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T02:08:05.674Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T02:08:05.674Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T02:08:05.674Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T02:08:05.674Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-564 ']' [2023-04-18T02:08:05.674Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T02:08:05.674Z] + case "${OS_FAMILY}" in [2023-04-18T02:08:05.674Z] + dpkg -l [2023-04-18T02:08:05.674Z] + grep '^ii' [2023-04-18T02:08:05.674Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T02:08:05.674Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T02:08:05.674Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T02:08:05.674Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-564 ']' [2023-04-18T02:08:05.674Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives/ [2023-04-18T02:08:05.674Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-564/archives/ [Pipeline] echo [2023-04-18T02:08:05.708Z] 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-564/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T02:08:06.000Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T02:08:06.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T02:08:06.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T02:08:06.777Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-04-18T02:08:06.813Z] $ 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-564/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-564 -v /w/workspace/gexfoundry_device-mqtt-go_PR-564:/w/workspace/gexfoundry_device-mqtt-go_PR-564:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-564@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-04-18T02:08:07.000Z] $ docker top 53eb5bc99332268e9399e7bf4b4dddc825e98ea3f0724e05bf065e6c16ab0434 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T02:08:07.389Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T02:08:07.703Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T02:08:08.014Z] + ls /var/log/sa-host [2023-04-18T02:08:08.014Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T02:08:08.237Z] provisioning config files... [2023-04-18T02:08:08.244Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-564@tmp/config2251491524879256297tmp [Pipeline] { [Pipeline] echo [2023-04-18T02:08:08.300Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:08.613Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T02:08:08.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:09.038Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T02:08:09.070Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:09.382Z] ---> sudo-logs.sh [2023-04-18T02:08:09.383Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T02:08:09.466Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:09.778Z] ---> job-cost.sh [2023-04-18T02:08:09.778Z] lf-activate-venv: SKIPPING [2023-04-18T02:08:09.778Z] DEBUG: total: 0.2199999988079071 [2023-04-18T02:08:09.778Z] INFO: Retrieving Stack Cost... [2023-04-18T02:08:10.037Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T02:08:10.295Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T02:08:10.328Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T02:08:10.645Z] ---> logs-deploy.sh [2023-04-18T02:08:10.645Z] lf-activate-venv: SKIPPING [2023-04-18T02:08:10.645Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-564/1 [2023-04-18T02:08:10.645Z] INFO: archiving workspace using pattern(s): [2023-04-18T02:08:11.581Z] Archives upload complete. [2023-04-18T02:08:11.581Z] INFO: archiving logs to Nexus