Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 1ae20365080d91ee65f801e150a6fed247e9201d rather than de52f11cb84c943c1ee8d7598cf261f4a4be872a Obtained Jenkinsfile from 1ae20365080d91ee65f801e150a6fed247e9201d 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-ssh9561289662892532575.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6397191385748768752.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5704744996717975261.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3233816206317807468.key Verifying host key using known hosts file > 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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1375668265774402168.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7572 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing 8eb3a6dcde3bd54e47a29f6a529860d2e895186b Checking out Revision 8eb3a6dcde3bd54e47a29f6a529860d2e895186b (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8eb3a6dcde3bd54e47a29f6a529860d2e895186b # timeout=10 Commit message: "Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD" > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T19:18:45.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T19:18:46.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T19:18:46.038Z] ========================================================= [2022-10-10T19:18:46.038Z] EdgeX Global Pipelines Version Info [2022-10-10T19:18:46.038Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:18:47.128Z] ------------------- [2022-10-10T19:18:47.128Z] stable info: [2022-10-10T19:18:47.128Z] ------------------- [2022-10-10T19:18:47.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T19:18:47.128Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:18:47.128Z] Message: update stable to v1.0.239 [2022-10-10T19:18:47.388Z] ------------------- [2022-10-10T19:18:47.388Z] experimental info: [2022-10-10T19:18:47.388Z] ------------------- [2022-10-10T19:18:47.388Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T19:18:47.388Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T19:18:47.388Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T19:18:47.548Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T19:18:47.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T19:18:47.573Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T19:18:47.587Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T19:18:47.597Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T19:18:47.608Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T19:18:47.620Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T19:18:47.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T19:18:47.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T19:18:47.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T19:18:47.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T19:18:47.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T19:18:47.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T19:18:47.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T19:18:47.716Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T19:18:47.726Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T19:18:47.739Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T19:18:47.751Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T19:18:47.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T19:18:47.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T19:18:47.789Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T19:18:47.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T19:18:47.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T19:18:47.830Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T19:18:47.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T19:18:47.857Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T19:18:47.868Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T19:18:47.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-10T19:18:47.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-10T19:18:47.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-10T19:18:47.916Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo [2022-10-10T19:18:47.928Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8eb3a6d [Pipeline] echo [2022-10-10T19:18:47.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:18:47.976Z] provisioning config files... [2022-10-10T19:18:47.991Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8108437756324526069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:18:48.295Z] ---> docker-login.sh [2022-10-10T19:18:48.295Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:18:48.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:18:48.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:18:48.814Z] Configure a credential helper to remove this warning. See [2022-10-10T19:18:48.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:18:48.814Z] [2022-10-10T19:18:48.814Z] Login Succeeded [2022-10-10T19:18:48.814Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:18:48.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:18:48.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:18:48.814Z] Configure a credential helper to remove this warning. See [2022-10-10T19:18:48.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:18:48.814Z] [2022-10-10T19:18:48.814Z] Login Succeeded [2022-10-10T19:18:48.814Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:18:49.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:18:49.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:18:49.073Z] Configure a credential helper to remove this warning. See [2022-10-10T19:18:49.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:18:49.073Z] [2022-10-10T19:18:49.073Z] Login Succeeded [2022-10-10T19:18:49.073Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:18:49.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:18:49.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:18:49.073Z] Configure a credential helper to remove this warning. See [2022-10-10T19:18:49.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:18:49.073Z] [2022-10-10T19:18:49.073Z] Login Succeeded [2022-10-10T19:18:49.073Z] docker.io [2022-10-10T19:18:49.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:18:49.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:18:49.639Z] Configure a credential helper to remove this warning. See [2022-10-10T19:18:49.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:18:49.639Z] [2022-10-10T19:18:49.639Z] Login Succeeded [2022-10-10T19:18:49.639Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:18:49.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T19:18:50.008Z] + git rev-list -1 --merges 8eb3a6dcde3bd54e47a29f6a529860d2e895186b~1..8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo [2022-10-10T19:18:50.034Z] -----------> git rev-list -1 --merges 8eb3a6dcde3bd54e47a29f6a529860d2e895186b~1..8eb3a6dcde3bd54e47a29f6a529860d2e895186b 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [2022-10-10T19:18:50.034Z] 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [false] [Pipeline] sh [2022-10-10T19:18:50.316Z] + git log --format=format:%s -1 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo [2022-10-10T19:18:50.330Z] ========================================================= [2022-10-10T19:18:50.330Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T19:18:50.330Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T19:18:50.677Z] + git log --format=format:%s -1 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo [2022-10-10T19:18:50.687Z] [semverPrep] GIT_COMMIT: 8eb3a6dcde3bd54e47a29f6a529860d2e895186b, Commit Message: Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD [Pipeline] echo [2022-10-10T19:18:50.697Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T19:18:51.044Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T19:18:51.044Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T19:18:51.044Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T19:18:51.044Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T19:18:51.044Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T19:18:51.044Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T19:18:51.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:18:51.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T19:18:51.436Z] [2022-10-10T19:18:51.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:18:51.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T19:18:51.757Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T19:18:51.757Z] b85a868b505f: Pulling fs layer [2022-10-10T19:18:51.757Z] e2be974225ed: Pulling fs layer [2022-10-10T19:18:51.757Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T19:18:51.757Z] 988bab9f4d93: Pulling fs layer [2022-10-10T19:18:51.757Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T19:18:51.757Z] 988bab9f4d93: Waiting [2022-10-10T19:18:51.757Z] eaf3925da568: Pulling fs layer [2022-10-10T19:18:51.757Z] bab4dde63d76: Pulling fs layer [2022-10-10T19:18:51.757Z] 1469e6f7b9e6: Waiting [2022-10-10T19:18:51.757Z] eaf3925da568: Waiting [2022-10-10T19:18:51.757Z] bde34c3a00c8: Pulling fs layer [2022-10-10T19:18:51.757Z] b352a97aabf1: Pulling fs layer [2022-10-10T19:18:51.757Z] bde34c3a00c8: Waiting [2022-10-10T19:18:51.757Z] 4872d77fe225: Pulling fs layer [2022-10-10T19:18:51.757Z] 5851b861e8e6: Pulling fs layer [2022-10-10T19:18:51.757Z] b352a97aabf1: Waiting [2022-10-10T19:18:51.757Z] 4872d77fe225: Waiting [2022-10-10T19:18:51.757Z] e2be974225ed: Download complete [2022-10-10T19:18:51.757Z] 988bab9f4d93: Download complete [2022-10-10T19:18:52.017Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T19:18:52.017Z] 1469e6f7b9e6: Download complete [2022-10-10T19:18:52.017Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T19:18:52.017Z] 339a4e72a1f5: Download complete [2022-10-10T19:18:52.017Z] eaf3925da568: Verifying Checksum [2022-10-10T19:18:52.017Z] eaf3925da568: Download complete [2022-10-10T19:18:52.017Z] bde34c3a00c8: Download complete [2022-10-10T19:18:52.017Z] b352a97aabf1: Verifying Checksum [2022-10-10T19:18:52.017Z] b352a97aabf1: Download complete [2022-10-10T19:18:52.017Z] 4872d77fe225: Download complete [2022-10-10T19:18:52.017Z] 5851b861e8e6: Verifying Checksum [2022-10-10T19:18:52.017Z] 5851b861e8e6: Download complete [2022-10-10T19:18:52.017Z] b85a868b505f: Verifying Checksum [2022-10-10T19:18:52.017Z] b85a868b505f: Download complete [2022-10-10T19:18:52.275Z] bab4dde63d76: Verifying Checksum [2022-10-10T19:18:52.275Z] bab4dde63d76: Download complete [2022-10-10T19:18:53.211Z] b85a868b505f: Pull complete [2022-10-10T19:18:53.468Z] e2be974225ed: Pull complete [2022-10-10T19:18:54.035Z] 339a4e72a1f5: Pull complete [2022-10-10T19:18:54.035Z] 988bab9f4d93: Pull complete [2022-10-10T19:18:54.293Z] 1469e6f7b9e6: Pull complete [2022-10-10T19:18:54.293Z] eaf3925da568: Pull complete [2022-10-10T19:18:56.207Z] bab4dde63d76: Pull complete [2022-10-10T19:18:56.207Z] bde34c3a00c8: Pull complete [2022-10-10T19:18:56.467Z] b352a97aabf1: Pull complete [2022-10-10T19:18:56.467Z] 4872d77fe225: Pull complete [2022-10-10T19:18:56.467Z] 5851b861e8e6: Pull complete [2022-10-10T19:18:56.467Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T19:18:56.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T19:18:56.467Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:18:56.552Z] prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container [2022-10-10T19:18:56.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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-devops/py-git-semver:0.1.4 cat [2022-10-10T19:18:59.458Z] $ docker top 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be -eo pid,comm [2022-10-10T19:18:59.516Z] 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). [2022-10-10T19:18:59.516Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T19:18:59.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T19:18:59.552Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T19:18:59.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T19:18:59.668Z] $ docker exec 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent [2022-10-10T19:18:59.783Z] SSH_AUTH_SOCK=/tmp/ssh-k6KIK16kDMEP/agent.32 [2022-10-10T19:18:59.783Z] SSH_AGENT_PID=38 [2022-10-10T19:18:59.789Z] Running ssh-add (command line suppressed) [2022-10-10T19:18:59.895Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13881732190809773993.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13881732190809773993.key) [2022-10-10T19:18:59.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T19:19:00.193Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T19:19:00.208Z] $ docker exec --env ******** --env ******** 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent -k [2022-10-10T19:19:00.311Z] unset SSH_AUTH_SOCK; [2022-10-10T19:19:00.312Z] unset SSH_AGENT_PID; [2022-10-10T19:19:00.312Z] echo Agent pid 38 killed; [2022-10-10T19:19:00.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T19:19:00.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T19:19:00.349Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T19:19:00.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T19:19:00.463Z] $ docker exec 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent [2022-10-10T19:19:00.564Z] SSH_AUTH_SOCK=/tmp/ssh-0Edwgph5OOFN/agent.70 [2022-10-10T19:19:00.564Z] SSH_AGENT_PID=76 [2022-10-10T19:19:00.568Z] Running ssh-add (command line suppressed) [2022-10-10T19:19:00.678Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_15381473729139786248.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_15381473729139786248.key) [2022-10-10T19:19:00.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T19:19:00.979Z] + git semver init [2022-10-10T19:19:01.238Z] 2022-10-10 19:19:01,191 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T19:19:01.238Z] 2022-10-10 19:19:01,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T19:19:01.238Z] 2022-10-10 19:19:01,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T19:19:01.238Z] 2022-10-10 19:19:01,192 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,184 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,190 [execute] INFO git cat-file --batch-check [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,198 [execute] INFO git cat-file --batch [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T19:19:02.620Z] 2022-10-10 19:19:02,205 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T19:19:02.620Z] 0.0.0 [Pipeline] } [2022-10-10T19:19:02.631Z] $ docker exec --env ******** --env ******** 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent -k [2022-10-10T19:19:02.730Z] unset SSH_AUTH_SOCK; [2022-10-10T19:19:02.731Z] unset SSH_AGENT_PID; [2022-10-10T19:19:02.731Z] echo Agent pid 76 killed; [2022-10-10T19:19:02.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T19:19:03.037Z] + git semver [Pipeline] } [2022-10-10T19:19:03.312Z] $ docker stop --time=1 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be [2022-10-10T19:19:04.638Z] $ docker rm -f 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T19:19:04.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T19:19:05.134Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T19:19:05.136Z] [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 [2022-10-10T19:19:05.270Z] provisioning config files... [2022-10-10T19:19:05.280Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config5443718155284349071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:19:05.570Z] ---> docker-login.sh [2022-10-10T19:19:05.570Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:19:05.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:05.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:05.570Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:05.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:05.570Z] [2022-10-10T19:19:05.570Z] Login Succeeded [2022-10-10T19:19:05.570Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:19:05.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:05.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:05.570Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:05.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:05.570Z] [2022-10-10T19:19:05.570Z] Login Succeeded [2022-10-10T19:19:05.570Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:19:05.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:05.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:05.829Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:05.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:05.829Z] [2022-10-10T19:19:05.829Z] Login Succeeded [2022-10-10T19:19:05.829Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:19:05.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:05.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:05.829Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:05.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:05.829Z] [2022-10-10T19:19:05.829Z] Login Succeeded [2022-10-10T19:19:05.829Z] docker.io [2022-10-10T19:19:06.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:19:06.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:19:06.346Z] Configure a credential helper to remove this warning. See [2022-10-10T19:19:06.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:19:06.346Z] [2022-10-10T19:19:06.346Z] Login Succeeded [2022-10-10T19:19:06.346Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:19:06.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T19:19:06.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T19:19:06.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T19:19:06.421Z] ========================================================= [2022-10-10T19:19:06.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T19:19:06.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:19:06.721Z] + 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 . [2022-10-10T19:19:06.721Z] Sending build context to Docker daemon 6.168MB [2022-10-10T19:19:06.721Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T19:19:06.721Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T19:19:06.721Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T19:19:06.721Z] 2408cc74d12b: Pulling fs layer [2022-10-10T19:19:06.721Z] ea60b727a1ce: Pulling fs layer [2022-10-10T19:19:06.721Z] 30c4a7721957: Pulling fs layer [2022-10-10T19:19:06.721Z] 370296b7ddb6: Pulling fs layer [2022-10-10T19:19:06.721Z] 7c6cee850709: Pulling fs layer [2022-10-10T19:19:06.721Z] aa9baa53a306: Pulling fs layer [2022-10-10T19:19:06.721Z] 8b309c321861: Pulling fs layer [2022-10-10T19:19:06.721Z] d8d76fd02f46: Pulling fs layer [2022-10-10T19:19:06.721Z] fa31f396de31: Pulling fs layer [2022-10-10T19:19:06.721Z] 8b309c321861: Waiting [2022-10-10T19:19:06.721Z] 370296b7ddb6: Waiting [2022-10-10T19:19:06.721Z] d8d76fd02f46: Waiting [2022-10-10T19:19:06.721Z] fa31f396de31: Waiting [2022-10-10T19:19:06.721Z] 7c6cee850709: Waiting [2022-10-10T19:19:06.721Z] aa9baa53a306: Waiting [2022-10-10T19:19:06.721Z] 30c4a7721957: Verifying Checksum [2022-10-10T19:19:06.721Z] 30c4a7721957: Download complete [2022-10-10T19:19:06.721Z] ea60b727a1ce: Verifying Checksum [2022-10-10T19:19:06.721Z] ea60b727a1ce: Download complete [2022-10-10T19:19:06.986Z] 7c6cee850709: Verifying Checksum [2022-10-10T19:19:06.986Z] 7c6cee850709: Download complete [2022-10-10T19:19:06.986Z] aa9baa53a306: Verifying Checksum [2022-10-10T19:19:06.986Z] aa9baa53a306: Download complete [2022-10-10T19:19:06.986Z] 2408cc74d12b: Verifying Checksum [2022-10-10T19:19:06.986Z] 2408cc74d12b: Download complete [2022-10-10T19:19:06.986Z] 8b309c321861: Verifying Checksum [2022-10-10T19:19:06.986Z] 8b309c321861: Download complete [2022-10-10T19:19:06.986Z] 2408cc74d12b: Pull complete [2022-10-10T19:19:07.259Z] ea60b727a1ce: Pull complete [2022-10-10T19:19:07.259Z] 30c4a7721957: Pull complete [2022-10-10T19:19:07.533Z] fa31f396de31: Verifying Checksum [2022-10-10T19:19:07.533Z] fa31f396de31: Download complete [2022-10-10T19:19:07.792Z] 370296b7ddb6: Verifying Checksum [2022-10-10T19:19:07.792Z] 370296b7ddb6: Download complete [2022-10-10T19:19:07.792Z] d8d76fd02f46: Verifying Checksum [2022-10-10T19:19:07.792Z] d8d76fd02f46: Download complete [2022-10-10T19:19:11.076Z] 370296b7ddb6: Pull complete [2022-10-10T19:19:11.076Z] 7c6cee850709: Pull complete [2022-10-10T19:19:11.335Z] aa9baa53a306: Pull complete [2022-10-10T19:19:11.335Z] 8b309c321861: Pull complete [2022-10-10T19:19:13.238Z] d8d76fd02f46: Pull complete [2022-10-10T19:19:14.176Z] fa31f396de31: Pull complete [2022-10-10T19:19:14.176Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T19:19:14.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T19:19:14.176Z] ---> cef68f9685f8 [2022-10-10T19:19:14.176Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T19:19:18.368Z] ---> Running in 8486de156baa [2022-10-10T19:19:18.368Z] Removing intermediate container 8486de156baa [2022-10-10T19:19:18.368Z] ---> bbe7f3bbb62b [2022-10-10T19:19:18.368Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T19:19:18.368Z] ---> Running in fe5087703954 [2022-10-10T19:19:18.368Z] Removing intermediate container fe5087703954 [2022-10-10T19:19:18.368Z] ---> ced3f3478ae5 [2022-10-10T19:19:18.368Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T19:19:18.368Z] ---> Running in 8500ee65342b [2022-10-10T19:19:18.368Z] Removing intermediate container 8500ee65342b [2022-10-10T19:19:18.368Z] ---> 7ef8d9ebecb5 [2022-10-10T19:19:18.368Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T19:19:18.368Z] ---> Running in c46f7e6bcee6 [2022-10-10T19:19:18.368Z] Removing intermediate container c46f7e6bcee6 [2022-10-10T19:19:18.368Z] ---> e3858bc3b5e4 [2022-10-10T19:19:18.368Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T19:19:18.628Z] ---> Running in fcde68de4287 [2022-10-10T19:19:19.195Z] Removing intermediate container fcde68de4287 [2022-10-10T19:19:19.195Z] ---> bf286e3ac5e7 [2022-10-10T19:19:19.195Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T19:19:19.195Z] ---> Running in b4f8d177d850 [2022-10-10T19:19:19.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T19:19:20.022Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T19:19:20.234Z] Still waiting to schedule task [2022-10-10T19:19:20.234Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7571’ [2022-10-10T19:19:20.960Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T19:19:20.960Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T19:19:20.960Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T19:19:21.218Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T19:19:21.218Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T19:19:21.218Z] OK: 216 MiB in 55 packages [2022-10-10T19:19:21.802Z] Removing intermediate container b4f8d177d850 [2022-10-10T19:19:21.802Z] ---> 0fe8389d87a0 [2022-10-10T19:19:21.802Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T19:19:21.802Z] ---> Running in cba36560b6f8 [2022-10-10T19:19:21.802Z] Removing intermediate container cba36560b6f8 [2022-10-10T19:19:21.802Z] ---> e33f431c91b5 [2022-10-10T19:19:21.802Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T19:19:22.062Z] ---> 131f7f46ecce [2022-10-10T19:19:22.062Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T19:19:22.062Z] ---> Running in 1da2b6e291e6 [2022-10-10T19:19:44.012Z] Removing intermediate container 1da2b6e291e6 [2022-10-10T19:19:44.012Z] ---> f4361a9b88ce [2022-10-10T19:19:44.012Z] Step 12/13 : COPY . . [2022-10-10T19:19:44.012Z] ---> 07b9f26c9ffc [2022-10-10T19:19:44.012Z] Step 13/13 : RUN $MAKE [2022-10-10T19:19:44.012Z] ---> Running in ed913d6b6de3 [2022-10-10T19:19:44.012Z] noop [2022-10-10T19:19:44.012Z] Removing intermediate container ed913d6b6de3 [2022-10-10T19:19:44.012Z] ---> 071bc97ba447 [2022-10-10T19:19:44.012Z] Successfully built 071bc97ba447 [2022-10-10T19:19:44.012Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:19:44.317Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T19:19:44.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:19:44.380Z] prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container [2022-10-10T19:19:44.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T19:19:44.817Z] $ docker top 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:19:45.164Z] + go version [2022-10-10T19:19:45.164Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T19:19:45.177Z] $ docker stop --time=1 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 [2022-10-10T19:19:46.449Z] $ docker rm -f 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:19:46.862Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T19:19:46.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:19:46.931Z] prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container [2022-10-10T19:19:46.965Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T19:19:47.308Z] $ docker top 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:19:47.658Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-10T19:19:47.951Z] + make test [2022-10-10T19:19:47.951Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T19:19:48.208Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T19:19:58.185Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T19:19:58.185Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-10T19:19:58.185Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T19:20:06.298Z] 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." [2022-10-10T19:20:06.298Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T19:20:08.833Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T19:20:08.833Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T19:20:08.833Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T19:20:08.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T19:20:08.854Z] $ docker stop --time=1 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa [2022-10-10T19:20:11.216Z] $ docker rm -f 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T19:20:11.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T19:20:11.679Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T19:20:12.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T19:20:12.386Z] + ls -al . [2022-10-10T19:20:12.386Z] total 184 [2022-10-10T19:20:12.386Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 19:19 . [2022-10-10T19:20:12.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:18 .. [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 19:18 .dockerignore [2022-10-10T19:20:12.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:19 .git [2022-10-10T19:20:12.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 .github [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 19:18 .gitignore [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 19:18 .golangci.yml [2022-10-10T19:20:12.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:19 .semver [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 19:18 Attribution.txt [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 19:18 CHANGELOG.md [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 19:18 Dockerfile [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 19:18 GOVERNANCE.md [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 19:18 Jenkinsfile [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 19:18 LICENSE [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 19:18 Makefile [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 19:18 OWNERS.md [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 19:18 README.md [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 19:19 VERSION [2022-10-10T19:20:12.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:18 bin [2022-10-10T19:20:12.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 cmd [2022-10-10T19:20:12.386Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 19:19 coverage.out [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 19:18 go.mod [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 19:18 go.sum [2022-10-10T19:20:12.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 internal [2022-10-10T19:20:12.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:18 mock [2022-10-10T19:20:12.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:18 snap [2022-10-10T19:20:12.386Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:12.724Z] + 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=8eb3a6dcde3bd54e47a29f6a529860d2e895186b --label arch=amd64 --label version=0.0.0 . [2022-10-10T19:20:12.724Z] Sending build context to Docker daemon 6.186MB [2022-10-10T19:20:12.724Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T19:20:12.724Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T19:20:12.724Z] ---> 071bc97ba447 [2022-10-10T19:20:12.724Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T19:20:12.982Z] ---> Running in 34a0e57ebe16 [2022-10-10T19:20:12.982Z] Removing intermediate container 34a0e57ebe16 [2022-10-10T19:20:12.982Z] ---> 3d148a939b0d [2022-10-10T19:20:12.982Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T19:20:12.982Z] ---> Running in 0c9fb53e6fb7 [2022-10-10T19:20:12.982Z] Removing intermediate container 0c9fb53e6fb7 [2022-10-10T19:20:12.982Z] ---> 8be5a7b678c7 [2022-10-10T19:20:12.982Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T19:20:12.982Z] ---> Running in d05913a9b8b4 [2022-10-10T19:20:13.241Z] Removing intermediate container d05913a9b8b4 [2022-10-10T19:20:13.241Z] ---> ec0ca678bd3a [2022-10-10T19:20:13.241Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T19:20:13.241Z] ---> Running in 613fe5c3a6db [2022-10-10T19:20:13.241Z] Removing intermediate container 613fe5c3a6db [2022-10-10T19:20:13.241Z] ---> d0f391a34cec [2022-10-10T19:20:13.241Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T19:20:13.241Z] ---> Running in 595b7e452abb [2022-10-10T19:20:13.809Z] Removing intermediate container 595b7e452abb [2022-10-10T19:20:13.809Z] ---> 69cd29430032 [2022-10-10T19:20:13.809Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T19:20:13.809Z] ---> Running in c9f51d7a779a [2022-10-10T19:20:14.068Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T19:20:15.005Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T19:20:15.263Z] OK: 216 MiB in 55 packages [2022-10-10T19:20:15.521Z] Removing intermediate container c9f51d7a779a [2022-10-10T19:20:15.521Z] ---> 93b46f528bbb [2022-10-10T19:20:15.521Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T19:20:15.521Z] ---> Running in f15fd71117d5 [2022-10-10T19:20:15.521Z] Removing intermediate container f15fd71117d5 [2022-10-10T19:20:15.521Z] ---> 884d4a640d13 [2022-10-10T19:20:15.521Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T19:20:15.778Z] ---> 91e9bf428125 [2022-10-10T19:20:15.778Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T19:20:15.778Z] ---> Running in baf3d4b69f50 [2022-10-10T19:20:16.346Z] Removing intermediate container baf3d4b69f50 [2022-10-10T19:20:16.346Z] ---> f4e265d1d539 [2022-10-10T19:20:16.346Z] Step 12/25 : COPY . . [2022-10-10T19:20:16.968Z] ---> 086ac225a1ff [2022-10-10T19:20:16.968Z] Step 13/25 : RUN $MAKE [2022-10-10T19:20:16.968Z] ---> Running in 2e32941f82e0 [2022-10-10T19:20:16.968Z] 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 [2022-10-10T19:20:38.892Z] Removing intermediate container 2e32941f82e0 [2022-10-10T19:20:38.892Z] ---> 2ef062580d66 [2022-10-10T19:20:38.892Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T19:20:39.151Z] 3.16: Pulling from library/alpine [2022-10-10T19:20:39.151Z] 213ec9aee27d: Pulling fs layer [2022-10-10T19:20:39.410Z] 213ec9aee27d: Verifying Checksum [2022-10-10T19:20:39.670Z] 213ec9aee27d: Pull complete [2022-10-10T19:20:39.670Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T19:20:39.670Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T19:20:39.670Z] ---> 9c6f07244728 [2022-10-10T19:20:39.670Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T19:20:39.670Z] ---> Running in 45c5f6bebb94 [2022-10-10T19:20:39.670Z] Removing intermediate container 45c5f6bebb94 [2022-10-10T19:20:39.670Z] ---> b0085c6aa641 [2022-10-10T19:20:39.670Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T19:20:39.929Z] ---> Running in 26b5ea98be23 [2022-10-10T19:20:40.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T19:20:40.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T19:20:40.447Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T19:20:40.447Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T19:20:40.447Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T19:20:40.447Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T19:20:40.447Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T19:20:40.447Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T19:20:40.447Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T19:20:40.447Z] OK: 8 MiB in 20 packages [2022-10-10T19:20:41.013Z] Removing intermediate container 26b5ea98be23 [2022-10-10T19:20:41.013Z] ---> d6d96957fee7 [2022-10-10T19:20:41.013Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T19:20:41.662Z] ---> 2040ecc96ac0 [2022-10-10T19:20:41.662Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T19:20:41.662Z] ---> 00bf2c01063f [2022-10-10T19:20:41.662Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T19:20:41.920Z] ---> 47baf68ba9d8 [2022-10-10T19:20:41.920Z] Step 20/25 : EXPOSE 59982 [2022-10-10T19:20:41.920Z] ---> Running in e0d9ad7e41b8 [2022-10-10T19:20:41.920Z] Removing intermediate container e0d9ad7e41b8 [2022-10-10T19:20:41.920Z] ---> cd5951815cf1 [2022-10-10T19:20:41.920Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T19:20:41.920Z] ---> Running in 1b671a0b2bcc [2022-10-10T19:20:42.179Z] Removing intermediate container 1b671a0b2bcc [2022-10-10T19:20:42.179Z] ---> b78b150ff4da [2022-10-10T19:20:42.179Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T19:20:42.179Z] ---> Running in aada00492d84 [2022-10-10T19:20:42.179Z] Removing intermediate container aada00492d84 [2022-10-10T19:20:42.179Z] ---> eb3a432d9430 [2022-10-10T19:20:42.179Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T19:20:42.179Z] ---> Running in d2674e0ee15b [2022-10-10T19:20:42.179Z] Removing intermediate container d2674e0ee15b [2022-10-10T19:20:42.179Z] ---> 01abc7f3da3a [2022-10-10T19:20:42.179Z] Step 24/25 : LABEL git_sha=8eb3a6dcde3bd54e47a29f6a529860d2e895186b [2022-10-10T19:20:42.438Z] ---> Running in d73301d5c27b [2022-10-10T19:20:42.438Z] Removing intermediate container d73301d5c27b [2022-10-10T19:20:42.438Z] ---> 17fe79fcef0a [2022-10-10T19:20:42.438Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T19:20:42.438Z] ---> Running in 9a5c8673d7c5 [2022-10-10T19:20:42.438Z] Removing intermediate container 9a5c8673d7c5 [2022-10-10T19:20:42.438Z] ---> eb4969ec365f [2022-10-10T19:20:42.438Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T19:20:42.438Z] Successfully built eb4969ec365f [2022-10-10T19:20:42.438Z] 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 [2022-10-10T19:20:42.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:42.863Z] [2022-10-10T19:20:42.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:20:43.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:43.168Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T19:20:43.168Z] 5eb5b503b376: Pulling fs layer [2022-10-10T19:20:43.168Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T19:20:43.168Z] ec43610c2a17: Pulling fs layer [2022-10-10T19:20:43.168Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T19:20:43.168Z] 33b1e0a273af: Pulling fs layer [2022-10-10T19:20:43.168Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T19:20:43.168Z] 2f39f015ded8: Pulling fs layer [2022-10-10T19:20:43.168Z] 33b1e0a273af: Waiting [2022-10-10T19:20:43.168Z] 5d3b04190fa2: Waiting [2022-10-10T19:20:43.168Z] 2f39f015ded8: Waiting [2022-10-10T19:20:43.168Z] 3a2ae6a8a46f: Waiting [2022-10-10T19:20:43.168Z] 5c69ac0246d0: Download complete [2022-10-10T19:20:43.168Z] 3a2ae6a8a46f: Download complete [2022-10-10T19:20:43.429Z] 33b1e0a273af: Verifying Checksum [2022-10-10T19:20:43.429Z] 33b1e0a273af: Download complete [2022-10-10T19:20:43.429Z] ec43610c2a17: Verifying Checksum [2022-10-10T19:20:43.429Z] ec43610c2a17: Download complete [2022-10-10T19:20:43.429Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T19:20:43.429Z] 5d3b04190fa2: Download complete [2022-10-10T19:20:43.429Z] 5eb5b503b376: Verifying Checksum [2022-10-10T19:20:43.429Z] 5eb5b503b376: Download complete [2022-10-10T19:20:43.996Z] 2f39f015ded8: Download complete [2022-10-10T19:20:44.933Z] 5eb5b503b376: Pull complete [2022-10-10T19:20:44.933Z] 5c69ac0246d0: Pull complete [2022-10-10T19:20:45.501Z] ec43610c2a17: Pull complete [2022-10-10T19:20:45.501Z] 3a2ae6a8a46f: Pull complete [2022-10-10T19:20:45.760Z] 33b1e0a273af: Pull complete [2022-10-10T19:20:45.760Z] 5d3b04190fa2: Pull complete [2022-10-10T19:20:51.116Z] 2f39f015ded8: Pull complete [2022-10-10T19:20:51.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T19:20:51.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:20:51.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:20:51.189Z] prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container [2022-10-10T19:20:51.216Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T19:20:55.025Z] $ docker top b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:20:55.393Z] ---> job-cost.sh [2022-10-10T19:20:55.393Z] lf-activate-venv: SKIPPING [2022-10-10T19:20:55.393Z] INFO: No Stack... [2022-10-10T19:20:55.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:20:56.220Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T19:20:56.506Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-10T19:20:56.506Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T19:20:56.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [2022-10-10T19:20:56.528Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] did not exist. Created. [2022-10-10T19:20:56.528Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T19:20:56.822Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T19:20:56.852Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T19:20:56.858Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T19:20:56.874Z] $ docker stop --time=1 b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 [2022-10-10T19:20:58.047Z] $ docker rm -f b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T19:21:39.285Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7575 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws [2022-10-10T19:21:39.298Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2022-10-10T19:21:39.328Z] Selected Git installation does not exist. Using Default [2022-10-10T19:21:39.328Z] The recommended git tool is: NONE [2022-10-10T19:21:44.765Z] using credential edgex-jenkins-ssh [2022-10-10T19:21:44.786Z] Cloning the remote Git repository [2022-10-10T19:21:44.839Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T19:21:44.915Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2022-10-10T19:21:45.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T19:21:45.050Z] > git --version # timeout=10 [2022-10-10T19:21:45.070Z] > git --version # 'git version 2.25.1' [2022-10-10T19:21:45.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T19:21:45.113Z] Verifying host key using known hosts file [2022-10-10T19:21:45.304Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T19:21:45.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T19:21:46.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T19:21:46.456Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T19:21:47.940Z] Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T19:21:47.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T19:21:47.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T19:21:47.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T19:21:47.287Z] Verifying host key using known hosts file [2022-10-10T19:21:47.294Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T19:21:47.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T19:21:47.967Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T19:21:47.990Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-10T19:21:48.099Z] > git remote # timeout=10 [2022-10-10T19:21:48.240Z] Merge succeeded, producing 9e2d16dccc36d1bd39c779aacc0c524732d32e48 [2022-10-10T19:21:48.240Z] Checking out Revision 9e2d16dccc36d1bd39c779aacc0c524732d32e48 (PR-423) [2022-10-10T19:21:48.120Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T19:21:48.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T19:21:48.143Z] Verifying host key using known hosts file [2022-10-10T19:21:48.147Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T19:21:48.157Z] > git merge 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 [2022-10-10T19:21:48.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T19:21:48.251Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T19:21:48.272Z] > git checkout -f 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 [2022-10-10T19:21:51.872Z] Commit message: "Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD" [2022-10-10T19:21:51.885Z] > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T19:21:52.911Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T19:21:52.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T19:21:52.911Z] Dload Upload Total Spent Left Speed [2022-10-10T19:21:52.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-10-10T19:21:53.680Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T19:21:54.007Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T19:21:54.007Z] + sudo tee /etc/docker/daemon.new [2022-10-10T19:21:54.007Z] { [2022-10-10T19:21:54.008Z] "registry-mirrors": [ [2022-10-10T19:21:54.008Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T19:21:54.008Z] ], [2022-10-10T19:21:54.008Z] "bip": "10.250.0.254/24", [2022-10-10T19:21:54.008Z] "hosts": [ [2022-10-10T19:21:54.008Z] "tcp://0.0.0.0:5555", [2022-10-10T19:21:54.008Z] "unix:///var/run/docker.sock" [2022-10-10T19:21:54.008Z] ], [2022-10-10T19:21:54.008Z] "mtu": 1458, [2022-10-10T19:21:54.008Z] "selinux-enabled": true, [2022-10-10T19:21:54.008Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T19:21:54.008Z] } [Pipeline] sh [2022-10-10T19:21:54.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T19:21:54.675Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:22:12.960Z] provisioning config files... [2022-10-10T19:22:12.986Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config10787207077039163077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:22:13.349Z] ---> docker-login.sh [2022-10-10T19:22:13.349Z] nexus3.edgexfoundry.org:10001 [2022-10-10T19:22:13.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:22:13.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:22:13.941Z] Configure a credential helper to remove this warning. See [2022-10-10T19:22:13.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:22:13.941Z] [2022-10-10T19:22:13.941Z] Login Succeeded [2022-10-10T19:22:13.941Z] nexus3.edgexfoundry.org:10002 [2022-10-10T19:22:14.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:22:14.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:22:14.484Z] Configure a credential helper to remove this warning. See [2022-10-10T19:22:14.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:22:14.484Z] [2022-10-10T19:22:14.484Z] Login Succeeded [2022-10-10T19:22:14.484Z] nexus3.edgexfoundry.org:10003 [2022-10-10T19:22:14.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:22:14.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:22:14.755Z] Configure a credential helper to remove this warning. See [2022-10-10T19:22:14.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:22:14.755Z] [2022-10-10T19:22:14.755Z] Login Succeeded [2022-10-10T19:22:14.755Z] nexus3.edgexfoundry.org:10004 [2022-10-10T19:22:15.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:22:15.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:22:15.297Z] Configure a credential helper to remove this warning. See [2022-10-10T19:22:15.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:22:15.297Z] [2022-10-10T19:22:15.297Z] Login Succeeded [2022-10-10T19:22:15.297Z] docker.io [2022-10-10T19:22:15.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T19:22:15.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T19:22:15.837Z] Configure a credential helper to remove this warning. See [2022-10-10T19:22:15.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T19:22:15.837Z] [2022-10-10T19:22:15.837Z] Login Succeeded [2022-10-10T19:22:15.837Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T19:22:15.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T19:22:16.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T19:22:16.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T19:22:16.032Z] ========================================================= [2022-10-10T19:22:16.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T19:22:16.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:22:16.376Z] + 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 . [2022-10-10T19:22:16.644Z] Sending build context to Docker daemon 3.192MB [2022-10-10T19:22:16.644Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T19:22:16.644Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T19:22:16.915Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T19:22:16.915Z] b3c136eddcbf: Pulling fs layer [2022-10-10T19:22:16.915Z] c0a3192eca97: Pulling fs layer [2022-10-10T19:22:16.915Z] a050256f5b6f: Pulling fs layer [2022-10-10T19:22:16.915Z] 656be50a0ddc: Pulling fs layer [2022-10-10T19:22:16.915Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T19:22:16.915Z] f607e4fc86c3: Pulling fs layer [2022-10-10T19:22:16.915Z] 4d572c569a2c: Pulling fs layer [2022-10-10T19:22:16.915Z] fcf976331f73: Pulling fs layer [2022-10-10T19:22:16.915Z] f607e4fc86c3: Waiting [2022-10-10T19:22:16.915Z] 4d572c569a2c: Waiting [2022-10-10T19:22:16.915Z] fcf976331f73: Waiting [2022-10-10T19:22:16.915Z] 656be50a0ddc: Waiting [2022-10-10T19:22:16.915Z] 2bbca73fdf42: Waiting [2022-10-10T19:22:16.915Z] a050256f5b6f: Verifying Checksum [2022-10-10T19:22:16.915Z] a050256f5b6f: Download complete [2022-10-10T19:22:16.915Z] c0a3192eca97: Verifying Checksum [2022-10-10T19:22:16.915Z] c0a3192eca97: Download complete [2022-10-10T19:22:16.915Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T19:22:16.915Z] 2bbca73fdf42: Download complete [2022-10-10T19:22:16.915Z] f607e4fc86c3: Verifying Checksum [2022-10-10T19:22:16.915Z] f607e4fc86c3: Download complete [2022-10-10T19:22:16.915Z] b3c136eddcbf: Verifying Checksum [2022-10-10T19:22:16.915Z] b3c136eddcbf: Download complete [2022-10-10T19:22:17.892Z] b3c136eddcbf: Pull complete [2022-10-10T19:22:18.167Z] fcf976331f73: Verifying Checksum [2022-10-10T19:22:18.167Z] fcf976331f73: Download complete [2022-10-10T19:22:18.439Z] c0a3192eca97: Pull complete [2022-10-10T19:22:18.712Z] a050256f5b6f: Pull complete [2022-10-10T19:22:19.309Z] 4d572c569a2c: Download complete [2022-10-10T19:22:19.898Z] 656be50a0ddc: Verifying Checksum [2022-10-10T19:22:19.898Z] 656be50a0ddc: Download complete [2022-10-10T19:22:32.252Z] 656be50a0ddc: Pull complete [2022-10-10T19:22:32.252Z] 2bbca73fdf42: Pull complete [2022-10-10T19:22:32.523Z] f607e4fc86c3: Pull complete [2022-10-10T19:22:39.219Z] 4d572c569a2c: Pull complete [2022-10-10T19:22:41.175Z] fcf976331f73: Pull complete [2022-10-10T19:22:41.175Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T19:22:41.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T19:22:41.175Z] ---> 3970a7415f9e [2022-10-10T19:22:41.175Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T19:22:43.124Z] ---> Running in 5eeecf8a2b33 [2022-10-10T19:22:43.124Z] Removing intermediate container 5eeecf8a2b33 [2022-10-10T19:22:43.124Z] ---> c31042b62af6 [2022-10-10T19:22:43.124Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T19:22:43.124Z] ---> Running in 137baf5ddd5b [2022-10-10T19:22:43.392Z] Removing intermediate container 137baf5ddd5b [2022-10-10T19:22:43.392Z] ---> ad9a6f18253f [2022-10-10T19:22:43.392Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T19:22:43.661Z] ---> Running in bed0e47db2a0 [2022-10-10T19:22:43.931Z] Removing intermediate container bed0e47db2a0 [2022-10-10T19:22:43.931Z] ---> e43d768c3a8c [2022-10-10T19:22:43.931Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T19:22:43.931Z] ---> Running in e4a49e924a38 [2022-10-10T19:22:44.202Z] Removing intermediate container e4a49e924a38 [2022-10-10T19:22:44.202Z] ---> a2ff91e1b38e [2022-10-10T19:22:44.202Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T19:22:44.471Z] ---> Running in 94d651669ed5 [2022-10-10T19:22:46.447Z] Removing intermediate container 94d651669ed5 [2022-10-10T19:22:46.447Z] ---> 9b50d8193003 [2022-10-10T19:22:46.447Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T19:22:46.447Z] ---> Running in 7f528886c1b8 [2022-10-10T19:22:47.412Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T19:22:48.374Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T19:22:49.334Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T19:22:49.334Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T19:22:49.334Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T19:22:49.604Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T19:22:49.872Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T19:22:49.872Z] OK: 226 MiB in 55 packages [2022-10-10T19:22:50.846Z] Removing intermediate container 7f528886c1b8 [2022-10-10T19:22:50.846Z] ---> e3bd8a6c3a1a [2022-10-10T19:22:50.846Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T19:22:50.846Z] ---> Running in 76033b69d965 [2022-10-10T19:22:51.433Z] Removing intermediate container 76033b69d965 [2022-10-10T19:22:51.433Z] ---> b16a1689cae9 [2022-10-10T19:22:51.433Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T19:22:52.021Z] ---> 27e876a08386 [2022-10-10T19:22:52.021Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T19:22:52.021Z] ---> Running in ba090f67f889 [2022-10-10T19:23:48.444Z] Removing intermediate container ba090f67f889 [2022-10-10T19:23:48.444Z] ---> 6640386977a8 [2022-10-10T19:23:48.444Z] Step 12/13 : COPY . . [2022-10-10T19:23:48.444Z] ---> c94d7d9fb338 [2022-10-10T19:23:48.444Z] Step 13/13 : RUN $MAKE [2022-10-10T19:23:48.444Z] ---> Running in 77d253e58b56 [2022-10-10T19:23:48.444Z] noop [2022-10-10T19:23:48.444Z] Removing intermediate container 77d253e58b56 [2022-10-10T19:23:48.444Z] ---> 96c26cbd80ba [2022-10-10T19:23:48.444Z] Successfully built 96c26cbd80ba [2022-10-10T19:23:48.444Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:23:48.782Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T19:23:48.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:23:48.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container [2022-10-10T19:23:49.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T19:23:50.370Z] $ docker top 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:23:51.221Z] + go version [2022-10-10T19:23:51.221Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T19:23:51.244Z] $ docker stop --time=1 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 [2022-10-10T19:23:52.887Z] $ docker rm -f 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:23:53.424Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T19:23:53.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:23:53.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container [2022-10-10T19:23:53.660Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T19:23:54.851Z] $ docker top 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:23:55.689Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh [2022-10-10T19:23:56.337Z] + make test [2022-10-10T19:23:56.337Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T19:23:58.296Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T19:25:34.949Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T19:25:34.949Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-10-10T19:25:34.949Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T19:25:34.949Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T19:25:34.949Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T19:25:49.949Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T19:25:49.949Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T19:25:49.949Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T19:25:49.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T19:25:49.979Z] $ docker stop --time=1 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 [2022-10-10T19:25:51.747Z] $ docker rm -f 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T19:25:52.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T19:25:52.733Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T19:25:53.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T19:25:53.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T19:25:53.852Z] + ls -al . [2022-10-10T19:25:53.852Z] total 180 [2022-10-10T19:25:53.852Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 19:23 . [2022-10-10T19:25:53.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:21 .. [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 19:21 .dockerignore [2022-10-10T19:25:53.852Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:21 .git [2022-10-10T19:25:53.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 .github [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 19:21 .gitignore [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 19:21 .golangci.yml [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 19:21 Attribution.txt [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 19:21 CHANGELOG.md [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 19:21 Dockerfile [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 19:21 GOVERNANCE.md [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 19:21 Jenkinsfile [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 19:21 LICENSE [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 19:21 Makefile [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 19:21 OWNERS.md [2022-10-10T19:25:53.852Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 19:21 README.md [2022-10-10T19:25:53.853Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 19:19 VERSION [2022-10-10T19:25:53.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:21 bin [2022-10-10T19:25:53.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 cmd [2022-10-10T19:25:53.853Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 19:25 coverage.out [2022-10-10T19:25:53.853Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 19:21 go.mod [2022-10-10T19:25:53.853Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 19:21 go.sum [2022-10-10T19:25:53.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 internal [2022-10-10T19:25:53.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:21 mock [2022-10-10T19:25:53.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:21 snap [2022-10-10T19:25:53.853Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 19:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:25:54.187Z] + 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=9e2d16dccc36d1bd39c779aacc0c524732d32e48 --label arch=arm64 --label version=0.0.0 . [2022-10-10T19:25:54.484Z] Sending build context to Docker daemon 3.211MB [2022-10-10T19:25:54.484Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T19:25:54.484Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T19:25:54.484Z] ---> 96c26cbd80ba [2022-10-10T19:25:54.484Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T19:25:54.753Z] ---> Running in 08dada9efa23 [2022-10-10T19:25:55.022Z] Removing intermediate container 08dada9efa23 [2022-10-10T19:25:55.022Z] ---> 512580c043ee [2022-10-10T19:25:55.022Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T19:25:55.291Z] ---> Running in e9c2e329809e [2022-10-10T19:25:55.557Z] Removing intermediate container e9c2e329809e [2022-10-10T19:25:55.558Z] ---> e88bff45d80b [2022-10-10T19:25:55.558Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T19:25:55.558Z] ---> Running in db70a5f49184 [2022-10-10T19:25:55.826Z] Removing intermediate container db70a5f49184 [2022-10-10T19:25:55.826Z] ---> aebe6cd6f728 [2022-10-10T19:25:55.826Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T19:25:56.096Z] ---> Running in 9046d8d6f71f [2022-10-10T19:25:56.363Z] Removing intermediate container 9046d8d6f71f [2022-10-10T19:25:56.363Z] ---> 88c208804aae [2022-10-10T19:25:56.363Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T19:25:56.363Z] ---> Running in fd6f6b984cfb [2022-10-10T19:25:58.322Z] Removing intermediate container fd6f6b984cfb [2022-10-10T19:25:58.322Z] ---> a71755f962e1 [2022-10-10T19:25:58.322Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T19:25:58.322Z] ---> Running in 245520a2f725 [2022-10-10T19:26:00.911Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T19:26:01.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T19:26:02.832Z] OK: 226 MiB in 55 packages [2022-10-10T19:26:03.794Z] Removing intermediate container 245520a2f725 [2022-10-10T19:26:03.794Z] ---> 1309a840827b [2022-10-10T19:26:03.794Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T19:26:03.794Z] ---> Running in 35854d2e13e5 [2022-10-10T19:26:04.062Z] Removing intermediate container 35854d2e13e5 [2022-10-10T19:26:04.062Z] ---> cd61bc335d03 [2022-10-10T19:26:04.062Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T19:26:04.648Z] ---> 4a911098fc36 [2022-10-10T19:26:04.648Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T19:26:04.648Z] ---> Running in 8285286e1402 [2022-10-10T19:26:07.236Z] Removing intermediate container 8285286e1402 [2022-10-10T19:26:07.236Z] ---> 83f6d367e2c8 [2022-10-10T19:26:07.236Z] Step 12/25 : COPY . . [2022-10-10T19:26:07.821Z] ---> 0bb09da3567b [2022-10-10T19:26:07.821Z] Step 13/25 : RUN $MAKE [2022-10-10T19:26:07.821Z] ---> Running in ed4f1db2660a [2022-10-10T19:26:08.795Z] 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 [2022-10-10T19:28:45.887Z] Removing intermediate container ed4f1db2660a [2022-10-10T19:28:45.887Z] ---> ab78a0c66b5c [2022-10-10T19:28:45.887Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T19:28:45.887Z] 3.16: Pulling from library/alpine [2022-10-10T19:28:45.887Z] 9b18e9b68314: Pulling fs layer [2022-10-10T19:28:45.887Z] 9b18e9b68314: Download complete [2022-10-10T19:28:45.887Z] 9b18e9b68314: Pull complete [2022-10-10T19:28:45.887Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T19:28:45.887Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T19:28:45.887Z] ---> a6215f271958 [2022-10-10T19:28:45.887Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T19:28:45.887Z] ---> Running in 68f5b0021c80 [2022-10-10T19:28:45.887Z] Removing intermediate container 68f5b0021c80 [2022-10-10T19:28:45.887Z] ---> ecaa9eb3d28b [2022-10-10T19:28:45.887Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T19:28:45.887Z] ---> Running in 459018b8066b [2022-10-10T19:28:45.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T19:28:45.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T19:28:45.887Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T19:28:45.887Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T19:28:45.887Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T19:28:45.887Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T19:28:45.887Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T19:28:45.887Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T19:28:45.887Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T19:28:45.887Z] OK: 8 MiB in 20 packages [2022-10-10T19:28:45.887Z] Removing intermediate container 459018b8066b [2022-10-10T19:28:45.887Z] ---> 87db96b83709 [2022-10-10T19:28:45.887Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T19:28:47.301Z] ---> b746f7110686 [2022-10-10T19:28:47.301Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T19:28:47.888Z] ---> bfe707710e01 [2022-10-10T19:28:47.888Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T19:28:48.474Z] ---> 649e912242ac [2022-10-10T19:28:48.474Z] Step 20/25 : EXPOSE 59982 [2022-10-10T19:28:48.474Z] ---> Running in 8422e1575d07 [2022-10-10T19:28:48.752Z] Removing intermediate container 8422e1575d07 [2022-10-10T19:28:48.752Z] ---> 9bd0ba74d6bd [2022-10-10T19:28:48.752Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T19:28:49.021Z] ---> Running in a7004f6d1001 [2022-10-10T19:28:49.290Z] Removing intermediate container a7004f6d1001 [2022-10-10T19:28:49.290Z] ---> 3bb6b1f8a313 [2022-10-10T19:28:49.290Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T19:28:49.290Z] ---> Running in 3912f53c857f [2022-10-10T19:28:49.560Z] Removing intermediate container 3912f53c857f [2022-10-10T19:28:49.560Z] ---> c8ba1ca112cc [2022-10-10T19:28:49.560Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T19:28:49.833Z] ---> Running in 69dc80a9e900 [2022-10-10T19:28:50.105Z] Removing intermediate container 69dc80a9e900 [2022-10-10T19:28:50.105Z] ---> 9c3d29c052d8 [2022-10-10T19:28:50.105Z] Step 24/25 : LABEL git_sha=9e2d16dccc36d1bd39c779aacc0c524732d32e48 [2022-10-10T19:28:50.105Z] ---> Running in 654faaab7705 [2022-10-10T19:28:50.372Z] Removing intermediate container 654faaab7705 [2022-10-10T19:28:50.372Z] ---> a5627ed6254d [2022-10-10T19:28:50.372Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T19:28:50.372Z] ---> Running in b8b62e8295db [2022-10-10T19:28:50.642Z] Removing intermediate container b8b62e8295db [2022-10-10T19:28:50.642Z] ---> 5448bed391b9 [2022-10-10T19:28:50.642Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T19:28:50.642Z] Successfully built 5448bed391b9 [2022-10-10T19:28:50.643Z] 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 [2022-10-10T19:28:51.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T19:28:51.325Z] [2022-10-10T19:28:51.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:28:51.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T19:28:51.653Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T19:28:51.653Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T19:28:51.653Z] 04944245beec: Pulling fs layer [2022-10-10T19:28:51.653Z] 699f458cf7ca: Pulling fs layer [2022-10-10T19:28:51.653Z] 765212b225bb: Pulling fs layer [2022-10-10T19:28:51.653Z] f23df028b6ca: Pulling fs layer [2022-10-10T19:28:51.653Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T19:28:51.653Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T19:28:51.653Z] 765212b225bb: Waiting [2022-10-10T19:28:51.653Z] f23df028b6ca: Waiting [2022-10-10T19:28:51.653Z] d65c8cfc05b1: Waiting [2022-10-10T19:28:51.920Z] 04944245beec: Verifying Checksum [2022-10-10T19:28:51.920Z] 04944245beec: Download complete [2022-10-10T19:28:51.920Z] 765212b225bb: Download complete [2022-10-10T19:28:51.920Z] f23df028b6ca: Verifying Checksum [2022-10-10T19:28:51.920Z] f23df028b6ca: Download complete [2022-10-10T19:28:51.920Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T19:28:51.920Z] d65c8cfc05b1: Download complete [2022-10-10T19:28:52.188Z] 699f458cf7ca: Verifying Checksum [2022-10-10T19:28:52.188Z] 699f458cf7ca: Download complete [2022-10-10T19:28:52.455Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T19:28:52.455Z] 8998bd30e6a1: Download complete [2022-10-10T19:28:55.037Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T19:28:55.037Z] 2437ff75d9bd: Download complete [2022-10-10T19:28:56.445Z] 8998bd30e6a1: Pull complete [2022-10-10T19:28:56.711Z] 04944245beec: Pull complete [2022-10-10T19:28:58.137Z] 699f458cf7ca: Pull complete [2022-10-10T19:28:58.137Z] 765212b225bb: Pull complete [2022-10-10T19:28:59.100Z] f23df028b6ca: Pull complete [2022-10-10T19:28:59.100Z] d65c8cfc05b1: Pull complete [2022-10-10T19:29:14.078Z] 2437ff75d9bd: Pull complete [2022-10-10T19:29:14.078Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T19:29:14.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T19:29:14.078Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:29:14.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container [2022-10-10T19:29:14.326Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T19:29:16.997Z] $ docker top 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:17.840Z] ---> job-cost.sh [2022-10-10T19:29:17.840Z] lf-activate-venv: SKIPPING [2022-10-10T19:29:17.840Z] INFO: No Stack... [2022-10-10T19:29:18.107Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T19:29:19.074Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T19:29:19.710Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2022-10-10T19:29:19.710Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T19:29:19.779Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [2022-10-10T19:29:19.791Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] did not exist. Created. [2022-10-10T19:29:19.791Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T19:29:20.448Z] /w/workspace/device-mqtt-go/5@tmp/durable-bf02c6b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T19:29:21.095Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T19:29:21.114Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T19:29:21.153Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T19:29:21.159Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T19:29:21.170Z] $ docker stop --time=1 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 [2022-10-10T19:29:22.680Z] $ docker rm -f 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 [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 [2022-10-10T19:29:23.079Z] provisioning config files... [2022-10-10T19:29:23.086Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config7510862193145194736tmp [Pipeline] { [Pipeline] sh [2022-10-10T19:29:23.376Z] + set +x [2022-10-10T19:29:23.376Z] + curl -s https://codecov.io/bash [2022-10-10T19:29:23.376Z] + bash -s -- [2022-10-10T19:29:23.376Z] [2022-10-10T19:29:23.376Z] _____ _ [2022-10-10T19:29:23.376Z] / ____| | | [2022-10-10T19:29:23.376Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T19:29:23.376Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T19:29:23.376Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T19:29:23.376Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T19:29:23.376Z] Bash-1.0.6 [2022-10-10T19:29:23.376Z] [2022-10-10T19:29:23.376Z] [2022-10-10T19:29:23.376Z] ==> git version 2.25.1 found [2022-10-10T19:29:23.376Z] ==> 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 [2022-10-10T19:29:23.376Z] Release-Date: 2020-01-08 [2022-10-10T19:29:23.376Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T19:29:23.376Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T19:29:23.376Z] ==> Jenkins CI detected. [2022-10-10T19:29:23.376Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T19:29:23.376Z] project root: . [2022-10-10T19:29:23.376Z] --> token set from env [2022-10-10T19:29:23.376Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T19:29:23.376Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T19:29:23.376Z] ==> Python coveragepy not found [2022-10-10T19:29:23.376Z] ==> Searching for coverage reports in: [2022-10-10T19:29:23.376Z] + . [2022-10-10T19:29:23.376Z] -> Found 1 reports [2022-10-10T19:29:23.376Z] ==> Detecting git/mercurial file structure [2022-10-10T19:29:23.376Z] ==> Reading reports [2022-10-10T19:29:23.376Z] + ./coverage.out bytes=17887 [2022-10-10T19:29:23.376Z] ==> Appending adjustments [2022-10-10T19:29:23.376Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T19:29:23.636Z] + Found adjustments [2022-10-10T19:29:23.636Z] ==> Gzipping contents [2022-10-10T19:29:23.636Z] 4.0K /tmp/codecov.jazfEa.gz [2022-10-10T19:29:23.636Z] ==> Uploading reports [2022-10-10T19:29:23.636Z] url: https://codecov.io [2022-10-10T19:29:23.636Z] query: branch=PR-423&commit=8eb3a6dcde3bd54e47a29f6a529860d2e895186b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T19:29:23.636Z] -> Pinging Codecov [2022-10-10T19:29:23.636Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=8eb3a6dcde3bd54e47a29f6a529860d2e895186b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T19:29:23.895Z] -> Uploading to [2022-10-10T19:29:23.895Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/8eb3a6dcde3bd54e47a29f6a529860d2e895186b/8e9e8d43-494a-4586-87e6-70cfaa67ce50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T192923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a83e7cbaac743f532aec1e63c501f5c186d10ef3fd4c166f34c171008c73e0a8 [2022-10-10T19:29:23.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T19:29:23.895Z] Dload Upload Total Spent Left Speed [2022-10-10T19:29:24.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13012 --:--:-- --:--:-- --:--:-- 13012 [2022-10-10T19:29:24.153Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] } [2022-10-10T19:29:24.159Z] 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 [2022-10-10T19:29:24.784Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-10T19:29:24.784Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T19:29:24.784Z] total 16 [2022-10-10T19:29:24.784Z] drwxr-xr-x 3 root root 4096 Oct 10 19:20 . [2022-10-10T19:29:24.784Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 19:20 .. [2022-10-10T19:29:24.784Z] drwxr-xr-x 2 root root 4096 Oct 10 19:20 cost [2022-10-10T19:29:24.784Z] -rw-r--r-- 1 root root 86 Oct 10 19:20 cost.csv [2022-10-10T19:29:24.784Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T19:29:24.784Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T19:29:24.784Z] total 16 [2022-10-10T19:29:24.784Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:20 . [2022-10-10T19:29:24.784Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 19:20 .. [2022-10-10T19:29:24.784Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 19:20 cost [2022-10-10T19:29:24.784Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:25.075Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:25.928Z] ---> package-listing.sh [2022-10-10T19:29:25.928Z] ++ facter osfamily [2022-10-10T19:29:25.928Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T19:29:26.188Z] + OS_FAMILY=debian [2022-10-10T19:29:26.188Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T19:29:26.188Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T19:29:26.188Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T19:29:26.188Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T19:29:26.188Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T19:29:26.188Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T19:29:26.188Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T19:29:26.188Z] + case "${OS_FAMILY}" in [2022-10-10T19:29:26.188Z] + dpkg -l [2022-10-10T19:29:26.188Z] + grep '^ii' [2022-10-10T19:29:26.188Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T19:29:26.188Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T19:29:26.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T19:29:26.188Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T19:29:26.188Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-10T19:29:26.188Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo [2022-10-10T19:29:26.198Z] 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T19:29:26.476Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T19:29:27.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T19:29:27.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T19:29:27.094Z] prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container [2022-10-10T19:29:27.118Z] $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T19:29:27.338Z] $ docker top 87ec4e9bb050dbaf93ec6c2d87f477556f7f7a912a7a89c8fd03139f5e769696 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T19:29:27.678Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T19:29:27.961Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T19:29:28.245Z] + ls /var/log/sa-host [2022-10-10T19:29:28.245Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T19:29:28.380Z] provisioning config files... [2022-10-10T19:29:28.389Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8785540957840440202tmp [Pipeline] { [Pipeline] echo [2022-10-10T19:29:28.402Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:28.686Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T19:29:28.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:29.013Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T19:29:29.020Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:29.302Z] ---> sudo-logs.sh [2022-10-10T19:29:29.302Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T19:29:29.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:29.611Z] ---> job-cost.sh [2022-10-10T19:29:29.611Z] lf-activate-venv: SKIPPING [2022-10-10T19:29:29.611Z] DEBUG: total: 0.2199999988079071 [2022-10-10T19:29:29.611Z] INFO: Retrieving Stack Cost... [2022-10-10T19:29:29.870Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T19:29:30.439Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T19:29:30.449Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T19:29:30.734Z] ---> logs-deploy.sh [2022-10-10T19:29:30.734Z] lf-activate-venv: SKIPPING [2022-10-10T19:29:30.734Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/5 [2022-10-10T19:29:30.734Z] INFO: archiving workspace using pattern(s): [2022-10-10T19:29:31.673Z] Archives upload complete. [2022-10-10T19:29:31.673Z] INFO: archiving logs to Nexus