Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cac5c8aff02eeff20ea0733b686feb688efb88bb 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-ssh11032173496458311016.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-ssh14180562586893199188.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-ssh7473396255235945194.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-ssh2085409266627382118.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-ssh802148752899274912.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23624 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 cac5c8aff02eeff20ea0733b686feb688efb88bb (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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 Commit message: "feat(snap): use updated environment variable injection (#365)" > git rev-list --no-walk 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:41:55.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:41:55.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:41:55.901Z] ========================================================= [2022-04-26T15:41:55.901Z] EdgeX Global Pipelines Version Info [2022-04-26T15:41:55.901Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:41:56.653Z] ------------------- [2022-04-26T15:41:56.653Z] stable info: [2022-04-26T15:41:56.653Z] ------------------- [2022-04-26T15:41:56.653Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:41:56.653Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:41:56.653Z] Message: update stable to v1.0.221 [2022-04-26T15:41:57.228Z] ------------------- [2022-04-26T15:41:57.228Z] experimental info: [2022-04-26T15:41:57.228Z] ------------------- [2022-04-26T15:41:57.228Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:41:57.228Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:41:57.228Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:41:57.368Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-26T15:41:57.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-26T15:41:57.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:41:57.408Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:41:57.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:41:57.446Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:41:57.465Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:41:57.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:41:57.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:41:57.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:41:57.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:41:57.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-26T15:41:57.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:41:57.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:41:57.579Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:41:57.591Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:41:57.601Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:41:57.614Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:41:57.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:41:57.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:41:57.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:41:57.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:41:57.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:41:57.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:41:57.718Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:41:57.737Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:41:57.753Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-26T15:41:57.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-26T15:41:57.780Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-26T15:41:57.795Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo [2022-04-26T15:41:57.805Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cac5c8a [Pipeline] echo [2022-04-26T15:41:57.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:41:57.867Z] provisioning config files... [2022-04-26T15:41:57.880Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config132280718875797514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:41:58.207Z] ---> docker-login.sh [2022-04-26T15:41:58.207Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:41:58.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:41:58.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:41:58.469Z] Configure a credential helper to remove this warning. See [2022-04-26T15:41:58.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:41:58.469Z] [2022-04-26T15:41:58.469Z] Login Succeeded [2022-04-26T15:41:58.469Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:41:58.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:41:58.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:41:58.729Z] Configure a credential helper to remove this warning. See [2022-04-26T15:41:58.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:41:58.729Z] [2022-04-26T15:41:58.729Z] Login Succeeded [2022-04-26T15:41:58.729Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:41:58.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:41:58.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:41:58.995Z] Configure a credential helper to remove this warning. See [2022-04-26T15:41:58.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:41:58.995Z] [2022-04-26T15:41:58.995Z] Login Succeeded [2022-04-26T15:41:58.995Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:41:58.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:41:58.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:41:58.995Z] Configure a credential helper to remove this warning. See [2022-04-26T15:41:58.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:41:58.995Z] [2022-04-26T15:41:58.995Z] Login Succeeded [2022-04-26T15:41:58.995Z] docker.io [2022-04-26T15:41:58.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:41:59.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:41:59.567Z] Configure a credential helper to remove this warning. See [2022-04-26T15:41:59.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:41:59.567Z] [2022-04-26T15:41:59.567Z] Login Succeeded [2022-04-26T15:41:59.567Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:41:59.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:41:59.958Z] + git rev-list -1 --merges cac5c8aff02eeff20ea0733b686feb688efb88bb~1..cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo [2022-04-26T15:42:00.085Z] -----------> git rev-list -1 --merges cac5c8aff02eeff20ea0733b686feb688efb88bb~1..cac5c8aff02eeff20ea0733b686feb688efb88bb cac5c8aff02eeff20ea0733b686feb688efb88bb [false] [Pipeline] sh [2022-04-26T15:42:00.379Z] + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo [2022-04-26T15:42:00.396Z] ========================================================= [2022-04-26T15:42:00.396Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:42:00.396Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:42:00.743Z] + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] echo [2022-04-26T15:42:00.752Z] [semverPrep] GIT_COMMIT: cac5c8aff02eeff20ea0733b686feb688efb88bb, Commit Message: feat(snap): use updated environment variable injection (#365) [Pipeline] echo [2022-04-26T15:42:00.762Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:42:01.199Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:42:01.199Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:42:01.199Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:42:01.199Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:42:01.199Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:42:01.199Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:42:01.199Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:01.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:42:01.663Z] [2022-04-26T15:42:01.663Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:01.975Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:42:01.975Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:42:01.975Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:42:01.975Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:42:01.975Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:42:01.975Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:42:01.975Z] 0c2d73faf560: Waiting [2022-04-26T15:42:01.975Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:42:01.975Z] 3e5f54012d9b: Download complete [2022-04-26T15:42:01.975Z] a0d0a0d46f8b: Download complete [2022-04-26T15:42:01.975Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:42:01.975Z] 0c2d73faf560: Download complete [2022-04-26T15:42:02.240Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:42:02.240Z] 4c7163046ea9: Download complete [2022-04-26T15:42:02.240Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:42:02.240Z] 3e5f54012d9b: Pull complete [2022-04-26T15:42:02.814Z] 4c7163046ea9: Pull complete [2022-04-26T15:42:02.814Z] 0c2d73faf560: Pull complete [2022-04-26T15:42:02.814Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:42:02.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:42:02.814Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:42:02.895Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T15:42:02.944Z] $ 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-26T15:42:03.752Z] $ docker top c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:42:03.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:42:03.856Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:42:03.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:42:04.003Z] $ docker exec c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent [2022-04-26T15:42:04.127Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOGppbc/agent.14 [2022-04-26T15:42:04.127Z] SSH_AGENT_PID=20 [2022-04-26T15:42:04.135Z] Running ssh-add (command line suppressed) [2022-04-26T15:42:04.265Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1014928601548869083.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1014928601548869083.key) [2022-04-26T15:42:04.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:42:04.572Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:42:04.594Z] $ docker exec --env ******** --env ******** c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent -k [2022-04-26T15:42:04.718Z] unset SSH_AUTH_SOCK; [2022-04-26T15:42:04.719Z] unset SSH_AGENT_PID; [2022-04-26T15:42:04.719Z] echo Agent pid 20 killed; [2022-04-26T15:42:04.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:42:04.759Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:42:04.759Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:42:04.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:42:04.906Z] $ docker exec c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent [2022-04-26T15:42:05.035Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPafOEf/agent.53 [2022-04-26T15:42:05.035Z] SSH_AGENT_PID=59 [2022-04-26T15:42:05.042Z] Running ssh-add (command line suppressed) [2022-04-26T15:42:05.170Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7803685135009585291.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7803685135009585291.key) [2022-04-26T15:42:05.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:42:05.473Z] + git semver init [2022-04-26T15:42:05.474Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:42:05.474Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-26T15:42:05.474Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T15:42:05.474Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:42:05.474Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:42:05.474Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:42:05.474Z] # $SEMVER_BRANCH = main [2022-04-26T15:42:05.474Z] # $SEMVER_TEMP = /tmp/semver-610821073 [2022-04-26T15:42:05.474Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-26T15:42:06.419Z] # '/tmp/semver-610821073' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-04-26T15:42:06.419Z] # -> Force: false [2022-04-26T15:42:06.419Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-26T15:42:06.436Z] $ docker exec --env ******** --env ******** c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 ssh-agent -k [2022-04-26T15:42:06.555Z] unset SSH_AUTH_SOCK; [2022-04-26T15:42:06.556Z] unset SSH_AGENT_PID; [2022-04-26T15:42:06.556Z] echo Agent pid 59 killed; [2022-04-26T15:42:06.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:42:06.881Z] + git semver [Pipeline] } [2022-04-26T15:42:06.902Z] $ docker stop --time=1 c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 [2022-04-26T15:42:08.558Z] $ docker rm -f c38fb44b60d1c3d8cf68eb1393cdf49b8f754f2ce6717b61fef171785e938bf1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:42:08.954Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:42:09.244Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:42:09.248Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [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-26T15:42:09.496Z] provisioning config files... [2022-04-26T15:42:09.507Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3724105352448676372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:42:09.811Z] ---> docker-login.sh [2022-04-26T15:42:09.811Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:42:09.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:42:09.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:42:09.811Z] Configure a credential helper to remove this warning. See [2022-04-26T15:42:09.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:42:09.811Z] [2022-04-26T15:42:09.811Z] Login Succeeded [2022-04-26T15:42:09.811Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:42:09.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:42:10.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:42:10.071Z] Configure a credential helper to remove this warning. See [2022-04-26T15:42:10.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:42:10.071Z] [2022-04-26T15:42:10.071Z] Login Succeeded [2022-04-26T15:42:10.071Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:42:10.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:42:10.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:42:10.071Z] Configure a credential helper to remove this warning. See [2022-04-26T15:42:10.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:42:10.071Z] [2022-04-26T15:42:10.071Z] Login Succeeded [2022-04-26T15:42:10.071Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:42:10.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:42:10.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:42:10.333Z] Configure a credential helper to remove this warning. See [2022-04-26T15:42:10.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:42:10.333Z] [2022-04-26T15:42:10.333Z] Login Succeeded [2022-04-26T15:42:10.333Z] docker.io [2022-04-26T15:42:10.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:42:10.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:42:10.906Z] Configure a credential helper to remove this warning. See [2022-04-26T15:42:10.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:42:10.906Z] [2022-04-26T15:42:10.906Z] Login Succeeded [2022-04-26T15:42:10.906Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:42:10.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:42:10.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:42:11.003Z] ========================================================= [2022-04-26T15:42:11.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:42:11.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:11.319Z] + 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-26T15:42:11.319Z] Sending build context to Docker daemon 5.817MB [2022-04-26T15:42:11.319Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:42:11.319Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T15:42:11.319Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:42:11.319Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:42:11.319Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:42:11.319Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:42:11.319Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:42:11.319Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:42:11.319Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:42:11.319Z] a51346096db8: Pulling fs layer [2022-04-26T15:42:11.319Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:42:11.319Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:42:11.319Z] a51346096db8: Waiting [2022-04-26T15:42:11.319Z] 0e18a0eac166: Waiting [2022-04-26T15:42:11.319Z] daebc70d1ce1: Waiting [2022-04-26T15:42:11.319Z] 4fe6c5a15a65: Waiting [2022-04-26T15:42:11.319Z] ca2b28591e48: Waiting [2022-04-26T15:42:11.579Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:42:11.579Z] 8ed8ca486205: Download complete [2022-04-26T15:42:11.579Z] 666ba61612fd: Verifying Checksum [2022-04-26T15:42:11.579Z] 666ba61612fd: Download complete [2022-04-26T15:42:11.579Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:42:11.579Z] 22a0e8bec74d: Download complete [2022-04-26T15:42:11.579Z] ca2b28591e48: Download complete [2022-04-26T15:42:11.579Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:42:11.579Z] 59bf1c3509f3: Download complete [2022-04-26T15:42:11.579Z] a51346096db8: Download complete [2022-04-26T15:42:11.579Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:42:11.579Z] daebc70d1ce1: Download complete [2022-04-26T15:42:11.579Z] 59bf1c3509f3: Pull complete [2022-04-26T15:42:11.838Z] 666ba61612fd: Pull complete [2022-04-26T15:42:12.101Z] 8ed8ca486205: Pull complete [2022-04-26T15:42:12.101Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:42:12.101Z] 0e18a0eac166: Download complete [2022-04-26T15:42:12.361Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:42:12.361Z] 4fe6c5a15a65: Download complete [2022-04-26T15:42:16.559Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:42:16.559Z] 22a0e8bec74d: Pull complete [2022-04-26T15:42:16.820Z] ca2b28591e48: Pull complete [2022-04-26T15:42:16.820Z] a51346096db8: Pull complete [2022-04-26T15:42:17.079Z] daebc70d1ce1: Pull complete [2022-04-26T15:42:19.622Z] 0e18a0eac166: Pull complete [2022-04-26T15:42:19.622Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:42:19.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:42:19.622Z] ---> f018257e8ee9 [2022-04-26T15:42:19.622Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:42:21.541Z] ---> Running in f9d6f2298a4c [2022-04-26T15:42:21.541Z] Removing intermediate container f9d6f2298a4c [2022-04-26T15:42:21.541Z] ---> ae21a680676c [2022-04-26T15:42:21.541Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:42:21.541Z] ---> Running in 469dcb01e8de [2022-04-26T15:42:21.541Z] Removing intermediate container 469dcb01e8de [2022-04-26T15:42:21.541Z] ---> b307dc49ce6b [2022-04-26T15:42:21.541Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:42:21.541Z] ---> Running in ca74c801156c [2022-04-26T15:42:22.486Z] Removing intermediate container ca74c801156c [2022-04-26T15:42:22.486Z] ---> d3955d09d748 [2022-04-26T15:42:22.486Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:42:22.486Z] ---> Running in fd819af01e16 [2022-04-26T15:42:22.747Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:42:23.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:42:23.696Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:42:23.956Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T15:42:23.956Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:42:23.956Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:42:24.218Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:42:24.218Z] OK: 224 MiB in 56 packages [2022-04-26T15:42:24.441Z] Still waiting to schedule task [2022-04-26T15:42:24.441Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-26T15:42:24.791Z] Removing intermediate container fd819af01e16 [2022-04-26T15:42:24.791Z] ---> 9a20a6145a28 [2022-04-26T15:42:24.791Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T15:42:24.791Z] ---> Running in 60c1d8f76b5a [2022-04-26T15:42:24.791Z] Removing intermediate container 60c1d8f76b5a [2022-04-26T15:42:24.791Z] ---> 1cb61aac0082 [2022-04-26T15:42:24.791Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T15:42:25.051Z] ---> 18646313e7dd [2022-04-26T15:42:25.051Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:42:25.051Z] ---> Running in 46da01e87639 [2022-04-26T15:42:39.975Z] Removing intermediate container 46da01e87639 [2022-04-26T15:42:39.975Z] ---> 56978f163cf8 [2022-04-26T15:42:39.975Z] Step 10/12 : COPY . . [2022-04-26T15:42:39.975Z] ---> 18878e6c3705 [2022-04-26T15:42:39.975Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T15:42:40.238Z] ---> Running in 2e99bb16a942 [2022-04-26T15:42:40.238Z] Removing intermediate container 2e99bb16a942 [2022-04-26T15:42:40.238Z] ---> 6326051bec75 [2022-04-26T15:42:40.238Z] Step 12/12 : RUN $MAKE [2022-04-26T15:42:40.238Z] ---> Running in cdb0c162c27a [2022-04-26T15:42:40.811Z] noop [2022-04-26T15:42:41.073Z] Removing intermediate container cdb0c162c27a [2022-04-26T15:42:41.073Z] ---> b6743b48b8c8 [2022-04-26T15:42:41.073Z] Successfully built b6743b48b8c8 [2022-04-26T15:42:41.073Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:41.374Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:42:41.374Z] . [Pipeline] withDockerContainer [2022-04-26T15:42:41.442Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T15:42:41.485Z] $ 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-26T15:42:41.867Z] $ docker top 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:42:42.225Z] + go version [2022-04-26T15:42:42.225Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:42:42.254Z] $ docker stop --time=1 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc [2022-04-26T15:42:43.576Z] $ docker rm -f 4feb9c56e7f08e86708c7e8eac7d5911904418de3c71c42f2eb2e9003278bfbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:42:44.010Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:42:44.010Z] . [Pipeline] withDockerContainer [2022-04-26T15:42:44.095Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T15:42:44.145Z] $ 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-26T15:42:44.569Z] $ docker top 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:42:44.936Z] + make test [2022-04-26T15:42:44.936Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T15:42:45.196Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T15:42:55.185Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T15:42:55.185Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-04-26T15:42:55.185Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T15:43:01.763Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T15:43:05.054Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:43:05.054Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:43:05.054Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:43:05.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:43:05.346Z] $ docker stop --time=1 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d [2022-04-26T15:43:07.262Z] $ docker rm -f 71240b9b3fb94871aec91af1ea482339e5059bbd4e7711440871c6c07a4d919d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:43:07.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:43:07.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T15:43:08.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:43:08.820Z] + ls -al . [2022-04-26T15:43:08.820Z] total 176 [2022-04-26T15:43:08.820Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:43 . [2022-04-26T15:43:08.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:41 .. [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:41 .dockerignore [2022-04-26T15:43:08.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:41 .git [2022-04-26T15:43:08.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 .github [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 15:41 .gitignore [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:41 .golangci.yml [2022-04-26T15:43:08.820Z] drwx------ 3 jenkins jenkins 4096 Apr 26 15:42 .semver [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 15:41 Attribution.txt [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 15:41 CHANGELOG.md [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:41 Dockerfile [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:41 GOVERNANCE.md [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 15:41 Jenkinsfile [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:41 LICENSE [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:41 Makefile [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:41 OWNERS.md [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 15:41 README.md [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:42 VERSION [2022-04-26T15:43:08.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:41 bin [2022-04-26T15:43:08.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 cmd [2022-04-26T15:43:08.820Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 15:42 coverage.out [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 15:41 go.mod [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 15:41 go.sum [2022-04-26T15:43:08.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:41 internal [2022-04-26T15:43:08.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:41 mock [2022-04-26T15:43:08.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:41 snap [2022-04-26T15:43:08.820Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 15:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:09.119Z] + 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=cac5c8aff02eeff20ea0733b686feb688efb88bb --label arch=amd64 --label version=2.2.0-dev.16 . [2022-04-26T15:43:09.119Z] Sending build context to Docker daemon 5.836MB [2022-04-26T15:43:09.119Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:43:09.119Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T15:43:09.119Z] ---> b6743b48b8c8 [2022-04-26T15:43:09.119Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:43:09.382Z] ---> Running in f54ed5290a50 [2022-04-26T15:43:09.382Z] Removing intermediate container f54ed5290a50 [2022-04-26T15:43:09.382Z] ---> 49698cce7e4e [2022-04-26T15:43:09.382Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:43:09.644Z] ---> Running in 4dc128fd93eb [2022-04-26T15:43:09.644Z] Removing intermediate container 4dc128fd93eb [2022-04-26T15:43:09.644Z] ---> 669569b2c0d5 [2022-04-26T15:43:09.644Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:43:09.644Z] ---> Running in 44dfea96c177 [2022-04-26T15:43:10.591Z] Removing intermediate container 44dfea96c177 [2022-04-26T15:43:10.591Z] ---> 80db97671bce [2022-04-26T15:43:10.591Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:43:10.591Z] ---> Running in 370df889e3a6 [2022-04-26T15:43:10.852Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:43:11.425Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:43:11.997Z] OK: 224 MiB in 56 packages [2022-04-26T15:43:12.257Z] Removing intermediate container 370df889e3a6 [2022-04-26T15:43:12.257Z] ---> 4268a066a679 [2022-04-26T15:43:12.257Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-26T15:43:12.257Z] ---> Running in 81e0309cedad [2022-04-26T15:43:12.257Z] Removing intermediate container 81e0309cedad [2022-04-26T15:43:12.257Z] ---> f4e55508d0c2 [2022-04-26T15:43:12.257Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-26T15:43:12.517Z] ---> bd9013e9d6a4 [2022-04-26T15:43:12.517Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:43:12.517Z] ---> Running in b979ef23dd6b [2022-04-26T15:43:13.088Z] Removing intermediate container b979ef23dd6b [2022-04-26T15:43:13.088Z] ---> 22ffd7ff8e9a [2022-04-26T15:43:13.088Z] Step 10/24 : COPY . . [2022-04-26T15:43:13.661Z] ---> 59d4088e60ca [2022-04-26T15:43:13.661Z] Step 11/24 : ARG MAKE='make build' [2022-04-26T15:43:13.661Z] ---> Running in bccb3779b760 [2022-04-26T15:43:13.661Z] Removing intermediate container bccb3779b760 [2022-04-26T15:43:13.661Z] ---> 185b25d00a96 [2022-04-26T15:43:13.661Z] Step 12/24 : RUN $MAKE [2022-04-26T15:43:13.661Z] ---> Running in 9b807a284351 [2022-04-26T15:43:13.927Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-26T15:43:35.893Z] Removing intermediate container 9b807a284351 [2022-04-26T15:43:35.893Z] ---> 185628d9d9a2 [2022-04-26T15:43:35.893Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T15:43:35.893Z] 3.14: Pulling from library/alpine [2022-04-26T15:43:36.153Z] 8663204ce13b: Pulling fs layer [2022-04-26T15:43:36.153Z] 8663204ce13b: Verifying Checksum [2022-04-26T15:43:36.153Z] 8663204ce13b: Download complete [2022-04-26T15:43:36.412Z] 8663204ce13b: Pull complete [2022-04-26T15:43:36.412Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:43:36.412Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:43:36.412Z] ---> e04c818066af [2022-04-26T15:43:36.412Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-26T15:43:36.674Z] ---> Running in 30d181fd929b [2022-04-26T15:43:36.674Z] Removing intermediate container 30d181fd929b [2022-04-26T15:43:36.674Z] ---> 098d16fd0c4d [2022-04-26T15:43:36.674Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T15:43:36.674Z] ---> Running in 9be30c768165 [2022-04-26T15:43:36.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:43:36.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:43:37.197Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T15:43:37.197Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:43:37.197Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T15:43:37.197Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:43:37.197Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T15:43:37.197Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T15:43:37.197Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:43:37.197Z] OK: 8 MiB in 20 packages [2022-04-26T15:43:37.766Z] Removing intermediate container 9be30c768165 [2022-04-26T15:43:37.766Z] ---> b7c78a22b74a [2022-04-26T15:43:37.766Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-26T15:43:38.336Z] ---> f3a490053f98 [2022-04-26T15:43:38.336Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-26T15:43:38.596Z] ---> 249ffc6f45ea [2022-04-26T15:43:38.596Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-26T15:43:38.857Z] ---> 0c93a46bfbec [2022-04-26T15:43:38.857Z] Step 19/24 : EXPOSE 59982 [2022-04-26T15:43:38.857Z] ---> Running in c0253bd1b3c8 [2022-04-26T15:43:38.857Z] Removing intermediate container c0253bd1b3c8 [2022-04-26T15:43:38.857Z] ---> 933e914d81e7 [2022-04-26T15:43:38.857Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-26T15:43:38.857Z] ---> Running in 77c13f7d6c12 [2022-04-26T15:43:39.119Z] Removing intermediate container 77c13f7d6c12 [2022-04-26T15:43:39.119Z] ---> 3f647faf07b8 [2022-04-26T15:43:39.119Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T15:43:39.119Z] ---> Running in 352c7eeee07b [2022-04-26T15:43:39.119Z] Removing intermediate container 352c7eeee07b [2022-04-26T15:43:39.119Z] ---> a75d63263d84 [2022-04-26T15:43:39.119Z] Step 22/24 : LABEL arch=amd64 [2022-04-26T15:43:39.379Z] ---> Running in 66f664249517 [2022-04-26T15:43:39.950Z] Removing intermediate container 66f664249517 [2022-04-26T15:43:39.950Z] ---> 71971e6a61d8 [2022-04-26T15:43:39.950Z] Step 23/24 : LABEL git_sha=cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T15:43:40.926Z] ---> Running in 5157399d8068 [2022-04-26T15:43:41.540Z] Removing intermediate container 5157399d8068 [2022-04-26T15:43:41.540Z] ---> 1b1584746f1e [2022-04-26T15:43:41.540Z] Step 24/24 : LABEL version=2.2.0-dev.16 [2022-04-26T15:43:41.806Z] ---> Running in df5fd486fb45 [2022-04-26T15:43:41.806Z] Removing intermediate container df5fd486fb45 [2022-04-26T15:43:41.806Z] ---> 9dbd2d39276f [2022-04-26T15:43:41.806Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:43:41.806Z] Successfully built 9dbd2d39276f [2022-04-26T15:43:41.806Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:43:41.892Z] provisioning config files... [2022-04-26T15:43:41.903Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2160578255548123763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:43:42.201Z] ---> docker-login.sh [2022-04-26T15:43:42.201Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:43:42.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:43:42.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:43:42.201Z] Configure a credential helper to remove this warning. See [2022-04-26T15:43:42.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:43:42.201Z] [2022-04-26T15:43:42.201Z] Login Succeeded [2022-04-26T15:43:42.201Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:43:42.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:43:42.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:43:42.461Z] Configure a credential helper to remove this warning. See [2022-04-26T15:43:42.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:43:42.461Z] [2022-04-26T15:43:42.461Z] Login Succeeded [2022-04-26T15:43:42.461Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:43:42.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:43:42.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:43:42.461Z] Configure a credential helper to remove this warning. See [2022-04-26T15:43:42.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:43:42.461Z] [2022-04-26T15:43:42.461Z] Login Succeeded [2022-04-26T15:43:42.461Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:43:42.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:43:42.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:43:42.724Z] Configure a credential helper to remove this warning. See [2022-04-26T15:43:42.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:43:42.724Z] [2022-04-26T15:43:42.724Z] Login Succeeded [2022-04-26T15:43:42.724Z] docker.io [2022-04-26T15:43:42.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:43:42.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:43:42.985Z] Configure a credential helper to remove this warning. See [2022-04-26T15:43:42.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:43:42.985Z] [2022-04-26T15:43:42.985Z] Login Succeeded [2022-04-26T15:43:42.985Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:43:42.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:43:43.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:43:43.051Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-04-26T15:43:43.051Z] cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T15:43:43.051Z] latest [2022-04-26T15:43:43.051Z] 2.2.0-dev.16 [2022-04-26T15:43:43.051Z] cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T15:43:43.051Z] main [2022-04-26T15:43:43.051Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:43.373Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:43.668Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T15:43:43.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-26T15:43:43.668Z] 4f57038990e8: Preparing [2022-04-26T15:43:43.668Z] 2bdfe7688793: Preparing [2022-04-26T15:43:43.668Z] 88ef34596cdf: Preparing [2022-04-26T15:43:43.668Z] 1120287ef5a4: Preparing [2022-04-26T15:43:43.668Z] b541d28bf3b4: Preparing [2022-04-26T15:43:43.668Z] b541d28bf3b4: Layer already exists [2022-04-26T15:43:43.668Z] 2bdfe7688793: Pushed [2022-04-26T15:43:43.668Z] 4f57038990e8: Pushed [2022-04-26T15:43:43.929Z] 1120287ef5a4: Pushed [2022-04-26T15:43:46.595Z] 88ef34596cdf: Pushed [2022-04-26T15:43:46.595Z] cac5c8aff02eeff20ea0733b686feb688efb88bb: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:46.897Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:47.189Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-26T15:43:47.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-26T15:43:47.189Z] 4f57038990e8: Preparing [2022-04-26T15:43:47.189Z] 2bdfe7688793: Preparing [2022-04-26T15:43:47.189Z] 88ef34596cdf: Preparing [2022-04-26T15:43:47.189Z] 1120287ef5a4: Preparing [2022-04-26T15:43:47.189Z] b541d28bf3b4: Preparing [2022-04-26T15:43:47.189Z] 2bdfe7688793: Layer already exists [2022-04-26T15:43:47.189Z] 4f57038990e8: Layer already exists [2022-04-26T15:43:47.189Z] b541d28bf3b4: Layer already exists [2022-04-26T15:43:47.189Z] 1120287ef5a4: Layer already exists [2022-04-26T15:43:47.189Z] 88ef34596cdf: Layer already exists [2022-04-26T15:43:47.189Z] latest: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:47.484Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:47.785Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 [2022-04-26T15:43:47.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-26T15:43:47.785Z] 4f57038990e8: Preparing [2022-04-26T15:43:47.785Z] 2bdfe7688793: Preparing [2022-04-26T15:43:47.785Z] 88ef34596cdf: Preparing [2022-04-26T15:43:47.785Z] 1120287ef5a4: Preparing [2022-04-26T15:43:47.785Z] b541d28bf3b4: Preparing [2022-04-26T15:43:47.785Z] 1120287ef5a4: Layer already exists [2022-04-26T15:43:47.785Z] 4f57038990e8: Layer already exists [2022-04-26T15:43:47.785Z] b541d28bf3b4: Layer already exists [2022-04-26T15:43:47.785Z] 2bdfe7688793: Layer already exists [2022-04-26T15:43:47.785Z] 88ef34596cdf: Layer already exists [2022-04-26T15:43:47.785Z] 2.2.0-dev.16: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:48.102Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:48.395Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T15:43:48.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-26T15:43:48.395Z] 4f57038990e8: Preparing [2022-04-26T15:43:48.395Z] 2bdfe7688793: Preparing [2022-04-26T15:43:48.395Z] 88ef34596cdf: Preparing [2022-04-26T15:43:48.395Z] 1120287ef5a4: Preparing [2022-04-26T15:43:48.395Z] b541d28bf3b4: Preparing [2022-04-26T15:43:48.395Z] b541d28bf3b4: Layer already exists [2022-04-26T15:43:48.395Z] 1120287ef5a4: Layer already exists [2022-04-26T15:43:48.395Z] 88ef34596cdf: Layer already exists [2022-04-26T15:43:48.395Z] 4f57038990e8: Layer already exists [2022-04-26T15:43:48.395Z] 2bdfe7688793: Layer already exists [2022-04-26T15:43:48.395Z] cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:48.689Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:48.986Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-04-26T15:43:48.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-26T15:43:48.986Z] 4f57038990e8: Preparing [2022-04-26T15:43:48.986Z] 2bdfe7688793: Preparing [2022-04-26T15:43:48.986Z] 88ef34596cdf: Preparing [2022-04-26T15:43:48.986Z] 1120287ef5a4: Preparing [2022-04-26T15:43:48.986Z] b541d28bf3b4: Preparing [2022-04-26T15:43:48.986Z] 88ef34596cdf: Layer already exists [2022-04-26T15:43:48.986Z] 1120287ef5a4: Layer already exists [2022-04-26T15:43:48.986Z] 4f57038990e8: Layer already exists [2022-04-26T15:43:48.986Z] 2bdfe7688793: Layer already exists [2022-04-26T15:43:48.986Z] b541d28bf3b4: Layer already exists [2022-04-26T15:43:48.986Z] main: digest: sha256:5cf8e28dc02b0eeeac62c39b12768f7b885abced16c803fa196fe37be6ec3c02 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:43:49.031Z] ===================================================== [Pipeline] echo [2022-04-26T15:43:49.041Z] taggedImages: [2022-04-26T15:43:49.041Z] - nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T15:43:49.041Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-26T15:43:49.041Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.16 [2022-04-26T15:43:49.041Z] - nexus3.edgexfoundry.org:10004/device-mqtt:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T15:43:49.041Z] - 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-26T15:43:49.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:43:49.430Z] [2022-04-26T15:43:49.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:43:49.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:43:49.728Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:43:49.728Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:43:49.728Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:43:49.728Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:43:49.728Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:43:49.728Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:43:49.728Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:43:49.728Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:43:49.728Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:43:49.728Z] 33b1e0a273af: Waiting [2022-04-26T15:43:49.728Z] 5d3b04190fa2: Waiting [2022-04-26T15:43:49.728Z] 2f39f015ded8: Waiting [2022-04-26T15:43:49.728Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T15:43:49.728Z] 5c69ac0246d0: Download complete [2022-04-26T15:43:49.728Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:43:49.728Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:43:49.728Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:43:49.728Z] 33b1e0a273af: Download complete [2022-04-26T15:43:49.986Z] 5d3b04190fa2: Download complete [2022-04-26T15:43:49.986Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:43:49.986Z] ec43610c2a17: Download complete [2022-04-26T15:43:49.986Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:43:49.986Z] 5eb5b503b376: Download complete [2022-04-26T15:43:50.597Z] 2f39f015ded8: Verifying Checksum [2022-04-26T15:43:50.597Z] 2f39f015ded8: Download complete [2022-04-26T15:43:51.240Z] 5eb5b503b376: Pull complete [2022-04-26T15:43:51.529Z] 5c69ac0246d0: Pull complete [2022-04-26T15:43:51.797Z] ec43610c2a17: Pull complete [2022-04-26T15:43:52.056Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:43:52.316Z] 33b1e0a273af: Pull complete [2022-04-26T15:43:52.316Z] 5d3b04190fa2: Pull complete [2022-04-26T15:43:56.505Z] 2f39f015ded8: Pull complete [2022-04-26T15:43:56.505Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:43:56.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:43:56.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:43:56.574Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T15:43:56.612Z] $ 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-26T15:43:59.122Z] $ docker top 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:43:59.541Z] ---> job-cost.sh [2022-04-26T15:43:59.541Z] lf-activate-venv: SKIPPING [2022-04-26T15:43:59.541Z] INFO: No Stack... [2022-04-26T15:43:59.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:44:00.374Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:44:00.673Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-04-26T15:44:00.673Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:44:00.692Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [2022-04-26T15:44:00.697Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] did not exist. Created. [2022-04-26T15:44:00.697Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:44:01.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:44:01.030Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:44:01.043Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:44:01.070Z] $ docker stop --time=1 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f [2022-04-26T15:44:02.243Z] $ docker rm -f 2cd72d8ff5a066747e5f6fbd1fb7c5b612e6c648f65ca77aa801746953c2310f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:14:37.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26953 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-04-26T16:14:37.192Z] Running in /w/workspace/device-mqtt-go/37 [Pipeline] { [Pipeline] checkout [2022-04-26T16:14:37.530Z] Selected Git installation does not exist. Using Default [2022-04-26T16:14:37.530Z] The recommended git tool is: NONE [2022-04-26T16:14:45.229Z] using credential edgex-jenkins-ssh [2022-04-26T16:14:45.250Z] Cloning the remote Git repository [2022-04-26T16:14:45.454Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:14:45.555Z] > git init /w/workspace/device-mqtt-go/37 # timeout=10 [2022-04-26T16:14:45.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:14:45.689Z] > git --version # timeout=10 [2022-04-26T16:14:45.743Z] > git --version # 'git version 2.25.1' [2022-04-26T16:14:45.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:14:45.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:14:47.240Z] Avoid second fetch [2022-04-26T16:14:47.241Z] Checking out Revision cac5c8aff02eeff20ea0733b686feb688efb88bb (main) [2022-04-26T16:14:47.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T16:14:47.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:14:47.287Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:14:47.316Z] > git checkout -f cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [2022-04-26T16:14:51.631Z] Commit message: "feat(snap): use updated environment variable injection (#365)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:14:52.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T16:14:52.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:14:52.576Z] Dload Upload Total Spent Left Speed [2022-04-26T16:14:52.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93992 0 --:--:-- --:--:-- --:--:-- 93992 [Pipeline] sh [2022-04-26T16:14:53.178Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T16:14:53.569Z] + sudo tee /etc/docker/daemon.new [2022-04-26T16:14:53.569Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T16:14:53.569Z] { [2022-04-26T16:14:53.569Z] "registry-mirrors": [ [2022-04-26T16:14:53.569Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T16:14:53.569Z] ], [2022-04-26T16:14:53.569Z] "bip": "10.250.0.254/24", [2022-04-26T16:14:53.569Z] "hosts": [ [2022-04-26T16:14:53.569Z] "tcp://0.0.0.0:5555", [2022-04-26T16:14:53.569Z] "unix:///var/run/docker.sock" [2022-04-26T16:14:53.569Z] ], [2022-04-26T16:14:53.569Z] "mtu": 1458, [2022-04-26T16:14:53.569Z] "selinux-enabled": true, [2022-04-26T16:14:53.569Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T16:14:53.569Z] } [Pipeline] sh [2022-04-26T16:14:53.933Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T16:14:54.275Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:15:12.640Z] provisioning config files... [2022-04-26T16:15:12.667Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/37@tmp/config2084052066022972363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:15:13.037Z] ---> docker-login.sh [2022-04-26T16:15:13.037Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:15:13.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:15:13.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:15:13.913Z] Configure a credential helper to remove this warning. See [2022-04-26T16:15:13.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:15:13.913Z] [2022-04-26T16:15:13.913Z] Login Succeeded [2022-04-26T16:15:13.913Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:15:14.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:15:14.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:15:14.462Z] Configure a credential helper to remove this warning. See [2022-04-26T16:15:14.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:15:14.462Z] [2022-04-26T16:15:14.462Z] Login Succeeded [2022-04-26T16:15:14.462Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:15:14.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:15:14.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:15:14.737Z] Configure a credential helper to remove this warning. See [2022-04-26T16:15:14.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:15:14.737Z] [2022-04-26T16:15:14.737Z] Login Succeeded [2022-04-26T16:15:14.737Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:15:15.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:15:15.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:15:15.339Z] Configure a credential helper to remove this warning. See [2022-04-26T16:15:15.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:15:15.339Z] [2022-04-26T16:15:15.339Z] Login Succeeded [2022-04-26T16:15:15.339Z] docker.io [2022-04-26T16:15:15.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:15:16.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:15:16.207Z] Configure a credential helper to remove this warning. See [2022-04-26T16:15:16.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:15:16.207Z] [2022-04-26T16:15:16.207Z] Login Succeeded [2022-04-26T16:15:16.207Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:15:16.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:15:16.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:15:16.886Z] ========================================================= [2022-04-26T16:15:16.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T16:15:16.886Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:15:17.258Z] + 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-26T16:15:17.535Z] Sending build context to Docker daemon 3.037MB [2022-04-26T16:15:17.812Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:15:17.813Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T16:15:17.813Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T16:15:17.813Z] 9b3977197b4f: Pulling fs layer [2022-04-26T16:15:17.813Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T16:15:17.813Z] 94645a83ff95: Pulling fs layer [2022-04-26T16:15:17.813Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T16:15:17.813Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T16:15:17.813Z] 3096ccb668a1: Pulling fs layer [2022-04-26T16:15:17.813Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T16:15:17.813Z] a4caa8a26152: Pulling fs layer [2022-04-26T16:15:17.813Z] 3f3a8bcf1eab: Waiting [2022-04-26T16:15:17.813Z] 0c92f367c5e7: Waiting [2022-04-26T16:15:17.813Z] 3096ccb668a1: Waiting [2022-04-26T16:15:17.813Z] e8cf19c19ddd: Waiting [2022-04-26T16:15:17.813Z] a4caa8a26152: Waiting [2022-04-26T16:15:17.813Z] 94645a83ff95: Verifying Checksum [2022-04-26T16:15:17.813Z] 94645a83ff95: Download complete [2022-04-26T16:15:17.813Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T16:15:17.813Z] 1a89e8eeedd5: Download complete [2022-04-26T16:15:17.813Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T16:15:17.813Z] 0c92f367c5e7: Download complete [2022-04-26T16:15:17.813Z] 3096ccb668a1: Verifying Checksum [2022-04-26T16:15:17.813Z] 3096ccb668a1: Download complete [2022-04-26T16:15:17.813Z] 9b3977197b4f: Verifying Checksum [2022-04-26T16:15:17.813Z] 9b3977197b4f: Download complete [2022-04-26T16:15:18.103Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T16:15:18.103Z] e8cf19c19ddd: Download complete [2022-04-26T16:15:18.710Z] 9b3977197b4f: Pull complete [2022-04-26T16:15:19.310Z] 1a89e8eeedd5: Pull complete [2022-04-26T16:15:19.587Z] 94645a83ff95: Pull complete [2022-04-26T16:15:19.862Z] a4caa8a26152: Verifying Checksum [2022-04-26T16:15:19.862Z] a4caa8a26152: Download complete [2022-04-26T16:15:20.457Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T16:15:20.458Z] 3f3a8bcf1eab: Download complete [2022-04-26T16:15:32.941Z] 3f3a8bcf1eab: Pull complete [2022-04-26T16:15:32.941Z] 0c92f367c5e7: Pull complete [2022-04-26T16:15:32.941Z] 3096ccb668a1: Pull complete [2022-04-26T16:15:33.217Z] e8cf19c19ddd: Pull complete [2022-04-26T16:15:39.949Z] a4caa8a26152: Pull complete [2022-04-26T16:15:39.949Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T16:15:39.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T16:15:39.949Z] ---> 725f1c02e7f9 [2022-04-26T16:15:39.949Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:15:41.006Z] ---> Running in 85c78a45fe3c [2022-04-26T16:15:41.006Z] Removing intermediate container 85c78a45fe3c [2022-04-26T16:15:41.006Z] ---> d417117a057a [2022-04-26T16:15:41.006Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:15:41.279Z] ---> Running in 8042084f01d0 [2022-04-26T16:15:41.554Z] Removing intermediate container 8042084f01d0 [2022-04-26T16:15:41.554Z] ---> 54b333cca204 [2022-04-26T16:15:41.554Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:15:41.554Z] ---> Running in 75f762c85a3e [2022-04-26T16:15:43.526Z] Removing intermediate container 75f762c85a3e [2022-04-26T16:15:43.526Z] ---> 731eeff3762f [2022-04-26T16:15:43.526Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:15:43.526Z] ---> Running in 1f702b25d646 [2022-04-26T16:15:44.124Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:15:45.102Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:15:46.073Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:15:46.073Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T16:15:46.073Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:15:46.346Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:15:46.346Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:15:46.346Z] OK: 224 MiB in 56 packages [2022-04-26T16:15:47.331Z] Removing intermediate container 1f702b25d646 [2022-04-26T16:15:47.331Z] ---> a375f15a16b1 [2022-04-26T16:15:47.331Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T16:15:47.331Z] ---> Running in 86d344deeacf [2022-04-26T16:15:47.612Z] Removing intermediate container 86d344deeacf [2022-04-26T16:15:47.612Z] ---> 0cc566a405ff [2022-04-26T16:15:47.612Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T16:15:48.217Z] ---> 074a93b5d027 [2022-04-26T16:15:48.217Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:15:48.217Z] ---> Running in e22a9a637af4 [2022-04-26T16:16:35.206Z] Removing intermediate container e22a9a637af4 [2022-04-26T16:16:35.206Z] ---> 48dd964bf501 [2022-04-26T16:16:35.206Z] Step 10/12 : COPY . . [2022-04-26T16:16:35.478Z] ---> 1440666722ca [2022-04-26T16:16:35.478Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T16:16:35.478Z] ---> Running in 03697ce58abc [2022-04-26T16:16:35.753Z] Removing intermediate container 03697ce58abc [2022-04-26T16:16:35.753Z] ---> 1d889d98fda2 [2022-04-26T16:16:35.753Z] Step 12/12 : RUN $MAKE [2022-04-26T16:16:36.026Z] ---> Running in 40eec257970b [2022-04-26T16:16:37.007Z] noop [2022-04-26T16:16:37.610Z] Removing intermediate container 40eec257970b [2022-04-26T16:16:37.610Z] ---> 7b6e19d35819 [2022-04-26T16:16:37.610Z] Successfully built 7b6e19d35819 [2022-04-26T16:16:37.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:16:37.959Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:16:37.959Z] . [Pipeline] withDockerContainer [2022-04-26T16:16:38.177Z] prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container [2022-04-26T16:16:38.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@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-26T16:16:39.510Z] $ docker top b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:16:40.430Z] + go version [2022-04-26T16:16:40.430Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T16:16:40.458Z] $ docker stop --time=1 b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f [2022-04-26T16:16:42.065Z] $ docker rm -f b1701caf8ad5c37e96278f50914d9a5ac4daeddac289c49d543a091a56956f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:16:42.632Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:16:42.632Z] . [Pipeline] withDockerContainer [2022-04-26T16:16:42.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container [2022-04-26T16:16:42.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@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-26T16:16:44.186Z] $ docker top 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:16:45.109Z] + make test [2022-04-26T16:16:45.109Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T16:16:46.559Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T16:18:08.418Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T16:18:08.418Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-04-26T16:18:08.418Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T16:18:08.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T16:18:08.418Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:18:26.772Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:18:26.772Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:18:26.772Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:18:30.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:18:30.213Z] $ docker stop --time=1 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 [2022-04-26T16:18:31.979Z] $ docker rm -f 5b65deb597c2cd3d40730e04f2ac1295f1a781bb4a17afc605b6cd2666a34609 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:18:32.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:18:32.955Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T16:18:33.405Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:18:33.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:18:34.149Z] + ls -al . [2022-04-26T16:18:34.149Z] total 172 [2022-04-26T16:18:34.149Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:18 . [2022-04-26T16:18:34.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:14 .. [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:14 .dockerignore [2022-04-26T16:18:34.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:14 .git [2022-04-26T16:18:34.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 .github [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 16:14 .gitignore [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:14 .golangci.yml [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 16:14 Attribution.txt [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 16:14 CHANGELOG.md [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:14 Dockerfile [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:14 GOVERNANCE.md [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 16:14 Jenkinsfile [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:14 LICENSE [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:14 Makefile [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:14 OWNERS.md [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 16:14 README.md [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:42 VERSION [2022-04-26T16:18:34.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:14 bin [2022-04-26T16:18:34.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 cmd [2022-04-26T16:18:34.149Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 16:18 coverage.out [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 16:14 go.mod [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 26 16:14 go.sum [2022-04-26T16:18:34.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:14 internal [2022-04-26T16:18:34.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:14 mock [2022-04-26T16:18:34.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:14 snap [2022-04-26T16:18:34.149Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 16:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:18:34.501Z] + 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=cac5c8aff02eeff20ea0733b686feb688efb88bb --label arch=arm64 --label version=2.2.0-dev.16 . [2022-04-26T16:18:34.776Z] Sending build context to Docker daemon 3.056MB [2022-04-26T16:18:34.776Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:18:34.776Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T16:18:34.776Z] ---> 7b6e19d35819 [2022-04-26T16:18:34.776Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:18:35.049Z] ---> Running in c54abb6a2b2b [2022-04-26T16:18:35.323Z] Removing intermediate container c54abb6a2b2b [2022-04-26T16:18:35.323Z] ---> 57fc958ab79a [2022-04-26T16:18:35.323Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:18:35.323Z] ---> Running in bcc630a2553c [2022-04-26T16:18:35.600Z] Removing intermediate container bcc630a2553c [2022-04-26T16:18:35.600Z] ---> a9353f172762 [2022-04-26T16:18:35.600Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:18:35.883Z] ---> Running in 102e6e3c6d0c [2022-04-26T16:18:37.329Z] Removing intermediate container 102e6e3c6d0c [2022-04-26T16:18:37.329Z] ---> 615cc020cc00 [2022-04-26T16:18:37.329Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:18:37.609Z] ---> Running in 072d73d91a5c [2022-04-26T16:18:38.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:18:39.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:18:40.167Z] OK: 224 MiB in 56 packages [2022-04-26T16:18:41.148Z] Removing intermediate container 072d73d91a5c [2022-04-26T16:18:41.148Z] ---> 19836f202f13 [2022-04-26T16:18:41.148Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-26T16:18:41.148Z] ---> Running in ff063d5a48c1 [2022-04-26T16:18:41.421Z] Removing intermediate container ff063d5a48c1 [2022-04-26T16:18:41.421Z] ---> 77b26c69f2e3 [2022-04-26T16:18:41.421Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-26T16:18:42.019Z] ---> b91c092f90af [2022-04-26T16:18:42.019Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:18:42.019Z] ---> Running in 1b9879c89b9a [2022-04-26T16:18:43.995Z] Removing intermediate container 1b9879c89b9a [2022-04-26T16:18:43.995Z] ---> 499eaa362395 [2022-04-26T16:18:43.995Z] Step 10/24 : COPY . . [2022-04-26T16:18:44.975Z] ---> 7c49fda48244 [2022-04-26T16:18:44.975Z] Step 11/24 : ARG MAKE='make build' [2022-04-26T16:18:44.975Z] ---> Running in bf2456ec9b38 [2022-04-26T16:18:45.247Z] Removing intermediate container bf2456ec9b38 [2022-04-26T16:18:45.247Z] ---> 41ea0ee1b3a2 [2022-04-26T16:18:45.247Z] Step 12/24 : RUN $MAKE [2022-04-26T16:18:45.247Z] ---> Running in ef69da5d566a [2022-04-26T16:18:46.234Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-26T16:20:53.131Z] Removing intermediate container ef69da5d566a [2022-04-26T16:20:53.131Z] ---> e9371fba8177 [2022-04-26T16:20:53.131Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T16:20:53.131Z] 3.14: Pulling from library/alpine [2022-04-26T16:20:53.131Z] 455c02918c45: Pulling fs layer [2022-04-26T16:20:53.131Z] 455c02918c45: Verifying Checksum [2022-04-26T16:20:53.131Z] 455c02918c45: Download complete [2022-04-26T16:20:53.131Z] 455c02918c45: Pull complete [2022-04-26T16:20:53.131Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:20:53.131Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:20:53.131Z] ---> ac73e934f311 [2022-04-26T16:20:53.131Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-26T16:20:53.131Z] ---> Running in 32dce48a42cb [2022-04-26T16:20:53.131Z] Removing intermediate container 32dce48a42cb [2022-04-26T16:20:53.131Z] ---> 6b1f9bae8663 [2022-04-26T16:20:53.131Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:20:53.131Z] ---> Running in 97b6aeb5e52f [2022-04-26T16:20:53.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:20:53.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:20:53.131Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:20:53.131Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:20:53.131Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:20:53.131Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:20:53.131Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:20:53.131Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:20:53.131Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:20:53.131Z] OK: 8 MiB in 20 packages [2022-04-26T16:20:53.131Z] Removing intermediate container 97b6aeb5e52f [2022-04-26T16:20:53.131Z] ---> 9ee6e506c3c5 [2022-04-26T16:20:53.131Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-26T16:20:53.131Z] ---> 87d8a706e562 [2022-04-26T16:20:53.131Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-26T16:20:53.131Z] ---> 7fd44a89eec4 [2022-04-26T16:20:53.131Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-26T16:20:53.131Z] ---> 945c068e62ef [2022-04-26T16:20:53.131Z] Step 19/24 : EXPOSE 59982 [2022-04-26T16:20:53.131Z] ---> Running in 0bb72c097ef2 [2022-04-26T16:20:53.131Z] Removing intermediate container 0bb72c097ef2 [2022-04-26T16:20:53.131Z] ---> d4680c05f4de [2022-04-26T16:20:53.131Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-26T16:20:53.131Z] ---> Running in 4f6d8e7ce7ec [2022-04-26T16:20:53.131Z] Removing intermediate container 4f6d8e7ce7ec [2022-04-26T16:20:53.131Z] ---> b3d879f7f7ff [2022-04-26T16:20:53.131Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T16:20:53.131Z] ---> Running in 14deda8d531f [2022-04-26T16:20:53.131Z] Removing intermediate container 14deda8d531f [2022-04-26T16:20:53.131Z] ---> c756c09b2187 [2022-04-26T16:20:53.131Z] Step 22/24 : LABEL arch=arm64 [2022-04-26T16:20:53.131Z] ---> Running in 1e0489d77cc0 [2022-04-26T16:20:53.131Z] Removing intermediate container 1e0489d77cc0 [2022-04-26T16:20:53.131Z] ---> 922cda2f31e1 [2022-04-26T16:20:53.131Z] Step 23/24 : LABEL git_sha=cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T16:20:53.131Z] ---> Running in b118fc54eb23 [2022-04-26T16:20:53.131Z] Removing intermediate container b118fc54eb23 [2022-04-26T16:20:53.131Z] ---> 8cb603480808 [2022-04-26T16:20:53.131Z] Step 24/24 : LABEL version=2.2.0-dev.16 [2022-04-26T16:20:53.131Z] ---> Running in 91c44ff207ba [2022-04-26T16:20:53.131Z] Removing intermediate container 91c44ff207ba [2022-04-26T16:20:53.131Z] ---> e198575d3d49 [2022-04-26T16:20:53.131Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:20:53.131Z] Successfully built e198575d3d49 [2022-04-26T16:20:53.131Z] 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-26T16:20:53.249Z] provisioning config files... [2022-04-26T16:20:53.267Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/37@tmp/config2104859292331521237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:20:53.615Z] ---> docker-login.sh [2022-04-26T16:20:53.615Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:20:53.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:20:53.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:20:53.888Z] Configure a credential helper to remove this warning. See [2022-04-26T16:20:53.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:20:53.888Z] [2022-04-26T16:20:53.888Z] Login Succeeded [2022-04-26T16:20:53.888Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:20:54.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:20:54.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:20:54.440Z] Configure a credential helper to remove this warning. See [2022-04-26T16:20:54.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:20:54.440Z] [2022-04-26T16:20:54.440Z] Login Succeeded [2022-04-26T16:20:54.440Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:20:54.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:20:54.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:20:54.988Z] Configure a credential helper to remove this warning. See [2022-04-26T16:20:54.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:20:54.988Z] [2022-04-26T16:20:54.988Z] Login Succeeded [2022-04-26T16:20:54.988Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:20:55.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:20:55.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:20:55.264Z] Configure a credential helper to remove this warning. See [2022-04-26T16:20:55.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:20:55.264Z] [2022-04-26T16:20:55.264Z] Login Succeeded [2022-04-26T16:20:55.264Z] docker.io [2022-04-26T16:20:55.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:20:56.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:20:56.137Z] Configure a credential helper to remove this warning. See [2022-04-26T16:20:56.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:20:56.137Z] [2022-04-26T16:20:56.137Z] Login Succeeded [2022-04-26T16:20:56.137Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:20:56.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:20:56.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:20:56.218Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-04-26T16:20:56.218Z] cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T16:20:56.218Z] latest [2022-04-26T16:20:56.218Z] 2.2.0-dev.16 [2022-04-26T16:20:56.218Z] cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T16:20:56.218Z] main [2022-04-26T16:20:56.218Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:20:56.584Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:20:56.941Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T16:20:56.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-26T16:20:56.941Z] f25bb7b155a9: Preparing [2022-04-26T16:20:56.941Z] 1c5784058890: Preparing [2022-04-26T16:20:56.941Z] 636cdb95f409: Preparing [2022-04-26T16:20:56.941Z] cb907e85b9ce: Preparing [2022-04-26T16:20:56.941Z] f73e7dbfee58: Preparing [2022-04-26T16:20:56.941Z] f73e7dbfee58: Layer already exists [2022-04-26T16:20:57.215Z] f25bb7b155a9: Pushed [2022-04-26T16:20:57.215Z] 1c5784058890: Pushed [2022-04-26T16:20:57.823Z] cb907e85b9ce: Pushed [2022-04-26T16:21:03.222Z] 636cdb95f409: Pushed [2022-04-26T16:21:03.222Z] cac5c8aff02eeff20ea0733b686feb688efb88bb: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:03.576Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:03.923Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-26T16:21:03.923Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-26T16:21:03.923Z] f25bb7b155a9: Preparing [2022-04-26T16:21:03.923Z] 1c5784058890: Preparing [2022-04-26T16:21:03.923Z] 636cdb95f409: Preparing [2022-04-26T16:21:03.923Z] cb907e85b9ce: Preparing [2022-04-26T16:21:03.923Z] f73e7dbfee58: Preparing [2022-04-26T16:21:03.923Z] 1c5784058890: Layer already exists [2022-04-26T16:21:03.923Z] f25bb7b155a9: Layer already exists [2022-04-26T16:21:03.923Z] 636cdb95f409: Layer already exists [2022-04-26T16:21:03.923Z] cb907e85b9ce: Layer already exists [2022-04-26T16:21:03.923Z] f73e7dbfee58: Layer already exists [2022-04-26T16:21:04.197Z] latest: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:04.552Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:04.905Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 [2022-04-26T16:21:04.905Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-26T16:21:04.905Z] f25bb7b155a9: Preparing [2022-04-26T16:21:04.905Z] 1c5784058890: Preparing [2022-04-26T16:21:04.905Z] 636cdb95f409: Preparing [2022-04-26T16:21:04.905Z] cb907e85b9ce: Preparing [2022-04-26T16:21:04.905Z] f73e7dbfee58: Preparing [2022-04-26T16:21:04.905Z] 636cdb95f409: Layer already exists [2022-04-26T16:21:04.905Z] 1c5784058890: Layer already exists [2022-04-26T16:21:04.905Z] f73e7dbfee58: Layer already exists [2022-04-26T16:21:04.905Z] cb907e85b9ce: Layer already exists [2022-04-26T16:21:04.905Z] f25bb7b155a9: Layer already exists [2022-04-26T16:21:05.179Z] 2.2.0-dev.16: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:05.537Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:05.880Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T16:21:05.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-26T16:21:05.881Z] f25bb7b155a9: Preparing [2022-04-26T16:21:05.881Z] 1c5784058890: Preparing [2022-04-26T16:21:05.881Z] 636cdb95f409: Preparing [2022-04-26T16:21:05.881Z] cb907e85b9ce: Preparing [2022-04-26T16:21:05.881Z] f73e7dbfee58: Preparing [2022-04-26T16:21:05.881Z] f25bb7b155a9: Layer already exists [2022-04-26T16:21:05.881Z] 1c5784058890: Layer already exists [2022-04-26T16:21:05.881Z] 636cdb95f409: Layer already exists [2022-04-26T16:21:05.881Z] cb907e85b9ce: Layer already exists [2022-04-26T16:21:05.881Z] f73e7dbfee58: Layer already exists [2022-04-26T16:21:06.154Z] cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:06.508Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:06.855Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-04-26T16:21:06.855Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-26T16:21:06.855Z] f25bb7b155a9: Preparing [2022-04-26T16:21:06.855Z] 1c5784058890: Preparing [2022-04-26T16:21:06.855Z] 636cdb95f409: Preparing [2022-04-26T16:21:06.855Z] cb907e85b9ce: Preparing [2022-04-26T16:21:06.855Z] f73e7dbfee58: Preparing [2022-04-26T16:21:06.855Z] 1c5784058890: Layer already exists [2022-04-26T16:21:06.855Z] f73e7dbfee58: Layer already exists [2022-04-26T16:21:06.855Z] f25bb7b155a9: Layer already exists [2022-04-26T16:21:06.855Z] cb907e85b9ce: Layer already exists [2022-04-26T16:21:06.855Z] 636cdb95f409: Layer already exists [2022-04-26T16:21:07.129Z] main: digest: sha256:f2391f81ca3a4284d25165095e0b4432cc9c71193a584d9c6da33916cb00c47d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:21:07.179Z] ===================================================== [Pipeline] echo [2022-04-26T16:21:07.189Z] taggedImages: [2022-04-26T16:21:07.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb [2022-04-26T16:21:07.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-26T16:21:07.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.16 [2022-04-26T16:21:07.189Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cac5c8aff02eeff20ea0733b686feb688efb88bb-2.2.0-dev.16 [2022-04-26T16:21:07.189Z] - 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-26T16:21:07.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:21:07.556Z] [2022-04-26T16:21:07.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:07.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:21:08.190Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T16:21:08.190Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T16:21:08.190Z] 04944245beec: Pulling fs layer [2022-04-26T16:21:08.190Z] 699f458cf7ca: Pulling fs layer [2022-04-26T16:21:08.190Z] 765212b225bb: Pulling fs layer [2022-04-26T16:21:08.190Z] f23df028b6ca: Pulling fs layer [2022-04-26T16:21:08.190Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T16:21:08.190Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T16:21:08.190Z] 765212b225bb: Waiting [2022-04-26T16:21:08.190Z] f23df028b6ca: Waiting [2022-04-26T16:21:08.190Z] 2437ff75d9bd: Waiting [2022-04-26T16:21:08.190Z] d65c8cfc05b1: Waiting [2022-04-26T16:21:08.190Z] 04944245beec: Verifying Checksum [2022-04-26T16:21:08.190Z] 04944245beec: Download complete [2022-04-26T16:21:08.190Z] 765212b225bb: Verifying Checksum [2022-04-26T16:21:08.190Z] 765212b225bb: Download complete [2022-04-26T16:21:08.190Z] f23df028b6ca: Download complete [2022-04-26T16:21:08.190Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T16:21:08.190Z] d65c8cfc05b1: Download complete [2022-04-26T16:21:08.468Z] 699f458cf7ca: Verifying Checksum [2022-04-26T16:21:08.468Z] 699f458cf7ca: Download complete [2022-04-26T16:21:08.745Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T16:21:08.745Z] 8998bd30e6a1: Download complete [2022-04-26T16:21:11.390Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T16:21:11.390Z] 2437ff75d9bd: Download complete [2022-04-26T16:21:13.380Z] 8998bd30e6a1: Pull complete [2022-04-26T16:21:13.661Z] 04944245beec: Pull complete [2022-04-26T16:21:15.101Z] 699f458cf7ca: Pull complete [2022-04-26T16:21:15.375Z] 765212b225bb: Pull complete [2022-04-26T16:21:16.363Z] f23df028b6ca: Pull complete [2022-04-26T16:21:16.642Z] d65c8cfc05b1: Pull complete [2022-04-26T16:21:31.749Z] 2437ff75d9bd: Pull complete [2022-04-26T16:21:31.749Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T16:21:31.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:21:31.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T16:21:31.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-26953 does not seem to be running inside a container [2022-04-26T16:21:32.064Z] $ 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/37 -v /w/workspace/device-mqtt-go/37:/w/workspace/device-mqtt-go/37:rw,z -v /w/workspace/device-mqtt-go/37@tmp:/w/workspace/device-mqtt-go/37@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-26T16:21:34.511Z] $ docker top 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:21:35.453Z] ---> job-cost.sh [2022-04-26T16:21:35.453Z] lf-activate-venv: SKIPPING [2022-04-26T16:21:35.453Z] INFO: No Stack... [2022-04-26T16:21:35.725Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T16:21:36.701Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:21:37.370Z] + cut -d, -f6 [2022-04-26T16:21:37.370Z] + cat /w/workspace/device-mqtt-go/37/archives/cost.csv [Pipeline] lock [2022-04-26T16:21:37.434Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [2022-04-26T16:21:37.737Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] did not exist. Created. [2022-04-26T16:21:37.737Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:21:38.426Z] /w/workspace/device-mqtt-go/37@tmp/durable-b16c8bcf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T16:21:39.105Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T16:21:39.133Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T16:21:39.176Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:21:39.182Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:21:39.202Z] $ docker stop --time=1 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c [2022-04-26T16:21:40.729Z] $ docker rm -f 0356fdd0aca4c793755ddbb42820c99f35a0bae26403239dea2080769106ef2c [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-26T16:21:41.255Z] provisioning config files... [2022-04-26T16:21:41.263Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1640726198995403494tmp [Pipeline] { [Pipeline] sh [2022-04-26T16:21:41.560Z] + set +x [2022-04-26T16:21:41.560Z] + curl -s https://codecov.io/bash [2022-04-26T16:21:41.560Z] + bash -s -- [2022-04-26T16:21:41.560Z] [2022-04-26T16:21:41.560Z] _____ _ [2022-04-26T16:21:41.560Z] / ____| | | [2022-04-26T16:21:41.560Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T16:21:41.560Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T16:21:41.560Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T16:21:41.560Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T16:21:41.561Z] Bash-1.0.6 [2022-04-26T16:21:41.561Z] [2022-04-26T16:21:41.561Z] [2022-04-26T16:21:41.561Z] ==> git version 2.25.1 found [2022-04-26T16:21:41.561Z] ==> 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-26T16:21:41.561Z] Release-Date: 2020-01-08 [2022-04-26T16:21:41.561Z] 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-26T16:21:41.561Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T16:21:41.561Z] ==> Jenkins CI detected. [2022-04-26T16:21:41.561Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T16:21:41.561Z] project root: . [2022-04-26T16:21:41.561Z] --> token set from env [2022-04-26T16:21:41.561Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T16:21:41.561Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T16:21:41.561Z] ==> Python coveragepy not found [2022-04-26T16:21:41.561Z] ==> Searching for coverage reports in: [2022-04-26T16:21:41.561Z] + . [2022-04-26T16:21:41.561Z] -> Found 1 reports [2022-04-26T16:21:41.561Z] ==> Detecting git/mercurial file structure [2022-04-26T16:21:41.561Z] ==> Reading reports [2022-04-26T16:21:41.561Z] + ./coverage.out bytes=17887 [2022-04-26T16:21:41.561Z] ==> Appending adjustments [2022-04-26T16:21:41.561Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T16:21:41.821Z] + Found adjustments [2022-04-26T16:21:41.821Z] ==> Gzipping contents [2022-04-26T16:21:41.821Z] 4.0K /tmp/codecov.SqgY1y.gz [2022-04-26T16:21:41.821Z] ==> Uploading reports [2022-04-26T16:21:41.821Z] url: https://codecov.io [2022-04-26T16:21:41.821Z] query: branch=main&commit=cac5c8aff02eeff20ea0733b686feb688efb88bb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:21:41.821Z] -> Pinging Codecov [2022-04-26T16:21:41.821Z] 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=cac5c8aff02eeff20ea0733b686feb688efb88bb&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:21:42.083Z] -> Uploading to [2022-04-26T16:21:42.083Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7D719EC7BBE17E464838252E33014C33/cac5c8aff02eeff20ea0733b686feb688efb88bb/54e20978-58ee-4073-9d8e-ab09a2093ab5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T162141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=697745f315d7db10d33883cb32a13687ab0f73a8dbecec29cb5c18428c312d76 [2022-04-26T16:21:42.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:21:42.083Z] Dload Upload Total Spent Left Speed [2022-04-26T16:21:42.344Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 12976 --:--:-- --:--:-- --:--:-- 12976 [2022-04-26T16:21:42.344Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] } [2022-04-26T16:21:42.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-26T16:21:42.666Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-26T16:21:42.676Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:42.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:21:42.979Z] [2022-04-26T16:21:42.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:21:43.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:21:43.288Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-26T16:21:43.288Z] 188c0c94c7c5: Pulling fs layer [2022-04-26T16:21:43.288Z] 0ef7d3d256c8: Pulling fs layer [2022-04-26T16:21:43.288Z] de9db76c5a1d: Pulling fs layer [2022-04-26T16:21:43.288Z] 0eba1c9be4d2: Pulling fs layer [2022-04-26T16:21:43.288Z] 0d57e429df01: Pulling fs layer [2022-04-26T16:21:43.288Z] 4e4be7b47b0d: Pulling fs layer [2022-04-26T16:21:43.288Z] e1f770b5df2f: Pulling fs layer [2022-04-26T16:21:43.288Z] 85a0685a4137: Pulling fs layer [2022-04-26T16:21:43.288Z] 0eba1c9be4d2: Waiting [2022-04-26T16:21:43.288Z] e1f770b5df2f: Waiting [2022-04-26T16:21:43.288Z] 85a0685a4137: Waiting [2022-04-26T16:21:43.288Z] 0d57e429df01: Waiting [2022-04-26T16:21:43.288Z] de9db76c5a1d: Download complete [2022-04-26T16:21:43.288Z] 0ef7d3d256c8: Download complete [2022-04-26T16:21:43.288Z] 0d57e429df01: Verifying Checksum [2022-04-26T16:21:43.288Z] 0d57e429df01: Download complete [2022-04-26T16:21:43.288Z] 4e4be7b47b0d: Verifying Checksum [2022-04-26T16:21:43.288Z] 4e4be7b47b0d: Download complete [2022-04-26T16:21:43.288Z] 188c0c94c7c5: Verifying Checksum [2022-04-26T16:21:43.288Z] 188c0c94c7c5: Download complete [2022-04-26T16:21:43.548Z] 188c0c94c7c5: Pull complete [2022-04-26T16:21:43.548Z] e1f770b5df2f: Verifying Checksum [2022-04-26T16:21:43.548Z] e1f770b5df2f: Download complete [2022-04-26T16:21:43.548Z] 0ef7d3d256c8: Pull complete [2022-04-26T16:21:43.809Z] de9db76c5a1d: Pull complete [2022-04-26T16:21:44.071Z] 0eba1c9be4d2: Download complete [2022-04-26T16:21:44.329Z] 85a0685a4137: Verifying Checksum [2022-04-26T16:21:44.329Z] 85a0685a4137: Download complete [2022-04-26T16:21:47.621Z] 0eba1c9be4d2: Pull complete [2022-04-26T16:21:47.621Z] 0d57e429df01: Pull complete [2022-04-26T16:21:47.621Z] 4e4be7b47b0d: Pull complete [2022-04-26T16:21:48.189Z] e1f770b5df2f: Pull complete [2022-04-26T16:21:51.484Z] 85a0685a4137: Pull complete [2022-04-26T16:21:51.484Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-26T16:21:51.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:21:51.484Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-26T16:21:51.549Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:21:51.561Z] $ 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-26T16:21:53.371Z] $ docker top dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-26T16:21:53.470Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-26T16:21:53.750Z] + set -o pipefail [2022-04-26T16:21:53.750Z] + snyk monitor '--org=edgex-jenkins' [2022-04-26T16:22:00.344Z] [2022-04-26T16:22:00.344Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-04-26T16:22:00.344Z] [2022-04-26T16:22:00.344Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/cb924623-9e8c-4ab4-a571-a2f064a3e8f4 [2022-04-26T16:22:00.344Z] [2022-04-26T16:22:00.344Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-26T16:22:00.344Z] [2022-04-26T16:22:00.344Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-26T16:22:00.344Z] [2022-04-26T16:22:00.344Z] [Pipeline] } [2022-04-26T16:22:00.330Z] $ docker stop --time=1 dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec [2022-04-26T16:22:02.661Z] $ docker rm -f dd3f9123a175771b1904bfd07cd0eabb53617d767c88fe41f69f32321b268dec [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-26T16:22:03.416Z] + git log --format=format:%s -1 cac5c8aff02eeff20ea0733b686feb688efb88bb [Pipeline] sh [2022-04-26T16:22:03.713Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:22:03.713Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:04.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:22:04.012Z] . [Pipeline] withDockerContainer [2022-04-26T16:22:04.081Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:22:04.159Z] $ 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-26T16:22:04.582Z] $ docker top ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:22:04.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:22:04.703Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:22:04.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:22:04.802Z] $ docker exec ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 ssh-agent [2022-04-26T16:22:04.943Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXppGgBB/agent.15 [2022-04-26T16:22:04.943Z] SSH_AGENT_PID=21 [2022-04-26T16:22:04.949Z] Running ssh-add (command line suppressed) [2022-04-26T16:22:05.025Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040526496651508910.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9040526496651508910.key) [2022-04-26T16:22:05.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:22:05.351Z] + git semver tag [2022-04-26T16:22:05.351Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:22:05.351Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-26T16:22:05.351Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T16:22:05.351Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:22:05.351Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:22:05.351Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:22:05.351Z] # $SEMVER_BRANCH = main [2022-04-26T16:22:05.351Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-26T16:22:05.351Z] # cac5c8aff02eeff20ea0733b686feb688efb88bb HEAD [2022-04-26T16:22:05.351Z] # -> Force: false [2022-04-26T16:22:05.351Z] # f50fc290a3a001b9230e9b942e032e17738e7c00 refs/tags/v2.2.0-dev.16 [Pipeline] } [2022-04-26T16:22:05.338Z] $ docker exec --env ******** --env ******** ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 ssh-agent -k [2022-04-26T16:22:05.454Z] unset SSH_AUTH_SOCK; [2022-04-26T16:22:05.454Z] unset SSH_AGENT_PID; [2022-04-26T16:22:05.454Z] echo Agent pid 21 killed; [2022-04-26T16:22:05.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:22:05.806Z] + git semver [Pipeline] } [2022-04-26T16:22:05.794Z] $ docker stop --time=1 ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 [2022-04-26T16:22:07.068Z] $ docker rm -f ba6bc939675a5a2855676b21d7d0fb07f7940ae14b58d23e7fe18eaa88a62a25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:07.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:22:07.488Z] [2022-04-26T16:22:07.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:07.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:22:07.790Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-26T16:22:07.790Z] ab5ef0e58194: Pulling fs layer [2022-04-26T16:22:07.790Z] 9712f1f96733: Pulling fs layer [2022-04-26T16:22:07.790Z] 63f879dbbcfc: Pulling fs layer [2022-04-26T16:22:07.790Z] 0d9ebad4ef96: Pulling fs layer [2022-04-26T16:22:07.790Z] e9a5061849ea: Pulling fs layer [2022-04-26T16:22:07.790Z] d747dcd14b5f: Pulling fs layer [2022-04-26T16:22:07.790Z] 2de7ff778b66: Pulling fs layer [2022-04-26T16:22:07.790Z] 0d9ebad4ef96: Waiting [2022-04-26T16:22:07.790Z] e9a5061849ea: Waiting [2022-04-26T16:22:07.790Z] d747dcd14b5f: Waiting [2022-04-26T16:22:07.790Z] 2de7ff778b66: Waiting [2022-04-26T16:22:07.790Z] 9712f1f96733: Verifying Checksum [2022-04-26T16:22:07.790Z] 9712f1f96733: Download complete [2022-04-26T16:22:08.049Z] 63f879dbbcfc: Verifying Checksum [2022-04-26T16:22:08.049Z] 63f879dbbcfc: Download complete [2022-04-26T16:22:08.310Z] e9a5061849ea: Verifying Checksum [2022-04-26T16:22:08.310Z] e9a5061849ea: Download complete [2022-04-26T16:22:08.310Z] d747dcd14b5f: Verifying Checksum [2022-04-26T16:22:08.310Z] d747dcd14b5f: Download complete [2022-04-26T16:22:08.310Z] 0d9ebad4ef96: Verifying Checksum [2022-04-26T16:22:08.310Z] 0d9ebad4ef96: Download complete [2022-04-26T16:22:08.310Z] 2de7ff778b66: Verifying Checksum [2022-04-26T16:22:08.310Z] 2de7ff778b66: Download complete [2022-04-26T16:22:08.572Z] ab5ef0e58194: Download complete [2022-04-26T16:22:11.869Z] ab5ef0e58194: Pull complete [2022-04-26T16:22:11.869Z] 9712f1f96733: Pull complete [2022-04-26T16:22:12.435Z] 63f879dbbcfc: Pull complete [2022-04-26T16:22:15.730Z] 0d9ebad4ef96: Pull complete [2022-04-26T16:22:16.301Z] e9a5061849ea: Pull complete [2022-04-26T16:22:16.301Z] d747dcd14b5f: Pull complete [2022-04-26T16:22:17.241Z] 2de7ff778b66: Pull complete [2022-04-26T16:22:17.241Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-26T16:22:17.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:22:17.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-26T16:22:17.303Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:22:17.311Z] $ 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-26T16:22:19.846Z] $ docker top 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:22:19.952Z] provisioning config files... [2022-04-26T16:22:19.961Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6497712964676105802tmp [2022-04-26T16:22:19.973Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4412881403904614683tmp [2022-04-26T16:22:19.983Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3676051113998337267tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:22:20.001Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:20.286Z] ---> sigul-configuration.sh [2022-04-26T16:22:20.286Z] gpg: directory `/root/.gnupg' created [2022-04-26T16:22:20.286Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-26T16:22:20.286Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-26T16:22:20.286Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-26T16:22:20.286Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-26T16:22:20.286Z] gpg: CAST5 encrypted data [2022-04-26T16:22:20.286Z] gpg: encrypted with 1 passphrase [2022-04-26T16:22:20.286Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-26T16:22:20.579Z] + mkdir /home/jenkins [2022-04-26T16:22:20.579Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-26T16:22:20.873Z] + 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-26T16:22:20.883Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:21.169Z] ---> sigul-install.sh [2022-04-26T16:22:21.169Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-26T16:22:21.460Z] + git tag --list [2022-04-26T16:22:21.460Z] 0.7.1 [2022-04-26T16:22:21.460Z] v1.0.0 [2022-04-26T16:22:21.460Z] v1.1.0 [2022-04-26T16:22:21.460Z] v1.1.1 [2022-04-26T16:22:21.460Z] v1.2.2 [2022-04-26T16:22:21.460Z] v1.3.0 [2022-04-26T16:22:21.460Z] v1.3.1 [2022-04-26T16:22:21.460Z] v2.0.0 [2022-04-26T16:22:21.460Z] v2.0.1-dev.1 [2022-04-26T16:22:21.460Z] v2.0.1-dev.10 [2022-04-26T16:22:21.460Z] v2.0.1-dev.11 [2022-04-26T16:22:21.460Z] v2.0.1-dev.12 [2022-04-26T16:22:21.460Z] v2.0.1-dev.13 [2022-04-26T16:22:21.460Z] v2.0.1-dev.14 [2022-04-26T16:22:21.460Z] v2.0.1-dev.15 [2022-04-26T16:22:21.460Z] v2.0.1-dev.16 [2022-04-26T16:22:21.460Z] v2.0.1-dev.17 [2022-04-26T16:22:21.460Z] v2.0.1-dev.2 [2022-04-26T16:22:21.460Z] v2.0.1-dev.3 [2022-04-26T16:22:21.460Z] v2.0.1-dev.4 [2022-04-26T16:22:21.460Z] v2.0.1-dev.5 [2022-04-26T16:22:21.460Z] v2.0.1-dev.6 [2022-04-26T16:22:21.460Z] v2.0.1-dev.7 [2022-04-26T16:22:21.460Z] v2.0.1-dev.8 [2022-04-26T16:22:21.460Z] v2.0.1-dev.9 [2022-04-26T16:22:21.460Z] v2.1.0 [2022-04-26T16:22:21.460Z] v2.2.0-dev.1 [2022-04-26T16:22:21.460Z] v2.2.0-dev.10 [2022-04-26T16:22:21.460Z] v2.2.0-dev.11 [2022-04-26T16:22:21.460Z] v2.2.0-dev.12 [2022-04-26T16:22:21.460Z] v2.2.0-dev.13 [2022-04-26T16:22:21.460Z] v2.2.0-dev.14 [2022-04-26T16:22:21.460Z] v2.2.0-dev.15 [2022-04-26T16:22:21.460Z] v2.2.0-dev.16 [2022-04-26T16:22:21.460Z] v2.2.0-dev.2 [2022-04-26T16:22:21.460Z] v2.2.0-dev.3 [2022-04-26T16:22:21.460Z] v2.2.0-dev.4 [2022-04-26T16:22:21.460Z] v2.2.0-dev.5 [2022-04-26T16:22:21.460Z] v2.2.0-dev.6 [2022-04-26T16:22:21.460Z] v2.2.0-dev.7 [2022-04-26T16:22:21.460Z] v2.2.0-dev.8 [2022-04-26T16:22:21.460Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-26T16:22:21.758Z] + lftools sign git-tag v2.2.0-dev.16 [2022-04-26T16:22:22.332Z] Signing Git tag with Sigul... [2022-04-26T16:22:22.332Z] Signing v2.2.0-dev.16 [Pipeline] echo [2022-04-26T16:22:22.606Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:22.898Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-26T16:22:22.908Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-26T16:22:22.907Z] $ docker stop --time=1 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 [2022-04-26T16:22:24.211Z] $ docker rm -f 4be638eaf624220a59d6e850f31fd931457c3387048ead902242019c1d327db5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-26T16:22:24.668Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:22:24.668Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:24.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:22:24.962Z] . [Pipeline] withDockerContainer [2022-04-26T16:22:25.028Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:22:25.036Z] $ 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-26T16:22:25.380Z] $ docker top 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:22:25.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:22:25.501Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:22:25.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:22:25.606Z] $ docker exec 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e ssh-agent [2022-04-26T16:22:25.754Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJACCDh/agent.14 [2022-04-26T16:22:25.754Z] SSH_AGENT_PID=20 [2022-04-26T16:22:25.758Z] Running ssh-add (command line suppressed) [2022-04-26T16:22:25.855Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1645851770207674696.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1645851770207674696.key) [2022-04-26T16:22:25.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:22:26.184Z] + git semver bump pre [2022-04-26T16:22:26.184Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:22:26.184Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-26T16:22:26.184Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T16:22:26.184Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:22:26.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:22:26.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:22:26.184Z] # $SEMVER_BRANCH = main [2022-04-26T16:22:26.184Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-26T16:22:26.184Z] 2.2.0-dev.17 [Pipeline] } [2022-04-26T16:22:26.170Z] $ docker exec --env ******** --env ******** 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e ssh-agent -k [2022-04-26T16:22:26.275Z] unset SSH_AUTH_SOCK; [2022-04-26T16:22:26.275Z] unset SSH_AGENT_PID; [2022-04-26T16:22:26.276Z] echo Agent pid 20 killed; [2022-04-26T16:22:26.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:22:26.631Z] + git semver [Pipeline] } [2022-04-26T16:22:26.622Z] $ docker stop --time=1 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e [2022-04-26T16:22:27.956Z] $ docker rm -f 5e65913a0de970d1a110619fd6560364c3eea9865480bf87b3744e2bb33aad5e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:22:28.328Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:22:28.328Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:28.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:22:28.620Z] . [Pipeline] withDockerContainer [2022-04-26T16:22:28.690Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:22:28.753Z] $ 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-26T16:22:29.182Z] $ docker top ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:22:29.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:22:29.300Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:22:29.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:22:29.403Z] $ docker exec ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 ssh-agent [2022-04-26T16:22:29.555Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGpNCB/agent.13 [2022-04-26T16:22:29.555Z] SSH_AGENT_PID=19 [2022-04-26T16:22:29.562Z] Running ssh-add (command line suppressed) [2022-04-26T16:22:29.649Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2876153011690748127.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2876153011690748127.key) [2022-04-26T16:22:29.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:22:29.992Z] + git semver push [2022-04-26T16:22:29.992Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:22:29.992Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-26T16:22:29.992Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T16:22:29.992Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:22:29.992Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:22:29.992Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:22:29.992Z] # $SEMVER_BRANCH = main [2022-04-26T16:22:29.992Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-26T16:22:35.277Z] $ docker exec --env ******** --env ******** ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 ssh-agent -k [2022-04-26T16:22:35.370Z] unset SSH_AUTH_SOCK; [2022-04-26T16:22:35.370Z] unset SSH_AGENT_PID; [2022-04-26T16:22:35.370Z] echo Agent pid 19 killed; [2022-04-26T16:22:35.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:22:35.723Z] + git semver [Pipeline] } [2022-04-26T16:22:35.716Z] $ docker stop --time=1 ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 [2022-04-26T16:22:37.103Z] $ docker rm -f ecefed8f3ec8616a5693825501e05aafbe91c84372164e118a5944097eac38f1 [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-26T16:22:37.793Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-04-26T16:22:37.793Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-26T16:22:37.793Z] total 16 [2022-04-26T16:22:37.793Z] drwxr-xr-x 3 root root 4096 Apr 26 15:44 . [2022-04-26T16:22:37.793Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:22 .. [2022-04-26T16:22:37.793Z] drwxr-xr-x 2 root root 4096 Apr 26 15:44 cost [2022-04-26T16:22:37.793Z] -rw-r--r-- 1 root root 84 Apr 26 15:44 cost.csv [2022-04-26T16:22:37.793Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-26T16:22:37.793Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-26T16:22:37.793Z] total 16 [2022-04-26T16:22:37.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:44 . [2022-04-26T16:22:37.793Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:22 .. [2022-04-26T16:22:37.793Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:44 cost [2022-04-26T16:22:37.793Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 26 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:38.092Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:38.960Z] ---> package-listing.sh [2022-04-26T16:22:38.960Z] ++ facter osfamily [2022-04-26T16:22:38.960Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T16:22:39.220Z] + OS_FAMILY=debian [2022-04-26T16:22:39.220Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-26T16:22:39.220Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T16:22:39.220Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T16:22:39.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T16:22:39.220Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T16:22:39.220Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-26T16:22:39.220Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T16:22:39.220Z] + case "${OS_FAMILY}" in [2022-04-26T16:22:39.220Z] + dpkg -l [2022-04-26T16:22:39.220Z] + grep '^ii' [2022-04-26T16:22:39.220Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T16:22:39.220Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T16:22:39.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T16:22:39.220Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-26T16:22:39.220Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-04-26T16:22:39.220Z] + 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-26T16:22:39.232Z] 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-26T16:22:39.513Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:22:40.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:22:40.068Z] . [Pipeline] withDockerContainer [2022-04-26T16:22:40.135Z] prd-ubuntu20.04-docker-8c-8g-23624 does not seem to be running inside a container [2022-04-26T16:22:40.145Z] $ 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-26T16:22:40.409Z] $ docker top 282751f691845f6f1ad992f92869282a2d51588bddc22ecbb839c3cf76dfbc44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:22:40.792Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T16:22:41.081Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T16:22:41.370Z] + ls /var/log/sa-host [2022-04-26T16:22:41.370Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:22:41.574Z] provisioning config files... [2022-04-26T16:22:41.586Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5869534469533405647tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:22:41.602Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:41.886Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T16:22:41.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:42.250Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T16:22:42.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:42.550Z] ---> sudo-logs.sh [2022-04-26T16:22:42.550Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T16:22:42.575Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:42.871Z] ---> job-cost.sh [2022-04-26T16:22:42.871Z] lf-activate-venv: SKIPPING [2022-04-26T16:22:42.871Z] DEBUG: total: 0.2199999988079071 [2022-04-26T16:22:42.871Z] INFO: Retrieving Stack Cost... [2022-04-26T16:22:43.441Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:22:43.701Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T16:22:43.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:22:44.004Z] ---> logs-deploy.sh [2022-04-26T16:22:44.004Z] lf-activate-venv: SKIPPING [2022-04-26T16:22:44.004Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/37 [2022-04-26T16:22:44.004Z] INFO: archiving workspace using pattern(s): [2022-04-26T16:22:44.947Z] Archives upload complete. [2022-04-26T16:22:44.947Z] INFO: archiving logs to Nexus