Pull request #513 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45a9879338b5bd3dbc1b966e2788246c75769508+ec4bdb71d113baf8f62d105c9dc125da7e597352 (7f3dab784ba9105739595ceda8dfa0134909c430) 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-ssh8632608159239059733.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5538941395660929308.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17883881252424354408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10313399010915460065.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12768271135879299588.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8811’ Running on prd-ubuntu20.04-docker-8c-8g-8815 in /w/workspace/gexfoundry_device-mqtt-go_PR-513 [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-513 # 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 ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 45a9879338b5bd3dbc1b966e2788246c75769508 Merge succeeded, producing 45a9879338b5bd3dbc1b966e2788246c75769508 Checking out Revision 45a9879338b5bd3dbc1b966e2788246c75769508 (PR-513) > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45a9879338b5bd3dbc1b966e2788246c75769508 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45a9879338b5bd3dbc1b966e2788246c75769508 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T15:04:46.259Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T15:04:46.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T15:04:46.337Z] ========================================================= [2023-03-08T15:04:46.337Z] EdgeX Global Pipelines Version Info [2023-03-08T15:04:46.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8dfe37c9b8653798c03ca942ff832322f42e3a74 # timeout=10 [2023-03-08T15:04:47.051Z] ------------------- [2023-03-08T15:04:47.051Z] stable info: [2023-03-08T15:04:47.051Z] ------------------- [2023-03-08T15:04:47.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T15:04:47.051Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:04:47.051Z] Message: update stable to v1.0.244 [2023-03-08T15:04:47.621Z] ------------------- [2023-03-08T15:04:47.621Z] experimental info: [2023-03-08T15:04:47.621Z] ------------------- [2023-03-08T15:04:47.621Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T15:04:47.621Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:04:47.621Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T15:04:47.791Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-08T15:04:47.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-08T15:04:47.808Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T15:04:47.816Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T15:04:47.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T15:04:47.834Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T15:04:47.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T15:04:47.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T15:04:47.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T15:04:47.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T15:04:47.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T15:04:47.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-08T15:04:47.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T15:04:47.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T15:04:47.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:04:47.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:04:47.982Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:04:47.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:04:48.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T15:04:48.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T15:04:48.036Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T15:04:48.050Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T15:04:48.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T15:04:48.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T15:04:48.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T15:04:48.098Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T15:04:48.112Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T15:04:48.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2023-03-08T15:04:48.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2023-03-08T15:04:48.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2023-03-08T15:04:48.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45a9879338b5bd3dbc1b966e2788246c75769508 [Pipeline] echo [2023-03-08T15:04:48.156Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45a9879 [Pipeline] echo [2023-03-08T15:04:48.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:04:48.196Z] provisioning config files... [2023-03-08T15:04:48.206Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/config4244402812896241286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:04:48.500Z] ---> docker-login.sh [2023-03-08T15:04:48.500Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:04:48.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:04:48.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:04:48.760Z] Configure a credential helper to remove this warning. See [2023-03-08T15:04:48.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:04:48.760Z] [2023-03-08T15:04:48.760Z] Login Succeeded [2023-03-08T15:04:48.760Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:04:48.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:04:48.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:04:48.760Z] Configure a credential helper to remove this warning. See [2023-03-08T15:04:48.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:04:48.760Z] [2023-03-08T15:04:48.760Z] Login Succeeded [2023-03-08T15:04:48.760Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:04:49.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:04:49.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:04:49.021Z] Configure a credential helper to remove this warning. See [2023-03-08T15:04:49.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:04:49.021Z] [2023-03-08T15:04:49.021Z] Login Succeeded [2023-03-08T15:04:49.021Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:04:49.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:04:49.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:04:49.021Z] Configure a credential helper to remove this warning. See [2023-03-08T15:04:49.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:04:49.021Z] [2023-03-08T15:04:49.021Z] Login Succeeded [2023-03-08T15:04:49.021Z] docker.io [2023-03-08T15:04:49.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:04:49.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:04:49.279Z] Configure a credential helper to remove this warning. See [2023-03-08T15:04:49.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:04:49.279Z] [2023-03-08T15:04:49.279Z] Login Succeeded [2023-03-08T15:04:49.279Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:04:49.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T15:04:49.658Z] + git rev-list -1 --merges 45a9879338b5bd3dbc1b966e2788246c75769508~1..45a9879338b5bd3dbc1b966e2788246c75769508 [Pipeline] echo [2023-03-08T15:04:49.709Z] -----------> git rev-list -1 --merges 45a9879338b5bd3dbc1b966e2788246c75769508~1..45a9879338b5bd3dbc1b966e2788246c75769508 45a9879338b5bd3dbc1b966e2788246c75769508 [false] [Pipeline] sh [2023-03-08T15:04:49.997Z] + git log --format=format:%s -1 45a9879338b5bd3dbc1b966e2788246c75769508 [Pipeline] echo [2023-03-08T15:04:50.016Z] ========================================================= [2023-03-08T15:04:50.016Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T15:04:50.016Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:04:50.331Z] + git log --format=format:%s -1 45a9879338b5bd3dbc1b966e2788246c75769508 [Pipeline] echo [2023-03-08T15:04:50.341Z] [semverPrep] GIT_COMMIT: 45a9879338b5bd3dbc1b966e2788246c75769508, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-08T15:04:50.349Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T15:04:50.693Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T15:04:50.693Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T15:04:50.693Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T15:04:50.693Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T15:04:50.693Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T15:04:50.693Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T15:04:50.693Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:04:51.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:04:51.035Z] [2023-03-08T15:04:51.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:04:51.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:04:51.332Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T15:04:51.332Z] b85a868b505f: Pulling fs layer [2023-03-08T15:04:51.332Z] e2be974225ed: Pulling fs layer [2023-03-08T15:04:51.332Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T15:04:51.332Z] 988bab9f4d93: Pulling fs layer [2023-03-08T15:04:51.332Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T15:04:51.332Z] eaf3925da568: Pulling fs layer [2023-03-08T15:04:51.332Z] bab4dde63d76: Pulling fs layer [2023-03-08T15:04:51.332Z] bde34c3a00c8: Pulling fs layer [2023-03-08T15:04:51.332Z] b352a97aabf1: Pulling fs layer [2023-03-08T15:04:51.332Z] eaf3925da568: Waiting [2023-03-08T15:04:51.332Z] 1469e6f7b9e6: Waiting [2023-03-08T15:04:51.332Z] bab4dde63d76: Waiting [2023-03-08T15:04:51.332Z] bde34c3a00c8: Waiting [2023-03-08T15:04:51.332Z] 4872d77fe225: Pulling fs layer [2023-03-08T15:04:51.332Z] 5851b861e8e6: Pulling fs layer [2023-03-08T15:04:51.332Z] b352a97aabf1: Waiting [2023-03-08T15:04:51.332Z] 4872d77fe225: Waiting [2023-03-08T15:04:51.332Z] 988bab9f4d93: Waiting [2023-03-08T15:04:51.332Z] e2be974225ed: Verifying Checksum [2023-03-08T15:04:51.332Z] e2be974225ed: Download complete [2023-03-08T15:04:51.332Z] 988bab9f4d93: Verifying Checksum [2023-03-08T15:04:51.332Z] 988bab9f4d93: Download complete [2023-03-08T15:04:51.592Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T15:04:51.592Z] 1469e6f7b9e6: Download complete [2023-03-08T15:04:51.592Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T15:04:51.592Z] 339a4e72a1f5: Download complete [2023-03-08T15:04:51.592Z] eaf3925da568: Verifying Checksum [2023-03-08T15:04:51.592Z] eaf3925da568: Download complete [2023-03-08T15:04:51.592Z] bde34c3a00c8: Download complete [2023-03-08T15:04:51.592Z] b352a97aabf1: Download complete [2023-03-08T15:04:51.592Z] 4872d77fe225: Download complete [2023-03-08T15:04:51.592Z] 5851b861e8e6: Verifying Checksum [2023-03-08T15:04:51.592Z] 5851b861e8e6: Download complete [2023-03-08T15:04:51.592Z] b85a868b505f: Verifying Checksum [2023-03-08T15:04:51.592Z] b85a868b505f: Download complete [2023-03-08T15:04:51.850Z] bab4dde63d76: Verifying Checksum [2023-03-08T15:04:51.850Z] bab4dde63d76: Download complete [2023-03-08T15:04:52.785Z] b85a868b505f: Pull complete [2023-03-08T15:04:52.785Z] e2be974225ed: Pull complete [2023-03-08T15:04:53.351Z] 339a4e72a1f5: Pull complete [2023-03-08T15:04:53.351Z] 988bab9f4d93: Pull complete [2023-03-08T15:04:53.609Z] 1469e6f7b9e6: Pull complete [2023-03-08T15:04:53.609Z] eaf3925da568: Pull complete [2023-03-08T15:04:55.510Z] bab4dde63d76: Pull complete [2023-03-08T15:04:55.510Z] bde34c3a00c8: Pull complete [2023-03-08T15:04:55.510Z] b352a97aabf1: Pull complete [2023-03-08T15:04:55.510Z] 4872d77fe225: Pull complete [2023-03-08T15:04:55.768Z] 5851b861e8e6: Pull complete [2023-03-08T15:04:55.768Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T15:04:55.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:04:55.768Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:04:55.862Z] prd-ubuntu20.04-docker-8c-8g-8815 does not seem to be running inside a container [2023-03-08T15:04:55.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-513 -v /w/workspace/gexfoundry_device-mqtt-go_PR-513:/w/workspace/gexfoundry_device-mqtt-go_PR-513:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-513@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-devops/py-git-semver:0.1.4 cat [2023-03-08T15:04:58.127Z] $ docker top 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d -eo pid,comm [2023-03-08T15:04:58.174Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-08T15:04:58.174Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T15:04:58.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:04:58.214Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:04:58.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:04:58.334Z] $ docker exec 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d ssh-agent [2023-03-08T15:04:58.440Z] SSH_AUTH_SOCK=/tmp/ssh-YgFwkwXYcQmE/agent.33 [2023-03-08T15:04:58.440Z] SSH_AGENT_PID=39 [2023-03-08T15:04:58.448Z] Running ssh-add (command line suppressed) [2023-03-08T15:04:58.542Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/private_key_7980078881058532659.key (/w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/private_key_7980078881058532659.key) [2023-03-08T15:04:58.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:04:58.841Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T15:04:58.857Z] $ docker exec --env ******** --env ******** 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d ssh-agent -k [2023-03-08T15:04:58.950Z] unset SSH_AUTH_SOCK; [2023-03-08T15:04:58.950Z] unset SSH_AGENT_PID; [2023-03-08T15:04:58.950Z] echo Agent pid 39 killed; [2023-03-08T15:04:58.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T15:04:58.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:04:58.986Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:04:59.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:04:59.099Z] $ docker exec 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d ssh-agent [2023-03-08T15:04:59.193Z] SSH_AUTH_SOCK=/tmp/ssh-lq9BRk87X65d/agent.71 [2023-03-08T15:04:59.193Z] SSH_AGENT_PID=77 [2023-03-08T15:04:59.197Z] Running ssh-add (command line suppressed) [2023-03-08T15:04:59.306Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/private_key_17088788684801590565.key (/w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/private_key_17088788684801590565.key) [2023-03-08T15:04:59.314Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:04:59.601Z] + git semver init [2023-03-08T15:04:59.860Z] 2023-03-08 15:04:59,782 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T15:04:59.860Z] 2023-03-08 15:04:59,783 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver [2023-03-08T15:04:59.860Z] 2023-03-08 15:04:59,783 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver [2023-03-08T15:04:59.860Z] 2023-03-08 15:04:59,784 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-513, universal_newlines=False, shell=None, istream=None) [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,581 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-513/.git/info/exclude [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver/PR-513 with force:False [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,582 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver/PR-513 [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,584 [execute] INFO git cat-file --batch-check [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,591 [execute] INFO git cat-file --batch [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:05:00.797Z] 2023-03-08 15:05:00,597 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-513/.semver/PR-513 [2023-03-08T15:05:00.797Z] 0.0.0 [Pipeline] } [2023-03-08T15:05:00.811Z] $ docker exec --env ******** --env ******** 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d ssh-agent -k [2023-03-08T15:05:00.924Z] unset SSH_AUTH_SOCK; [2023-03-08T15:05:00.926Z] unset SSH_AGENT_PID; [2023-03-08T15:05:00.927Z] echo Agent pid 77 killed; [2023-03-08T15:05:00.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T15:05:01.243Z] + git semver [Pipeline] } [2023-03-08T15:05:01.520Z] $ docker stop --time=1 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d [2023-03-08T15:05:02.776Z] $ docker rm -f --volumes 8e48507fd466e598dcf4a6afea9e8a02dec2ca751dd44e10b302a6888563b53d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:05:03.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T15:05:03.323Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T15:05:03.326Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:05:03.437Z] provisioning config files... [2023-03-08T15:05:03.446Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/config15807795036289292814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:05:03.740Z] ---> docker-login.sh [2023-03-08T15:05:03.740Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:05:03.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:03.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:03.740Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:03.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:03.740Z] [2023-03-08T15:05:03.740Z] Login Succeeded [2023-03-08T15:05:03.740Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:05:03.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:03.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:03.740Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:03.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:03.740Z] [2023-03-08T15:05:03.740Z] Login Succeeded [2023-03-08T15:05:03.740Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:05:04.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:04.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:04.001Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:04.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:04.001Z] [2023-03-08T15:05:04.001Z] Login Succeeded [2023-03-08T15:05:04.001Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:05:04.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:04.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:04.001Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:04.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:04.001Z] [2023-03-08T15:05:04.001Z] Login Succeeded [2023-03-08T15:05:04.001Z] docker.io [2023-03-08T15:05:04.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:04.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:04.261Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:04.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:04.261Z] [2023-03-08T15:05:04.261Z] Login Succeeded [2023-03-08T15:05:04.261Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:05:04.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:05:04.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:05:04.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:05:04.345Z] ========================================================= [2023-03-08T15:05:04.345Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T15:05:04.345Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:04.655Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T15:05:04.655Z] Sending build context to Docker daemon 6.337MB [2023-03-08T15:05:04.655Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:05:04.655Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:05:04.655Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T15:05:04.655Z] 213ec9aee27d: Pulling fs layer [2023-03-08T15:05:04.655Z] 4583459ba037: Pulling fs layer [2023-03-08T15:05:04.655Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T15:05:04.655Z] 53926ce57604: Pulling fs layer [2023-03-08T15:05:04.655Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T15:05:04.655Z] 22ff95d597cd: Pulling fs layer [2023-03-08T15:05:04.655Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T15:05:04.655Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T15:05:04.655Z] a7acece74701: Pulling fs layer [2023-03-08T15:05:04.655Z] 21b2b0c7a3f4: Waiting [2023-03-08T15:05:04.655Z] 22ff95d597cd: Waiting [2023-03-08T15:05:04.655Z] 12d6caf4c0d1: Waiting [2023-03-08T15:05:04.655Z] 96b7cbca73a9: Waiting [2023-03-08T15:05:04.655Z] a7acece74701: Waiting [2023-03-08T15:05:04.655Z] 53926ce57604: Waiting [2023-03-08T15:05:04.655Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T15:05:04.655Z] 93c1e223e6f2: Download complete [2023-03-08T15:05:04.655Z] 4583459ba037: Download complete [2023-03-08T15:05:04.655Z] 21b2b0c7a3f4: Download complete [2023-03-08T15:05:04.655Z] 22ff95d597cd: Verifying Checksum [2023-03-08T15:05:04.655Z] 22ff95d597cd: Download complete [2023-03-08T15:05:04.920Z] 213ec9aee27d: Verifying Checksum [2023-03-08T15:05:04.920Z] 213ec9aee27d: Download complete [2023-03-08T15:05:04.920Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T15:05:04.920Z] 12d6caf4c0d1: Download complete [2023-03-08T15:05:04.920Z] 213ec9aee27d: Pull complete [2023-03-08T15:05:05.190Z] 4583459ba037: Pull complete [2023-03-08T15:05:05.190Z] 93c1e223e6f2: Pull complete [2023-03-08T15:05:05.452Z] a7acece74701: Verifying Checksum [2023-03-08T15:05:05.452Z] a7acece74701: Download complete [2023-03-08T15:05:05.710Z] 53926ce57604: Download complete [2023-03-08T15:05:05.710Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T15:05:05.710Z] 96b7cbca73a9: Download complete [2023-03-08T15:05:08.989Z] 53926ce57604: Pull complete [2023-03-08T15:05:09.246Z] 21b2b0c7a3f4: Pull complete [2023-03-08T15:05:09.246Z] 22ff95d597cd: Pull complete [2023-03-08T15:05:09.246Z] 12d6caf4c0d1: Pull complete [2023-03-08T15:05:11.145Z] 96b7cbca73a9: Pull complete [2023-03-08T15:05:12.077Z] a7acece74701: Pull complete [2023-03-08T15:05:12.077Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T15:05:12.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T15:05:12.077Z] ---> db6d94c90886 [2023-03-08T15:05:12.077Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:05:16.273Z] ---> Running in 05cbaeed8cf3 [2023-03-08T15:05:16.533Z] Removing intermediate container 05cbaeed8cf3 [2023-03-08T15:05:16.533Z] ---> e59d10d68411 [2023-03-08T15:05:16.533Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:05:16.533Z] ---> Running in 414a109c6470 [2023-03-08T15:05:16.533Z] Removing intermediate container 414a109c6470 [2023-03-08T15:05:16.533Z] ---> 0e1f4d32684d [2023-03-08T15:05:16.533Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:05:16.533Z] ---> Running in 28899c02cdb0 [2023-03-08T15:05:16.533Z] Removing intermediate container 28899c02cdb0 [2023-03-08T15:05:16.533Z] ---> f30cdd0d07a8 [2023-03-08T15:05:16.533Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:05:16.533Z] ---> Running in 068adcc71847 [2023-03-08T15:05:16.792Z] Removing intermediate container 068adcc71847 [2023-03-08T15:05:16.792Z] ---> f6e6c5ed55a3 [2023-03-08T15:05:16.792Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:05:16.792Z] ---> Running in 8953f087f52b [2023-03-08T15:05:17.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:05:17.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:05:17.314Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:05:17.572Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:05:17.572Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:05:17.572Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:05:17.572Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:05:17.572Z] OK: 216 MiB in 55 packages [2023-03-08T15:05:18.140Z] Removing intermediate container 8953f087f52b [2023-03-08T15:05:18.140Z] ---> 2a909fe4759d [2023-03-08T15:05:18.140Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:05:18.140Z] ---> Running in 71f66e408b6e [2023-03-08T15:05:18.140Z] Removing intermediate container 71f66e408b6e [2023-03-08T15:05:18.140Z] ---> 21a93b044d98 [2023-03-08T15:05:18.140Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:05:18.140Z] ---> bd2362fa8ee2 [2023-03-08T15:05:18.140Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:05:18.140Z] ---> Running in ee16e3c98a10 [2023-03-08T15:05:18.404Z] Still waiting to schedule task [2023-03-08T15:05:18.405Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8814’ is offline [2023-03-08T15:05:50.217Z] Removing intermediate container ee16e3c98a10 [2023-03-08T15:05:50.217Z] ---> 44073b01399d [2023-03-08T15:05:50.217Z] Step 11/12 : COPY . . [2023-03-08T15:05:50.217Z] ---> 461ed5856506 [2023-03-08T15:05:50.217Z] Step 12/12 : RUN $MAKE [2023-03-08T15:05:50.217Z] ---> Running in c81b068e48d6 [2023-03-08T15:05:50.217Z] noop [2023-03-08T15:05:50.217Z] Removing intermediate container c81b068e48d6 [2023-03-08T15:05:50.217Z] ---> 2979daefb798 [2023-03-08T15:05:50.217Z] Successfully built 2979daefb798 [2023-03-08T15:05:50.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:50.523Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:05:50.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:05:50.586Z] prd-ubuntu20.04-docker-8c-8g-8815 does not seem to be running inside a container [2023-03-08T15:05:50.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-513 -v /w/workspace/gexfoundry_device-mqtt-go_PR-513:/w/workspace/gexfoundry_device-mqtt-go_PR-513:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-513@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T15:05:50.950Z] $ docker top 0d3c8b9dcf4e4877c7f2c5b7860d117d4877bb1bfd186120506995977ad286b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:05:51.294Z] + go version [2023-03-08T15:05:51.295Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T15:05:51.310Z] $ docker stop --time=1 0d3c8b9dcf4e4877c7f2c5b7860d117d4877bb1bfd186120506995977ad286b2 [2023-03-08T15:05:52.596Z] $ docker rm -f --volumes 0d3c8b9dcf4e4877c7f2c5b7860d117d4877bb1bfd186120506995977ad286b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:53.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:05:53.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:05:53.083Z] prd-ubuntu20.04-docker-8c-8g-8815 does not seem to be running inside a container [2023-03-08T15:05:53.115Z] $ 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-513 -v /w/workspace/gexfoundry_device-mqtt-go_PR-513:/w/workspace/gexfoundry_device-mqtt-go_PR-513:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-513@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T15:05:53.426Z] $ docker top ff456d99bbf55857993a4746ed9fcc3e48a7614db4e70fed8f9052600a1fe1ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:05:53.768Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-513 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:05:54.062Z] + make test [2023-03-08T15:05:54.062Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:05:54.320Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:06:02.429Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-08T15:06:02.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-08T15:06:02.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:89:37: configuration.MessageBus.Topics undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo has no field or method Topics) [2023-03-08T15:06:02.429Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:89:51: undefined: config.MessageBusPublishTopicPrefix [2023-03-08T15:06:02.429Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-08T15:06:02.429Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-08T15:06:02.443Z] $ docker stop --time=1 ff456d99bbf55857993a4746ed9fcc3e48a7614db4e70fed8f9052600a1fe1ca [2023-03-08T15:06:04.550Z] $ docker rm -f --volumes ff456d99bbf55857993a4746ed9fcc3e48a7614db4e70fed8f9052600a1fe1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:05.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:06:05.074Z] [2023-03-08T15:06:05.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:05.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:06:05.370Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T15:06:05.371Z] 5eb5b503b376: Pulling fs layer [2023-03-08T15:06:05.371Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T15:06:05.371Z] ec43610c2a17: Pulling fs layer [2023-03-08T15:06:05.371Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T15:06:05.371Z] 33b1e0a273af: Pulling fs layer [2023-03-08T15:06:05.371Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T15:06:05.371Z] 2f39f015ded8: Pulling fs layer [2023-03-08T15:06:05.371Z] 33b1e0a273af: Waiting [2023-03-08T15:06:05.371Z] 3a2ae6a8a46f: Waiting [2023-03-08T15:06:05.371Z] 5d3b04190fa2: Waiting [2023-03-08T15:06:05.371Z] 5c69ac0246d0: Download complete [2023-03-08T15:06:05.371Z] 3a2ae6a8a46f: Download complete [2023-03-08T15:06:05.630Z] 33b1e0a273af: Verifying Checksum [2023-03-08T15:06:05.630Z] 33b1e0a273af: Download complete [2023-03-08T15:06:05.630Z] 5d3b04190fa2: Download complete [2023-03-08T15:06:05.630Z] ec43610c2a17: Verifying Checksum [2023-03-08T15:06:05.630Z] ec43610c2a17: Download complete [2023-03-08T15:06:05.630Z] 5eb5b503b376: Download complete [2023-03-08T15:06:06.196Z] 2f39f015ded8: Download complete [2023-03-08T15:06:06.761Z] 5eb5b503b376: Pull complete [2023-03-08T15:06:06.761Z] 5c69ac0246d0: Pull complete [2023-03-08T15:06:07.328Z] ec43610c2a17: Pull complete [2023-03-08T15:06:07.328Z] 3a2ae6a8a46f: Pull complete [2023-03-08T15:06:07.585Z] 33b1e0a273af: Pull complete [2023-03-08T15:06:07.585Z] 5d3b04190fa2: Pull complete [2023-03-08T15:06:11.773Z] 2f39f015ded8: Pull complete [2023-03-08T15:06:11.773Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T15:06:11.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:06:11.773Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:06:11.858Z] prd-ubuntu20.04-docker-8c-8g-8815 does not seem to be running inside a container [2023-03-08T15:06:11.945Z] $ 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-513 -v /w/workspace/gexfoundry_device-mqtt-go_PR-513:/w/workspace/gexfoundry_device-mqtt-go_PR-513:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-513@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T15:06:15.297Z] $ docker top 663a03ec9f0b72b5043b759867fc8463abbe33d7a7a4efc466123b34fb6d9bc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:06:15.673Z] ---> job-cost.sh [2023-03-08T15:06:15.673Z] lf-activate-venv: SKIPPING [2023-03-08T15:06:15.673Z] INFO: No Stack... [2023-03-08T15:06:15.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:06:16.189Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:06:16.478Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives/cost.csv [2023-03-08T15:06:16.479Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T15:06:16.494Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [2023-03-08T15:06:16.501Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] did not exist. Created. [2023-03-08T15:06:16.502Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:06:16.805Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T15:06:16.839Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:06:16.845Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:06:16.869Z] $ docker stop --time=1 663a03ec9f0b72b5043b759867fc8463abbe33d7a7a4efc466123b34fb6d9bc7 [2023-03-08T15:06:18.022Z] $ docker rm -f --volumes 663a03ec9f0b72b5043b759867fc8463abbe33d7a7a4efc466123b34fb6d9bc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T15:06:18.106Z] Failed in branch amd64 [2023-03-08T15:07:27.664Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8818 in /w/workspace/gexfoundry_device-mqtt-go_PR-513 [Pipeline] { [Pipeline] ws [2023-03-08T15:07:27.677Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-08T15:07:27.714Z] Selected Git installation does not exist. Using Default [2023-03-08T15:07:27.714Z] The recommended git tool is: NONE [2023-03-08T15:07:33.317Z] using credential edgex-jenkins-ssh [2023-03-08T15:07:33.335Z] Cloning the remote Git repository [2023-03-08T15:07:33.393Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:07:33.479Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-08T15:07:33.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:07:33.662Z] > git --version # timeout=10 [2023-03-08T15:07:33.690Z] > git --version # 'git version 2.25.1' [2023-03-08T15:07:33.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:07:33.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:07:34.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:07:34.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:07:35.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:07:36.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:07:36.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:07:36.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T15:07:36.670Z] Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 45a9879338b5bd3dbc1b966e2788246c75769508 [2023-03-08T15:07:36.914Z] Merge succeeded, producing 45a9879338b5bd3dbc1b966e2788246c75769508 [2023-03-08T15:07:36.915Z] Checking out Revision 45a9879338b5bd3dbc1b966e2788246c75769508 (PR-513) [2023-03-08T15:07:37.484Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [2023-03-08T15:07:36.691Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:07:36.709Z] > git checkout -f 45a9879338b5bd3dbc1b966e2788246c75769508 # timeout=10 [2023-03-08T15:07:36.806Z] > git remote # timeout=10 [2023-03-08T15:07:36.828Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T15:07:36.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:07:36.861Z] > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 [2023-03-08T15:07:36.889Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T15:07:36.924Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:07:36.942Z] > git checkout -f 45a9879338b5bd3dbc1b966e2788246c75769508 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:07:38.476Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T15:07:38.476Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T15:07:38.476Z] Dload Upload Total Spent Left Speed [2023-03-08T15:07:38.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-03-08T15:07:39.062Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T15:07:39.407Z] + sudo tee /etc/docker/daemon.new [2023-03-08T15:07:39.407Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T15:07:39.407Z] { [2023-03-08T15:07:39.407Z] "registry-mirrors": [ [2023-03-08T15:07:39.407Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T15:07:39.407Z] ], [2023-03-08T15:07:39.407Z] "bip": "10.250.0.254/24", [2023-03-08T15:07:39.407Z] "hosts": [ [2023-03-08T15:07:39.407Z] "tcp://0.0.0.0:5555", [2023-03-08T15:07:39.407Z] "unix:///var/run/docker.sock" [2023-03-08T15:07:39.407Z] ], [2023-03-08T15:07:39.407Z] "mtu": 1458, [2023-03-08T15:07:39.407Z] "selinux-enabled": true, [2023-03-08T15:07:39.407Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T15:07:39.407Z] } [Pipeline] sh [2023-03-08T15:07:39.745Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T15:07:40.092Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:07:58.382Z] provisioning config files... [2023-03-08T15:07:58.409Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config15984915264487827464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:07:58.773Z] ---> docker-login.sh [2023-03-08T15:07:58.773Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:07:59.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:07:59.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:07:59.312Z] Configure a credential helper to remove this warning. See [2023-03-08T15:07:59.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:07:59.312Z] [2023-03-08T15:07:59.312Z] Login Succeeded [2023-03-08T15:07:59.312Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:07:59.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:07:59.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:07:59.580Z] Configure a credential helper to remove this warning. See [2023-03-08T15:07:59.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:07:59.580Z] [2023-03-08T15:07:59.849Z] Login Succeeded [2023-03-08T15:07:59.850Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:07:59.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:08:00.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:08:00.118Z] Configure a credential helper to remove this warning. See [2023-03-08T15:08:00.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:08:00.118Z] [2023-03-08T15:08:00.118Z] Login Succeeded [2023-03-08T15:08:00.118Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:08:00.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:08:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:08:00.388Z] Configure a credential helper to remove this warning. See [2023-03-08T15:08:00.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:08:00.388Z] [2023-03-08T15:08:00.388Z] Login Succeeded [2023-03-08T15:08:00.388Z] docker.io [2023-03-08T15:08:00.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:08:00.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:08:00.928Z] Configure a credential helper to remove this warning. See [2023-03-08T15:08:00.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:08:00.928Z] [2023-03-08T15:08:00.928Z] Login Succeeded [2023-03-08T15:08:00.928Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:08:00.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:08:01.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:08:01.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:08:01.242Z] ========================================================= [2023-03-08T15:08:01.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T15:08:01.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:08:01.595Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T15:08:01.863Z] Sending build context to Docker daemon 3.3MB [2023-03-08T15:08:01.863Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:08:01.863Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:08:02.134Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T15:08:02.134Z] 9b18e9b68314: Pulling fs layer [2023-03-08T15:08:02.134Z] 35d82f9e3411: Pulling fs layer [2023-03-08T15:08:02.134Z] e16973657156: Pulling fs layer [2023-03-08T15:08:02.134Z] fc693d55d65f: Pulling fs layer [2023-03-08T15:08:02.134Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T15:08:02.134Z] dda99020689f: Pulling fs layer [2023-03-08T15:08:02.134Z] db1c61fa0a46: Pulling fs layer [2023-03-08T15:08:02.134Z] 891c053d2c06: Pulling fs layer [2023-03-08T15:08:02.134Z] fc693d55d65f: Waiting [2023-03-08T15:08:02.134Z] 7e9fc2657dce: Waiting [2023-03-08T15:08:02.134Z] dda99020689f: Waiting [2023-03-08T15:08:02.134Z] db1c61fa0a46: Waiting [2023-03-08T15:08:02.134Z] 891c053d2c06: Waiting [2023-03-08T15:08:02.134Z] e16973657156: Verifying Checksum [2023-03-08T15:08:02.134Z] e16973657156: Download complete [2023-03-08T15:08:02.134Z] 35d82f9e3411: Verifying Checksum [2023-03-08T15:08:02.134Z] 35d82f9e3411: Download complete [2023-03-08T15:08:02.134Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T15:08:02.134Z] 7e9fc2657dce: Download complete [2023-03-08T15:08:02.134Z] dda99020689f: Verifying Checksum [2023-03-08T15:08:02.134Z] dda99020689f: Download complete [2023-03-08T15:08:02.134Z] 9b18e9b68314: Verifying Checksum [2023-03-08T15:08:03.108Z] 9b18e9b68314: Pull complete [2023-03-08T15:08:03.108Z] 891c053d2c06: Verifying Checksum [2023-03-08T15:08:03.108Z] 891c053d2c06: Download complete [2023-03-08T15:08:03.707Z] 35d82f9e3411: Pull complete [2023-03-08T15:08:03.978Z] e16973657156: Pull complete [2023-03-08T15:08:04.567Z] db1c61fa0a46: Verifying Checksum [2023-03-08T15:08:04.567Z] db1c61fa0a46: Download complete [2023-03-08T15:08:05.154Z] fc693d55d65f: Download complete [2023-03-08T15:08:17.487Z] fc693d55d65f: Pull complete [2023-03-08T15:08:17.487Z] 7e9fc2657dce: Pull complete [2023-03-08T15:08:17.487Z] dda99020689f: Pull complete [2023-03-08T15:08:22.852Z] db1c61fa0a46: Pull complete [2023-03-08T15:08:24.823Z] 891c053d2c06: Pull complete [2023-03-08T15:08:24.823Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T15:08:24.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T15:08:24.823Z] ---> f96f9c87975a [2023-03-08T15:08:24.823Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:08:26.791Z] ---> Running in f7ff89ae9643 [2023-03-08T15:08:27.068Z] Removing intermediate container f7ff89ae9643 [2023-03-08T15:08:27.068Z] ---> c888a58e9c19 [2023-03-08T15:08:27.068Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:08:27.339Z] ---> Running in 1a95b483da74 [2023-03-08T15:08:27.694Z] Removing intermediate container 1a95b483da74 [2023-03-08T15:08:27.694Z] ---> d0b44624213b [2023-03-08T15:08:27.694Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:08:27.694Z] ---> Running in 7714fef0a320 [2023-03-08T15:08:28.312Z] Removing intermediate container 7714fef0a320 [2023-03-08T15:08:28.312Z] ---> ad5ed8ea7d75 [2023-03-08T15:08:28.312Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:08:28.312Z] ---> Running in 3fc9f8a3d555 [2023-03-08T15:08:28.582Z] Removing intermediate container 3fc9f8a3d555 [2023-03-08T15:08:28.582Z] ---> 328740277e0d [2023-03-08T15:08:28.582Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:08:28.848Z] ---> Running in aff1be2d0c63 [2023-03-08T15:08:29.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:08:30.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:08:31.363Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:08:31.363Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:08:31.363Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:08:31.363Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:08:31.363Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:08:31.363Z] OK: 226 MiB in 55 packages [2023-03-08T15:08:32.773Z] Removing intermediate container aff1be2d0c63 [2023-03-08T15:08:32.773Z] ---> cfecfe27809e [2023-03-08T15:08:32.773Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:08:32.773Z] ---> Running in 07e6c23e30ed [2023-03-08T15:08:32.773Z] Removing intermediate container 07e6c23e30ed [2023-03-08T15:08:32.773Z] ---> 210af00ab512 [2023-03-08T15:08:32.773Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:08:33.358Z] ---> 7f1be637d63b [2023-03-08T15:08:33.358Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:08:33.358Z] ---> Running in 2e88b84cd2bf [2023-03-08T15:09:55.009Z] Removing intermediate container 2e88b84cd2bf [2023-03-08T15:09:55.009Z] ---> e16dfec9d2cd [2023-03-08T15:09:55.009Z] Step 11/12 : COPY . . [2023-03-08T15:09:55.009Z] ---> ab0c509c5ad2 [2023-03-08T15:09:55.009Z] Step 12/12 : RUN $MAKE [2023-03-08T15:09:55.009Z] ---> Running in cb61f376d74b [2023-03-08T15:09:55.009Z] noop [2023-03-08T15:09:55.009Z] Removing intermediate container cb61f376d74b [2023-03-08T15:09:55.009Z] ---> e5a12cb9d9db [2023-03-08T15:09:55.009Z] Successfully built e5a12cb9d9db [2023-03-08T15:09:55.009Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:09:55.375Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:09:55.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:09:55.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-8818 does not seem to be running inside a container [2023-03-08T15:09:55.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T15:09:57.084Z] $ docker top 2ff21aca678c110c36538719dad4eb4d3d154bb089dee79a9cbda419dac80ac2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:09:57.919Z] + go version [2023-03-08T15:09:57.919Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T15:09:57.941Z] $ docker stop --time=1 2ff21aca678c110c36538719dad4eb4d3d154bb089dee79a9cbda419dac80ac2 [2023-03-08T15:09:59.630Z] $ docker rm -f --volumes 2ff21aca678c110c36538719dad4eb4d3d154bb089dee79a9cbda419dac80ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:10:00.165Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:10:00.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:10:00.351Z] prd-ubuntu20.04-docker-arm64-4c-16g-8818 does not seem to be running inside a container [2023-03-08T15:10:00.425Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T15:10:01.626Z] $ docker top 83cc8cdf27bb9c0145ab7f02a71f62a38d80a9cfe765e03c1878aa940b2f4427 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:10:02.479Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:10:03.143Z] + make test [2023-03-08T15:10:03.143Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:10:04.570Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:11:26.293Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-08T15:11:26.293Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:45:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-08T15:11:26.293Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:89:37: configuration.MessageBus.Topics undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo has no field or method Topics) [2023-03-08T15:11:26.293Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.26/internal/common/utils.go:89:51: undefined: config.MessageBusPublishTopicPrefix [2023-03-08T15:11:32.972Z] FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] [2023-03-08T15:11:33.241Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-03-08T15:11:33.267Z] $ docker stop --time=1 83cc8cdf27bb9c0145ab7f02a71f62a38d80a9cfe765e03c1878aa940b2f4427 [2023-03-08T15:11:35.172Z] $ docker rm -f --volumes 83cc8cdf27bb9c0145ab7f02a71f62a38d80a9cfe765e03c1878aa940b2f4427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:36.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:11:36.230Z] [2023-03-08T15:11:36.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:36.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:11:36.856Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T15:11:36.856Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T15:11:36.856Z] 04944245beec: Pulling fs layer [2023-03-08T15:11:36.856Z] 699f458cf7ca: Pulling fs layer [2023-03-08T15:11:36.856Z] 765212b225bb: Pulling fs layer [2023-03-08T15:11:36.856Z] f23df028b6ca: Pulling fs layer [2023-03-08T15:11:36.856Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T15:11:36.856Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T15:11:36.856Z] 765212b225bb: Waiting [2023-03-08T15:11:36.856Z] f23df028b6ca: Waiting [2023-03-08T15:11:36.856Z] d65c8cfc05b1: Waiting [2023-03-08T15:11:36.856Z] 04944245beec: Verifying Checksum [2023-03-08T15:11:36.856Z] 04944245beec: Download complete [2023-03-08T15:11:36.856Z] 765212b225bb: Verifying Checksum [2023-03-08T15:11:36.856Z] 765212b225bb: Download complete [2023-03-08T15:11:36.856Z] f23df028b6ca: Verifying Checksum [2023-03-08T15:11:36.856Z] f23df028b6ca: Download complete [2023-03-08T15:11:36.856Z] d65c8cfc05b1: Download complete [2023-03-08T15:11:37.128Z] 699f458cf7ca: Verifying Checksum [2023-03-08T15:11:37.128Z] 699f458cf7ca: Download complete [2023-03-08T15:11:37.399Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T15:11:37.399Z] 8998bd30e6a1: Download complete [2023-03-08T15:11:40.778Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T15:11:40.778Z] 2437ff75d9bd: Download complete [2023-03-08T15:11:41.742Z] 8998bd30e6a1: Pull complete [2023-03-08T15:11:42.332Z] 04944245beec: Pull complete [2023-03-08T15:11:44.296Z] 699f458cf7ca: Pull complete [2023-03-08T15:11:44.566Z] 765212b225bb: Pull complete [2023-03-08T15:11:45.541Z] f23df028b6ca: Pull complete [2023-03-08T15:11:45.541Z] d65c8cfc05b1: Pull complete [2023-03-08T15:12:07.658Z] 2437ff75d9bd: Pull complete [2023-03-08T15:12:07.658Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T15:12:07.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:12:07.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:12:07.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-8818 does not seem to be running inside a container [2023-03-08T15:12:07.972Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T15:12:10.133Z] $ docker top 839b4fc14c95e948a6fce3d777d5e343ed4258368661db9558fc4f7ad1a1e32d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:11.026Z] ---> job-cost.sh [2023-03-08T15:12:11.026Z] lf-activate-venv: SKIPPING [2023-03-08T15:12:11.026Z] INFO: No Stack... [2023-03-08T15:12:11.611Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T15:12:12.579Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:12:13.227Z] + + cat /w/workspace/device-mqtt-go/2/archives/cost.csvcut [2023-03-08T15:12:13.227Z] -d, -f6 [Pipeline] lock [2023-03-08T15:12:13.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [2023-03-08T15:12:13.317Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] did not exist. Created. [2023-03-08T15:12:13.317Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:12:13.987Z] /w/workspace/device-mqtt-go/2@tmp/durable-69408b07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T15:12:14.646Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T15:12:14.665Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T15:12:15.165Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:12:15.175Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-513-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:12:15.194Z] $ docker stop --time=1 839b4fc14c95e948a6fce3d777d5e343ed4258368661db9558fc4f7ad1a1e32d [2023-03-08T15:12:16.842Z] $ docker rm -f --volumes 839b4fc14c95e948a6fce3d777d5e343ed4258368661db9558fc4f7ad1a1e32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T15:12:17.086Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-08T15:12:17.736Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives ] [2023-03-08T15:12:17.737Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives [2023-03-08T15:12:17.737Z] total 16 [2023-03-08T15:12:17.737Z] drwxr-xr-x 3 root root 4096 Mar 8 15:06 . [2023-03-08T15:12:17.737Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:06 .. [2023-03-08T15:12:17.737Z] drwxr-xr-x 2 root root 4096 Mar 8 15:06 cost [2023-03-08T15:12:17.737Z] -rw-r--r-- 1 root root 86 Mar 8 15:06 cost.csv [2023-03-08T15:12:17.737Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives [2023-03-08T15:12:17.737Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives [2023-03-08T15:12:17.737Z] total 16 [2023-03-08T15:12:17.737Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:06 . [2023-03-08T15:12:17.737Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:06 .. [2023-03-08T15:12:17.737Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 15:06 cost [2023-03-08T15:12:17.737Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 15:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:18.027Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:18.887Z] ---> package-listing.sh [2023-03-08T15:12:18.887Z] ++ facter osfamily [2023-03-08T15:12:18.887Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T15:12:19.147Z] + OS_FAMILY=debian [2023-03-08T15:12:19.147Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-513 [2023-03-08T15:12:19.147Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T15:12:19.147Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T15:12:19.147Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T15:12:19.147Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T15:12:19.147Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-513 ']' [2023-03-08T15:12:19.147Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T15:12:19.147Z] + case "${OS_FAMILY}" in [2023-03-08T15:12:19.147Z] + dpkg -l [2023-03-08T15:12:19.147Z] + grep '^ii' [2023-03-08T15:12:19.147Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T15:12:19.147Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T15:12:19.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T15:12:19.147Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-513 ']' [2023-03-08T15:12:19.147Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives/ [2023-03-08T15:12:19.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-513/archives/ [Pipeline] echo [2023-03-08T15:12:19.155Z] 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T15:12:19.432Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:12:19.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:12:19.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:12:20.057Z] prd-ubuntu20.04-docker-8c-8g-8815 does not seem to be running inside a container [2023-03-08T15:12:20.089Z] $ 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-513/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-513 -v /w/workspace/gexfoundry_device-mqtt-go_PR-513:/w/workspace/gexfoundry_device-mqtt-go_PR-513:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-513@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T15:12:20.259Z] $ docker top e9aab214a027797b7fae4a92c0da454761fdfa2626414e9f2eef167855d429e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:12:20.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T15:12:20.882Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T15:12:21.166Z] + ls /var/log/sa-host [2023-03-08T15:12:21.166Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:12:21.319Z] provisioning config files... [2023-03-08T15:12:21.328Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-513@tmp/config17417790186254911802tmp [Pipeline] { [Pipeline] echo [2023-03-08T15:12:21.343Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:21.626Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T15:12:21.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:21.962Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T15:12:21.972Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:22.256Z] ---> sudo-logs.sh [2023-03-08T15:12:22.256Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T15:12:22.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:22.564Z] ---> job-cost.sh [2023-03-08T15:12:22.564Z] lf-activate-venv: SKIPPING [2023-03-08T15:12:22.564Z] DEBUG: total: 0.2199999988079071 [2023-03-08T15:12:22.564Z] INFO: Retrieving Stack Cost... [2023-03-08T15:12:22.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:12:23.084Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T15:12:23.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:12:23.641Z] ---> logs-deploy.sh [2023-03-08T15:12:23.641Z] lf-activate-venv: SKIPPING [2023-03-08T15:12:23.641Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-513/2 [2023-03-08T15:12:23.641Z] INFO: archiving workspace using pattern(s): [2023-03-08T15:12:24.578Z] Archives upload complete. [2023-03-08T15:12:24.578Z] INFO: archiving logs to Nexus