Pull request #556 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7+fae68001f23ebf2296c35dbe56314768b083ad85 (b456cdfc495992ae6d5a1eee31349167a8eb208e) 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-ssh6759971117325585171.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2997740988833191390.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16763993177556578696.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15951701061115684263.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12698335080464419231.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7086’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7091’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7089’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7094 in /w/workspace/gexfoundry_device-mqtt-go_PR-556 [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-556 # 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 fae68001f23ebf2296c35dbe56314768b083ad85 into PR head commit 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 Merge succeeded, producing 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 Checking out Revision 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 (PR-556) > 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/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 # 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 fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-07T06:11:52.289Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-07T06:11:52.328Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T06:11:52.341Z] ========================================================= [2023-04-07T06:11:52.341Z] EdgeX Global Pipelines Version Info [2023-04-07T06:11:52.341Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 054b393b6c3f5ab393976ac0e3b3fd05bdc250bd # timeout=10 [2023-04-07T06:11:53.033Z] ------------------- [2023-04-07T06:11:53.033Z] stable info: [2023-04-07T06:11:53.033Z] ------------------- [2023-04-07T06:11:53.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T06:11:53.033Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T06:11:53.033Z] Message: update stable to v1.0.245 [2023-04-07T06:11:53.603Z] ------------------- [2023-04-07T06:11:53.603Z] experimental info: [2023-04-07T06:11:53.603Z] ------------------- [2023-04-07T06:11:53.603Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T06:11:53.603Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T06:11:53.603Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T06:11:53.783Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-07T06:11:53.796Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-07T06:11:53.811Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T06:11:53.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T06:11:53.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T06:11:53.852Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T06:11:53.864Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T06:11:53.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-07T06:11:53.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T06:11:53.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T06:11:53.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T06:11:53.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-07T06:11:53.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T06:11:53.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T06:11:53.966Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T06:11:53.978Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T06:11:53.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T06:11:54.006Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T06:11:54.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T06:11:54.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T06:11:54.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-07T06:11:54.057Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-07T06:11:54.070Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T06:11:54.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T06:11:54.094Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T06:11:54.106Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T06:11:54.122Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T06:11:54.141Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo [2023-04-07T06:11:54.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo [2023-04-07T06:11:54.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo [2023-04-07T06:11:54.191Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [Pipeline] echo [2023-04-07T06:11:54.207Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5477c2b [Pipeline] echo [2023-04-07T06:11:54.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T06:11:54.266Z] provisioning config files... [2023-04-07T06:11:54.279Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/config14740973340026675152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:11:54.579Z] ---> docker-login.sh [2023-04-07T06:11:54.579Z] nexus3.edgexfoundry.org:10001 [2023-04-07T06:11:54.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:11:54.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:11:54.840Z] Configure a credential helper to remove this warning. See [2023-04-07T06:11:54.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:11:54.840Z] [2023-04-07T06:11:54.840Z] Login Succeeded [2023-04-07T06:11:54.840Z] nexus3.edgexfoundry.org:10002 [2023-04-07T06:11:54.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:11:55.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:11:55.099Z] Configure a credential helper to remove this warning. See [2023-04-07T06:11:55.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:11:55.099Z] [2023-04-07T06:11:55.099Z] Login Succeeded [2023-04-07T06:11:55.099Z] nexus3.edgexfoundry.org:10003 [2023-04-07T06:11:55.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:11:55.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:11:55.099Z] Configure a credential helper to remove this warning. See [2023-04-07T06:11:55.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:11:55.099Z] [2023-04-07T06:11:55.099Z] Login Succeeded [2023-04-07T06:11:55.099Z] nexus3.edgexfoundry.org:10004 [2023-04-07T06:11:55.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:11:55.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:11:55.099Z] Configure a credential helper to remove this warning. See [2023-04-07T06:11:55.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:11:55.099Z] [2023-04-07T06:11:55.099Z] Login Succeeded [2023-04-07T06:11:55.099Z] docker.io [2023-04-07T06:11:55.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:11:55.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:11:55.364Z] Configure a credential helper to remove this warning. See [2023-04-07T06:11:55.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:11:55.364Z] [2023-04-07T06:11:55.364Z] Login Succeeded [2023-04-07T06:11:55.364Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T06:11:55.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T06:11:55.735Z] + git rev-list -1 --merges 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7~1..5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [Pipeline] echo [2023-04-07T06:11:55.786Z] -----------> git rev-list -1 --merges 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7~1..5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [false] [Pipeline] sh [2023-04-07T06:11:56.072Z] + git log --format=format:%s -1 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [Pipeline] echo [2023-04-07T06:11:56.086Z] ========================================================= [2023-04-07T06:11:56.086Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T06:11:56.086Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T06:11:56.399Z] + git log --format=format:%s -1 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [Pipeline] echo [2023-04-07T06:11:56.410Z] [semverPrep] GIT_COMMIT: 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-07T06:11:56.422Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T06:11:56.763Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T06:11:56.763Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T06:11:56.763Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T06:11:56.763Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T06:11:56.763Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T06:11:56.763Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T06:11:56.763Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:11:57.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T06:11:57.124Z] [2023-04-07T06:11:57.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:11:57.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T06:11:57.433Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T06:11:57.433Z] b85a868b505f: Pulling fs layer [2023-04-07T06:11:57.433Z] e2be974225ed: Pulling fs layer [2023-04-07T06:11:57.433Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T06:11:57.433Z] 988bab9f4d93: Pulling fs layer [2023-04-07T06:11:57.433Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T06:11:57.433Z] eaf3925da568: Pulling fs layer [2023-04-07T06:11:57.433Z] bab4dde63d76: Pulling fs layer [2023-04-07T06:11:57.433Z] bde34c3a00c8: Pulling fs layer [2023-04-07T06:11:57.433Z] b352a97aabf1: Pulling fs layer [2023-04-07T06:11:57.433Z] 4872d77fe225: Pulling fs layer [2023-04-07T06:11:57.433Z] 5851b861e8e6: Pulling fs layer [2023-04-07T06:11:57.433Z] 988bab9f4d93: Waiting [2023-04-07T06:11:57.433Z] 1469e6f7b9e6: Waiting [2023-04-07T06:11:57.433Z] eaf3925da568: Waiting [2023-04-07T06:11:57.433Z] bab4dde63d76: Waiting [2023-04-07T06:11:57.433Z] bde34c3a00c8: Waiting [2023-04-07T06:11:57.433Z] b352a97aabf1: Waiting [2023-04-07T06:11:57.433Z] 4872d77fe225: Waiting [2023-04-07T06:11:57.433Z] 5851b861e8e6: Waiting [2023-04-07T06:11:57.433Z] e2be974225ed: Download complete [2023-04-07T06:11:57.433Z] 988bab9f4d93: Download complete [2023-04-07T06:11:57.433Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T06:11:57.433Z] 1469e6f7b9e6: Download complete [2023-04-07T06:11:57.433Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T06:11:57.433Z] 339a4e72a1f5: Download complete [2023-04-07T06:11:57.691Z] eaf3925da568: Verifying Checksum [2023-04-07T06:11:57.691Z] eaf3925da568: Download complete [2023-04-07T06:11:57.691Z] bde34c3a00c8: Verifying Checksum [2023-04-07T06:11:57.691Z] bde34c3a00c8: Download complete [2023-04-07T06:11:57.691Z] b352a97aabf1: Download complete [2023-04-07T06:11:57.691Z] 4872d77fe225: Download complete [2023-04-07T06:11:57.691Z] 5851b861e8e6: Verifying Checksum [2023-04-07T06:11:57.691Z] 5851b861e8e6: Download complete [2023-04-07T06:11:57.691Z] b85a868b505f: Verifying Checksum [2023-04-07T06:11:57.691Z] b85a868b505f: Download complete [2023-04-07T06:11:57.949Z] bab4dde63d76: Verifying Checksum [2023-04-07T06:11:57.949Z] bab4dde63d76: Download complete [2023-04-07T06:11:58.890Z] b85a868b505f: Pull complete [2023-04-07T06:11:58.890Z] e2be974225ed: Pull complete [2023-04-07T06:11:59.457Z] 339a4e72a1f5: Pull complete [2023-04-07T06:11:59.457Z] 988bab9f4d93: Pull complete [2023-04-07T06:11:59.716Z] 1469e6f7b9e6: Pull complete [2023-04-07T06:11:59.716Z] eaf3925da568: Pull complete [2023-04-07T06:12:01.618Z] bab4dde63d76: Pull complete [2023-04-07T06:12:01.618Z] bde34c3a00c8: Pull complete [2023-04-07T06:12:01.618Z] b352a97aabf1: Pull complete [2023-04-07T06:12:01.876Z] 4872d77fe225: Pull complete [2023-04-07T06:12:01.876Z] 5851b861e8e6: Pull complete [2023-04-07T06:12:01.876Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T06:12:01.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T06:12:01.876Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:12:01.969Z] prd-ubuntu20.04-docker-8c-8g-7094 does not seem to be running inside a container [2023-04-07T06:12:01.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-556 -v /w/workspace/gexfoundry_device-mqtt-go_PR-556:/w/workspace/gexfoundry_device-mqtt-go_PR-556:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-07T06:12:03.553Z] $ docker top baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 -eo pid,comm [2023-04-07T06:12:03.611Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-07T06:12:03.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T06:12:03.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T06:12:03.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T06:12:03.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T06:12:03.764Z] $ docker exec baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 ssh-agent [2023-04-07T06:12:03.872Z] SSH_AUTH_SOCK=/tmp/ssh-dX2cxqErJqke/agent.31 [2023-04-07T06:12:03.872Z] SSH_AGENT_PID=38 [2023-04-07T06:12:03.879Z] Running ssh-add (command line suppressed) [2023-04-07T06:12:03.970Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/private_key_5977655304500055565.key (/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/private_key_5977655304500055565.key) [2023-04-07T06:12:03.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T06:12:04.265Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T06:12:04.275Z] $ docker exec --env ******** --env ******** baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 ssh-agent -k [2023-04-07T06:12:04.377Z] unset SSH_AUTH_SOCK; [2023-04-07T06:12:04.378Z] unset SSH_AGENT_PID; [2023-04-07T06:12:04.378Z] echo Agent pid 38 killed; [2023-04-07T06:12:04.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T06:12:04.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T06:12:04.418Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T06:12:04.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T06:12:04.522Z] $ docker exec baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 ssh-agent [2023-04-07T06:12:04.628Z] SSH_AUTH_SOCK=/tmp/ssh-6wS8CsQZe15E/agent.70 [2023-04-07T06:12:04.628Z] SSH_AGENT_PID=76 [2023-04-07T06:12:04.634Z] Running ssh-add (command line suppressed) [2023-04-07T06:12:04.722Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/private_key_17535914557883394349.key (/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/private_key_17535914557883394349.key) [2023-04-07T06:12:04.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T06:12:05.022Z] + git semver init [2023-04-07T06:12:05.302Z] 2023-04-07 06:12:05,189 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T06:12:05.302Z] 2023-04-07 06:12:05,190 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver [2023-04-07T06:12:05.302Z] 2023-04-07 06:12:05,190 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver [2023-04-07T06:12:05.302Z] 2023-04-07 06:12:05,190 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-556, universal_newlines=False, shell=None, istream=None) [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,964 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556/.git/info/exclude [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver/PR-556 with force:False [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,965 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver/PR-556 [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,968 [execute] INFO git cat-file --batch-check [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,973 [execute] INFO git cat-file --batch [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T06:12:06.265Z] 2023-04-07 06:12:05,978 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-556/.semver/PR-556 [2023-04-07T06:12:06.265Z] 0.0.0 [Pipeline] } [2023-04-07T06:12:06.273Z] $ docker exec --env ******** --env ******** baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 ssh-agent -k [2023-04-07T06:12:06.362Z] unset SSH_AUTH_SOCK; [2023-04-07T06:12:06.363Z] unset SSH_AGENT_PID; [2023-04-07T06:12:06.363Z] echo Agent pid 76 killed; [2023-04-07T06:12:06.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T06:12:06.688Z] + git semver [Pipeline] } [2023-04-07T06:12:06.958Z] $ docker stop --time=1 baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 [2023-04-07T06:12:08.231Z] $ docker rm -f --volumes baaf2ee439ea9dbd7275debd2f731a2d4aec290ca213443bea5f2ce40c80dc61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T06:12:08.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T06:12:08.762Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T06:12:08.765Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T06:12:08.912Z] provisioning config files... [2023-04-07T06:12:08.921Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/config10389431226225011222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:12:09.213Z] ---> docker-login.sh [2023-04-07T06:12:09.213Z] nexus3.edgexfoundry.org:10001 [2023-04-07T06:12:09.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:12:09.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:12:09.213Z] Configure a credential helper to remove this warning. See [2023-04-07T06:12:09.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:12:09.213Z] [2023-04-07T06:12:09.213Z] Login Succeeded [2023-04-07T06:12:09.213Z] nexus3.edgexfoundry.org:10002 [2023-04-07T06:12:09.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:12:09.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:12:09.213Z] Configure a credential helper to remove this warning. See [2023-04-07T06:12:09.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:12:09.213Z] [2023-04-07T06:12:09.213Z] Login Succeeded [2023-04-07T06:12:09.213Z] nexus3.edgexfoundry.org:10003 [2023-04-07T06:12:09.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:12:09.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:12:09.471Z] Configure a credential helper to remove this warning. See [2023-04-07T06:12:09.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:12:09.471Z] [2023-04-07T06:12:09.471Z] Login Succeeded [2023-04-07T06:12:09.471Z] nexus3.edgexfoundry.org:10004 [2023-04-07T06:12:09.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:12:09.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:12:09.471Z] Configure a credential helper to remove this warning. See [2023-04-07T06:12:09.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:12:09.471Z] [2023-04-07T06:12:09.471Z] Login Succeeded [2023-04-07T06:12:09.471Z] docker.io [2023-04-07T06:12:09.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:12:09.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:12:09.730Z] Configure a credential helper to remove this warning. See [2023-04-07T06:12:09.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:12:09.730Z] [2023-04-07T06:12:09.730Z] Login Succeeded [2023-04-07T06:12:09.730Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T06:12:09.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T06:12:09.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T06:12:09.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T06:12:09.829Z] ========================================================= [2023-04-07T06:12:09.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T06:12:09.829Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:12:10.137Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-07T06:12:10.137Z] Sending build context to Docker daemon 6.403MB [2023-04-07T06:12:10.137Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T06:12:10.137Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-07T06:12:10.137Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T06:12:10.137Z] 63b65145d645: Pulling fs layer [2023-04-07T06:12:10.137Z] a2d21d5440eb: Pulling fs layer [2023-04-07T06:12:10.137Z] 935e6c44a52c: Pulling fs layer [2023-04-07T06:12:10.137Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T06:12:10.137Z] 30dea6a524f1: Pulling fs layer [2023-04-07T06:12:10.137Z] a2aff8979fd8: Pulling fs layer [2023-04-07T06:12:10.137Z] 6808be2612f2: Pulling fs layer [2023-04-07T06:12:10.137Z] f25807f1079a: Pulling fs layer [2023-04-07T06:12:10.137Z] 30dea6a524f1: Waiting [2023-04-07T06:12:10.137Z] a2aff8979fd8: Waiting [2023-04-07T06:12:10.137Z] 6808be2612f2: Waiting [2023-04-07T06:12:10.137Z] f25807f1079a: Waiting [2023-04-07T06:12:10.137Z] 94cc34f8dd06: Waiting [2023-04-07T06:12:10.137Z] a2d21d5440eb: Verifying Checksum [2023-04-07T06:12:10.137Z] a2d21d5440eb: Download complete [2023-04-07T06:12:10.137Z] 94cc34f8dd06: Verifying Checksum [2023-04-07T06:12:10.137Z] 94cc34f8dd06: Download complete [2023-04-07T06:12:10.137Z] 30dea6a524f1: Verifying Checksum [2023-04-07T06:12:10.137Z] 30dea6a524f1: Download complete [2023-04-07T06:12:10.137Z] 63b65145d645: Verifying Checksum [2023-04-07T06:12:10.137Z] 63b65145d645: Download complete [2023-04-07T06:12:10.397Z] a2aff8979fd8: Verifying Checksum [2023-04-07T06:12:10.397Z] a2aff8979fd8: Download complete [2023-04-07T06:12:10.397Z] 63b65145d645: Pull complete [2023-04-07T06:12:10.397Z] a2d21d5440eb: Pull complete [2023-04-07T06:12:10.656Z] f25807f1079a: Verifying Checksum [2023-04-07T06:12:10.656Z] f25807f1079a: Download complete [2023-04-07T06:12:10.915Z] 935e6c44a52c: Verifying Checksum [2023-04-07T06:12:10.915Z] 935e6c44a52c: Download complete [2023-04-07T06:12:10.915Z] 6808be2612f2: Verifying Checksum [2023-04-07T06:12:10.915Z] 6808be2612f2: Download complete [2023-04-07T06:12:14.195Z] 935e6c44a52c: Pull complete [2023-04-07T06:12:14.195Z] 94cc34f8dd06: Pull complete [2023-04-07T06:12:14.195Z] 30dea6a524f1: Pull complete [2023-04-07T06:12:14.195Z] a2aff8979fd8: Pull complete [2023-04-07T06:12:16.089Z] 6808be2612f2: Pull complete [2023-04-07T06:12:17.024Z] f25807f1079a: Pull complete [2023-04-07T06:12:17.024Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T06:12:17.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T06:12:17.024Z] ---> 3b553350e43f [2023-04-07T06:12:17.024Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-07T06:12:19.558Z] ---> Running in 094f0671a6ce [2023-04-07T06:12:19.558Z] Removing intermediate container 094f0671a6ce [2023-04-07T06:12:19.558Z] ---> c9e85a153912 [2023-04-07T06:12:19.558Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T06:12:19.558Z] ---> Running in 4c4aef19de77 [2023-04-07T06:12:19.558Z] Removing intermediate container 4c4aef19de77 [2023-04-07T06:12:19.558Z] ---> e5b97433570b [2023-04-07T06:12:19.558Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T06:12:19.558Z] ---> Running in 5f5111e119c3 [2023-04-07T06:12:19.558Z] Removing intermediate container 5f5111e119c3 [2023-04-07T06:12:19.558Z] ---> d89e19ffa3cd [2023-04-07T06:12:19.558Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T06:12:19.558Z] ---> Running in d60da6a5a63a [2023-04-07T06:12:19.558Z] Removing intermediate container d60da6a5a63a [2023-04-07T06:12:19.558Z] ---> 86af67f81663 [2023-04-07T06:12:19.558Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T06:12:19.816Z] ---> Running in 4e37fdc2f2c0 [2023-04-07T06:12:20.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T06:12:20.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T06:12:20.333Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T06:12:20.333Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-07T06:12:20.333Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T06:12:20.591Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T06:12:20.591Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T06:12:20.591Z] OK: 269 MiB in 57 packages [2023-04-07T06:12:21.526Z] Removing intermediate container 4e37fdc2f2c0 [2023-04-07T06:12:21.527Z] ---> 6ef574b81290 [2023-04-07T06:12:21.527Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-07T06:12:21.527Z] ---> Running in 24777ea3a560 [2023-04-07T06:12:21.527Z] Removing intermediate container 24777ea3a560 [2023-04-07T06:12:21.527Z] ---> 87ae6740195d [2023-04-07T06:12:21.527Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-07T06:12:21.787Z] ---> 825544abf7c8 [2023-04-07T06:12:21.787Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T06:12:21.787Z] ---> Running in 0f84453f3f57 [2023-04-07T06:12:23.875Z] Still waiting to schedule task [2023-04-07T06:12:23.875Z] ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-07T06:12:23.875Z] ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-07T06:12:23.875Z] ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-07T06:12:23.875Z] ‘prd-ubuntu18.04-docker-8c-8g-7086’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-07T06:12:23.876Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7095’ is offline [2023-04-07T06:12:43.843Z] Removing intermediate container 0f84453f3f57 [2023-04-07T06:12:43.843Z] ---> 695ff39f30e2 [2023-04-07T06:12:43.843Z] Step 11/12 : COPY . . [2023-04-07T06:12:43.843Z] ---> 76d552c90137 [2023-04-07T06:12:43.843Z] Step 12/12 : RUN $MAKE [2023-04-07T06:12:43.843Z] ---> Running in c1000d2f04da [2023-04-07T06:12:43.843Z] noop [2023-04-07T06:12:43.843Z] Removing intermediate container c1000d2f04da [2023-04-07T06:12:43.843Z] ---> f0e81ef86461 [2023-04-07T06:12:43.843Z] Successfully built f0e81ef86461 [2023-04-07T06:12:43.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:12:44.161Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T06:12:44.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:12:44.230Z] prd-ubuntu20.04-docker-8c-8g-7094 does not seem to be running inside a container [2023-04-07T06:12:44.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-556 -v /w/workspace/gexfoundry_device-mqtt-go_PR-556:/w/workspace/gexfoundry_device-mqtt-go_PR-556:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-556@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 ******** -e ******** ci-base-image-x86_64 cat [2023-04-07T06:12:44.597Z] $ docker top db674c654215bf301619552473650fa72387809afac5d156b868c75ff1397d14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T06:12:44.935Z] + go version [2023-04-07T06:12:44.935Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T06:12:44.943Z] $ docker stop --time=1 db674c654215bf301619552473650fa72387809afac5d156b868c75ff1397d14 [2023-04-07T06:12:46.209Z] $ docker rm -f --volumes db674c654215bf301619552473650fa72387809afac5d156b868c75ff1397d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:12:46.611Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T06:12:46.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:12:46.684Z] prd-ubuntu20.04-docker-8c-8g-7094 does not seem to be running inside a container [2023-04-07T06:12:46.721Z] $ 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-556 -v /w/workspace/gexfoundry_device-mqtt-go_PR-556:/w/workspace/gexfoundry_device-mqtt-go_PR-556:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-556@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 ******** -e ******** ci-base-image-x86_64 cat [2023-04-07T06:12:47.049Z] $ docker top cbe71df98b22e3e416671a97b5aba72d77a23a2a161246db0392d32386e84310 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T06:12:47.404Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-556 [Pipeline] fileExists [Pipeline] sh [2023-04-07T06:12:47.701Z] + make test [2023-04-07T06:12:47.701Z] go test ./... -coverprofile=coverage.out ./... [2023-04-07T06:12:52.964Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-07T06:13:02.952Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-07T06:13:02.952Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-07T06:13:02.952Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.2% of statements [2023-04-07T06:13:08.242Z] go vet ./... [2023-04-07T06:13:12.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T06:13:12.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T06:13:12.429Z] ./bin/test-attribution-txt.sh [2023-04-07T06:13:12.429Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T06:13:12.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T06:13:12.455Z] $ docker stop --time=1 cbe71df98b22e3e416671a97b5aba72d77a23a2a161246db0392d32386e84310 [2023-04-07T06:13:14.370Z] $ docker rm -f --volumes cbe71df98b22e3e416671a97b5aba72d77a23a2a161246db0392d32386e84310 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T06:13:14.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T06:13:14.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-07T06:13:15.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T06:13:15.652Z] + ls -al . [2023-04-07T06:13:15.652Z] total 180 [2023-04-07T06:13:15.652Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:12 . [2023-04-07T06:13:15.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 .. [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:11 .dockerignore [2023-04-07T06:13:15.652Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:12 .git [2023-04-07T06:13:15.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 .github [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:11 .gitignore [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:11 .golangci.yml [2023-04-07T06:13:15.652Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:12 .semver [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:11 Attribution.txt [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:11 CHANGELOG.md [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:11 Dockerfile [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:11 GOVERNANCE.md [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:11 Jenkinsfile [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:11 LICENSE [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:11 Makefile [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:11 OWNERS.md [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:11 README.md [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:12 VERSION [2023-04-07T06:13:15.652Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:11 bin [2023-04-07T06:13:15.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 cmd [2023-04-07T06:13:15.652Z] -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:13 coverage.out [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 06:11 go.mod [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 06:11 go.sum [2023-04-07T06:13:15.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:11 internal [2023-04-07T06:13:15.652Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:11 mock [2023-04-07T06:13:15.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:11 snap [2023-04-07T06:13:15.652Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:13:15.955Z] + 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=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 --label arch=amd64 --label version=0.0.0 . [2023-04-07T06:13:15.955Z] Sending build context to Docker daemon 6.422MB [2023-04-07T06:13:15.955Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T06:13:15.955Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-07T06:13:15.955Z] ---> f0e81ef86461 [2023-04-07T06:13:15.955Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-07T06:13:15.955Z] ---> Running in f11b4e3e7e93 [2023-04-07T06:13:15.955Z] Removing intermediate container f11b4e3e7e93 [2023-04-07T06:13:15.955Z] ---> 39193b023b78 [2023-04-07T06:13:15.955Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T06:13:15.955Z] ---> Running in 78163d80ec95 [2023-04-07T06:13:16.214Z] Removing intermediate container 78163d80ec95 [2023-04-07T06:13:16.214Z] ---> 5ba542debde2 [2023-04-07T06:13:16.214Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T06:13:16.214Z] ---> Running in 44fbd9f95a79 [2023-04-07T06:13:16.214Z] Removing intermediate container 44fbd9f95a79 [2023-04-07T06:13:16.214Z] ---> 594118cb159c [2023-04-07T06:13:16.214Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T06:13:16.214Z] ---> Running in 948af4383df9 [2023-04-07T06:13:16.214Z] Removing intermediate container 948af4383df9 [2023-04-07T06:13:16.214Z] ---> 6b43ed9a14ff [2023-04-07T06:13:16.214Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T06:13:16.473Z] ---> Running in d2f535608836 [2023-04-07T06:13:16.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T06:13:16.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T06:13:16.991Z] OK: 269 MiB in 57 packages [2023-04-07T06:13:17.252Z] Removing intermediate container d2f535608836 [2023-04-07T06:13:17.252Z] ---> 985b87c09a38 [2023-04-07T06:13:17.252Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-07T06:13:17.252Z] ---> Running in 1b8c32b88d3d [2023-04-07T06:13:17.511Z] Removing intermediate container 1b8c32b88d3d [2023-04-07T06:13:17.511Z] ---> c999d02e93d7 [2023-04-07T06:13:17.511Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-07T06:13:17.511Z] ---> 67cdd469f1ff [2023-04-07T06:13:17.511Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T06:13:17.511Z] ---> Running in 31d16a250842 [2023-04-07T06:13:18.446Z] Removing intermediate container 31d16a250842 [2023-04-07T06:13:18.446Z] ---> cb0d7f4a8c78 [2023-04-07T06:13:18.446Z] Step 11/24 : COPY . . [2023-04-07T06:13:18.446Z] ---> 3bf148de1736 [2023-04-07T06:13:18.446Z] Step 12/24 : RUN $MAKE [2023-04-07T06:13:18.446Z] ---> Running in 970ed68103eb [2023-04-07T06:13:18.705Z] 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-04-07T06:13:36.773Z] Removing intermediate container 970ed68103eb [2023-04-07T06:13:36.773Z] ---> 92ebe1195c5d [2023-04-07T06:13:36.773Z] Step 13/24 : FROM alpine:3.17 [2023-04-07T06:13:36.773Z] 3.17: Pulling from library/alpine [2023-04-07T06:13:36.773Z] f56be85fc22e: Pulling fs layer [2023-04-07T06:13:36.773Z] f56be85fc22e: Verifying Checksum [2023-04-07T06:13:36.773Z] f56be85fc22e: Download complete [2023-04-07T06:13:36.773Z] f56be85fc22e: Pull complete [2023-04-07T06:13:36.773Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T06:13:36.773Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T06:13:36.773Z] ---> 9ed4aefc74f6 [2023-04-07T06:13:36.773Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-07T06:13:36.773Z] ---> Running in 1b3dff1c342d [2023-04-07T06:13:36.773Z] Removing intermediate container 1b3dff1c342d [2023-04-07T06:13:36.773Z] ---> 640f8c8a62e1 [2023-04-07T06:13:36.773Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-07T06:13:36.773Z] ---> Running in f333f3d7ed10 [2023-04-07T06:13:36.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T06:13:36.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T06:13:36.773Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T06:13:36.773Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T06:13:36.773Z] OK: 7 MiB in 16 packages [2023-04-07T06:13:36.773Z] Removing intermediate container f333f3d7ed10 [2023-04-07T06:13:36.773Z] ---> 011c6adeaf3c [2023-04-07T06:13:36.773Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-07T06:13:37.031Z] ---> b9b9dd1c93fc [2023-04-07T06:13:37.031Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-07T06:13:37.290Z] ---> 94f106d61196 [2023-04-07T06:13:37.290Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-07T06:13:37.290Z] ---> fb43ef729fd7 [2023-04-07T06:13:37.290Z] Step 19/24 : EXPOSE 59982 [2023-04-07T06:13:37.290Z] ---> Running in b1dfcbf042d6 [2023-04-07T06:13:37.547Z] Removing intermediate container b1dfcbf042d6 [2023-04-07T06:13:37.547Z] ---> 1997a97b60f1 [2023-04-07T06:13:37.547Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-07T06:13:37.547Z] ---> Running in c351a81b4b8d [2023-04-07T06:13:37.547Z] Removing intermediate container c351a81b4b8d [2023-04-07T06:13:37.547Z] ---> b00ae15295c5 [2023-04-07T06:13:37.547Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-07T06:13:37.547Z] ---> Running in c3fced877536 [2023-04-07T06:13:37.547Z] Removing intermediate container c3fced877536 [2023-04-07T06:13:37.547Z] ---> 8faedf77d977 [2023-04-07T06:13:37.547Z] Step 22/24 : LABEL arch=amd64 [2023-04-07T06:13:37.547Z] ---> Running in bc3e0e13be5d [2023-04-07T06:13:37.806Z] Removing intermediate container bc3e0e13be5d [2023-04-07T06:13:37.806Z] ---> 72dec74f3ca9 [2023-04-07T06:13:37.806Z] Step 23/24 : LABEL git_sha=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [2023-04-07T06:13:37.806Z] ---> Running in 3bc11773e44e [2023-04-07T06:13:37.806Z] Removing intermediate container 3bc11773e44e [2023-04-07T06:13:37.806Z] ---> ef8ca5fba6d5 [2023-04-07T06:13:37.806Z] Step 24/24 : LABEL version=0.0.0 [2023-04-07T06:13:37.806Z] ---> Running in 6d378a6f3298 [2023-04-07T06:13:37.806Z] Removing intermediate container 6d378a6f3298 [2023-04-07T06:13:37.806Z] ---> 9b0609569d4f [2023-04-07T06:13:37.806Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T06:13:37.806Z] Successfully built 9b0609569d4f [2023-04-07T06:13:37.806Z] 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-04-07T06:13:38.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T06:13:38.236Z] [2023-04-07T06:13:38.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:13:38.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T06:13:38.530Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T06:13:38.530Z] 5eb5b503b376: Pulling fs layer [2023-04-07T06:13:38.530Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T06:13:38.530Z] ec43610c2a17: Pulling fs layer [2023-04-07T06:13:38.530Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T06:13:38.530Z] 33b1e0a273af: Pulling fs layer [2023-04-07T06:13:38.530Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T06:13:38.530Z] 2f39f015ded8: Pulling fs layer [2023-04-07T06:13:38.530Z] 3a2ae6a8a46f: Waiting [2023-04-07T06:13:38.530Z] 33b1e0a273af: Waiting [2023-04-07T06:13:38.530Z] 5d3b04190fa2: Waiting [2023-04-07T06:13:38.530Z] 2f39f015ded8: Waiting [2023-04-07T06:13:38.530Z] 5c69ac0246d0: Verifying Checksum [2023-04-07T06:13:38.530Z] 5c69ac0246d0: Download complete [2023-04-07T06:13:38.530Z] 3a2ae6a8a46f: Download complete [2023-04-07T06:13:38.530Z] 33b1e0a273af: Verifying Checksum [2023-04-07T06:13:38.530Z] 33b1e0a273af: Download complete [2023-04-07T06:13:38.530Z] 5d3b04190fa2: Verifying Checksum [2023-04-07T06:13:38.530Z] 5d3b04190fa2: Download complete [2023-04-07T06:13:38.530Z] ec43610c2a17: Verifying Checksum [2023-04-07T06:13:38.530Z] ec43610c2a17: Download complete [2023-04-07T06:13:38.789Z] 5eb5b503b376: Verifying Checksum [2023-04-07T06:13:38.789Z] 5eb5b503b376: Download complete [2023-04-07T06:13:39.353Z] 2f39f015ded8: Download complete [2023-04-07T06:13:39.610Z] 5eb5b503b376: Pull complete [2023-04-07T06:13:39.866Z] 5c69ac0246d0: Pull complete [2023-04-07T06:13:40.123Z] ec43610c2a17: Pull complete [2023-04-07T06:13:40.380Z] 3a2ae6a8a46f: Pull complete [2023-04-07T06:13:40.380Z] 33b1e0a273af: Pull complete [2023-04-07T06:13:40.639Z] 5d3b04190fa2: Pull complete [2023-04-07T06:13:44.825Z] 2f39f015ded8: Pull complete [2023-04-07T06:13:44.825Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T06:13:44.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T06:13:44.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:13:44.904Z] prd-ubuntu20.04-docker-8c-8g-7094 does not seem to be running inside a container [2023-04-07T06:13:44.932Z] $ 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-556 -v /w/workspace/gexfoundry_device-mqtt-go_PR-556:/w/workspace/gexfoundry_device-mqtt-go_PR-556:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-556@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-07T06:13:46.693Z] $ docker top 6193f2e93794e7d9d4be2808e7f84fab8182e1ba12a983b243cad82e664edc56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:13:47.065Z] ---> job-cost.sh [2023-04-07T06:13:47.066Z] lf-activate-venv: SKIPPING [2023-04-07T06:13:47.066Z] INFO: No Stack... [2023-04-07T06:13:47.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T06:13:47.892Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T06:13:48.181Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives/cost.csv [2023-04-07T06:13:48.181Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T06:13:48.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [2023-04-07T06:13:48.200Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] did not exist. Created. [2023-04-07T06:13:48.201Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T06:13:48.503Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T06:13:48.532Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T06:13:48.539Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T06:13:48.556Z] $ docker stop --time=1 6193f2e93794e7d9d4be2808e7f84fab8182e1ba12a983b243cad82e664edc56 [2023-04-07T06:13:49.713Z] $ docker rm -f --volumes 6193f2e93794e7d9d4be2808e7f84fab8182e1ba12a983b243cad82e664edc56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-07T06:14:48.948Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7098 in /w/workspace/gexfoundry_device-mqtt-go_PR-556 [Pipeline] { [Pipeline] ws [2023-04-07T06:14:48.960Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-04-07T06:14:49.012Z] Selected Git installation does not exist. Using Default [2023-04-07T06:14:49.012Z] The recommended git tool is: NONE [2023-04-07T06:14:56.113Z] using credential edgex-jenkins-ssh [2023-04-07T06:14:56.133Z] Cloning the remote Git repository [2023-04-07T06:14:56.198Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-07T06:14:56.321Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-04-07T06:14:56.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-07T06:14:56.523Z] > git --version # timeout=10 [2023-04-07T06:14:56.552Z] > git --version # 'git version 2.25.1' [2023-04-07T06:14:56.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T06:14:56.773Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T06:14:58.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-07T06:14:58.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T06:14:59.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-07T06:14:59.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-07T06:14:59.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T06:14:59.264Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T06:14:59.837Z] Merging remotes/origin/main commit fae68001f23ebf2296c35dbe56314768b083ad85 into PR head commit 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [2023-04-07T06:15:00.206Z] Merge succeeded, producing 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [2023-04-07T06:15:00.207Z] Checking out Revision 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 (PR-556) [2023-04-07T06:14:59.863Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T06:14:59.971Z] > git checkout -f 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 # timeout=10 [2023-04-07T06:15:00.081Z] > git remote # timeout=10 [2023-04-07T06:15:00.105Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T06:15:00.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T06:15:00.154Z] > git merge fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 [2023-04-07T06:15:00.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T06:15:00.216Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T06:15:00.238Z] > git checkout -f 5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 # timeout=10 [2023-04-07T06:15:00.880Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T06:15:01.796Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T06:15:01.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T06:15:01.796Z] Dload Upload Total Spent Left Speed [2023-04-07T06:15:01.796Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-04-07T06:15:02.493Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T06:15:02.844Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T06:15:02.844Z] + sudo tee /etc/docker/daemon.new [2023-04-07T06:15:02.844Z] { [2023-04-07T06:15:02.844Z] "registry-mirrors": [ [2023-04-07T06:15:02.844Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T06:15:02.844Z] ], [2023-04-07T06:15:02.844Z] "bip": "10.250.0.254/24", [2023-04-07T06:15:02.844Z] "hosts": [ [2023-04-07T06:15:02.844Z] "tcp://0.0.0.0:5555", [2023-04-07T06:15:02.844Z] "unix:///var/run/docker.sock" [2023-04-07T06:15:02.844Z] ], [2023-04-07T06:15:02.844Z] "mtu": 1458, [2023-04-07T06:15:02.844Z] "selinux-enabled": true, [2023-04-07T06:15:02.844Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T06:15:02.844Z] } [Pipeline] sh [2023-04-07T06:15:03.207Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T06:15:03.583Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T06:15:22.050Z] provisioning config files... [2023-04-07T06:15:22.087Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2780871177583974344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:15:22.484Z] ---> docker-login.sh [2023-04-07T06:15:22.484Z] nexus3.edgexfoundry.org:10001 [2023-04-07T06:15:23.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:15:23.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:15:23.370Z] Configure a credential helper to remove this warning. See [2023-04-07T06:15:23.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:15:23.370Z] [2023-04-07T06:15:23.370Z] Login Succeeded [2023-04-07T06:15:23.370Z] nexus3.edgexfoundry.org:10002 [2023-04-07T06:15:23.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:15:23.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:15:23.651Z] Configure a credential helper to remove this warning. See [2023-04-07T06:15:23.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:15:23.651Z] [2023-04-07T06:15:23.651Z] Login Succeeded [2023-04-07T06:15:23.651Z] nexus3.edgexfoundry.org:10003 [2023-04-07T06:15:23.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:15:24.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:15:24.198Z] Configure a credential helper to remove this warning. See [2023-04-07T06:15:24.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:15:24.198Z] [2023-04-07T06:15:24.198Z] Login Succeeded [2023-04-07T06:15:24.198Z] nexus3.edgexfoundry.org:10004 [2023-04-07T06:15:24.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:15:24.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:15:24.476Z] Configure a credential helper to remove this warning. See [2023-04-07T06:15:24.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:15:24.476Z] [2023-04-07T06:15:24.476Z] Login Succeeded [2023-04-07T06:15:24.476Z] docker.io [2023-04-07T06:15:25.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T06:15:25.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T06:15:25.075Z] Configure a credential helper to remove this warning. See [2023-04-07T06:15:25.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T06:15:25.075Z] [2023-04-07T06:15:25.075Z] Login Succeeded [2023-04-07T06:15:25.075Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T06:15:25.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T06:15:25.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T06:15:25.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T06:15:25.479Z] ========================================================= [2023-04-07T06:15:25.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T06:15:25.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:15:25.853Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-07T06:15:26.131Z] Sending build context to Docker daemon 3.321MB [2023-04-07T06:15:26.131Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T06:15:26.131Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-07T06:15:26.410Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T06:15:26.410Z] af6eaf76a39c: Pulling fs layer [2023-04-07T06:15:26.410Z] 55522c791124: Pulling fs layer [2023-04-07T06:15:26.410Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T06:15:26.410Z] 169dfbe0d373: Pulling fs layer [2023-04-07T06:15:26.410Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T06:15:26.410Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T06:15:26.410Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T06:15:26.410Z] e1ff8fa3b103: Waiting [2023-04-07T06:15:26.410Z] 52ebb69f0ebf: Waiting [2023-04-07T06:15:26.410Z] 5abe8eddf0d5: Waiting [2023-04-07T06:15:26.410Z] 169dfbe0d373: Waiting [2023-04-07T06:15:26.410Z] 55522c791124: Verifying Checksum [2023-04-07T06:15:26.410Z] 55522c791124: Download complete [2023-04-07T06:15:26.904Z] 169dfbe0d373: Verifying Checksum [2023-04-07T06:15:26.904Z] 169dfbe0d373: Download complete [2023-04-07T06:15:26.904Z] af6eaf76a39c: Verifying Checksum [2023-04-07T06:15:26.904Z] af6eaf76a39c: Download complete [2023-04-07T06:15:26.904Z] e1ff8fa3b103: Verifying Checksum [2023-04-07T06:15:26.904Z] e1ff8fa3b103: Download complete [2023-04-07T06:15:28.610Z] af6eaf76a39c: Pull complete [2023-04-07T06:15:28.610Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T06:15:28.610Z] 5abe8eddf0d5: Download complete [2023-04-07T06:15:29.221Z] 55522c791124: Pull complete [2023-04-07T06:15:30.211Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T06:15:30.211Z] ce5c4a1c91eb: Download complete [2023-04-07T06:15:30.211Z] 52ebb69f0ebf: Download complete [2023-04-07T06:15:45.284Z] ce5c4a1c91eb: Pull complete [2023-04-07T06:15:45.284Z] 169dfbe0d373: Pull complete [2023-04-07T06:15:45.284Z] e1ff8fa3b103: Pull complete [2023-04-07T06:15:51.996Z] 52ebb69f0ebf: Pull complete [2023-04-07T06:15:53.971Z] 5abe8eddf0d5: Pull complete [2023-04-07T06:15:53.971Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T06:15:53.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T06:15:53.971Z] ---> 6cb57ee374ae [2023-04-07T06:15:53.971Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-07T06:15:55.935Z] ---> Running in 87f7708ef08d [2023-04-07T06:15:55.935Z] Removing intermediate container 87f7708ef08d [2023-04-07T06:15:55.935Z] ---> 862b7668cbc4 [2023-04-07T06:15:55.935Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T06:15:56.207Z] ---> Running in 3530bf787a08 [2023-04-07T06:15:56.478Z] Removing intermediate container 3530bf787a08 [2023-04-07T06:15:56.478Z] ---> 16d89156954b [2023-04-07T06:15:56.478Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T06:15:56.750Z] ---> Running in 07847e636680 [2023-04-07T06:15:57.021Z] Removing intermediate container 07847e636680 [2023-04-07T06:15:57.021Z] ---> 62ab5a0182ff [2023-04-07T06:15:57.021Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T06:15:57.021Z] ---> Running in e406b902a797 [2023-04-07T06:15:57.615Z] Removing intermediate container e406b902a797 [2023-04-07T06:15:57.615Z] ---> 5e73c4f795d1 [2023-04-07T06:15:57.615Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T06:15:57.615Z] ---> Running in 0887d4e77b3f [2023-04-07T06:15:59.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T06:15:59.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T06:16:01.081Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T06:16:01.081Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-07T06:16:01.081Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T06:16:01.081Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T06:16:01.081Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T06:16:01.356Z] OK: 268 MiB in 57 packages [2023-04-07T06:16:02.791Z] Removing intermediate container 0887d4e77b3f [2023-04-07T06:16:02.791Z] ---> 90f08e4ed004 [2023-04-07T06:16:02.791Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-07T06:16:02.791Z] ---> Running in 2d980dfc8a32 [2023-04-07T06:16:03.065Z] Removing intermediate container 2d980dfc8a32 [2023-04-07T06:16:03.065Z] ---> b649ed4ff17e [2023-04-07T06:16:03.065Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-07T06:16:03.658Z] ---> 2d2b6931bdc8 [2023-04-07T06:16:03.658Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T06:16:03.658Z] ---> Running in 6ccf0f57d656 [2023-04-07T06:17:11.594Z] Removing intermediate container 6ccf0f57d656 [2023-04-07T06:17:11.594Z] ---> f53ab0a7b3ab [2023-04-07T06:17:11.594Z] Step 11/12 : COPY . . [2023-04-07T06:17:11.594Z] ---> 0a2570bb5e9a [2023-04-07T06:17:11.594Z] Step 12/12 : RUN $MAKE [2023-04-07T06:17:11.594Z] ---> Running in aaa3f8b1730d [2023-04-07T06:17:11.594Z] noop [2023-04-07T06:17:11.594Z] Removing intermediate container aaa3f8b1730d [2023-04-07T06:17:11.594Z] ---> 53063d7486a9 [2023-04-07T06:17:11.594Z] Successfully built 53063d7486a9 [2023-04-07T06:17:11.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:17:11.968Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T06:17:11.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:17:12.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-7098 does not seem to be running inside a container [2023-04-07T06:17:12.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T06:17:13.742Z] $ docker top ca271500cebe456bbeac2b44dcb1abe773dccb094aaccb61c6d436c6d2ddff07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T06:17:14.668Z] + go version [2023-04-07T06:17:14.669Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T06:17:14.701Z] $ docker stop --time=1 ca271500cebe456bbeac2b44dcb1abe773dccb094aaccb61c6d436c6d2ddff07 [2023-04-07T06:17:16.479Z] $ docker rm -f --volumes ca271500cebe456bbeac2b44dcb1abe773dccb094aaccb61c6d436c6d2ddff07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:17:17.078Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T06:17:17.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:17:17.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-7098 does not seem to be running inside a container [2023-04-07T06:17:17.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T06:17:18.808Z] $ docker top 0b55a2d0b2623739955acfb7f403b653989c548a9ed957a4880ff5b1a89d69ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T06:17:19.714Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-07T06:17:20.401Z] + make test [2023-04-07T06:17:20.401Z] go test ./... -coverprofile=coverage.out ./... [2023-04-07T06:18:07.307Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-07T06:20:44.102Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-07T06:20:44.688Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-07T06:20:44.688Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.2% of statements [2023-04-07T06:20:45.659Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-07T06:20:45.659Z] go vet ./... [2023-04-07T06:21:17.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T06:21:17.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T06:21:17.945Z] ./bin/test-attribution-txt.sh [2023-04-07T06:21:17.945Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T06:21:17.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T06:21:17.981Z] $ docker stop --time=1 0b55a2d0b2623739955acfb7f403b653989c548a9ed957a4880ff5b1a89d69ed [2023-04-07T06:21:19.941Z] $ docker rm -f --volumes 0b55a2d0b2623739955acfb7f403b653989c548a9ed957a4880ff5b1a89d69ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T06:21:21.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T06:21:21.249Z] Warning: overwriting stash ‘coverage-report’ [2023-04-07T06:21:21.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T06:21:22.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T06:21:22.594Z] + ls -al . [2023-04-07T06:21:22.594Z] total 176 [2023-04-07T06:21:22.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 06:17 . [2023-04-07T06:21:22.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:14 .. [2023-04-07T06:21:22.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:14 .dockerignore [2023-04-07T06:21:22.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:15 .git [2023-04-07T06:21:22.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 .github [2023-04-07T06:21:22.594Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:14 .gitignore [2023-04-07T06:21:22.594Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:14 .golangci.yml [2023-04-07T06:21:22.594Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:14 Attribution.txt [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:14 CHANGELOG.md [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:14 Dockerfile [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:14 GOVERNANCE.md [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:14 Jenkinsfile [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:14 LICENSE [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:14 Makefile [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:14 OWNERS.md [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:14 README.md [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 06:12 VERSION [2023-04-07T06:21:22.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:14 bin [2023-04-07T06:21:22.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 cmd [2023-04-07T06:21:22.595Z] -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:20 coverage.out [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 06:14 go.mod [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 06:14 go.sum [2023-04-07T06:21:22.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:14 internal [2023-04-07T06:21:22.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:14 mock [2023-04-07T06:21:22.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:14 snap [2023-04-07T06:21:22.595Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:21:22.942Z] + 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=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 --label arch=arm64 --label version=0.0.0 . [2023-04-07T06:21:23.217Z] Sending build context to Docker daemon 3.34MB [2023-04-07T06:21:23.217Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T06:21:23.217Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-07T06:21:23.217Z] ---> 53063d7486a9 [2023-04-07T06:21:23.217Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-07T06:21:23.489Z] ---> Running in ef29140c8aaf [2023-04-07T06:21:23.759Z] Removing intermediate container ef29140c8aaf [2023-04-07T06:21:23.759Z] ---> 19a711f7af5c [2023-04-07T06:21:23.759Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T06:21:24.031Z] ---> Running in ce4816c7afef [2023-04-07T06:21:24.301Z] Removing intermediate container ce4816c7afef [2023-04-07T06:21:24.301Z] ---> d55992931fac [2023-04-07T06:21:24.301Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-07T06:21:24.301Z] ---> Running in d93f7bbf7681 [2023-04-07T06:21:24.571Z] Removing intermediate container d93f7bbf7681 [2023-04-07T06:21:24.571Z] ---> 249651cc2a2d [2023-04-07T06:21:24.571Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-07T06:21:24.839Z] ---> Running in 615e9fa6b9c2 [2023-04-07T06:21:25.108Z] Removing intermediate container 615e9fa6b9c2 [2023-04-07T06:21:25.108Z] ---> 9643e04bd421 [2023-04-07T06:21:25.108Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T06:21:25.108Z] ---> Running in eee77741b349 [2023-04-07T06:21:26.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T06:21:27.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T06:21:28.531Z] OK: 268 MiB in 57 packages [2023-04-07T06:21:29.504Z] Removing intermediate container eee77741b349 [2023-04-07T06:21:29.504Z] ---> a90aac26e94f [2023-04-07T06:21:29.504Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-07T06:21:29.504Z] ---> Running in 20566cdd1a60 [2023-04-07T06:21:31.457Z] Removing intermediate container 20566cdd1a60 [2023-04-07T06:21:31.457Z] ---> 81881da96116 [2023-04-07T06:21:31.457Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-07T06:21:31.724Z] ---> 02fec092668b [2023-04-07T06:21:31.724Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T06:21:31.724Z] ---> Running in e4c60b14a831 [2023-04-07T06:21:37.081Z] Removing intermediate container e4c60b14a831 [2023-04-07T06:21:37.081Z] ---> 8dff11b0a41e [2023-04-07T06:21:37.081Z] Step 11/24 : COPY . . [2023-04-07T06:21:37.081Z] ---> 0013c7947ea6 [2023-04-07T06:21:37.081Z] Step 12/24 : RUN $MAKE [2023-04-07T06:21:37.350Z] ---> Running in 218257b1bb7c [2023-04-07T06:21:38.314Z] 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-04-07T06:24:00.045Z] Removing intermediate container 218257b1bb7c [2023-04-07T06:24:00.045Z] ---> 2dcfeb286526 [2023-04-07T06:24:00.045Z] Step 13/24 : FROM alpine:3.17 [2023-04-07T06:24:00.045Z] 3.17: Pulling from library/alpine [2023-04-07T06:24:00.045Z] c41833b44d91: Pulling fs layer [2023-04-07T06:24:00.045Z] c41833b44d91: Verifying Checksum [2023-04-07T06:24:00.045Z] c41833b44d91: Download complete [2023-04-07T06:24:00.045Z] c41833b44d91: Pull complete [2023-04-07T06:24:00.045Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T06:24:00.045Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T06:24:00.045Z] ---> 51e60588ff2c [2023-04-07T06:24:00.045Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-07T06:24:00.045Z] ---> Running in b49a86e12522 [2023-04-07T06:24:00.045Z] Removing intermediate container b49a86e12522 [2023-04-07T06:24:00.045Z] ---> 6e2d9d461954 [2023-04-07T06:24:00.045Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-07T06:24:00.312Z] ---> Running in 8ecfa6c13ebb [2023-04-07T06:24:01.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T06:24:01.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T06:24:02.814Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T06:24:02.814Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T06:24:02.814Z] OK: 8 MiB in 16 packages [2023-04-07T06:24:05.388Z] Removing intermediate container 8ecfa6c13ebb [2023-04-07T06:24:05.388Z] ---> d06cdabf4dc6 [2023-04-07T06:24:05.388Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-07T06:24:06.796Z] ---> e3aca727427a [2023-04-07T06:24:06.796Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-07T06:24:07.060Z] ---> a6734f265cf0 [2023-04-07T06:24:07.060Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-07T06:24:07.326Z] ---> fe0c71ac7177 [2023-04-07T06:24:07.326Z] Step 19/24 : EXPOSE 59982 [2023-04-07T06:24:07.593Z] ---> Running in db89382662a9 [2023-04-07T06:24:07.942Z] Removing intermediate container db89382662a9 [2023-04-07T06:24:07.942Z] ---> c0ec47babbc7 [2023-04-07T06:24:07.942Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-07T06:24:07.942Z] ---> Running in 9f2898a00ba0 [2023-04-07T06:24:08.217Z] Removing intermediate container 9f2898a00ba0 [2023-04-07T06:24:08.217Z] ---> 40a9d533e992 [2023-04-07T06:24:08.217Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-07T06:24:08.217Z] ---> Running in 0f878128a36c [2023-04-07T06:24:08.486Z] Removing intermediate container 0f878128a36c [2023-04-07T06:24:08.487Z] ---> cf5b9bc9a52a [2023-04-07T06:24:08.487Z] Step 22/24 : LABEL arch=arm64 [2023-04-07T06:24:08.487Z] ---> Running in c7666e529667 [2023-04-07T06:24:08.755Z] Removing intermediate container c7666e529667 [2023-04-07T06:24:08.755Z] ---> 6a2868c7ae62 [2023-04-07T06:24:08.755Z] Step 23/24 : LABEL git_sha=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [2023-04-07T06:24:09.026Z] ---> Running in f9451023792f [2023-04-07T06:24:09.296Z] Removing intermediate container f9451023792f [2023-04-07T06:24:09.296Z] ---> 6fcfa3197f85 [2023-04-07T06:24:09.296Z] Step 24/24 : LABEL version=0.0.0 [2023-04-07T06:24:09.296Z] ---> Running in b24724698db4 [2023-04-07T06:24:09.567Z] Removing intermediate container b24724698db4 [2023-04-07T06:24:09.567Z] ---> 1a97f5aa76ae [2023-04-07T06:24:09.567Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T06:24:09.567Z] Successfully built 1a97f5aa76ae [2023-04-07T06:24:09.567Z] 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-04-07T06:24:10.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T06:24:10.003Z] [2023-04-07T06:24:10.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:24:10.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T06:24:10.361Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T06:24:10.361Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T06:24:10.361Z] 04944245beec: Pulling fs layer [2023-04-07T06:24:10.361Z] 699f458cf7ca: Pulling fs layer [2023-04-07T06:24:10.361Z] 765212b225bb: Pulling fs layer [2023-04-07T06:24:10.361Z] f23df028b6ca: Pulling fs layer [2023-04-07T06:24:10.361Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T06:24:10.361Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T06:24:10.361Z] 765212b225bb: Waiting [2023-04-07T06:24:10.361Z] d65c8cfc05b1: Waiting [2023-04-07T06:24:10.361Z] 2437ff75d9bd: Waiting [2023-04-07T06:24:10.361Z] f23df028b6ca: Waiting [2023-04-07T06:24:10.631Z] 04944245beec: Verifying Checksum [2023-04-07T06:24:10.631Z] 04944245beec: Download complete [2023-04-07T06:24:10.631Z] 765212b225bb: Verifying Checksum [2023-04-07T06:24:10.631Z] 765212b225bb: Download complete [2023-04-07T06:24:10.631Z] f23df028b6ca: Verifying Checksum [2023-04-07T06:24:10.631Z] f23df028b6ca: Download complete [2023-04-07T06:24:10.631Z] d65c8cfc05b1: Download complete [2023-04-07T06:24:10.902Z] 699f458cf7ca: Verifying Checksum [2023-04-07T06:24:10.902Z] 699f458cf7ca: Download complete [2023-04-07T06:24:11.169Z] 8998bd30e6a1: Verifying Checksum [2023-04-07T06:24:11.169Z] 8998bd30e6a1: Download complete [2023-04-07T06:24:13.117Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T06:24:13.117Z] 2437ff75d9bd: Download complete [2023-04-07T06:24:15.071Z] 8998bd30e6a1: Pull complete [2023-04-07T06:24:19.316Z] 04944245beec: Pull complete [2023-04-07T06:24:19.899Z] 699f458cf7ca: Pull complete [2023-04-07T06:24:20.168Z] 765212b225bb: Pull complete [2023-04-07T06:24:21.127Z] f23df028b6ca: Pull complete [2023-04-07T06:24:21.127Z] d65c8cfc05b1: Pull complete [2023-04-07T06:24:36.109Z] 2437ff75d9bd: Pull complete [2023-04-07T06:24:36.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T06:24:36.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T06:24:36.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:24:36.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-7098 does not seem to be running inside a container [2023-04-07T06:24:36.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-07T06:24:38.877Z] $ docker top a6616744574c55afd3b842490a546a4c4874b48711e32c4d102ce18dce6c7554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:39.708Z] ---> job-cost.sh [2023-04-07T06:24:39.709Z] lf-activate-venv: SKIPPING [2023-04-07T06:24:39.709Z] INFO: No Stack... [2023-04-07T06:24:39.974Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T06:24:40.930Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T06:24:41.253Z] + cut -d, -f6 [2023-04-07T06:24:41.253Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2023-04-07T06:24:41.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [2023-04-07T06:24:41.597Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] did not exist. Created. [2023-04-07T06:24:41.597Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T06:24:42.249Z] /w/workspace/device-mqtt-go/2@tmp/durable-c3e97360/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T06:24:42.583Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T06:24:42.605Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T06:24:42.651Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T06:24:42.717Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T06:24:42.739Z] $ docker stop --time=1 a6616744574c55afd3b842490a546a4c4874b48711e32c4d102ce18dce6c7554 [2023-04-07T06:24:45.502Z] $ docker rm -f --volumes a6616744574c55afd3b842490a546a4c4874b48711e32c4d102ce18dce6c7554 [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-04-07T06:24:45.845Z] provisioning config files... [2023-04-07T06:24:45.852Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/config6120185124776617245tmp [Pipeline] { [Pipeline] sh [2023-04-07T06:24:46.144Z] + set +x [2023-04-07T06:24:46.144Z] + bash -s -- [2023-04-07T06:24:46.144Z] + curl -s https://codecov.io/bash [2023-04-07T06:24:46.144Z] [2023-04-07T06:24:46.144Z] _____ _ [2023-04-07T06:24:46.144Z] / ____| | | [2023-04-07T06:24:46.144Z] | | ___ __| | ___ ___ _____ __ [2023-04-07T06:24:46.144Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-07T06:24:46.144Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-07T06:24:46.144Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-07T06:24:46.144Z] Bash-1.0.6 [2023-04-07T06:24:46.144Z] [2023-04-07T06:24:46.144Z] [2023-04-07T06:24:46.144Z] ==> git version 2.25.1 found [2023-04-07T06:24:46.144Z] ==> 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-04-07T06:24:46.144Z] Release-Date: 2020-01-08 [2023-04-07T06:24:46.144Z] 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-04-07T06:24:46.144Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-07T06:24:46.144Z] ==> Jenkins CI detected. [2023-04-07T06:24:46.144Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-556 [2023-04-07T06:24:46.144Z] project root: . [2023-04-07T06:24:46.144Z] --> token set from env [2023-04-07T06:24:46.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-07T06:24:46.144Z] ==> Running gcov in . (disable via -X gcov) [2023-04-07T06:24:46.144Z] ==> Python coveragepy not found [2023-04-07T06:24:46.144Z] ==> Searching for coverage reports in: [2023-04-07T06:24:46.144Z] + . [2023-04-07T06:24:46.144Z] -> Found 1 reports [2023-04-07T06:24:46.144Z] ==> Detecting git/mercurial file structure [2023-04-07T06:24:46.144Z] ==> Reading reports [2023-04-07T06:24:46.144Z] + ./coverage.out bytes=18047 [2023-04-07T06:24:46.144Z] ==> Appending adjustments [2023-04-07T06:24:46.144Z] https://docs.codecov.io/docs/fixing-reports [2023-04-07T06:24:46.403Z] + Found adjustments [2023-04-07T06:24:46.403Z] ==> Gzipping contents [2023-04-07T06:24:46.403Z] 4.0K /tmp/codecov.LfrLlv.gz [2023-04-07T06:24:46.403Z] ==> Uploading reports [2023-04-07T06:24:46.403Z] url: https://codecov.io [2023-04-07T06:24:46.403Z] query: branch=PR-556&commit=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2023-04-07T06:24:46.403Z] -> Pinging Codecov [2023-04-07T06:24:46.403Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-556&commit=5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=556&job=&cmd_args= [2023-04-07T06:24:46.403Z] -> Uploading to [2023-04-07T06:24:46.403Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7D719EC7BBE17E464838252E33014C33/5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7/d5bd4b4f-595e-4205-af59-15eff0616d94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T062446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d7bfda98e74dab58fc2bfdc5ac74b405e54d428f27f61fa677809d080a6bea3 [2023-04-07T06:24:46.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T06:24:46.403Z] Dload Upload Total Spent Left Speed [2023-04-07T06:24:46.663Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127 0 0 100 3127 0 12408 --:--:-- --:--:-- --:--:-- 12359 100 3127 0 0 100 3127 0 12408 --:--:-- --:--:-- --:--:-- 12359 [2023-04-07T06:24:46.663Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5477c2b4d48ae83bdeb3ead19a4fb432ad2569b7 [Pipeline] } [2023-04-07T06:24:46.669Z] 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-04-07T06:24:47.312Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives ] [2023-04-07T06:24:47.312Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives [2023-04-07T06:24:47.312Z] total 16 [2023-04-07T06:24:47.312Z] drwxr-xr-x 3 root root 4096 Apr 7 06:13 . [2023-04-07T06:24:47.312Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:13 .. [2023-04-07T06:24:47.312Z] drwxr-xr-x 2 root root 4096 Apr 7 06:13 cost [2023-04-07T06:24:47.312Z] -rw-r--r-- 1 root root 86 Apr 7 06:13 cost.csv [2023-04-07T06:24:47.312Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives [2023-04-07T06:24:47.312Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives [2023-04-07T06:24:47.312Z] total 16 [2023-04-07T06:24:47.312Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:13 . [2023-04-07T06:24:47.312Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:13 .. [2023-04-07T06:24:47.312Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 06:13 cost [2023-04-07T06:24:47.312Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 7 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:47.601Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:48.461Z] ---> package-listing.sh [2023-04-07T06:24:48.461Z] ++ facter osfamily [2023-04-07T06:24:48.461Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T06:24:48.723Z] + OS_FAMILY=debian [2023-04-07T06:24:48.723Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-556 [2023-04-07T06:24:48.723Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T06:24:48.723Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T06:24:48.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T06:24:48.723Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T06:24:48.723Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-556 ']' [2023-04-07T06:24:48.723Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T06:24:48.723Z] + case "${OS_FAMILY}" in [2023-04-07T06:24:48.723Z] + dpkg -l [2023-04-07T06:24:48.723Z] + grep '^ii' [2023-04-07T06:24:48.723Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T06:24:48.723Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T06:24:48.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T06:24:48.723Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-556 ']' [2023-04-07T06:24:48.723Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives/ [2023-04-07T06:24:48.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-556/archives/ [Pipeline] echo [2023-04-07T06:24:48.735Z] 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-556/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T06:24:49.011Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T06:24:49.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T06:24:49.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T06:24:49.633Z] prd-ubuntu20.04-docker-8c-8g-7094 does not seem to be running inside a container [2023-04-07T06:24:49.656Z] $ 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-556/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-556 -v /w/workspace/gexfoundry_device-mqtt-go_PR-556:/w/workspace/gexfoundry_device-mqtt-go_PR-556:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-556@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-04-07T06:24:49.888Z] $ docker top 3c8c5f11eff99f8dc5bab5c9ba06757d4e32abfa4e6ed7e3ad57a6d7d633e718 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T06:24:50.232Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T06:24:50.513Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T06:24:50.794Z] + ls /var/log/sa-host [2023-04-07T06:24:50.794Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T06:24:50.864Z] provisioning config files... [2023-04-07T06:24:50.873Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-556@tmp/config873379351650352823tmp [Pipeline] { [Pipeline] echo [2023-04-07T06:24:50.885Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:51.170Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T06:24:51.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:51.503Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T06:24:51.511Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:51.797Z] ---> sudo-logs.sh [2023-04-07T06:24:51.797Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T06:24:51.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:52.104Z] ---> job-cost.sh [2023-04-07T06:24:52.104Z] lf-activate-venv: SKIPPING [2023-04-07T06:24:52.104Z] DEBUG: total: 0.2199999988079071 [2023-04-07T06:24:52.104Z] INFO: Retrieving Stack Cost... [2023-04-07T06:24:52.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T06:24:52.930Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T06:24:52.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T06:24:53.226Z] ---> logs-deploy.sh [2023-04-07T06:24:53.226Z] lf-activate-venv: SKIPPING [2023-04-07T06:24:53.226Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-556/2 [2023-04-07T06:24:53.226Z] INFO: archiving workspace using pattern(s): [2023-04-07T06:24:54.162Z] Archives upload complete. [2023-04-07T06:24:54.422Z] INFO: archiving logs to Nexus [2023-04-07T06:24:54.990Z] ---> uname -a: [2023-04-07T06:24:54.990Z] Linux prd-ubuntu20-04-docker-8c-8g-7094 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-04-07T06:24:54.990Z] [2023-04-07T06:24:54.990Z] [2023-04-07T06:24:54.990Z] ---> lscpu: [2023-04-07T06:24:54.990Z] Architecture: x86_64 [2023-04-07T06:24:54.990Z] CPU op-mode(s): 32-bit, 64-bit [2023-04-07T06:24:54.990Z] Byte Order: Little Endian [2023-04-07T06:24:54.990Z] Address sizes: 40 bits physical, 48 bits virtual [2023-04-07T06:24:54.990Z] CPU(s): 8 [2023-04-07T06:24:54.990Z] On-line CPU(s) list: 0-7 [2023-04-07T06:24:54.990Z] Thread(s) per core: 1 [2023-04-07T06:24:54.990Z] Core(s) per socket: 1 [2023-04-07T06:24:54.990Z] Socket(s): 8 [2023-04-07T06:24:54.990Z] NUMA node(s): 1 [2023-04-07T06:24:54.990Z] Vendor ID: AuthenticAMD [2023-04-07T06:24:54.990Z] CPU family: 23 [2023-04-07T06:24:54.990Z] Model: 49 [2023-04-07T06:24:54.990Z] Model name: AMD EPYC-Rome Processor [2023-04-07T06:24:54.990Z] Stepping: 0 [2023-04-07T06:24:54.990Z] CPU MHz: 2800.000 [2023-04-07T06:24:54.990Z] BogoMIPS: 5600.00 [2023-04-07T06:24:54.990Z] Virtualization: AMD-V [2023-04-07T06:24:54.990Z] Hypervisor vendor: KVM [2023-04-07T06:24:54.990Z] Virtualization type: full [2023-04-07T06:24:54.990Z] L1d cache: 256 KiB [2023-04-07T06:24:54.990Z] L1i cache: 256 KiB [2023-04-07T06:24:54.990Z] L2 cache: 4 MiB [2023-04-07T06:24:54.990Z] L3 cache: 128 MiB [2023-04-07T06:24:54.991Z] NUMA node0 CPU(s): 0-7 [2023-04-07T06:24:54.991Z] Vulnerability Itlb multihit: Not affected [2023-04-07T06:24:54.991Z] Vulnerability L1tf: Not affected [2023-04-07T06:24:54.991Z] Vulnerability Mds: Not affected [2023-04-07T06:24:54.991Z] Vulnerability Meltdown: Not affected [2023-04-07T06:24:54.991Z] Vulnerability Mmio stale data: Not affected [2023-04-07T06:24:54.991Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-04-07T06:24:54.991Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-04-07T06:24:54.991Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-04-07T06:24:54.991Z] Vulnerability Srbds: Not affected [2023-04-07T06:24:54.991Z] Vulnerability Tsx async abort: Not affected [2023-04-07T06:24:54.991Z] 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-04-07T06:24:54.991Z] [2023-04-07T06:24:54.991Z] [2023-04-07T06:24:54.991Z] ---> nproc: [2023-04-07T06:24:54.991Z] 8 [2023-04-07T06:24:54.991Z] [2023-04-07T06:24:54.991Z]