Pull request #512 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 1cc9a7eb41750662e6d40092eb74fdcfac7e224a+bc7652beee9a90296fe0b57947c4589a421f5e02 (59322dd95e153003ce4a14e0080eaefb004ace84) 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-ssh12787278226096011459.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-ssh1821261544806240911.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-512/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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14277048875109791835.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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17695377392602669905.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12164270089778501727.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-512/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-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5301258613442064673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-8609 in /w/workspace/gexfoundry_device-mqtt-go_PR-512 [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-512 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 1cc9a7eb41750662e6d40092eb74fdcfac7e224a > 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/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc9a7eb41750662e6d40092eb74fdcfac7e224a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 1cc9a7eb41750662e6d40092eb74fdcfac7e224a Checking out Revision 1cc9a7eb41750662e6d40092eb74fdcfac7e224a (PR-512) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc9a7eb41750662e6d40092eb74fdcfac7e224a # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T19:01:25.059Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T19:01:25.235Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T19:01:25.332Z] ========================================================= [2023-03-07T19:01:25.332Z] EdgeX Global Pipelines Version Info [2023-03-07T19:01:25.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:01:26.066Z] ------------------- [2023-03-07T19:01:26.066Z] stable info: [2023-03-07T19:01:26.066Z] ------------------- [2023-03-07T19:01:26.066Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T19:01:26.067Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T19:01:26.067Z] Message: update stable to v1.0.244 [2023-03-07T19:01:26.635Z] ------------------- [2023-03-07T19:01:26.635Z] experimental info: [2023-03-07T19:01:26.635Z] ------------------- [2023-03-07T19:01:26.635Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T19:01:26.635Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T19:01:26.635Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T19:01:26.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-07T19:01:26.974Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-07T19:01:27.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T19:01:27.045Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T19:01:27.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T19:01:27.128Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T19:01:27.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T19:01:27.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T19:01:27.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T19:01:27.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T19:01:27.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T19:01:27.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-07T19:01:27.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T19:01:27.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T19:01:27.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T19:01:27.522Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T19:01:27.563Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T19:01:27.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T19:01:27.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T19:01:27.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T19:01:27.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-07T19:01:27.769Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-07T19:01:27.811Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T19:01:27.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T19:01:27.897Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T19:01:27.936Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T19:01:27.978Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T19:01:28.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-512 [Pipeline] echo [2023-03-07T19:01:28.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-512 [Pipeline] echo [2023-03-07T19:01:28.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-512 [Pipeline] echo [2023-03-07T19:01:28.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [Pipeline] echo [2023-03-07T19:01:28.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cc9a7e [Pipeline] echo [2023-03-07T19:01:28.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T19:01:28.329Z] provisioning config files... [2023-03-07T19:01:28.340Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/config5817503451917944384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:01:28.684Z] ---> docker-login.sh [2023-03-07T19:01:28.684Z] nexus3.edgexfoundry.org:10001 [2023-03-07T19:01:28.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:28.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:28.944Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:28.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:28.944Z] [2023-03-07T19:01:28.944Z] Login Succeeded [2023-03-07T19:01:28.944Z] nexus3.edgexfoundry.org:10002 [2023-03-07T19:01:28.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:29.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:29.203Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:29.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:29.203Z] [2023-03-07T19:01:29.203Z] Login Succeeded [2023-03-07T19:01:29.203Z] nexus3.edgexfoundry.org:10003 [2023-03-07T19:01:29.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:29.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:29.203Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:29.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:29.203Z] [2023-03-07T19:01:29.203Z] Login Succeeded [2023-03-07T19:01:29.203Z] nexus3.edgexfoundry.org:10004 [2023-03-07T19:01:29.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:29.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:29.462Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:29.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:29.462Z] [2023-03-07T19:01:29.462Z] Login Succeeded [2023-03-07T19:01:29.462Z] docker.io [2023-03-07T19:01:29.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:29.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:29.722Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:29.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:29.722Z] [2023-03-07T19:01:29.722Z] Login Succeeded [2023-03-07T19:01:29.722Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T19:01:29.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T19:01:30.374Z] + git rev-list -1 --merges 1cc9a7eb41750662e6d40092eb74fdcfac7e224a~1..1cc9a7eb41750662e6d40092eb74fdcfac7e224a [Pipeline] echo [2023-03-07T19:01:30.432Z] -----------> git rev-list -1 --merges 1cc9a7eb41750662e6d40092eb74fdcfac7e224a~1..1cc9a7eb41750662e6d40092eb74fdcfac7e224a 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [false] [Pipeline] sh [2023-03-07T19:01:30.746Z] + git log --format=format:%s -1 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [Pipeline] echo [2023-03-07T19:01:30.780Z] ========================================================= [2023-03-07T19:01:30.780Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T19:01:30.780Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T19:01:31.224Z] + git log --format=format:%s -1 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [Pipeline] echo [2023-03-07T19:01:31.260Z] [semverPrep] GIT_COMMIT: 1cc9a7eb41750662e6d40092eb74fdcfac7e224a, Commit Message: feat!: updates for common config [Pipeline] echo [2023-03-07T19:01:31.290Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T19:01:31.682Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T19:01:31.682Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T19:01:31.682Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T19:01:31.682Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T19:01:31.682Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T19:01:31.682Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T19:01:31.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:01:32.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T19:01:32.167Z] [2023-03-07T19:01:32.167Z] 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-07T19:01:32.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T19:01:32.547Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T19:01:32.547Z] b85a868b505f: Pulling fs layer [2023-03-07T19:01:32.547Z] e2be974225ed: Pulling fs layer [2023-03-07T19:01:32.547Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T19:01:32.547Z] 988bab9f4d93: Pulling fs layer [2023-03-07T19:01:32.547Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T19:01:32.547Z] eaf3925da568: Pulling fs layer [2023-03-07T19:01:32.547Z] bab4dde63d76: Pulling fs layer [2023-03-07T19:01:32.547Z] bde34c3a00c8: Pulling fs layer [2023-03-07T19:01:32.547Z] b352a97aabf1: Pulling fs layer [2023-03-07T19:01:32.547Z] 4872d77fe225: Pulling fs layer [2023-03-07T19:01:32.547Z] 5851b861e8e6: Pulling fs layer [2023-03-07T19:01:32.547Z] 988bab9f4d93: Waiting [2023-03-07T19:01:32.547Z] 1469e6f7b9e6: Waiting [2023-03-07T19:01:32.547Z] eaf3925da568: Waiting [2023-03-07T19:01:32.547Z] bab4dde63d76: Waiting [2023-03-07T19:01:32.547Z] 5851b861e8e6: Waiting [2023-03-07T19:01:32.547Z] bde34c3a00c8: Waiting [2023-03-07T19:01:32.547Z] b352a97aabf1: Waiting [2023-03-07T19:01:32.547Z] 4872d77fe225: Waiting [2023-03-07T19:01:32.547Z] e2be974225ed: Download complete [2023-03-07T19:01:32.547Z] 988bab9f4d93: Verifying Checksum [2023-03-07T19:01:32.547Z] 988bab9f4d93: Download complete [2023-03-07T19:01:32.807Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T19:01:32.807Z] 1469e6f7b9e6: Download complete [2023-03-07T19:01:32.807Z] eaf3925da568: Verifying Checksum [2023-03-07T19:01:32.807Z] eaf3925da568: Download complete [2023-03-07T19:01:32.807Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T19:01:32.807Z] 339a4e72a1f5: Download complete [2023-03-07T19:01:32.807Z] bde34c3a00c8: Download complete [2023-03-07T19:01:32.807Z] b352a97aabf1: Download complete [2023-03-07T19:01:32.807Z] 4872d77fe225: Download complete [2023-03-07T19:01:32.807Z] 5851b861e8e6: Download complete [2023-03-07T19:01:32.807Z] b85a868b505f: Verifying Checksum [2023-03-07T19:01:32.807Z] b85a868b505f: Download complete [2023-03-07T19:01:33.065Z] bab4dde63d76: Verifying Checksum [2023-03-07T19:01:33.065Z] bab4dde63d76: Download complete [2023-03-07T19:01:34.000Z] b85a868b505f: Pull complete [2023-03-07T19:01:34.259Z] e2be974225ed: Pull complete [2023-03-07T19:01:34.518Z] 339a4e72a1f5: Pull complete [2023-03-07T19:01:34.518Z] 988bab9f4d93: Pull complete [2023-03-07T19:01:34.778Z] 1469e6f7b9e6: Pull complete [2023-03-07T19:01:34.778Z] eaf3925da568: Pull complete [2023-03-07T19:01:36.681Z] bab4dde63d76: Pull complete [2023-03-07T19:01:36.681Z] bde34c3a00c8: Pull complete [2023-03-07T19:01:36.681Z] b352a97aabf1: Pull complete [2023-03-07T19:01:36.681Z] 4872d77fe225: Pull complete [2023-03-07T19:01:36.941Z] 5851b861e8e6: Pull complete [2023-03-07T19:01:36.941Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T19:01:36.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T19:01:36.941Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:01:37.163Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-03-07T19:01:37.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-512 -v /w/workspace/gexfoundry_device-mqtt-go_PR-512:/w/workspace/gexfoundry_device-mqtt-go_PR-512:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-512@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-07T19:01:39.517Z] $ docker top ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d -eo pid,comm [2023-03-07T19:01:39.568Z] 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-07T19:01:39.568Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T19:01:39.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T19:01:39.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T19:01:39.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T19:01:39.825Z] $ docker exec ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d ssh-agent [2023-03-07T19:01:39.931Z] SSH_AUTH_SOCK=/tmp/ssh-zTFCpIQmGEIr/agent.33 [2023-03-07T19:01:39.931Z] SSH_AGENT_PID=39 [2023-03-07T19:01:39.938Z] Running ssh-add (command line suppressed) [2023-03-07T19:01:40.048Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/private_key_14481074307045404888.key (/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/private_key_14481074307045404888.key) [2023-03-07T19:01:40.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T19:01:40.391Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T19:01:40.417Z] $ docker exec --env ******** --env ******** ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d ssh-agent -k [2023-03-07T19:01:40.514Z] unset SSH_AUTH_SOCK; [2023-03-07T19:01:40.514Z] unset SSH_AGENT_PID; [2023-03-07T19:01:40.515Z] echo Agent pid 39 killed; [2023-03-07T19:01:40.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T19:01:40.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T19:01:40.618Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T19:01:40.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T19:01:40.727Z] $ docker exec ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d ssh-agent [2023-03-07T19:01:40.827Z] SSH_AUTH_SOCK=/tmp/ssh-UWVPLicj5Nhj/agent.71 [2023-03-07T19:01:40.827Z] SSH_AGENT_PID=77 [2023-03-07T19:01:40.832Z] Running ssh-add (command line suppressed) [2023-03-07T19:01:40.927Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/private_key_14234374371264475060.key (/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/private_key_14234374371264475060.key) [2023-03-07T19:01:40.941Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T19:01:41.272Z] + git semver init [2023-03-07T19:01:41.532Z] 2023-03-07 19:01:41,471 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T19:01:41.532Z] 2023-03-07 19:01:41,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver [2023-03-07T19:01:41.533Z] 2023-03-07 19:01:41,473 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver [2023-03-07T19:01:41.533Z] 2023-03-07 19:01:41,473 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-512, universal_newlines=False, shell=None, istream=None) [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,317 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512/.git/info/exclude [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,318 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver/PR-512 with force:False [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,318 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver/PR-512 [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,323 [execute] INFO git cat-file --batch-check [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,331 [execute] INFO git cat-file --batch [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T19:01:42.472Z] 2023-03-07 19:01:42,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-512/.semver/PR-512 [2023-03-07T19:01:42.472Z] 0.0.0 [Pipeline] } [2023-03-07T19:01:42.500Z] $ docker exec --env ******** --env ******** ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d ssh-agent -k [2023-03-07T19:01:42.592Z] unset SSH_AUTH_SOCK; [2023-03-07T19:01:42.593Z] unset SSH_AGENT_PID; [2023-03-07T19:01:42.593Z] echo Agent pid 77 killed; [2023-03-07T19:01:42.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T19:01:43.023Z] + git semver [Pipeline] } [2023-03-07T19:01:43.305Z] $ docker stop --time=1 ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d [2023-03-07T19:01:44.537Z] $ docker rm -f --volumes ad727368650c20cd07c4aaf1f0b9bba3d7608552b7338971a903c81f6d10550d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T19:01:44.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T19:01:45.234Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T19:01:45.251Z] [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-07T19:01:45.826Z] provisioning config files... [2023-03-07T19:01:45.834Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/config9466594552641773561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:01:45.930Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8614 in /w/workspace/gexfoundry_device-mqtt-go_PR-512 [Pipeline] { [Pipeline] ws [2023-03-07T19:01:46.006Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T19:01:46.085Z] Selected Git installation does not exist. Using Default [2023-03-07T19:01:46.085Z] The recommended git tool is: NONE [2023-03-07T19:01:46.177Z] ---> docker-login.sh [2023-03-07T19:01:46.177Z] nexus3.edgexfoundry.org:10001 [2023-03-07T19:01:46.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:46.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:46.177Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:46.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:46.177Z] [2023-03-07T19:01:46.177Z] Login Succeeded [2023-03-07T19:01:46.177Z] nexus3.edgexfoundry.org:10002 [2023-03-07T19:01:46.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:46.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:46.177Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:46.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:46.177Z] [2023-03-07T19:01:46.177Z] Login Succeeded [2023-03-07T19:01:46.177Z] nexus3.edgexfoundry.org:10003 [2023-03-07T19:01:46.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:46.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:46.439Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:46.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:46.439Z] [2023-03-07T19:01:46.439Z] Login Succeeded [2023-03-07T19:01:46.439Z] nexus3.edgexfoundry.org:10004 [2023-03-07T19:01:46.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:46.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:46.439Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:46.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:46.439Z] [2023-03-07T19:01:46.439Z] Login Succeeded [2023-03-07T19:01:46.439Z] docker.io [2023-03-07T19:01:46.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:01:46.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:01:46.698Z] Configure a credential helper to remove this warning. See [2023-03-07T19:01:46.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:01:46.698Z] [2023-03-07T19:01:46.698Z] Login Succeeded [2023-03-07T19:01:46.698Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T19:01:46.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T19:01:46.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T19:01:46.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T19:01:46.979Z] ========================================================= [2023-03-07T19:01:46.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T19:01:46.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:01:47.436Z] + 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-07T19:01:47.436Z] Sending build context to Docker daemon 6.368MB [2023-03-07T19:01:47.436Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T19:01:47.436Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T19:01:47.436Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T19:01:47.436Z] 213ec9aee27d: Pulling fs layer [2023-03-07T19:01:47.436Z] 4583459ba037: Pulling fs layer [2023-03-07T19:01:47.436Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T19:01:47.437Z] 53926ce57604: Pulling fs layer [2023-03-07T19:01:47.437Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T19:01:47.437Z] 22ff95d597cd: Pulling fs layer [2023-03-07T19:01:47.437Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T19:01:47.437Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T19:01:47.437Z] a7acece74701: Pulling fs layer [2023-03-07T19:01:47.437Z] 96b7cbca73a9: Waiting [2023-03-07T19:01:47.437Z] 12d6caf4c0d1: Waiting [2023-03-07T19:01:47.437Z] 22ff95d597cd: Waiting [2023-03-07T19:01:47.437Z] a7acece74701: Waiting [2023-03-07T19:01:47.437Z] 21b2b0c7a3f4: Waiting [2023-03-07T19:01:47.437Z] 53926ce57604: Waiting [2023-03-07T19:01:47.437Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T19:01:47.437Z] 93c1e223e6f2: Download complete [2023-03-07T19:01:47.437Z] 4583459ba037: Verifying Checksum [2023-03-07T19:01:47.437Z] 4583459ba037: Download complete [2023-03-07T19:01:47.437Z] 21b2b0c7a3f4: Download complete [2023-03-07T19:01:47.437Z] 22ff95d597cd: Verifying Checksum [2023-03-07T19:01:47.437Z] 22ff95d597cd: Download complete [2023-03-07T19:01:47.699Z] 213ec9aee27d: Verifying Checksum [2023-03-07T19:01:47.699Z] 213ec9aee27d: Download complete [2023-03-07T19:01:47.699Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T19:01:47.699Z] 12d6caf4c0d1: Download complete [2023-03-07T19:01:47.699Z] 213ec9aee27d: Pull complete [2023-03-07T19:01:47.960Z] 4583459ba037: Pull complete [2023-03-07T19:01:47.960Z] 93c1e223e6f2: Pull complete [2023-03-07T19:01:47.960Z] a7acece74701: Verifying Checksum [2023-03-07T19:01:47.960Z] a7acece74701: Download complete [2023-03-07T19:01:48.219Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T19:01:48.219Z] 96b7cbca73a9: Download complete [2023-03-07T19:01:48.478Z] 53926ce57604: Verifying Checksum [2023-03-07T19:01:48.478Z] 53926ce57604: Download complete [2023-03-07T19:01:50.646Z] using credential edgex-jenkins-ssh [2023-03-07T19:01:50.662Z] Cloning the remote Git repository [2023-03-07T19:01:50.706Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T19:01:50.782Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-07T19:01:51.763Z] 53926ce57604: Pull complete [2023-03-07T19:01:51.763Z] 21b2b0c7a3f4: Pull complete [2023-03-07T19:01:52.021Z] 22ff95d597cd: Pull complete [2023-03-07T19:01:52.021Z] 12d6caf4c0d1: Pull complete [2023-03-07T19:01:50.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T19:01:50.936Z] > git --version # timeout=10 [2023-03-07T19:01:50.958Z] > git --version # 'git version 2.25.1' [2023-03-07T19:01:50.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T19:01:51.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T19:01:52.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-07T19:01:52.141Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T19:01:52.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-07T19:01:52.937Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-07T19:01:52.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T19:01:52.950Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T19:01:53.526Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [2023-03-07T19:01:53.726Z] Merge succeeded, producing 1cc9a7eb41750662e6d40092eb74fdcfac7e224a [2023-03-07T19:01:53.726Z] Checking out Revision 1cc9a7eb41750662e6d40092eb74fdcfac7e224a (PR-512) [2023-03-07T19:01:53.922Z] 96b7cbca73a9: Pull complete [2023-03-07T19:01:53.537Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T19:01:53.562Z] > git checkout -f 1cc9a7eb41750662e6d40092eb74fdcfac7e224a # timeout=10 [2023-03-07T19:01:53.635Z] > git remote # timeout=10 [2023-03-07T19:01:53.650Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T19:01:53.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T19:01:53.681Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-03-07T19:01:53.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T19:01:53.729Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T19:01:53.748Z] > git checkout -f 1cc9a7eb41750662e6d40092eb74fdcfac7e224a # timeout=10 [2023-03-07T19:01:54.858Z] a7acece74701: Pull complete [2023-03-07T19:01:54.858Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T19:01:54.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T19:01:54.858Z] ---> db6d94c90886 [2023-03-07T19:01:54.858Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T19:01:57.204Z] Commit message: "feat!: updates for common config" [2023-03-07T19:01:57.243Z] > git --version # timeout=10 [2023-03-07T19:01:57.253Z] > git --version # 'git version 2.25.1' [2023-03-07T19:01:57.267Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T19:01:58.342Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T19:01:58.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T19:01:58.342Z] Dload Upload Total Spent Left Speed [2023-03-07T19:01:58.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-03-07T19:01:59.035Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-03-07T19:01:59.047Z] ---> Running in cf2a8cdcad40 [2023-03-07T19:01:59.047Z] Removing intermediate container cf2a8cdcad40 [2023-03-07T19:01:59.047Z] ---> a1d2cc930fad [2023-03-07T19:01:59.047Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T19:01:59.047Z] ---> Running in 96b579209ff2 [2023-03-07T19:01:59.047Z] Removing intermediate container 96b579209ff2 [2023-03-07T19:01:59.047Z] ---> e0e12dba58ca [2023-03-07T19:01:59.047Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T19:01:59.047Z] ---> Running in 198e9957619f [2023-03-07T19:01:59.047Z] Removing intermediate container 198e9957619f [2023-03-07T19:01:59.047Z] ---> 2030fa0199ed [2023-03-07T19:01:59.047Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T19:01:59.047Z] ---> Running in 594f63405ab5 [2023-03-07T19:01:59.047Z] Removing intermediate container 594f63405ab5 [2023-03-07T19:01:59.047Z] ---> 42e36f991580 [2023-03-07T19:01:59.047Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T19:01:59.047Z] ---> Running in 1543ab18223f [Pipeline] sh [2023-03-07T19:01:59.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T19:01:59.398Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-07T19:01:59.398Z] /etc/docker/daemon.json [2023-03-07T19:01:59.398Z] { [2023-03-07T19:01:59.398Z] "registry-mirrors": [ [2023-03-07T19:01:59.398Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T19:01:59.398Z] ], [2023-03-07T19:01:59.398Z] "bip": "10.250.0.254/24", [2023-03-07T19:01:59.398Z] "hosts": [ [2023-03-07T19:01:59.398Z] "tcp://0.0.0.0:5555", [2023-03-07T19:01:59.398Z] "unix:///var/run/docker.sock" [2023-03-07T19:01:59.398Z] ], [2023-03-07T19:01:59.398Z] "mtu": 1458, [2023-03-07T19:01:59.398Z] "selinux-enabled": true, [2023-03-07T19:01:59.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T19:01:59.398Z] } [Pipeline] sh [2023-03-07T19:01:59.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T19:01:59.735Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T19:01:59.819Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T19:01:59.819Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T19:01:59.819Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T19:01:59.819Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T19:01:59.819Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T19:01:59.819Z] OK: 216 MiB in 55 packages [2023-03-07T19:02:00.079Z] + sudo service docker restart [2023-03-07T19:02:00.388Z] Removing intermediate container 1543ab18223f [2023-03-07T19:02:00.388Z] ---> 634216da40f9 [2023-03-07T19:02:00.388Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-07T19:02:00.388Z] ---> Running in f0aadd10b465 [2023-03-07T19:02:00.388Z] Removing intermediate container f0aadd10b465 [2023-03-07T19:02:00.388Z] ---> df41ed819134 [2023-03-07T19:02:00.388Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T19:02:00.388Z] ---> 9a967fba78a7 [2023-03-07T19:02:00.388Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T19:02:00.388Z] ---> Running in a9dfd3018297 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T19:02:18.388Z] provisioning config files... [2023-03-07T19:02:18.411Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3177865419364498506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:02:18.786Z] ---> docker-login.sh [2023-03-07T19:02:18.786Z] nexus3.edgexfoundry.org:10001 [2023-03-07T19:02:19.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:02:19.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:02:19.325Z] Configure a credential helper to remove this warning. See [2023-03-07T19:02:19.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:02:19.325Z] [2023-03-07T19:02:19.325Z] Login Succeeded [2023-03-07T19:02:19.325Z] nexus3.edgexfoundry.org:10002 [2023-03-07T19:02:19.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:02:19.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:02:19.594Z] Configure a credential helper to remove this warning. See [2023-03-07T19:02:19.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:02:19.594Z] [2023-03-07T19:02:19.594Z] Login Succeeded [2023-03-07T19:02:19.863Z] nexus3.edgexfoundry.org:10003 [2023-03-07T19:02:19.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:02:20.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:02:20.132Z] Configure a credential helper to remove this warning. See [2023-03-07T19:02:20.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:02:20.132Z] [2023-03-07T19:02:20.132Z] Login Succeeded [2023-03-07T19:02:20.132Z] nexus3.edgexfoundry.org:10004 [2023-03-07T19:02:20.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:02:20.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:02:20.403Z] Configure a credential helper to remove this warning. See [2023-03-07T19:02:20.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:02:20.403Z] [2023-03-07T19:02:20.403Z] Login Succeeded [2023-03-07T19:02:20.403Z] docker.io [2023-03-07T19:02:20.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T19:02:20.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T19:02:20.938Z] Configure a credential helper to remove this warning. See [2023-03-07T19:02:20.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T19:02:20.938Z] [2023-03-07T19:02:20.938Z] Login Succeeded [2023-03-07T19:02:20.938Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T19:02:20.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T19:02:21.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T19:02:21.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T19:02:21.379Z] ========================================================= [2023-03-07T19:02:21.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T19:02:21.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:02:21.870Z] + 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-07T19:02:22.138Z] Sending build context to Docker daemon 3.318MB [2023-03-07T19:02:22.138Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T19:02:22.138Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T19:02:23.550Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T19:02:23.550Z] 9b18e9b68314: Pulling fs layer [2023-03-07T19:02:23.550Z] 35d82f9e3411: Pulling fs layer [2023-03-07T19:02:23.550Z] e16973657156: Pulling fs layer [2023-03-07T19:02:23.550Z] fc693d55d65f: Pulling fs layer [2023-03-07T19:02:23.550Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T19:02:23.550Z] dda99020689f: Pulling fs layer [2023-03-07T19:02:23.550Z] db1c61fa0a46: Pulling fs layer [2023-03-07T19:02:23.550Z] 891c053d2c06: Pulling fs layer [2023-03-07T19:02:23.550Z] dda99020689f: Waiting [2023-03-07T19:02:23.550Z] fc693d55d65f: Waiting [2023-03-07T19:02:23.550Z] db1c61fa0a46: Waiting [2023-03-07T19:02:23.550Z] 7e9fc2657dce: Waiting [2023-03-07T19:02:23.550Z] 891c053d2c06: Waiting [2023-03-07T19:02:23.550Z] e16973657156: Download complete [2023-03-07T19:02:23.550Z] 35d82f9e3411: Download complete [2023-03-07T19:02:23.550Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T19:02:23.550Z] 7e9fc2657dce: Download complete [2023-03-07T19:02:23.550Z] dda99020689f: Verifying Checksum [2023-03-07T19:02:23.550Z] dda99020689f: Download complete [2023-03-07T19:02:23.550Z] 9b18e9b68314: Download complete [2023-03-07T19:02:24.529Z] 9b18e9b68314: Pull complete [2023-03-07T19:02:24.796Z] 891c053d2c06: Verifying Checksum [2023-03-07T19:02:24.796Z] 891c053d2c06: Download complete [2023-03-07T19:02:25.066Z] 35d82f9e3411: Pull complete [2023-03-07T19:02:25.336Z] e16973657156: Pull complete [2023-03-07T19:02:25.933Z] db1c61fa0a46: Verifying Checksum [2023-03-07T19:02:25.933Z] db1c61fa0a46: Download complete [2023-03-07T19:02:26.516Z] fc693d55d65f: Verifying Checksum [2023-03-07T19:02:26.516Z] fc693d55d65f: Download complete [2023-03-07T19:02:27.086Z] Removing intermediate container a9dfd3018297 [2023-03-07T19:02:27.086Z] ---> 43b466402ea4 [2023-03-07T19:02:27.086Z] Step 11/12 : COPY . . [2023-03-07T19:02:27.086Z] ---> 7c1c56d10623 [2023-03-07T19:02:27.086Z] Step 12/12 : RUN $MAKE [2023-03-07T19:02:27.086Z] ---> Running in 7a9fbfbe485c [2023-03-07T19:02:27.086Z] noop [2023-03-07T19:02:27.086Z] Removing intermediate container 7a9fbfbe485c [2023-03-07T19:02:27.086Z] ---> 338ebc8dc524 [2023-03-07T19:02:27.086Z] Successfully built 338ebc8dc524 [2023-03-07T19:02:27.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:02:27.532Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T19:02:27.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:02:27.683Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-03-07T19:02:27.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-512 -v /w/workspace/gexfoundry_device-mqtt-go_PR-512:/w/workspace/gexfoundry_device-mqtt-go_PR-512:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-512@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-07T19:02:28.038Z] $ docker top d7401cab3804a07a756b9374f37e46f3fdef1215a9779a96d697c9a76f5fd5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T19:02:28.424Z] + go version [2023-03-07T19:02:28.424Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T19:02:28.456Z] $ docker stop --time=1 d7401cab3804a07a756b9374f37e46f3fdef1215a9779a96d697c9a76f5fd5f2 [2023-03-07T19:02:29.690Z] $ docker rm -f --volumes d7401cab3804a07a756b9374f37e46f3fdef1215a9779a96d697c9a76f5fd5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:02:30.405Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T19:02:30.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:02:30.552Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-03-07T19:02:30.578Z] $ 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-512 -v /w/workspace/gexfoundry_device-mqtt-go_PR-512:/w/workspace/gexfoundry_device-mqtt-go_PR-512:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-512@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-07T19:02:30.892Z] $ docker top 05bc91c0e2a3a0256968a77326a0236a0770cd222e3331cd4e85d1efe037df00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T19:02:31.279Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-512 [Pipeline] fileExists [Pipeline] sh [2023-03-07T19:02:31.632Z] + make test [2023-03-07T19:02:31.632Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T19:02:31.891Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-07T19:02:38.843Z] fc693d55d65f: Pull complete [2023-03-07T19:02:38.843Z] 7e9fc2657dce: Pull complete [2023-03-07T19:02:38.843Z] dda99020689f: Pull complete [2023-03-07T19:02:41.865Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-07T19:02:42.124Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 21.8% of statements [2023-03-07T19:02:42.124Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-07T19:02:44.208Z] db1c61fa0a46: Pull complete [2023-03-07T19:02:46.163Z] 891c053d2c06: Pull complete [2023-03-07T19:02:46.163Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T19:02:46.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T19:02:46.163Z] ---> f96f9c87975a [2023-03-07T19:02:46.163Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T19:02:48.110Z] ---> Running in a735f4e367cb [2023-03-07T19:02:48.110Z] Removing intermediate container a735f4e367cb [2023-03-07T19:02:48.110Z] ---> 0f47f1723907 [2023-03-07T19:02:48.110Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T19:02:48.110Z] ---> Running in f12aca165f98 [2023-03-07T19:02:48.379Z] Removing intermediate container f12aca165f98 [2023-03-07T19:02:48.380Z] ---> 25fda93dedc1 [2023-03-07T19:02:48.380Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T19:02:48.380Z] ---> Running in f14e5cf97d34 [2023-03-07T19:02:48.650Z] Removing intermediate container f14e5cf97d34 [2023-03-07T19:02:48.650Z] ---> dcccdd618b19 [2023-03-07T19:02:48.650Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T19:02:48.917Z] ---> Running in dd67a6b8f595 [2023-03-07T19:02:49.185Z] Removing intermediate container dd67a6b8f595 [2023-03-07T19:02:49.185Z] ---> dd707e8347bd [2023-03-07T19:02:49.185Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T19:02:49.185Z] ---> Running in 7ac66cf589de [2023-03-07T19:02:50.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T19:02:50.266Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T19:02:50.266Z] go vet ./... [2023-03-07T19:02:50.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T19:02:51.376Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T19:02:51.376Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T19:02:51.376Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T19:02:51.376Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T19:02:51.648Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T19:02:51.648Z] OK: 226 MiB in 55 packages [2023-03-07T19:02:52.613Z] Removing intermediate container 7ac66cf589de [2023-03-07T19:02:52.613Z] ---> 1b24f6409765 [2023-03-07T19:02:52.613Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-07T19:02:52.613Z] ---> Running in 431692224a1a [2023-03-07T19:02:52.810Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T19:02:52.810Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T19:02:52.810Z] ./bin/test-attribution-txt.sh [2023-03-07T19:02:52.810Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-07T19:02:52.810Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T19:02:52.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T19:02:52.875Z] $ docker stop --time=1 05bc91c0e2a3a0256968a77326a0236a0770cd222e3331cd4e85d1efe037df00 [2023-03-07T19:02:52.879Z] Removing intermediate container 431692224a1a [2023-03-07T19:02:52.879Z] ---> de9ed21d33ad [2023-03-07T19:02:52.879Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T19:02:53.153Z] ---> 373a0f08677b [2023-03-07T19:02:53.153Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T19:02:53.421Z] ---> Running in b4eba08f1df9 [2023-03-07T19:02:55.091Z] $ docker rm -f --volumes 05bc91c0e2a3a0256968a77326a0236a0770cd222e3331cd4e85d1efe037df00 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T19:02:55.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T19:02:55.729Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T19:02:56.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T19:02:56.687Z] + ls -al . [2023-03-07T19:02:56.687Z] total 184 [2023-03-07T19:02:56.687Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 19:02 . [2023-03-07T19:02:56.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 19:01 .. [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 19:01 .dockerignore [2023-03-07T19:02:56.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 19:02 .git [2023-03-07T19:02:56.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 .github [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 7 19:01 .gitignore [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 19:01 .golangci.yml [2023-03-07T19:02:56.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 19:01 .semver [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 7 19:01 Attribution.txt [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 7 19:01 CHANGELOG.md [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 7 19:01 Dockerfile [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 19:01 GOVERNANCE.md [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 7 19:01 Jenkinsfile [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 19:01 LICENSE [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 7 19:01 Makefile [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 19:01 OWNERS.md [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 7 19:01 README.md [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 19:01 VERSION [2023-03-07T19:02:56.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 19:01 bin [2023-03-07T19:02:56.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 cmd [2023-03-07T19:02:56.687Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 7 19:02 coverage.out [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 7 19:01 go.mod [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 7 19:01 go.sum [2023-03-07T19:02:56.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 internal [2023-03-07T19:02:56.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 19:01 mock [2023-03-07T19:02:56.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 19:01 snap [2023-03-07T19:02:56.687Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 7 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:02:57.097Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1cc9a7eb41750662e6d40092eb74fdcfac7e224a --label arch=amd64 --label version=0.0.0 . [2023-03-07T19:02:57.097Z] Sending build context to Docker daemon 6.387MB [2023-03-07T19:02:57.097Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T19:02:57.097Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-07T19:02:57.097Z] ---> 338ebc8dc524 [2023-03-07T19:02:57.097Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-07T19:02:57.097Z] ---> Running in a97a1c7702b8 [2023-03-07T19:02:57.360Z] Removing intermediate container a97a1c7702b8 [2023-03-07T19:02:57.360Z] ---> 24cc200684b3 [2023-03-07T19:02:57.360Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T19:02:57.360Z] ---> Running in d87631223fd5 [2023-03-07T19:02:57.360Z] Removing intermediate container d87631223fd5 [2023-03-07T19:02:57.360Z] ---> a65d5dedeac6 [2023-03-07T19:02:57.360Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T19:02:57.360Z] ---> Running in 6ee5d5eb152d [2023-03-07T19:02:57.360Z] Removing intermediate container 6ee5d5eb152d [2023-03-07T19:02:57.360Z] ---> d7193edb8ac9 [2023-03-07T19:02:57.360Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T19:02:57.619Z] ---> Running in eef75801c6db [2023-03-07T19:02:57.619Z] Removing intermediate container eef75801c6db [2023-03-07T19:02:57.619Z] ---> abd84467d35e [2023-03-07T19:02:57.619Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T19:02:57.619Z] ---> Running in 7adc09b0c0fd [2023-03-07T19:02:57.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T19:02:57.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T19:02:58.445Z] OK: 216 MiB in 55 packages [2023-03-07T19:02:58.704Z] Removing intermediate container 7adc09b0c0fd [2023-03-07T19:02:58.704Z] ---> aabebc43545f [2023-03-07T19:02:58.704Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-07T19:02:58.704Z] ---> Running in 8527999c4a5d [2023-03-07T19:02:58.963Z] Removing intermediate container 8527999c4a5d [2023-03-07T19:02:58.963Z] ---> e4d801992214 [2023-03-07T19:02:58.963Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-07T19:02:58.963Z] ---> 51e18c7ef1b5 [2023-03-07T19:02:58.963Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T19:02:58.963Z] ---> Running in b943b40af51f [2023-03-07T19:02:59.902Z] Removing intermediate container b943b40af51f [2023-03-07T19:02:59.902Z] ---> 92f46fb2b70c [2023-03-07T19:02:59.902Z] Step 11/24 : COPY . . [2023-03-07T19:03:00.480Z] ---> c6157069386e [2023-03-07T19:03:00.480Z] Step 12/24 : RUN $MAKE [2023-03-07T19:03:00.480Z] ---> Running in 47764d86913c [2023-03-07T19:03:00.739Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-07T19:03:22.697Z] Removing intermediate container 47764d86913c [2023-03-07T19:03:22.697Z] ---> b480dfa68650 [2023-03-07T19:03:22.697Z] Step 13/24 : FROM alpine:3.16 [2023-03-07T19:03:22.697Z] 3.16: Pulling from library/alpine [2023-03-07T19:03:22.697Z] ef5531b6e74e: Pulling fs layer [2023-03-07T19:03:22.697Z] ef5531b6e74e: Verifying Checksum [2023-03-07T19:03:22.697Z] ef5531b6e74e: Download complete [2023-03-07T19:03:22.697Z] ef5531b6e74e: Pull complete [2023-03-07T19:03:22.697Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T19:03:22.697Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T19:03:22.697Z] ---> dfd21b5a31f5 [2023-03-07T19:03:22.697Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-07T19:03:22.697Z] ---> Running in 4520d462d790 [2023-03-07T19:03:22.957Z] Removing intermediate container 4520d462d790 [2023-03-07T19:03:22.957Z] ---> 2dce06ecc49e [2023-03-07T19:03:22.957Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-07T19:03:23.218Z] ---> Running in 0f24bbb811a7 [2023-03-07T19:03:23.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T19:03:23.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T19:03:24.047Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T19:03:24.047Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T19:03:24.047Z] OK: 6 MiB in 15 packages [2023-03-07T19:03:24.988Z] Removing intermediate container 0f24bbb811a7 [2023-03-07T19:03:24.988Z] ---> 22e2b922fba7 [2023-03-07T19:03:24.988Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-07T19:03:25.929Z] ---> 01e2c14a96e3 [2023-03-07T19:03:25.929Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-07T19:03:26.187Z] ---> 7e8d08a414f6 [2023-03-07T19:03:26.187Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-07T19:03:26.752Z] ---> 6f8a364180d8 [2023-03-07T19:03:26.752Z] Step 19/24 : EXPOSE 59982 [2023-03-07T19:03:27.010Z] ---> Running in d0f9a0c60cb0 [2023-03-07T19:03:27.577Z] Removing intermediate container d0f9a0c60cb0 [2023-03-07T19:03:27.577Z] ---> dc968bd4c0d9 [2023-03-07T19:03:27.577Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-07T19:03:27.835Z] ---> Running in c3d625abdb64 [2023-03-07T19:03:28.094Z] Removing intermediate container c3d625abdb64 [2023-03-07T19:03:28.094Z] ---> 9f8b9ca440cd [2023-03-07T19:03:28.094Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-07T19:03:28.353Z] ---> Running in 957163afa63a [2023-03-07T19:03:28.611Z] Removing intermediate container 957163afa63a [2023-03-07T19:03:28.611Z] ---> f1280f4a78d6 [2023-03-07T19:03:28.611Z] Step 22/24 : LABEL arch=amd64 [2023-03-07T19:03:28.870Z] ---> Running in aa4c8893bfde [2023-03-07T19:03:28.870Z] Removing intermediate container aa4c8893bfde [2023-03-07T19:03:28.870Z] ---> 9c66be6fe43f [2023-03-07T19:03:28.870Z] Step 23/24 : LABEL git_sha=1cc9a7eb41750662e6d40092eb74fdcfac7e224a [2023-03-07T19:03:29.127Z] ---> Running in e948bf4b42d8 [2023-03-07T19:03:29.127Z] Removing intermediate container e948bf4b42d8 [2023-03-07T19:03:29.127Z] ---> c9b970ae3fb6 [2023-03-07T19:03:29.127Z] Step 24/24 : LABEL version=0.0.0 [2023-03-07T19:03:29.127Z] ---> Running in f26abbb107b3 [2023-03-07T19:03:29.127Z] Removing intermediate container f26abbb107b3 [2023-03-07T19:03:29.127Z] ---> b0bb3e25a746 [2023-03-07T19:03:29.127Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T19:03:29.127Z] Successfully built b0bb3e25a746 [2023-03-07T19:03:29.127Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:03:29.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T19:03:29.957Z] [2023-03-07T19:03:29.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:03:30.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T19:03:30.341Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T19:03:30.341Z] 5eb5b503b376: Pulling fs layer [2023-03-07T19:03:30.341Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T19:03:30.341Z] ec43610c2a17: Pulling fs layer [2023-03-07T19:03:30.341Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T19:03:30.341Z] 33b1e0a273af: Pulling fs layer [2023-03-07T19:03:30.341Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T19:03:30.341Z] 2f39f015ded8: Pulling fs layer [2023-03-07T19:03:30.341Z] 3a2ae6a8a46f: Waiting [2023-03-07T19:03:30.341Z] 33b1e0a273af: Waiting [2023-03-07T19:03:30.341Z] 5d3b04190fa2: Waiting [2023-03-07T19:03:30.341Z] 2f39f015ded8: Waiting [2023-03-07T19:03:30.341Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T19:03:30.341Z] 5c69ac0246d0: Download complete [2023-03-07T19:03:30.341Z] 3a2ae6a8a46f: Download complete [2023-03-07T19:03:30.605Z] 33b1e0a273af: Verifying Checksum [2023-03-07T19:03:30.605Z] 33b1e0a273af: Download complete [2023-03-07T19:03:30.605Z] ec43610c2a17: Verifying Checksum [2023-03-07T19:03:30.605Z] ec43610c2a17: Download complete [2023-03-07T19:03:30.605Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T19:03:30.605Z] 5d3b04190fa2: Download complete [2023-03-07T19:03:30.605Z] 5eb5b503b376: Verifying Checksum [2023-03-07T19:03:30.605Z] 5eb5b503b376: Download complete [2023-03-07T19:03:31.172Z] 2f39f015ded8: Verifying Checksum [2023-03-07T19:03:31.172Z] 2f39f015ded8: Download complete [2023-03-07T19:03:31.738Z] 5eb5b503b376: Pull complete [2023-03-07T19:03:31.738Z] 5c69ac0246d0: Pull complete [2023-03-07T19:03:32.304Z] ec43610c2a17: Pull complete [2023-03-07T19:03:32.304Z] 3a2ae6a8a46f: Pull complete [2023-03-07T19:03:32.562Z] 33b1e0a273af: Pull complete [2023-03-07T19:03:32.562Z] 5d3b04190fa2: Pull complete [2023-03-07T19:03:36.750Z] 2f39f015ded8: Pull complete [2023-03-07T19:03:36.750Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T19:03:36.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T19:03:36.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:03:36.979Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-03-07T19:03:37.007Z] $ 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-512 -v /w/workspace/gexfoundry_device-mqtt-go_PR-512:/w/workspace/gexfoundry_device-mqtt-go_PR-512:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-512@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-07T19:03:42.095Z] $ docker top 936d0252238d5a8accbdfd29595093820a8c6e413f03b30e3c1994b551993aa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:03:42.526Z] ---> job-cost.sh [2023-03-07T19:03:42.526Z] lf-activate-venv: SKIPPING [2023-03-07T19:03:42.526Z] INFO: No Stack... [2023-03-07T19:03:43.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T19:03:43.354Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T19:03:43.681Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives/cost.csv [2023-03-07T19:03:43.681Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T19:03:43.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [2023-03-07T19:03:43.731Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] did not exist. Created. [2023-03-07T19:03:43.731Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T19:03:44.126Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T19:03:44.179Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T19:03:44.208Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T19:03:44.276Z] $ docker stop --time=1 936d0252238d5a8accbdfd29595093820a8c6e413f03b30e3c1994b551993aa1 [2023-03-07T19:03:45.435Z] $ docker rm -f --volumes 936d0252238d5a8accbdfd29595093820a8c6e413f03b30e3c1994b551993aa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T19:04:01.296Z] Removing intermediate container b4eba08f1df9 [2023-03-07T19:04:01.296Z] ---> 4b50c0a2da61 [2023-03-07T19:04:01.296Z] Step 11/12 : COPY . . [2023-03-07T19:04:01.296Z] ---> f5a5892766c0 [2023-03-07T19:04:01.296Z] Step 12/12 : RUN $MAKE [2023-03-07T19:04:01.296Z] ---> Running in c0385dd468f2 [2023-03-07T19:04:01.296Z] noop [2023-03-07T19:04:01.296Z] Removing intermediate container c0385dd468f2 [2023-03-07T19:04:01.296Z] ---> 2ff95218c0a7 [2023-03-07T19:04:01.296Z] Successfully built 2ff95218c0a7 [2023-03-07T19:04:01.296Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:04:01.764Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T19:04:01.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:04:02.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-8614 does not seem to be running inside a container [2023-03-07T19:04:02.098Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T19:04:03.338Z] $ docker top 52ab632931dd1c6b0ae470dd33ebe14d2b516116f656fa2ec2324777bac412df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T19:04:04.223Z] + go version [2023-03-07T19:04:04.223Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T19:04:04.256Z] $ docker stop --time=1 52ab632931dd1c6b0ae470dd33ebe14d2b516116f656fa2ec2324777bac412df [2023-03-07T19:04:05.877Z] $ docker rm -f --volumes 52ab632931dd1c6b0ae470dd33ebe14d2b516116f656fa2ec2324777bac412df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:04:06.754Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T19:04:06.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:04:07.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-8614 does not seem to be running inside a container [2023-03-07T19:04:07.063Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T19:04:08.259Z] $ docker top 11fedb35c49df6e8a281ebeeb3d40f507a3595bd3093b571f2611df8873dcf70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T19:04:09.152Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T19:04:09.542Z] + make test [2023-03-07T19:04:09.543Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T19:04:11.505Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-07T19:05:33.140Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-07T19:05:33.140Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements [2023-03-07T19:05:33.140Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-07T19:05:33.140Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T19:05:33.140Z] go vet ./... [2023-03-07T19:05:51.369Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T19:05:51.369Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T19:05:51.369Z] ./bin/test-attribution-txt.sh [2023-03-07T19:05:51.369Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-07T19:05:51.369Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T19:05:51.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T19:05:51.447Z] $ docker stop --time=1 11fedb35c49df6e8a281ebeeb3d40f507a3595bd3093b571f2611df8873dcf70 [2023-03-07T19:05:53.269Z] $ docker rm -f --volumes 11fedb35c49df6e8a281ebeeb3d40f507a3595bd3093b571f2611df8873dcf70 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T19:05:54.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T19:05:54.247Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T19:05:54.696Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T19:05:55.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T19:05:55.621Z] + ls -al . [2023-03-07T19:05:55.621Z] total 180 [2023-03-07T19:05:55.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 19:04 . [2023-03-07T19:05:55.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 19:01 .. [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 19:01 .dockerignore [2023-03-07T19:05:55.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 19:01 .git [2023-03-07T19:05:55.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 .github [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 7 19:01 .gitignore [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 19:01 .golangci.yml [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 7 19:01 Attribution.txt [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 7 19:01 CHANGELOG.md [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 7 19:01 Dockerfile [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 19:01 GOVERNANCE.md [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 7 19:01 Jenkinsfile [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 19:01 LICENSE [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 7 19:01 Makefile [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 19:01 OWNERS.md [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 7 19:01 README.md [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 19:01 VERSION [2023-03-07T19:05:55.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 19:01 bin [2023-03-07T19:05:55.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 cmd [2023-03-07T19:05:55.621Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 7 19:05 coverage.out [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 7 19:01 go.mod [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 7 19:01 go.sum [2023-03-07T19:05:55.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 19:01 internal [2023-03-07T19:05:55.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 19:01 mock [2023-03-07T19:05:55.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 19:01 snap [2023-03-07T19:05:55.621Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 7 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:05:56.034Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1cc9a7eb41750662e6d40092eb74fdcfac7e224a --label arch=arm64 --label version=0.0.0 . [2023-03-07T19:05:56.303Z] Sending build context to Docker daemon 3.337MB [2023-03-07T19:05:56.303Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T19:05:56.303Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-07T19:05:56.303Z] ---> 2ff95218c0a7 [2023-03-07T19:05:56.303Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-07T19:05:56.303Z] ---> Running in ddd846bb98df [2023-03-07T19:05:56.578Z] Removing intermediate container ddd846bb98df [2023-03-07T19:05:56.578Z] ---> e1adf6811c30 [2023-03-07T19:05:56.578Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T19:05:56.844Z] ---> Running in 7f4513588b79 [2023-03-07T19:05:57.110Z] Removing intermediate container 7f4513588b79 [2023-03-07T19:05:57.110Z] ---> 437d8fd9b5c1 [2023-03-07T19:05:57.110Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-07T19:05:57.110Z] ---> Running in 49ce715944cf [2023-03-07T19:05:57.377Z] Removing intermediate container 49ce715944cf [2023-03-07T19:05:57.377Z] ---> ed1ed3756301 [2023-03-07T19:05:57.377Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T19:05:57.377Z] ---> Running in 8df7c684afc4 [2023-03-07T19:05:57.645Z] Removing intermediate container 8df7c684afc4 [2023-03-07T19:05:57.645Z] ---> 48aa26a2c3e0 [2023-03-07T19:05:57.645Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T19:05:57.645Z] ---> Running in e0355336713f [2023-03-07T19:05:58.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T19:05:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T19:05:59.828Z] OK: 226 MiB in 55 packages [2023-03-07T19:06:00.411Z] Removing intermediate container e0355336713f [2023-03-07T19:06:00.411Z] ---> b43487454660 [2023-03-07T19:06:00.411Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-07T19:06:00.677Z] ---> Running in 2418f5eb10ab [2023-03-07T19:06:00.944Z] Removing intermediate container 2418f5eb10ab [2023-03-07T19:06:00.944Z] ---> 5de22b965aff [2023-03-07T19:06:00.944Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-07T19:06:01.210Z] ---> a7020db37452 [2023-03-07T19:06:01.210Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T19:06:01.477Z] ---> Running in cfbc913068ce [2023-03-07T19:06:04.814Z] Removing intermediate container cfbc913068ce [2023-03-07T19:06:04.815Z] ---> 64505c7e392c [2023-03-07T19:06:04.815Z] Step 11/24 : COPY . . [2023-03-07T19:06:05.774Z] ---> 116844480394 [2023-03-07T19:06:05.774Z] Step 12/24 : RUN $MAKE [2023-03-07T19:06:05.774Z] ---> Running in 9afd4847ac2f [2023-03-07T19:06:06.360Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-07T19:07:58.213Z] Removing intermediate container 9afd4847ac2f [2023-03-07T19:07:58.213Z] ---> 38bd168a29ed [2023-03-07T19:07:58.213Z] Step 13/24 : FROM alpine:3.16 [2023-03-07T19:08:00.781Z] 3.16: Pulling from library/alpine [2023-03-07T19:08:00.781Z] 3760b48202b3: Pulling fs layer [2023-03-07T19:08:01.047Z] 3760b48202b3: Verifying Checksum [2023-03-07T19:08:01.047Z] 3760b48202b3: Download complete [2023-03-07T19:08:01.627Z] 3760b48202b3: Pull complete [2023-03-07T19:08:01.627Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T19:08:01.627Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T19:08:01.627Z] ---> 4c81e5bf8899 [2023-03-07T19:08:01.627Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-07T19:08:01.627Z] ---> Running in 481d66e4e9f2 [2023-03-07T19:08:01.894Z] Removing intermediate container 481d66e4e9f2 [2023-03-07T19:08:01.894Z] ---> e82f594814c9 [2023-03-07T19:08:01.894Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-07T19:08:01.894Z] ---> Running in f69a34df26e5 [2023-03-07T19:08:02.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T19:08:03.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T19:08:04.081Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T19:08:04.081Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T19:08:04.081Z] OK: 5 MiB in 15 packages [2023-03-07T19:08:04.665Z] Removing intermediate container f69a34df26e5 [2023-03-07T19:08:04.665Z] ---> d52ff8755474 [2023-03-07T19:08:04.665Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-07T19:08:06.070Z] ---> ff9fbef6a1b9 [2023-03-07T19:08:06.070Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-07T19:08:06.653Z] ---> 1d2e301d86a6 [2023-03-07T19:08:06.653Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-07T19:08:06.924Z] ---> b67de681657d [2023-03-07T19:08:06.924Z] Step 19/24 : EXPOSE 59982 [2023-03-07T19:08:06.924Z] ---> Running in 04532a351ab4 [2023-03-07T19:08:07.191Z] Removing intermediate container 04532a351ab4 [2023-03-07T19:08:07.191Z] ---> 403ec25e5cbc [2023-03-07T19:08:07.191Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-07T19:08:07.457Z] ---> Running in e4c7589931c8 [2023-03-07T19:08:07.457Z] Removing intermediate container e4c7589931c8 [2023-03-07T19:08:07.457Z] ---> 4864a12fbcad [2023-03-07T19:08:07.457Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-07T19:08:07.722Z] ---> Running in 135c1be036fe [2023-03-07T19:08:07.989Z] Removing intermediate container 135c1be036fe [2023-03-07T19:08:07.989Z] ---> 5e4b752484e8 [2023-03-07T19:08:07.989Z] Step 22/24 : LABEL arch=arm64 [2023-03-07T19:08:07.989Z] ---> Running in e18f315ab527 [2023-03-07T19:08:08.255Z] Removing intermediate container e18f315ab527 [2023-03-07T19:08:08.255Z] ---> 0ecfdd3d3917 [2023-03-07T19:08:08.255Z] Step 23/24 : LABEL git_sha=1cc9a7eb41750662e6d40092eb74fdcfac7e224a [2023-03-07T19:08:08.255Z] ---> Running in 290c50e89dc3 [2023-03-07T19:08:08.521Z] Removing intermediate container 290c50e89dc3 [2023-03-07T19:08:08.521Z] ---> 04065147f854 [2023-03-07T19:08:08.521Z] Step 24/24 : LABEL version=0.0.0 [2023-03-07T19:08:08.521Z] ---> Running in 57c23b6567fb [2023-03-07T19:08:08.786Z] Removing intermediate container 57c23b6567fb [2023-03-07T19:08:08.786Z] ---> e062ee48a545 [2023-03-07T19:08:08.786Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T19:08:08.786Z] Successfully built e062ee48a545 [2023-03-07T19:08:08.786Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:08:09.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T19:08:09.861Z] [2023-03-07T19:08:09.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:08:10.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T19:08:10.260Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T19:08:10.260Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T19:08:10.260Z] 04944245beec: Pulling fs layer [2023-03-07T19:08:10.260Z] 699f458cf7ca: Pulling fs layer [2023-03-07T19:08:10.260Z] 765212b225bb: Pulling fs layer [2023-03-07T19:08:10.260Z] f23df028b6ca: Pulling fs layer [2023-03-07T19:08:10.260Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T19:08:10.260Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T19:08:10.260Z] f23df028b6ca: Waiting [2023-03-07T19:08:10.260Z] d65c8cfc05b1: Waiting [2023-03-07T19:08:10.260Z] 765212b225bb: Waiting [2023-03-07T19:08:10.260Z] 2437ff75d9bd: Waiting [2023-03-07T19:08:10.528Z] 04944245beec: Verifying Checksum [2023-03-07T19:08:10.528Z] 04944245beec: Download complete [2023-03-07T19:08:10.528Z] 765212b225bb: Download complete [2023-03-07T19:08:10.528Z] f23df028b6ca: Verifying Checksum [2023-03-07T19:08:10.528Z] f23df028b6ca: Download complete [2023-03-07T19:08:10.528Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T19:08:10.528Z] d65c8cfc05b1: Download complete [2023-03-07T19:08:10.528Z] 699f458cf7ca: Download complete [2023-03-07T19:08:11.112Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T19:08:11.112Z] 8998bd30e6a1: Download complete [2023-03-07T19:08:13.054Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T19:08:13.054Z] 2437ff75d9bd: Download complete [2023-03-07T19:08:14.458Z] 8998bd30e6a1: Pull complete [2023-03-07T19:08:15.042Z] 04944245beec: Pull complete [2023-03-07T19:08:15.999Z] 699f458cf7ca: Pull complete [2023-03-07T19:08:16.264Z] 765212b225bb: Pull complete [2023-03-07T19:08:16.845Z] f23df028b6ca: Pull complete [2023-03-07T19:08:17.111Z] d65c8cfc05b1: Pull complete [2023-03-07T19:08:30.252Z] 2437ff75d9bd: Pull complete [2023-03-07T19:08:30.252Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T19:08:30.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T19:08:30.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:08:30.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-8614 does not seem to be running inside a container [2023-03-07T19:08:30.705Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T19:08:33.333Z] $ docker top 4296a33144adb70b483d1e7ea09f5674668db2fbc951e507b7287f9cf55c9408 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:34.229Z] ---> job-cost.sh [2023-03-07T19:08:34.229Z] lf-activate-venv: SKIPPING [2023-03-07T19:08:34.229Z] INFO: No Stack... [2023-03-07T19:08:34.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T19:08:35.766Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T19:08:36.415Z] + cut -d, -f6 [2023-03-07T19:08:36.416Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-03-07T19:08:36.498Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [2023-03-07T19:08:36.503Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] did not exist. Created. [2023-03-07T19:08:36.504Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T19:08:36.909Z] /w/workspace/device-mqtt-go/1@tmp/durable-b7db06f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T19:08:37.581Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T19:08:37.618Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T19:08:37.661Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T19:08:37.675Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-512-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T19:08:37.759Z] $ docker stop --time=1 4296a33144adb70b483d1e7ea09f5674668db2fbc951e507b7287f9cf55c9408 [2023-03-07T19:08:39.266Z] $ docker rm -f --volumes 4296a33144adb70b483d1e7ea09f5674668db2fbc951e507b7287f9cf55c9408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T19:08:40.948Z] provisioning config files... [2023-03-07T19:08:40.955Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/config3028361162820613849tmp [Pipeline] { [Pipeline] sh [2023-03-07T19:08:41.286Z] + set +x [2023-03-07T19:08:41.286Z] + curl -s https://codecov.io/bash [2023-03-07T19:08:41.286Z] + bash -s -- [2023-03-07T19:08:41.286Z] [2023-03-07T19:08:41.286Z] _____ _ [2023-03-07T19:08:41.286Z] / ____| | | [2023-03-07T19:08:41.286Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T19:08:41.286Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T19:08:41.287Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T19:08:41.287Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T19:08:41.287Z] Bash-1.0.6 [2023-03-07T19:08:41.287Z] [2023-03-07T19:08:41.287Z] [2023-03-07T19:08:41.287Z] ==> git version 2.25.1 found [2023-03-07T19:08:41.287Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T19:08:41.287Z] Release-Date: 2020-01-08 [2023-03-07T19:08:41.287Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T19:08:41.287Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T19:08:41.287Z] ==> Jenkins CI detected. [2023-03-07T19:08:41.287Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-512 [2023-03-07T19:08:41.287Z] project root: . [2023-03-07T19:08:41.287Z] --> token set from env [2023-03-07T19:08:41.287Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T19:08:41.287Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T19:08:41.287Z] ==> Python coveragepy not found [2023-03-07T19:08:41.287Z] ==> Searching for coverage reports in: [2023-03-07T19:08:41.287Z] + . [2023-03-07T19:08:41.287Z] -> Found 1 reports [2023-03-07T19:08:41.287Z] ==> Detecting git/mercurial file structure [2023-03-07T19:08:41.287Z] ==> Reading reports [2023-03-07T19:08:41.287Z] + ./coverage.out bytes=17887 [2023-03-07T19:08:41.287Z] ==> Appending adjustments [2023-03-07T19:08:41.287Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T19:08:41.547Z] + Found adjustments [2023-03-07T19:08:41.547Z] ==> Gzipping contents [2023-03-07T19:08:41.547Z] 4.0K /tmp/codecov.amMRXG.gz [2023-03-07T19:08:41.547Z] ==> Uploading reports [2023-03-07T19:08:41.547Z] url: https://codecov.io [2023-03-07T19:08:41.547Z] query: branch=PR-512&commit=1cc9a7eb41750662e6d40092eb74fdcfac7e224a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=512&job=&cmd_args= [2023-03-07T19:08:41.547Z] -> Pinging Codecov [2023-03-07T19:08:41.547Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-512&commit=1cc9a7eb41750662e6d40092eb74fdcfac7e224a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=512&job=&cmd_args= [2023-03-07T19:08:41.547Z] -> Uploading to [2023-03-07T19:08:41.547Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7D719EC7BBE17E464838252E33014C33/1cc9a7eb41750662e6d40092eb74fdcfac7e224a/844edb53-269a-4108-a911-9041c8369114.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T190841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d2cce39de57c5bbf8e9423942a06c60c006f03a9113bbf9426d7f16d65acd16 [2023-03-07T19:08:41.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T19:08:41.547Z] Dload Upload Total Spent Left Speed [2023-03-07T19:08:41.806Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10309 --:--:-- --:--:-- --:--:-- 10275 [2023-03-07T19:08:42.065Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1cc9a7eb41750662e6d40092eb74fdcfac7e224a [Pipeline] } [2023-03-07T19:08:42.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-07T19:08:43.801Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives ] [2023-03-07T19:08:43.801Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives [2023-03-07T19:08:43.801Z] total 16 [2023-03-07T19:08:43.801Z] drwxr-xr-x 3 root root 4096 Mar 7 19:03 . [2023-03-07T19:08:43.801Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 19:03 .. [2023-03-07T19:08:43.801Z] drwxr-xr-x 2 root root 4096 Mar 7 19:03 cost [2023-03-07T19:08:43.801Z] -rw-r--r-- 1 root root 87 Mar 7 19:03 cost.csv [2023-03-07T19:08:43.801Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives [2023-03-07T19:08:43.801Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives [2023-03-07T19:08:43.801Z] total 16 [2023-03-07T19:08:43.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 19:03 . [2023-03-07T19:08:43.801Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 19:03 .. [2023-03-07T19:08:43.801Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 19:03 cost [2023-03-07T19:08:43.801Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 7 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:44.126Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:45.007Z] ---> package-listing.sh [2023-03-07T19:08:45.007Z] ++ facter osfamily [2023-03-07T19:08:45.007Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T19:08:45.266Z] + OS_FAMILY=debian [2023-03-07T19:08:45.266Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-512 [2023-03-07T19:08:45.266Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T19:08:45.266Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T19:08:45.266Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T19:08:45.266Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T19:08:45.266Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-512 ']' [2023-03-07T19:08:45.266Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T19:08:45.266Z] + case "${OS_FAMILY}" in [2023-03-07T19:08:45.266Z] + dpkg -l [2023-03-07T19:08:45.266Z] + grep '^ii' [2023-03-07T19:08:45.266Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T19:08:45.266Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T19:08:45.266Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T19:08:45.266Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-512 ']' [2023-03-07T19:08:45.266Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives/ [2023-03-07T19:08:45.266Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-512/archives/ [Pipeline] echo [2023-03-07T19:08:45.303Z] 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-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T19:08:45.594Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T19:08:46.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T19:08:46.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T19:08:46.502Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-03-07T19:08:46.529Z] $ 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-512/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-512 -v /w/workspace/gexfoundry_device-mqtt-go_PR-512:/w/workspace/gexfoundry_device-mqtt-go_PR-512:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-512@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-07T19:08:46.703Z] $ docker top 0aadbe6b2ac553d2f6d91b5e6576ecb0290f978ff5f3eae40e513101b5da8c75 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T19:08:47.095Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T19:08:47.407Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T19:08:47.743Z] + ls /var/log/sa-host [2023-03-07T19:08:47.743Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T19:08:47.887Z] provisioning config files... [2023-03-07T19:08:47.895Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-512@tmp/config17853954509001811365tmp [Pipeline] { [Pipeline] echo [2023-03-07T19:08:47.949Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:48.309Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T19:08:48.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:48.741Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T19:08:48.779Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:49.093Z] ---> sudo-logs.sh [2023-03-07T19:08:49.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T19:08:49.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:49.496Z] ---> job-cost.sh [2023-03-07T19:08:49.496Z] lf-activate-venv: SKIPPING [2023-03-07T19:08:49.496Z] DEBUG: total: 0.2199999988079071 [2023-03-07T19:08:49.496Z] INFO: Retrieving Stack Cost... [2023-03-07T19:08:49.754Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T19:08:50.012Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T19:08:50.055Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T19:08:50.365Z] ---> logs-deploy.sh [2023-03-07T19:08:50.365Z] lf-activate-venv: SKIPPING [2023-03-07T19:08:50.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-512/1 [2023-03-07T19:08:50.365Z] INFO: archiving workspace using pattern(s): [2023-03-07T19:08:51.300Z] Archives upload complete. [2023-03-07T19:08:51.559Z] INFO: archiving logs to Nexus [2023-03-07T19:08:52.126Z] ---> uname -a: [2023-03-07T19:08:52.126Z] Linux prd-ubuntu20-04-docker-8c-8g-8609 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-07T19:08:52.126Z] [2023-03-07T19:08:52.126Z] [2023-03-07T19:08:52.126Z] ---> lscpu: [2023-03-07T19:08:52.126Z] Architecture: x86_64 [2023-03-07T19:08:52.126Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-07T19:08:52.126Z] Byte Order: Little Endian [2023-03-07T19:08:52.126Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-07T19:08:52.126Z] CPU(s): 8 [2023-03-07T19:08:52.127Z] On-line CPU(s) list: 0-7 [2023-03-07T19:08:52.127Z] Thread(s) per core: 1 [2023-03-07T19:08:52.127Z] Core(s) per socket: 1 [2023-03-07T19:08:52.127Z] Socket(s): 8 [2023-03-07T19:08:52.127Z] NUMA node(s): 1 [2023-03-07T19:08:52.127Z] Vendor ID: AuthenticAMD [2023-03-07T19:08:52.127Z] CPU family: 23 [2023-03-07T19:08:52.127Z] Model: 49 [2023-03-07T19:08:52.127Z] Model name: AMD EPYC-Rome Processor [2023-03-07T19:08:52.127Z] Stepping: 0 [2023-03-07T19:08:52.127Z] CPU MHz: 2799.998 [2023-03-07T19:08:52.127Z] BogoMIPS: 5599.99 [2023-03-07T19:08:52.127Z] Virtualization: AMD-V [2023-03-07T19:08:52.127Z] Hypervisor vendor: KVM [2023-03-07T19:08:52.127Z] Virtualization type: full [2023-03-07T19:08:52.127Z] L1d cache: 256 KiB [2023-03-07T19:08:52.127Z] L1i cache: 256 KiB [2023-03-07T19:08:52.127Z] L2 cache: 4 MiB [2023-03-07T19:08:52.127Z] L3 cache: 128 MiB [2023-03-07T19:08:52.127Z] NUMA node0 CPU(s): 0-7 [2023-03-07T19:08:52.127Z] Vulnerability Itlb multihit: Not affected [2023-03-07T19:08:52.127Z] Vulnerability L1tf: Not affected [2023-03-07T19:08:52.127Z] Vulnerability Mds: Not affected [2023-03-07T19:08:52.127Z] Vulnerability Meltdown: Not affected [2023-03-07T19:08:52.127Z] Vulnerability Mmio stale data: Not affected [2023-03-07T19:08:52.127Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-07T19:08:52.127Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-07T19:08:52.127Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-07T19:08:52.127Z] Vulnerability Srbds: Not affected [2023-03-07T19:08:52.127Z] Vulnerability Tsx async abort: Not affected [2023-03-07T19:08:52.127Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-07T19:08:52.127Z] [2023-03-07T19:08:52.127Z] [2023-03-07T19:08:52.127Z] ---> nproc: [2023-03-07T19:08:52.127Z] 8 [2023-03-07T19:08:52.127Z] [2023-03-07T19:08:52.127Z]