Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh15238336341336606319.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-ssh7607472746760467821.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-ssh13027849535223252036.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-ssh18365335732707020969.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-ssh3493482706273336516.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10766 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 6a0d17f3443cfc2038c22736989c6b24159166ee (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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 Commit message: "feat: enable gosec and default linter set (#353)" > git rev-list --no-walk a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T20:06:50.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T20:06:50.075Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T20:06:50.088Z] ========================================================= [2022-04-05T20:06:50.088Z] EdgeX Global Pipelines Version Info [2022-04-05T20:06:50.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:06:50.838Z] ------------------- [2022-04-05T20:06:50.838Z] stable info: [2022-04-05T20:06:50.838Z] ------------------- [2022-04-05T20:06:50.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T20:06:50.838Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:06:50.838Z] Message: update stable to v1.0.221 [2022-04-05T20:06:51.412Z] ------------------- [2022-04-05T20:06:51.413Z] experimental info: [2022-04-05T20:06:51.413Z] ------------------- [2022-04-05T20:06:51.413Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T20:06:51.413Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:06:51.413Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T20:06:51.540Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-05T20:06:51.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-05T20:06:51.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T20:06:51.595Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T20:06:51.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T20:06:51.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T20:06:51.636Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T20:06:51.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T20:06:51.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T20:06:51.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T20:06:51.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T20:06:51.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-05T20:06:51.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T20:06:51.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T20:06:51.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:06:51.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:06:51.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:06:51.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:06:51.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T20:06:51.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-05T20:06:51.841Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T20:06:51.863Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T20:06:51.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T20:06:51.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T20:06:51.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T20:06:51.939Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T20:06:51.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-05T20:06:51.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-05T20:06:51.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-05T20:06:52.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo [2022-04-05T20:06:52.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a0d17f [Pipeline] echo [2022-04-05T20:06:52.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:06:52.089Z] provisioning config files... [2022-04-05T20:06:52.101Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8994670344081635360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:06:52.407Z] ---> docker-login.sh [2022-04-05T20:06:52.407Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:06:52.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:06:52.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:06:52.669Z] Configure a credential helper to remove this warning. See [2022-04-05T20:06:52.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:06:52.669Z] [2022-04-05T20:06:52.669Z] Login Succeeded [2022-04-05T20:06:52.669Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:06:52.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:06:52.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:06:52.944Z] Configure a credential helper to remove this warning. See [2022-04-05T20:06:52.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:06:52.944Z] [2022-04-05T20:06:52.944Z] Login Succeeded [2022-04-05T20:06:52.944Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:06:52.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:06:52.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:06:52.945Z] Configure a credential helper to remove this warning. See [2022-04-05T20:06:52.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:06:52.945Z] [2022-04-05T20:06:52.945Z] Login Succeeded [2022-04-05T20:06:52.945Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:06:53.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:06:53.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:06:53.206Z] Configure a credential helper to remove this warning. See [2022-04-05T20:06:53.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:06:53.206Z] [2022-04-05T20:06:53.206Z] Login Succeeded [2022-04-05T20:06:53.206Z] docker.io [2022-04-05T20:06:53.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:06:53.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:06:53.778Z] Configure a credential helper to remove this warning. See [2022-04-05T20:06:53.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:06:53.778Z] [2022-04-05T20:06:53.778Z] Login Succeeded [2022-04-05T20:06:53.778Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:06:53.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T20:06:54.174Z] + git rev-list -1 --merges 6a0d17f3443cfc2038c22736989c6b24159166ee~1..6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo [2022-04-05T20:06:54.276Z] -----------> git rev-list -1 --merges 6a0d17f3443cfc2038c22736989c6b24159166ee~1..6a0d17f3443cfc2038c22736989c6b24159166ee 6a0d17f3443cfc2038c22736989c6b24159166ee [false] [Pipeline] sh [2022-04-05T20:06:54.565Z] + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo [2022-04-05T20:06:54.587Z] ========================================================= [2022-04-05T20:06:54.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T20:06:54.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:06:54.934Z] + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] echo [2022-04-05T20:06:54.946Z] [semverPrep] GIT_COMMIT: 6a0d17f3443cfc2038c22736989c6b24159166ee, Commit Message: feat: enable gosec and default linter set (#353) [Pipeline] echo [2022-04-05T20:06:54.953Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T20:06:55.378Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:06:55.378Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T20:06:55.378Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T20:06:55.378Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T20:06:55.378Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T20:06:55.378Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T20:06:55.378Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:06:55.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:06:55.798Z] [2022-04-05T20:06:55.798Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:06:56.103Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:06:56.103Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T20:06:56.103Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T20:06:56.103Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T20:06:56.103Z] 4c7163046ea9: Pulling fs layer [2022-04-05T20:06:56.103Z] 0c2d73faf560: Pulling fs layer [2022-04-05T20:06:56.103Z] 0c2d73faf560: Waiting [2022-04-05T20:06:56.103Z] 3e5f54012d9b: Verifying Checksum [2022-04-05T20:06:56.103Z] 3e5f54012d9b: Download complete [2022-04-05T20:06:56.103Z] a0d0a0d46f8b: Download complete [2022-04-05T20:06:56.362Z] 0c2d73faf560: Verifying Checksum [2022-04-05T20:06:56.362Z] 0c2d73faf560: Download complete [2022-04-05T20:06:56.362Z] 4c7163046ea9: Verifying Checksum [2022-04-05T20:06:56.362Z] 4c7163046ea9: Download complete [2022-04-05T20:06:56.362Z] a0d0a0d46f8b: Pull complete [2022-04-05T20:06:56.362Z] 3e5f54012d9b: Pull complete [2022-04-05T20:06:56.623Z] 4c7163046ea9: Pull complete [2022-04-05T20:06:56.883Z] 0c2d73faf560: Pull complete [2022-04-05T20:06:56.883Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T20:06:56.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:06:56.883Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T20:06:56.954Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:06:56.997Z] $ 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-05T20:06:57.630Z] $ docker top 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:06:57.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:06:57.724Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:06:57.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:06:57.856Z] $ docker exec 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent [2022-04-05T20:06:57.964Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFkfgiH/agent.13 [2022-04-05T20:06:57.964Z] SSH_AGENT_PID=19 [2022-04-05T20:06:57.972Z] Running ssh-add (command line suppressed) [2022-04-05T20:06:58.089Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1773725588552950034.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1773725588552950034.key) [2022-04-05T20:06:58.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:06:58.388Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T20:06:58.406Z] $ docker exec --env ******** --env ******** 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent -k [2022-04-05T20:06:58.512Z] unset SSH_AUTH_SOCK; [2022-04-05T20:06:58.512Z] unset SSH_AGENT_PID; [2022-04-05T20:06:58.513Z] echo Agent pid 19 killed; [2022-04-05T20:06:58.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T20:06:58.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:06:58.537Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:06:58.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:06:58.671Z] $ docker exec 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent [2022-04-05T20:06:58.780Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhbNnOB/agent.52 [2022-04-05T20:06:58.780Z] SSH_AGENT_PID=59 [2022-04-05T20:06:58.786Z] Running ssh-add (command line suppressed) [2022-04-05T20:06:58.905Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4811447463423851665.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4811447463423851665.key) [2022-04-05T20:06:58.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:06:59.202Z] + git semver init [2022-04-05T20:06:59.202Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:06:59.202Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-05T20:06:59.202Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:06:59.202Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:06:59.202Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:06:59.202Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:06:59.202Z] # $SEMVER_BRANCH = main [2022-04-05T20:06:59.202Z] # $SEMVER_TEMP = /tmp/semver-845533081 [2022-04-05T20:06:59.202Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-05T20:07:00.146Z] # '/tmp/semver-845533081' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-04-05T20:07:00.146Z] # -> Force: false [2022-04-05T20:07:00.146Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-05T20:07:00.165Z] $ docker exec --env ******** --env ******** 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 ssh-agent -k [2022-04-05T20:07:00.272Z] unset SSH_AUTH_SOCK; [2022-04-05T20:07:00.273Z] unset SSH_AGENT_PID; [2022-04-05T20:07:00.273Z] echo Agent pid 59 killed; [2022-04-05T20:07:00.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:07:00.590Z] + git semver [Pipeline] } [2022-04-05T20:07:00.609Z] $ docker stop --time=1 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 [2022-04-05T20:07:01.977Z] $ docker rm -f 0827947d86260f4d1675fe6677a153dd1163142aff3368b856a70ba366493721 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:07:02.335Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T20:07:02.571Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T20:07:02.576Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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-05T20:07:02.704Z] provisioning config files... [2022-04-05T20:07:02.713Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config967230476805128147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:07:03.041Z] ---> docker-login.sh [2022-04-05T20:07:03.041Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:07:03.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:07:03.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:07:03.041Z] Configure a credential helper to remove this warning. See [2022-04-05T20:07:03.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:07:03.041Z] [2022-04-05T20:07:03.041Z] Login Succeeded [2022-04-05T20:07:03.041Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:07:03.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:07:03.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:07:03.301Z] Configure a credential helper to remove this warning. See [2022-04-05T20:07:03.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:07:03.301Z] [2022-04-05T20:07:03.301Z] Login Succeeded [2022-04-05T20:07:03.301Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:07:03.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:07:03.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:07:03.301Z] Configure a credential helper to remove this warning. See [2022-04-05T20:07:03.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:07:03.301Z] [2022-04-05T20:07:03.301Z] Login Succeeded [2022-04-05T20:07:03.301Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:07:03.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:07:03.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:07:03.562Z] Configure a credential helper to remove this warning. See [2022-04-05T20:07:03.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:07:03.562Z] [2022-04-05T20:07:03.562Z] Login Succeeded [2022-04-05T20:07:03.562Z] docker.io [2022-04-05T20:07:03.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:07:03.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:07:03.822Z] Configure a credential helper to remove this warning. See [2022-04-05T20:07:03.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:07:03.822Z] [2022-04-05T20:07:03.822Z] Login Succeeded [2022-04-05T20:07:03.822Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:07:03.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:07:03.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:07:03.918Z] ========================================================= [2022-04-05T20:07:03.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T20:07:03.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:07:04.224Z] + 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-05T20:07:04.224Z] Sending build context to Docker daemon 5.792MB [2022-04-05T20:07:04.224Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:07:04.224Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:07:04.224Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T20:07:04.224Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T20:07:04.224Z] 666ba61612fd: Pulling fs layer [2022-04-05T20:07:04.225Z] 8ed8ca486205: Pulling fs layer [2022-04-05T20:07:04.225Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T20:07:04.225Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T20:07:04.225Z] 640e595b4fbd: Pulling fs layer [2022-04-05T20:07:04.225Z] 763cafe07f6e: Pulling fs layer [2022-04-05T20:07:04.225Z] 0c0b528cf693: Pulling fs layer [2022-04-05T20:07:04.225Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T20:07:04.225Z] 22a0e8bec74d: Waiting [2022-04-05T20:07:04.225Z] 640e595b4fbd: Waiting [2022-04-05T20:07:04.225Z] 763cafe07f6e: Waiting [2022-04-05T20:07:04.225Z] 0c0b528cf693: Waiting [2022-04-05T20:07:04.225Z] 10935f4eaf8b: Waiting [2022-04-05T20:07:04.225Z] 4fe6c5a15a65: Waiting [2022-04-05T20:07:04.487Z] 8ed8ca486205: Verifying Checksum [2022-04-05T20:07:04.487Z] 8ed8ca486205: Download complete [2022-04-05T20:07:04.487Z] 666ba61612fd: Verifying Checksum [2022-04-05T20:07:04.487Z] 666ba61612fd: Download complete [2022-04-05T20:07:04.487Z] 22a0e8bec74d: Verifying Checksum [2022-04-05T20:07:04.487Z] 22a0e8bec74d: Download complete [2022-04-05T20:07:04.487Z] 640e595b4fbd: Verifying Checksum [2022-04-05T20:07:04.487Z] 640e595b4fbd: Download complete [2022-04-05T20:07:04.487Z] 59bf1c3509f3: Verifying Checksum [2022-04-05T20:07:04.487Z] 59bf1c3509f3: Download complete [2022-04-05T20:07:04.487Z] 763cafe07f6e: Verifying Checksum [2022-04-05T20:07:04.487Z] 763cafe07f6e: Download complete [2022-04-05T20:07:04.487Z] 0c0b528cf693: Verifying Checksum [2022-04-05T20:07:04.487Z] 0c0b528cf693: Download complete [2022-04-05T20:07:04.487Z] 59bf1c3509f3: Pull complete [2022-04-05T20:07:04.748Z] 666ba61612fd: Pull complete [2022-04-05T20:07:04.748Z] 8ed8ca486205: Pull complete [2022-04-05T20:07:05.319Z] 4fe6c5a15a65: Download complete [2022-04-05T20:07:05.319Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T20:07:05.319Z] 10935f4eaf8b: Download complete [2022-04-05T20:07:09.514Z] 4fe6c5a15a65: Pull complete [2022-04-05T20:07:09.514Z] 22a0e8bec74d: Pull complete [2022-04-05T20:07:09.514Z] 640e595b4fbd: Pull complete [2022-04-05T20:07:09.514Z] 763cafe07f6e: Pull complete [2022-04-05T20:07:09.514Z] 0c0b528cf693: Pull complete [2022-04-05T20:07:11.427Z] 10935f4eaf8b: Pull complete [2022-04-05T20:07:11.427Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T20:07:11.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T20:07:11.427Z] ---> 99d49a6021b9 [2022-04-05T20:07:11.427Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:07:12.813Z] ---> Running in a771be988063 [2022-04-05T20:07:12.813Z] Removing intermediate container a771be988063 [2022-04-05T20:07:12.813Z] ---> 8e6a723d610f [2022-04-05T20:07:12.813Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:07:12.813Z] ---> Running in 04ff9a0b1fef [2022-04-05T20:07:12.813Z] Removing intermediate container 04ff9a0b1fef [2022-04-05T20:07:12.813Z] ---> e29cfd285a89 [2022-04-05T20:07:12.813Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:07:12.813Z] ---> Running in 11fc17bc0e5a [2022-04-05T20:07:13.382Z] Removing intermediate container 11fc17bc0e5a [2022-04-05T20:07:13.382Z] ---> 4753bb391a2c [2022-04-05T20:07:13.382Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:07:13.648Z] ---> Running in cc2c76c19562 [2022-04-05T20:07:13.909Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:07:14.850Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:07:15.113Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:07:15.113Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:07:15.379Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:07:15.379Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:07:15.379Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:07:15.379Z] OK: 224 MiB in 56 packages [2022-04-05T20:07:15.955Z] Removing intermediate container cc2c76c19562 [2022-04-05T20:07:15.955Z] ---> 82c1f48938ea [2022-04-05T20:07:15.955Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-05T20:07:15.955Z] ---> Running in 7f5831aad7c4 [2022-04-05T20:07:15.955Z] Removing intermediate container 7f5831aad7c4 [2022-04-05T20:07:15.955Z] ---> 91435118dfb1 [2022-04-05T20:07:15.955Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T20:07:16.216Z] ---> c5930636f30b [2022-04-05T20:07:16.216Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:07:16.216Z] ---> Running in eb8173f3aecd [2022-04-05T20:07:17.674Z] Still waiting to schedule task [2022-04-05T20:07:17.674Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-05T20:07:42.801Z] Removing intermediate container eb8173f3aecd [2022-04-05T20:07:42.801Z] ---> 4ea1ebe4b648 [2022-04-05T20:07:42.801Z] Step 10/12 : COPY . . [2022-04-05T20:07:42.801Z] ---> 0217a4d3329b [2022-04-05T20:07:42.801Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T20:07:42.801Z] ---> Running in c1a856e0a564 [2022-04-05T20:07:42.801Z] Removing intermediate container c1a856e0a564 [2022-04-05T20:07:42.801Z] ---> 94541182f798 [2022-04-05T20:07:42.801Z] Step 12/12 : RUN $MAKE [2022-04-05T20:07:42.801Z] ---> Running in 0f327c2bab00 [2022-04-05T20:07:42.801Z] noop [2022-04-05T20:07:42.801Z] Removing intermediate container 0f327c2bab00 [2022-04-05T20:07:42.801Z] ---> 65853fe21fbf [2022-04-05T20:07:42.801Z] Successfully built 65853fe21fbf [2022-04-05T20:07:42.801Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:07:43.111Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:07:43.111Z] . [Pipeline] withDockerContainer [2022-04-05T20:07:43.174Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:07:43.293Z] $ 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-05T20:07:43.696Z] $ docker top 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:07:44.057Z] + go version [2022-04-05T20:07:44.057Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T20:07:44.075Z] $ docker stop --time=1 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae [2022-04-05T20:07:45.382Z] $ docker rm -f 98060e1535bb7ad6e187a1e3447bf9e6d85dd66231189ded0dac8226a75ddaae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:07:45.787Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:07:45.787Z] . [Pipeline] withDockerContainer [2022-04-05T20:07:45.849Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:07:45.888Z] $ 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-05T20:07:46.254Z] $ docker top 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:07:46.655Z] + make test [2022-04-05T20:07:46.655Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T20:07:46.916Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-05T20:07:53.487Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-05T20:07:53.487Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-04-05T20:07:53.487Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-05T20:07:57.684Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:08:00.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:08:00.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:08:00.980Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:08:00.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:08:01.012Z] $ docker stop --time=1 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca [2022-04-05T20:08:02.679Z] $ docker rm -f 807243f6dbecb8126b7826844eff262baae2072ceecb83cb6007749546c50bca [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:08:03.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:08:03.125Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T20:08:04.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:08:04.424Z] + ls -al . [2022-04-05T20:08:04.424Z] total 188 [2022-04-05T20:08:04.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:08 . [2022-04-05T20:08:04.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:06 .. [2022-04-05T20:08:04.424Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:06 .dockerignore [2022-04-05T20:08:04.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:06 .git [2022-04-05T20:08:04.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 .github [2022-04-05T20:08:04.424Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:06 .gitignore [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:06 .golangci.yml [2022-04-05T20:08:04.425Z] drwx------ 3 jenkins jenkins 4096 Apr 5 20:06 .semver [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 20:06 Attribution.txt [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 20:06 CHANGELOG.md [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 20:06 Dockerfile [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:06 GOVERNANCE.md [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 20:06 Jenkinsfile [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:06 LICENSE [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 20:06 Makefile [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:06 OWNERS.md [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 20:06 README.md [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 5 20:07 VERSION [2022-04-05T20:08:04.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:06 bin [2022-04-05T20:08:04.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 cmd [2022-04-05T20:08:04.425Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 20:07 coverage.out [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 20:06 go.mod [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:06 go.sum [2022-04-05T20:08:04.425Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:06 internal [2022-04-05T20:08:04.425Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:06 mock [2022-04-05T20:08:04.425Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:06 snap [2022-04-05T20:08:04.425Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:04.722Z] + 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=6a0d17f3443cfc2038c22736989c6b24159166ee --label arch=amd64 --label version=2.2.0-dev.13 . [2022-04-05T20:08:04.722Z] Sending build context to Docker daemon 5.811MB [2022-04-05T20:08:04.722Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:08:04.722Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T20:08:04.722Z] ---> 65853fe21fbf [2022-04-05T20:08:04.722Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:08:04.722Z] ---> Running in 8c822a50e276 [2022-04-05T20:08:04.982Z] Removing intermediate container 8c822a50e276 [2022-04-05T20:08:04.982Z] ---> 77c198b3f8f9 [2022-04-05T20:08:04.982Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:08:04.982Z] ---> Running in 870629ca1581 [2022-04-05T20:08:04.982Z] Removing intermediate container 870629ca1581 [2022-04-05T20:08:04.982Z] ---> 24b714757628 [2022-04-05T20:08:04.982Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:08:04.982Z] ---> Running in 937f51d93be3 [2022-04-05T20:08:05.552Z] Removing intermediate container 937f51d93be3 [2022-04-05T20:08:05.552Z] ---> 27bea8e8eaac [2022-04-05T20:08:05.552Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:08:05.552Z] ---> Running in f0dd6fc90dcd [2022-04-05T20:08:05.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:06.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:07.016Z] OK: 224 MiB in 56 packages [2022-04-05T20:08:07.282Z] Removing intermediate container f0dd6fc90dcd [2022-04-05T20:08:07.282Z] ---> 89410f6f75fb [2022-04-05T20:08:07.282Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-05T20:08:07.282Z] ---> Running in 37f0fe444edd [2022-04-05T20:08:07.541Z] Removing intermediate container 37f0fe444edd [2022-04-05T20:08:07.541Z] ---> 2eba40bf6eef [2022-04-05T20:08:07.541Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-05T20:08:07.541Z] ---> b2d461851652 [2022-04-05T20:08:07.541Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:08:07.541Z] ---> Running in 72f9aa6914bb [2022-04-05T20:08:08.480Z] Removing intermediate container 72f9aa6914bb [2022-04-05T20:08:08.480Z] ---> a14985ef6093 [2022-04-05T20:08:08.480Z] Step 10/24 : COPY . . [2022-04-05T20:08:08.480Z] ---> b052fe2edddb [2022-04-05T20:08:08.480Z] Step 11/24 : ARG MAKE='make build' [2022-04-05T20:08:08.741Z] ---> Running in eb38030970eb [2022-04-05T20:08:08.741Z] Removing intermediate container eb38030970eb [2022-04-05T20:08:08.741Z] ---> 8959b7b03e5d [2022-04-05T20:08:08.741Z] Step 12/24 : RUN $MAKE [2022-04-05T20:08:08.741Z] ---> Running in 06a798d7cf61 [2022-04-05T20:08:09.002Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.13" -o cmd/device-mqtt ./cmd [2022-04-05T20:08:17.124Z] Removing intermediate container 06a798d7cf61 [2022-04-05T20:08:17.124Z] ---> 57f48518fa2c [2022-04-05T20:08:17.124Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T20:08:17.124Z] 3.14: Pulling from library/alpine [2022-04-05T20:08:17.124Z] 8663204ce13b: Pulling fs layer [2022-04-05T20:08:17.124Z] 8663204ce13b: Verifying Checksum [2022-04-05T20:08:17.124Z] 8663204ce13b: Download complete [2022-04-05T20:08:17.124Z] 8663204ce13b: Pull complete [2022-04-05T20:08:17.124Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:08:17.124Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:08:17.124Z] ---> e04c818066af [2022-04-05T20:08:17.124Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-05T20:08:17.124Z] ---> Running in ef4157844aee [2022-04-05T20:08:17.124Z] Removing intermediate container ef4157844aee [2022-04-05T20:08:17.124Z] ---> 68f20358f010 [2022-04-05T20:08:17.124Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:08:17.124Z] ---> Running in 3bdf1d789246 [2022-04-05T20:08:17.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:17.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:17.652Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:08:17.652Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:08:17.652Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:08:17.913Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:08:17.913Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:08:17.913Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:08:17.913Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:08:17.913Z] OK: 8 MiB in 20 packages [2022-04-05T20:08:18.174Z] Removing intermediate container 3bdf1d789246 [2022-04-05T20:08:18.174Z] ---> 74701706efb0 [2022-04-05T20:08:18.174Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-05T20:08:18.743Z] ---> c15e3794e18f [2022-04-05T20:08:18.743Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-05T20:08:18.743Z] ---> f15175b6e8d0 [2022-04-05T20:08:18.743Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-05T20:08:18.743Z] ---> 31a52369bca8 [2022-04-05T20:08:18.743Z] Step 19/24 : EXPOSE 59982 [2022-04-05T20:08:19.005Z] ---> Running in cd01a93cda54 [2022-04-05T20:08:19.005Z] Removing intermediate container cd01a93cda54 [2022-04-05T20:08:19.005Z] ---> ad2a64314284 [2022-04-05T20:08:19.005Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-05T20:08:19.005Z] ---> Running in f9cde6a0fd5d [2022-04-05T20:08:19.005Z] Removing intermediate container f9cde6a0fd5d [2022-04-05T20:08:19.005Z] ---> b73d54e03348 [2022-04-05T20:08:19.005Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:08:19.264Z] ---> Running in 77e1eba4baa6 [2022-04-05T20:08:19.264Z] Removing intermediate container 77e1eba4baa6 [2022-04-05T20:08:19.264Z] ---> 9ca2b1f6cf47 [2022-04-05T20:08:19.264Z] Step 22/24 : LABEL arch=amd64 [2022-04-05T20:08:19.264Z] ---> Running in 49d2de089a4e [2022-04-05T20:08:19.264Z] Removing intermediate container 49d2de089a4e [2022-04-05T20:08:19.265Z] ---> 791720ea0a7d [2022-04-05T20:08:19.265Z] Step 23/24 : LABEL git_sha=6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:08:19.265Z] ---> Running in 1fe4a6ac1f83 [2022-04-05T20:08:19.524Z] Removing intermediate container 1fe4a6ac1f83 [2022-04-05T20:08:19.524Z] ---> bbcb24038a33 [2022-04-05T20:08:19.524Z] Step 24/24 : LABEL version=2.2.0-dev.13 [2022-04-05T20:08:19.524Z] ---> Running in 40dcb897affe [2022-04-05T20:08:19.525Z] Removing intermediate container 40dcb897affe [2022-04-05T20:08:19.525Z] ---> 493d8ef6016a [2022-04-05T20:08:19.525Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:08:19.525Z] Successfully built 493d8ef6016a [2022-04-05T20:08:19.525Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:08:19.613Z] provisioning config files... [2022-04-05T20:08:19.624Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5176956006395211953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:19.927Z] ---> docker-login.sh [2022-04-05T20:08:19.927Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:08:19.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:19.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:19.927Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:19.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:19.927Z] [2022-04-05T20:08:19.927Z] Login Succeeded [2022-04-05T20:08:19.927Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:08:19.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:20.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:20.188Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:20.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:20.188Z] [2022-04-05T20:08:20.188Z] Login Succeeded [2022-04-05T20:08:20.188Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:08:20.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:20.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:20.188Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:20.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:20.188Z] [2022-04-05T20:08:20.188Z] Login Succeeded [2022-04-05T20:08:20.188Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:08:20.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:20.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:20.447Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:20.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:20.447Z] [2022-04-05T20:08:20.447Z] Login Succeeded [2022-04-05T20:08:20.447Z] docker.io [2022-04-05T20:08:20.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:20.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:20.707Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:20.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:20.707Z] [2022-04-05T20:08:20.707Z] Login Succeeded [2022-04-05T20:08:20.707Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:08:20.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:08:20.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:08:20.772Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-04-05T20:08:20.772Z] 6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:08:20.772Z] latest [2022-04-05T20:08:20.772Z] 2.2.0-dev.13 [2022-04-05T20:08:20.772Z] 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:08:20.772Z] main [2022-04-05T20:08:20.772Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:21.092Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:21.380Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:08:21.380Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-05T20:08:21.380Z] 942b48f3b08f: Preparing [2022-04-05T20:08:21.380Z] 073c325799fa: Preparing [2022-04-05T20:08:21.380Z] c018f4f9f30b: Preparing [2022-04-05T20:08:21.380Z] 90ab4940b6cd: Preparing [2022-04-05T20:08:21.380Z] b541d28bf3b4: Preparing [2022-04-05T20:08:21.380Z] 073c325799fa: Pushed [2022-04-05T20:08:21.380Z] 942b48f3b08f: Pushed [2022-04-05T20:08:21.639Z] 90ab4940b6cd: Pushed [2022-04-05T20:08:22.208Z] b541d28bf3b4: Pushed [2022-04-05T20:08:22.776Z] c018f4f9f30b: Pushed [2022-04-05T20:08:22.776Z] 6a0d17f3443cfc2038c22736989c6b24159166ee: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:23.069Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:23.365Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-05T20:08:23.365Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-05T20:08:23.365Z] 942b48f3b08f: Preparing [2022-04-05T20:08:23.365Z] 073c325799fa: Preparing [2022-04-05T20:08:23.365Z] c018f4f9f30b: Preparing [2022-04-05T20:08:23.365Z] 90ab4940b6cd: Preparing [2022-04-05T20:08:23.365Z] b541d28bf3b4: Preparing [2022-04-05T20:08:23.365Z] 942b48f3b08f: Layer already exists [2022-04-05T20:08:23.365Z] 90ab4940b6cd: Layer already exists [2022-04-05T20:08:23.365Z] b541d28bf3b4: Layer already exists [2022-04-05T20:08:23.365Z] c018f4f9f30b: Layer already exists [2022-04-05T20:08:23.365Z] 073c325799fa: Layer already exists [2022-04-05T20:08:23.365Z] latest: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:23.660Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:23.952Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 [2022-04-05T20:08:23.952Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-05T20:08:23.952Z] 942b48f3b08f: Preparing [2022-04-05T20:08:23.952Z] 073c325799fa: Preparing [2022-04-05T20:08:23.952Z] c018f4f9f30b: Preparing [2022-04-05T20:08:23.952Z] 90ab4940b6cd: Preparing [2022-04-05T20:08:23.952Z] b541d28bf3b4: Preparing [2022-04-05T20:08:23.952Z] b541d28bf3b4: Layer already exists [2022-04-05T20:08:23.952Z] 942b48f3b08f: Layer already exists [2022-04-05T20:08:23.952Z] 073c325799fa: Layer already exists [2022-04-05T20:08:23.952Z] 90ab4940b6cd: Layer already exists [2022-04-05T20:08:23.952Z] c018f4f9f30b: Layer already exists [2022-04-05T20:08:23.952Z] 2.2.0-dev.13: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:24.255Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:24.547Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:08:24.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-05T20:08:24.547Z] 942b48f3b08f: Preparing [2022-04-05T20:08:24.547Z] 073c325799fa: Preparing [2022-04-05T20:08:24.547Z] c018f4f9f30b: Preparing [2022-04-05T20:08:24.547Z] 90ab4940b6cd: Preparing [2022-04-05T20:08:24.547Z] b541d28bf3b4: Preparing [2022-04-05T20:08:24.547Z] c018f4f9f30b: Layer already exists [2022-04-05T20:08:24.547Z] 90ab4940b6cd: Layer already exists [2022-04-05T20:08:24.547Z] 942b48f3b08f: Layer already exists [2022-04-05T20:08:24.547Z] 073c325799fa: Layer already exists [2022-04-05T20:08:24.547Z] b541d28bf3b4: Layer already exists [2022-04-05T20:08:24.547Z] 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:24.847Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:25.141Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-04-05T20:08:25.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-05T20:08:25.141Z] 942b48f3b08f: Preparing [2022-04-05T20:08:25.141Z] 073c325799fa: Preparing [2022-04-05T20:08:25.141Z] c018f4f9f30b: Preparing [2022-04-05T20:08:25.141Z] 90ab4940b6cd: Preparing [2022-04-05T20:08:25.141Z] b541d28bf3b4: Preparing [2022-04-05T20:08:25.141Z] 942b48f3b08f: Layer already exists [2022-04-05T20:08:25.141Z] b541d28bf3b4: Layer already exists [2022-04-05T20:08:25.141Z] 90ab4940b6cd: Layer already exists [2022-04-05T20:08:25.141Z] 073c325799fa: Layer already exists [2022-04-05T20:08:25.141Z] c018f4f9f30b: Layer already exists [2022-04-05T20:08:25.141Z] main: digest: sha256:ddc4d0b993386a48459065a9b0596ce1a814b22cb6803d6c7904b2d9a1da77a6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:08:25.178Z] ===================================================== [Pipeline] echo [2022-04-05T20:08:25.187Z] taggedImages: [2022-04-05T20:08:25.187Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:08:25.187Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-05T20:08:25.187Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.13 [2022-04-05T20:08:25.187Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:08:25.187Z] - 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-05T20:08:25.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:08:25.566Z] [2022-04-05T20:08:25.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:25.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:08:25.868Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T20:08:25.868Z] 5eb5b503b376: Pulling fs layer [2022-04-05T20:08:25.868Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T20:08:25.868Z] ec43610c2a17: Pulling fs layer [2022-04-05T20:08:25.868Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T20:08:25.868Z] 33b1e0a273af: Pulling fs layer [2022-04-05T20:08:25.868Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T20:08:25.868Z] 2f39f015ded8: Pulling fs layer [2022-04-05T20:08:25.868Z] 3a2ae6a8a46f: Waiting [2022-04-05T20:08:25.868Z] 33b1e0a273af: Waiting [2022-04-05T20:08:25.868Z] 5d3b04190fa2: Waiting [2022-04-05T20:08:25.868Z] 2f39f015ded8: Waiting [2022-04-05T20:08:25.868Z] 5c69ac0246d0: Download complete [2022-04-05T20:08:25.868Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-05T20:08:25.868Z] 3a2ae6a8a46f: Download complete [2022-04-05T20:08:25.868Z] 33b1e0a273af: Verifying Checksum [2022-04-05T20:08:25.868Z] 33b1e0a273af: Download complete [2022-04-05T20:08:25.868Z] 5d3b04190fa2: Verifying Checksum [2022-04-05T20:08:25.868Z] 5d3b04190fa2: Download complete [2022-04-05T20:08:25.868Z] ec43610c2a17: Verifying Checksum [2022-04-05T20:08:25.868Z] ec43610c2a17: Download complete [2022-04-05T20:08:26.127Z] 5eb5b503b376: Verifying Checksum [2022-04-05T20:08:26.127Z] 5eb5b503b376: Download complete [2022-04-05T20:08:26.694Z] 2f39f015ded8: Verifying Checksum [2022-04-05T20:08:26.694Z] 2f39f015ded8: Download complete [2022-04-05T20:08:27.272Z] 5eb5b503b376: Pull complete [2022-04-05T20:08:27.531Z] 5c69ac0246d0: Pull complete [2022-04-05T20:08:27.790Z] ec43610c2a17: Pull complete [2022-04-05T20:08:27.790Z] 3a2ae6a8a46f: Pull complete [2022-04-05T20:08:28.049Z] 33b1e0a273af: Pull complete [2022-04-05T20:08:28.307Z] 5d3b04190fa2: Pull complete [2022-04-05T20:08:32.505Z] 2f39f015ded8: Pull complete [2022-04-05T20:08:32.506Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T20:08:32.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:08:32.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T20:08:32.572Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:08:32.611Z] $ 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-05T20:08:34.283Z] $ docker top 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:34.708Z] ---> job-cost.sh [2022-04-05T20:08:34.708Z] lf-activate-venv: SKIPPING [2022-04-05T20:08:34.708Z] INFO: No Stack... [2022-04-05T20:08:34.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:08:35.644Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:08:35.929Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-04-05T20:08:35.929Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:08:35.946Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [2022-04-05T20:08:35.954Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] did not exist. Created. [2022-04-05T20:08:35.954Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:08:36.258Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T20:08:36.284Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:08:36.291Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:08:36.318Z] $ docker stop --time=1 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de [2022-04-05T20:08:37.482Z] $ docker rm -f 4c72fec33ef1e2bff359ad51f1ea69af417fe46333de52fd11c9cc40b14638de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T20:08:58.184Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10768 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-04-05T20:08:58.199Z] Running in /w/workspace/device-mqtt-go/34 [Pipeline] { [Pipeline] checkout [2022-04-05T20:08:58.569Z] Selected Git installation does not exist. Using Default [2022-04-05T20:08:58.569Z] The recommended git tool is: NONE [2022-04-05T20:09:04.901Z] using credential edgex-jenkins-ssh [2022-04-05T20:09:04.942Z] Cloning the remote Git repository [2022-04-05T20:09:05.001Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-05T20:09:05.077Z] > git init /w/workspace/device-mqtt-go/34 # timeout=10 [2022-04-05T20:09:05.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-05T20:09:05.200Z] > git --version # timeout=10 [2022-04-05T20:09:05.248Z] > git --version # 'git version 2.25.1' [2022-04-05T20:09:05.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T20:09:05.314Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:09:06.864Z] Avoid second fetch [2022-04-05T20:09:06.864Z] Checking out Revision 6a0d17f3443cfc2038c22736989c6b24159166ee (main) [2022-04-05T20:09:06.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-05T20:09:06.832Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:09:06.896Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T20:09:06.933Z] > git checkout -f 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [2022-04-05T20:09:11.274Z] Commit message: "feat: enable gosec and default linter set (#353)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:09:12.263Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T20:09:12.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:09:12.263Z] Dload Upload Total Spent Left Speed [2022-04-05T20:09:12.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh [2022-04-05T20:09:12.789Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T20:09:13.137Z] + sudo tee /etc/docker/daemon.new [2022-04-05T20:09:13.137Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T20:09:13.137Z] { [2022-04-05T20:09:13.137Z] "registry-mirrors": [ [2022-04-05T20:09:13.137Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T20:09:13.137Z] ], [2022-04-05T20:09:13.137Z] "bip": "10.250.0.254/24", [2022-04-05T20:09:13.137Z] "hosts": [ [2022-04-05T20:09:13.137Z] "tcp://0.0.0.0:5555", [2022-04-05T20:09:13.137Z] "unix:///var/run/docker.sock" [2022-04-05T20:09:13.137Z] ], [2022-04-05T20:09:13.137Z] "mtu": 1458, [2022-04-05T20:09:13.137Z] "selinux-enabled": true, [2022-04-05T20:09:13.137Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T20:09:13.137Z] } [Pipeline] sh [2022-04-05T20:09:13.488Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T20:09:13.851Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:09:32.237Z] provisioning config files... [2022-04-05T20:09:32.263Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/34@tmp/config861343275604170129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:32.625Z] ---> docker-login.sh [2022-04-05T20:09:32.625Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:33.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:33.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:33.499Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:33.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:33.499Z] [2022-04-05T20:09:33.499Z] Login Succeeded [2022-04-05T20:09:33.499Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:33.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:33.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:33.774Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:33.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:33.774Z] [2022-04-05T20:09:33.774Z] Login Succeeded [2022-04-05T20:09:34.053Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:34.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:34.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:34.327Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:34.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:34.327Z] [2022-04-05T20:09:34.327Z] Login Succeeded [2022-04-05T20:09:34.327Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:34.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:34.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:34.879Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:34.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:34.879Z] [2022-04-05T20:09:34.879Z] Login Succeeded [2022-04-05T20:09:34.879Z] docker.io [2022-04-05T20:09:35.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:35.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:35.744Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:35.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:35.744Z] [2022-04-05T20:09:35.744Z] Login Succeeded [2022-04-05T20:09:35.744Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:35.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:09:36.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:09:36.286Z] ========================================================= [2022-04-05T20:09:36.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T20:09:36.286Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:36.644Z] + 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-05T20:09:36.927Z] Sending build context to Docker daemon 3.025MB [2022-04-05T20:09:36.927Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:36.927Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:09:37.214Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T20:09:37.214Z] 9b3977197b4f: Pulling fs layer [2022-04-05T20:09:37.214Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T20:09:37.214Z] 94645a83ff95: Pulling fs layer [2022-04-05T20:09:37.214Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T20:09:37.214Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T20:09:37.214Z] f7c0051592d6: Pulling fs layer [2022-04-05T20:09:37.214Z] a227ed2f7395: Pulling fs layer [2022-04-05T20:09:37.214Z] 7b1c46037f91: Pulling fs layer [2022-04-05T20:09:37.214Z] 3f3a8bcf1eab: Waiting [2022-04-05T20:09:37.214Z] 0c92f367c5e7: Waiting [2022-04-05T20:09:37.214Z] f7c0051592d6: Waiting [2022-04-05T20:09:37.214Z] a227ed2f7395: Waiting [2022-04-05T20:09:37.214Z] 94645a83ff95: Verifying Checksum [2022-04-05T20:09:37.214Z] 94645a83ff95: Download complete [2022-04-05T20:09:37.214Z] 1a89e8eeedd5: Verifying Checksum [2022-04-05T20:09:37.214Z] 1a89e8eeedd5: Download complete [2022-04-05T20:09:37.214Z] 0c92f367c5e7: Verifying Checksum [2022-04-05T20:09:37.214Z] 0c92f367c5e7: Download complete [2022-04-05T20:09:37.214Z] f7c0051592d6: Verifying Checksum [2022-04-05T20:09:37.214Z] f7c0051592d6: Download complete [2022-04-05T20:09:37.214Z] 9b3977197b4f: Verifying Checksum [2022-04-05T20:09:37.214Z] 9b3977197b4f: Download complete [2022-04-05T20:09:37.214Z] a227ed2f7395: Verifying Checksum [2022-04-05T20:09:37.214Z] a227ed2f7395: Download complete [2022-04-05T20:09:38.204Z] 9b3977197b4f: Pull complete [2022-04-05T20:09:38.483Z] 1a89e8eeedd5: Pull complete [2022-04-05T20:09:39.085Z] 94645a83ff95: Pull complete [2022-04-05T20:09:39.363Z] 7b1c46037f91: Verifying Checksum [2022-04-05T20:09:39.363Z] 7b1c46037f91: Download complete [2022-04-05T20:09:39.965Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T20:09:39.965Z] 3f3a8bcf1eab: Download complete [2022-04-05T20:09:52.372Z] 3f3a8bcf1eab: Pull complete [2022-04-05T20:09:52.372Z] 0c92f367c5e7: Pull complete [2022-04-05T20:09:52.646Z] f7c0051592d6: Pull complete [2022-04-05T20:09:52.958Z] a227ed2f7395: Pull complete [2022-04-05T20:09:59.693Z] 7b1c46037f91: Pull complete [2022-04-05T20:09:59.693Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T20:09:59.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T20:09:59.693Z] ---> f79e39bc4007 [2022-04-05T20:09:59.693Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:09:59.972Z] ---> Running in b5513536548b [2022-04-05T20:10:00.245Z] Removing intermediate container b5513536548b [2022-04-05T20:10:00.245Z] ---> b87932d5de9f [2022-04-05T20:10:00.245Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:10:00.245Z] ---> Running in bbfd380d8e99 [2022-04-05T20:10:00.530Z] Removing intermediate container bbfd380d8e99 [2022-04-05T20:10:00.530Z] ---> 0d4d95dfa514 [2022-04-05T20:10:00.530Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:00.808Z] ---> Running in c5ae39c10e9e [2022-04-05T20:10:02.788Z] Removing intermediate container c5ae39c10e9e [2022-04-05T20:10:02.788Z] ---> 16fbd7d8d085 [2022-04-05T20:10:02.788Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:10:02.788Z] ---> Running in a9e9ea1fc291 [2022-04-05T20:10:03.770Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:10:04.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:10:05.351Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:10:05.624Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:10:05.624Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:10:05.897Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:10:05.897Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:10:05.897Z] OK: 224 MiB in 56 packages [2022-04-05T20:10:06.887Z] Removing intermediate container a9e9ea1fc291 [2022-04-05T20:10:06.887Z] ---> 1463390443bb [2022-04-05T20:10:06.887Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-05T20:10:06.887Z] ---> Running in 5c09794fc1be [2022-04-05T20:10:07.157Z] Removing intermediate container 5c09794fc1be [2022-04-05T20:10:07.157Z] ---> 7b92c98d4bcf [2022-04-05T20:10:07.157Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T20:10:07.768Z] ---> b950f5bf4578 [2022-04-05T20:10:07.768Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:10:07.768Z] ---> Running in ed1cdf45914d [2022-04-05T20:11:29.559Z] Removing intermediate container ed1cdf45914d [2022-04-05T20:11:29.559Z] ---> ef44c842b754 [2022-04-05T20:11:29.559Z] Step 10/12 : COPY . . [2022-04-05T20:11:29.559Z] ---> b1cfb6b8509e [2022-04-05T20:11:29.559Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T20:11:29.559Z] ---> Running in 4550a10eefb5 [2022-04-05T20:11:29.559Z] Removing intermediate container 4550a10eefb5 [2022-04-05T20:11:29.559Z] ---> fd23c046f9df [2022-04-05T20:11:29.559Z] Step 12/12 : RUN $MAKE [2022-04-05T20:11:29.559Z] ---> Running in 24f8d74a5c11 [2022-04-05T20:11:29.836Z] noop [2022-04-05T20:11:30.820Z] Removing intermediate container 24f8d74a5c11 [2022-04-05T20:11:30.821Z] ---> 1ca28031887c [2022-04-05T20:11:30.821Z] Successfully built 1ca28031887c [2022-04-05T20:11:30.821Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:31.184Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:11:31.184Z] . [Pipeline] withDockerContainer [2022-04-05T20:11:31.436Z] prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container [2022-04-05T20:11:31.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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 ******** ci-base-image-arm64 cat [2022-04-05T20:11:32.840Z] $ docker top e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:11:33.775Z] + go version [2022-04-05T20:11:33.775Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T20:11:33.801Z] $ docker stop --time=1 e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce [2022-04-05T20:11:35.502Z] $ docker rm -f e785768aac7476b5e5395025f6d42bcb32b6c9fbf7213141be84e488962510ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:36.109Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:11:36.109Z] . [Pipeline] withDockerContainer [2022-04-05T20:11:36.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container [2022-04-05T20:11:36.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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 ******** ci-base-image-arm64 cat [2022-04-05T20:11:37.783Z] $ docker top 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:11:38.736Z] + make test [2022-04-05T20:11:38.736Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T20:11:40.179Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-05T20:12:36.819Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-05T20:12:39.480Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-04-05T20:12:39.480Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-05T20:12:40.079Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T20:12:40.079Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:13:06.949Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:13:06.949Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:13:07.229Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:13:09.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:13:09.910Z] $ docker stop --time=1 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace [2022-04-05T20:13:11.787Z] $ docker rm -f 17a50e2edd73ac4535670df30e5798ea7959723d208498f92890dc4c5d6b6ace [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:13:12.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:13:12.765Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T20:13:13.339Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:13:13.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:13:14.124Z] + ls -al . [2022-04-05T20:13:14.124Z] total 184 [2022-04-05T20:13:14.124Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:13 . [2022-04-05T20:13:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 .. [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:09 .dockerignore [2022-04-05T20:13:14.124Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 .git [2022-04-05T20:13:14.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 .github [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:09 .gitignore [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:09 .golangci.yml [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 5 20:09 Attribution.txt [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 5 20:09 CHANGELOG.md [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 5 20:09 Dockerfile [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:09 GOVERNANCE.md [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 5 20:09 Jenkinsfile [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:09 LICENSE [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 5 20:09 Makefile [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:09 OWNERS.md [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 5 20:09 README.md [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 5 20:07 VERSION [2022-04-05T20:13:14.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 bin [2022-04-05T20:13:14.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 cmd [2022-04-05T20:13:14.124Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 5 20:12 coverage.out [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 5 20:09 go.mod [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:09 go.sum [2022-04-05T20:13:14.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 internal [2022-04-05T20:13:14.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 mock [2022-04-05T20:13:14.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 snap [2022-04-05T20:13:14.124Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 5 20:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:13:14.483Z] + 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=6a0d17f3443cfc2038c22736989c6b24159166ee --label arch=arm64 --label version=2.2.0-dev.13 . [2022-04-05T20:13:15.147Z] Sending build context to Docker daemon 3.044MB [2022-04-05T20:13:15.147Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:13:15.147Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T20:13:15.147Z] ---> 1ca28031887c [2022-04-05T20:13:15.147Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:13:15.147Z] ---> Running in 522f78e59cc3 [2022-04-05T20:13:15.453Z] Removing intermediate container 522f78e59cc3 [2022-04-05T20:13:15.453Z] ---> 2428bb5420e1 [2022-04-05T20:13:15.453Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:13:15.752Z] ---> Running in a76e87fab9e6 [2022-04-05T20:13:16.069Z] Removing intermediate container a76e87fab9e6 [2022-04-05T20:13:16.069Z] ---> 59d6ac5219d3 [2022-04-05T20:13:16.069Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:13:16.363Z] ---> Running in 908fab83e3ff [2022-04-05T20:13:18.359Z] Removing intermediate container 908fab83e3ff [2022-04-05T20:13:18.359Z] ---> 1091832da183 [2022-04-05T20:13:18.359Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:13:18.359Z] ---> Running in 65aa3a949643 [2022-04-05T20:13:19.349Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:13:20.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:13:21.335Z] OK: 224 MiB in 56 packages [2022-04-05T20:13:22.322Z] Removing intermediate container 65aa3a949643 [2022-04-05T20:13:22.322Z] ---> e6b2749f3845 [2022-04-05T20:13:22.322Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-05T20:13:22.322Z] ---> Running in 86cca185ca1e [2022-04-05T20:13:22.595Z] Removing intermediate container 86cca185ca1e [2022-04-05T20:13:22.595Z] ---> a72f4208aff9 [2022-04-05T20:13:22.595Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-05T20:13:23.201Z] ---> 26338ecce2d0 [2022-04-05T20:13:23.201Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:13:23.201Z] ---> Running in fe58f4ccefdd [2022-04-05T20:13:25.840Z] Removing intermediate container fe58f4ccefdd [2022-04-05T20:13:25.840Z] ---> b209375e3ad1 [2022-04-05T20:13:25.840Z] Step 10/24 : COPY . . [2022-04-05T20:13:26.435Z] ---> 7101d7b2cc29 [2022-04-05T20:13:26.435Z] Step 11/24 : ARG MAKE='make build' [2022-04-05T20:13:26.435Z] ---> Running in a924ac3416a2 [2022-04-05T20:13:27.044Z] Removing intermediate container a924ac3416a2 [2022-04-05T20:13:27.044Z] ---> 9b32f826c32d [2022-04-05T20:13:27.044Z] Step 12/24 : RUN $MAKE [2022-04-05T20:13:27.044Z] ---> Running in 298ef5fdfa24 [2022-04-05T20:13:28.031Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.13" -o cmd/device-mqtt ./cmd [2022-04-05T20:14:24.638Z] Removing intermediate container 298ef5fdfa24 [2022-04-05T20:14:24.638Z] ---> f773169a2868 [2022-04-05T20:14:24.638Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T20:14:24.638Z] 3.14: Pulling from library/alpine [2022-04-05T20:14:24.638Z] 455c02918c45: Pulling fs layer [2022-04-05T20:14:24.638Z] 455c02918c45: Verifying Checksum [2022-04-05T20:14:24.638Z] 455c02918c45: Pull complete [2022-04-05T20:14:24.638Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:14:24.638Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:14:24.638Z] ---> ac73e934f311 [2022-04-05T20:14:24.638Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-05T20:14:24.638Z] ---> Running in 36fb14214b67 [2022-04-05T20:14:24.638Z] Removing intermediate container 36fb14214b67 [2022-04-05T20:14:24.638Z] ---> e7afd7d2fb91 [2022-04-05T20:14:24.638Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:14:24.638Z] ---> Running in 96834da741bb [2022-04-05T20:14:24.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:14:24.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:14:24.638Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:14:24.638Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:14:24.638Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:14:24.638Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:14:24.638Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:14:24.638Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:14:24.638Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:14:24.638Z] OK: 8 MiB in 20 packages [2022-04-05T20:14:24.638Z] Removing intermediate container 96834da741bb [2022-04-05T20:14:24.638Z] ---> 1112060245d6 [2022-04-05T20:14:24.638Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-05T20:14:24.638Z] ---> 0cebc7480675 [2022-04-05T20:14:24.638Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-05T20:14:24.638Z] ---> 6132e2f5bdd1 [2022-04-05T20:14:24.638Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-05T20:14:24.638Z] ---> 41ea410604c6 [2022-04-05T20:14:24.638Z] Step 19/24 : EXPOSE 59982 [2022-04-05T20:14:24.638Z] ---> Running in d867d911a0c3 [2022-04-05T20:14:24.638Z] Removing intermediate container d867d911a0c3 [2022-04-05T20:14:24.638Z] ---> bc1d0587fdc4 [2022-04-05T20:14:24.638Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-05T20:14:24.638Z] ---> Running in fbef60b85019 [2022-04-05T20:14:24.638Z] Removing intermediate container fbef60b85019 [2022-04-05T20:14:24.638Z] ---> 1ee39159f44d [2022-04-05T20:14:24.638Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:14:24.638Z] ---> Running in ccf6ae5a2953 [2022-04-05T20:14:24.638Z] Removing intermediate container ccf6ae5a2953 [2022-04-05T20:14:24.638Z] ---> 9d00a48b0dc5 [2022-04-05T20:14:24.638Z] Step 22/24 : LABEL arch=arm64 [2022-04-05T20:14:24.638Z] ---> Running in f4ca2560a9fa [2022-04-05T20:14:25.235Z] Removing intermediate container f4ca2560a9fa [2022-04-05T20:14:25.235Z] ---> 44c2e80a6a1e [2022-04-05T20:14:25.235Z] Step 23/24 : LABEL git_sha=6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:14:25.235Z] ---> Running in ab5418865cc7 [2022-04-05T20:14:25.505Z] Removing intermediate container ab5418865cc7 [2022-04-05T20:14:25.505Z] ---> af71fc8d658b [2022-04-05T20:14:25.505Z] Step 24/24 : LABEL version=2.2.0-dev.13 [2022-04-05T20:14:25.505Z] ---> Running in c02b48d78353 [2022-04-05T20:14:25.775Z] Removing intermediate container c02b48d78353 [2022-04-05T20:14:25.775Z] ---> bd3952c8a0a0 [2022-04-05T20:14:25.775Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:14:25.775Z] Successfully built bd3952c8a0a0 [2022-04-05T20:14:25.775Z] 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-05T20:14:25.894Z] provisioning config files... [2022-04-05T20:14:25.913Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/34@tmp/config5842537212552683493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:14:26.263Z] ---> docker-login.sh [2022-04-05T20:14:26.263Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:14:26.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:14:26.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:14:26.534Z] Configure a credential helper to remove this warning. See [2022-04-05T20:14:26.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:14:26.534Z] [2022-04-05T20:14:26.534Z] Login Succeeded [2022-04-05T20:14:26.534Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:14:27.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:14:27.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:14:27.128Z] Configure a credential helper to remove this warning. See [2022-04-05T20:14:27.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:14:27.128Z] [2022-04-05T20:14:27.128Z] Login Succeeded [2022-04-05T20:14:27.128Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:14:27.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:14:27.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:14:27.679Z] Configure a credential helper to remove this warning. See [2022-04-05T20:14:27.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:14:27.679Z] [2022-04-05T20:14:27.679Z] Login Succeeded [2022-04-05T20:14:27.679Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:14:27.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:14:28.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:14:28.224Z] Configure a credential helper to remove this warning. See [2022-04-05T20:14:28.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:14:28.224Z] [2022-04-05T20:14:28.224Z] Login Succeeded [2022-04-05T20:14:28.224Z] docker.io [2022-04-05T20:14:28.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:14:28.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:14:28.772Z] Configure a credential helper to remove this warning. See [2022-04-05T20:14:28.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:14:28.772Z] [2022-04-05T20:14:28.772Z] Login Succeeded [2022-04-05T20:14:28.772Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:14:28.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:14:28.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:14:28.847Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-04-05T20:14:28.847Z] 6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:14:28.847Z] latest [2022-04-05T20:14:28.847Z] 2.2.0-dev.13 [2022-04-05T20:14:28.847Z] 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:14:28.847Z] main [2022-04-05T20:14:28.847Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:29.199Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:29.561Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:14:29.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-05T20:14:29.561Z] 4a74e29bad97: Preparing [2022-04-05T20:14:29.561Z] 942e34f71ac7: Preparing [2022-04-05T20:14:29.561Z] 535c29c41afc: Preparing [2022-04-05T20:14:29.561Z] 46788182fd3a: Preparing [2022-04-05T20:14:29.561Z] f73e7dbfee58: Preparing [2022-04-05T20:14:29.845Z] 942e34f71ac7: Pushed [2022-04-05T20:14:29.845Z] 4a74e29bad97: Pushed [2022-04-05T20:14:30.444Z] 46788182fd3a: Pushed [2022-04-05T20:14:31.431Z] f73e7dbfee58: Pushed [2022-04-05T20:14:32.861Z] 535c29c41afc: Pushed [2022-04-05T20:14:33.137Z] 6a0d17f3443cfc2038c22736989c6b24159166ee: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:33.484Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:33.825Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-05T20:14:33.825Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-05T20:14:33.825Z] 4a74e29bad97: Preparing [2022-04-05T20:14:33.825Z] 942e34f71ac7: Preparing [2022-04-05T20:14:33.825Z] 535c29c41afc: Preparing [2022-04-05T20:14:33.825Z] 46788182fd3a: Preparing [2022-04-05T20:14:33.825Z] f73e7dbfee58: Preparing [2022-04-05T20:14:33.825Z] f73e7dbfee58: Layer already exists [2022-04-05T20:14:33.825Z] 4a74e29bad97: Layer already exists [2022-04-05T20:14:33.825Z] 942e34f71ac7: Layer already exists [2022-04-05T20:14:33.825Z] 46788182fd3a: Layer already exists [2022-04-05T20:14:33.825Z] 535c29c41afc: Layer already exists [2022-04-05T20:14:34.097Z] latest: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:34.441Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:34.782Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 [2022-04-05T20:14:34.782Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-05T20:14:34.782Z] 4a74e29bad97: Preparing [2022-04-05T20:14:34.782Z] 942e34f71ac7: Preparing [2022-04-05T20:14:34.782Z] 535c29c41afc: Preparing [2022-04-05T20:14:34.782Z] 46788182fd3a: Preparing [2022-04-05T20:14:34.782Z] f73e7dbfee58: Preparing [2022-04-05T20:14:34.782Z] f73e7dbfee58: Layer already exists [2022-04-05T20:14:34.782Z] 46788182fd3a: Layer already exists [2022-04-05T20:14:34.782Z] 4a74e29bad97: Layer already exists [2022-04-05T20:14:34.782Z] 535c29c41afc: Layer already exists [2022-04-05T20:14:34.782Z] 942e34f71ac7: Layer already exists [2022-04-05T20:14:35.052Z] 2.2.0-dev.13: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:35.397Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:35.734Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:14:35.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-05T20:14:35.734Z] 4a74e29bad97: Preparing [2022-04-05T20:14:35.734Z] 942e34f71ac7: Preparing [2022-04-05T20:14:35.734Z] 535c29c41afc: Preparing [2022-04-05T20:14:35.734Z] 46788182fd3a: Preparing [2022-04-05T20:14:35.734Z] f73e7dbfee58: Preparing [2022-04-05T20:14:35.734Z] 535c29c41afc: Layer already exists [2022-04-05T20:14:35.734Z] 4a74e29bad97: Layer already exists [2022-04-05T20:14:35.734Z] f73e7dbfee58: Layer already exists [2022-04-05T20:14:35.734Z] 942e34f71ac7: Layer already exists [2022-04-05T20:14:35.734Z] 46788182fd3a: Layer already exists [2022-04-05T20:14:36.005Z] 6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:36.349Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:36.689Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-04-05T20:14:36.690Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-05T20:14:36.690Z] 4a74e29bad97: Preparing [2022-04-05T20:14:36.690Z] 942e34f71ac7: Preparing [2022-04-05T20:14:36.690Z] 535c29c41afc: Preparing [2022-04-05T20:14:36.690Z] 46788182fd3a: Preparing [2022-04-05T20:14:36.690Z] f73e7dbfee58: Preparing [2022-04-05T20:14:36.690Z] f73e7dbfee58: Layer already exists [2022-04-05T20:14:36.690Z] 942e34f71ac7: Layer already exists [2022-04-05T20:14:36.690Z] 4a74e29bad97: Layer already exists [2022-04-05T20:14:36.690Z] 46788182fd3a: Layer already exists [2022-04-05T20:14:36.690Z] 535c29c41afc: Layer already exists [2022-04-05T20:14:36.961Z] main: digest: sha256:970a1bcd984199e0053ab796ac3c91cb4f8a8d29b3dce40600c4e65ae04569a8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:14:37.012Z] ===================================================== [Pipeline] echo [2022-04-05T20:14:37.024Z] taggedImages: [2022-04-05T20:14:37.024Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee [2022-04-05T20:14:37.024Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-05T20:14:37.024Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.13 [2022-04-05T20:14:37.024Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6a0d17f3443cfc2038c22736989c6b24159166ee-2.2.0-dev.13 [2022-04-05T20:14:37.024Z] - 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-05T20:14:37.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:14:37.392Z] [2022-04-05T20:14:37.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:37.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:14:38.022Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T20:14:38.022Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T20:14:38.022Z] 04944245beec: Pulling fs layer [2022-04-05T20:14:38.022Z] 699f458cf7ca: Pulling fs layer [2022-04-05T20:14:38.022Z] 765212b225bb: Pulling fs layer [2022-04-05T20:14:38.022Z] f23df028b6ca: Pulling fs layer [2022-04-05T20:14:38.022Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T20:14:38.022Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T20:14:38.022Z] 765212b225bb: Waiting [2022-04-05T20:14:38.022Z] f23df028b6ca: Waiting [2022-04-05T20:14:38.022Z] d65c8cfc05b1: Waiting [2022-04-05T20:14:38.022Z] 2437ff75d9bd: Waiting [2022-04-05T20:14:38.022Z] 04944245beec: Verifying Checksum [2022-04-05T20:14:38.022Z] 04944245beec: Download complete [2022-04-05T20:14:38.022Z] 765212b225bb: Download complete [2022-04-05T20:14:38.022Z] f23df028b6ca: Verifying Checksum [2022-04-05T20:14:38.022Z] f23df028b6ca: Download complete [2022-04-05T20:14:38.022Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T20:14:38.022Z] d65c8cfc05b1: Download complete [2022-04-05T20:14:38.297Z] 699f458cf7ca: Verifying Checksum [2022-04-05T20:14:38.297Z] 699f458cf7ca: Download complete [2022-04-05T20:14:38.573Z] 8998bd30e6a1: Verifying Checksum [2022-04-05T20:14:38.573Z] 8998bd30e6a1: Download complete [2022-04-05T20:14:41.204Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T20:14:41.204Z] 2437ff75d9bd: Download complete [2022-04-05T20:14:43.193Z] 8998bd30e6a1: Pull complete [2022-04-05T20:14:43.791Z] 04944245beec: Pull complete [2022-04-05T20:14:45.230Z] 699f458cf7ca: Pull complete [2022-04-05T20:14:45.507Z] 765212b225bb: Pull complete [2022-04-05T20:14:46.512Z] f23df028b6ca: Pull complete [2022-04-05T20:14:46.788Z] d65c8cfc05b1: Pull complete [2022-04-05T20:15:05.132Z] 2437ff75d9bd: Pull complete [2022-04-05T20:15:05.132Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T20:15:05.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:15:05.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T20:15:05.453Z] prd-ubuntu20.04-docker-arm64-4c-16g-10768 does not seem to be running inside a container [2022-04-05T20:15:05.584Z] $ 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/34 -v /w/workspace/device-mqtt-go/34:/w/workspace/device-mqtt-go/34:rw,z -v /w/workspace/device-mqtt-go/34@tmp:/w/workspace/device-mqtt-go/34@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:arm64 cat [2022-04-05T20:15:08.677Z] $ docker top b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:15:09.744Z] ---> job-cost.sh [2022-04-05T20:15:10.021Z] lf-activate-venv: SKIPPING [2022-04-05T20:15:10.021Z] INFO: No Stack... [2022-04-05T20:15:10.298Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T20:15:11.276Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:15:11.956Z] + + cat /w/workspace/device-mqtt-go/34/archives/cost.csv [2022-04-05T20:15:11.956Z] cut -d, -f6 [Pipeline] lock [2022-04-05T20:15:12.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [2022-04-05T20:15:12.041Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] did not exist. Created. [2022-04-05T20:15:12.041Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:15:12.715Z] /w/workspace/device-mqtt-go/34@tmp/durable-15893b28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T20:15:13.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T20:15:13.431Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T20:15:13.496Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:15:13.502Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:15:13.518Z] $ docker stop --time=1 b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 [2022-04-05T20:15:15.069Z] $ docker rm -f b995af1d03ef41beac262cd4d130bc8e728cc61e109649bc5eb5d6abfb5a6bd2 [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-05T20:15:15.564Z] provisioning config files... [2022-04-05T20:15:15.573Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1306890464083212501tmp [Pipeline] { [Pipeline] sh [2022-04-05T20:15:15.865Z] + set +x [2022-04-05T20:15:15.865Z] + curl -s https://codecov.io/bash [2022-04-05T20:15:15.865Z] + bash -s -- [2022-04-05T20:15:15.865Z] [2022-04-05T20:15:15.865Z] _____ _ [2022-04-05T20:15:15.865Z] / ____| | | [2022-04-05T20:15:15.865Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T20:15:15.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T20:15:15.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T20:15:15.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T20:15:15.865Z] Bash-1.0.6 [2022-04-05T20:15:15.865Z] [2022-04-05T20:15:15.866Z] [2022-04-05T20:15:15.866Z] ==> git version 2.25.1 found [2022-04-05T20:15:15.866Z] ==> 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-05T20:15:15.866Z] Release-Date: 2020-01-08 [2022-04-05T20:15:15.866Z] 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-05T20:15:15.866Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T20:15:15.866Z] ==> Jenkins CI detected. [2022-04-05T20:15:15.866Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:15:15.866Z] project root: . [2022-04-05T20:15:15.866Z] --> token set from env [2022-04-05T20:15:15.866Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T20:15:15.866Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T20:15:15.866Z] ==> Python coveragepy not found [2022-04-05T20:15:15.866Z] ==> Searching for coverage reports in: [2022-04-05T20:15:15.866Z] + . [2022-04-05T20:15:15.866Z] -> Found 1 reports [2022-04-05T20:15:15.866Z] ==> Detecting git/mercurial file structure [2022-04-05T20:15:15.866Z] ==> Reading reports [2022-04-05T20:15:16.126Z] + ./coverage.out bytes=17887 [2022-04-05T20:15:16.126Z] ==> Appending adjustments [2022-04-05T20:15:16.126Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T20:15:16.126Z] + Found adjustments [2022-04-05T20:15:16.126Z] ==> Gzipping contents [2022-04-05T20:15:16.126Z] 4.0K /tmp/codecov.gSqNu1.gz [2022-04-05T20:15:16.126Z] ==> Uploading reports [2022-04-05T20:15:16.126Z] url: https://codecov.io [2022-04-05T20:15:16.126Z] query: branch=main&commit=6a0d17f3443cfc2038c22736989c6b24159166ee&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:15:16.126Z] -> Pinging Codecov [2022-04-05T20:15:16.126Z] 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=6a0d17f3443cfc2038c22736989c6b24159166ee&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:15:16.386Z] -> Uploading to [2022-04-05T20:15:16.386Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/7D719EC7BBE17E464838252E33014C33/6a0d17f3443cfc2038c22736989c6b24159166ee/36c58b4b-6c0f-4d45-8b72-b987b478d7d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57196921bcb2be2cf23daa4253bd0952ef32ba285ffec39ce892d40b0e5fd2ed [2022-04-05T20:15:16.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:15:16.386Z] Dload Upload Total Spent Left Speed [2022-04-05T20:15:16.647Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3254 0 0 100 3254 0 15873 --:--:-- --:--:-- --:--:-- 15873 [2022-04-05T20:15:16.647Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] } [2022-04-05T20:15:16.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-05T20:15:16.924Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-05T20:15:16.957Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:17.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:15:17.252Z] [2022-04-05T20:15:17.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:17.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:15:17.553Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-05T20:15:17.553Z] 188c0c94c7c5: Pulling fs layer [2022-04-05T20:15:17.553Z] 0ef7d3d256c8: Pulling fs layer [2022-04-05T20:15:17.553Z] de9db76c5a1d: Pulling fs layer [2022-04-05T20:15:17.553Z] 0eba1c9be4d2: Pulling fs layer [2022-04-05T20:15:17.553Z] 0d57e429df01: Pulling fs layer [2022-04-05T20:15:17.553Z] 4e4be7b47b0d: Pulling fs layer [2022-04-05T20:15:17.553Z] e1f770b5df2f: Pulling fs layer [2022-04-05T20:15:17.553Z] 85a0685a4137: Pulling fs layer [2022-04-05T20:15:17.553Z] 0eba1c9be4d2: Waiting [2022-04-05T20:15:17.553Z] e1f770b5df2f: Waiting [2022-04-05T20:15:17.553Z] 85a0685a4137: Waiting [2022-04-05T20:15:17.553Z] 0d57e429df01: Waiting [2022-04-05T20:15:17.553Z] de9db76c5a1d: Verifying Checksum [2022-04-05T20:15:17.553Z] de9db76c5a1d: Download complete [2022-04-05T20:15:17.553Z] 0ef7d3d256c8: Verifying Checksum [2022-04-05T20:15:17.553Z] 0ef7d3d256c8: Download complete [2022-04-05T20:15:17.553Z] 0d57e429df01: Download complete [2022-04-05T20:15:17.553Z] 4e4be7b47b0d: Verifying Checksum [2022-04-05T20:15:17.553Z] 4e4be7b47b0d: Download complete [2022-04-05T20:15:17.553Z] 188c0c94c7c5: Verifying Checksum [2022-04-05T20:15:17.553Z] 188c0c94c7c5: Download complete [2022-04-05T20:15:17.813Z] 188c0c94c7c5: Pull complete [2022-04-05T20:15:17.813Z] e1f770b5df2f: Verifying Checksum [2022-04-05T20:15:17.813Z] e1f770b5df2f: Download complete [2022-04-05T20:15:17.813Z] 0ef7d3d256c8: Pull complete [2022-04-05T20:15:18.072Z] de9db76c5a1d: Pull complete [2022-04-05T20:15:18.331Z] 0eba1c9be4d2: Verifying Checksum [2022-04-05T20:15:18.331Z] 0eba1c9be4d2: Download complete [2022-04-05T20:15:18.331Z] 85a0685a4137: Verifying Checksum [2022-04-05T20:15:18.331Z] 85a0685a4137: Download complete [2022-04-05T20:15:21.622Z] 0eba1c9be4d2: Pull complete [2022-04-05T20:15:21.622Z] 0d57e429df01: Pull complete [2022-04-05T20:15:21.622Z] 4e4be7b47b0d: Pull complete [2022-04-05T20:15:21.881Z] e1f770b5df2f: Pull complete [2022-04-05T20:15:25.171Z] 85a0685a4137: Pull complete [2022-04-05T20:15:25.171Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-05T20:15:25.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:15:25.171Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-05T20:15:25.239Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:15:25.278Z] $ 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-05T20:15:27.015Z] $ docker top 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-05T20:15:27.099Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-05T20:15:27.380Z] + set -o pipefail [2022-04-05T20:15:27.380Z] + snyk monitor '--org=edgex-jenkins' [2022-04-05T20:15:49.343Z] [2022-04-05T20:15:49.343Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-04-05T20:15:49.343Z] [2022-04-05T20:15:49.343Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/97af4dde-73c0-4706-80bb-b01e63761bfb [2022-04-05T20:15:49.343Z] [2022-04-05T20:15:49.343Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-05T20:15:49.343Z] [2022-04-05T20:15:49.343Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-05T20:15:49.343Z] [2022-04-05T20:15:49.343Z] [Pipeline] } [2022-04-05T20:15:49.358Z] $ docker stop --time=1 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 [2022-04-05T20:15:51.029Z] $ docker rm -f 112a0274a71a62735a1b948b707fc0a0501315a14e576ff05bc3425fa527a2f7 [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-05T20:15:51.740Z] + git log --format=format:%s -1 6a0d17f3443cfc2038c22736989c6b24159166ee [Pipeline] sh [2022-04-05T20:15:52.034Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:15:52.034Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:52.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:15:52.331Z] . [Pipeline] withDockerContainer [2022-04-05T20:15:52.400Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:15:52.437Z] $ 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-05T20:15:52.789Z] $ docker top a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:15:52.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:15:52.893Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:15:53.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:15:53.020Z] $ docker exec a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e ssh-agent [2022-04-05T20:15:53.127Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbJJBPB/agent.14 [2022-04-05T20:15:53.127Z] SSH_AGENT_PID=20 [2022-04-05T20:15:53.132Z] Running ssh-add (command line suppressed) [2022-04-05T20:15:53.259Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8805560872718106520.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8805560872718106520.key) [2022-04-05T20:15:53.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:15:53.563Z] + git semver tag [2022-04-05T20:15:53.563Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:15:53.563Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-05T20:15:53.563Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:15:53.563Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:15:53.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:15:53.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:15:53.563Z] # $SEMVER_BRANCH = main [2022-04-05T20:15:53.563Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-05T20:15:53.563Z] # 6a0d17f3443cfc2038c22736989c6b24159166ee HEAD [2022-04-05T20:15:53.563Z] # -> Force: false [2022-04-05T20:15:53.563Z] # 77607f9e0a4062e5b6345b81917d92d61cd6c0f3 refs/tags/v2.2.0-dev.13 [Pipeline] } [2022-04-05T20:15:53.576Z] $ docker exec --env ******** --env ******** a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e ssh-agent -k [2022-04-05T20:15:53.676Z] unset SSH_AUTH_SOCK; [2022-04-05T20:15:53.677Z] unset SSH_AGENT_PID; [2022-04-05T20:15:53.677Z] echo Agent pid 20 killed; [2022-04-05T20:15:53.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:15:53.993Z] + git semver [Pipeline] } [2022-04-05T20:15:54.008Z] $ docker stop --time=1 a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e [2022-04-05T20:15:55.293Z] $ docker rm -f a2b20cab7158830705d2923e3124d8675ca54d8af689fedf680ce20be503b75e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:55.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:15:55.696Z] [2022-04-05T20:15:55.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:55.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:15:55.999Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-05T20:15:55.999Z] ab5ef0e58194: Pulling fs layer [2022-04-05T20:15:55.999Z] 9712f1f96733: Pulling fs layer [2022-04-05T20:15:55.999Z] 63f879dbbcfc: Pulling fs layer [2022-04-05T20:15:55.999Z] 0d9ebad4ef96: Pulling fs layer [2022-04-05T20:15:55.999Z] e9a5061849ea: Pulling fs layer [2022-04-05T20:15:55.999Z] d747dcd14b5f: Pulling fs layer [2022-04-05T20:15:55.999Z] 2de7ff778b66: Pulling fs layer [2022-04-05T20:15:55.999Z] e9a5061849ea: Waiting [2022-04-05T20:15:55.999Z] d747dcd14b5f: Waiting [2022-04-05T20:15:55.999Z] 2de7ff778b66: Waiting [2022-04-05T20:15:55.999Z] 0d9ebad4ef96: Waiting [2022-04-05T20:15:55.999Z] 9712f1f96733: Verifying Checksum [2022-04-05T20:15:55.999Z] 9712f1f96733: Download complete [2022-04-05T20:15:56.259Z] 63f879dbbcfc: Verifying Checksum [2022-04-05T20:15:56.259Z] 63f879dbbcfc: Download complete [2022-04-05T20:15:56.519Z] 0d9ebad4ef96: Verifying Checksum [2022-04-05T20:15:56.519Z] 0d9ebad4ef96: Download complete [2022-04-05T20:15:56.519Z] d747dcd14b5f: Download complete [2022-04-05T20:15:56.519Z] e9a5061849ea: Verifying Checksum [2022-04-05T20:15:56.519Z] e9a5061849ea: Download complete [2022-04-05T20:15:56.519Z] ab5ef0e58194: Verifying Checksum [2022-04-05T20:15:56.519Z] ab5ef0e58194: Download complete [2022-04-05T20:15:56.519Z] 2de7ff778b66: Verifying Checksum [2022-04-05T20:15:56.519Z] 2de7ff778b66: Download complete [2022-04-05T20:15:59.126Z] ab5ef0e58194: Pull complete [2022-04-05T20:15:59.126Z] 9712f1f96733: Pull complete [2022-04-05T20:15:59.697Z] 63f879dbbcfc: Pull complete [2022-04-05T20:16:03.899Z] 0d9ebad4ef96: Pull complete [2022-04-05T20:16:03.899Z] e9a5061849ea: Pull complete [2022-04-05T20:16:03.899Z] d747dcd14b5f: Pull complete [2022-04-05T20:16:04.469Z] 2de7ff778b66: Pull complete [2022-04-05T20:16:04.469Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-05T20:16:04.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:16:04.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-05T20:16:04.536Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:16:04.573Z] $ 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-05T20:16:06.543Z] $ docker top 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:16:06.623Z] provisioning config files... [2022-04-05T20:16:06.633Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config318573248707906979tmp [2022-04-05T20:16:06.645Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6564246926855057410tmp [2022-04-05T20:16:06.657Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9169812123556468011tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:16:06.672Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:06.954Z] ---> sigul-configuration.sh [2022-04-05T20:16:06.954Z] gpg: directory `/root/.gnupg' created [2022-04-05T20:16:06.954Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-05T20:16:06.954Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-05T20:16:06.954Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-05T20:16:06.954Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-05T20:16:06.954Z] gpg: CAST5 encrypted data [2022-04-05T20:16:06.954Z] gpg: encrypted with 1 passphrase [2022-04-05T20:16:06.954Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-05T20:16:07.244Z] + mkdir /home/jenkins [2022-04-05T20:16:07.244Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-05T20:16:07.532Z] + 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-05T20:16:07.542Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:07.827Z] ---> sigul-install.sh [2022-04-05T20:16:07.827Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-05T20:16:08.113Z] + git tag --list [2022-04-05T20:16:08.113Z] 0.7.1 [2022-04-05T20:16:08.113Z] v1.0.0 [2022-04-05T20:16:08.113Z] v1.1.0 [2022-04-05T20:16:08.113Z] v1.1.1 [2022-04-05T20:16:08.113Z] v1.2.2 [2022-04-05T20:16:08.113Z] v1.3.0 [2022-04-05T20:16:08.113Z] v1.3.1 [2022-04-05T20:16:08.113Z] v2.0.0 [2022-04-05T20:16:08.113Z] v2.0.1-dev.1 [2022-04-05T20:16:08.113Z] v2.0.1-dev.10 [2022-04-05T20:16:08.113Z] v2.0.1-dev.11 [2022-04-05T20:16:08.113Z] v2.0.1-dev.12 [2022-04-05T20:16:08.113Z] v2.0.1-dev.13 [2022-04-05T20:16:08.113Z] v2.0.1-dev.14 [2022-04-05T20:16:08.113Z] v2.0.1-dev.15 [2022-04-05T20:16:08.113Z] v2.0.1-dev.16 [2022-04-05T20:16:08.113Z] v2.0.1-dev.17 [2022-04-05T20:16:08.113Z] v2.0.1-dev.2 [2022-04-05T20:16:08.113Z] v2.0.1-dev.3 [2022-04-05T20:16:08.113Z] v2.0.1-dev.4 [2022-04-05T20:16:08.113Z] v2.0.1-dev.5 [2022-04-05T20:16:08.113Z] v2.0.1-dev.6 [2022-04-05T20:16:08.113Z] v2.0.1-dev.7 [2022-04-05T20:16:08.113Z] v2.0.1-dev.8 [2022-04-05T20:16:08.113Z] v2.0.1-dev.9 [2022-04-05T20:16:08.113Z] v2.1.0 [2022-04-05T20:16:08.113Z] v2.2.0-dev.1 [2022-04-05T20:16:08.113Z] v2.2.0-dev.10 [2022-04-05T20:16:08.113Z] v2.2.0-dev.11 [2022-04-05T20:16:08.113Z] v2.2.0-dev.12 [2022-04-05T20:16:08.113Z] v2.2.0-dev.13 [2022-04-05T20:16:08.113Z] v2.2.0-dev.2 [2022-04-05T20:16:08.113Z] v2.2.0-dev.3 [2022-04-05T20:16:08.113Z] v2.2.0-dev.4 [2022-04-05T20:16:08.113Z] v2.2.0-dev.5 [2022-04-05T20:16:08.113Z] v2.2.0-dev.6 [2022-04-05T20:16:08.113Z] v2.2.0-dev.7 [2022-04-05T20:16:08.113Z] v2.2.0-dev.8 [2022-04-05T20:16:08.113Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-05T20:16:08.402Z] + lftools sign git-tag v2.2.0-dev.13 [2022-04-05T20:16:08.975Z] Signing Git tag with Sigul... [2022-04-05T20:16:08.975Z] Signing v2.2.0-dev.13 [Pipeline] echo [2022-04-05T20:16:09.245Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:09.532Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-05T20:16:09.541Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-05T20:16:09.565Z] $ docker stop --time=1 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 [2022-04-05T20:16:10.851Z] $ docker rm -f 04ee3faf40b39b354a2416f42c02b37e9cc71f899cba582f10e0e3c6c95f8977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-05T20:16:11.282Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:16:11.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:11.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:16:11.581Z] . [Pipeline] withDockerContainer [2022-04-05T20:16:11.654Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:16:11.692Z] $ 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-05T20:16:12.044Z] $ docker top cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:16:12.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:16:12.147Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:16:12.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:16:12.278Z] $ docker exec cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f ssh-agent [2022-04-05T20:16:12.388Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPKPBeC/agent.14 [2022-04-05T20:16:12.388Z] SSH_AGENT_PID=20 [2022-04-05T20:16:12.393Z] Running ssh-add (command line suppressed) [2022-04-05T20:16:12.509Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8298886174919042934.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8298886174919042934.key) [2022-04-05T20:16:12.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:16:12.813Z] + git semver bump pre [2022-04-05T20:16:12.813Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:16:12.813Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-05T20:16:12.813Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:16:12.813Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:16:12.813Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:16:12.813Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:16:12.813Z] # $SEMVER_BRANCH = main [2022-04-05T20:16:12.813Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-05T20:16:12.813Z] 2.2.0-dev.14 [Pipeline] } [2022-04-05T20:16:12.828Z] $ docker exec --env ******** --env ******** cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f ssh-agent -k [2022-04-05T20:16:12.930Z] unset SSH_AUTH_SOCK; [2022-04-05T20:16:12.931Z] unset SSH_AGENT_PID; [2022-04-05T20:16:12.931Z] echo Agent pid 20 killed; [2022-04-05T20:16:12.939Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:16:13.243Z] + git semver [Pipeline] } [2022-04-05T20:16:13.263Z] $ docker stop --time=1 cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f [2022-04-05T20:16:14.548Z] $ docker rm -f cf2ac461c3a74789a3bdff21f40b2aa2affa3e0682f46fde44b309fec320068f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:16:14.902Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:16:14.902Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:15.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:16:15.198Z] . [Pipeline] withDockerContainer [2022-04-05T20:16:15.264Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:16:15.298Z] $ 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-05T20:16:15.653Z] $ docker top 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:16:15.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:16:15.745Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:16:15.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:16:15.881Z] $ docker exec 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 ssh-agent [2022-04-05T20:16:15.991Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAFBlfn/agent.13 [2022-04-05T20:16:15.991Z] SSH_AGENT_PID=19 [2022-04-05T20:16:15.996Z] Running ssh-add (command line suppressed) [2022-04-05T20:16:16.108Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7790560532653775212.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7790560532653775212.key) [2022-04-05T20:16:16.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:16:16.404Z] + git semver push [2022-04-05T20:16:16.404Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:16:16.404Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-05T20:16:16.404Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:16:16.404Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:16:16.404Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:16:16.404Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:16:16.404Z] # $SEMVER_BRANCH = main [2022-04-05T20:16:16.404Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-05T20:16:18.327Z] $ docker exec --env ******** --env ******** 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 ssh-agent -k [2022-04-05T20:16:18.442Z] unset SSH_AUTH_SOCK; [2022-04-05T20:16:18.443Z] unset SSH_AGENT_PID; [2022-04-05T20:16:18.443Z] echo Agent pid 19 killed; [2022-04-05T20:16:18.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:16:18.754Z] + git semver [Pipeline] } [2022-04-05T20:16:18.771Z] $ docker stop --time=1 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 [2022-04-05T20:16:20.047Z] $ docker rm -f 5070629789bac0d04af9e3015be3dfefffe4c54c7e05627247159fb8176df893 [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-05T20:16:20.677Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-04-05T20:16:20.677Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-05T20:16:20.677Z] total 16 [2022-04-05T20:16:20.677Z] drwxr-xr-x 3 root root 4096 Apr 5 20:08 . [2022-04-05T20:16:20.677Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:16 .. [2022-04-05T20:16:20.677Z] drwxr-xr-x 2 root root 4096 Apr 5 20:08 cost [2022-04-05T20:16:20.677Z] -rw-r--r-- 1 root root 84 Apr 5 20:08 cost.csv [2022-04-05T20:16:20.677Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-05T20:16:20.677Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-05T20:16:20.677Z] total 16 [2022-04-05T20:16:20.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:08 . [2022-04-05T20:16:20.677Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:16 .. [2022-04-05T20:16:20.677Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:08 cost [2022-04-05T20:16:20.677Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:20.971Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:21.865Z] ---> package-listing.sh [2022-04-05T20:16:21.865Z] ++ facter osfamily [2022-04-05T20:16:21.865Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T20:16:21.865Z] + OS_FAMILY=debian [2022-04-05T20:16:21.865Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-05T20:16:21.865Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T20:16:21.865Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T20:16:21.865Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T20:16:21.865Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T20:16:21.865Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-05T20:16:21.865Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T20:16:21.865Z] + case "${OS_FAMILY}" in [2022-04-05T20:16:21.865Z] + dpkg -l [2022-04-05T20:16:21.865Z] + grep '^ii' [2022-04-05T20:16:22.124Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T20:16:22.124Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T20:16:22.124Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T20:16:22.124Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-05T20:16:22.124Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-04-05T20:16:22.124Z] + 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-05T20:16:22.136Z] 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-05T20:16:22.413Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:22.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:16:22.968Z] . [Pipeline] withDockerContainer [2022-04-05T20:16:23.034Z] prd-ubuntu20.04-docker-8c-8g-10766 does not seem to be running inside a container [2022-04-05T20:16:23.070Z] $ 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-05T20:16:23.310Z] $ docker top 1866413dab40ca23743bb4f1455af58012034fc4d3fc8eb94bd79913dbf52ed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:16:23.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T20:16:23.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T20:16:24.237Z] + ls /var/log/sa-host [2022-04-05T20:16:24.237Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:16:24.446Z] provisioning config files... [2022-04-05T20:16:24.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3784149694568052466tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:16:24.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:24.751Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T20:16:24.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:25.099Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T20:16:25.110Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:25.396Z] ---> sudo-logs.sh [2022-04-05T20:16:25.396Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T20:16:25.422Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:25.710Z] ---> job-cost.sh [2022-04-05T20:16:25.710Z] lf-activate-venv: SKIPPING [2022-04-05T20:16:25.710Z] DEBUG: total: 0.2199999988079071 [2022-04-05T20:16:25.710Z] INFO: Retrieving Stack Cost... [2022-04-05T20:16:26.279Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:16:26.540Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T20:16:26.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:26.838Z] ---> logs-deploy.sh [2022-04-05T20:16:26.838Z] lf-activate-venv: SKIPPING [2022-04-05T20:16:26.838Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/34 [2022-04-05T20:16:26.838Z] INFO: archiving workspace using pattern(s): [2022-04-05T20:16:27.778Z] Archives upload complete. [2022-04-05T20:16:27.778Z] INFO: archiving logs to Nexus