Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+fe528491bba3fee0f8df2cff68391009d47da719 (a3e8e764454e8b58d97654332694c9888fdcc7e4) 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-ssh5806982007587252798.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1399262390736148744.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh306632765658270508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9262120867037748754.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11686740907550971081.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1146 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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 fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 25d123484711da6b809a8e6f8c35250441539d49 Checking out Revision 25d123484711da6b809a8e6f8c35250441539d49 (PR-429) > 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25d123484711da6b809a8e6f8c35250441539d49 # timeout=10 Commit message: "Merge commit 'fe528491bba3fee0f8df2cff68391009d47da719' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-04T23:17:19.295Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T23:17:19.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T23:17:19.361Z] ========================================================= [2023-01-04T23:17:19.361Z] EdgeX Global Pipelines Version Info [2023-01-04T23:17:19.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ac607ba2d2ce4533e4c815ca46cb8d423e907da4 # timeout=10 [2023-01-04T23:17:20.083Z] ------------------- [2023-01-04T23:17:20.083Z] stable info: [2023-01-04T23:17:20.083Z] ------------------- [2023-01-04T23:17:20.083Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T23:17:20.083Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T23:17:20.083Z] Message: update stable to v1.0.244 [2023-01-04T23:17:20.653Z] ------------------- [2023-01-04T23:17:20.653Z] experimental info: [2023-01-04T23:17:20.653Z] ------------------- [2023-01-04T23:17:20.653Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T23:17:20.653Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T23:17:20.653Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T23:17:20.833Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-04T23:17:20.848Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-04T23:17:20.862Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T23:17:20.876Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T23:17:20.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T23:17:20.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T23:17:20.914Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T23:17:20.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T23:17:20.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T23:17:20.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T23:17:20.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T23:17:20.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-04T23:17:21.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T23:17:21.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T23:17:21.038Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T23:17:21.051Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T23:17:21.062Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T23:17:21.074Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T23:17:21.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T23:17:21.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T23:17:21.111Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T23:17:21.125Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T23:17:21.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T23:17:21.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T23:17:21.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T23:17:21.175Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T23:17:21.186Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T23:17:21.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2023-01-04T23:17:21.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2023-01-04T23:17:21.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2023-01-04T23:17:21.238Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25d123484711da6b809a8e6f8c35250441539d49 [Pipeline] echo [2023-01-04T23:17:21.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25d1234 [Pipeline] echo [2023-01-04T23:17:21.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T23:17:21.309Z] provisioning config files... [2023-01-04T23:17:21.324Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config3494091805641535203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:17:21.624Z] ---> docker-login.sh [2023-01-04T23:17:21.624Z] nexus3.edgexfoundry.org:10001 [2023-01-04T23:17:21.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:21.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:21.885Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:21.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:21.885Z] [2023-01-04T23:17:21.885Z] Login Succeeded [2023-01-04T23:17:22.146Z] nexus3.edgexfoundry.org:10002 [2023-01-04T23:17:22.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:22.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:22.146Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:22.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:22.146Z] [2023-01-04T23:17:22.146Z] Login Succeeded [2023-01-04T23:17:22.146Z] nexus3.edgexfoundry.org:10003 [2023-01-04T23:17:22.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:22.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:22.146Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:22.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:22.146Z] [2023-01-04T23:17:22.146Z] Login Succeeded [2023-01-04T23:17:22.146Z] nexus3.edgexfoundry.org:10004 [2023-01-04T23:17:22.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:22.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:22.405Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:22.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:22.405Z] [2023-01-04T23:17:22.405Z] Login Succeeded [2023-01-04T23:17:22.405Z] docker.io [2023-01-04T23:17:22.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:22.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:22.665Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:22.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:22.665Z] [2023-01-04T23:17:22.665Z] Login Succeeded [2023-01-04T23:17:22.665Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T23:17:22.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T23:17:23.053Z] + git rev-list -1 --merges 25d123484711da6b809a8e6f8c35250441539d49~1..25d123484711da6b809a8e6f8c35250441539d49 [Pipeline] echo [2023-01-04T23:17:23.099Z] -----------> git rev-list -1 --merges 25d123484711da6b809a8e6f8c35250441539d49~1..25d123484711da6b809a8e6f8c35250441539d49 25d123484711da6b809a8e6f8c35250441539d49 [2023-01-04T23:17:23.099Z] 25d123484711da6b809a8e6f8c35250441539d49 [false] [Pipeline] sh [2023-01-04T23:17:23.387Z] + git log --format=format:%s -1 25d123484711da6b809a8e6f8c35250441539d49 [Pipeline] echo [2023-01-04T23:17:23.402Z] ========================================================= [2023-01-04T23:17:23.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T23:17:23.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T23:17:23.738Z] + git log --format=format:%s -1 25d123484711da6b809a8e6f8c35250441539d49 [Pipeline] echo [2023-01-04T23:17:23.749Z] [semverPrep] GIT_COMMIT: 25d123484711da6b809a8e6f8c35250441539d49, Commit Message: Merge commit 'fe528491bba3fee0f8df2cff68391009d47da719' into HEAD [Pipeline] echo [2023-01-04T23:17:23.757Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T23:17:24.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T23:17:24.105Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T23:17:24.105Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T23:17:24.105Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T23:17:24.105Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T23:17:24.105Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T23:17:24.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:17:24.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T23:17:24.498Z] [2023-01-04T23:17:24.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:17:24.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T23:17:24.791Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T23:17:24.791Z] b85a868b505f: Pulling fs layer [2023-01-04T23:17:24.791Z] e2be974225ed: Pulling fs layer [2023-01-04T23:17:24.791Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T23:17:24.791Z] 988bab9f4d93: Pulling fs layer [2023-01-04T23:17:24.791Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T23:17:24.791Z] eaf3925da568: Pulling fs layer [2023-01-04T23:17:24.791Z] bab4dde63d76: Pulling fs layer [2023-01-04T23:17:24.791Z] bde34c3a00c8: Pulling fs layer [2023-01-04T23:17:24.791Z] b352a97aabf1: Pulling fs layer [2023-01-04T23:17:24.791Z] 4872d77fe225: Pulling fs layer [2023-01-04T23:17:24.791Z] 5851b861e8e6: Pulling fs layer [2023-01-04T23:17:24.791Z] 988bab9f4d93: Waiting [2023-01-04T23:17:24.791Z] 1469e6f7b9e6: Waiting [2023-01-04T23:17:24.791Z] eaf3925da568: Waiting [2023-01-04T23:17:24.791Z] b352a97aabf1: Waiting [2023-01-04T23:17:24.791Z] bab4dde63d76: Waiting [2023-01-04T23:17:24.791Z] 4872d77fe225: Waiting [2023-01-04T23:17:24.791Z] e2be974225ed: Download complete [2023-01-04T23:17:24.791Z] 988bab9f4d93: Verifying Checksum [2023-01-04T23:17:24.791Z] 988bab9f4d93: Download complete [2023-01-04T23:17:25.049Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T23:17:25.049Z] 1469e6f7b9e6: Download complete [2023-01-04T23:17:25.050Z] eaf3925da568: Verifying Checksum [2023-01-04T23:17:25.050Z] eaf3925da568: Download complete [2023-01-04T23:17:25.050Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T23:17:25.050Z] 339a4e72a1f5: Download complete [2023-01-04T23:17:25.050Z] bde34c3a00c8: Download complete [2023-01-04T23:17:25.050Z] b352a97aabf1: Verifying Checksum [2023-01-04T23:17:25.050Z] b352a97aabf1: Download complete [2023-01-04T23:17:25.050Z] 4872d77fe225: Verifying Checksum [2023-01-04T23:17:25.050Z] 4872d77fe225: Download complete [2023-01-04T23:17:25.050Z] 5851b861e8e6: Verifying Checksum [2023-01-04T23:17:25.050Z] 5851b861e8e6: Download complete [2023-01-04T23:17:25.050Z] b85a868b505f: Verifying Checksum [2023-01-04T23:17:25.050Z] b85a868b505f: Download complete [2023-01-04T23:17:25.309Z] bab4dde63d76: Verifying Checksum [2023-01-04T23:17:25.309Z] bab4dde63d76: Download complete [2023-01-04T23:17:26.246Z] b85a868b505f: Pull complete [2023-01-04T23:17:26.506Z] e2be974225ed: Pull complete [2023-01-04T23:17:26.765Z] 339a4e72a1f5: Pull complete [2023-01-04T23:17:27.023Z] 988bab9f4d93: Pull complete [2023-01-04T23:17:27.282Z] 1469e6f7b9e6: Pull complete [2023-01-04T23:17:27.282Z] eaf3925da568: Pull complete [2023-01-04T23:17:29.190Z] bab4dde63d76: Pull complete [2023-01-04T23:17:29.190Z] bde34c3a00c8: Pull complete [2023-01-04T23:17:29.190Z] b352a97aabf1: Pull complete [2023-01-04T23:17:29.190Z] 4872d77fe225: Pull complete [2023-01-04T23:17:29.449Z] 5851b861e8e6: Pull complete [2023-01-04T23:17:29.449Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T23:17:29.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T23:17:29.449Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:17:29.536Z] prd-ubuntu20.04-docker-8c-8g-1146 does not seem to be running inside a container [2023-01-04T23:17:29.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-01-04T23:17:31.662Z] $ docker top ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 -eo pid,comm [2023-01-04T23:17:31.717Z] 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-01-04T23:17:31.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T23:17:31.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T23:17:31.750Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T23:17:31.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T23:17:31.875Z] $ docker exec ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 ssh-agent [2023-01-04T23:17:31.989Z] SSH_AUTH_SOCK=/tmp/ssh-GAJ7AC0w8Jwd/agent.31 [2023-01-04T23:17:31.989Z] SSH_AGENT_PID=37 [2023-01-04T23:17:32.006Z] Running ssh-add (command line suppressed) [2023-01-04T23:17:32.106Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_17067978943270527583.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_17067978943270527583.key) [2023-01-04T23:17:32.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T23:17:32.410Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T23:17:32.424Z] $ docker exec --env ******** --env ******** ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 ssh-agent -k [2023-01-04T23:17:32.512Z] unset SSH_AUTH_SOCK; [2023-01-04T23:17:32.513Z] unset SSH_AGENT_PID; [2023-01-04T23:17:32.513Z] echo Agent pid 37 killed; [2023-01-04T23:17:32.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T23:17:32.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T23:17:32.552Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T23:17:32.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T23:17:32.658Z] $ docker exec ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 ssh-agent [2023-01-04T23:17:32.770Z] SSH_AUTH_SOCK=/tmp/ssh-uNzCW5IUizqi/agent.69 [2023-01-04T23:17:32.770Z] SSH_AGENT_PID=75 [2023-01-04T23:17:32.774Z] Running ssh-add (command line suppressed) [2023-01-04T23:17:32.864Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14952292568429801294.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14952292568429801294.key) [2023-01-04T23:17:32.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T23:17:33.167Z] + git semver init [2023-01-04T23:17:33.425Z] 2023-01-04 23:17:33,342 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T23:17:33.425Z] 2023-01-04 23:17:33,343 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2023-01-04T23:17:33.425Z] 2023-01-04 23:17:33,343 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2023-01-04T23:17:33.425Z] 2023-01-04 23:17:33,343 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,138 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,138 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,142 [execute] INFO git cat-file --batch-check [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,149 [execute] INFO git cat-file --batch [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T23:17:34.364Z] 2023-01-04 23:17:34,153 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2023-01-04T23:17:34.364Z] 0.0.0 [Pipeline] } [2023-01-04T23:17:34.373Z] $ docker exec --env ******** --env ******** ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 ssh-agent -k [2023-01-04T23:17:34.464Z] unset SSH_AUTH_SOCK; [2023-01-04T23:17:34.464Z] unset SSH_AGENT_PID; [2023-01-04T23:17:34.468Z] echo Agent pid 75 killed; [2023-01-04T23:17:34.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T23:17:34.772Z] + git semver [Pipeline] } [2023-01-04T23:17:35.045Z] $ docker stop --time=1 ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 [2023-01-04T23:17:36.339Z] $ docker rm -f --volumes ab46da0ad616999c04d95e0d417388cab36235a12b983c4d395d2e8fc775e722 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T23:17:36.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T23:17:36.874Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T23:17:36.878Z] [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-01-04T23:17:37.059Z] provisioning config files... [2023-01-04T23:17:37.070Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config18123976881212673852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:17:37.367Z] ---> docker-login.sh [2023-01-04T23:17:37.367Z] nexus3.edgexfoundry.org:10001 [2023-01-04T23:17:37.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:37.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:37.367Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:37.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:37.367Z] [2023-01-04T23:17:37.367Z] Login Succeeded [2023-01-04T23:17:37.367Z] nexus3.edgexfoundry.org:10002 [2023-01-04T23:17:37.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:37.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:37.367Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:37.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:37.367Z] [2023-01-04T23:17:37.367Z] Login Succeeded [2023-01-04T23:17:37.367Z] nexus3.edgexfoundry.org:10003 [2023-01-04T23:17:37.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:37.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:37.625Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:37.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:37.625Z] [2023-01-04T23:17:37.625Z] Login Succeeded [2023-01-04T23:17:37.625Z] nexus3.edgexfoundry.org:10004 [2023-01-04T23:17:37.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:37.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:37.625Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:37.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:37.625Z] [2023-01-04T23:17:37.625Z] Login Succeeded [2023-01-04T23:17:37.625Z] docker.io [2023-01-04T23:17:37.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:17:37.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:17:37.884Z] Configure a credential helper to remove this warning. See [2023-01-04T23:17:37.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:17:37.884Z] [2023-01-04T23:17:37.884Z] Login Succeeded [2023-01-04T23:17:37.884Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T23:17:37.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T23:17:37.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T23:17:37.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T23:17:37.975Z] ========================================================= [2023-01-04T23:17:37.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T23:17:37.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:17:38.284Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-04T23:17:38.285Z] Sending build context to Docker daemon 6.281MB [2023-01-04T23:17:38.285Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T23:17:38.285Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T23:17:38.285Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T23:17:38.285Z] 213ec9aee27d: Pulling fs layer [2023-01-04T23:17:38.285Z] 4583459ba037: Pulling fs layer [2023-01-04T23:17:38.285Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T23:17:38.285Z] 53926ce57604: Pulling fs layer [2023-01-04T23:17:38.285Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T23:17:38.285Z] 22ff95d597cd: Pulling fs layer [2023-01-04T23:17:38.285Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T23:17:38.285Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T23:17:38.285Z] a7acece74701: Pulling fs layer [2023-01-04T23:17:38.285Z] 12d6caf4c0d1: Waiting [2023-01-04T23:17:38.285Z] 53926ce57604: Waiting [2023-01-04T23:17:38.285Z] 96b7cbca73a9: Waiting [2023-01-04T23:17:38.285Z] 21b2b0c7a3f4: Waiting [2023-01-04T23:17:38.285Z] a7acece74701: Waiting [2023-01-04T23:17:38.285Z] 22ff95d597cd: Waiting [2023-01-04T23:17:38.285Z] 93c1e223e6f2: Verifying Checksum [2023-01-04T23:17:38.285Z] 93c1e223e6f2: Download complete [2023-01-04T23:17:38.285Z] 4583459ba037: Download complete [2023-01-04T23:17:38.285Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-04T23:17:38.285Z] 21b2b0c7a3f4: Download complete [2023-01-04T23:17:38.546Z] 22ff95d597cd: Download complete [2023-01-04T23:17:38.546Z] 213ec9aee27d: Retrying in 5 seconds [2023-01-04T23:17:38.546Z] 12d6caf4c0d1: Download complete [2023-01-04T23:17:39.116Z] 53926ce57604: Verifying Checksum [2023-01-04T23:17:39.116Z] 53926ce57604: Download complete [2023-01-04T23:17:39.375Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T23:17:39.375Z] 96b7cbca73a9: Download complete [2023-01-04T23:17:39.375Z] 213ec9aee27d: Retrying in 4 seconds [2023-01-04T23:17:39.375Z] a7acece74701: Verifying Checksum [2023-01-04T23:17:39.375Z] a7acece74701: Download complete [2023-01-04T23:17:40.755Z] 213ec9aee27d: Retrying in 3 seconds [2023-01-04T23:17:41.323Z] 213ec9aee27d: Retrying in 2 seconds [2023-01-04T23:17:42.699Z] 213ec9aee27d: Retrying in 1 second [2023-01-04T23:17:43.635Z] 213ec9aee27d: Retrying in 10 seconds [2023-01-04T23:17:44.582Z] 213ec9aee27d: Retrying in 9 seconds [2023-01-04T23:17:45.518Z] 213ec9aee27d: Retrying in 8 seconds [2023-01-04T23:17:46.454Z] 213ec9aee27d: Retrying in 7 seconds [2023-01-04T23:17:47.391Z] 213ec9aee27d: Retrying in 6 seconds [2023-01-04T23:17:48.770Z] 213ec9aee27d: Retrying in 5 seconds [2023-01-04T23:17:49.337Z] 213ec9aee27d: Retrying in 4 seconds [2023-01-04T23:17:50.715Z] 213ec9aee27d: Retrying in 3 seconds [2023-01-04T23:17:51.653Z] 213ec9aee27d: Retrying in 2 seconds [2023-01-04T23:17:52.004Z] Still waiting to schedule task [2023-01-04T23:17:52.004Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-04T23:17:52.594Z] 213ec9aee27d: Retrying in 1 second [2023-01-04T23:17:53.533Z] 213ec9aee27d: Verifying Checksum [2023-01-04T23:17:53.533Z] 213ec9aee27d: Download complete [2023-01-04T23:17:53.792Z] 213ec9aee27d: Pull complete [2023-01-04T23:17:53.792Z] 4583459ba037: Pull complete [2023-01-04T23:17:53.792Z] 93c1e223e6f2: Pull complete [2023-01-04T23:17:57.985Z] 53926ce57604: Pull complete [2023-01-04T23:17:57.985Z] 21b2b0c7a3f4: Pull complete [2023-01-04T23:17:57.985Z] 22ff95d597cd: Pull complete [2023-01-04T23:17:57.985Z] 12d6caf4c0d1: Pull complete [2023-01-04T23:17:59.357Z] 96b7cbca73a9: Pull complete [2023-01-04T23:18:00.292Z] a7acece74701: Pull complete [2023-01-04T23:18:00.292Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T23:18:00.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T23:18:00.292Z] ---> db6d94c90886 [2023-01-04T23:18:00.292Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T23:18:05.591Z] ---> Running in 560a3a439550 [2023-01-04T23:18:05.591Z] Removing intermediate container 560a3a439550 [2023-01-04T23:18:05.591Z] ---> 50087ed76057 [2023-01-04T23:18:05.591Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T23:18:05.591Z] ---> Running in 57be4ee8f1c0 [2023-01-04T23:18:05.850Z] Removing intermediate container 57be4ee8f1c0 [2023-01-04T23:18:05.850Z] ---> dac6736022e2 [2023-01-04T23:18:05.850Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T23:18:06.417Z] ---> Running in ff1f836bad9f [2023-01-04T23:18:06.675Z] Removing intermediate container ff1f836bad9f [2023-01-04T23:18:06.675Z] ---> 6efbad5347fc [2023-01-04T23:18:06.675Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T23:18:06.934Z] ---> Running in ac08dfe1a1bf [2023-01-04T23:18:07.194Z] Removing intermediate container ac08dfe1a1bf [2023-01-04T23:18:07.194Z] ---> 28b51212230b [2023-01-04T23:18:07.194Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T23:18:07.194Z] ---> Running in 088f8310767f [2023-01-04T23:18:07.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T23:18:07.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T23:18:08.022Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T23:18:08.022Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T23:18:08.022Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T23:18:08.022Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T23:18:08.022Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T23:18:08.022Z] OK: 216 MiB in 55 packages [2023-01-04T23:18:08.588Z] Removing intermediate container 088f8310767f [2023-01-04T23:18:08.588Z] ---> 419b1bd4dc7e [2023-01-04T23:18:08.588Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T23:18:08.588Z] ---> Running in ec8982defcf6 [2023-01-04T23:18:08.588Z] Removing intermediate container ec8982defcf6 [2023-01-04T23:18:08.588Z] ---> 88f6dc7a7e53 [2023-01-04T23:18:08.588Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T23:18:08.849Z] ---> ab365fb69fbd [2023-01-04T23:18:08.849Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T23:18:08.849Z] ---> Running in 7afcfccbda5b [2023-01-04T23:18:35.408Z] Removing intermediate container 7afcfccbda5b [2023-01-04T23:18:35.408Z] ---> 0ec9da75e514 [2023-01-04T23:18:35.408Z] Step 11/12 : COPY . . [2023-01-04T23:18:35.408Z] ---> a63a914836b7 [2023-01-04T23:18:35.408Z] Step 12/12 : RUN $MAKE [2023-01-04T23:18:35.408Z] ---> Running in a00f596f5301 [2023-01-04T23:18:35.408Z] noop [2023-01-04T23:18:35.408Z] Removing intermediate container a00f596f5301 [2023-01-04T23:18:35.408Z] ---> d7764c896e20 [2023-01-04T23:18:35.408Z] Successfully built d7764c896e20 [2023-01-04T23:18:35.408Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:18:35.715Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T23:18:35.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:18:35.782Z] prd-ubuntu20.04-docker-8c-8g-1146 does not seem to be running inside a container [2023-01-04T23:18:35.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-01-04T23:18:36.158Z] $ docker top 2dfa57e89b727e0448faed88a579de43c3b624cc833c4f42d10d42c469cb091d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T23:18:36.491Z] + go version [2023-01-04T23:18:36.491Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T23:18:36.506Z] $ docker stop --time=1 2dfa57e89b727e0448faed88a579de43c3b624cc833c4f42d10d42c469cb091d [2023-01-04T23:18:37.768Z] $ docker rm -f --volumes 2dfa57e89b727e0448faed88a579de43c3b624cc833c4f42d10d42c469cb091d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:18:38.184Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T23:18:38.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:18:38.263Z] prd-ubuntu20.04-docker-8c-8g-1146 does not seem to be running inside a container [2023-01-04T23:18:38.297Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-01-04T23:18:38.653Z] $ docker top 17f363e8a691cd536f9817fa5ec7de81066ba14c704d16ac50d912c53410df2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T23:18:38.997Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2023-01-04T23:18:39.294Z] + make test [2023-01-04T23:18:39.294Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T23:18:39.552Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T23:18:49.518Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T23:18:49.777Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-01-04T23:18:49.777Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T23:18:57.890Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-04T23:18:57.890Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T23:19:00.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T23:19:00.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T23:19:00.418Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T23:19:00.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T23:19:00.452Z] $ docker stop --time=1 17f363e8a691cd536f9817fa5ec7de81066ba14c704d16ac50d912c53410df2c [2023-01-04T23:19:03.403Z] $ docker rm -f --volumes 17f363e8a691cd536f9817fa5ec7de81066ba14c704d16ac50d912c53410df2c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T23:19:03.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T23:19:03.913Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T23:19:04.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T23:19:04.676Z] + ls -al . [2023-01-04T23:19:04.676Z] total 192 [2023-01-04T23:19:04.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 23:18 . [2023-01-04T23:19:04.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 23:17 .. [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 23:17 .dockerignore [2023-01-04T23:19:04.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 23:18 .git [2023-01-04T23:19:04.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:17 .github [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 23:17 .gitignore [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 23:17 .golangci.yml [2023-01-04T23:19:04.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 23:17 .semver [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 23:17 Attribution.txt [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 23:17 CHANGELOG.md [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 23:17 Dockerfile [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 23:17 GOVERNANCE.md [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 23:17 Jenkinsfile [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 23:17 LICENSE [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 23:17 Makefile [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 23:17 OWNERS.md [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 23:17 README.md [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 23:17 VERSION [2023-01-04T23:19:04.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 23:17 bin [2023-01-04T23:19:04.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:17 cmd [2023-01-04T23:19:04.676Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 23:18 coverage.out [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 23:17 go.mod [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 23:17 go.sum [2023-01-04T23:19:04.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:17 internal [2023-01-04T23:19:04.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 23:17 mock [2023-01-04T23:19:04.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 23:17 snap [2023-01-04T23:19:04.676Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:19:04.976Z] + 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=25d123484711da6b809a8e6f8c35250441539d49 --label arch=amd64 --label version=0.0.0 . [2023-01-04T23:19:04.976Z] Sending build context to Docker daemon 6.299MB [2023-01-04T23:19:04.976Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T23:19:04.976Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T23:19:04.976Z] ---> d7764c896e20 [2023-01-04T23:19:04.976Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T23:19:05.235Z] ---> Running in 84017ef95551 [2023-01-04T23:19:05.799Z] Removing intermediate container 84017ef95551 [2023-01-04T23:19:05.799Z] ---> d034b65a6222 [2023-01-04T23:19:05.799Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T23:19:05.799Z] ---> Running in b1ab0d01f15d [2023-01-04T23:19:06.058Z] Removing intermediate container b1ab0d01f15d [2023-01-04T23:19:06.058Z] ---> b84b63f96379 [2023-01-04T23:19:06.058Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T23:19:06.058Z] ---> Running in 53300435e070 [2023-01-04T23:19:06.315Z] Removing intermediate container 53300435e070 [2023-01-04T23:19:06.315Z] ---> 448640c776f0 [2023-01-04T23:19:06.315Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T23:19:06.574Z] ---> Running in f9ed154ba7bc [2023-01-04T23:19:06.832Z] Removing intermediate container f9ed154ba7bc [2023-01-04T23:19:06.832Z] ---> 3166cc10c7f2 [2023-01-04T23:19:06.832Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T23:19:06.832Z] ---> Running in 11472cc2c0e4 [2023-01-04T23:19:07.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T23:19:07.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T23:19:07.610Z] OK: 216 MiB in 55 packages [2023-01-04T23:19:08.177Z] Removing intermediate container 11472cc2c0e4 [2023-01-04T23:19:08.177Z] ---> e6275a2971e6 [2023-01-04T23:19:08.177Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T23:19:08.177Z] ---> Running in 4d3f49f253b0 [2023-01-04T23:19:08.177Z] Removing intermediate container 4d3f49f253b0 [2023-01-04T23:19:08.177Z] ---> 318d77e0787d [2023-01-04T23:19:08.177Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T23:19:08.177Z] ---> a18e7e69c174 [2023-01-04T23:19:08.177Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T23:19:08.177Z] ---> Running in 740f643058d6 [2023-01-04T23:19:08.744Z] Removing intermediate container 740f643058d6 [2023-01-04T23:19:08.744Z] ---> f25b85552699 [2023-01-04T23:19:08.744Z] Step 11/24 : COPY . . [2023-01-04T23:19:09.330Z] ---> 319f47317e57 [2023-01-04T23:19:09.330Z] Step 12/24 : RUN $MAKE [2023-01-04T23:19:09.330Z] ---> Running in a0888697780f [2023-01-04T23:19:09.587Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-04T23:19:22.338Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1148 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2023-01-04T23:19:22.353Z] Running in /w/workspace/device-mqtt-go/9 [Pipeline] { [Pipeline] checkout [2023-01-04T23:19:22.389Z] Selected Git installation does not exist. Using Default [2023-01-04T23:19:22.389Z] The recommended git tool is: NONE [2023-01-04T23:19:27.697Z] using credential edgex-jenkins-ssh [2023-01-04T23:19:27.712Z] Cloning the remote Git repository [2023-01-04T23:19:27.758Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T23:19:27.833Z] > git init /w/workspace/device-mqtt-go/9 # timeout=10 [2023-01-04T23:19:27.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T23:19:27.977Z] > git --version # timeout=10 [2023-01-04T23:19:27.996Z] > git --version # 'git version 2.25.1' [2023-01-04T23:19:27.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T23:19:28.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T23:19:30.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T23:19:30.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T23:19:31.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T23:19:31.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T23:19:31.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T23:19:31.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T23:19:31.512Z] Removing intermediate container a0888697780f [2023-01-04T23:19:31.512Z] ---> a438dc6fd46f [2023-01-04T23:19:31.512Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T23:19:31.512Z] 3.16: Pulling from library/alpine [2023-01-04T23:19:31.512Z] ca7dd9ec2225: Pulling fs layer [2023-01-04T23:19:31.512Z] ca7dd9ec2225: Verifying Checksum [2023-01-04T23:19:31.512Z] ca7dd9ec2225: Download complete [2023-01-04T23:19:31.512Z] ca7dd9ec2225: Pull complete [2023-01-04T23:19:31.512Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T23:19:31.512Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T23:19:31.512Z] ---> bfe296a52501 [2023-01-04T23:19:31.512Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T23:19:31.512Z] ---> Running in 41be12a1058e [2023-01-04T23:19:31.512Z] Removing intermediate container 41be12a1058e [2023-01-04T23:19:31.512Z] ---> 8ba13cd44fcb [2023-01-04T23:19:31.512Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T23:19:31.512Z] ---> Running in 738d57d81ab2 [2023-01-04T23:19:31.564Z] Merging remotes/origin/main commit fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2023-01-04T23:19:31.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T23:19:31.842Z] Merge succeeded, producing 50d420a57018e78eb1c016c33d80009d72c0a09b [2023-01-04T23:19:31.843Z] Checking out Revision 50d420a57018e78eb1c016c33d80009d72c0a09b (PR-429) [2023-01-04T23:19:32.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T23:19:32.289Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T23:19:32.289Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T23:19:32.289Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T23:19:32.289Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T23:19:32.289Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T23:19:32.289Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T23:19:32.289Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T23:19:32.289Z] OK: 8 MiB in 20 packages [2023-01-04T23:19:31.587Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T23:19:31.622Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2023-01-04T23:19:31.710Z] > git remote # timeout=10 [2023-01-04T23:19:31.730Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T23:19:31.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T23:19:31.762Z] > git merge fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 [2023-01-04T23:19:31.828Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T23:19:31.853Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T23:19:31.876Z] > git checkout -f 50d420a57018e78eb1c016c33d80009d72c0a09b # timeout=10 [2023-01-04T23:19:32.546Z] Removing intermediate container 738d57d81ab2 [2023-01-04T23:19:32.546Z] ---> 07c8d66517cf [2023-01-04T23:19:32.546Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T23:19:33.477Z] ---> ec0fc59a244f [2023-01-04T23:19:33.477Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T23:19:33.477Z] ---> 0e893ff66cf5 [2023-01-04T23:19:33.477Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T23:19:33.477Z] ---> 51703984c0e9 [2023-01-04T23:19:33.477Z] Step 19/24 : EXPOSE 59982 [2023-01-04T23:19:33.477Z] ---> Running in c1516e36c7f1 [2023-01-04T23:19:33.735Z] Removing intermediate container c1516e36c7f1 [2023-01-04T23:19:33.735Z] ---> 0f9b7920642a [2023-01-04T23:19:33.735Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T23:19:33.735Z] ---> Running in aa335260e889 [2023-01-04T23:19:33.735Z] Removing intermediate container aa335260e889 [2023-01-04T23:19:33.735Z] ---> d299b18e60fc [2023-01-04T23:19:33.735Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T23:19:33.735Z] ---> Running in 81ba3168f26b [2023-01-04T23:19:33.735Z] Removing intermediate container 81ba3168f26b [2023-01-04T23:19:33.735Z] ---> bb1dbab766a1 [2023-01-04T23:19:33.735Z] Step 22/24 : LABEL arch=amd64 [2023-01-04T23:19:33.993Z] ---> Running in 8a711d8e1fa4 [2023-01-04T23:19:33.993Z] Removing intermediate container 8a711d8e1fa4 [2023-01-04T23:19:33.993Z] ---> 63cc3ba105ba [2023-01-04T23:19:33.993Z] Step 23/24 : LABEL git_sha=25d123484711da6b809a8e6f8c35250441539d49 [2023-01-04T23:19:33.993Z] ---> Running in 149fc31393a3 [2023-01-04T23:19:33.993Z] Removing intermediate container 149fc31393a3 [2023-01-04T23:19:33.993Z] ---> 901bb9ddfd54 [2023-01-04T23:19:33.993Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T23:19:33.993Z] ---> Running in 92497cdcb88f [2023-01-04T23:19:33.993Z] Removing intermediate container 92497cdcb88f [2023-01-04T23:19:33.993Z] ---> fba1bbdc8543 [2023-01-04T23:19:33.993Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T23:19:34.252Z] Successfully built fba1bbdc8543 [2023-01-04T23:19:34.252Z] 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-01-04T23:19:34.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T23:19:34.681Z] [2023-01-04T23:19:34.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:19:34.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T23:19:34.983Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T23:19:34.983Z] 5eb5b503b376: Pulling fs layer [2023-01-04T23:19:34.983Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T23:19:34.983Z] ec43610c2a17: Pulling fs layer [2023-01-04T23:19:34.983Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T23:19:34.983Z] 33b1e0a273af: Pulling fs layer [2023-01-04T23:19:34.983Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T23:19:34.983Z] 2f39f015ded8: Pulling fs layer [2023-01-04T23:19:34.983Z] 3a2ae6a8a46f: Waiting [2023-01-04T23:19:34.983Z] 33b1e0a273af: Waiting [2023-01-04T23:19:34.983Z] 5d3b04190fa2: Waiting [2023-01-04T23:19:34.983Z] 2f39f015ded8: Waiting [2023-01-04T23:19:34.983Z] 5c69ac0246d0: Verifying Checksum [2023-01-04T23:19:34.983Z] 5c69ac0246d0: Download complete [2023-01-04T23:19:34.983Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-04T23:19:34.983Z] 3a2ae6a8a46f: Download complete [2023-01-04T23:19:34.983Z] 33b1e0a273af: Verifying Checksum [2023-01-04T23:19:34.983Z] 33b1e0a273af: Download complete [2023-01-04T23:19:35.242Z] 5d3b04190fa2: Verifying Checksum [2023-01-04T23:19:35.242Z] 5d3b04190fa2: Download complete [2023-01-04T23:19:35.242Z] ec43610c2a17: Verifying Checksum [2023-01-04T23:19:35.242Z] ec43610c2a17: Download complete [2023-01-04T23:19:35.242Z] 5eb5b503b376: Verifying Checksum [2023-01-04T23:19:35.242Z] 5eb5b503b376: Download complete [2023-01-04T23:19:35.369Z] Commit message: "Merge commit 'fe528491bba3fee0f8df2cff68391009d47da719' into HEAD" [2023-01-04T23:19:35.394Z] First time build. Skipping changelog. [2023-01-04T23:19:35.381Z] > git rev-list --no-walk ac607ba2d2ce4533e4c815ca46cb8d423e907da4 # timeout=10 [2023-01-04T23:19:35.684Z] [2023-01-04T23:19:35.684Z] GitHub has been notified of this commit’s build result [2023-01-04T23:19:35.684Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T23:19:35.810Z] 2f39f015ded8: Download complete [2023-01-04T23:19:36.194Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T23:19:36.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T23:19:36.194Z] Dload Upload Total Spent Left Speed [2023-01-04T23:19:36.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [2023-01-04T23:19:36.381Z] 5eb5b503b376: Pull complete [Pipeline] sh [2023-01-04T23:19:36.638Z] 5c69ac0246d0: Pull complete [2023-01-04T23:19:36.895Z] ec43610c2a17: Pull complete [2023-01-04T23:19:36.895Z] 3a2ae6a8a46f: Pull complete [2023-01-04T23:19:36.948Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T23:19:37.153Z] 33b1e0a273af: Pull complete [2023-01-04T23:19:37.153Z] 5d3b04190fa2: Pull complete [2023-01-04T23:19:37.282Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T23:19:37.282Z] + sudo tee /etc/docker/daemon.new [2023-01-04T23:19:37.282Z] { [2023-01-04T23:19:37.282Z] "registry-mirrors": [ [2023-01-04T23:19:37.282Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T23:19:37.282Z] ], [2023-01-04T23:19:37.282Z] "bip": "10.250.0.254/24", [2023-01-04T23:19:37.282Z] "hosts": [ [2023-01-04T23:19:37.282Z] "tcp://0.0.0.0:5555", [2023-01-04T23:19:37.282Z] "unix:///var/run/docker.sock" [2023-01-04T23:19:37.282Z] ], [2023-01-04T23:19:37.282Z] "mtu": 1458, [2023-01-04T23:19:37.282Z] "selinux-enabled": true, [2023-01-04T23:19:37.282Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T23:19:37.282Z] } [Pipeline] sh [2023-01-04T23:19:37.606Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T23:19:37.940Z] + sudo service docker restart [2023-01-04T23:19:41.331Z] 2f39f015ded8: Pull complete [2023-01-04T23:19:41.331Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T23:19:41.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T23:19:41.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:19:41.422Z] prd-ubuntu20.04-docker-8c-8g-1146 does not seem to be running inside a container [2023-01-04T23:19:41.455Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-01-04T23:19:43.843Z] $ docker top ca85860395d632b88e3add7b90be3f4cd8cab3c8e93ecdab3c47a2f3649e3bcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:19:44.230Z] ---> job-cost.sh [2023-01-04T23:19:44.230Z] lf-activate-venv: SKIPPING [2023-01-04T23:19:44.230Z] INFO: No Stack... [2023-01-04T23:19:44.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T23:19:45.054Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T23:19:45.341Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2023-01-04T23:19:45.342Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T23:19:45.359Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [2023-01-04T23:19:45.366Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] did not exist. Created. [2023-01-04T23:19:45.366Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T23:19:45.669Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T23:19:45.698Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T23:19:45.706Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T23:19:45.727Z] $ docker stop --time=1 ca85860395d632b88e3add7b90be3f4cd8cab3c8e93ecdab3c47a2f3649e3bcb [2023-01-04T23:19:46.899Z] $ docker rm -f --volumes ca85860395d632b88e3add7b90be3f4cd8cab3c8e93ecdab3c47a2f3649e3bcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T23:19:56.209Z] provisioning config files... [2023-01-04T23:19:56.234Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/9@tmp/config14257536495331748607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:19:56.578Z] ---> docker-login.sh [2023-01-04T23:19:56.579Z] nexus3.edgexfoundry.org:10001 [2023-01-04T23:19:56.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:19:57.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:19:57.117Z] Configure a credential helper to remove this warning. See [2023-01-04T23:19:57.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:19:57.117Z] [2023-01-04T23:19:57.117Z] Login Succeeded [2023-01-04T23:19:57.117Z] nexus3.edgexfoundry.org:10002 [2023-01-04T23:19:57.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:19:57.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:19:57.387Z] Configure a credential helper to remove this warning. See [2023-01-04T23:19:57.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:19:57.387Z] [2023-01-04T23:19:57.387Z] Login Succeeded [2023-01-04T23:19:57.387Z] nexus3.edgexfoundry.org:10003 [2023-01-04T23:19:57.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:19:57.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:19:57.926Z] Configure a credential helper to remove this warning. See [2023-01-04T23:19:57.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:19:57.926Z] [2023-01-04T23:19:57.926Z] Login Succeeded [2023-01-04T23:19:57.926Z] nexus3.edgexfoundry.org:10004 [2023-01-04T23:19:58.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:19:58.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:19:58.194Z] Configure a credential helper to remove this warning. See [2023-01-04T23:19:58.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:19:58.195Z] [2023-01-04T23:19:58.195Z] Login Succeeded [2023-01-04T23:19:58.195Z] docker.io [2023-01-04T23:19:58.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T23:19:58.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T23:19:58.730Z] Configure a credential helper to remove this warning. See [2023-01-04T23:19:58.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T23:19:58.730Z] [2023-01-04T23:19:58.730Z] Login Succeeded [2023-01-04T23:19:58.730Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T23:19:58.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T23:19:58.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T23:19:59.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T23:19:59.018Z] ========================================================= [2023-01-04T23:19:59.018Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T23:19:59.018Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:19:59.365Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-04T23:19:59.633Z] Sending build context to Docker daemon 3.259MB [2023-01-04T23:19:59.633Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T23:19:59.633Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T23:19:59.905Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T23:19:59.905Z] 9b18e9b68314: Pulling fs layer [2023-01-04T23:19:59.905Z] 35d82f9e3411: Pulling fs layer [2023-01-04T23:19:59.905Z] e16973657156: Pulling fs layer [2023-01-04T23:19:59.905Z] fc693d55d65f: Pulling fs layer [2023-01-04T23:19:59.905Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T23:19:59.905Z] dda99020689f: Pulling fs layer [2023-01-04T23:19:59.905Z] db1c61fa0a46: Pulling fs layer [2023-01-04T23:19:59.905Z] 891c053d2c06: Pulling fs layer [2023-01-04T23:19:59.905Z] dda99020689f: Waiting [2023-01-04T23:19:59.905Z] db1c61fa0a46: Waiting [2023-01-04T23:19:59.905Z] 891c053d2c06: Waiting [2023-01-04T23:19:59.905Z] fc693d55d65f: Waiting [2023-01-04T23:19:59.905Z] 7e9fc2657dce: Waiting [2023-01-04T23:19:59.905Z] e16973657156: Verifying Checksum [2023-01-04T23:19:59.905Z] e16973657156: Download complete [2023-01-04T23:19:59.905Z] 35d82f9e3411: Verifying Checksum [2023-01-04T23:19:59.905Z] 35d82f9e3411: Download complete [2023-01-04T23:19:59.905Z] 7e9fc2657dce: Verifying Checksum [2023-01-04T23:19:59.905Z] 7e9fc2657dce: Download complete [2023-01-04T23:19:59.905Z] dda99020689f: Verifying Checksum [2023-01-04T23:19:59.905Z] dda99020689f: Download complete [2023-01-04T23:19:59.905Z] 9b18e9b68314: Verifying Checksum [2023-01-04T23:20:00.873Z] 9b18e9b68314: Pull complete [2023-01-04T23:20:01.159Z] 891c053d2c06: Verifying Checksum [2023-01-04T23:20:01.159Z] 891c053d2c06: Download complete [2023-01-04T23:20:01.435Z] 35d82f9e3411: Pull complete [2023-01-04T23:20:01.705Z] e16973657156: Pull complete [2023-01-04T23:20:02.292Z] db1c61fa0a46: Verifying Checksum [2023-01-04T23:20:02.292Z] db1c61fa0a46: Download complete [2023-01-04T23:20:02.880Z] fc693d55d65f: Verifying Checksum [2023-01-04T23:20:02.880Z] fc693d55d65f: Download complete [2023-01-04T23:20:15.208Z] fc693d55d65f: Pull complete [2023-01-04T23:20:15.208Z] 7e9fc2657dce: Pull complete [2023-01-04T23:20:15.208Z] dda99020689f: Pull complete [2023-01-04T23:20:20.569Z] db1c61fa0a46: Pull complete [2023-01-04T23:20:22.520Z] 891c053d2c06: Pull complete [2023-01-04T23:20:22.520Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T23:20:22.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T23:20:22.520Z] ---> f96f9c87975a [2023-01-04T23:20:22.520Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T23:20:24.465Z] ---> Running in fb675eb4456e [2023-01-04T23:20:24.465Z] Removing intermediate container fb675eb4456e [2023-01-04T23:20:24.465Z] ---> 4959aec0e69c [2023-01-04T23:20:24.466Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T23:20:24.466Z] ---> Running in 208ca16dda84 [2023-01-04T23:20:24.732Z] Removing intermediate container 208ca16dda84 [2023-01-04T23:20:24.732Z] ---> 3ac033502dd8 [2023-01-04T23:20:24.732Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T23:20:25.000Z] ---> Running in 8ef7a5882fa3 [2023-01-04T23:20:25.268Z] Removing intermediate container 8ef7a5882fa3 [2023-01-04T23:20:25.268Z] ---> 5586375f5991 [2023-01-04T23:20:25.268Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T23:20:25.268Z] ---> Running in 50138fb40365 [2023-01-04T23:20:25.536Z] Removing intermediate container 50138fb40365 [2023-01-04T23:20:25.536Z] ---> 7a02c23ff1f1 [2023-01-04T23:20:25.536Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T23:20:25.536Z] ---> Running in 2ed5d93fbe2f [2023-01-04T23:20:26.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T23:20:26.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T23:20:27.900Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T23:20:27.900Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T23:20:27.900Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T23:20:28.170Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T23:20:28.170Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T23:20:28.170Z] OK: 226 MiB in 55 packages [2023-01-04T23:20:29.143Z] Removing intermediate container 2ed5d93fbe2f [2023-01-04T23:20:29.143Z] ---> 417a55a3b14c [2023-01-04T23:20:29.143Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T23:20:29.143Z] ---> Running in fb2ac626155b [2023-01-04T23:20:29.411Z] Removing intermediate container fb2ac626155b [2023-01-04T23:20:29.411Z] ---> 6a528e7422b3 [2023-01-04T23:20:29.411Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T23:20:29.997Z] ---> d512446e7456 [2023-01-04T23:20:29.997Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T23:20:29.997Z] ---> Running in 18c78e7c3b8d [2023-01-04T23:21:26.401Z] Removing intermediate container 18c78e7c3b8d [2023-01-04T23:21:26.401Z] ---> cb254cb1ee59 [2023-01-04T23:21:26.401Z] Step 11/12 : COPY . . [2023-01-04T23:21:26.401Z] ---> 5a5737b1f600 [2023-01-04T23:21:26.401Z] Step 12/12 : RUN $MAKE [2023-01-04T23:21:26.401Z] ---> Running in 75a9ee651b3b [2023-01-04T23:21:26.401Z] noop [2023-01-04T23:21:26.401Z] Removing intermediate container 75a9ee651b3b [2023-01-04T23:21:26.401Z] ---> f9c11e61adb5 [2023-01-04T23:21:26.401Z] Successfully built f9c11e61adb5 [2023-01-04T23:21:26.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:21:26.753Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T23:21:26.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:21:26.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2023-01-04T23:21:27.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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-arm64 cat [2023-01-04T23:21:28.214Z] $ docker top 701ffef5a3d7dc5947e4a21cf8fd9b3e7b180d93d1cfbc95f02decc2ce362c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T23:21:29.050Z] + go version [2023-01-04T23:21:29.050Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T23:21:29.071Z] $ docker stop --time=1 701ffef5a3d7dc5947e4a21cf8fd9b3e7b180d93d1cfbc95f02decc2ce362c0a [2023-01-04T23:21:30.710Z] $ docker rm -f --volumes 701ffef5a3d7dc5947e4a21cf8fd9b3e7b180d93d1cfbc95f02decc2ce362c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:21:31.299Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T23:21:31.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:21:31.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2023-01-04T23:21:31.570Z] $ 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/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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-arm64 cat [2023-01-04T23:21:32.790Z] $ docker top d1418307825a1d94f65a78067b02c77fe765f89007d5952caf749ba224578226 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T23:21:33.634Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/9 [Pipeline] fileExists [Pipeline] sh [2023-01-04T23:21:33.972Z] + make test [2023-01-04T23:21:34.242Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T23:21:35.654Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T23:22:57.342Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T23:22:57.342Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 21.8% of statements [2023-01-04T23:22:57.342Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T23:22:57.342Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T23:22:57.342Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T23:23:15.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T23:23:15.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T23:23:15.569Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T23:23:15.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T23:23:15.605Z] $ docker stop --time=1 d1418307825a1d94f65a78067b02c77fe765f89007d5952caf749ba224578226 [2023-01-04T23:23:17.278Z] $ docker rm -f --volumes d1418307825a1d94f65a78067b02c77fe765f89007d5952caf749ba224578226 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T23:23:18.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T23:23:18.187Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T23:23:18.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T23:23:18.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T23:23:19.309Z] + ls -al . [2023-01-04T23:23:19.309Z] total 188 [2023-01-04T23:23:19.309Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 23:21 . [2023-01-04T23:23:19.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 23:19 .. [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 23:19 .dockerignore [2023-01-04T23:23:19.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 23:19 .git [2023-01-04T23:23:19.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:19 .github [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 23:19 .gitignore [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 23:19 .golangci.yml [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 23:19 Attribution.txt [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 23:19 CHANGELOG.md [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 23:19 Dockerfile [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 23:19 GOVERNANCE.md [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 23:19 Jenkinsfile [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 23:19 LICENSE [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 23:19 Makefile [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 23:19 OWNERS.md [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 23:19 README.md [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 23:17 VERSION [2023-01-04T23:23:19.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 23:19 bin [2023-01-04T23:23:19.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:19 cmd [2023-01-04T23:23:19.309Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 23:22 coverage.out [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 23:19 go.mod [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 23:19 go.sum [2023-01-04T23:23:19.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 23:19 internal [2023-01-04T23:23:19.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 23:19 mock [2023-01-04T23:23:19.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 23:19 snap [2023-01-04T23:23:19.309Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:23:19.654Z] + 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=50d420a57018e78eb1c016c33d80009d72c0a09b --label arch=arm64 --label version=0.0.0 . [2023-01-04T23:23:19.920Z] Sending build context to Docker daemon 3.278MB [2023-01-04T23:23:19.920Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T23:23:19.920Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T23:23:19.920Z] ---> f9c11e61adb5 [2023-01-04T23:23:19.920Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T23:23:20.189Z] ---> Running in 3dc7424f478a [2023-01-04T23:23:20.456Z] Removing intermediate container 3dc7424f478a [2023-01-04T23:23:20.456Z] ---> 75877d007586 [2023-01-04T23:23:20.456Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T23:23:20.456Z] ---> Running in 1c060aa82352 [2023-01-04T23:23:20.725Z] Removing intermediate container 1c060aa82352 [2023-01-04T23:23:20.725Z] ---> 3faee41eb30b [2023-01-04T23:23:20.725Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T23:23:20.725Z] ---> Running in 00a8aeb507e7 [2023-01-04T23:23:20.994Z] Removing intermediate container 00a8aeb507e7 [2023-01-04T23:23:20.994Z] ---> f6fbc964fcad [2023-01-04T23:23:20.994Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T23:23:21.263Z] ---> Running in 9973e470f13a [2023-01-04T23:23:21.532Z] Removing intermediate container 9973e470f13a [2023-01-04T23:23:21.533Z] ---> a9f9575fbd68 [2023-01-04T23:23:21.533Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T23:23:21.533Z] ---> Running in 691690b6d249 [2023-01-04T23:23:22.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T23:23:22.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T23:23:23.725Z] OK: 226 MiB in 55 packages [2023-01-04T23:23:24.316Z] Removing intermediate container 691690b6d249 [2023-01-04T23:23:24.316Z] ---> 80b7db9fcd6a [2023-01-04T23:23:24.316Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T23:23:24.316Z] ---> Running in ee2ab7d7deff [2023-01-04T23:23:24.899Z] Removing intermediate container ee2ab7d7deff [2023-01-04T23:23:24.899Z] ---> 9801557d5f07 [2023-01-04T23:23:24.899Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T23:23:25.178Z] ---> 9c4610a8fe53 [2023-01-04T23:23:25.178Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T23:23:25.178Z] ---> Running in 83db2314dc37 [2023-01-04T23:23:27.135Z] Removing intermediate container 83db2314dc37 [2023-01-04T23:23:27.135Z] ---> 7b912956a95c [2023-01-04T23:23:27.135Z] Step 11/24 : COPY . . [2023-01-04T23:23:28.094Z] ---> 2a5b3c74cec9 [2023-01-04T23:23:28.094Z] Step 12/24 : RUN $MAKE [2023-01-04T23:23:28.094Z] ---> Running in e7786fec615a [2023-01-04T23:23:29.051Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-04T23:26:06.048Z] Removing intermediate container e7786fec615a [2023-01-04T23:26:06.048Z] ---> 8541386bfb30 [2023-01-04T23:26:06.048Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T23:26:06.048Z] 3.16: Pulling from library/alpine [2023-01-04T23:26:06.048Z] 6875df1f5354: Pulling fs layer [2023-01-04T23:26:06.048Z] 6875df1f5354: Verifying Checksum [2023-01-04T23:26:06.048Z] 6875df1f5354: Download complete [2023-01-04T23:26:06.048Z] 6875df1f5354: Pull complete [2023-01-04T23:26:06.048Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T23:26:06.048Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T23:26:06.048Z] ---> 2b4661558fb8 [2023-01-04T23:26:06.048Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T23:26:06.048Z] ---> Running in d0d1088f4f1a [2023-01-04T23:26:06.048Z] Removing intermediate container d0d1088f4f1a [2023-01-04T23:26:06.048Z] ---> aec7fbced91b [2023-01-04T23:26:06.048Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T23:26:06.048Z] ---> Running in 8b763484a49f [2023-01-04T23:26:06.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T23:26:06.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T23:26:06.048Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T23:26:06.048Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T23:26:06.048Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T23:26:06.048Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T23:26:06.048Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T23:26:06.048Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T23:26:06.048Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T23:26:06.048Z] OK: 8 MiB in 20 packages [2023-01-04T23:26:06.049Z] Removing intermediate container 8b763484a49f [2023-01-04T23:26:06.049Z] ---> 75ad789d2531 [2023-01-04T23:26:06.049Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T23:26:06.049Z] ---> 4988165c349a [2023-01-04T23:26:06.049Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T23:26:06.049Z] ---> 4c1cd842078c [2023-01-04T23:26:06.049Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T23:26:06.049Z] ---> 14f44a5607c9 [2023-01-04T23:26:06.049Z] Step 19/24 : EXPOSE 59982 [2023-01-04T23:26:06.049Z] ---> Running in d739c19abaa9 [2023-01-04T23:26:06.049Z] Removing intermediate container d739c19abaa9 [2023-01-04T23:26:06.049Z] ---> 83d5e0880cb1 [2023-01-04T23:26:06.049Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T23:26:06.049Z] ---> Running in a20a0914fbdc [2023-01-04T23:26:06.049Z] Removing intermediate container a20a0914fbdc [2023-01-04T23:26:06.049Z] ---> 65434c50706a [2023-01-04T23:26:06.049Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T23:26:06.049Z] ---> Running in e5918b39ee5f [2023-01-04T23:26:06.049Z] Removing intermediate container e5918b39ee5f [2023-01-04T23:26:06.049Z] ---> e751f6b14787 [2023-01-04T23:26:06.049Z] Step 22/24 : LABEL arch=arm64 [2023-01-04T23:26:06.049Z] ---> Running in 07e90e5583ca [2023-01-04T23:26:06.049Z] Removing intermediate container 07e90e5583ca [2023-01-04T23:26:06.049Z] ---> 8b7c733fa49a [2023-01-04T23:26:06.049Z] Step 23/24 : LABEL git_sha=50d420a57018e78eb1c016c33d80009d72c0a09b [2023-01-04T23:26:06.049Z] ---> Running in 983eb24a1b85 [2023-01-04T23:26:06.049Z] Removing intermediate container 983eb24a1b85 [2023-01-04T23:26:06.049Z] ---> 6867f3dd3c30 [2023-01-04T23:26:06.049Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T23:26:06.049Z] ---> Running in e856b1702253 [2023-01-04T23:26:06.049Z] Removing intermediate container e856b1702253 [2023-01-04T23:26:06.049Z] ---> e109916ec097 [2023-01-04T23:26:06.049Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T23:26:06.049Z] Successfully built e109916ec097 [2023-01-04T23:26:06.049Z] 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-01-04T23:26:06.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T23:26:06.485Z] [2023-01-04T23:26:06.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:26:06.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T23:26:06.813Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T23:26:06.813Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T23:26:06.813Z] 04944245beec: Pulling fs layer [2023-01-04T23:26:06.813Z] 699f458cf7ca: Pulling fs layer [2023-01-04T23:26:06.813Z] 765212b225bb: Pulling fs layer [2023-01-04T23:26:06.813Z] f23df028b6ca: Pulling fs layer [2023-01-04T23:26:06.813Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T23:26:06.813Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T23:26:06.813Z] 765212b225bb: Waiting [2023-01-04T23:26:06.813Z] f23df028b6ca: Waiting [2023-01-04T23:26:06.813Z] d65c8cfc05b1: Waiting [2023-01-04T23:26:06.813Z] 2437ff75d9bd: Waiting [2023-01-04T23:26:07.080Z] 04944245beec: Verifying Checksum [2023-01-04T23:26:07.080Z] 04944245beec: Download complete [2023-01-04T23:26:07.080Z] 765212b225bb: Verifying Checksum [2023-01-04T23:26:07.080Z] 765212b225bb: Download complete [2023-01-04T23:26:07.080Z] f23df028b6ca: Download complete [2023-01-04T23:26:07.080Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T23:26:07.080Z] d65c8cfc05b1: Download complete [2023-01-04T23:26:07.080Z] 699f458cf7ca: Verifying Checksum [2023-01-04T23:26:07.080Z] 699f458cf7ca: Download complete [2023-01-04T23:26:07.662Z] 8998bd30e6a1: Verifying Checksum [2023-01-04T23:26:07.662Z] 8998bd30e6a1: Download complete [2023-01-04T23:26:09.606Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T23:26:09.606Z] 2437ff75d9bd: Download complete [2023-01-04T23:26:11.026Z] 8998bd30e6a1: Pull complete [2023-01-04T23:26:11.606Z] 04944245beec: Pull complete [2023-01-04T23:26:12.566Z] 699f458cf7ca: Pull complete [2023-01-04T23:26:14.498Z] 765212b225bb: Pull complete [2023-01-04T23:26:14.764Z] f23df028b6ca: Pull complete [2023-01-04T23:26:15.033Z] d65c8cfc05b1: Pull complete [2023-01-04T23:26:30.035Z] 2437ff75d9bd: Pull complete [2023-01-04T23:26:30.035Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T23:26:30.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T23:26:30.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:26:30.216Z] prd-ubuntu20.04-docker-arm64-4c-16g-1148 does not seem to be running inside a container [2023-01-04T23:26:30.276Z] $ 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/9 -v /w/workspace/device-mqtt-go/9:/w/workspace/device-mqtt-go/9:rw,z -v /w/workspace/device-mqtt-go/9@tmp:/w/workspace/device-mqtt-go/9@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:arm64 cat [2023-01-04T23:26:32.804Z] $ docker top 668de85c48616058962c55905fa757c05d2917ec687fdd95e35e789491aa59da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:33.642Z] ---> job-cost.sh [2023-01-04T23:26:33.642Z] lf-activate-venv: SKIPPING [2023-01-04T23:26:33.642Z] INFO: No Stack... [2023-01-04T23:26:33.907Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T23:26:34.875Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T23:26:35.190Z] + cat /w/workspace/device-mqtt-go/9/archives/cost.csv [2023-01-04T23:26:35.190Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T23:26:35.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [2023-01-04T23:26:35.226Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] did not exist. Created. [2023-01-04T23:26:35.227Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T23:26:35.555Z] /w/workspace/device-mqtt-go/9@tmp/durable-70cd5367/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T23:26:35.889Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T23:26:35.913Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T23:26:35.955Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T23:26:35.964Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T23:26:35.983Z] $ docker stop --time=1 668de85c48616058962c55905fa757c05d2917ec687fdd95e35e789491aa59da [2023-01-04T23:26:37.414Z] $ docker rm -f --volumes 668de85c48616058962c55905fa757c05d2917ec687fdd95e35e789491aa59da [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-01-04T23:26:37.790Z] provisioning config files... [2023-01-04T23:26:37.795Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config10335208972321679189tmp [Pipeline] { [Pipeline] sh [2023-01-04T23:26:38.081Z] + set +x [2023-01-04T23:26:38.081Z] + curl -s https://codecov.io/bash [2023-01-04T23:26:38.081Z] + bash -s -- [2023-01-04T23:26:38.081Z] [2023-01-04T23:26:38.081Z] _____ _ [2023-01-04T23:26:38.081Z] / ____| | | [2023-01-04T23:26:38.081Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T23:26:38.081Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T23:26:38.081Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T23:26:38.081Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T23:26:38.081Z] Bash-1.0.6 [2023-01-04T23:26:38.081Z] [2023-01-04T23:26:38.081Z] [2023-01-04T23:26:38.081Z] ==> git version 2.25.1 found [2023-01-04T23:26:38.081Z] ==> 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-01-04T23:26:38.081Z] Release-Date: 2020-01-08 [2023-01-04T23:26:38.081Z] 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-01-04T23:26:38.081Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T23:26:38.081Z] ==> Jenkins CI detected. [2023-01-04T23:26:38.081Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2023-01-04T23:26:38.081Z] project root: . [2023-01-04T23:26:38.081Z] --> token set from env [2023-01-04T23:26:38.081Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T23:26:38.081Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T23:26:38.081Z] ==> Python coveragepy not found [2023-01-04T23:26:38.081Z] ==> Searching for coverage reports in: [2023-01-04T23:26:38.081Z] + . [2023-01-04T23:26:38.081Z] -> Found 1 reports [2023-01-04T23:26:38.081Z] ==> Detecting git/mercurial file structure [2023-01-04T23:26:38.081Z] ==> Reading reports [2023-01-04T23:26:38.081Z] + ./coverage.out bytes=17887 [2023-01-04T23:26:38.340Z] ==> Appending adjustments [2023-01-04T23:26:38.340Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T23:26:38.340Z] + Found adjustments [2023-01-04T23:26:38.340Z] ==> Gzipping contents [2023-01-04T23:26:38.340Z] 4.0K /tmp/codecov.MzpQCo.gz [2023-01-04T23:26:38.340Z] ==> Uploading reports [2023-01-04T23:26:38.340Z] url: https://codecov.io [2023-01-04T23:26:38.340Z] query: branch=PR-429&commit=25d123484711da6b809a8e6f8c35250441539d49&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-01-04T23:26:38.340Z] -> Pinging Codecov [2023-01-04T23:26:38.340Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=25d123484711da6b809a8e6f8c35250441539d49&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-01-04T23:26:38.606Z] -> Uploading to [2023-01-04T23:26:38.606Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/7D719EC7BBE17E464838252E33014C33/25d123484711da6b809a8e6f8c35250441539d49/04cec4d2-ae5e-44fc-a243-66f037190b4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T232638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1ca44fafd9a22e4be6050efce18c6ea6d641f45189a4386466ed31d37d0785 [2023-01-04T23:26:38.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T23:26:38.606Z] Dload Upload Total Spent Left Speed [2023-01-04T23:26:38.865Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 14515 --:--:-- --:--:-- --:--:-- 14450 100 3208 0 0 100 3208 0 12679 --:--:-- --:--:-- --:--:-- 12629 [2023-01-04T23:26:38.865Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/25d123484711da6b809a8e6f8c35250441539d49 [Pipeline] } [2023-01-04T23:26:38.872Z] 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-01-04T23:26:39.552Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2023-01-04T23:26:39.552Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-04T23:26:39.552Z] total 16 [2023-01-04T23:26:39.553Z] drwxr-xr-x 3 root root 4096 Jan 4 23:19 . [2023-01-04T23:26:39.553Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 23:19 .. [2023-01-04T23:26:39.553Z] drwxr-xr-x 2 root root 4096 Jan 4 23:19 cost [2023-01-04T23:26:39.553Z] -rw-r--r-- 1 root root 86 Jan 4 23:19 cost.csv [2023-01-04T23:26:39.553Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-04T23:26:39.553Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-04T23:26:39.553Z] total 16 [2023-01-04T23:26:39.553Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 23:19 . [2023-01-04T23:26:39.553Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 23:19 .. [2023-01-04T23:26:39.553Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 23:19 cost [2023-01-04T23:26:39.553Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 4 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:39.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:40.707Z] ---> package-listing.sh [2023-01-04T23:26:40.707Z] ++ facter osfamily [2023-01-04T23:26:40.707Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T23:26:40.966Z] + OS_FAMILY=debian [2023-01-04T23:26:40.966Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2023-01-04T23:26:40.966Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T23:26:40.966Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T23:26:40.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T23:26:40.966Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T23:26:40.966Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2023-01-04T23:26:40.966Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T23:26:40.966Z] + case "${OS_FAMILY}" in [2023-01-04T23:26:40.966Z] + dpkg -l [2023-01-04T23:26:40.966Z] + grep '^ii' [2023-01-04T23:26:40.966Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T23:26:40.966Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T23:26:40.966Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T23:26:40.966Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2023-01-04T23:26:40.966Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2023-01-04T23:26:40.966Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo [2023-01-04T23:26:40.977Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T23:26:41.256Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T23:26:41.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T23:26:41.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T23:26:41.877Z] prd-ubuntu20.04-docker-8c-8g-1146 does not seem to be running inside a container [2023-01-04T23:26:41.910Z] $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-01-04T23:26:42.111Z] $ docker top 12804237e998e86726aff7bd34b2fb9e17d7d78670c39a82fbd896c57a8d9958 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T23:26:42.475Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T23:26:42.761Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T23:26:43.046Z] + ls /var/log/sa-host [2023-01-04T23:26:43.046Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T23:26:43.192Z] provisioning config files... [2023-01-04T23:26:43.202Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config6065116353604852427tmp [Pipeline] { [Pipeline] echo [2023-01-04T23:26:43.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:43.502Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T23:26:43.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:43.837Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T23:26:43.845Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:44.132Z] ---> sudo-logs.sh [2023-01-04T23:26:44.132Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T23:26:44.159Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:44.442Z] ---> job-cost.sh [2023-01-04T23:26:44.442Z] lf-activate-venv: SKIPPING [2023-01-04T23:26:44.442Z] DEBUG: total: 0.2199999988079071 [2023-01-04T23:26:44.442Z] INFO: Retrieving Stack Cost... [2023-01-04T23:26:44.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T23:26:45.270Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T23:26:45.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T23:26:45.567Z] ---> logs-deploy.sh [2023-01-04T23:26:45.568Z] lf-activate-venv: SKIPPING [2023-01-04T23:26:45.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/9 [2023-01-04T23:26:45.568Z] INFO: archiving workspace using pattern(s): [2023-01-04T23:26:46.505Z] Archives upload complete. [2023-01-04T23:26:46.505Z] INFO: archiving logs to Nexus