Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1804939991e9cf6e6628dcf61ff454f4c33f5abe 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-ssh1496231383406542924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9897811233401032006.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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/main/workspace@libs/edgex-global-pipelines/.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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15759547510966841690.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh16640029302897469276.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/main/workspace@libs/lf-pipelines/.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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9509051032262392910.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33468 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1804939991e9cf6e6628dcf61ff454f4c33f5abe (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 Commit message: "Merge pull request #372 from jinlinGuan/issue-371" > git rev-list --no-walk cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T11:06:36.047Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T11:06:36.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T11:06:36.101Z] ========================================================= [2022-04-27T11:06:36.102Z] EdgeX Global Pipelines Version Info [2022-04-27T11:06:36.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:36.861Z] ------------------- [2022-04-27T11:06:36.861Z] stable info: [2022-04-27T11:06:36.861Z] ------------------- [2022-04-27T11:06:36.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T11:06:36.861Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T11:06:36.861Z] Message: update stable to v1.0.221 [2022-04-27T11:06:37.434Z] ------------------- [2022-04-27T11:06:37.434Z] experimental info: [2022-04-27T11:06:37.434Z] ------------------- [2022-04-27T11:06:37.434Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T11:06:37.434Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T11:06:37.434Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T11:06:37.557Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-27T11:06:37.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-27T11:06:37.575Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T11:06:37.584Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T11:06:37.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T11:06:37.604Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T11:06:37.622Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T11:06:37.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T11:06:37.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T11:06:37.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T11:06:37.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T11:06:37.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-27T11:06:37.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T11:06:37.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T11:06:37.729Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:06:37.740Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:06:37.752Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:06:37.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:06:37.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T11:06:37.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T11:06:37.804Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T11:06:37.819Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T11:06:37.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T11:06:37.844Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T11:06:37.856Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T11:06:37.870Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T11:06:37.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-27T11:06:37.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-27T11:06:37.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-27T11:06:37.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo [2022-04-27T11:06:37.949Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1804939 [Pipeline] echo [2022-04-27T11:06:37.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:06:38.004Z] provisioning config files... [2022-04-27T11:06:38.019Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5134555885678335442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:38.351Z] ---> docker-login.sh [2022-04-27T11:06:38.351Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:06:38.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:38.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:38.924Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:38.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:38.924Z] [2022-04-27T11:06:38.924Z] Login Succeeded [2022-04-27T11:06:38.924Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:06:38.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:39.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:39.184Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:39.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:39.184Z] [2022-04-27T11:06:39.184Z] Login Succeeded [2022-04-27T11:06:39.184Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:06:39.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:39.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:39.184Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:39.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:39.184Z] [2022-04-27T11:06:39.184Z] Login Succeeded [2022-04-27T11:06:39.184Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:06:39.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:39.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:39.444Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:39.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:39.445Z] [2022-04-27T11:06:39.445Z] Login Succeeded [2022-04-27T11:06:39.445Z] docker.io [2022-04-27T11:06:39.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:39.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:39.705Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:39.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:39.705Z] [2022-04-27T11:06:39.705Z] Login Succeeded [2022-04-27T11:06:39.705Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:06:39.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T11:06:40.099Z] + git rev-list -1 --merges 1804939991e9cf6e6628dcf61ff454f4c33f5abe~1..1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo [2022-04-27T11:06:40.193Z] -----------> git rev-list -1 --merges 1804939991e9cf6e6628dcf61ff454f4c33f5abe~1..1804939991e9cf6e6628dcf61ff454f4c33f5abe 1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:06:40.193Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe [false] [Pipeline] sh [2022-04-27T11:06:40.486Z] + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo [2022-04-27T11:06:40.503Z] ========================================================= [2022-04-27T11:06:40.503Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T11:06:40.503Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:06:40.839Z] + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo [2022-04-27T11:06:40.852Z] [semverPrep] GIT_COMMIT: 1804939991e9cf6e6628dcf61ff454f4c33f5abe, Commit Message: Merge pull request #372 from jinlinGuan/issue-371 [Pipeline] echo [2022-04-27T11:06:40.860Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T11:06:41.239Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:06:41.239Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T11:06:41.239Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T11:06:41.239Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T11:06:41.239Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-04-27T11:06:41.239Z] -a /etc/ssh/ssh_known_hosts [2022-04-27T11:06:41.239Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:41.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:41.586Z] [2022-04-27T11:06:41.586Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:41.893Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:41.894Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T11:06:41.894Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T11:06:41.894Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T11:06:41.894Z] 4c7163046ea9: Pulling fs layer [2022-04-27T11:06:41.894Z] 0c2d73faf560: Pulling fs layer [2022-04-27T11:06:41.894Z] 0c2d73faf560: Waiting [2022-04-27T11:06:41.894Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T11:06:41.894Z] 3e5f54012d9b: Download complete [2022-04-27T11:06:42.155Z] a0d0a0d46f8b: Download complete [2022-04-27T11:06:42.155Z] 0c2d73faf560: Verifying Checksum [2022-04-27T11:06:42.155Z] 0c2d73faf560: Download complete [2022-04-27T11:06:42.155Z] 4c7163046ea9: Verifying Checksum [2022-04-27T11:06:42.155Z] 4c7163046ea9: Download complete [2022-04-27T11:06:42.155Z] a0d0a0d46f8b: Pull complete [2022-04-27T11:06:42.415Z] 3e5f54012d9b: Pull complete [2022-04-27T11:06:42.675Z] 4c7163046ea9: Pull complete [2022-04-27T11:06:42.675Z] 0c2d73faf560: Pull complete [2022-04-27T11:06:42.938Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T11:06:42.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:42.938Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T11:06:43.009Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:06:43.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:06:43.817Z] $ docker top 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:06:43.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:06:43.923Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:06:44.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:06:44.066Z] $ docker exec 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent [2022-04-27T11:06:44.178Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOBAjHg/agent.13 [2022-04-27T11:06:44.178Z] SSH_AGENT_PID=20 [2022-04-27T11:06:44.186Z] Running ssh-add (command line suppressed) [2022-04-27T11:06:44.315Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6687660871984006320.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6687660871984006320.key) [2022-04-27T11:06:44.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:06:44.615Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T11:06:44.640Z] $ docker exec --env ******** --env ******** 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent -k [2022-04-27T11:06:44.752Z] unset SSH_AUTH_SOCK; [2022-04-27T11:06:44.753Z] unset SSH_AGENT_PID; [2022-04-27T11:06:44.753Z] echo Agent pid 20 killed; [2022-04-27T11:06:44.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T11:06:44.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:06:44.783Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:06:44.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:06:44.924Z] $ docker exec 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent [2022-04-27T11:06:45.038Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDnbNlj/agent.53 [2022-04-27T11:06:45.038Z] SSH_AGENT_PID=60 [2022-04-27T11:06:45.044Z] Running ssh-add (command line suppressed) [2022-04-27T11:06:45.166Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3760551068543388620.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3760551068543388620.key) [2022-04-27T11:06:45.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:06:45.465Z] + git semver init [2022-04-27T11:06:45.465Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:06:45.465Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-27T11:06:45.465Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:06:45.465Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:06:45.465Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:06:45.465Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:06:45.465Z] # $SEMVER_BRANCH = main [2022-04-27T11:06:45.465Z] # $SEMVER_TEMP = /tmp/semver-437569400 [2022-04-27T11:06:45.465Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-27T11:06:46.407Z] # '/tmp/semver-437569400' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-04-27T11:06:46.407Z] # -> Force: false [2022-04-27T11:06:46.407Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-27T11:06:46.425Z] $ docker exec --env ******** --env ******** 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent -k [2022-04-27T11:06:46.527Z] unset SSH_AUTH_SOCK; [2022-04-27T11:06:46.527Z] unset SSH_AGENT_PID; [2022-04-27T11:06:46.527Z] echo Agent pid 60 killed; [2022-04-27T11:06:46.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:06:46.832Z] + git semver [Pipeline] } [2022-04-27T11:06:46.852Z] $ docker stop --time=1 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd [2022-04-27T11:06:48.197Z] $ docker rm -f 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:06:48.545Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T11:06:48.821Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T11:06:48.824Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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-04-27T11:06:48.980Z] provisioning config files... [2022-04-27T11:06:48.992Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4200415663345183858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:49.296Z] ---> docker-login.sh [2022-04-27T11:06:49.296Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:06:49.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:49.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:49.296Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:49.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:49.296Z] [2022-04-27T11:06:49.296Z] Login Succeeded [2022-04-27T11:06:49.296Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:06:49.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:49.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:49.557Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:49.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:49.557Z] [2022-04-27T11:06:49.557Z] Login Succeeded [2022-04-27T11:06:49.557Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:06:49.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:49.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:49.557Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:49.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:49.557Z] [2022-04-27T11:06:49.557Z] Login Succeeded [2022-04-27T11:06:49.557Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:06:49.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:49.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:49.822Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:49.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:49.822Z] [2022-04-27T11:06:49.822Z] Login Succeeded [2022-04-27T11:06:49.822Z] docker.io [2022-04-27T11:06:49.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:50.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:50.084Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:50.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:50.084Z] [2022-04-27T11:06:50.084Z] Login Succeeded [2022-04-27T11:06:50.084Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:06:50.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:06:50.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:06:50.176Z] ========================================================= [2022-04-27T11:06:50.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T11:06:50.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:50.478Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T11:06:50.478Z] Sending build context to Docker daemon 5.81MB [2022-04-27T11:06:50.478Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:06:50.478Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T11:06:50.478Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T11:06:50.478Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T11:06:50.478Z] 666ba61612fd: Pulling fs layer [2022-04-27T11:06:50.478Z] 8ed8ca486205: Pulling fs layer [2022-04-27T11:06:50.478Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T11:06:50.478Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T11:06:50.478Z] ca2b28591e48: Pulling fs layer [2022-04-27T11:06:50.478Z] a51346096db8: Pulling fs layer [2022-04-27T11:06:50.478Z] 4fe6c5a15a65: Waiting [2022-04-27T11:06:50.478Z] a51346096db8: Waiting [2022-04-27T11:06:50.478Z] 22a0e8bec74d: Waiting [2022-04-27T11:06:50.478Z] ca2b28591e48: Waiting [2022-04-27T11:06:50.478Z] daebc70d1ce1: Pulling fs layer [2022-04-27T11:06:50.478Z] 0e18a0eac166: Pulling fs layer [2022-04-27T11:06:50.478Z] daebc70d1ce1: Waiting [2022-04-27T11:06:50.478Z] 0e18a0eac166: Waiting [2022-04-27T11:06:50.478Z] 8ed8ca486205: Download complete [2022-04-27T11:06:50.478Z] 666ba61612fd: Download complete [2022-04-27T11:06:50.742Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T11:06:50.742Z] 22a0e8bec74d: Download complete [2022-04-27T11:06:50.742Z] ca2b28591e48: Download complete [2022-04-27T11:06:50.742Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T11:06:50.742Z] 59bf1c3509f3: Download complete [2022-04-27T11:06:50.742Z] a51346096db8: Verifying Checksum [2022-04-27T11:06:50.742Z] a51346096db8: Download complete [2022-04-27T11:06:50.742Z] daebc70d1ce1: Verifying Checksum [2022-04-27T11:06:50.742Z] daebc70d1ce1: Download complete [2022-04-27T11:06:50.742Z] 59bf1c3509f3: Pull complete [2022-04-27T11:06:51.006Z] 666ba61612fd: Pull complete [2022-04-27T11:06:51.006Z] 8ed8ca486205: Pull complete [2022-04-27T11:06:51.265Z] 0e18a0eac166: Verifying Checksum [2022-04-27T11:06:51.265Z] 0e18a0eac166: Download complete [2022-04-27T11:06:51.265Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T11:06:51.265Z] 4fe6c5a15a65: Download complete [2022-04-27T11:06:55.498Z] 4fe6c5a15a65: Pull complete [2022-04-27T11:06:55.498Z] 22a0e8bec74d: Pull complete [2022-04-27T11:06:55.498Z] ca2b28591e48: Pull complete [2022-04-27T11:06:55.498Z] a51346096db8: Pull complete [2022-04-27T11:06:55.498Z] daebc70d1ce1: Pull complete [2022-04-27T11:06:58.073Z] 0e18a0eac166: Pull complete [2022-04-27T11:06:58.073Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T11:06:58.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T11:06:58.073Z] ---> f018257e8ee9 [2022-04-27T11:06:58.073Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:07:00.617Z] ---> Running in e34abfecaee6 [2022-04-27T11:07:00.617Z] Removing intermediate container e34abfecaee6 [2022-04-27T11:07:00.617Z] ---> 2d0e22dae20c [2022-04-27T11:07:00.617Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:07:00.617Z] ---> Running in 2f1eac034269 [2022-04-27T11:07:00.617Z] Removing intermediate container 2f1eac034269 [2022-04-27T11:07:00.617Z] ---> 92714bf2a101 [2022-04-27T11:07:00.617Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:07:00.617Z] ---> Running in ccf857821c13 [2022-04-27T11:07:01.188Z] Removing intermediate container ccf857821c13 [2022-04-27T11:07:01.188Z] ---> 303bcdf974ee [2022-04-27T11:07:01.188Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:07:01.188Z] ---> Running in 1a2568a0ec23 [2022-04-27T11:07:01.448Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:02.395Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:02.654Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:07:02.654Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T11:07:02.654Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:07:02.912Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:07:02.912Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:07:02.912Z] OK: 224 MiB in 56 packages [2022-04-27T11:07:03.484Z] Removing intermediate container 1a2568a0ec23 [2022-04-27T11:07:03.484Z] ---> dde79d9fbc25 [2022-04-27T11:07:03.484Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-27T11:07:03.484Z] ---> Running in 27168578dd7f [2022-04-27T11:07:03.484Z] Removing intermediate container 27168578dd7f [2022-04-27T11:07:03.484Z] ---> 440db7ac9d84 [2022-04-27T11:07:03.484Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-27T11:07:03.484Z] ---> 830056eb2c60 [2022-04-27T11:07:03.484Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:07:03.745Z] ---> Running in b59c91af76db [2022-04-27T11:07:03.932Z] Still waiting to schedule task [2022-04-27T11:07:03.932Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ [2022-04-27T11:07:21.850Z] Removing intermediate container b59c91af76db [2022-04-27T11:07:21.850Z] ---> b5096565bfbb [2022-04-27T11:07:21.850Z] Step 10/12 : COPY . . [2022-04-27T11:07:21.850Z] ---> 1e7d83bada0d [2022-04-27T11:07:21.850Z] Step 11/12 : ARG MAKE='make build' [2022-04-27T11:07:21.850Z] ---> Running in 3229bde59217 [2022-04-27T11:07:21.850Z] Removing intermediate container 3229bde59217 [2022-04-27T11:07:21.850Z] ---> 2efe7a95c71b [2022-04-27T11:07:21.850Z] Step 12/12 : RUN $MAKE [2022-04-27T11:07:21.850Z] ---> Running in ddcff6f34874 [2022-04-27T11:07:21.850Z] noop [2022-04-27T11:07:21.850Z] Removing intermediate container ddcff6f34874 [2022-04-27T11:07:21.850Z] ---> 0e878a041a3c [2022-04-27T11:07:21.850Z] Successfully built 0e878a041a3c [2022-04-27T11:07:21.850Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:22.146Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:07:22.146Z] . [Pipeline] withDockerContainer [2022-04-27T11:07:22.214Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:07:22.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-04-27T11:07:22.760Z] $ docker top 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:07:23.111Z] + go version [2022-04-27T11:07:23.111Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T11:07:23.128Z] $ docker stop --time=1 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d [2022-04-27T11:07:24.424Z] $ docker rm -f 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:24.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:07:24.855Z] . [Pipeline] withDockerContainer [2022-04-27T11:07:24.924Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:07:25.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-04-27T11:07:25.421Z] $ docker top cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:07:25.808Z] + make test [2022-04-27T11:07:25.809Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-27T11:07:26.076Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-27T11:07:36.076Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-27T11:07:36.076Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-04-27T11:07:36.076Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-27T11:07:42.645Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:07:46.840Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:07:46.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:07:46.840Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:07:47.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:07:47.134Z] $ docker stop --time=1 cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af [2022-04-27T11:07:48.887Z] $ docker rm -f cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:07:49.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:07:49.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T11:07:49.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:07:50.267Z] + ls -al . [2022-04-27T11:07:50.267Z] total 176 [2022-04-27T11:07:50.267Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:07 . [2022-04-27T11:07:50.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 .. [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:06 .dockerignore [2022-04-27T11:07:50.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git [2022-04-27T11:07:50.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 .github [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 11:06 .gitignore [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:06 .golangci.yml [2022-04-27T11:07:50.267Z] drwx------ 3 jenkins jenkins 4096 Apr 27 11:06 .semver [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 11:06 Attribution.txt [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 11:06 CHANGELOG.md [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:06 Dockerfile [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:06 GOVERNANCE.md [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 11:06 Jenkinsfile [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:06 LICENSE [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:06 Makefile [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:06 OWNERS.md [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 11:06 README.md [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION [2022-04-27T11:07:50.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 bin [2022-04-27T11:07:50.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 cmd [2022-04-27T11:07:50.267Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 11:07 coverage.out [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 11:06 go.mod [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 11:06 go.sum [2022-04-27T11:07:50.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 internal [2022-04-27T11:07:50.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 mock [2022-04-27T11:07:50.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 snap [2022-04-27T11:07:50.267Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 11:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:50.560Z] + 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=1804939991e9cf6e6628dcf61ff454f4c33f5abe --label arch=amd64 --label version=2.2.0-dev.17 . [2022-04-27T11:07:50.560Z] Sending build context to Docker daemon 5.829MB [2022-04-27T11:07:50.560Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:07:50.560Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T11:07:50.560Z] ---> 0e878a041a3c [2022-04-27T11:07:50.560Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:07:50.560Z] ---> Running in 4d1805127cdb [2022-04-27T11:07:50.820Z] Removing intermediate container 4d1805127cdb [2022-04-27T11:07:50.820Z] ---> aa8a6e1fd4d1 [2022-04-27T11:07:50.820Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:07:50.820Z] ---> Running in 29e67f6becce [2022-04-27T11:07:50.820Z] Removing intermediate container 29e67f6becce [2022-04-27T11:07:50.820Z] ---> 7f11cb9211ae [2022-04-27T11:07:50.820Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:07:50.820Z] ---> Running in 5dcb36d6e568 [2022-04-27T11:07:51.391Z] Removing intermediate container 5dcb36d6e568 [2022-04-27T11:07:51.391Z] ---> 914ab4ae0aeb [2022-04-27T11:07:51.391Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:07:51.650Z] ---> Running in 6342c725d146 [2022-04-27T11:07:51.910Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:52.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:53.060Z] OK: 224 MiB in 56 packages [2022-04-27T11:07:53.320Z] Removing intermediate container 6342c725d146 [2022-04-27T11:07:53.320Z] ---> b720c9b28119 [2022-04-27T11:07:53.320Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-27T11:07:53.320Z] ---> Running in b0783a38ace1 [2022-04-27T11:07:53.320Z] Removing intermediate container b0783a38ace1 [2022-04-27T11:07:53.320Z] ---> dd402ca4b8a0 [2022-04-27T11:07:53.320Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-27T11:07:53.580Z] ---> 00d6bc3c7867 [2022-04-27T11:07:53.580Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:07:53.580Z] ---> Running in 818766b590d7 [2022-04-27T11:07:54.154Z] Removing intermediate container 818766b590d7 [2022-04-27T11:07:54.154Z] ---> 1243553eca6e [2022-04-27T11:07:54.154Z] Step 10/24 : COPY . . [2022-04-27T11:07:54.413Z] ---> 1ac7e8cc05fe [2022-04-27T11:07:54.413Z] Step 11/24 : ARG MAKE='make build' [2022-04-27T11:07:54.413Z] ---> Running in c34d05d07d8c [2022-04-27T11:07:54.676Z] Removing intermediate container c34d05d07d8c [2022-04-27T11:07:54.676Z] ---> f5a0d33c38c0 [2022-04-27T11:07:54.676Z] Step 12/24 : RUN $MAKE [2022-04-27T11:07:54.676Z] ---> Running in 7ad98bd0dd51 [2022-04-27T11:07:54.936Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-27T11:08:16.898Z] Removing intermediate container 7ad98bd0dd51 [2022-04-27T11:08:16.898Z] ---> 611d80f507ca [2022-04-27T11:08:16.898Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T11:08:16.898Z] 3.14: Pulling from library/alpine [2022-04-27T11:08:16.898Z] 8663204ce13b: Pulling fs layer [2022-04-27T11:08:16.898Z] 8663204ce13b: Verifying Checksum [2022-04-27T11:08:16.898Z] 8663204ce13b: Download complete [2022-04-27T11:08:16.898Z] 8663204ce13b: Pull complete [2022-04-27T11:08:16.898Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:08:16.898Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:08:16.898Z] ---> e04c818066af [2022-04-27T11:08:16.898Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-27T11:08:16.898Z] ---> Running in 9b2dfa0daf97 [2022-04-27T11:08:16.898Z] Removing intermediate container 9b2dfa0daf97 [2022-04-27T11:08:16.898Z] ---> d40a630171e7 [2022-04-27T11:08:16.898Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:08:16.898Z] ---> Running in 43475e95a410 [2022-04-27T11:08:16.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:16.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:16.898Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:08:16.898Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:08:16.898Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:08:16.898Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:08:16.898Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:08:16.898Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:08:16.898Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:08:16.898Z] OK: 8 MiB in 20 packages [2022-04-27T11:08:16.898Z] Removing intermediate container 43475e95a410 [2022-04-27T11:08:16.898Z] ---> 07324f827b96 [2022-04-27T11:08:16.898Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-27T11:08:16.898Z] ---> 4e3c87caccce [2022-04-27T11:08:16.898Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-27T11:08:16.898Z] ---> bf3de41f4ece [2022-04-27T11:08:16.898Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-27T11:08:17.158Z] ---> 6c0582e4db21 [2022-04-27T11:08:17.158Z] Step 19/24 : EXPOSE 59982 [2022-04-27T11:08:17.158Z] ---> Running in 347fd8268c7b [2022-04-27T11:08:17.158Z] Removing intermediate container 347fd8268c7b [2022-04-27T11:08:17.158Z] ---> 8364d6f55fd5 [2022-04-27T11:08:17.158Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-27T11:08:17.158Z] ---> Running in 30e8d41bada6 [2022-04-27T11:08:17.420Z] Removing intermediate container 30e8d41bada6 [2022-04-27T11:08:17.420Z] ---> 577d4ca30e02 [2022-04-27T11:08:17.420Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T11:08:17.420Z] ---> Running in 926f08ba8b10 [2022-04-27T11:08:17.420Z] Removing intermediate container 926f08ba8b10 [2022-04-27T11:08:17.420Z] ---> e15b9d34e23d [2022-04-27T11:08:17.420Z] Step 22/24 : LABEL arch=amd64 [2022-04-27T11:08:17.420Z] ---> Running in 3ee16cd7cfe2 [2022-04-27T11:08:17.680Z] Removing intermediate container 3ee16cd7cfe2 [2022-04-27T11:08:17.680Z] ---> 712285e7a0ee [2022-04-27T11:08:17.680Z] Step 23/24 : LABEL git_sha=1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:08:17.680Z] ---> Running in b57a7e361962 [2022-04-27T11:08:17.680Z] Removing intermediate container b57a7e361962 [2022-04-27T11:08:17.680Z] ---> 01e1b01e2040 [2022-04-27T11:08:17.680Z] Step 24/24 : LABEL version=2.2.0-dev.17 [2022-04-27T11:08:17.680Z] ---> Running in fa5b98b88075 [2022-04-27T11:08:17.940Z] Removing intermediate container fa5b98b88075 [2022-04-27T11:08:17.940Z] ---> fe8cc8350c5b [2022-04-27T11:08:17.940Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:08:17.940Z] Successfully built fe8cc8350c5b [2022-04-27T11:08:17.940Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:08:18.033Z] provisioning config files... [2022-04-27T11:08:18.042Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2647661719311642846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:08:18.338Z] ---> docker-login.sh [2022-04-27T11:08:18.338Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:08:18.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:18.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:18.338Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:18.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:18.338Z] [2022-04-27T11:08:18.338Z] Login Succeeded [2022-04-27T11:08:18.338Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:08:18.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:18.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:18.599Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:18.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:18.599Z] [2022-04-27T11:08:18.599Z] Login Succeeded [2022-04-27T11:08:18.599Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:08:18.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:18.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:18.599Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:18.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:18.599Z] [2022-04-27T11:08:18.599Z] Login Succeeded [2022-04-27T11:08:18.599Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:08:18.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:18.860Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:18.860Z] [2022-04-27T11:08:18.860Z] Login Succeeded [2022-04-27T11:08:18.860Z] docker.io [2022-04-27T11:08:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:19.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:19.120Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:19.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:19.120Z] [2022-04-27T11:08:19.120Z] Login Succeeded [2022-04-27T11:08:19.120Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:08:19.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:08:19.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:08:19.186Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-04-27T11:08:19.186Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:08:19.186Z] latest [2022-04-27T11:08:19.186Z] 2.2.0-dev.17 [2022-04-27T11:08:19.186Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:08:19.186Z] main [2022-04-27T11:08:19.186Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:19.512Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:19.804Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:08:19.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-27T11:08:19.804Z] df376d3efa2f: Preparing [2022-04-27T11:08:19.804Z] de64d8398c4b: Preparing [2022-04-27T11:08:19.804Z] 3e7b261492f7: Preparing [2022-04-27T11:08:19.804Z] 8336f2efc00f: Preparing [2022-04-27T11:08:19.804Z] b541d28bf3b4: Preparing [2022-04-27T11:08:19.804Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:19.804Z] df376d3efa2f: Pushed [2022-04-27T11:08:19.804Z] de64d8398c4b: Pushed [2022-04-27T11:08:20.065Z] 8336f2efc00f: Pushed [2022-04-27T11:08:22.601Z] 3e7b261492f7: Pushed [2022-04-27T11:08:22.601Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:22.896Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:23.191Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-27T11:08:23.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-27T11:08:23.192Z] df376d3efa2f: Preparing [2022-04-27T11:08:23.192Z] de64d8398c4b: Preparing [2022-04-27T11:08:23.192Z] 3e7b261492f7: Preparing [2022-04-27T11:08:23.192Z] 8336f2efc00f: Preparing [2022-04-27T11:08:23.192Z] b541d28bf3b4: Preparing [2022-04-27T11:08:23.192Z] 3e7b261492f7: Layer already exists [2022-04-27T11:08:23.192Z] 8336f2efc00f: Layer already exists [2022-04-27T11:08:23.192Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:23.192Z] df376d3efa2f: Layer already exists [2022-04-27T11:08:23.192Z] de64d8398c4b: Layer already exists [2022-04-27T11:08:23.192Z] latest: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:23.485Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:23.776Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 [2022-04-27T11:08:23.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-27T11:08:23.776Z] df376d3efa2f: Preparing [2022-04-27T11:08:23.776Z] de64d8398c4b: Preparing [2022-04-27T11:08:23.776Z] 3e7b261492f7: Preparing [2022-04-27T11:08:23.776Z] 8336f2efc00f: Preparing [2022-04-27T11:08:23.776Z] b541d28bf3b4: Preparing [2022-04-27T11:08:23.776Z] df376d3efa2f: Layer already exists [2022-04-27T11:08:23.776Z] 3e7b261492f7: Layer already exists [2022-04-27T11:08:23.776Z] de64d8398c4b: Layer already exists [2022-04-27T11:08:23.776Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:23.776Z] 8336f2efc00f: Layer already exists [2022-04-27T11:08:23.776Z] 2.2.0-dev.17: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:24.072Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:24.369Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:08:24.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-27T11:08:24.369Z] df376d3efa2f: Preparing [2022-04-27T11:08:24.369Z] de64d8398c4b: Preparing [2022-04-27T11:08:24.369Z] 3e7b261492f7: Preparing [2022-04-27T11:08:24.369Z] 8336f2efc00f: Preparing [2022-04-27T11:08:24.369Z] b541d28bf3b4: Preparing [2022-04-27T11:08:24.369Z] de64d8398c4b: Layer already exists [2022-04-27T11:08:24.369Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:24.369Z] 3e7b261492f7: Layer already exists [2022-04-27T11:08:24.369Z] df376d3efa2f: Layer already exists [2022-04-27T11:08:24.369Z] 8336f2efc00f: Layer already exists [2022-04-27T11:08:24.369Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:24.665Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:24.958Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-04-27T11:08:24.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-27T11:08:24.958Z] df376d3efa2f: Preparing [2022-04-27T11:08:24.958Z] de64d8398c4b: Preparing [2022-04-27T11:08:24.958Z] 3e7b261492f7: Preparing [2022-04-27T11:08:24.958Z] 8336f2efc00f: Preparing [2022-04-27T11:08:24.958Z] b541d28bf3b4: Preparing [2022-04-27T11:08:24.958Z] 3e7b261492f7: Layer already exists [2022-04-27T11:08:24.958Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:24.958Z] df376d3efa2f: Layer already exists [2022-04-27T11:08:24.958Z] de64d8398c4b: Layer already exists [2022-04-27T11:08:24.958Z] 8336f2efc00f: Layer already exists [2022-04-27T11:08:24.958Z] main: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:08:24.997Z] ===================================================== [Pipeline] echo [2022-04-27T11:08:25.007Z] taggedImages: [2022-04-27T11:08:25.007Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:08:25.007Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-27T11:08:25.007Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 [2022-04-27T11:08:25.007Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:08:25.007Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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] sh [2022-04-27T11:08:25.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:25.371Z] [2022-04-27T11:08:25.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:25.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:25.678Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T11:08:25.678Z] 5eb5b503b376: Pulling fs layer [2022-04-27T11:08:25.678Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T11:08:25.678Z] ec43610c2a17: Pulling fs layer [2022-04-27T11:08:25.678Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T11:08:25.678Z] 33b1e0a273af: Pulling fs layer [2022-04-27T11:08:25.678Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T11:08:25.678Z] 2f39f015ded8: Pulling fs layer [2022-04-27T11:08:25.678Z] 33b1e0a273af: Waiting [2022-04-27T11:08:25.678Z] 5d3b04190fa2: Waiting [2022-04-27T11:08:25.678Z] 3a2ae6a8a46f: Waiting [2022-04-27T11:08:25.678Z] 2f39f015ded8: Waiting [2022-04-27T11:08:25.678Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T11:08:25.678Z] 5c69ac0246d0: Download complete [2022-04-27T11:08:25.678Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T11:08:25.678Z] 3a2ae6a8a46f: Download complete [2022-04-27T11:08:25.678Z] ec43610c2a17: Verifying Checksum [2022-04-27T11:08:25.678Z] ec43610c2a17: Download complete [2022-04-27T11:08:25.678Z] 5d3b04190fa2: Download complete [2022-04-27T11:08:25.678Z] 33b1e0a273af: Verifying Checksum [2022-04-27T11:08:25.678Z] 33b1e0a273af: Download complete [2022-04-27T11:08:25.938Z] 5eb5b503b376: Verifying Checksum [2022-04-27T11:08:25.938Z] 5eb5b503b376: Download complete [2022-04-27T11:08:26.505Z] 2f39f015ded8: Download complete [2022-04-27T11:08:27.075Z] 5eb5b503b376: Pull complete [2022-04-27T11:08:27.335Z] 5c69ac0246d0: Pull complete [2022-04-27T11:08:27.595Z] ec43610c2a17: Pull complete [2022-04-27T11:08:27.595Z] 3a2ae6a8a46f: Pull complete [2022-04-27T11:08:27.853Z] 33b1e0a273af: Pull complete [2022-04-27T11:08:27.853Z] 5d3b04190fa2: Pull complete [2022-04-27T11:08:32.047Z] 2f39f015ded8: Pull complete [2022-04-27T11:08:32.047Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T11:08:32.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:32.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T11:08:32.112Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:08:32.155Z] $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T11:08:34.122Z] $ docker top d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:08:34.540Z] ---> job-cost.sh [2022-04-27T11:08:34.541Z] lf-activate-venv: SKIPPING [2022-04-27T11:08:34.541Z] INFO: No Stack... [2022-04-27T11:08:34.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:08:35.411Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:08:35.736Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-04-27T11:08:35.736Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T11:08:35.754Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [2022-04-27T11:08:35.760Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] did not exist. Created. [2022-04-27T11:08:35.760Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:08:36.066Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T11:08:36.093Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:08:36.099Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:08:36.128Z] $ docker stop --time=1 d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 [2022-04-27T11:08:37.293Z] $ docker rm -f d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T11:10:12.185Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33471 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-04-27T11:10:12.200Z] Running in /w/workspace/device-mqtt-go/38 [Pipeline] { [Pipeline] checkout [2022-04-27T11:10:12.597Z] Selected Git installation does not exist. Using Default [2022-04-27T11:10:12.597Z] The recommended git tool is: NONE [2022-04-27T11:10:20.373Z] using credential edgex-jenkins-ssh [2022-04-27T11:10:20.393Z] Cloning the remote Git repository [2022-04-27T11:10:20.469Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-27T11:10:20.570Z] > git init /w/workspace/device-mqtt-go/38 # timeout=10 [2022-04-27T11:10:20.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-27T11:10:20.663Z] > git --version # timeout=10 [2022-04-27T11:10:20.690Z] > git --version # 'git version 2.25.1' [2022-04-27T11:10:20.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T11:10:20.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:10:22.009Z] Avoid second fetch [2022-04-27T11:10:22.010Z] Checking out Revision 1804939991e9cf6e6628dcf61ff454f4c33f5abe (main) [2022-04-27T11:10:21.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-27T11:10:21.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:10:22.041Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T11:10:22.067Z] > git checkout -f 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 [2022-04-27T11:10:26.452Z] Commit message: "Merge pull request #372 from jinlinGuan/issue-371" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:10:27.390Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T11:10:27.390Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:10:27.390Z] Dload Upload Total Spent Left Speed [2022-04-27T11:10:27.390Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 162k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2022-04-27T11:10:27.946Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T11:10:28.306Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-04-27T11:10:28.306Z] [2022-04-27T11:10:28.306Z] { [2022-04-27T11:10:28.306Z] "registry-mirrors": [ [2022-04-27T11:10:28.306Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T11:10:28.306Z] ], [2022-04-27T11:10:28.306Z] "bip": "10.250.0.254/24", [2022-04-27T11:10:28.306Z] "hosts": [ [2022-04-27T11:10:28.306Z] "tcp://0.0.0.0:5555", [2022-04-27T11:10:28.306Z] "unix:///var/run/docker.sock" [2022-04-27T11:10:28.306Z] ], [2022-04-27T11:10:28.306Z] "mtu": 1458, [2022-04-27T11:10:28.306Z] "selinux-enabled": true, [2022-04-27T11:10:28.306Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T11:10:28.306Z] } [Pipeline] sh [2022-04-27T11:10:28.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T11:10:29.026Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:10:47.412Z] provisioning config files... [2022-04-27T11:10:47.444Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config7418008564046434048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:10:47.828Z] ---> docker-login.sh [2022-04-27T11:10:47.828Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:10:48.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:48.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:48.712Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:48.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:48.712Z] [2022-04-27T11:10:48.712Z] Login Succeeded [2022-04-27T11:10:48.712Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:10:49.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:49.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:49.314Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:49.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:49.314Z] [2022-04-27T11:10:49.314Z] Login Succeeded [2022-04-27T11:10:49.314Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:10:49.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:49.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:49.922Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:49.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:49.922Z] [2022-04-27T11:10:49.922Z] Login Succeeded [2022-04-27T11:10:49.922Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:10:50.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:50.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:50.474Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:50.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:50.474Z] [2022-04-27T11:10:50.474Z] Login Succeeded [2022-04-27T11:10:50.474Z] docker.io [2022-04-27T11:10:50.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:51.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:51.401Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:51.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:51.401Z] [2022-04-27T11:10:51.401Z] Login Succeeded [2022-04-27T11:10:51.401Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:10:51.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:10:51.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:10:51.977Z] ========================================================= [2022-04-27T11:10:51.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T11:10:51.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:10:52.334Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T11:10:52.610Z] Sending build context to Docker daemon 3.026MB [2022-04-27T11:10:52.905Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:10:52.905Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T11:10:52.905Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T11:10:52.905Z] 9b3977197b4f: Pulling fs layer [2022-04-27T11:10:52.905Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T11:10:52.905Z] 94645a83ff95: Pulling fs layer [2022-04-27T11:10:52.905Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T11:10:52.905Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T11:10:52.905Z] 3096ccb668a1: Pulling fs layer [2022-04-27T11:10:52.905Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T11:10:52.905Z] a4caa8a26152: Pulling fs layer [2022-04-27T11:10:52.905Z] 3f3a8bcf1eab: Waiting [2022-04-27T11:10:52.905Z] 0c92f367c5e7: Waiting [2022-04-27T11:10:52.905Z] 3096ccb668a1: Waiting [2022-04-27T11:10:52.905Z] e8cf19c19ddd: Waiting [2022-04-27T11:10:52.905Z] a4caa8a26152: Waiting [2022-04-27T11:10:52.905Z] 94645a83ff95: Verifying Checksum [2022-04-27T11:10:52.905Z] 94645a83ff95: Download complete [2022-04-27T11:10:52.905Z] 1a89e8eeedd5: Download complete [2022-04-27T11:10:52.905Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T11:10:52.905Z] 0c92f367c5e7: Download complete [2022-04-27T11:10:53.199Z] 3096ccb668a1: Verifying Checksum [2022-04-27T11:10:53.199Z] 9b3977197b4f: Verifying Checksum [2022-04-27T11:10:53.199Z] 9b3977197b4f: Download complete [2022-04-27T11:10:53.199Z] 3096ccb668a1: Download complete [2022-04-27T11:10:53.199Z] e8cf19c19ddd: Download complete [2022-04-27T11:10:53.798Z] 9b3977197b4f: Pull complete [2022-04-27T11:10:54.413Z] 1a89e8eeedd5: Pull complete [2022-04-27T11:10:55.034Z] 94645a83ff95: Pull complete [2022-04-27T11:10:55.306Z] a4caa8a26152: Verifying Checksum [2022-04-27T11:10:55.306Z] a4caa8a26152: Download complete [2022-04-27T11:10:55.588Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T11:10:55.588Z] 3f3a8bcf1eab: Download complete [2022-04-27T11:11:08.042Z] 3f3a8bcf1eab: Pull complete [2022-04-27T11:11:08.042Z] 0c92f367c5e7: Pull complete [2022-04-27T11:11:08.317Z] 3096ccb668a1: Pull complete [2022-04-27T11:11:08.594Z] e8cf19c19ddd: Pull complete [2022-04-27T11:11:15.415Z] a4caa8a26152: Pull complete [2022-04-27T11:11:15.415Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T11:11:15.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T11:11:15.415Z] ---> 725f1c02e7f9 [2022-04-27T11:11:15.415Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:11:16.895Z] ---> Running in 08536f23d724 [2022-04-27T11:11:16.895Z] Removing intermediate container 08536f23d724 [2022-04-27T11:11:16.895Z] ---> a5ae11ddcdd1 [2022-04-27T11:11:16.895Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:11:17.171Z] ---> Running in abc8d55c14d1 [2022-04-27T11:11:17.451Z] Removing intermediate container abc8d55c14d1 [2022-04-27T11:11:17.451Z] ---> 56cf29ab8d34 [2022-04-27T11:11:17.451Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:11:17.451Z] ---> Running in 9bb0c1dcc138 [2022-04-27T11:11:20.870Z] Removing intermediate container 9bb0c1dcc138 [2022-04-27T11:11:20.870Z] ---> 2923a231fad2 [2022-04-27T11:11:20.870Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:11:20.870Z] ---> Running in a6f5c8b05b2f [2022-04-27T11:11:21.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:11:22.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:11:23.820Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:11:23.820Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T11:11:24.092Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:11:24.368Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:11:24.368Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:11:24.368Z] OK: 224 MiB in 56 packages [2022-04-27T11:11:25.358Z] Removing intermediate container a6f5c8b05b2f [2022-04-27T11:11:25.358Z] ---> fb2a455ed256 [2022-04-27T11:11:25.358Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-27T11:11:25.358Z] ---> Running in b807245faa5b [2022-04-27T11:11:25.973Z] Removing intermediate container b807245faa5b [2022-04-27T11:11:25.973Z] ---> 14b92fa686c3 [2022-04-27T11:11:25.973Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-27T11:11:26.571Z] ---> 84bf8a7825cc [2022-04-27T11:11:26.571Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:11:26.571Z] ---> Running in e53d3f7ad4e6 [2022-04-27T11:12:13.558Z] Removing intermediate container e53d3f7ad4e6 [2022-04-27T11:12:13.558Z] ---> ddb008efda1a [2022-04-27T11:12:13.558Z] Step 10/12 : COPY . . [2022-04-27T11:12:13.558Z] ---> ca375a417ad8 [2022-04-27T11:12:13.558Z] Step 11/12 : ARG MAKE='make build' [2022-04-27T11:12:13.558Z] ---> Running in 9b82264ad6fc [2022-04-27T11:12:13.834Z] Removing intermediate container 9b82264ad6fc [2022-04-27T11:12:13.834Z] ---> 74998e37437a [2022-04-27T11:12:13.834Z] Step 12/12 : RUN $MAKE [2022-04-27T11:12:14.111Z] ---> Running in 13e856cd012a [2022-04-27T11:12:15.092Z] noop [2022-04-27T11:12:15.692Z] Removing intermediate container 13e856cd012a [2022-04-27T11:12:15.692Z] ---> abd9c497973c [2022-04-27T11:12:15.692Z] Successfully built abd9c497973c [2022-04-27T11:12:15.692Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:12:16.045Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:12:16.045Z] . [Pipeline] withDockerContainer [2022-04-27T11:12:16.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container [2022-04-27T11:12:16.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@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 ******** ci-base-image-arm64 cat [2022-04-27T11:12:17.885Z] $ docker top 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:12:18.852Z] + go version [2022-04-27T11:12:18.852Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T11:12:18.882Z] $ docker stop --time=1 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec [2022-04-27T11:12:20.600Z] $ docker rm -f 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:12:21.225Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:12:21.225Z] . [Pipeline] withDockerContainer [2022-04-27T11:12:21.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container [2022-04-27T11:12:21.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@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 ******** ci-base-image-arm64 cat [2022-04-27T11:12:23.020Z] $ docker top 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:12:23.997Z] + make test [2022-04-27T11:12:23.997Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-27T11:12:26.006Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-27T11:14:02.938Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-27T11:14:02.938Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-04-27T11:14:02.938Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-27T11:14:02.938Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T11:14:02.938Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:14:21.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:14:21.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:14:21.348Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:14:24.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:14:24.796Z] $ docker stop --time=1 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed [2022-04-27T11:14:26.646Z] $ docker rm -f 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:14:27.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:14:27.680Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T11:14:28.203Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:14:28.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:14:28.954Z] + ls -al . [2022-04-27T11:14:28.954Z] total 172 [2022-04-27T11:14:28.954Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:14 . [2022-04-27T11:14:28.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 .. [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:10 .dockerignore [2022-04-27T11:14:28.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:10 .git [2022-04-27T11:14:28.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 .github [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 11:10 .gitignore [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:10 .golangci.yml [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 11:10 Attribution.txt [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 11:10 CHANGELOG.md [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:10 Dockerfile [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:10 GOVERNANCE.md [2022-04-27T11:14:28.954Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 11:10 Jenkinsfile [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:10 LICENSE [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:10 Makefile [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:10 OWNERS.md [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 11:10 README.md [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION [2022-04-27T11:14:28.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 bin [2022-04-27T11:14:28.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 cmd [2022-04-27T11:14:28.955Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 11:13 coverage.out [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 11:10 go.mod [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 11:10 go.sum [2022-04-27T11:14:28.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 internal [2022-04-27T11:14:28.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 mock [2022-04-27T11:14:28.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 snap [2022-04-27T11:14:28.955Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 11:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:14:29.308Z] + 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=1804939991e9cf6e6628dcf61ff454f4c33f5abe --label arch=arm64 --label version=2.2.0-dev.17 . [2022-04-27T11:14:29.583Z] Sending build context to Docker daemon 3.044MB [2022-04-27T11:14:29.859Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:14:29.859Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T11:14:29.859Z] ---> abd9c497973c [2022-04-27T11:14:29.859Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:14:29.859Z] ---> Running in ea65dd889abd [2022-04-27T11:14:30.137Z] Removing intermediate container ea65dd889abd [2022-04-27T11:14:30.137Z] ---> 3aecab7d89f1 [2022-04-27T11:14:30.137Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:14:30.419Z] ---> Running in b8dc599dc852 [2022-04-27T11:14:30.693Z] Removing intermediate container b8dc599dc852 [2022-04-27T11:14:30.693Z] ---> 7b80dad17b0d [2022-04-27T11:14:30.693Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:14:30.693Z] ---> Running in 5e9080495d2e [2022-04-27T11:14:32.670Z] Removing intermediate container 5e9080495d2e [2022-04-27T11:14:32.670Z] ---> 6c14da746f6c [2022-04-27T11:14:32.670Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:14:32.670Z] ---> Running in eb146f306c3b [2022-04-27T11:14:33.653Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:14:34.632Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:14:35.616Z] OK: 224 MiB in 56 packages [2022-04-27T11:14:36.230Z] Removing intermediate container eb146f306c3b [2022-04-27T11:14:36.230Z] ---> 4521980876f6 [2022-04-27T11:14:36.230Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-27T11:14:36.230Z] ---> Running in f5765aa064b8 [2022-04-27T11:14:36.831Z] Removing intermediate container f5765aa064b8 [2022-04-27T11:14:36.831Z] ---> dd60e96849d4 [2022-04-27T11:14:36.831Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-27T11:14:37.428Z] ---> ec8e86314b8a [2022-04-27T11:14:37.428Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:14:37.428Z] ---> Running in ca17e0378683 [2022-04-27T11:14:39.418Z] Removing intermediate container ca17e0378683 [2022-04-27T11:14:39.418Z] ---> 3bec9a3ff330 [2022-04-27T11:14:39.418Z] Step 10/24 : COPY . . [2022-04-27T11:14:40.402Z] ---> 1329d5493cdd [2022-04-27T11:14:40.402Z] Step 11/24 : ARG MAKE='make build' [2022-04-27T11:14:40.402Z] ---> Running in c1ae9b5919ca [2022-04-27T11:14:41.009Z] Removing intermediate container c1ae9b5919ca [2022-04-27T11:14:41.009Z] ---> 9665d43b5db9 [2022-04-27T11:14:41.009Z] Step 12/24 : RUN $MAKE [2022-04-27T11:14:41.009Z] ---> Running in 66c021e6e09d [2022-04-27T11:14:41.994Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-27T11:17:03.919Z] Removing intermediate container 66c021e6e09d [2022-04-27T11:17:03.919Z] ---> 1111e4a61cea [2022-04-27T11:17:03.919Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T11:17:03.919Z] 3.14: Pulling from library/alpine [2022-04-27T11:17:03.919Z] 455c02918c45: Pulling fs layer [2022-04-27T11:17:03.919Z] 455c02918c45: Verifying Checksum [2022-04-27T11:17:03.919Z] 455c02918c45: Download complete [2022-04-27T11:17:03.919Z] 455c02918c45: Pull complete [2022-04-27T11:17:03.919Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:17:03.919Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:17:03.919Z] ---> ac73e934f311 [2022-04-27T11:17:03.919Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-27T11:17:03.919Z] ---> Running in 854517de817d [2022-04-27T11:17:03.919Z] Removing intermediate container 854517de817d [2022-04-27T11:17:03.919Z] ---> 1faaa33e2a2c [2022-04-27T11:17:03.919Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:17:03.919Z] ---> Running in c715a9684dfd [2022-04-27T11:17:03.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:17:03.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:17:03.919Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:17:03.919Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:17:03.919Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:17:03.919Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:17:03.919Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:17:03.919Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:17:03.919Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:17:03.919Z] OK: 8 MiB in 20 packages [2022-04-27T11:17:03.919Z] Removing intermediate container c715a9684dfd [2022-04-27T11:17:03.919Z] ---> ee8dad1deea0 [2022-04-27T11:17:03.919Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-27T11:17:03.919Z] ---> 1539ff17c513 [2022-04-27T11:17:03.920Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-27T11:17:03.920Z] ---> 7b015919a9b9 [2022-04-27T11:17:03.920Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-27T11:17:03.920Z] ---> 869504d27141 [2022-04-27T11:17:03.920Z] Step 19/24 : EXPOSE 59982 [2022-04-27T11:17:03.920Z] ---> Running in f2a9c5a6f425 [2022-04-27T11:17:03.920Z] Removing intermediate container f2a9c5a6f425 [2022-04-27T11:17:03.920Z] ---> ee9d3c215328 [2022-04-27T11:17:03.920Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-27T11:17:03.920Z] ---> Running in fb32a195044d [2022-04-27T11:17:03.920Z] Removing intermediate container fb32a195044d [2022-04-27T11:17:03.920Z] ---> 9b1d883f2ba0 [2022-04-27T11:17:03.920Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T11:17:03.920Z] ---> Running in 6f4636423e86 [2022-04-27T11:17:03.920Z] Removing intermediate container 6f4636423e86 [2022-04-27T11:17:03.920Z] ---> 2f6eabc90b0d [2022-04-27T11:17:03.920Z] Step 22/24 : LABEL arch=arm64 [2022-04-27T11:17:03.920Z] ---> Running in c6b68212b679 [2022-04-27T11:17:03.920Z] Removing intermediate container c6b68212b679 [2022-04-27T11:17:03.920Z] ---> 66fb70e82ffd [2022-04-27T11:17:03.920Z] Step 23/24 : LABEL git_sha=1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:17:03.920Z] ---> Running in 797e9cb5bb47 [2022-04-27T11:17:03.920Z] Removing intermediate container 797e9cb5bb47 [2022-04-27T11:17:03.920Z] ---> b46d56793e59 [2022-04-27T11:17:03.920Z] Step 24/24 : LABEL version=2.2.0-dev.17 [2022-04-27T11:17:03.920Z] ---> Running in 0c0d4bc80fc1 [2022-04-27T11:17:03.920Z] Removing intermediate container 0c0d4bc80fc1 [2022-04-27T11:17:03.920Z] ---> 853e932e3ed4 [2022-04-27T11:17:03.920Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:17:03.920Z] Successfully built 853e932e3ed4 [2022-04-27T11:17:03.920Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:17:04.025Z] provisioning config files... [2022-04-27T11:17:04.044Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config7818779198300006984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:04.400Z] ---> docker-login.sh [2022-04-27T11:17:04.400Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:17:04.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:04.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:04.675Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:04.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:04.675Z] [2022-04-27T11:17:04.675Z] Login Succeeded [2022-04-27T11:17:04.675Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:17:05.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:05.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:05.278Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:05.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:05.278Z] [2022-04-27T11:17:05.278Z] Login Succeeded [2022-04-27T11:17:05.278Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:17:05.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:05.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:05.880Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:05.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:05.880Z] [2022-04-27T11:17:05.880Z] Login Succeeded [2022-04-27T11:17:05.880Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:17:06.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:06.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:06.430Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:06.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:06.430Z] [2022-04-27T11:17:06.430Z] Login Succeeded [2022-04-27T11:17:06.430Z] docker.io [2022-04-27T11:17:06.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:07.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:07.300Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:07.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:07.300Z] [2022-04-27T11:17:07.300Z] Login Succeeded [2022-04-27T11:17:07.300Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:17:07.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:17:07.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:17:07.375Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-04-27T11:17:07.375Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:17:07.375Z] latest [2022-04-27T11:17:07.375Z] 2.2.0-dev.17 [2022-04-27T11:17:07.375Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:17:07.375Z] main [2022-04-27T11:17:07.375Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:07.745Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:08.084Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:17:08.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-27T11:17:08.084Z] aa35abe9c8d1: Preparing [2022-04-27T11:17:08.084Z] 9f1ea6ba1c2e: Preparing [2022-04-27T11:17:08.084Z] 5fa19ce3df25: Preparing [2022-04-27T11:17:08.084Z] 2d134f6da41d: Preparing [2022-04-27T11:17:08.084Z] f73e7dbfee58: Preparing [2022-04-27T11:17:08.084Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:08.358Z] 9f1ea6ba1c2e: Pushed [2022-04-27T11:17:08.358Z] aa35abe9c8d1: Pushed [2022-04-27T11:17:08.953Z] 2d134f6da41d: Pushed [2022-04-27T11:17:14.350Z] 5fa19ce3df25: Pushed [2022-04-27T11:17:14.350Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:14.691Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:15.034Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-27T11:17:15.034Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-27T11:17:15.034Z] aa35abe9c8d1: Preparing [2022-04-27T11:17:15.034Z] 9f1ea6ba1c2e: Preparing [2022-04-27T11:17:15.034Z] 5fa19ce3df25: Preparing [2022-04-27T11:17:15.034Z] 2d134f6da41d: Preparing [2022-04-27T11:17:15.034Z] f73e7dbfee58: Preparing [2022-04-27T11:17:15.034Z] aa35abe9c8d1: Layer already exists [2022-04-27T11:17:15.034Z] 9f1ea6ba1c2e: Layer already exists [2022-04-27T11:17:15.034Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:15.034Z] 5fa19ce3df25: Layer already exists [2022-04-27T11:17:15.034Z] 2d134f6da41d: Layer already exists [2022-04-27T11:17:15.309Z] latest: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:15.666Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:16.016Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 [2022-04-27T11:17:16.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-27T11:17:16.016Z] aa35abe9c8d1: Preparing [2022-04-27T11:17:16.016Z] 9f1ea6ba1c2e: Preparing [2022-04-27T11:17:16.016Z] 5fa19ce3df25: Preparing [2022-04-27T11:17:16.016Z] 2d134f6da41d: Preparing [2022-04-27T11:17:16.016Z] f73e7dbfee58: Preparing [2022-04-27T11:17:16.016Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:16.016Z] 5fa19ce3df25: Layer already exists [2022-04-27T11:17:16.016Z] 2d134f6da41d: Layer already exists [2022-04-27T11:17:16.016Z] 9f1ea6ba1c2e: Layer already exists [2022-04-27T11:17:16.016Z] aa35abe9c8d1: Layer already exists [2022-04-27T11:17:16.290Z] 2.2.0-dev.17: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:16.643Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:16.995Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:17:16.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-27T11:17:16.995Z] aa35abe9c8d1: Preparing [2022-04-27T11:17:16.995Z] 9f1ea6ba1c2e: Preparing [2022-04-27T11:17:16.995Z] 5fa19ce3df25: Preparing [2022-04-27T11:17:16.995Z] 2d134f6da41d: Preparing [2022-04-27T11:17:16.995Z] f73e7dbfee58: Preparing [2022-04-27T11:17:16.995Z] 2d134f6da41d: Layer already exists [2022-04-27T11:17:16.995Z] aa35abe9c8d1: Layer already exists [2022-04-27T11:17:16.995Z] 5fa19ce3df25: Layer already exists [2022-04-27T11:17:16.995Z] 9f1ea6ba1c2e: Layer already exists [2022-04-27T11:17:16.995Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:17.272Z] 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:17.639Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:17.991Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-04-27T11:17:17.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-27T11:17:17.991Z] aa35abe9c8d1: Preparing [2022-04-27T11:17:17.991Z] 9f1ea6ba1c2e: Preparing [2022-04-27T11:17:17.991Z] 5fa19ce3df25: Preparing [2022-04-27T11:17:17.991Z] 2d134f6da41d: Preparing [2022-04-27T11:17:17.991Z] f73e7dbfee58: Preparing [2022-04-27T11:17:18.265Z] aa35abe9c8d1: Layer already exists [2022-04-27T11:17:18.265Z] 9f1ea6ba1c2e: Layer already exists [2022-04-27T11:17:18.265Z] 2d134f6da41d: Layer already exists [2022-04-27T11:17:18.265Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:18.265Z] 5fa19ce3df25: Layer already exists [2022-04-27T11:17:18.265Z] main: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:17:18.321Z] ===================================================== [Pipeline] echo [2022-04-27T11:17:18.331Z] taggedImages: [2022-04-27T11:17:18.331Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe [2022-04-27T11:17:18.331Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-27T11:17:18.331Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 [2022-04-27T11:17:18.331Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [2022-04-27T11:17:18.331Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:18.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:18.718Z] [2022-04-27T11:17:18.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:19.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:19.358Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T11:17:19.358Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T11:17:19.358Z] 04944245beec: Pulling fs layer [2022-04-27T11:17:19.358Z] 699f458cf7ca: Pulling fs layer [2022-04-27T11:17:19.358Z] 765212b225bb: Pulling fs layer [2022-04-27T11:17:19.358Z] f23df028b6ca: Pulling fs layer [2022-04-27T11:17:19.358Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T11:17:19.358Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T11:17:19.358Z] f23df028b6ca: Waiting [2022-04-27T11:17:19.358Z] d65c8cfc05b1: Waiting [2022-04-27T11:17:19.358Z] 2437ff75d9bd: Waiting [2022-04-27T11:17:19.358Z] 04944245beec: Verifying Checksum [2022-04-27T11:17:19.358Z] 04944245beec: Download complete [2022-04-27T11:17:19.358Z] 765212b225bb: Verifying Checksum [2022-04-27T11:17:19.358Z] 765212b225bb: Download complete [2022-04-27T11:17:19.358Z] f23df028b6ca: Download complete [2022-04-27T11:17:19.635Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T11:17:19.635Z] d65c8cfc05b1: Download complete [2022-04-27T11:17:19.635Z] 699f458cf7ca: Verifying Checksum [2022-04-27T11:17:19.635Z] 699f458cf7ca: Download complete [2022-04-27T11:17:19.912Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T11:17:19.912Z] 8998bd30e6a1: Download complete [2022-04-27T11:17:22.539Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T11:17:22.539Z] 2437ff75d9bd: Download complete [2022-04-27T11:17:24.522Z] 8998bd30e6a1: Pull complete [2022-04-27T11:17:24.799Z] 04944245beec: Pull complete [2022-04-27T11:17:26.243Z] 699f458cf7ca: Pull complete [2022-04-27T11:17:26.516Z] 765212b225bb: Pull complete [2022-04-27T11:17:27.499Z] f23df028b6ca: Pull complete [2022-04-27T11:17:27.773Z] d65c8cfc05b1: Pull complete [2022-04-27T11:17:42.899Z] 2437ff75d9bd: Pull complete [2022-04-27T11:17:42.899Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T11:17:42.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:42.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T11:17:43.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container [2022-04-27T11:17:43.211Z] $ 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/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T11:17:45.849Z] $ docker top 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:46.813Z] ---> job-cost.sh [2022-04-27T11:17:46.813Z] lf-activate-venv: SKIPPING [2022-04-27T11:17:46.813Z] INFO: No Stack... [2022-04-27T11:17:47.413Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T11:17:48.011Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:17:48.678Z] + cut -d, -f6 [2022-04-27T11:17:48.678Z] + cat /w/workspace/device-mqtt-go/38/archives/cost.csv [Pipeline] lock [2022-04-27T11:17:48.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [2022-04-27T11:17:48.766Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] did not exist. Created. [2022-04-27T11:17:48.766Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:17:49.444Z] /w/workspace/device-mqtt-go/38@tmp/durable-d3f0c408/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T11:17:50.137Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T11:17:50.166Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T11:17:50.215Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:17:50.221Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:17:50.249Z] $ docker stop --time=1 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 [2022-04-27T11:17:51.759Z] $ docker rm -f 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 [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-04-27T11:17:52.212Z] provisioning config files... [2022-04-27T11:17:52.233Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config726591510098806272tmp [Pipeline] { [Pipeline] sh [2022-04-27T11:17:52.579Z] + set +x [2022-04-27T11:17:52.579Z] + curl -s https://codecov.io/bash [2022-04-27T11:17:52.579Z] + bash -s -- [2022-04-27T11:17:52.579Z] [2022-04-27T11:17:52.579Z] _____ _ [2022-04-27T11:17:52.579Z] / ____| | | [2022-04-27T11:17:52.579Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T11:17:52.579Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T11:17:52.579Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T11:17:52.579Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T11:17:52.579Z] Bash-1.0.6 [2022-04-27T11:17:52.579Z] [2022-04-27T11:17:52.579Z] [2022-04-27T11:17:52.579Z] ==> git version 2.25.1 found [2022-04-27T11:17:52.579Z] ==> 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-04-27T11:17:52.579Z] Release-Date: 2020-01-08 [2022-04-27T11:17:52.579Z] 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-04-27T11:17:52.579Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T11:17:52.579Z] ==> Jenkins CI detected. [2022-04-27T11:17:52.579Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:17:52.579Z] project root: . [2022-04-27T11:17:52.579Z] --> token set from env [2022-04-27T11:17:52.579Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T11:17:52.579Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T11:17:52.579Z] ==> Python coveragepy not found [2022-04-27T11:17:52.579Z] ==> Searching for coverage reports in: [2022-04-27T11:17:52.579Z] + . [2022-04-27T11:17:52.579Z] -> Found 1 reports [2022-04-27T11:17:52.579Z] ==> Detecting git/mercurial file structure [2022-04-27T11:17:52.579Z] ==> Reading reports [2022-04-27T11:17:52.579Z] + ./coverage.out bytes=17887 [2022-04-27T11:17:52.579Z] ==> Appending adjustments [2022-04-27T11:17:52.579Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T11:17:52.870Z] + Found adjustments [2022-04-27T11:17:52.870Z] ==> Gzipping contents [2022-04-27T11:17:52.870Z] 4.0K /tmp/codecov.6qU7sN.gz [2022-04-27T11:17:52.870Z] ==> Uploading reports [2022-04-27T11:17:52.870Z] url: https://codecov.io [2022-04-27T11:17:52.870Z] query: branch=main&commit=1804939991e9cf6e6628dcf61ff454f4c33f5abe&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:52.870Z] -> Pinging Codecov [2022-04-27T11:17:52.870Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=1804939991e9cf6e6628dcf61ff454f4c33f5abe&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:53.129Z] -> Uploading to [2022-04-27T11:17:53.129Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7D719EC7BBE17E464838252E33014C33/1804939991e9cf6e6628dcf61ff454f4c33f5abe/91d71ddf-baab-4fcf-ad68-5c586d90522a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6a892c002e27a23cb30844621f6e0c219ebd56a5969658bf96dafa4dae3c564 [2022-04-27T11:17:53.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:17:53.129Z] Dload Upload Total Spent Left Speed [2022-04-27T11:17:53.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 14064 --:--:-- --:--:-- --:--:-- 14064 [2022-04-27T11:17:53.389Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] } [2022-04-27T11:17:53.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-27T11:17:53.548Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-27T11:17:53.558Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:53.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:53.857Z] [2022-04-27T11:17:53.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:54.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:54.161Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-27T11:17:54.161Z] 188c0c94c7c5: Pulling fs layer [2022-04-27T11:17:54.161Z] 0ef7d3d256c8: Pulling fs layer [2022-04-27T11:17:54.161Z] de9db76c5a1d: Pulling fs layer [2022-04-27T11:17:54.161Z] 0eba1c9be4d2: Pulling fs layer [2022-04-27T11:17:54.161Z] 0d57e429df01: Pulling fs layer [2022-04-27T11:17:54.161Z] 4e4be7b47b0d: Pulling fs layer [2022-04-27T11:17:54.161Z] e1f770b5df2f: Pulling fs layer [2022-04-27T11:17:54.161Z] 0eba1c9be4d2: Waiting [2022-04-27T11:17:54.161Z] 85a0685a4137: Pulling fs layer [2022-04-27T11:17:54.161Z] 0d57e429df01: Waiting [2022-04-27T11:17:54.161Z] 4e4be7b47b0d: Waiting [2022-04-27T11:17:54.161Z] e1f770b5df2f: Waiting [2022-04-27T11:17:54.161Z] 85a0685a4137: Waiting [2022-04-27T11:17:54.161Z] de9db76c5a1d: Verifying Checksum [2022-04-27T11:17:54.161Z] de9db76c5a1d: Download complete [2022-04-27T11:17:54.161Z] 0ef7d3d256c8: Download complete [2022-04-27T11:17:54.161Z] 0d57e429df01: Download complete [2022-04-27T11:17:54.161Z] 4e4be7b47b0d: Verifying Checksum [2022-04-27T11:17:54.161Z] 4e4be7b47b0d: Download complete [2022-04-27T11:17:54.161Z] 188c0c94c7c5: Verifying Checksum [2022-04-27T11:17:54.421Z] 188c0c94c7c5: Pull complete [2022-04-27T11:17:54.421Z] e1f770b5df2f: Verifying Checksum [2022-04-27T11:17:54.421Z] e1f770b5df2f: Download complete [2022-04-27T11:17:54.421Z] 0ef7d3d256c8: Pull complete [2022-04-27T11:17:54.680Z] de9db76c5a1d: Pull complete [2022-04-27T11:17:54.937Z] 0eba1c9be4d2: Verifying Checksum [2022-04-27T11:17:54.937Z] 0eba1c9be4d2: Download complete [2022-04-27T11:17:54.937Z] 85a0685a4137: Verifying Checksum [2022-04-27T11:17:54.937Z] 85a0685a4137: Download complete [2022-04-27T11:17:58.231Z] 0eba1c9be4d2: Pull complete [2022-04-27T11:17:58.231Z] 0d57e429df01: Pull complete [2022-04-27T11:17:58.231Z] 4e4be7b47b0d: Pull complete [2022-04-27T11:17:58.796Z] e1f770b5df2f: Pull complete [2022-04-27T11:18:02.085Z] 85a0685a4137: Pull complete [2022-04-27T11:18:02.085Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-27T11:18:02.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:18:02.085Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-27T11:18:02.152Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:18:02.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-27T11:18:05.215Z] $ docker top d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-27T11:18:05.287Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-27T11:18:05.567Z] + set -o pipefail [2022-04-27T11:18:05.567Z] + snyk monitor '--org=edgex-jenkins' [2022-04-27T11:18:10.846Z] [2022-04-27T11:18:10.846Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-04-27T11:18:10.846Z] [2022-04-27T11:18:10.846Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/43cd30ca-7e70-42b1-bd0c-f0b8922ba82e [2022-04-27T11:18:10.846Z] [2022-04-27T11:18:10.846Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-27T11:18:10.846Z] [2022-04-27T11:18:10.846Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-27T11:18:10.846Z] [2022-04-27T11:18:11.107Z] [Pipeline] } [2022-04-27T11:18:11.124Z] $ docker stop --time=1 d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 [2022-04-27T11:18:15.850Z] $ docker rm -f d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:18:16.613Z] + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] sh [2022-04-27T11:18:16.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:16.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:17.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:17.239Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:17.316Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:18:17.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:18:17.820Z] $ docker top 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:17.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:17.920Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:18.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:18.059Z] $ docker exec 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 ssh-agent [2022-04-27T11:18:18.166Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDfKoGo/agent.13 [2022-04-27T11:18:18.166Z] SSH_AGENT_PID=19 [2022-04-27T11:18:18.171Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:18.272Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268949147924822741.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268949147924822741.key) [2022-04-27T11:18:18.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:18.573Z] + git semver tag [2022-04-27T11:18:18.573Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:18.573Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-27T11:18:18.573Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:18:18.573Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:18.573Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:18.573Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:18.573Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:18.573Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-27T11:18:18.573Z] # 1804939991e9cf6e6628dcf61ff454f4c33f5abe HEAD [2022-04-27T11:18:18.573Z] # -> Force: false [2022-04-27T11:18:18.573Z] # f9c42a20488ff16e37d8de55ee675ceb500f8cc0 refs/tags/v2.2.0-dev.17 [Pipeline] } [2022-04-27T11:18:18.588Z] $ docker exec --env ******** --env ******** 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 ssh-agent -k [2022-04-27T11:18:18.694Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:18.695Z] unset SSH_AGENT_PID; [2022-04-27T11:18:18.695Z] echo Agent pid 19 killed; [2022-04-27T11:18:18.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:19.010Z] + git semver [Pipeline] } [2022-04-27T11:18:19.030Z] $ docker stop --time=1 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 [2022-04-27T11:18:20.321Z] $ docker rm -f 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:20.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:20.716Z] [2022-04-27T11:18:20.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:21.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:21.033Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-27T11:18:21.033Z] ab5ef0e58194: Pulling fs layer [2022-04-27T11:18:21.033Z] 9712f1f96733: Pulling fs layer [2022-04-27T11:18:21.033Z] 63f879dbbcfc: Pulling fs layer [2022-04-27T11:18:21.033Z] 0d9ebad4ef96: Pulling fs layer [2022-04-27T11:18:21.033Z] e9a5061849ea: Pulling fs layer [2022-04-27T11:18:21.033Z] d747dcd14b5f: Pulling fs layer [2022-04-27T11:18:21.033Z] 2de7ff778b66: Pulling fs layer [2022-04-27T11:18:21.033Z] 0d9ebad4ef96: Waiting [2022-04-27T11:18:21.033Z] e9a5061849ea: Waiting [2022-04-27T11:18:21.033Z] d747dcd14b5f: Waiting [2022-04-27T11:18:21.033Z] 2de7ff778b66: Waiting [2022-04-27T11:18:21.033Z] 9712f1f96733: Verifying Checksum [2022-04-27T11:18:21.033Z] 9712f1f96733: Download complete [2022-04-27T11:18:21.615Z] 63f879dbbcfc: Verifying Checksum [2022-04-27T11:18:21.615Z] 63f879dbbcfc: Download complete [2022-04-27T11:18:21.875Z] e9a5061849ea: Verifying Checksum [2022-04-27T11:18:21.875Z] e9a5061849ea: Download complete [2022-04-27T11:18:21.875Z] d747dcd14b5f: Download complete [2022-04-27T11:18:21.875Z] 0d9ebad4ef96: Verifying Checksum [2022-04-27T11:18:21.875Z] 0d9ebad4ef96: Download complete [2022-04-27T11:18:21.875Z] ab5ef0e58194: Verifying Checksum [2022-04-27T11:18:21.875Z] ab5ef0e58194: Download complete [2022-04-27T11:18:22.135Z] 2de7ff778b66: Verifying Checksum [2022-04-27T11:18:22.135Z] 2de7ff778b66: Download complete [2022-04-27T11:18:24.672Z] ab5ef0e58194: Pull complete [2022-04-27T11:18:24.672Z] 9712f1f96733: Pull complete [2022-04-27T11:18:25.611Z] 63f879dbbcfc: Pull complete [2022-04-27T11:18:28.896Z] 0d9ebad4ef96: Pull complete [2022-04-27T11:18:29.155Z] e9a5061849ea: Pull complete [2022-04-27T11:18:29.155Z] d747dcd14b5f: Pull complete [2022-04-27T11:18:30.092Z] 2de7ff778b66: Pull complete [2022-04-27T11:18:30.351Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-27T11:18:30.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:30.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-27T11:18:30.422Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:18:30.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-27T11:18:34.306Z] $ docker top 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:18:34.386Z] provisioning config files... [2022-04-27T11:18:34.396Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2902141316926087647tmp [2022-04-27T11:18:34.407Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config828350738603640204tmp [2022-04-27T11:18:34.419Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6080922330350843400tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:18:34.436Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:34.721Z] ---> sigul-configuration.sh [2022-04-27T11:18:34.721Z] gpg: directory `/root/.gnupg' created [2022-04-27T11:18:34.721Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-27T11:18:34.721Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-27T11:18:34.721Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-27T11:18:34.721Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-27T11:18:34.721Z] gpg: CAST5 encrypted data [2022-04-27T11:18:34.721Z] gpg: encrypted with 1 passphrase [2022-04-27T11:18:34.721Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-27T11:18:35.009Z] + mkdir /home/jenkins [2022-04-27T11:18:35.009Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-27T11:18:35.295Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-27T11:18:35.315Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:35.687Z] ---> sigul-install.sh [2022-04-27T11:18:35.687Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-27T11:18:35.975Z] + git tag --list [2022-04-27T11:18:35.975Z] 0.7.1 [2022-04-27T11:18:35.975Z] v1.0.0 [2022-04-27T11:18:35.975Z] v1.1.0 [2022-04-27T11:18:35.975Z] v1.1.1 [2022-04-27T11:18:35.975Z] v1.2.2 [2022-04-27T11:18:35.975Z] v1.3.0 [2022-04-27T11:18:35.975Z] v1.3.1 [2022-04-27T11:18:35.975Z] v2.0.0 [2022-04-27T11:18:35.975Z] v2.0.1-dev.1 [2022-04-27T11:18:35.975Z] v2.0.1-dev.10 [2022-04-27T11:18:35.975Z] v2.0.1-dev.11 [2022-04-27T11:18:35.975Z] v2.0.1-dev.12 [2022-04-27T11:18:35.975Z] v2.0.1-dev.13 [2022-04-27T11:18:35.975Z] v2.0.1-dev.14 [2022-04-27T11:18:35.975Z] v2.0.1-dev.15 [2022-04-27T11:18:35.975Z] v2.0.1-dev.16 [2022-04-27T11:18:35.975Z] v2.0.1-dev.17 [2022-04-27T11:18:35.975Z] v2.0.1-dev.2 [2022-04-27T11:18:35.975Z] v2.0.1-dev.3 [2022-04-27T11:18:35.975Z] v2.0.1-dev.4 [2022-04-27T11:18:35.975Z] v2.0.1-dev.5 [2022-04-27T11:18:35.975Z] v2.0.1-dev.6 [2022-04-27T11:18:35.975Z] v2.0.1-dev.7 [2022-04-27T11:18:35.975Z] v2.0.1-dev.8 [2022-04-27T11:18:35.975Z] v2.0.1-dev.9 [2022-04-27T11:18:35.975Z] v2.1.0 [2022-04-27T11:18:35.975Z] v2.2.0-dev.1 [2022-04-27T11:18:35.975Z] v2.2.0-dev.10 [2022-04-27T11:18:35.975Z] v2.2.0-dev.11 [2022-04-27T11:18:35.975Z] v2.2.0-dev.12 [2022-04-27T11:18:35.975Z] v2.2.0-dev.13 [2022-04-27T11:18:35.975Z] v2.2.0-dev.14 [2022-04-27T11:18:35.975Z] v2.2.0-dev.15 [2022-04-27T11:18:35.975Z] v2.2.0-dev.16 [2022-04-27T11:18:35.975Z] v2.2.0-dev.17 [2022-04-27T11:18:35.975Z] v2.2.0-dev.2 [2022-04-27T11:18:35.975Z] v2.2.0-dev.3 [2022-04-27T11:18:35.975Z] v2.2.0-dev.4 [2022-04-27T11:18:35.975Z] v2.2.0-dev.5 [2022-04-27T11:18:35.975Z] v2.2.0-dev.6 [2022-04-27T11:18:35.975Z] v2.2.0-dev.7 [2022-04-27T11:18:35.975Z] v2.2.0-dev.8 [2022-04-27T11:18:35.975Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-27T11:18:36.267Z] + lftools sign git-tag v2.2.0-dev.17 [2022-04-27T11:18:36.836Z] Signing Git tag with Sigul... [2022-04-27T11:18:36.836Z] Signing v2.2.0-dev.17 [Pipeline] echo [2022-04-27T11:18:37.104Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:37.386Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-27T11:18:37.394Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-27T11:18:37.418Z] $ docker stop --time=1 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 [2022-04-27T11:18:38.956Z] $ docker rm -f 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-27T11:18:39.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:39.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:39.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:39.684Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:39.750Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:18:39.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:18:40.241Z] $ docker top 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:40.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:40.338Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:40.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:40.461Z] $ docker exec 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc ssh-agent [2022-04-27T11:18:40.565Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDGAmf/agent.13 [2022-04-27T11:18:40.565Z] SSH_AGENT_PID=20 [2022-04-27T11:18:40.570Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:40.684Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268866229816426897.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268866229816426897.key) [2022-04-27T11:18:40.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:40.983Z] + git semver bump pre [2022-04-27T11:18:40.983Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:40.983Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-27T11:18:40.983Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:18:40.983Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:40.983Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:40.983Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:40.983Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:40.983Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-27T11:18:40.983Z] 2.2.0-dev.18 [Pipeline] } [2022-04-27T11:18:40.999Z] $ docker exec --env ******** --env ******** 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc ssh-agent -k [2022-04-27T11:18:41.103Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:41.103Z] unset SSH_AGENT_PID; [2022-04-27T11:18:41.103Z] echo Agent pid 20 killed; [2022-04-27T11:18:41.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:41.428Z] + git semver [Pipeline] } [2022-04-27T11:18:41.446Z] $ docker stop --time=1 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc [2022-04-27T11:18:42.810Z] $ docker rm -f 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:18:43.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:43.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:43.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:43.465Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:43.530Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:18:43.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:18:44.093Z] $ docker top b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:44.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:44.181Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:44.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:44.309Z] $ docker exec b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab ssh-agent [2022-04-27T11:18:44.412Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBhomkO/agent.13 [2022-04-27T11:18:44.413Z] SSH_AGENT_PID=19 [2022-04-27T11:18:44.417Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:44.529Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3942191554053936204.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3942191554053936204.key) [2022-04-27T11:18:44.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:44.826Z] + git semver push [2022-04-27T11:18:44.827Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:44.827Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-27T11:18:44.827Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:18:44.827Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:44.827Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:44.827Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:44.827Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:44.827Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-27T11:18:46.747Z] $ docker exec --env ******** --env ******** b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab ssh-agent -k [2022-04-27T11:18:46.848Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:46.848Z] unset SSH_AGENT_PID; [2022-04-27T11:18:46.848Z] echo Agent pid 19 killed; [2022-04-27T11:18:46.853Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:47.160Z] + git semver [Pipeline] } [2022-04-27T11:18:47.178Z] $ docker stop --time=1 b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab [2022-04-27T11:19:01.184Z] $ docker rm -f b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-04-27T11:19:01.754Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-04-27T11:19:01.754Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-27T11:19:01.754Z] total 16 [2022-04-27T11:19:01.754Z] drwxr-xr-x 3 root root 4096 Apr 27 11:08 . [2022-04-27T11:19:01.754Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:18 .. [2022-04-27T11:19:01.754Z] drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost [2022-04-27T11:19:01.754Z] -rw-r--r-- 1 root root 84 Apr 27 11:08 cost.csv [2022-04-27T11:19:01.754Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-27T11:19:01.754Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-27T11:19:01.754Z] total 16 [2022-04-27T11:19:01.754Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . [2022-04-27T11:19:01.754Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:18 .. [2022-04-27T11:19:01.754Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost [2022-04-27T11:19:01.754Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:02.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:02.915Z] ---> package-listing.sh [2022-04-27T11:19:02.915Z] ++ facter osfamily [2022-04-27T11:19:02.915Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T11:19:03.175Z] + OS_FAMILY=debian [2022-04-27T11:19:03.175Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-27T11:19:03.175Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T11:19:03.175Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T11:19:03.175Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T11:19:03.175Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T11:19:03.175Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-27T11:19:03.175Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T11:19:03.175Z] + case "${OS_FAMILY}" in [2022-04-27T11:19:03.175Z] + dpkg -l [2022-04-27T11:19:03.175Z] + grep '^ii' [2022-04-27T11:19:03.175Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T11:19:03.175Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T11:19:03.175Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T11:19:03.175Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-27T11:19:03.175Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-04-27T11:19:03.175Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-04-27T11:19:03.188Z] 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T11:19:03.467Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:19:04.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:19:04.023Z] . [Pipeline] withDockerContainer [2022-04-27T11:19:04.091Z] prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container [2022-04-27T11:19:04.127Z] $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T11:19:04.427Z] $ docker top bb7d10e8641659b2fb6d6f67cf662b69f4e47ad0ce7aa9074a2051cceb949a2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:19:04.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T11:19:05.141Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T11:19:05.429Z] + ls /var/log/sa-host [2022-04-27T11:19:05.429Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:19:05.522Z] provisioning config files... [2022-04-27T11:19:05.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4583724393112963218tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:19:05.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:05.834Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T11:19:05.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:06.172Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T11:19:06.182Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:06.465Z] ---> sudo-logs.sh [2022-04-27T11:19:06.465Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T11:19:06.489Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:06.772Z] ---> job-cost.sh [2022-04-27T11:19:06.772Z] lf-activate-venv: SKIPPING [2022-04-27T11:19:06.772Z] DEBUG: total: 0.2199999988079071 [2022-04-27T11:19:06.772Z] INFO: Retrieving Stack Cost... [2022-04-27T11:19:07.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:19:07.601Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T11:19:07.617Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:19:07.906Z] ---> logs-deploy.sh [2022-04-27T11:19:07.906Z] lf-activate-venv: SKIPPING [2022-04-27T11:19:07.906Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/38 [2022-04-27T11:19:07.906Z] INFO: archiving workspace using pattern(s): [2022-04-27T11:19:08.847Z] Archives upload complete. [2022-04-27T11:19:08.847Z] INFO: archiving logs to Nexus