Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7b844beee09313a8b0584ee433be2eeca10ef2f 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-ssh290220725804108678.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-ssh7130351651433946445.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-ssh5080053905909024955.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-ssh3562791711261687865.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-ssh11043357222062786126.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 Running on prd-ubuntu20.04-docker-8c-8g-10469 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 a7b844beee09313a8b0584ee433be2eeca10ef2f (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 a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 Commit message: "test(snap): disable snap build on jenkins (#348)" > git rev-list --no-walk 9225b543fa42775eff825b7d98be0ff13d95165d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-01T15:28:57.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-01T15:28:57.770Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-01T15:28:57.782Z] ========================================================= [2022-04-01T15:28:57.782Z] EdgeX Global Pipelines Version Info [2022-04-01T15:28:57.782Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:28:58.553Z] ------------------- [2022-04-01T15:28:58.553Z] stable info: [2022-04-01T15:28:58.553Z] ------------------- [2022-04-01T15:28:58.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-01T15:28:58.553Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T15:28:58.553Z] Message: update stable to v1.0.221 [2022-04-01T15:28:59.124Z] ------------------- [2022-04-01T15:28:59.124Z] experimental info: [2022-04-01T15:28:59.124Z] ------------------- [2022-04-01T15:28:59.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-01T15:28:59.124Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T15:28:59.124Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-01T15:28:59.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-01T15:28:59.259Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-01T15:28:59.277Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-01T15:28:59.287Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-01T15:28:59.300Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-01T15:28:59.315Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-01T15:28:59.331Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-01T15:28:59.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-01T15:28:59.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-01T15:28:59.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-01T15:28:59.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-01T15:28:59.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-01T15:28:59.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-01T15:28:59.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-01T15:28:59.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T15:28:59.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T15:28:59.467Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T15:28:59.488Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T15:28:59.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-01T15:28:59.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-01T15:28:59.548Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-01T15:28:59.565Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-01T15:28:59.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-01T15:28:59.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-01T15:28:59.607Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-01T15:28:59.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-01T15:28:59.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-01T15:28:59.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-01T15:28:59.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-01T15:28:59.677Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] echo [2022-04-01T15:28:59.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7b844b [Pipeline] echo [2022-04-01T15:28:59.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T15:28:59.742Z] provisioning config files... [2022-04-01T15:28:59.757Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5259403159533602793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:29:00.067Z] ---> docker-login.sh [2022-04-01T15:29:00.067Z] nexus3.edgexfoundry.org:10001 [2022-04-01T15:29:00.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:00.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:00.331Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:00.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:00.331Z] [2022-04-01T15:29:00.331Z] Login Succeeded [2022-04-01T15:29:00.331Z] nexus3.edgexfoundry.org:10002 [2022-04-01T15:29:00.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:00.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:00.593Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:00.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:00.593Z] [2022-04-01T15:29:00.593Z] Login Succeeded [2022-04-01T15:29:00.593Z] nexus3.edgexfoundry.org:10003 [2022-04-01T15:29:00.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:00.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:00.877Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:00.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:00.877Z] [2022-04-01T15:29:00.877Z] Login Succeeded [2022-04-01T15:29:00.877Z] nexus3.edgexfoundry.org:10004 [2022-04-01T15:29:00.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:00.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:00.877Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:00.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:00.877Z] [2022-04-01T15:29:00.877Z] Login Succeeded [2022-04-01T15:29:00.877Z] docker.io [2022-04-01T15:29:00.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:01.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:01.457Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:01.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:01.457Z] [2022-04-01T15:29:01.457Z] Login Succeeded [2022-04-01T15:29:01.457Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T15:29:01.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-01T15:29:01.864Z] + git rev-list -1 --merges a7b844beee09313a8b0584ee433be2eeca10ef2f~1..a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] echo [2022-04-01T15:29:01.970Z] -----------> git rev-list -1 --merges a7b844beee09313a8b0584ee433be2eeca10ef2f~1..a7b844beee09313a8b0584ee433be2eeca10ef2f a7b844beee09313a8b0584ee433be2eeca10ef2f [false] [Pipeline] sh [2022-04-01T15:29:02.275Z] + git log --format=format:%s -1 a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] echo [2022-04-01T15:29:02.296Z] ========================================================= [2022-04-01T15:29:02.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-01T15:29:02.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T15:29:02.654Z] + git log --format=format:%s -1 a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] echo [2022-04-01T15:29:02.669Z] [semverPrep] GIT_COMMIT: a7b844beee09313a8b0584ee433be2eeca10ef2f, Commit Message: test(snap): disable snap build on jenkins (#348) [Pipeline] echo [2022-04-01T15:29:02.678Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-01T15:29:03.122Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T15:29:03.122Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-01T15:29:03.122Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-01T15:29:03.122Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-01T15:29:03.122Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-01T15:29:03.122Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-01T15:29:03.122Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:29:03.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:29:03.548Z] [2022-04-01T15:29:03.548Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:29:03.856Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:29:03.856Z] latest: Pulling from edgex-devops/git-semver [2022-04-01T15:29:03.856Z] a0d0a0d46f8b: Pulling fs layer [2022-04-01T15:29:03.856Z] 3e5f54012d9b: Pulling fs layer [2022-04-01T15:29:03.856Z] 4c7163046ea9: Pulling fs layer [2022-04-01T15:29:03.856Z] 0c2d73faf560: Pulling fs layer [2022-04-01T15:29:03.856Z] 3e5f54012d9b: Verifying Checksum [2022-04-01T15:29:03.856Z] 3e5f54012d9b: Download complete [2022-04-01T15:29:03.856Z] a0d0a0d46f8b: Verifying Checksum [2022-04-01T15:29:03.856Z] a0d0a0d46f8b: Download complete [2022-04-01T15:29:03.856Z] 4c7163046ea9: Verifying Checksum [2022-04-01T15:29:03.856Z] 4c7163046ea9: Download complete [2022-04-01T15:29:03.856Z] 0c2d73faf560: Verifying Checksum [2022-04-01T15:29:03.856Z] 0c2d73faf560: Download complete [2022-04-01T15:29:04.117Z] a0d0a0d46f8b: Pull complete [2022-04-01T15:29:04.117Z] 3e5f54012d9b: Pull complete [2022-04-01T15:29:04.378Z] 4c7163046ea9: Pull complete [2022-04-01T15:29:04.648Z] 0c2d73faf560: Pull complete [2022-04-01T15:29:04.648Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-01T15:29:04.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:29:04.648Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-01T15:29:04.736Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:29:04.782Z] $ 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-01T15:29:05.497Z] $ docker top 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T15:29:05.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T15:29:05.606Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T15:29:05.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T15:29:05.764Z] $ docker exec 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f ssh-agent [2022-04-01T15:29:05.889Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXllaMih/agent.13 [2022-04-01T15:29:05.889Z] SSH_AGENT_PID=19 [2022-04-01T15:29:05.900Z] Running ssh-add (command line suppressed) [2022-04-01T15:29:06.028Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7344079496135265701.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7344079496135265701.key) [2022-04-01T15:29:06.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T15:29:06.340Z] + git tag --points-at HEAD [Pipeline] } [2022-04-01T15:29:06.362Z] $ docker exec --env ******** --env ******** 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f ssh-agent -k [2022-04-01T15:29:06.479Z] unset SSH_AUTH_SOCK; [2022-04-01T15:29:06.480Z] unset SSH_AGENT_PID; [2022-04-01T15:29:06.480Z] echo Agent pid 19 killed; [2022-04-01T15:29:06.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-01T15:29:06.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T15:29:06.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T15:29:06.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T15:29:06.677Z] $ docker exec 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f ssh-agent [2022-04-01T15:29:06.796Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXloDCgM/agent.52 [2022-04-01T15:29:06.796Z] SSH_AGENT_PID=58 [2022-04-01T15:29:06.802Z] Running ssh-add (command line suppressed) [2022-04-01T15:29:06.917Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4355669513849166664.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4355669513849166664.key) [2022-04-01T15:29:06.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T15:29:07.226Z] + git semver init [2022-04-01T15:29:07.226Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T15:29:07.226Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-01T15:29:07.226Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:29:07.226Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T15:29:07.226Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T15:29:07.226Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T15:29:07.226Z] # $SEMVER_BRANCH = main [2022-04-01T15:29:07.226Z] # $SEMVER_TEMP = /tmp/semver-225557630 [2022-04-01T15:29:07.226Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-01T15:29:08.172Z] # '/tmp/semver-225557630' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-04-01T15:29:08.172Z] # -> Force: false [2022-04-01T15:29:08.172Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-01T15:29:08.189Z] $ docker exec --env ******** --env ******** 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f ssh-agent -k [2022-04-01T15:29:08.304Z] unset SSH_AUTH_SOCK; [2022-04-01T15:29:08.304Z] unset SSH_AGENT_PID; [2022-04-01T15:29:08.304Z] echo Agent pid 58 killed; [2022-04-01T15:29:08.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T15:29:08.635Z] + git semver [Pipeline] } [2022-04-01T15:29:08.655Z] $ docker stop --time=1 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f [2022-04-01T15:29:10.000Z] $ docker rm -f 1b3c4b00b877ac76557a740f376070d3f3effd07e6b851c8444340668c74494f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T15:29:10.364Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-01T15:29:10.609Z] Stashed 1 file(s) [Pipeline] echo [2022-04-01T15:29:10.613Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [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-01T15:29:10.780Z] provisioning config files... [2022-04-01T15:29:10.791Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3626478318514676701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:29:11.098Z] ---> docker-login.sh [2022-04-01T15:29:11.098Z] nexus3.edgexfoundry.org:10001 [2022-04-01T15:29:11.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:11.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:11.098Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:11.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:11.098Z] [2022-04-01T15:29:11.098Z] Login Succeeded [2022-04-01T15:29:11.098Z] nexus3.edgexfoundry.org:10002 [2022-04-01T15:29:11.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:11.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:11.359Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:11.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:11.359Z] [2022-04-01T15:29:11.359Z] Login Succeeded [2022-04-01T15:29:11.359Z] nexus3.edgexfoundry.org:10003 [2022-04-01T15:29:11.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:11.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:11.359Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:11.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:11.359Z] [2022-04-01T15:29:11.359Z] Login Succeeded [2022-04-01T15:29:11.359Z] nexus3.edgexfoundry.org:10004 [2022-04-01T15:29:11.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:11.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:11.621Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:11.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:11.621Z] [2022-04-01T15:29:11.621Z] Login Succeeded [2022-04-01T15:29:11.621Z] docker.io [2022-04-01T15:29:11.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:29:11.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:29:11.882Z] Configure a credential helper to remove this warning. See [2022-04-01T15:29:11.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:29:11.882Z] [2022-04-01T15:29:11.882Z] Login Succeeded [2022-04-01T15:29:11.882Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T15:29:11.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T15:29:11.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T15:29:11.977Z] ========================================================= [2022-04-01T15:29:11.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-01T15:29:11.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:29:12.287Z] + 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-01T15:29:12.287Z] Sending build context to Docker daemon 5.775MB [2022-04-01T15:29:12.287Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T15:29:12.287Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T15:29:12.287Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-01T15:29:12.287Z] 59bf1c3509f3: Pulling fs layer [2022-04-01T15:29:12.287Z] 666ba61612fd: Pulling fs layer [2022-04-01T15:29:12.287Z] 8ed8ca486205: Pulling fs layer [2022-04-01T15:29:12.287Z] 4fe6c5a15a65: Pulling fs layer [2022-04-01T15:29:12.287Z] 22a0e8bec74d: Pulling fs layer [2022-04-01T15:29:12.287Z] 640e595b4fbd: Pulling fs layer [2022-04-01T15:29:12.287Z] 763cafe07f6e: Pulling fs layer [2022-04-01T15:29:12.287Z] 0c0b528cf693: Pulling fs layer [2022-04-01T15:29:12.287Z] 10935f4eaf8b: Pulling fs layer [2022-04-01T15:29:12.287Z] 640e595b4fbd: Waiting [2022-04-01T15:29:12.287Z] 763cafe07f6e: Waiting [2022-04-01T15:29:12.287Z] 0c0b528cf693: Waiting [2022-04-01T15:29:12.287Z] 10935f4eaf8b: Waiting [2022-04-01T15:29:12.287Z] 4fe6c5a15a65: Waiting [2022-04-01T15:29:12.287Z] 22a0e8bec74d: Waiting [2022-04-01T15:29:12.287Z] 8ed8ca486205: Verifying Checksum [2022-04-01T15:29:12.287Z] 8ed8ca486205: Download complete [2022-04-01T15:29:12.547Z] 666ba61612fd: Download complete [2022-04-01T15:29:12.547Z] 22a0e8bec74d: Download complete [2022-04-01T15:29:12.547Z] 640e595b4fbd: Verifying Checksum [2022-04-01T15:29:12.547Z] 640e595b4fbd: Download complete [2022-04-01T15:29:12.547Z] 59bf1c3509f3: Verifying Checksum [2022-04-01T15:29:12.547Z] 59bf1c3509f3: Download complete [2022-04-01T15:29:12.547Z] 763cafe07f6e: Download complete [2022-04-01T15:29:12.547Z] 0c0b528cf693: Verifying Checksum [2022-04-01T15:29:12.547Z] 0c0b528cf693: Download complete [2022-04-01T15:29:12.547Z] 59bf1c3509f3: Pull complete [2022-04-01T15:29:12.808Z] 666ba61612fd: Pull complete [2022-04-01T15:29:12.808Z] 8ed8ca486205: Pull complete [2022-04-01T15:29:13.067Z] 10935f4eaf8b: Verifying Checksum [2022-04-01T15:29:13.067Z] 10935f4eaf8b: Download complete [2022-04-01T15:29:13.327Z] 4fe6c5a15a65: Verifying Checksum [2022-04-01T15:29:13.327Z] 4fe6c5a15a65: Download complete [2022-04-01T15:29:17.535Z] 4fe6c5a15a65: Pull complete [2022-04-01T15:29:17.535Z] 22a0e8bec74d: Pull complete [2022-04-01T15:29:17.535Z] 640e595b4fbd: Pull complete [2022-04-01T15:29:17.535Z] 763cafe07f6e: Pull complete [2022-04-01T15:29:17.535Z] 0c0b528cf693: Pull complete [2022-04-01T15:29:20.078Z] 10935f4eaf8b: Pull complete [2022-04-01T15:29:20.078Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-01T15:29:20.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-01T15:29:20.078Z] ---> 99d49a6021b9 [2022-04-01T15:29:20.078Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T15:29:21.477Z] ---> Running in 022bf8adb0e7 [2022-04-01T15:29:21.477Z] Removing intermediate container 022bf8adb0e7 [2022-04-01T15:29:21.477Z] ---> 3d1fe95c0b8f [2022-04-01T15:29:21.477Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T15:29:21.477Z] ---> Running in 3e309f49a72d [2022-04-01T15:29:21.477Z] Removing intermediate container 3e309f49a72d [2022-04-01T15:29:21.477Z] ---> 47650457c6f0 [2022-04-01T15:29:21.477Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T15:29:21.477Z] ---> Running in 7997d1c52193 [2022-04-01T15:29:22.050Z] Removing intermediate container 7997d1c52193 [2022-04-01T15:29:22.050Z] ---> 953617f8b6af [2022-04-01T15:29:22.050Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T15:29:22.311Z] ---> Running in 1d48fd28bb10 [2022-04-01T15:29:22.572Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T15:29:23.517Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T15:29:23.517Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T15:29:23.783Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T15:29:23.783Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T15:29:24.045Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T15:29:24.045Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T15:29:24.045Z] OK: 224 MiB in 56 packages [2022-04-01T15:29:24.619Z] Removing intermediate container 1d48fd28bb10 [2022-04-01T15:29:24.619Z] ---> ff0a075e8d30 [2022-04-01T15:29:24.619Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-01T15:29:24.619Z] ---> Running in b0fd7be9a24a [2022-04-01T15:29:24.619Z] Removing intermediate container b0fd7be9a24a [2022-04-01T15:29:24.619Z] ---> b9a0d10d1313 [2022-04-01T15:29:24.619Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T15:29:24.880Z] ---> 2cefd5986d3e [2022-04-01T15:29:24.880Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T15:29:24.880Z] ---> Running in 5e409246ae5d [2022-04-01T15:29:25.727Z] Still waiting to schedule task [2022-04-01T15:29:25.728Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-01T15:29:51.504Z] Removing intermediate container 5e409246ae5d [2022-04-01T15:29:51.504Z] ---> db4a927c955f [2022-04-01T15:29:51.504Z] Step 10/12 : COPY . . [2022-04-01T15:29:51.504Z] ---> a10772813bad [2022-04-01T15:29:51.504Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T15:29:51.504Z] ---> Running in 99f43ffc5a4f [2022-04-01T15:29:51.504Z] Removing intermediate container 99f43ffc5a4f [2022-04-01T15:29:51.504Z] ---> 67acb87d86b8 [2022-04-01T15:29:51.504Z] Step 12/12 : RUN $MAKE [2022-04-01T15:29:51.504Z] ---> Running in e509e72c1308 [2022-04-01T15:29:51.504Z] noop [2022-04-01T15:29:51.504Z] Removing intermediate container e509e72c1308 [2022-04-01T15:29:51.504Z] ---> cb06687dbd37 [2022-04-01T15:29:51.504Z] Successfully built cb06687dbd37 [2022-04-01T15:29:51.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:29:51.802Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T15:29:51.802Z] . [Pipeline] withDockerContainer [2022-04-01T15:29:51.875Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:29:51.919Z] $ 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-01T15:29:52.318Z] $ docker top 8743f7fbaa6644f55ce4438b338a7bd42f9faf2835f7ae7d4d1a4c121dd64369 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T15:29:52.675Z] + go version [2022-04-01T15:29:52.675Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-01T15:29:52.701Z] $ docker stop --time=1 8743f7fbaa6644f55ce4438b338a7bd42f9faf2835f7ae7d4d1a4c121dd64369 [2022-04-01T15:29:54.028Z] $ docker rm -f 8743f7fbaa6644f55ce4438b338a7bd42f9faf2835f7ae7d4d1a4c121dd64369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:29:54.465Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T15:29:54.465Z] . [Pipeline] withDockerContainer [2022-04-01T15:29:54.545Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:29:54.590Z] $ 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-01T15:29:54.947Z] $ docker top f7f610e73e687dec169b2ba3c655df25939868d57fa753b650de0615c8ba140b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T15:29:55.310Z] + make test [2022-04-01T15:29:55.311Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T15:29:55.570Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-01T15:30:02.152Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-01T15:30:02.437Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.5% of statements [2022-04-01T15:30:02.437Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-01T15:30:02.437Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T15:30:05.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T15:30:05.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T15:30:06.123Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T15:30:06.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T15:30:06.418Z] $ docker stop --time=1 f7f610e73e687dec169b2ba3c655df25939868d57fa753b650de0615c8ba140b [2022-04-01T15:30:08.005Z] $ docker rm -f f7f610e73e687dec169b2ba3c655df25939868d57fa753b650de0615c8ba140b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T15:30:08.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T15:30:08.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-01T15:30:09.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T15:30:09.728Z] + ls -al . [2022-04-01T15:30:09.728Z] total 184 [2022-04-01T15:30:09.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 15:30 . [2022-04-01T15:30:09.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 15:28 .. [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 15:28 .dockerignore [2022-04-01T15:30:09.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 15:28 .git [2022-04-01T15:30:09.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:28 .github [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 15:28 .gitignore [2022-04-01T15:30:09.728Z] drwx------ 3 jenkins jenkins 4096 Apr 1 15:29 .semver [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 15:28 Attribution.txt [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 15:28 CHANGELOG.md [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 15:28 Dockerfile [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 15:28 GOVERNANCE.md [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 15:28 Jenkinsfile [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 15:28 LICENSE [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 1 15:28 Makefile [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 15:28 OWNERS.md [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 15:28 README.md [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 1 15:29 VERSION [2022-04-01T15:30:09.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 15:28 bin [2022-04-01T15:30:09.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:28 cmd [2022-04-01T15:30:09.728Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 1 15:30 coverage.out [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 15:28 go.mod [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 15:28 go.sum [2022-04-01T15:30:09.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:28 internal [2022-04-01T15:30:09.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 15:28 mock [2022-04-01T15:30:09.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 15:28 snap [2022-04-01T15:30:09.728Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 15:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:10.030Z] + 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=a7b844beee09313a8b0584ee433be2eeca10ef2f --label arch=amd64 --label version=2.2.0-dev.12 . [2022-04-01T15:30:10.030Z] Sending build context to Docker daemon 5.793MB [2022-04-01T15:30:10.030Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T15:30:10.030Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-01T15:30:10.030Z] ---> cb06687dbd37 [2022-04-01T15:30:10.030Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T15:30:10.030Z] ---> Running in a730c5b82192 [2022-04-01T15:30:10.290Z] Removing intermediate container a730c5b82192 [2022-04-01T15:30:10.290Z] ---> 6bbeb9fc1f25 [2022-04-01T15:30:10.290Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T15:30:10.290Z] ---> Running in 99995fd56d19 [2022-04-01T15:30:10.290Z] Removing intermediate container 99995fd56d19 [2022-04-01T15:30:10.290Z] ---> 8f128673737b [2022-04-01T15:30:10.290Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T15:30:10.290Z] ---> Running in 52272810c5e5 [2022-04-01T15:30:10.861Z] Removing intermediate container 52272810c5e5 [2022-04-01T15:30:10.861Z] ---> b36cde6edbd9 [2022-04-01T15:30:10.861Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T15:30:10.861Z] ---> Running in 070dc26a9695 [2022-04-01T15:30:11.121Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T15:30:12.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T15:30:12.323Z] OK: 224 MiB in 56 packages [2022-04-01T15:30:12.894Z] Removing intermediate container 070dc26a9695 [2022-04-01T15:30:12.894Z] ---> 0842065d2333 [2022-04-01T15:30:12.894Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-01T15:30:12.894Z] ---> Running in 26edf7bd90dd [2022-04-01T15:30:12.894Z] Removing intermediate container 26edf7bd90dd [2022-04-01T15:30:12.894Z] ---> 42fe6bfda2df [2022-04-01T15:30:12.894Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-01T15:30:13.155Z] ---> 435bef765819 [2022-04-01T15:30:13.155Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T15:30:13.155Z] ---> Running in ec04b7d14cc3 [2022-04-01T15:30:13.725Z] Removing intermediate container ec04b7d14cc3 [2022-04-01T15:30:13.725Z] ---> 259015596c22 [2022-04-01T15:30:13.725Z] Step 10/24 : COPY . . [2022-04-01T15:30:13.986Z] ---> b57cc3b3faaf [2022-04-01T15:30:13.986Z] Step 11/24 : ARG MAKE='make build' [2022-04-01T15:30:14.247Z] ---> Running in ac472834e004 [2022-04-01T15:30:14.247Z] Removing intermediate container ac472834e004 [2022-04-01T15:30:14.247Z] ---> 6148194ad78a [2022-04-01T15:30:14.247Z] Step 12/24 : RUN $MAKE [2022-04-01T15:30:14.247Z] ---> Running in c79e84d0b9fb [2022-04-01T15:30:14.507Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.12" -o cmd/device-mqtt ./cmd [2022-04-01T15:30:22.638Z] Removing intermediate container c79e84d0b9fb [2022-04-01T15:30:22.638Z] ---> 813c5bd70b14 [2022-04-01T15:30:22.638Z] Step 13/24 : FROM alpine:3.14 [2022-04-01T15:30:22.638Z] 3.14: Pulling from library/alpine [2022-04-01T15:30:22.898Z] cfab2db72209: Pulling fs layer [2022-04-01T15:30:22.898Z] cfab2db72209: Download complete [2022-04-01T15:30:23.157Z] cfab2db72209: Pull complete [2022-04-01T15:30:23.157Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T15:30:23.157Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T15:30:23.157Z] ---> 84b07dd2d1fd [2022-04-01T15:30:23.157Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-01T15:30:23.157Z] ---> Running in 7c6d07406168 [2022-04-01T15:30:23.418Z] Removing intermediate container 7c6d07406168 [2022-04-01T15:30:23.418Z] ---> 233fc3ace849 [2022-04-01T15:30:23.418Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T15:30:23.418Z] ---> Running in 00768a902466 [2022-04-01T15:30:23.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-01T15:30:23.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-01T15:30:23.939Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T15:30:23.939Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T15:30:23.939Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T15:30:23.939Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T15:30:23.939Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T15:30:23.939Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T15:30:23.939Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T15:30:23.939Z] OK: 8 MiB in 20 packages [2022-04-01T15:30:24.511Z] Removing intermediate container 00768a902466 [2022-04-01T15:30:24.511Z] ---> a828c33cbd99 [2022-04-01T15:30:24.511Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-01T15:30:24.772Z] ---> e75906974ccf [2022-04-01T15:30:24.772Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-01T15:30:25.033Z] ---> 016c1a173ce9 [2022-04-01T15:30:25.033Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-01T15:30:25.033Z] ---> 08bbc16cd228 [2022-04-01T15:30:25.033Z] Step 19/24 : EXPOSE 59982 [2022-04-01T15:30:25.033Z] ---> Running in 42778f38ea4e [2022-04-01T15:30:25.294Z] Removing intermediate container 42778f38ea4e [2022-04-01T15:30:25.294Z] ---> 0df33523c6cc [2022-04-01T15:30:25.294Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-01T15:30:25.294Z] ---> Running in 5e69de4e366f [2022-04-01T15:30:25.294Z] Removing intermediate container 5e69de4e366f [2022-04-01T15:30:25.294Z] ---> 454131a405cc [2022-04-01T15:30:25.294Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T15:30:25.294Z] ---> Running in dc48f4a0116c [2022-04-01T15:30:25.554Z] Removing intermediate container dc48f4a0116c [2022-04-01T15:30:25.554Z] ---> 6968638f2b55 [2022-04-01T15:30:25.554Z] Step 22/24 : LABEL arch=amd64 [2022-04-01T15:30:25.554Z] ---> Running in a475a12e9974 [2022-04-01T15:30:25.554Z] Removing intermediate container a475a12e9974 [2022-04-01T15:30:25.554Z] ---> 054d56070a26 [2022-04-01T15:30:25.554Z] Step 23/24 : LABEL git_sha=a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:30:25.554Z] ---> Running in a1ea05774840 [2022-04-01T15:30:25.814Z] Removing intermediate container a1ea05774840 [2022-04-01T15:30:25.814Z] ---> 84c0b5283bd4 [2022-04-01T15:30:25.814Z] Step 24/24 : LABEL version=2.2.0-dev.12 [2022-04-01T15:30:25.814Z] ---> Running in 9aa736fd9c19 [2022-04-01T15:30:25.814Z] Removing intermediate container 9aa736fd9c19 [2022-04-01T15:30:25.814Z] ---> ca1bdee46096 [2022-04-01T15:30:25.814Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T15:30:25.814Z] Successfully built ca1bdee46096 [2022-04-01T15:30:25.814Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T15:30:25.932Z] provisioning config files... [2022-04-01T15:30:25.943Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6391841473504759397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:30:26.248Z] ---> docker-login.sh [2022-04-01T15:30:26.248Z] nexus3.edgexfoundry.org:10001 [2022-04-01T15:30:26.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:30:26.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:30:26.248Z] Configure a credential helper to remove this warning. See [2022-04-01T15:30:26.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:30:26.248Z] [2022-04-01T15:30:26.248Z] Login Succeeded [2022-04-01T15:30:26.248Z] nexus3.edgexfoundry.org:10002 [2022-04-01T15:30:26.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:30:26.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:30:26.248Z] Configure a credential helper to remove this warning. See [2022-04-01T15:30:26.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:30:26.248Z] [2022-04-01T15:30:26.248Z] Login Succeeded [2022-04-01T15:30:26.248Z] nexus3.edgexfoundry.org:10003 [2022-04-01T15:30:26.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:30:26.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:30:26.509Z] Configure a credential helper to remove this warning. See [2022-04-01T15:30:26.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:30:26.509Z] [2022-04-01T15:30:26.509Z] Login Succeeded [2022-04-01T15:30:26.509Z] nexus3.edgexfoundry.org:10004 [2022-04-01T15:30:26.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:30:26.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:30:26.509Z] Configure a credential helper to remove this warning. See [2022-04-01T15:30:26.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:30:26.509Z] [2022-04-01T15:30:26.509Z] Login Succeeded [2022-04-01T15:30:26.509Z] docker.io [2022-04-01T15:30:26.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:30:27.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:30:27.031Z] Configure a credential helper to remove this warning. See [2022-04-01T15:30:27.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:30:27.031Z] [2022-04-01T15:30:27.031Z] Login Succeeded [2022-04-01T15:30:27.031Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T15:30:27.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T15:30:27.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T15:30:27.097Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-04-01T15:30:27.097Z] a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:30:27.097Z] latest [2022-04-01T15:30:27.097Z] 2.2.0-dev.12 [2022-04-01T15:30:27.097Z] a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:30:27.097Z] main [2022-04-01T15:30:27.097Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:27.473Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:27.765Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:30:27.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-01T15:30:27.766Z] 612755eeab77: Preparing [2022-04-01T15:30:27.766Z] d5877dfac813: Preparing [2022-04-01T15:30:27.766Z] d981342eb6ac: Preparing [2022-04-01T15:30:27.766Z] 19e47c08a5aa: Preparing [2022-04-01T15:30:27.766Z] 736164617a66: Preparing [2022-04-01T15:30:27.766Z] 736164617a66: Layer already exists [2022-04-01T15:30:27.766Z] 612755eeab77: Pushed [2022-04-01T15:30:27.766Z] d5877dfac813: Pushed [2022-04-01T15:30:28.025Z] 19e47c08a5aa: Pushed [2022-04-01T15:30:28.966Z] d981342eb6ac: Pushed [2022-04-01T15:30:29.227Z] a7b844beee09313a8b0584ee433be2eeca10ef2f: digest: sha256:c5f2be347995000a19af4a0ecc56090cd5064be6729d0f74eff7d3eb19433272 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:29.529Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:29.826Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-01T15:30:29.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-01T15:30:29.826Z] 612755eeab77: Preparing [2022-04-01T15:30:29.826Z] d5877dfac813: Preparing [2022-04-01T15:30:29.826Z] d981342eb6ac: Preparing [2022-04-01T15:30:29.826Z] 19e47c08a5aa: Preparing [2022-04-01T15:30:29.826Z] 736164617a66: Preparing [2022-04-01T15:30:29.826Z] 19e47c08a5aa: Layer already exists [2022-04-01T15:30:29.826Z] 736164617a66: Layer already exists [2022-04-01T15:30:29.826Z] d981342eb6ac: Layer already exists [2022-04-01T15:30:29.826Z] 612755eeab77: Layer already exists [2022-04-01T15:30:29.826Z] d5877dfac813: Layer already exists [2022-04-01T15:30:29.826Z] latest: digest: sha256:c5f2be347995000a19af4a0ecc56090cd5064be6729d0f74eff7d3eb19433272 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:30.124Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:30.418Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.12 [2022-04-01T15:30:30.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-01T15:30:30.418Z] 612755eeab77: Preparing [2022-04-01T15:30:30.418Z] d5877dfac813: Preparing [2022-04-01T15:30:30.418Z] d981342eb6ac: Preparing [2022-04-01T15:30:30.418Z] 19e47c08a5aa: Preparing [2022-04-01T15:30:30.418Z] 736164617a66: Preparing [2022-04-01T15:30:30.418Z] 612755eeab77: Layer already exists [2022-04-01T15:30:30.418Z] 736164617a66: Layer already exists [2022-04-01T15:30:30.418Z] d981342eb6ac: Layer already exists [2022-04-01T15:30:30.418Z] d5877dfac813: Layer already exists [2022-04-01T15:30:30.418Z] 19e47c08a5aa: Layer already exists [2022-04-01T15:30:30.418Z] 2.2.0-dev.12: digest: sha256:c5f2be347995000a19af4a0ecc56090cd5064be6729d0f74eff7d3eb19433272 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:30.723Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:31.021Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:30:31.021Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-01T15:30:31.021Z] 612755eeab77: Preparing [2022-04-01T15:30:31.021Z] d5877dfac813: Preparing [2022-04-01T15:30:31.021Z] d981342eb6ac: Preparing [2022-04-01T15:30:31.021Z] 19e47c08a5aa: Preparing [2022-04-01T15:30:31.021Z] 736164617a66: Preparing [2022-04-01T15:30:31.021Z] 736164617a66: Layer already exists [2022-04-01T15:30:31.021Z] 19e47c08a5aa: Layer already exists [2022-04-01T15:30:31.021Z] d981342eb6ac: Layer already exists [2022-04-01T15:30:31.021Z] d5877dfac813: Layer already exists [2022-04-01T15:30:31.021Z] 612755eeab77: Layer already exists [2022-04-01T15:30:31.021Z] a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12: digest: sha256:c5f2be347995000a19af4a0ecc56090cd5064be6729d0f74eff7d3eb19433272 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:31.321Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:31.613Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-04-01T15:30:31.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-01T15:30:31.613Z] 612755eeab77: Preparing [2022-04-01T15:30:31.613Z] d5877dfac813: Preparing [2022-04-01T15:30:31.613Z] d981342eb6ac: Preparing [2022-04-01T15:30:31.613Z] 19e47c08a5aa: Preparing [2022-04-01T15:30:31.613Z] 736164617a66: Preparing [2022-04-01T15:30:31.613Z] 612755eeab77: Layer already exists [2022-04-01T15:30:31.613Z] 736164617a66: Layer already exists [2022-04-01T15:30:31.613Z] d981342eb6ac: Layer already exists [2022-04-01T15:30:31.613Z] d5877dfac813: Layer already exists [2022-04-01T15:30:31.613Z] 19e47c08a5aa: Layer already exists [2022-04-01T15:30:31.613Z] main: digest: sha256:c5f2be347995000a19af4a0ecc56090cd5064be6729d0f74eff7d3eb19433272 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T15:30:31.654Z] ===================================================== [Pipeline] echo [2022-04-01T15:30:31.665Z] taggedImages: [2022-04-01T15:30:31.665Z] - nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:30:31.665Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-01T15:30:31.665Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.12 [2022-04-01T15:30:31.665Z] - nexus3.edgexfoundry.org:10004/device-mqtt:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:30:31.665Z] - 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-01T15:30:32.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T15:30:32.051Z] [2022-04-01T15:30:32.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:30:32.359Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T15:30:32.359Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-01T15:30:32.359Z] 5eb5b503b376: Pulling fs layer [2022-04-01T15:30:32.359Z] 5c69ac0246d0: Pulling fs layer [2022-04-01T15:30:32.359Z] ec43610c2a17: Pulling fs layer [2022-04-01T15:30:32.359Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-01T15:30:32.359Z] 33b1e0a273af: Pulling fs layer [2022-04-01T15:30:32.359Z] 5d3b04190fa2: Pulling fs layer [2022-04-01T15:30:32.359Z] 2f39f015ded8: Pulling fs layer [2022-04-01T15:30:32.359Z] 3a2ae6a8a46f: Waiting [2022-04-01T15:30:32.359Z] 33b1e0a273af: Waiting [2022-04-01T15:30:32.359Z] 5d3b04190fa2: Waiting [2022-04-01T15:30:32.359Z] 2f39f015ded8: Waiting [2022-04-01T15:30:32.359Z] 5c69ac0246d0: Verifying Checksum [2022-04-01T15:30:32.359Z] 5c69ac0246d0: Download complete [2022-04-01T15:30:32.359Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-01T15:30:32.359Z] 3a2ae6a8a46f: Download complete [2022-04-01T15:30:32.359Z] 33b1e0a273af: Verifying Checksum [2022-04-01T15:30:32.359Z] 33b1e0a273af: Download complete [2022-04-01T15:30:32.359Z] 5d3b04190fa2: Verifying Checksum [2022-04-01T15:30:32.359Z] 5d3b04190fa2: Download complete [2022-04-01T15:30:32.359Z] ec43610c2a17: Verifying Checksum [2022-04-01T15:30:32.619Z] 5eb5b503b376: Verifying Checksum [2022-04-01T15:30:32.619Z] 5eb5b503b376: Download complete [2022-04-01T15:30:33.191Z] 2f39f015ded8: Verifying Checksum [2022-04-01T15:30:33.191Z] 2f39f015ded8: Download complete [2022-04-01T15:30:33.760Z] 5eb5b503b376: Pull complete [2022-04-01T15:30:33.760Z] 5c69ac0246d0: Pull complete [2022-04-01T15:30:34.328Z] ec43610c2a17: Pull complete [2022-04-01T15:30:34.328Z] 3a2ae6a8a46f: Pull complete [2022-04-01T15:30:34.588Z] 33b1e0a273af: Pull complete [2022-04-01T15:30:34.588Z] 5d3b04190fa2: Pull complete [2022-04-01T15:30:38.779Z] 2f39f015ded8: Pull complete [2022-04-01T15:30:38.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-01T15:30:38.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T15:30:38.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-01T15:30:38.847Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:30:38.890Z] $ 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-01T15:30:40.407Z] $ docker top 7ef0fe6c55edf8dc59fdaee670edda1afaf9c326003d87f07d7275d67d0a2d61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:30:40.882Z] ---> job-cost.sh [2022-04-01T15:30:40.882Z] lf-activate-venv: SKIPPING [2022-04-01T15:30:40.882Z] INFO: No Stack... [2022-04-01T15:30:41.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T15:30:41.479Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T15:30:41.772Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-04-01T15:30:41.772Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T15:30:41.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [2022-04-01T15:30:41.795Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] did not exist. Created. [2022-04-01T15:30:41.795Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T15:30:42.108Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-01T15:30:42.139Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T15:30:42.147Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T15:30:42.172Z] $ docker stop --time=1 7ef0fe6c55edf8dc59fdaee670edda1afaf9c326003d87f07d7275d67d0a2d61 [2022-04-01T15:30:43.332Z] $ docker rm -f 7ef0fe6c55edf8dc59fdaee670edda1afaf9c326003d87f07d7275d67d0a2d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-01T15:30:58.924Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10470 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-04-01T15:30:58.940Z] Running in /w/workspace/device-mqtt-go/33 [Pipeline] { [Pipeline] checkout [2022-04-01T15:30:59.373Z] Selected Git installation does not exist. Using Default [2022-04-01T15:30:59.373Z] The recommended git tool is: NONE [2022-04-01T15:31:06.867Z] using credential edgex-jenkins-ssh [2022-04-01T15:31:06.888Z] Cloning the remote Git repository [2022-04-01T15:31:06.947Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-01T15:31:07.019Z] > git init /w/workspace/device-mqtt-go/33 # timeout=10 [2022-04-01T15:31:07.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-01T15:31:07.175Z] > git --version # timeout=10 [2022-04-01T15:31:07.226Z] > git --version # 'git version 2.25.1' [2022-04-01T15:31:07.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T15:31:07.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T15:31:08.501Z] Avoid second fetch [2022-04-01T15:31:08.501Z] Checking out Revision a7b844beee09313a8b0584ee433be2eeca10ef2f (main) [2022-04-01T15:31:08.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-01T15:31:08.484Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T15:31:08.526Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T15:31:08.539Z] > git checkout -f a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-01T15:31:12.894Z] Commit message: "test(snap): disable snap build on jenkins (#348)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T15:31:13.769Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-01T15:31:13.769Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T15:31:13.769Z] Dload Upload Total Spent Left Speed [2022-04-01T15:31:13.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46443 [Pipeline] sh [2022-04-01T15:31:14.316Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-01T15:31:14.665Z] + sudo tee /etc/docker/daemon.new [2022-04-01T15:31:14.665Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-01T15:31:14.665Z] { [2022-04-01T15:31:14.665Z] "registry-mirrors": [ [2022-04-01T15:31:14.665Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-01T15:31:14.665Z] ], [2022-04-01T15:31:14.665Z] "bip": "10.250.0.254/24", [2022-04-01T15:31:14.665Z] "hosts": [ [2022-04-01T15:31:14.665Z] "tcp://0.0.0.0:5555", [2022-04-01T15:31:14.665Z] "unix:///var/run/docker.sock" [2022-04-01T15:31:14.665Z] ], [2022-04-01T15:31:14.665Z] "mtu": 1458, [2022-04-01T15:31:14.665Z] "selinux-enabled": true, [2022-04-01T15:31:14.665Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-01T15:31:14.665Z] } [Pipeline] sh [2022-04-01T15:31:15.028Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-01T15:31:15.379Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T15:31:33.736Z] provisioning config files... [2022-04-01T15:31:33.761Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config5754510198050259229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:31:34.120Z] ---> docker-login.sh [2022-04-01T15:31:34.120Z] nexus3.edgexfoundry.org:10001 [2022-04-01T15:31:34.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:31:34.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:31:34.999Z] Configure a credential helper to remove this warning. See [2022-04-01T15:31:34.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:31:34.999Z] [2022-04-01T15:31:34.999Z] Login Succeeded [2022-04-01T15:31:34.999Z] nexus3.edgexfoundry.org:10002 [2022-04-01T15:31:35.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:31:35.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:31:35.276Z] Configure a credential helper to remove this warning. See [2022-04-01T15:31:35.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:31:35.276Z] [2022-04-01T15:31:35.276Z] Login Succeeded [2022-04-01T15:31:35.552Z] nexus3.edgexfoundry.org:10003 [2022-04-01T15:31:35.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:31:35.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:31:35.826Z] Configure a credential helper to remove this warning. See [2022-04-01T15:31:35.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:31:35.826Z] [2022-04-01T15:31:35.826Z] Login Succeeded [2022-04-01T15:31:35.826Z] nexus3.edgexfoundry.org:10004 [2022-04-01T15:31:36.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:31:36.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:31:36.427Z] Configure a credential helper to remove this warning. See [2022-04-01T15:31:36.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:31:36.427Z] [2022-04-01T15:31:36.427Z] Login Succeeded [2022-04-01T15:31:36.427Z] docker.io [2022-04-01T15:31:36.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:31:37.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:31:37.295Z] Configure a credential helper to remove this warning. See [2022-04-01T15:31:37.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:31:37.295Z] [2022-04-01T15:31:37.295Z] Login Succeeded [2022-04-01T15:31:37.295Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T15:31:37.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T15:31:37.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T15:31:37.771Z] ========================================================= [2022-04-01T15:31:37.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-01T15:31:37.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:31:38.133Z] + 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-01T15:31:38.406Z] Sending build context to Docker daemon 3.011MB [2022-04-01T15:31:38.406Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T15:31:38.407Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T15:31:38.682Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-01T15:31:38.682Z] 9b3977197b4f: Pulling fs layer [2022-04-01T15:31:38.682Z] 1a89e8eeedd5: Pulling fs layer [2022-04-01T15:31:38.682Z] 94645a83ff95: Pulling fs layer [2022-04-01T15:31:38.682Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-01T15:31:38.682Z] 0c92f367c5e7: Pulling fs layer [2022-04-01T15:31:38.682Z] f7c0051592d6: Pulling fs layer [2022-04-01T15:31:38.682Z] a227ed2f7395: Pulling fs layer [2022-04-01T15:31:38.682Z] 7b1c46037f91: Pulling fs layer [2022-04-01T15:31:38.682Z] f7c0051592d6: Waiting [2022-04-01T15:31:38.682Z] 3f3a8bcf1eab: Waiting [2022-04-01T15:31:38.682Z] a227ed2f7395: Waiting [2022-04-01T15:31:38.682Z] 7b1c46037f91: Waiting [2022-04-01T15:31:38.682Z] 0c92f367c5e7: Waiting [2022-04-01T15:31:38.682Z] 94645a83ff95: Verifying Checksum [2022-04-01T15:31:38.682Z] 94645a83ff95: Download complete [2022-04-01T15:31:38.682Z] 1a89e8eeedd5: Verifying Checksum [2022-04-01T15:31:38.682Z] 1a89e8eeedd5: Download complete [2022-04-01T15:31:38.682Z] 0c92f367c5e7: Verifying Checksum [2022-04-01T15:31:38.682Z] 0c92f367c5e7: Download complete [2022-04-01T15:31:38.682Z] f7c0051592d6: Verifying Checksum [2022-04-01T15:31:38.682Z] f7c0051592d6: Download complete [2022-04-01T15:31:38.682Z] 9b3977197b4f: Verifying Checksum [2022-04-01T15:31:38.682Z] 9b3977197b4f: Download complete [2022-04-01T15:31:38.682Z] a227ed2f7395: Verifying Checksum [2022-04-01T15:31:38.682Z] a227ed2f7395: Download complete [2022-04-01T15:31:39.295Z] 9b3977197b4f: Pull complete [2022-04-01T15:31:39.903Z] 1a89e8eeedd5: Pull complete [2022-04-01T15:31:40.179Z] 94645a83ff95: Pull complete [2022-04-01T15:31:40.785Z] 7b1c46037f91: Verifying Checksum [2022-04-01T15:31:40.785Z] 7b1c46037f91: Download complete [2022-04-01T15:31:41.384Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-01T15:31:41.384Z] 3f3a8bcf1eab: Download complete [2022-04-01T15:31:53.799Z] 3f3a8bcf1eab: Pull complete [2022-04-01T15:31:53.799Z] 0c92f367c5e7: Pull complete [2022-04-01T15:31:53.799Z] f7c0051592d6: Pull complete [2022-04-01T15:31:53.799Z] a227ed2f7395: Pull complete [2022-04-01T15:32:00.548Z] 7b1c46037f91: Pull complete [2022-04-01T15:32:00.548Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-01T15:32:00.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-01T15:32:00.548Z] ---> f79e39bc4007 [2022-04-01T15:32:00.548Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T15:32:00.823Z] ---> Running in 8338936ac228 [2022-04-01T15:32:01.102Z] Removing intermediate container 8338936ac228 [2022-04-01T15:32:01.102Z] ---> 70b2788486e8 [2022-04-01T15:32:01.102Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T15:32:01.102Z] ---> Running in cee82501cd31 [2022-04-01T15:32:01.384Z] Removing intermediate container cee82501cd31 [2022-04-01T15:32:01.384Z] ---> b72e338240be [2022-04-01T15:32:01.384Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T15:32:01.668Z] ---> Running in b33b1deef4d2 [2022-04-01T15:32:03.644Z] Removing intermediate container b33b1deef4d2 [2022-04-01T15:32:03.644Z] ---> aab3e1bba639 [2022-04-01T15:32:03.644Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T15:32:03.644Z] ---> Running in 768a6f08c074 [2022-04-01T15:32:04.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T15:32:05.228Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T15:32:05.823Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T15:32:06.096Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T15:32:06.096Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T15:32:06.374Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T15:32:06.374Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T15:32:06.374Z] OK: 224 MiB in 56 packages [2022-04-01T15:32:07.376Z] Removing intermediate container 768a6f08c074 [2022-04-01T15:32:07.376Z] ---> 9ec8a758d2cd [2022-04-01T15:32:07.376Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-01T15:32:07.376Z] ---> Running in 9f952a7dc2b4 [2022-04-01T15:32:07.650Z] Removing intermediate container 9f952a7dc2b4 [2022-04-01T15:32:07.650Z] ---> db185681d5b3 [2022-04-01T15:32:07.650Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T15:32:08.251Z] ---> a00548146582 [2022-04-01T15:32:08.251Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T15:32:08.251Z] ---> Running in ca59c39191f7 [2022-04-01T15:33:30.129Z] Removing intermediate container ca59c39191f7 [2022-04-01T15:33:30.129Z] ---> 4791d9603cab [2022-04-01T15:33:30.129Z] Step 10/12 : COPY . . [2022-04-01T15:33:30.129Z] ---> 6a53d9c12a37 [2022-04-01T15:33:30.129Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T15:33:30.129Z] ---> Running in 3907ee23b5a2 [2022-04-01T15:33:30.129Z] Removing intermediate container 3907ee23b5a2 [2022-04-01T15:33:30.129Z] ---> 3a486f0b5d65 [2022-04-01T15:33:30.129Z] Step 12/12 : RUN $MAKE [2022-04-01T15:33:30.129Z] ---> Running in 40bea5cdcc73 [2022-04-01T15:33:30.129Z] noop [2022-04-01T15:33:30.129Z] Removing intermediate container 40bea5cdcc73 [2022-04-01T15:33:30.129Z] ---> 3e6f22c03828 [2022-04-01T15:33:30.129Z] Successfully built 3e6f22c03828 [2022-04-01T15:33:30.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:33:30.466Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T15:33:30.466Z] . [Pipeline] withDockerContainer [2022-04-01T15:33:30.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-10470 does not seem to be running inside a container [2022-04-01T15:33:30.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@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-01T15:33:31.926Z] $ docker top c15bcefbf8c1bd9034da8f852cd162d415536bed1f20d6a1c9bd2468520a72a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T15:33:32.802Z] + go version [2022-04-01T15:33:32.802Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-01T15:33:32.831Z] $ docker stop --time=1 c15bcefbf8c1bd9034da8f852cd162d415536bed1f20d6a1c9bd2468520a72a8 [2022-04-01T15:33:34.446Z] $ docker rm -f c15bcefbf8c1bd9034da8f852cd162d415536bed1f20d6a1c9bd2468520a72a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:33:35.044Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T15:33:35.044Z] . [Pipeline] withDockerContainer [2022-04-01T15:33:35.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-10470 does not seem to be running inside a container [2022-04-01T15:33:35.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@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-01T15:33:36.573Z] $ docker top 29e653f89ab5d645106f5401c73da7dabd673d2c832006c5e2a4c36ab3733eaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T15:33:37.465Z] + make test [2022-04-01T15:33:37.466Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T15:33:38.916Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-01T15:34:25.943Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-01T15:34:27.933Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.5% of statements [2022-04-01T15:34:27.933Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-01T15:34:28.214Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T15:34:50.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T15:34:50.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T15:34:50.409Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T15:34:50.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T15:34:50.453Z] $ docker stop --time=1 29e653f89ab5d645106f5401c73da7dabd673d2c832006c5e2a4c36ab3733eaa [2022-04-01T15:34:52.214Z] $ docker rm -f 29e653f89ab5d645106f5401c73da7dabd673d2c832006c5e2a4c36ab3733eaa [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T15:34:53.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T15:34:53.025Z] Warning: overwriting stash ‘coverage-report’ [2022-04-01T15:34:53.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T15:34:53.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T15:34:54.207Z] + ls -al . [2022-04-01T15:34:54.207Z] total 180 [2022-04-01T15:34:54.207Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 15:34 . [2022-04-01T15:34:54.207Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 15:31 .. [2022-04-01T15:34:54.207Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 15:31 .dockerignore [2022-04-01T15:34:54.207Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 15:31 .git [2022-04-01T15:34:54.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:31 .github [2022-04-01T15:34:54.207Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 15:31 .gitignore [2022-04-01T15:34:54.207Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 15:31 Attribution.txt [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 15:31 CHANGELOG.md [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 15:31 Dockerfile [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 15:31 GOVERNANCE.md [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 15:31 Jenkinsfile [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 15:31 LICENSE [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 1 15:31 Makefile [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 15:31 OWNERS.md [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 15:31 README.md [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 1 15:29 VERSION [2022-04-01T15:34:54.208Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 15:31 bin [2022-04-01T15:34:54.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:31 cmd [2022-04-01T15:34:54.208Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 1 15:34 coverage.out [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 15:31 go.mod [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 15:31 go.sum [2022-04-01T15:34:54.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 15:31 internal [2022-04-01T15:34:54.208Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 15:31 mock [2022-04-01T15:34:54.208Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 15:31 snap [2022-04-01T15:34:54.208Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 15:31 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:34:54.554Z] + 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=a7b844beee09313a8b0584ee433be2eeca10ef2f --label arch=arm64 --label version=2.2.0-dev.12 . [2022-04-01T15:34:54.835Z] Sending build context to Docker daemon 3.029MB [2022-04-01T15:34:54.835Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T15:34:54.835Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-01T15:34:54.835Z] ---> 3e6f22c03828 [2022-04-01T15:34:54.835Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T15:34:55.109Z] ---> Running in bf2d44a12659 [2022-04-01T15:34:55.385Z] Removing intermediate container bf2d44a12659 [2022-04-01T15:34:55.385Z] ---> 851b3d70a935 [2022-04-01T15:34:55.385Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T15:34:55.385Z] ---> Running in 71b9ec4ff56a [2022-04-01T15:34:55.659Z] Removing intermediate container 71b9ec4ff56a [2022-04-01T15:34:55.660Z] ---> c5bc93592d5c [2022-04-01T15:34:55.660Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T15:34:55.939Z] ---> Running in 674efdc4c457 [2022-04-01T15:34:57.387Z] Removing intermediate container 674efdc4c457 [2022-04-01T15:34:57.387Z] ---> e5057b467f43 [2022-04-01T15:34:57.387Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T15:34:57.387Z] ---> Running in d381d8fd9472 [2022-04-01T15:34:58.368Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T15:34:59.344Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T15:35:00.324Z] OK: 224 MiB in 56 packages [2022-04-01T15:35:00.927Z] Removing intermediate container d381d8fd9472 [2022-04-01T15:35:00.927Z] ---> 9d7cc2f419b5 [2022-04-01T15:35:00.927Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-01T15:35:01.210Z] ---> Running in 53d809d41446 [2022-04-01T15:35:01.486Z] Removing intermediate container 53d809d41446 [2022-04-01T15:35:01.486Z] ---> 7b3fb375f16a [2022-04-01T15:35:01.486Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-01T15:35:02.091Z] ---> d819ac4fbba4 [2022-04-01T15:35:02.091Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T15:35:02.091Z] ---> Running in 3af075ed98ed [2022-04-01T15:35:04.072Z] Removing intermediate container 3af075ed98ed [2022-04-01T15:35:04.072Z] ---> 0ac4e812c12a [2022-04-01T15:35:04.072Z] Step 10/24 : COPY . . [2022-04-01T15:35:05.052Z] ---> 749520c16ced [2022-04-01T15:35:05.052Z] Step 11/24 : ARG MAKE='make build' [2022-04-01T15:35:05.052Z] ---> Running in a58514178335 [2022-04-01T15:35:05.338Z] Removing intermediate container a58514178335 [2022-04-01T15:35:05.338Z] ---> 01ddeaa5a1a9 [2022-04-01T15:35:05.338Z] Step 12/24 : RUN $MAKE [2022-04-01T15:35:05.338Z] ---> Running in 82ac7d5c341c [2022-04-01T15:35:06.319Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.12" -o cmd/device-mqtt ./cmd [2022-04-01T15:35:45.389Z] Removing intermediate container 82ac7d5c341c [2022-04-01T15:35:45.389Z] ---> 07cf7cfa7c75 [2022-04-01T15:35:45.389Z] Step 13/24 : FROM alpine:3.14 [2022-04-01T15:35:45.983Z] 3.14: Pulling from library/alpine [2022-04-01T15:35:46.253Z] 810d54c7e01b: Pulling fs layer [2022-04-01T15:35:46.526Z] 810d54c7e01b: Verifying Checksum [2022-04-01T15:35:46.526Z] 810d54c7e01b: Download complete [2022-04-01T15:35:47.127Z] 810d54c7e01b: Pull complete [2022-04-01T15:35:47.127Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T15:35:47.127Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T15:35:47.127Z] ---> cc3d11fa2d52 [2022-04-01T15:35:47.127Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-01T15:35:47.127Z] ---> Running in cf1036319f47 [2022-04-01T15:35:47.400Z] Removing intermediate container cf1036319f47 [2022-04-01T15:35:47.400Z] ---> 008c59ee2bf4 [2022-04-01T15:35:47.400Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T15:35:47.682Z] ---> Running in 4c9995f18e07 [2022-04-01T15:35:48.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-01T15:35:48.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-01T15:35:49.533Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T15:35:49.533Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T15:35:49.533Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T15:35:49.533Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T15:35:49.806Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T15:35:49.806Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T15:35:49.806Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T15:35:49.806Z] OK: 8 MiB in 20 packages [2022-04-01T15:35:50.797Z] Removing intermediate container 4c9995f18e07 [2022-04-01T15:35:50.797Z] ---> 3964beade05b [2022-04-01T15:35:50.797Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-01T15:35:51.784Z] ---> 64b1b05bb4b9 [2022-04-01T15:35:51.784Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-01T15:35:52.385Z] ---> 5c86f09e766a [2022-04-01T15:35:52.385Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-01T15:35:52.667Z] ---> 0a320772328c [2022-04-01T15:35:52.667Z] Step 19/24 : EXPOSE 59982 [2022-04-01T15:35:52.667Z] ---> Running in f7de9e0d68bb [2022-04-01T15:35:53.273Z] Removing intermediate container f7de9e0d68bb [2022-04-01T15:35:53.273Z] ---> 572bd131198f [2022-04-01T15:35:53.273Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-01T15:35:53.273Z] ---> Running in 22dc94b712c4 [2022-04-01T15:35:53.550Z] Removing intermediate container 22dc94b712c4 [2022-04-01T15:35:53.551Z] ---> b0ff441350fc [2022-04-01T15:35:53.551Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T15:35:53.551Z] ---> Running in 1760e0a9357f [2022-04-01T15:35:53.829Z] Removing intermediate container 1760e0a9357f [2022-04-01T15:35:53.829Z] ---> d8a9e0b2bd91 [2022-04-01T15:35:53.829Z] Step 22/24 : LABEL arch=arm64 [2022-04-01T15:35:53.829Z] ---> Running in 307b5783e682 [2022-04-01T15:35:54.105Z] Removing intermediate container 307b5783e682 [2022-04-01T15:35:54.105Z] ---> 1d8a092f1b1d [2022-04-01T15:35:54.105Z] Step 23/24 : LABEL git_sha=a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:35:54.379Z] ---> Running in c411841d6e4a [2022-04-01T15:35:54.654Z] Removing intermediate container c411841d6e4a [2022-04-01T15:35:54.654Z] ---> e47363dc55d4 [2022-04-01T15:35:54.654Z] Step 24/24 : LABEL version=2.2.0-dev.12 [2022-04-01T15:35:54.654Z] ---> Running in e4f6f8cff382 [2022-04-01T15:35:54.929Z] Removing intermediate container e4f6f8cff382 [2022-04-01T15:35:54.930Z] ---> f6dda9dd328f [2022-04-01T15:35:54.930Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T15:35:54.930Z] Successfully built f6dda9dd328f [2022-04-01T15:35:54.930Z] 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-01T15:35:55.053Z] provisioning config files... [2022-04-01T15:35:55.073Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/33@tmp/config1176952093530213934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:35:55.426Z] ---> docker-login.sh [2022-04-01T15:35:55.426Z] nexus3.edgexfoundry.org:10001 [2022-04-01T15:35:55.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:35:55.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:35:55.703Z] Configure a credential helper to remove this warning. See [2022-04-01T15:35:55.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:35:55.703Z] [2022-04-01T15:35:55.703Z] Login Succeeded [2022-04-01T15:35:55.703Z] nexus3.edgexfoundry.org:10002 [2022-04-01T15:35:56.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:35:56.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:35:56.302Z] Configure a credential helper to remove this warning. See [2022-04-01T15:35:56.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:35:56.302Z] [2022-04-01T15:35:56.302Z] Login Succeeded [2022-04-01T15:35:56.302Z] nexus3.edgexfoundry.org:10003 [2022-04-01T15:35:56.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:35:56.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:35:56.849Z] Configure a credential helper to remove this warning. See [2022-04-01T15:35:56.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:35:56.849Z] [2022-04-01T15:35:56.849Z] Login Succeeded [2022-04-01T15:35:56.849Z] nexus3.edgexfoundry.org:10004 [2022-04-01T15:35:57.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:35:57.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:35:57.126Z] Configure a credential helper to remove this warning. See [2022-04-01T15:35:57.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:35:57.126Z] [2022-04-01T15:35:57.126Z] Login Succeeded [2022-04-01T15:35:57.126Z] docker.io [2022-04-01T15:35:57.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T15:35:57.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T15:35:57.997Z] Configure a credential helper to remove this warning. See [2022-04-01T15:35:57.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T15:35:57.997Z] [2022-04-01T15:35:57.997Z] Login Succeeded [2022-04-01T15:35:57.997Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T15:35:58.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T15:35:58.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T15:35:58.060Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-04-01T15:35:58.060Z] a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:35:58.060Z] latest [2022-04-01T15:35:58.060Z] 2.2.0-dev.12 [2022-04-01T15:35:58.060Z] a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:35:58.060Z] main [2022-04-01T15:35:58.060Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:35:58.406Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:35:58.769Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:35:58.769Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-01T15:35:58.769Z] f6657ec861a6: Preparing [2022-04-01T15:35:58.769Z] 95e6ff7601ae: Preparing [2022-04-01T15:35:58.769Z] 04cef6960389: Preparing [2022-04-01T15:35:58.769Z] 62de8b4bb5d7: Preparing [2022-04-01T15:35:58.769Z] b94faa188151: Preparing [2022-04-01T15:35:59.049Z] b94faa188151: Layer already exists [2022-04-01T15:35:59.049Z] f6657ec861a6: Pushed [2022-04-01T15:35:59.049Z] 95e6ff7601ae: Pushed [2022-04-01T15:35:59.646Z] 62de8b4bb5d7: Pushed [2022-04-01T15:36:02.269Z] 04cef6960389: Pushed [2022-04-01T15:36:02.269Z] a7b844beee09313a8b0584ee433be2eeca10ef2f: digest: sha256:2759d92ffb9dd2b4d1fa4a475687e5e35dab33c626628141eb1d6069012025fe size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:02.622Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:02.966Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-01T15:36:02.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-01T15:36:02.966Z] f6657ec861a6: Preparing [2022-04-01T15:36:02.966Z] 95e6ff7601ae: Preparing [2022-04-01T15:36:02.966Z] 04cef6960389: Preparing [2022-04-01T15:36:02.966Z] 62de8b4bb5d7: Preparing [2022-04-01T15:36:02.966Z] b94faa188151: Preparing [2022-04-01T15:36:02.966Z] 62de8b4bb5d7: Layer already exists [2022-04-01T15:36:02.966Z] b94faa188151: Layer already exists [2022-04-01T15:36:02.966Z] 04cef6960389: Layer already exists [2022-04-01T15:36:02.966Z] f6657ec861a6: Layer already exists [2022-04-01T15:36:02.966Z] 95e6ff7601ae: Layer already exists [2022-04-01T15:36:03.240Z] latest: digest: sha256:2759d92ffb9dd2b4d1fa4a475687e5e35dab33c626628141eb1d6069012025fe size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:03.594Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:03.941Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.12 [2022-04-01T15:36:03.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-01T15:36:03.941Z] f6657ec861a6: Preparing [2022-04-01T15:36:03.941Z] 95e6ff7601ae: Preparing [2022-04-01T15:36:03.941Z] 04cef6960389: Preparing [2022-04-01T15:36:03.941Z] 62de8b4bb5d7: Preparing [2022-04-01T15:36:03.941Z] b94faa188151: Preparing [2022-04-01T15:36:03.941Z] f6657ec861a6: Layer already exists [2022-04-01T15:36:03.941Z] b94faa188151: Layer already exists [2022-04-01T15:36:03.941Z] 62de8b4bb5d7: Layer already exists [2022-04-01T15:36:03.941Z] 95e6ff7601ae: Layer already exists [2022-04-01T15:36:03.941Z] 04cef6960389: Layer already exists [2022-04-01T15:36:04.213Z] 2.2.0-dev.12: digest: sha256:2759d92ffb9dd2b4d1fa4a475687e5e35dab33c626628141eb1d6069012025fe size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:04.559Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:04.903Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:36:04.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-01T15:36:04.903Z] f6657ec861a6: Preparing [2022-04-01T15:36:04.903Z] 95e6ff7601ae: Preparing [2022-04-01T15:36:04.903Z] 04cef6960389: Preparing [2022-04-01T15:36:04.903Z] 62de8b4bb5d7: Preparing [2022-04-01T15:36:04.903Z] b94faa188151: Preparing [2022-04-01T15:36:04.903Z] f6657ec861a6: Layer already exists [2022-04-01T15:36:04.903Z] 95e6ff7601ae: Layer already exists [2022-04-01T15:36:04.903Z] b94faa188151: Layer already exists [2022-04-01T15:36:04.903Z] 62de8b4bb5d7: Layer already exists [2022-04-01T15:36:04.903Z] 04cef6960389: Layer already exists [2022-04-01T15:36:05.174Z] a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12: digest: sha256:2759d92ffb9dd2b4d1fa4a475687e5e35dab33c626628141eb1d6069012025fe size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:05.521Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:05.868Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-04-01T15:36:05.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-01T15:36:05.868Z] f6657ec861a6: Preparing [2022-04-01T15:36:05.868Z] 95e6ff7601ae: Preparing [2022-04-01T15:36:05.868Z] 04cef6960389: Preparing [2022-04-01T15:36:05.868Z] 62de8b4bb5d7: Preparing [2022-04-01T15:36:05.868Z] b94faa188151: Preparing [2022-04-01T15:36:05.868Z] b94faa188151: Layer already exists [2022-04-01T15:36:05.868Z] f6657ec861a6: Layer already exists [2022-04-01T15:36:05.868Z] 62de8b4bb5d7: Layer already exists [2022-04-01T15:36:05.868Z] 95e6ff7601ae: Layer already exists [2022-04-01T15:36:05.868Z] 04cef6960389: Layer already exists [2022-04-01T15:36:06.140Z] main: digest: sha256:2759d92ffb9dd2b4d1fa4a475687e5e35dab33c626628141eb1d6069012025fe size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-01T15:36:06.192Z] ===================================================== [Pipeline] echo [2022-04-01T15:36:06.202Z] taggedImages: [2022-04-01T15:36:06.202Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f [2022-04-01T15:36:06.202Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-01T15:36:06.202Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.12 [2022-04-01T15:36:06.202Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a7b844beee09313a8b0584ee433be2eeca10ef2f-2.2.0-dev.12 [2022-04-01T15:36:06.202Z] - 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-01T15:36:06.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T15:36:06.572Z] [2022-04-01T15:36:06.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:06.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T15:36:07.204Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-01T15:36:07.204Z] 8998bd30e6a1: Pulling fs layer [2022-04-01T15:36:07.204Z] 04944245beec: Pulling fs layer [2022-04-01T15:36:07.204Z] 699f458cf7ca: Pulling fs layer [2022-04-01T15:36:07.204Z] 765212b225bb: Pulling fs layer [2022-04-01T15:36:07.204Z] f23df028b6ca: Pulling fs layer [2022-04-01T15:36:07.204Z] d65c8cfc05b1: Pulling fs layer [2022-04-01T15:36:07.204Z] 2437ff75d9bd: Pulling fs layer [2022-04-01T15:36:07.204Z] f23df028b6ca: Waiting [2022-04-01T15:36:07.204Z] d65c8cfc05b1: Waiting [2022-04-01T15:36:07.204Z] 2437ff75d9bd: Waiting [2022-04-01T15:36:07.204Z] 765212b225bb: Waiting [2022-04-01T15:36:07.204Z] 04944245beec: Verifying Checksum [2022-04-01T15:36:07.204Z] 04944245beec: Download complete [2022-04-01T15:36:07.204Z] 765212b225bb: Verifying Checksum [2022-04-01T15:36:07.204Z] 765212b225bb: Download complete [2022-04-01T15:36:07.204Z] f23df028b6ca: Verifying Checksum [2022-04-01T15:36:07.204Z] f23df028b6ca: Download complete [2022-04-01T15:36:07.204Z] d65c8cfc05b1: Download complete [2022-04-01T15:36:07.482Z] 699f458cf7ca: Verifying Checksum [2022-04-01T15:36:07.482Z] 699f458cf7ca: Download complete [2022-04-01T15:36:07.759Z] 8998bd30e6a1: Verifying Checksum [2022-04-01T15:36:07.759Z] 8998bd30e6a1: Download complete [2022-04-01T15:36:10.388Z] 2437ff75d9bd: Verifying Checksum [2022-04-01T15:36:10.388Z] 2437ff75d9bd: Download complete [2022-04-01T15:36:12.374Z] 8998bd30e6a1: Pull complete [2022-04-01T15:36:12.374Z] 04944245beec: Pull complete [2022-04-01T15:36:14.356Z] 699f458cf7ca: Pull complete [2022-04-01T15:36:14.356Z] 765212b225bb: Pull complete [2022-04-01T15:36:14.960Z] f23df028b6ca: Pull complete [2022-04-01T15:36:15.235Z] d65c8cfc05b1: Pull complete [2022-04-01T15:36:30.364Z] 2437ff75d9bd: Pull complete [2022-04-01T15:36:30.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-01T15:36:30.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T15:36:30.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-01T15:36:30.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-10470 does not seem to be running inside a container [2022-04-01T15:36:30.704Z] $ 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/33 -v /w/workspace/device-mqtt-go/33:/w/workspace/device-mqtt-go/33:rw,z -v /w/workspace/device-mqtt-go/33@tmp:/w/workspace/device-mqtt-go/33@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-01T15:36:33.174Z] $ docker top 4b272db6a2ab75df77fc4d0fd8ca3c4a217a7cb439aae1ebde261980401dfc9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:36:34.084Z] ---> job-cost.sh [2022-04-01T15:36:34.084Z] lf-activate-venv: SKIPPING [2022-04-01T15:36:34.084Z] INFO: No Stack... [2022-04-01T15:36:34.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-01T15:36:35.278Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T15:36:35.946Z] + cat /w/workspace/device-mqtt-go/33/archives/cost.csv [2022-04-01T15:36:35.946Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T15:36:36.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [2022-04-01T15:36:36.017Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] did not exist. Created. [2022-04-01T15:36:36.017Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T15:36:36.701Z] /w/workspace/device-mqtt-go/33@tmp/durable-cd098ed2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-01T15:36:37.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-01T15:36:37.415Z] Warning: overwriting stash ‘stack-cost’ [2022-04-01T15:36:37.466Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T15:36:37.475Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T15:36:37.501Z] $ docker stop --time=1 4b272db6a2ab75df77fc4d0fd8ca3c4a217a7cb439aae1ebde261980401dfc9f [2022-04-01T15:36:38.977Z] $ docker rm -f 4b272db6a2ab75df77fc4d0fd8ca3c4a217a7cb439aae1ebde261980401dfc9f [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-01T15:36:39.519Z] provisioning config files... [2022-04-01T15:36:39.526Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5684295144447064172tmp [Pipeline] { [Pipeline] sh [2022-04-01T15:36:39.824Z] + set +x [2022-04-01T15:36:39.825Z] + curl -s+ https://codecov.io/bash [2022-04-01T15:36:39.825Z] bash -s -- [2022-04-01T15:36:39.825Z] [2022-04-01T15:36:39.825Z] _____ _ [2022-04-01T15:36:39.825Z] / ____| | | [2022-04-01T15:36:39.825Z] | | ___ __| | ___ ___ _____ __ [2022-04-01T15:36:39.825Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-01T15:36:39.825Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-01T15:36:39.825Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-01T15:36:39.825Z] Bash-1.0.6 [2022-04-01T15:36:39.825Z] [2022-04-01T15:36:39.825Z] [2022-04-01T15:36:39.825Z] ==> git version 2.25.1 found [2022-04-01T15:36:39.825Z] ==> 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-01T15:36:39.825Z] Release-Date: 2020-01-08 [2022-04-01T15:36:39.825Z] 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-01T15:36:39.825Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-01T15:36:39.825Z] ==> Jenkins CI detected. [2022-04-01T15:36:39.825Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:36:39.825Z] project root: . [2022-04-01T15:36:39.825Z] --> token set from env [2022-04-01T15:36:39.825Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-01T15:36:39.825Z] ==> Running gcov in . (disable via -X gcov) [2022-04-01T15:36:39.825Z] ==> Python coveragepy not found [2022-04-01T15:36:39.825Z] ==> Searching for coverage reports in: [2022-04-01T15:36:39.825Z] + . [2022-04-01T15:36:39.825Z] -> Found 1 reports [2022-04-01T15:36:39.825Z] ==> Detecting git/mercurial file structure [2022-04-01T15:36:39.825Z] ==> Reading reports [2022-04-01T15:36:39.825Z] + ./coverage.out bytes=17452 [2022-04-01T15:36:39.825Z] ==> Appending adjustments [2022-04-01T15:36:39.825Z] https://docs.codecov.io/docs/fixing-reports [2022-04-01T15:36:40.085Z] + Found adjustments [2022-04-01T15:36:40.085Z] ==> Gzipping contents [2022-04-01T15:36:40.085Z] 4.0K /tmp/codecov.gOjQKx.gz [2022-04-01T15:36:40.085Z] ==> Uploading reports [2022-04-01T15:36:40.085Z] url: https://codecov.io [2022-04-01T15:36:40.085Z] query: branch=main&commit=a7b844beee09313a8b0584ee433be2eeca10ef2f&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-01T15:36:40.085Z] -> Pinging Codecov [2022-04-01T15:36:40.085Z] 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=a7b844beee09313a8b0584ee433be2eeca10ef2f&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-01T15:36:40.085Z] -> Uploading to [2022-04-01T15:36:40.085Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-01/7D719EC7BBE17E464838252E33014C33/a7b844beee09313a8b0584ee433be2eeca10ef2f/a4b587df-d750-4dc8-92a7-e0fdf3cdcacb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T153640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11bebfb873237a5118f574a6b4b6c53a20493b5a1a7cae3837305071b15df671 [2022-04-01T15:36:40.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T15:36:40.346Z] Dload Upload Total Spent Left Speed [2022-04-01T15:36:40.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3210 0 0 100 3210 0 13487 --:--:-- --:--:-- --:--:-- 13544 [2022-04-01T15:36:40.346Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] } [2022-04-01T15:36:40.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-01T15:36:40.624Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-01T15:36:40.637Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:40.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T15:36:40.931Z] [2022-04-01T15:36:40.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:41.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T15:36:41.233Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-01T15:36:41.233Z] 188c0c94c7c5: Pulling fs layer [2022-04-01T15:36:41.233Z] 0ef7d3d256c8: Pulling fs layer [2022-04-01T15:36:41.233Z] de9db76c5a1d: Pulling fs layer [2022-04-01T15:36:41.233Z] 0eba1c9be4d2: Pulling fs layer [2022-04-01T15:36:41.233Z] 0d57e429df01: Pulling fs layer [2022-04-01T15:36:41.233Z] 4e4be7b47b0d: Pulling fs layer [2022-04-01T15:36:41.233Z] e1f770b5df2f: Pulling fs layer [2022-04-01T15:36:41.233Z] 85a0685a4137: Pulling fs layer [2022-04-01T15:36:41.233Z] 0eba1c9be4d2: Waiting [2022-04-01T15:36:41.233Z] 0d57e429df01: Waiting [2022-04-01T15:36:41.233Z] 4e4be7b47b0d: Waiting [2022-04-01T15:36:41.233Z] e1f770b5df2f: Waiting [2022-04-01T15:36:41.233Z] 85a0685a4137: Waiting [2022-04-01T15:36:41.233Z] de9db76c5a1d: Verifying Checksum [2022-04-01T15:36:41.233Z] de9db76c5a1d: Download complete [2022-04-01T15:36:41.233Z] 0ef7d3d256c8: Download complete [2022-04-01T15:36:41.233Z] 0d57e429df01: Download complete [2022-04-01T15:36:41.233Z] 4e4be7b47b0d: Verifying Checksum [2022-04-01T15:36:41.233Z] 4e4be7b47b0d: Download complete [2022-04-01T15:36:41.233Z] 188c0c94c7c5: Download complete [2022-04-01T15:36:41.493Z] 188c0c94c7c5: Pull complete [2022-04-01T15:36:41.493Z] e1f770b5df2f: Verifying Checksum [2022-04-01T15:36:41.493Z] e1f770b5df2f: Download complete [2022-04-01T15:36:41.493Z] 0ef7d3d256c8: Pull complete [2022-04-01T15:36:41.493Z] de9db76c5a1d: Pull complete [2022-04-01T15:36:42.062Z] 0eba1c9be4d2: Download complete [2022-04-01T15:36:42.062Z] 85a0685a4137: Verifying Checksum [2022-04-01T15:36:42.062Z] 85a0685a4137: Download complete [2022-04-01T15:36:45.355Z] 0eba1c9be4d2: Pull complete [2022-04-01T15:36:45.355Z] 0d57e429df01: Pull complete [2022-04-01T15:36:45.355Z] 4e4be7b47b0d: Pull complete [2022-04-01T15:36:45.615Z] e1f770b5df2f: Pull complete [2022-04-01T15:36:48.910Z] 85a0685a4137: Pull complete [2022-04-01T15:36:48.910Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-01T15:36:48.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-01T15:36:48.910Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-01T15:36:48.978Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:36:49.017Z] $ 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-01T15:36:50.762Z] $ docker top bc352ffbab68ff051d7d5878fc4c61a173c4b53915deb52f596ae91133299ff3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-01T15:36:50.842Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-01T15:36:51.122Z] + set -o pipefail [2022-04-01T15:36:51.122Z] + snyk monitor '--org=edgex-jenkins' [2022-04-01T15:36:56.416Z] [2022-04-01T15:36:56.416Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-04-01T15:36:56.416Z] [2022-04-01T15:36:56.416Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/ebdbd83d-08b4-4e02-bc40-28ac35cc2d9d [2022-04-01T15:36:56.416Z] [2022-04-01T15:36:56.416Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-01T15:36:56.416Z] [2022-04-01T15:36:56.416Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-01T15:36:56.416Z] [2022-04-01T15:36:56.988Z] [Pipeline] } [2022-04-01T15:36:57.001Z] $ docker stop --time=1 bc352ffbab68ff051d7d5878fc4c61a173c4b53915deb52f596ae91133299ff3 [2022-04-01T15:36:58.632Z] $ docker rm -f bc352ffbab68ff051d7d5878fc4c61a173c4b53915deb52f596ae91133299ff3 [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-01T15:36:59.305Z] + git log --format=format:%s -1 a7b844beee09313a8b0584ee433be2eeca10ef2f [Pipeline] sh [2022-04-01T15:36:59.601Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T15:36:59.601Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:36:59.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:36:59.902Z] . [Pipeline] withDockerContainer [2022-04-01T15:36:59.971Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:37:00.008Z] $ 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-01T15:37:00.383Z] $ docker top 55bce9989484abe5f9afa8f2b142af7f5a4082742b11d1d6863093ed1335b527 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T15:37:00.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T15:37:00.472Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T15:37:00.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T15:37:00.601Z] $ docker exec 55bce9989484abe5f9afa8f2b142af7f5a4082742b11d1d6863093ed1335b527 ssh-agent [2022-04-01T15:37:00.725Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaiNJMl/agent.14 [2022-04-01T15:37:00.725Z] SSH_AGENT_PID=20 [2022-04-01T15:37:00.732Z] Running ssh-add (command line suppressed) [2022-04-01T15:37:00.841Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7628117583684109545.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7628117583684109545.key) [2022-04-01T15:37:00.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T15:37:01.145Z] + git semver tag [2022-04-01T15:37:01.145Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T15:37:01.145Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-01T15:37:01.145Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:37:01.145Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T15:37:01.145Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T15:37:01.145Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T15:37:01.145Z] # $SEMVER_BRANCH = main [2022-04-01T15:37:01.145Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-01T15:37:01.145Z] # a7b844beee09313a8b0584ee433be2eeca10ef2f HEAD [2022-04-01T15:37:01.145Z] # -> Force: false [2022-04-01T15:37:01.145Z] # 9d64e7dbe6e5a732ed6022b2213bce7fcfba8fd0 refs/tags/v2.2.0-dev.12 [Pipeline] } [2022-04-01T15:37:01.159Z] $ docker exec --env ******** --env ******** 55bce9989484abe5f9afa8f2b142af7f5a4082742b11d1d6863093ed1335b527 ssh-agent -k [2022-04-01T15:37:01.281Z] unset SSH_AUTH_SOCK; [2022-04-01T15:37:01.281Z] unset SSH_AGENT_PID; [2022-04-01T15:37:01.282Z] echo Agent pid 20 killed; [2022-04-01T15:37:01.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T15:37:01.606Z] + git semver [Pipeline] } [2022-04-01T15:37:01.625Z] $ docker stop --time=1 55bce9989484abe5f9afa8f2b142af7f5a4082742b11d1d6863093ed1335b527 [2022-04-01T15:37:02.951Z] $ docker rm -f 55bce9989484abe5f9afa8f2b142af7f5a4082742b11d1d6863093ed1335b527 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:37:03.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T15:37:03.345Z] [2022-04-01T15:37:03.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:37:03.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T15:37:03.647Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-01T15:37:03.647Z] ab5ef0e58194: Pulling fs layer [2022-04-01T15:37:03.647Z] 9712f1f96733: Pulling fs layer [2022-04-01T15:37:03.647Z] 63f879dbbcfc: Pulling fs layer [2022-04-01T15:37:03.647Z] 0d9ebad4ef96: Pulling fs layer [2022-04-01T15:37:03.647Z] e9a5061849ea: Pulling fs layer [2022-04-01T15:37:03.647Z] d747dcd14b5f: Pulling fs layer [2022-04-01T15:37:03.647Z] 2de7ff778b66: Pulling fs layer [2022-04-01T15:37:03.647Z] 0d9ebad4ef96: Waiting [2022-04-01T15:37:03.647Z] e9a5061849ea: Waiting [2022-04-01T15:37:03.647Z] d747dcd14b5f: Waiting [2022-04-01T15:37:03.647Z] 2de7ff778b66: Waiting [2022-04-01T15:37:03.647Z] 9712f1f96733: Verifying Checksum [2022-04-01T15:37:03.647Z] 9712f1f96733: Download complete [2022-04-01T15:37:03.909Z] 63f879dbbcfc: Verifying Checksum [2022-04-01T15:37:03.909Z] 63f879dbbcfc: Download complete [2022-04-01T15:37:04.171Z] e9a5061849ea: Verifying Checksum [2022-04-01T15:37:04.171Z] e9a5061849ea: Download complete [2022-04-01T15:37:04.171Z] d747dcd14b5f: Verifying Checksum [2022-04-01T15:37:04.171Z] d747dcd14b5f: Download complete [2022-04-01T15:37:04.171Z] 0d9ebad4ef96: Verifying Checksum [2022-04-01T15:37:04.171Z] 0d9ebad4ef96: Download complete [2022-04-01T15:37:04.171Z] ab5ef0e58194: Verifying Checksum [2022-04-01T15:37:04.171Z] ab5ef0e58194: Download complete [2022-04-01T15:37:04.171Z] 2de7ff778b66: Download complete [2022-04-01T15:37:06.706Z] ab5ef0e58194: Pull complete [2022-04-01T15:37:06.706Z] 9712f1f96733: Pull complete [2022-04-01T15:37:07.645Z] 63f879dbbcfc: Pull complete [2022-04-01T15:37:10.938Z] 0d9ebad4ef96: Pull complete [2022-04-01T15:37:10.938Z] e9a5061849ea: Pull complete [2022-04-01T15:37:11.197Z] d747dcd14b5f: Pull complete [2022-04-01T15:37:12.137Z] 2de7ff778b66: Pull complete [2022-04-01T15:37:12.137Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-01T15:37:12.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-01T15:37:12.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-01T15:37:12.203Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:37:12.246Z] $ 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-01T15:37:14.031Z] $ docker top 76d9c8f05790bdfe11d7a9562c8a85553cb926b201f435b4fc61a2226f0740b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-01T15:37:14.140Z] provisioning config files... [2022-04-01T15:37:14.166Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6896607504538280781tmp [2022-04-01T15:37:14.192Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8749859831261112125tmp [2022-04-01T15:37:14.205Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6192814111209753434tmp [Pipeline] { [Pipeline] echo [2022-04-01T15:37:14.222Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:14.509Z] ---> sigul-configuration.sh [2022-04-01T15:37:14.510Z] gpg: directory `/root/.gnupg' created [2022-04-01T15:37:14.510Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-01T15:37:14.510Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-01T15:37:14.510Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-01T15:37:14.510Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-01T15:37:14.510Z] gpg: CAST5 encrypted data [2022-04-01T15:37:14.510Z] gpg: encrypted with 1 passphrase [2022-04-01T15:37:14.510Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-01T15:37:14.801Z] + mkdir /home/jenkins [2022-04-01T15:37:14.801Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-01T15:37:15.094Z] + 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-01T15:37:15.105Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:15.392Z] ---> sigul-install.sh [2022-04-01T15:37:15.393Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-01T15:37:15.682Z] + git tag --list [2022-04-01T15:37:15.682Z] 0.7.1 [2022-04-01T15:37:15.682Z] v1.0.0 [2022-04-01T15:37:15.682Z] v1.1.0 [2022-04-01T15:37:15.682Z] v1.1.1 [2022-04-01T15:37:15.682Z] v1.2.2 [2022-04-01T15:37:15.682Z] v1.3.0 [2022-04-01T15:37:15.682Z] v1.3.1 [2022-04-01T15:37:15.682Z] v2.0.0 [2022-04-01T15:37:15.682Z] v2.0.1-dev.1 [2022-04-01T15:37:15.682Z] v2.0.1-dev.10 [2022-04-01T15:37:15.682Z] v2.0.1-dev.11 [2022-04-01T15:37:15.682Z] v2.0.1-dev.12 [2022-04-01T15:37:15.682Z] v2.0.1-dev.13 [2022-04-01T15:37:15.682Z] v2.0.1-dev.14 [2022-04-01T15:37:15.682Z] v2.0.1-dev.15 [2022-04-01T15:37:15.682Z] v2.0.1-dev.16 [2022-04-01T15:37:15.682Z] v2.0.1-dev.17 [2022-04-01T15:37:15.682Z] v2.0.1-dev.2 [2022-04-01T15:37:15.682Z] v2.0.1-dev.3 [2022-04-01T15:37:15.682Z] v2.0.1-dev.4 [2022-04-01T15:37:15.682Z] v2.0.1-dev.5 [2022-04-01T15:37:15.682Z] v2.0.1-dev.6 [2022-04-01T15:37:15.682Z] v2.0.1-dev.7 [2022-04-01T15:37:15.682Z] v2.0.1-dev.8 [2022-04-01T15:37:15.682Z] v2.0.1-dev.9 [2022-04-01T15:37:15.682Z] v2.1.0 [2022-04-01T15:37:15.682Z] v2.2.0-dev.1 [2022-04-01T15:37:15.682Z] v2.2.0-dev.10 [2022-04-01T15:37:15.682Z] v2.2.0-dev.11 [2022-04-01T15:37:15.682Z] v2.2.0-dev.12 [2022-04-01T15:37:15.682Z] v2.2.0-dev.2 [2022-04-01T15:37:15.682Z] v2.2.0-dev.3 [2022-04-01T15:37:15.682Z] v2.2.0-dev.4 [2022-04-01T15:37:15.682Z] v2.2.0-dev.5 [2022-04-01T15:37:15.682Z] v2.2.0-dev.6 [2022-04-01T15:37:15.682Z] v2.2.0-dev.7 [2022-04-01T15:37:15.682Z] v2.2.0-dev.8 [2022-04-01T15:37:15.682Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-01T15:37:15.971Z] + lftools sign git-tag v2.2.0-dev.12 [2022-04-01T15:37:16.542Z] Signing Git tag with Sigul... [2022-04-01T15:37:16.542Z] Signing v2.2.0-dev.12 [Pipeline] echo [2022-04-01T15:37:16.814Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:17.103Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-01T15:37:17.112Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-01T15:37:17.133Z] $ docker stop --time=1 76d9c8f05790bdfe11d7a9562c8a85553cb926b201f435b4fc61a2226f0740b1 [2022-04-01T15:37:18.423Z] $ docker rm -f 76d9c8f05790bdfe11d7a9562c8a85553cb926b201f435b4fc61a2226f0740b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-01T15:37:18.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T15:37:18.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:37:19.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:37:19.161Z] . [Pipeline] withDockerContainer [2022-04-01T15:37:19.233Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:37:19.273Z] $ 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-01T15:37:19.636Z] $ docker top adfe7328944ce3769766d14183901b2409026fdfd384d1a3c0a1af8006cd372d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T15:37:19.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T15:37:19.724Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T15:37:19.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T15:37:19.863Z] $ docker exec adfe7328944ce3769766d14183901b2409026fdfd384d1a3c0a1af8006cd372d ssh-agent [2022-04-01T15:37:19.992Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLknFbp/agent.15 [2022-04-01T15:37:19.992Z] SSH_AGENT_PID=21 [2022-04-01T15:37:19.997Z] Running ssh-add (command line suppressed) [2022-04-01T15:37:20.120Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7299293915365297403.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7299293915365297403.key) [2022-04-01T15:37:20.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T15:37:20.426Z] + git semver bump pre [2022-04-01T15:37:20.427Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T15:37:20.427Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-01T15:37:20.427Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:37:20.427Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T15:37:20.427Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T15:37:20.427Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T15:37:20.427Z] # $SEMVER_BRANCH = main [2022-04-01T15:37:20.427Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-01T15:37:20.427Z] 2.2.0-dev.13 [Pipeline] } [2022-04-01T15:37:20.439Z] $ docker exec --env ******** --env ******** adfe7328944ce3769766d14183901b2409026fdfd384d1a3c0a1af8006cd372d ssh-agent -k [2022-04-01T15:37:20.549Z] unset SSH_AUTH_SOCK; [2022-04-01T15:37:20.550Z] unset SSH_AGENT_PID; [2022-04-01T15:37:20.550Z] echo Agent pid 21 killed; [2022-04-01T15:37:20.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T15:37:20.863Z] + git semver [Pipeline] } [2022-04-01T15:37:20.878Z] $ docker stop --time=1 adfe7328944ce3769766d14183901b2409026fdfd384d1a3c0a1af8006cd372d [2022-04-01T15:37:22.170Z] $ docker rm -f adfe7328944ce3769766d14183901b2409026fdfd384d1a3c0a1af8006cd372d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T15:37:22.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T15:37:22.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:37:22.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T15:37:22.828Z] . [Pipeline] withDockerContainer [2022-04-01T15:37:22.905Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:37:22.941Z] $ 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-01T15:37:23.321Z] $ docker top 61bced25568e621b1653da38cbd72d18b5fbbac1dcad93c9a3a8e0074fd7337d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T15:37:23.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T15:37:23.425Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T15:37:23.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T15:37:23.558Z] $ docker exec 61bced25568e621b1653da38cbd72d18b5fbbac1dcad93c9a3a8e0074fd7337d ssh-agent [2022-04-01T15:37:23.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObJlCg/agent.14 [2022-04-01T15:37:23.691Z] SSH_AGENT_PID=21 [2022-04-01T15:37:23.698Z] Running ssh-add (command line suppressed) [2022-04-01T15:37:23.829Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7030129464095549250.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7030129464095549250.key) [2022-04-01T15:37:23.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T15:37:24.135Z] + git semver push [2022-04-01T15:37:24.135Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T15:37:24.135Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-01T15:37:24.135Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:37:24.135Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T15:37:24.135Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T15:37:24.135Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T15:37:24.135Z] # $SEMVER_BRANCH = main [2022-04-01T15:37:24.135Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-01T15:37:26.061Z] $ docker exec --env ******** --env ******** 61bced25568e621b1653da38cbd72d18b5fbbac1dcad93c9a3a8e0074fd7337d ssh-agent -k [2022-04-01T15:37:26.162Z] unset SSH_AUTH_SOCK; [2022-04-01T15:37:26.163Z] unset SSH_AGENT_PID; [2022-04-01T15:37:26.164Z] echo Agent pid 21 killed; [2022-04-01T15:37:26.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T15:37:26.485Z] + git semver [Pipeline] } [2022-04-01T15:37:26.500Z] $ docker stop --time=1 61bced25568e621b1653da38cbd72d18b5fbbac1dcad93c9a3a8e0074fd7337d [2022-04-01T15:37:27.800Z] $ docker rm -f 61bced25568e621b1653da38cbd72d18b5fbbac1dcad93c9a3a8e0074fd7337d [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-01T15:37:28.449Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-04-01T15:37:28.449Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-01T15:37:28.449Z] total 16 [2022-04-01T15:37:28.449Z] drwxr-xr-x 3 root root 4096 Apr 1 15:30 . [2022-04-01T15:37:28.449Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 15:37 .. [2022-04-01T15:37:28.449Z] drwxr-xr-x 2 root root 4096 Apr 1 15:30 cost [2022-04-01T15:37:28.449Z] -rw-r--r-- 1 root root 84 Apr 1 15:30 cost.csv [2022-04-01T15:37:28.449Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-01T15:37:28.449Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-01T15:37:28.449Z] total 16 [2022-04-01T15:37:28.449Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 15:30 . [2022-04-01T15:37:28.449Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 15:37 .. [2022-04-01T15:37:28.449Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 15:30 cost [2022-04-01T15:37:28.449Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 1 15:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:28.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:29.611Z] ---> package-listing.sh [2022-04-01T15:37:29.611Z] ++ facter osfamily [2022-04-01T15:37:29.611Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-01T15:37:29.873Z] + OS_FAMILY=debian [2022-04-01T15:37:29.873Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-01T15:37:29.873Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-01T15:37:29.873Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-01T15:37:29.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-01T15:37:29.873Z] + PACKAGES=/tmp/packages_start.txt [2022-04-01T15:37:29.873Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-01T15:37:29.873Z] + PACKAGES=/tmp/packages_end.txt [2022-04-01T15:37:29.873Z] + case "${OS_FAMILY}" in [2022-04-01T15:37:29.873Z] + dpkg -l [2022-04-01T15:37:29.873Z] + grep '^ii' [2022-04-01T15:37:29.873Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-01T15:37:29.873Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-01T15:37:29.873Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-01T15:37:29.873Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-01T15:37:29.873Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-04-01T15:37:29.873Z] + 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-01T15:37:29.886Z] 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-01T15:37:30.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-01T15:37:30.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T15:37:30.722Z] . [Pipeline] withDockerContainer [2022-04-01T15:37:30.793Z] prd-ubuntu20.04-docker-8c-8g-10469 does not seem to be running inside a container [2022-04-01T15:37:30.830Z] $ 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-01T15:37:31.085Z] $ docker top 696996e85ec8ef4cf2deaccb1b5f1dfe72fbb5354b1ed3f39fc672ba85e7cda5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T15:37:31.483Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-01T15:37:31.774Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-01T15:37:32.068Z] + ls /var/log/sa-host [2022-04-01T15:37:32.068Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T15:37:32.284Z] provisioning config files... [2022-04-01T15:37:32.294Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2879018522995941634tmp [Pipeline] { [Pipeline] echo [2022-04-01T15:37:32.308Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:32.599Z] ---> create-netrc.sh [Pipeline] } [2022-04-01T15:37:32.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:32.952Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-01T15:37:32.963Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:33.250Z] ---> sudo-logs.sh [2022-04-01T15:37:33.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-01T15:37:33.287Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:33.575Z] ---> job-cost.sh [2022-04-01T15:37:33.575Z] lf-activate-venv: SKIPPING [2022-04-01T15:37:33.575Z] DEBUG: total: 0.2199999988079071 [2022-04-01T15:37:33.575Z] INFO: Retrieving Stack Cost... [2022-04-01T15:37:33.836Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T15:37:34.409Z] INFO: Archiving Costs [Pipeline] echo [2022-04-01T15:37:34.423Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T15:37:34.712Z] ---> logs-deploy.sh [2022-04-01T15:37:34.712Z] lf-activate-venv: SKIPPING [2022-04-01T15:37:34.712Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/33 [2022-04-01T15:37:34.712Z] INFO: archiving workspace using pattern(s): [2022-04-01T15:37:35.657Z] Archives upload complete. [2022-04-01T15:37:35.657Z] INFO: archiving logs to Nexus