Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh10039434510167402570.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-ssh5815513961959276643.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-ssh5738711167317365922.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-ssh16818650039676934530.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-ssh16343809479804239621.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 ‘prd-ubuntu20.04-docker-8c-8g-11756’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-11754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11759 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab (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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 Commit message: "Merge pull request #358 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T05:05:29.342Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T05:05:29.411Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T05:05:29.425Z] ========================================================= [2022-04-10T05:05:29.425Z] EdgeX Global Pipelines Version Info [2022-04-10T05:05:29.425Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:30.179Z] ------------------- [2022-04-10T05:05:30.179Z] stable info: [2022-04-10T05:05:30.179Z] ------------------- [2022-04-10T05:05:30.179Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T05:05:30.179Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:05:30.179Z] Message: update stable to v1.0.221 [2022-04-10T05:05:30.770Z] ------------------- [2022-04-10T05:05:30.770Z] experimental info: [2022-04-10T05:05:30.770Z] ------------------- [2022-04-10T05:05:30.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T05:05:30.770Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:05:30.770Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T05:05:30.919Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-10T05:05:30.932Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-10T05:05:30.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T05:05:30.959Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T05:05:30.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T05:05:30.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T05:05:30.990Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T05:05:31.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T05:05:31.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T05:05:31.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T05:05:31.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T05:05:31.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-10T05:05:31.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T05:05:31.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T05:05:31.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:05:31.107Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:05:31.119Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:05:31.132Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:05:31.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T05:05:31.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T05:05:31.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T05:05:31.186Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T05:05:31.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T05:05:31.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T05:05:31.221Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T05:05:31.232Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T05:05:31.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T05:05:31.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T05:05:31.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T05:05:31.295Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] echo [2022-04-10T05:05:31.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d191eb [Pipeline] echo [2022-04-10T05:05:31.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:05:31.371Z] provisioning config files... [2022-04-10T05:05:31.383Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8055681760545882234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:31.786Z] ---> docker-login.sh [2022-04-10T05:05:31.786Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:32.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:32.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:32.312Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:32.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:32.312Z] [2022-04-10T05:05:32.312Z] Login Succeeded [2022-04-10T05:05:32.312Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:32.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:32.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:32.312Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:32.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:32.312Z] [2022-04-10T05:05:32.312Z] Login Succeeded [2022-04-10T05:05:32.312Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:32.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:32.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:32.575Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:32.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:32.575Z] [2022-04-10T05:05:32.575Z] Login Succeeded [2022-04-10T05:05:32.575Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:32.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:32.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:32.575Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:32.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:32.575Z] [2022-04-10T05:05:32.575Z] Login Succeeded [2022-04-10T05:05:32.575Z] docker.io [2022-04-10T05:05:32.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:33.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:33.100Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:33.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:33.100Z] [2022-04-10T05:05:33.100Z] Login Succeeded [2022-04-10T05:05:33.100Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:33.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T05:05:33.503Z] + git rev-list -1 --merges 4d191eb3dac98c01714bec6e3dd8edd5055992ab~1..4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] echo [2022-04-10T05:05:33.533Z] -----------> git rev-list -1 --merges 4d191eb3dac98c01714bec6e3dd8edd5055992ab~1..4d191eb3dac98c01714bec6e3dd8edd5055992ab 4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:05:33.533Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab [false] [Pipeline] sh [2022-04-10T05:05:33.830Z] + git log --format=format:%s -1 4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] echo [2022-04-10T05:05:33.845Z] ========================================================= [2022-04-10T05:05:33.845Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T05:05:33.845Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:05:34.183Z] + git log --format=format:%s -1 4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] echo [2022-04-10T05:05:34.199Z] [semverPrep] GIT_COMMIT: 4d191eb3dac98c01714bec6e3dd8edd5055992ab, Commit Message: Merge pull request #358 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T05:05:34.210Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T05:05:34.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:05:34.589Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T05:05:34.589Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T05:05:34.589Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T05:05:34.589Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T05:05:34.589Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T05:05:34.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:34.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:34.941Z] [2022-04-10T05:05:34.941Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:35.243Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:35.243Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T05:05:35.243Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T05:05:35.243Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T05:05:35.243Z] 4c7163046ea9: Pulling fs layer [2022-04-10T05:05:35.243Z] 0c2d73faf560: Pulling fs layer [2022-04-10T05:05:35.243Z] 0c2d73faf560: Waiting [2022-04-10T05:05:35.243Z] 3e5f54012d9b: Download complete [2022-04-10T05:05:35.243Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T05:05:35.243Z] a0d0a0d46f8b: Download complete [2022-04-10T05:05:35.243Z] 0c2d73faf560: Verifying Checksum [2022-04-10T05:05:35.243Z] 0c2d73faf560: Download complete [2022-04-10T05:05:35.505Z] 4c7163046ea9: Verifying Checksum [2022-04-10T05:05:35.505Z] 4c7163046ea9: Download complete [2022-04-10T05:05:35.505Z] a0d0a0d46f8b: Pull complete [2022-04-10T05:05:35.505Z] 3e5f54012d9b: Pull complete [2022-04-10T05:05:36.102Z] 4c7163046ea9: Pull complete [2022-04-10T05:05:36.102Z] 0c2d73faf560: Pull complete [2022-04-10T05:05:36.102Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T05:05:36.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:05:36.102Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T05:05:36.195Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:05:36.243Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:05:37.027Z] $ docker top bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:05:37.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:05:37.133Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:05:37.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:05:37.298Z] $ docker exec bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 ssh-agent [2022-04-10T05:05:37.420Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoLkgAn/agent.13 [2022-04-10T05:05:37.420Z] SSH_AGENT_PID=19 [2022-04-10T05:05:37.429Z] Running ssh-add (command line suppressed) [2022-04-10T05:05:37.546Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5154135796557244917.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5154135796557244917.key) [2022-04-10T05:05:37.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:05:37.854Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T05:05:37.879Z] $ docker exec --env ******** --env ******** bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 ssh-agent -k [2022-04-10T05:05:38.003Z] unset SSH_AUTH_SOCK; [2022-04-10T05:05:38.003Z] unset SSH_AGENT_PID; [2022-04-10T05:05:38.003Z] echo Agent pid 19 killed; [2022-04-10T05:05:38.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T05:05:38.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:05:38.038Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:05:38.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:05:38.171Z] $ docker exec bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 ssh-agent [2022-04-10T05:05:38.297Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBnbdH/agent.53 [2022-04-10T05:05:38.297Z] SSH_AGENT_PID=59 [2022-04-10T05:05:38.303Z] Running ssh-add (command line suppressed) [2022-04-10T05:05:38.421Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8115275782163989160.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8115275782163989160.key) [2022-04-10T05:05:38.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:05:38.725Z] + git semver init [2022-04-10T05:05:38.725Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:05:38.725Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-10T05:05:38.725Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:05:38.725Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:05:38.725Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:05:38.725Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:05:38.726Z] # $SEMVER_BRANCH = main [2022-04-10T05:05:38.726Z] # $SEMVER_TEMP = /tmp/semver-245992879 [2022-04-10T05:05:38.726Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-10T05:05:39.670Z] # '/tmp/semver-245992879' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-04-10T05:05:39.670Z] # -> Force: false [2022-04-10T05:05:39.670Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-10T05:05:39.686Z] $ docker exec --env ******** --env ******** bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 ssh-agent -k [2022-04-10T05:05:39.813Z] unset SSH_AUTH_SOCK; [2022-04-10T05:05:39.813Z] unset SSH_AGENT_PID; [2022-04-10T05:05:39.814Z] echo Agent pid 59 killed; [2022-04-10T05:05:39.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:05:40.137Z] + git semver [Pipeline] } [2022-04-10T05:05:40.155Z] $ docker stop --time=1 bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 [2022-04-10T05:05:41.534Z] $ docker rm -f bf3ac67c10a63f0abb608a1232860055709c2d2504644a0c5d8d006f25308bd4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:05:41.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T05:05:42.176Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T05:05:42.180Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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-10T05:05:42.305Z] provisioning config files... [2022-04-10T05:05:42.317Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2441681203453017585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:42.621Z] ---> docker-login.sh [2022-04-10T05:05:42.622Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:42.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:42.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:42.622Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:42.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:42.622Z] [2022-04-10T05:05:42.622Z] Login Succeeded [2022-04-10T05:05:42.622Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:42.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:42.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:42.883Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:42.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:42.883Z] [2022-04-10T05:05:42.883Z] Login Succeeded [2022-04-10T05:05:42.883Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:42.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:42.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:42.883Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:42.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:42.883Z] [2022-04-10T05:05:42.883Z] Login Succeeded [2022-04-10T05:05:42.883Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:43.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:43.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:43.144Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:43.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:43.144Z] [2022-04-10T05:05:43.144Z] Login Succeeded [2022-04-10T05:05:43.144Z] docker.io [2022-04-10T05:05:43.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:43.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:43.405Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:43.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:43.405Z] [2022-04-10T05:05:43.405Z] Login Succeeded [2022-04-10T05:05:43.405Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:43.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:05:43.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:05:43.492Z] ========================================================= [2022-04-10T05:05:43.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T05:05:43.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:43.803Z] + 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-10T05:05:43.803Z] Sending build context to Docker daemon 5.805MB [2022-04-10T05:05:43.803Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:05:43.803Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:05:43.803Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T05:05:43.803Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T05:05:43.803Z] 666ba61612fd: Pulling fs layer [2022-04-10T05:05:43.803Z] 8ed8ca486205: Pulling fs layer [2022-04-10T05:05:43.803Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T05:05:43.803Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T05:05:43.803Z] 640e595b4fbd: Pulling fs layer [2022-04-10T05:05:43.803Z] 763cafe07f6e: Pulling fs layer [2022-04-10T05:05:43.803Z] 0c0b528cf693: Pulling fs layer [2022-04-10T05:05:43.803Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T05:05:43.803Z] 640e595b4fbd: Waiting [2022-04-10T05:05:43.803Z] 763cafe07f6e: Waiting [2022-04-10T05:05:43.803Z] 0c0b528cf693: Waiting [2022-04-10T05:05:43.803Z] 10935f4eaf8b: Waiting [2022-04-10T05:05:43.803Z] 22a0e8bec74d: Waiting [2022-04-10T05:05:43.803Z] 4fe6c5a15a65: Waiting [2022-04-10T05:05:43.803Z] 8ed8ca486205: Verifying Checksum [2022-04-10T05:05:43.803Z] 8ed8ca486205: Download complete [2022-04-10T05:05:43.803Z] 666ba61612fd: Download complete [2022-04-10T05:05:43.803Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T05:05:43.803Z] 22a0e8bec74d: Download complete [2022-04-10T05:05:43.803Z] 640e595b4fbd: Verifying Checksum [2022-04-10T05:05:43.803Z] 640e595b4fbd: Download complete [2022-04-10T05:05:44.064Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T05:05:44.064Z] 59bf1c3509f3: Download complete [2022-04-10T05:05:44.064Z] 763cafe07f6e: Verifying Checksum [2022-04-10T05:05:44.064Z] 763cafe07f6e: Download complete [2022-04-10T05:05:44.064Z] 0c0b528cf693: Verifying Checksum [2022-04-10T05:05:44.064Z] 0c0b528cf693: Download complete [2022-04-10T05:05:44.064Z] 59bf1c3509f3: Pull complete [2022-04-10T05:05:44.338Z] 666ba61612fd: Pull complete [2022-04-10T05:05:44.338Z] 8ed8ca486205: Pull complete [2022-04-10T05:05:44.599Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T05:05:44.599Z] 10935f4eaf8b: Download complete [2022-04-10T05:05:44.599Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T05:05:44.599Z] 4fe6c5a15a65: Download complete [2022-04-10T05:05:48.800Z] 4fe6c5a15a65: Pull complete [2022-04-10T05:05:48.800Z] 22a0e8bec74d: Pull complete [2022-04-10T05:05:49.060Z] 640e595b4fbd: Pull complete [2022-04-10T05:05:49.060Z] 763cafe07f6e: Pull complete [2022-04-10T05:05:49.060Z] 0c0b528cf693: Pull complete [2022-04-10T05:05:51.599Z] 10935f4eaf8b: Pull complete [2022-04-10T05:05:51.599Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T05:05:51.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T05:05:51.599Z] ---> 99d49a6021b9 [2022-04-10T05:05:51.599Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:05:52.983Z] ---> Running in 9e374d4f86f5 [2022-04-10T05:05:52.983Z] Removing intermediate container 9e374d4f86f5 [2022-04-10T05:05:52.983Z] ---> 95207956e6bc [2022-04-10T05:05:52.983Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:05:52.983Z] ---> Running in c7b226aeb170 [2022-04-10T05:05:53.244Z] Removing intermediate container c7b226aeb170 [2022-04-10T05:05:53.244Z] ---> 7055c32b88d6 [2022-04-10T05:05:53.244Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:05:53.244Z] ---> Running in 240faccfb082 [2022-04-10T05:05:53.815Z] Removing intermediate container 240faccfb082 [2022-04-10T05:05:53.815Z] ---> 269b65ef56f5 [2022-04-10T05:05:53.815Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:05:53.815Z] ---> Running in d6dcba643f03 [2022-04-10T05:05:54.075Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:55.019Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:55.281Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:05:55.281Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:05:55.542Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:05:55.542Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:05:55.824Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:05:55.824Z] OK: 224 MiB in 56 packages [2022-04-10T05:05:56.086Z] Removing intermediate container d6dcba643f03 [2022-04-10T05:05:56.086Z] ---> 416c5200e788 [2022-04-10T05:05:56.086Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-10T05:05:56.086Z] ---> Running in d42cb33116f7 [2022-04-10T05:05:56.348Z] Removing intermediate container d42cb33116f7 [2022-04-10T05:05:56.348Z] ---> dc6a01af87b7 [2022-04-10T05:05:56.348Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-10T05:05:56.348Z] ---> 0dd067fe7d9c [2022-04-10T05:05:56.348Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:05:56.348Z] ---> Running in 91bea845abe5 [2022-04-10T05:05:57.273Z] Still waiting to schedule task [2022-04-10T05:05:57.273Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-10T05:06:11.261Z] Removing intermediate container 91bea845abe5 [2022-04-10T05:06:11.261Z] ---> 630cffe86222 [2022-04-10T05:06:11.261Z] Step 10/12 : COPY . . [2022-04-10T05:06:11.261Z] ---> e05c2830a776 [2022-04-10T05:06:11.261Z] Step 11/12 : ARG MAKE='make build' [2022-04-10T05:06:11.261Z] ---> Running in 632f56f74f5c [2022-04-10T05:06:11.261Z] Removing intermediate container 632f56f74f5c [2022-04-10T05:06:11.261Z] ---> a05cf67f9454 [2022-04-10T05:06:11.261Z] Step 12/12 : RUN $MAKE [2022-04-10T05:06:11.261Z] ---> Running in ace584f93840 [2022-04-10T05:06:11.261Z] noop [2022-04-10T05:06:11.261Z] Removing intermediate container ace584f93840 [2022-04-10T05:06:11.261Z] ---> ed5dac5dfb95 [2022-04-10T05:06:11.261Z] Successfully built ed5dac5dfb95 [2022-04-10T05:06:11.261Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:11.560Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:06:11.560Z] . [Pipeline] withDockerContainer [2022-04-10T05:06:11.625Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:06:11.660Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-10T05:06:12.030Z] $ docker top 345a47c6820232098551c7c4b8d8979cdd058a063044855ebda33541d7281f7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:06:12.383Z] + go version [2022-04-10T05:06:12.383Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T05:06:12.395Z] $ docker stop --time=1 345a47c6820232098551c7c4b8d8979cdd058a063044855ebda33541d7281f7d [2022-04-10T05:06:13.661Z] $ docker rm -f 345a47c6820232098551c7c4b8d8979cdd058a063044855ebda33541d7281f7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:14.158Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:06:14.158Z] . [Pipeline] withDockerContainer [2022-04-10T05:06:14.228Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:06:14.263Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-10T05:06:14.642Z] $ docker top d00de4c443f303408f4f8e16a934d86d04e34e3ea7d1fe55b6a5ca542811245b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:06:15.011Z] + make test [2022-04-10T05:06:15.011Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T05:06:15.272Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-10T05:06:23.394Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-10T05:06:23.654Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-04-10T05:06:23.654Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-10T05:06:30.224Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:06:33.514Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:06:33.514Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:06:33.514Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:06:33.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:06:33.804Z] $ docker stop --time=1 d00de4c443f303408f4f8e16a934d86d04e34e3ea7d1fe55b6a5ca542811245b [2022-04-10T05:06:35.423Z] $ docker rm -f d00de4c443f303408f4f8e16a934d86d04e34e3ea7d1fe55b6a5ca542811245b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:06:35.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:06:35.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T05:06:36.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:06:36.748Z] + ls -al . [2022-04-10T05:06:36.748Z] total 176 [2022-04-10T05:06:36.748Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:06 . [2022-04-10T05:06:36.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 .. [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:05 .dockerignore [2022-04-10T05:06:36.748Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:05 .git [2022-04-10T05:06:36.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 .github [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 10 05:05 .gitignore [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:05 .golangci.yml [2022-04-10T05:06:36.748Z] drwx------ 3 jenkins jenkins 4096 Apr 10 05:05 .semver [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 10 05:05 Attribution.txt [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 10 05:05 CHANGELOG.md [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 10 05:05 Dockerfile [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:05 GOVERNANCE.md [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 10 05:05 Jenkinsfile [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:05 LICENSE [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 10 05:05 Makefile [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:05 OWNERS.md [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 10 05:05 README.md [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION [2022-04-10T05:06:36.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 bin [2022-04-10T05:06:36.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 cmd [2022-04-10T05:06:36.748Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 10 05:06 coverage.out [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 10 05:05 go.mod [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 10 05:05 go.sum [2022-04-10T05:06:36.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 internal [2022-04-10T05:06:36.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 mock [2022-04-10T05:06:36.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 snap [2022-04-10T05:06:36.748Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 10 05:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:37.050Z] + 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=4d191eb3dac98c01714bec6e3dd8edd5055992ab --label arch=amd64 --label version=2.2.0-dev.15 . [2022-04-10T05:06:37.050Z] Sending build context to Docker daemon 5.823MB [2022-04-10T05:06:37.050Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:06:37.050Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T05:06:37.050Z] ---> ed5dac5dfb95 [2022-04-10T05:06:37.050Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:06:37.050Z] ---> Running in 7fa96261747c [2022-04-10T05:06:37.310Z] Removing intermediate container 7fa96261747c [2022-04-10T05:06:37.310Z] ---> 9667a68b10b7 [2022-04-10T05:06:37.310Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:06:37.310Z] ---> Running in 81aecba80ce6 [2022-04-10T05:06:37.310Z] Removing intermediate container 81aecba80ce6 [2022-04-10T05:06:37.310Z] ---> 8cbc51729e89 [2022-04-10T05:06:37.310Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:06:37.310Z] ---> Running in 992cd693333a [2022-04-10T05:06:37.879Z] Removing intermediate container 992cd693333a [2022-04-10T05:06:37.879Z] ---> e9ca87c35949 [2022-04-10T05:06:37.879Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:06:37.879Z] ---> Running in 48f7c073e101 [2022-04-10T05:06:38.139Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:39.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:39.343Z] OK: 224 MiB in 56 packages [2022-04-10T05:06:39.601Z] Removing intermediate container 48f7c073e101 [2022-04-10T05:06:39.601Z] ---> 5a6c6a442fa1 [2022-04-10T05:06:39.601Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-10T05:06:39.601Z] ---> Running in e43826def471 [2022-04-10T05:06:39.601Z] Removing intermediate container e43826def471 [2022-04-10T05:06:39.601Z] ---> 258ca8e8d76f [2022-04-10T05:06:39.601Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-10T05:06:39.862Z] ---> dd47a52faa3e [2022-04-10T05:06:39.862Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:06:39.862Z] ---> Running in f721653de1cd [2022-04-10T05:06:40.433Z] Removing intermediate container f721653de1cd [2022-04-10T05:06:40.433Z] ---> 220f9042b3bb [2022-04-10T05:06:40.433Z] Step 10/24 : COPY . . [2022-04-10T05:06:40.692Z] ---> 8c333de0b170 [2022-04-10T05:06:40.692Z] Step 11/24 : ARG MAKE='make build' [2022-04-10T05:06:40.692Z] ---> Running in c1b8d902b0ad [2022-04-10T05:06:40.692Z] Removing intermediate container c1b8d902b0ad [2022-04-10T05:06:40.692Z] ---> f1ceae433431 [2022-04-10T05:06:40.692Z] Step 12/24 : RUN $MAKE [2022-04-10T05:06:40.954Z] ---> Running in a326c64d391e [2022-04-10T05:06:41.216Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-10T05:06:59.324Z] Removing intermediate container a326c64d391e [2022-04-10T05:06:59.324Z] ---> 0c9dedcfbb1c [2022-04-10T05:06:59.324Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T05:06:59.324Z] 3.14: Pulling from library/alpine [2022-04-10T05:06:59.585Z] 8663204ce13b: Pulling fs layer [2022-04-10T05:06:59.585Z] 8663204ce13b: Download complete [2022-04-10T05:06:59.847Z] 8663204ce13b: Pull complete [2022-04-10T05:06:59.847Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:06:59.847Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:06:59.847Z] ---> e04c818066af [2022-04-10T05:06:59.847Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-10T05:06:59.847Z] ---> Running in 063fafed1387 [2022-04-10T05:06:59.847Z] Removing intermediate container 063fafed1387 [2022-04-10T05:06:59.847Z] ---> 33b61b50bbb2 [2022-04-10T05:06:59.847Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:07:00.109Z] ---> Running in ead30847951a [2022-04-10T05:07:00.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:00.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:00.631Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:07:00.631Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:07:00.631Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:07:00.631Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:07:00.631Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:07:00.631Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:07:00.631Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:07:00.631Z] OK: 8 MiB in 20 packages [2022-04-10T05:07:00.891Z] Removing intermediate container ead30847951a [2022-04-10T05:07:00.891Z] ---> 06de9ac7162b [2022-04-10T05:07:00.891Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-10T05:07:01.463Z] ---> 578ea8bb7383 [2022-04-10T05:07:01.463Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-10T05:07:01.725Z] ---> 26e754147fac [2022-04-10T05:07:01.725Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-10T05:07:01.725Z] ---> e2d19579efb6 [2022-04-10T05:07:01.725Z] Step 19/24 : EXPOSE 59982 [2022-04-10T05:07:01.725Z] ---> Running in 71ccc04f91c2 [2022-04-10T05:07:01.986Z] Removing intermediate container 71ccc04f91c2 [2022-04-10T05:07:01.986Z] ---> 54d33543fac8 [2022-04-10T05:07:01.986Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-10T05:07:01.986Z] ---> Running in 367b8f4c90f1 [2022-04-10T05:07:01.986Z] Removing intermediate container 367b8f4c90f1 [2022-04-10T05:07:01.986Z] ---> 25fb9fb64a83 [2022-04-10T05:07:01.986Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:07:01.986Z] ---> Running in d7015e77e47e [2022-04-10T05:07:02.249Z] Removing intermediate container d7015e77e47e [2022-04-10T05:07:02.249Z] ---> f75c363ad67b [2022-04-10T05:07:02.249Z] Step 22/24 : LABEL arch=amd64 [2022-04-10T05:07:02.249Z] ---> Running in 8521c77937cc [2022-04-10T05:07:02.249Z] Removing intermediate container 8521c77937cc [2022-04-10T05:07:02.249Z] ---> 91b76875324b [2022-04-10T05:07:02.249Z] Step 23/24 : LABEL git_sha=4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:07:02.249Z] ---> Running in 71b08e09ee32 [2022-04-10T05:07:02.509Z] Removing intermediate container 71b08e09ee32 [2022-04-10T05:07:02.509Z] ---> 6ea3733cef82 [2022-04-10T05:07:02.509Z] Step 24/24 : LABEL version=2.2.0-dev.15 [2022-04-10T05:07:02.509Z] ---> Running in 5764038e0132 [2022-04-10T05:07:02.509Z] Removing intermediate container 5764038e0132 [2022-04-10T05:07:02.509Z] ---> 100a56778552 [2022-04-10T05:07:02.509Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:07:02.509Z] Successfully built 100a56778552 [2022-04-10T05:07:02.509Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:07:02.588Z] provisioning config files... [2022-04-10T05:07:02.597Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3642434289345171086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:07:02.894Z] ---> docker-login.sh [2022-04-10T05:07:02.894Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:07:02.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:02.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:02.894Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:02.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:02.894Z] [2022-04-10T05:07:02.894Z] Login Succeeded [2022-04-10T05:07:02.894Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:07:02.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:03.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:03.156Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:03.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:03.156Z] [2022-04-10T05:07:03.156Z] Login Succeeded [2022-04-10T05:07:03.156Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:07:03.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:03.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:03.156Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:03.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:03.156Z] [2022-04-10T05:07:03.156Z] Login Succeeded [2022-04-10T05:07:03.156Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:07:03.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:03.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:03.417Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:03.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:03.417Z] [2022-04-10T05:07:03.417Z] Login Succeeded [2022-04-10T05:07:03.417Z] docker.io [2022-04-10T05:07:03.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:03.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:03.676Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:03.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:03.676Z] [2022-04-10T05:07:03.676Z] Login Succeeded [2022-04-10T05:07:03.676Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:07:03.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:07:03.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:07:03.741Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-04-10T05:07:03.741Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:07:03.741Z] latest [2022-04-10T05:07:03.741Z] 2.2.0-dev.15 [2022-04-10T05:07:03.741Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:07:03.741Z] main [2022-04-10T05:07:03.741Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:04.048Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:04.341Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:07:04.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-10T05:07:04.341Z] 3de618e47774: Preparing [2022-04-10T05:07:04.341Z] 96e3a1dbc922: Preparing [2022-04-10T05:07:04.341Z] 093731b7daad: Preparing [2022-04-10T05:07:04.341Z] 77e8b95b0076: Preparing [2022-04-10T05:07:04.341Z] b541d28bf3b4: Preparing [2022-04-10T05:07:04.341Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:04.341Z] 96e3a1dbc922: Pushed [2022-04-10T05:07:04.341Z] 3de618e47774: Pushed [2022-04-10T05:07:04.602Z] 77e8b95b0076: Pushed [2022-04-10T05:07:07.140Z] 093731b7daad: Pushed [2022-04-10T05:07:07.140Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab: digest: sha256:da93797991a053015f7daa5701bf45cfb41c1bdb2ec3065b78100e40dd2424ce size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:07.438Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:07.742Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-10T05:07:07.742Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-10T05:07:07.742Z] 3de618e47774: Preparing [2022-04-10T05:07:07.742Z] 96e3a1dbc922: Preparing [2022-04-10T05:07:07.742Z] 093731b7daad: Preparing [2022-04-10T05:07:07.742Z] 77e8b95b0076: Preparing [2022-04-10T05:07:07.742Z] b541d28bf3b4: Preparing [2022-04-10T05:07:07.742Z] 3de618e47774: Layer already exists [2022-04-10T05:07:07.742Z] 96e3a1dbc922: Layer already exists [2022-04-10T05:07:07.742Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:07.742Z] 77e8b95b0076: Layer already exists [2022-04-10T05:07:07.742Z] 093731b7daad: Layer already exists [2022-04-10T05:07:07.742Z] latest: digest: sha256:da93797991a053015f7daa5701bf45cfb41c1bdb2ec3065b78100e40dd2424ce size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:08.043Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:08.335Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.15 [2022-04-10T05:07:08.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-10T05:07:08.335Z] 3de618e47774: Preparing [2022-04-10T05:07:08.335Z] 96e3a1dbc922: Preparing [2022-04-10T05:07:08.335Z] 093731b7daad: Preparing [2022-04-10T05:07:08.335Z] 77e8b95b0076: Preparing [2022-04-10T05:07:08.335Z] b541d28bf3b4: Preparing [2022-04-10T05:07:08.336Z] 093731b7daad: Layer already exists [2022-04-10T05:07:08.336Z] 77e8b95b0076: Layer already exists [2022-04-10T05:07:08.336Z] 96e3a1dbc922: Layer already exists [2022-04-10T05:07:08.336Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:08.336Z] 3de618e47774: Layer already exists [2022-04-10T05:07:08.336Z] 2.2.0-dev.15: digest: sha256:da93797991a053015f7daa5701bf45cfb41c1bdb2ec3065b78100e40dd2424ce size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:08.631Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:08.926Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:07:08.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-10T05:07:08.926Z] 3de618e47774: Preparing [2022-04-10T05:07:08.926Z] 96e3a1dbc922: Preparing [2022-04-10T05:07:08.926Z] 093731b7daad: Preparing [2022-04-10T05:07:08.926Z] 77e8b95b0076: Preparing [2022-04-10T05:07:08.926Z] b541d28bf3b4: Preparing [2022-04-10T05:07:08.926Z] 3de618e47774: Layer already exists [2022-04-10T05:07:08.926Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:08.926Z] 77e8b95b0076: Layer already exists [2022-04-10T05:07:08.926Z] 96e3a1dbc922: Layer already exists [2022-04-10T05:07:08.926Z] 093731b7daad: Layer already exists [2022-04-10T05:07:08.926Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15: digest: sha256:da93797991a053015f7daa5701bf45cfb41c1bdb2ec3065b78100e40dd2424ce size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:09.224Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:09.518Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-04-10T05:07:09.518Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-04-10T05:07:09.518Z] 3de618e47774: Preparing [2022-04-10T05:07:09.518Z] 96e3a1dbc922: Preparing [2022-04-10T05:07:09.518Z] 093731b7daad: Preparing [2022-04-10T05:07:09.518Z] 77e8b95b0076: Preparing [2022-04-10T05:07:09.518Z] b541d28bf3b4: Preparing [2022-04-10T05:07:09.518Z] 77e8b95b0076: Layer already exists [2022-04-10T05:07:09.518Z] 093731b7daad: Layer already exists [2022-04-10T05:07:09.518Z] 3de618e47774: Layer already exists [2022-04-10T05:07:09.518Z] 96e3a1dbc922: Layer already exists [2022-04-10T05:07:09.518Z] b541d28bf3b4: Layer already exists [2022-04-10T05:07:09.518Z] main: digest: sha256:da93797991a053015f7daa5701bf45cfb41c1bdb2ec3065b78100e40dd2424ce size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:07:09.553Z] ===================================================== [Pipeline] echo [2022-04-10T05:07:09.561Z] taggedImages: [2022-04-10T05:07:09.561Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:07:09.561Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-04-10T05:07:09.561Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.15 [2022-04-10T05:07:09.561Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:07:09.561Z] - 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-10T05:07:09.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:09.937Z] [2022-04-10T05:07:09.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:10.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:10.240Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T05:07:10.240Z] 5eb5b503b376: Pulling fs layer [2022-04-10T05:07:10.240Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T05:07:10.240Z] ec43610c2a17: Pulling fs layer [2022-04-10T05:07:10.240Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T05:07:10.240Z] 33b1e0a273af: Pulling fs layer [2022-04-10T05:07:10.240Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T05:07:10.240Z] 2f39f015ded8: Pulling fs layer [2022-04-10T05:07:10.240Z] 2f39f015ded8: Waiting [2022-04-10T05:07:10.240Z] 5d3b04190fa2: Waiting [2022-04-10T05:07:10.240Z] 33b1e0a273af: Waiting [2022-04-10T05:07:10.240Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T05:07:10.240Z] 5c69ac0246d0: Download complete [2022-04-10T05:07:10.240Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T05:07:10.240Z] 3a2ae6a8a46f: Download complete [2022-04-10T05:07:10.240Z] 33b1e0a273af: Verifying Checksum [2022-04-10T05:07:10.240Z] 33b1e0a273af: Download complete [2022-04-10T05:07:10.240Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T05:07:10.240Z] 5d3b04190fa2: Download complete [2022-04-10T05:07:10.240Z] ec43610c2a17: Verifying Checksum [2022-04-10T05:07:10.240Z] ec43610c2a17: Download complete [2022-04-10T05:07:10.501Z] 5eb5b503b376: Verifying Checksum [2022-04-10T05:07:10.501Z] 5eb5b503b376: Download complete [2022-04-10T05:07:11.074Z] 2f39f015ded8: Verifying Checksum [2022-04-10T05:07:11.074Z] 2f39f015ded8: Download complete [2022-04-10T05:07:11.644Z] 5eb5b503b376: Pull complete [2022-04-10T05:07:11.911Z] 5c69ac0246d0: Pull complete [2022-04-10T05:07:12.174Z] ec43610c2a17: Pull complete [2022-04-10T05:07:12.433Z] 3a2ae6a8a46f: Pull complete [2022-04-10T05:07:12.433Z] 33b1e0a273af: Pull complete [2022-04-10T05:07:12.702Z] 5d3b04190fa2: Pull complete [2022-04-10T05:07:16.928Z] 2f39f015ded8: Pull complete [2022-04-10T05:07:16.928Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T05:07:16.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:16.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T05:07:17.096Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:07:17.134Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:07:18.499Z] $ docker top 7e9c4c35c993bb02fc4f35fd50bd64d17d381c0f74bf25b3082ee28a267ea8e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:07:18.894Z] ---> job-cost.sh [2022-04-10T05:07:18.894Z] lf-activate-venv: SKIPPING [2022-04-10T05:07:18.894Z] INFO: No Stack... [2022-04-10T05:07:19.155Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:07:19.743Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:07:20.042Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-04-10T05:07:20.042Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:07:20.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [2022-04-10T05:07:20.076Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] did not exist. Created. [2022-04-10T05:07:20.076Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:07:20.386Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:07:20.416Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:07:20.425Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:07:20.445Z] $ docker stop --time=1 7e9c4c35c993bb02fc4f35fd50bd64d17d381c0f74bf25b3082ee28a267ea8e1 [2022-04-10T05:07:21.604Z] $ docker rm -f 7e9c4c35c993bb02fc4f35fd50bd64d17d381c0f74bf25b3082ee28a267ea8e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:15:01.907Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11865 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-04-10T05:15:01.920Z] Running in /w/workspace/device-mqtt-go/36 [Pipeline] { [Pipeline] checkout [2022-04-10T05:15:02.601Z] Selected Git installation does not exist. Using Default [2022-04-10T05:15:02.601Z] The recommended git tool is: NONE [2022-04-10T05:15:11.863Z] using credential edgex-jenkins-ssh [2022-04-10T05:15:11.888Z] Cloning the remote Git repository [2022-04-10T05:15:12.044Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-10T05:15:12.176Z] > git init /w/workspace/device-mqtt-go/36 # timeout=10 [2022-04-10T05:15:12.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-10T05:15:12.472Z] > git --version # timeout=10 [2022-04-10T05:15:12.569Z] > git --version # 'git version 2.25.1' [2022-04-10T05:15:12.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:15:12.690Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:14.194Z] Avoid second fetch [2022-04-10T05:15:14.194Z] Checking out Revision 4d191eb3dac98c01714bec6e3dd8edd5055992ab (main) [2022-04-10T05:15:14.143Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-10T05:15:14.171Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:14.225Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:15:14.249Z] > git checkout -f 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-10T05:15:18.753Z] Commit message: "Merge pull request #358 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:15:19.663Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:15:19.663Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:15:19.663Z] Dload Upload Total Spent Left Speed [2022-04-10T05:15:19.663Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2022-04-10T05:15:20.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:15:20.611Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:15:20.611Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:15:20.611Z] { [2022-04-10T05:15:20.611Z] "registry-mirrors": [ [2022-04-10T05:15:20.611Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:15:20.611Z] ], [2022-04-10T05:15:20.611Z] "bip": "10.250.0.254/24", [2022-04-10T05:15:20.611Z] "hosts": [ [2022-04-10T05:15:20.611Z] "tcp://0.0.0.0:5555", [2022-04-10T05:15:20.611Z] "unix:///var/run/docker.sock" [2022-04-10T05:15:20.611Z] ], [2022-04-10T05:15:20.611Z] "mtu": 1458, [2022-04-10T05:15:20.611Z] "selinux-enabled": true, [2022-04-10T05:15:20.611Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:15:20.611Z] } [Pipeline] sh [2022-04-10T05:15:20.987Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:15:21.343Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:15:39.775Z] provisioning config files... [2022-04-10T05:15:39.807Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/36@tmp/config6005938577733066085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:40.214Z] ---> docker-login.sh [2022-04-10T05:15:40.214Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:15:40.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:41.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:41.108Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:41.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:41.108Z] [2022-04-10T05:15:41.108Z] Login Succeeded [2022-04-10T05:15:41.108Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:15:41.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:42.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:42.056Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:42.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:42.056Z] [2022-04-10T05:15:42.056Z] Login Succeeded [2022-04-10T05:15:42.056Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:15:42.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:42.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:42.618Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:42.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:42.618Z] [2022-04-10T05:15:42.618Z] Login Succeeded [2022-04-10T05:15:42.618Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:15:42.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:43.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:43.177Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:43.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:43.177Z] [2022-04-10T05:15:43.177Z] Login Succeeded [2022-04-10T05:15:43.177Z] docker.io [2022-04-10T05:15:43.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:43.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:43.727Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:43.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:43.727Z] [2022-04-10T05:15:43.727Z] Login Succeeded [2022-04-10T05:15:43.727Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:15:43.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:15:44.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:15:44.250Z] ========================================================= [2022-04-10T05:15:44.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:15:44.250Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:44.614Z] + 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-10T05:15:44.888Z] Sending build context to Docker daemon 3.019MB [2022-04-10T05:15:44.888Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:15:44.888Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:15:45.165Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:15:45.165Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:15:45.165Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:15:45.165Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:15:45.165Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:15:45.165Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:15:45.165Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:15:45.165Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:15:45.165Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:15:45.165Z] f7c0051592d6: Waiting [2022-04-10T05:15:45.165Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:15:45.165Z] 0c92f367c5e7: Waiting [2022-04-10T05:15:45.165Z] a227ed2f7395: Waiting [2022-04-10T05:15:45.165Z] 7b1c46037f91: Waiting [2022-04-10T05:15:45.165Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:15:45.165Z] 94645a83ff95: Download complete [2022-04-10T05:15:45.165Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T05:15:45.165Z] 1a89e8eeedd5: Download complete [2022-04-10T05:15:45.165Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T05:15:45.165Z] 0c92f367c5e7: Download complete [2022-04-10T05:15:45.165Z] f7c0051592d6: Verifying Checksum [2022-04-10T05:15:45.165Z] f7c0051592d6: Download complete [2022-04-10T05:15:45.451Z] 9b3977197b4f: Verifying Checksum [2022-04-10T05:15:45.451Z] 9b3977197b4f: Download complete [2022-04-10T05:15:45.451Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:15:45.451Z] a227ed2f7395: Download complete [2022-04-10T05:15:46.084Z] 9b3977197b4f: Pull complete [2022-04-10T05:15:46.698Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:15:46.982Z] 94645a83ff95: Pull complete [2022-04-10T05:15:47.591Z] 7b1c46037f91: Verifying Checksum [2022-04-10T05:15:47.591Z] 7b1c46037f91: Download complete [2022-04-10T05:15:47.864Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T05:15:47.864Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:16:00.270Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:16:00.270Z] 0c92f367c5e7: Pull complete [2022-04-10T05:16:00.270Z] f7c0051592d6: Pull complete [2022-04-10T05:16:00.270Z] a227ed2f7395: Pull complete [2022-04-10T05:16:08.600Z] 7b1c46037f91: Pull complete [2022-04-10T05:16:08.600Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:16:08.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:16:08.600Z] ---> f79e39bc4007 [2022-04-10T05:16:08.600Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:16:08.600Z] ---> Running in 9afbda516395 [2022-04-10T05:16:08.600Z] Removing intermediate container 9afbda516395 [2022-04-10T05:16:08.600Z] ---> b3051f61fba9 [2022-04-10T05:16:08.600Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:16:08.600Z] ---> Running in c8d4a0c55a67 [2022-04-10T05:16:08.880Z] Removing intermediate container c8d4a0c55a67 [2022-04-10T05:16:08.880Z] ---> ef13c60f5e96 [2022-04-10T05:16:08.880Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:16:09.159Z] ---> Running in c2493a68b99d [2022-04-10T05:16:11.178Z] Removing intermediate container c2493a68b99d [2022-04-10T05:16:11.178Z] ---> e394c0fa2aa5 [2022-04-10T05:16:11.178Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:16:11.178Z] ---> Running in 5430b1a0beea [2022-04-10T05:16:12.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:13.156Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:14.136Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:16:14.415Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:16:14.415Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:16:14.691Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:16:14.691Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:16:14.691Z] OK: 224 MiB in 56 packages [2022-04-10T05:16:17.322Z] Removing intermediate container 5430b1a0beea [2022-04-10T05:16:17.322Z] ---> 3100799d93a2 [2022-04-10T05:16:17.322Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-10T05:16:17.322Z] ---> Running in 5479f01eb656 [2022-04-10T05:16:18.310Z] Removing intermediate container 5479f01eb656 [2022-04-10T05:16:18.310Z] ---> 08d654bd941b [2022-04-10T05:16:18.310Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-10T05:16:18.587Z] ---> 5b4d58a187bc [2022-04-10T05:16:18.587Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:16:18.862Z] ---> Running in f37f2d585df4 [2022-04-10T05:17:05.900Z] Removing intermediate container f37f2d585df4 [2022-04-10T05:17:05.900Z] ---> f24174e804dd [2022-04-10T05:17:05.900Z] Step 10/12 : COPY . . [2022-04-10T05:17:06.890Z] ---> b0dacbfa814a [2022-04-10T05:17:06.890Z] Step 11/12 : ARG MAKE='make build' [2022-04-10T05:17:06.890Z] ---> Running in f598ffcb0a23 [2022-04-10T05:17:07.170Z] Removing intermediate container f598ffcb0a23 [2022-04-10T05:17:07.170Z] ---> ec1dacbfd8e8 [2022-04-10T05:17:07.170Z] Step 12/12 : RUN $MAKE [2022-04-10T05:17:07.170Z] ---> Running in ba0204620b4e [2022-04-10T05:17:08.617Z] noop [2022-04-10T05:17:09.215Z] Removing intermediate container ba0204620b4e [2022-04-10T05:17:09.215Z] ---> 353de1a43017 [2022-04-10T05:17:09.215Z] Successfully built 353de1a43017 [2022-04-10T05:17:09.215Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:09.570Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:09.570Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:09.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container [2022-04-10T05:17:09.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/36 -v /w/workspace/device-mqtt-go/36:/w/workspace/device-mqtt-go/36:rw,z -v /w/workspace/device-mqtt-go/36@tmp:/w/workspace/device-mqtt-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:17:11.329Z] $ docker top bc992b8575ccd94a17b6a47c43205d30b92e51dcd4a174eb6c8438b67ed29075 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:17:12.280Z] + go version [2022-04-10T05:17:12.280Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:17:12.309Z] $ docker stop --time=1 bc992b8575ccd94a17b6a47c43205d30b92e51dcd4a174eb6c8438b67ed29075 [2022-04-10T05:17:14.013Z] $ docker rm -f bc992b8575ccd94a17b6a47c43205d30b92e51dcd4a174eb6c8438b67ed29075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:14.656Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:14.656Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:14.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container [2022-04-10T05:17:15.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/36 -v /w/workspace/device-mqtt-go/36:/w/workspace/device-mqtt-go/36:rw,z -v /w/workspace/device-mqtt-go/36@tmp:/w/workspace/device-mqtt-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:17:16.453Z] $ docker top 9424588e432e792bbf01288a78c9921da7f8492605a0fc09bfc05bb5ce9b0027 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:17:17.432Z] + make test [2022-04-10T05:17:17.432Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T05:17:19.421Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-10T05:18:56.297Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-10T05:18:56.297Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-04-10T05:18:56.297Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-10T05:18:56.297Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:18:56.297Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:19:14.648Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:19:14.648Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:19:14.648Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:19:15.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:19:15.299Z] $ docker stop --time=1 9424588e432e792bbf01288a78c9921da7f8492605a0fc09bfc05bb5ce9b0027 [2022-04-10T05:19:17.175Z] $ docker rm -f 9424588e432e792bbf01288a78c9921da7f8492605a0fc09bfc05bb5ce9b0027 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:19:18.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:19:18.219Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:19:18.703Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:19:19.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:19:19.453Z] + ls -al . [2022-04-10T05:19:19.453Z] total 172 [2022-04-10T05:19:19.453Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:19 . [2022-04-10T05:19:19.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 .. [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:15 .dockerignore [2022-04-10T05:19:19.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:15 .git [2022-04-10T05:19:19.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 .github [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 10 05:15 .gitignore [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:15 .golangci.yml [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 10 05:15 Attribution.txt [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 10 05:15 CHANGELOG.md [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 10 05:15 Dockerfile [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:15 GOVERNANCE.md [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 10 05:15 Jenkinsfile [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:15 LICENSE [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 10 05:15 Makefile [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:15 OWNERS.md [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 10 05:15 README.md [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION [2022-04-10T05:19:19.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 bin [2022-04-10T05:19:19.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 cmd [2022-04-10T05:19:19.453Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 10 05:18 coverage.out [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 10 05:15 go.mod [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 10 05:15 go.sum [2022-04-10T05:19:19.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 internal [2022-04-10T05:19:19.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 mock [2022-04-10T05:19:19.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 snap [2022-04-10T05:19:19.453Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 10 05:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:19.817Z] + 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=4d191eb3dac98c01714bec6e3dd8edd5055992ab --label arch=arm64 --label version=2.2.0-dev.15 . [2022-04-10T05:19:20.100Z] Sending build context to Docker daemon 3.037MB [2022-04-10T05:19:20.100Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:19:20.100Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T05:19:20.100Z] ---> 353de1a43017 [2022-04-10T05:19:20.100Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:19:20.376Z] ---> Running in edefedade37d [2022-04-10T05:19:20.656Z] Removing intermediate container edefedade37d [2022-04-10T05:19:20.656Z] ---> ae98c11add4b [2022-04-10T05:19:20.656Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:19:20.656Z] ---> Running in 3284741b735a [2022-04-10T05:19:21.265Z] Removing intermediate container 3284741b735a [2022-04-10T05:19:21.265Z] ---> fc917110de8c [2022-04-10T05:19:21.265Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:19:21.265Z] ---> Running in 6e62c966434e [2022-04-10T05:19:23.267Z] Removing intermediate container 6e62c966434e [2022-04-10T05:19:23.267Z] ---> 1e1286d20248 [2022-04-10T05:19:23.267Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:19:23.267Z] ---> Running in 84de6bc49071 [2022-04-10T05:19:24.248Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:24.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:25.823Z] OK: 224 MiB in 56 packages [2022-04-10T05:19:26.813Z] Removing intermediate container 84de6bc49071 [2022-04-10T05:19:26.813Z] ---> 5453834b2527 [2022-04-10T05:19:26.813Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-10T05:19:26.813Z] ---> Running in 72ed6cb909b3 [2022-04-10T05:19:27.089Z] Removing intermediate container 72ed6cb909b3 [2022-04-10T05:19:27.089Z] ---> b4027f0649b9 [2022-04-10T05:19:27.089Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-10T05:19:27.720Z] ---> be834d190967 [2022-04-10T05:19:27.720Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:19:28.004Z] ---> Running in 52847569025d [2022-04-10T05:19:30.701Z] Removing intermediate container 52847569025d [2022-04-10T05:19:30.701Z] ---> bfa7c1ac1720 [2022-04-10T05:19:30.701Z] Step 10/24 : COPY . . [2022-04-10T05:19:31.313Z] ---> 593c57c15ee2 [2022-04-10T05:19:31.313Z] Step 11/24 : ARG MAKE='make build' [2022-04-10T05:19:31.589Z] ---> Running in 902643a24b95 [2022-04-10T05:19:31.862Z] Removing intermediate container 902643a24b95 [2022-04-10T05:19:31.862Z] ---> 933427a1f7e2 [2022-04-10T05:19:31.862Z] Step 12/24 : RUN $MAKE [2022-04-10T05:19:31.862Z] ---> Running in 993c9bc6fa11 [2022-04-10T05:19:32.845Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-10T05:21:39.729Z] Removing intermediate container 993c9bc6fa11 [2022-04-10T05:21:39.729Z] ---> 0cc67a9ae9d4 [2022-04-10T05:21:39.729Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T05:21:39.729Z] 3.14: Pulling from library/alpine [2022-04-10T05:21:39.729Z] 455c02918c45: Pulling fs layer [2022-04-10T05:21:39.729Z] 455c02918c45: Verifying Checksum [2022-04-10T05:21:39.729Z] 455c02918c45: Download complete [2022-04-10T05:21:39.729Z] 455c02918c45: Pull complete [2022-04-10T05:21:39.729Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:21:39.729Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:21:39.729Z] ---> ac73e934f311 [2022-04-10T05:21:39.729Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-10T05:21:39.729Z] ---> Running in 25325dc5b8cc [2022-04-10T05:21:40.003Z] Removing intermediate container 25325dc5b8cc [2022-04-10T05:21:40.003Z] ---> 439a2ec6f060 [2022-04-10T05:21:40.003Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:21:40.281Z] ---> Running in b1161b4035b9 [2022-04-10T05:21:41.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:21:41.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:21:42.130Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:21:42.130Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:21:42.130Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:21:42.130Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:21:42.404Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:21:42.404Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:21:42.404Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:21:42.404Z] OK: 8 MiB in 20 packages [2022-04-10T05:21:43.391Z] Removing intermediate container b1161b4035b9 [2022-04-10T05:21:43.391Z] ---> cdb9726e24eb [2022-04-10T05:21:43.391Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-10T05:21:44.823Z] ---> c6309809c625 [2022-04-10T05:21:44.823Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-10T05:21:45.426Z] ---> 4c86d27348a4 [2022-04-10T05:21:45.426Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-10T05:21:46.022Z] ---> 3bc85733f316 [2022-04-10T05:21:46.022Z] Step 19/24 : EXPOSE 59982 [2022-04-10T05:21:46.022Z] ---> Running in 381a8e6dcd1a [2022-04-10T05:21:46.298Z] Removing intermediate container 381a8e6dcd1a [2022-04-10T05:21:46.298Z] ---> 72ce2b23c1e5 [2022-04-10T05:21:46.298Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-10T05:21:46.298Z] ---> Running in cbf58006f5ab [2022-04-10T05:21:46.909Z] Removing intermediate container cbf58006f5ab [2022-04-10T05:21:46.909Z] ---> 0c0b711d100d [2022-04-10T05:21:46.909Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:21:46.909Z] ---> Running in 9f164347d827 [2022-04-10T05:21:47.184Z] Removing intermediate container 9f164347d827 [2022-04-10T05:21:47.184Z] ---> 2dba277b33cd [2022-04-10T05:21:47.184Z] Step 22/24 : LABEL arch=arm64 [2022-04-10T05:21:47.184Z] ---> Running in 68d2dfec7180 [2022-04-10T05:21:47.459Z] Removing intermediate container 68d2dfec7180 [2022-04-10T05:21:47.459Z] ---> 4332245911cf [2022-04-10T05:21:47.459Z] Step 23/24 : LABEL git_sha=4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:21:47.734Z] ---> Running in 5bbab89b3419 [2022-04-10T05:21:48.008Z] Removing intermediate container 5bbab89b3419 [2022-04-10T05:21:48.008Z] ---> f8386ec6fd4f [2022-04-10T05:21:48.008Z] Step 24/24 : LABEL version=2.2.0-dev.15 [2022-04-10T05:21:48.008Z] ---> Running in 48d89d77dbc9 [2022-04-10T05:21:48.281Z] Removing intermediate container 48d89d77dbc9 [2022-04-10T05:21:48.282Z] ---> 9777e9e739dc [2022-04-10T05:21:48.282Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:21:48.282Z] Successfully built 9777e9e739dc [2022-04-10T05:21:48.555Z] 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-10T05:21:48.646Z] provisioning config files... [2022-04-10T05:21:48.667Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/36@tmp/config4236454896653474726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:49.027Z] ---> docker-login.sh [2022-04-10T05:21:49.027Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:21:49.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:49.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:49.302Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:49.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:49.302Z] [2022-04-10T05:21:49.302Z] Login Succeeded [2022-04-10T05:21:49.302Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:21:49.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:49.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:49.901Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:49.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:49.901Z] [2022-04-10T05:21:49.901Z] Login Succeeded [2022-04-10T05:21:49.901Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:21:50.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:50.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:50.502Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:50.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:50.502Z] [2022-04-10T05:21:50.502Z] Login Succeeded [2022-04-10T05:21:50.502Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:21:50.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:51.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:51.047Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:51.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:51.047Z] [2022-04-10T05:21:51.047Z] Login Succeeded [2022-04-10T05:21:51.047Z] docker.io [2022-04-10T05:21:51.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:21:51.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:21:51.915Z] Configure a credential helper to remove this warning. See [2022-04-10T05:21:51.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:21:51.915Z] [2022-04-10T05:21:51.915Z] Login Succeeded [2022-04-10T05:21:51.915Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:21:51.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:21:51.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:21:51.989Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-04-10T05:21:51.989Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:21:51.989Z] latest [2022-04-10T05:21:51.989Z] 2.2.0-dev.15 [2022-04-10T05:21:51.989Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:21:51.989Z] main [2022-04-10T05:21:51.989Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:52.348Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:52.712Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:21:52.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-10T05:21:52.713Z] f0929ffa5466: Preparing [2022-04-10T05:21:52.713Z] 3e15511bb1ba: Preparing [2022-04-10T05:21:52.713Z] e57917aa7480: Preparing [2022-04-10T05:21:52.713Z] 1ee965fc7585: Preparing [2022-04-10T05:21:52.713Z] f73e7dbfee58: Preparing [2022-04-10T05:21:53.001Z] f73e7dbfee58: Layer already exists [2022-04-10T05:21:53.001Z] f0929ffa5466: Pushed [2022-04-10T05:21:53.001Z] 3e15511bb1ba: Pushed [2022-04-10T05:21:53.598Z] 1ee965fc7585: Pushed [2022-04-10T05:21:58.995Z] e57917aa7480: Pushed [2022-04-10T05:21:58.995Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab: digest: sha256:ae52328ad0fcb4a186438b59231bd976ea045e4e09c461bc41ddb4dd4289fcf3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:59.347Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:59.691Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-10T05:21:59.691Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-10T05:21:59.691Z] f0929ffa5466: Preparing [2022-04-10T05:21:59.691Z] 3e15511bb1ba: Preparing [2022-04-10T05:21:59.691Z] e57917aa7480: Preparing [2022-04-10T05:21:59.691Z] 1ee965fc7585: Preparing [2022-04-10T05:21:59.691Z] f73e7dbfee58: Preparing [2022-04-10T05:21:59.691Z] 1ee965fc7585: Layer already exists [2022-04-10T05:21:59.691Z] 3e15511bb1ba: Layer already exists [2022-04-10T05:21:59.691Z] f73e7dbfee58: Layer already exists [2022-04-10T05:21:59.691Z] f0929ffa5466: Layer already exists [2022-04-10T05:21:59.691Z] e57917aa7480: Layer already exists [2022-04-10T05:21:59.963Z] latest: digest: sha256:ae52328ad0fcb4a186438b59231bd976ea045e4e09c461bc41ddb4dd4289fcf3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:00.309Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:00.658Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.15 [2022-04-10T05:22:00.658Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-10T05:22:00.658Z] f0929ffa5466: Preparing [2022-04-10T05:22:00.658Z] 3e15511bb1ba: Preparing [2022-04-10T05:22:00.658Z] e57917aa7480: Preparing [2022-04-10T05:22:00.658Z] 1ee965fc7585: Preparing [2022-04-10T05:22:00.658Z] f73e7dbfee58: Preparing [2022-04-10T05:22:00.658Z] 3e15511bb1ba: Layer already exists [2022-04-10T05:22:00.658Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:00.658Z] 1ee965fc7585: Layer already exists [2022-04-10T05:22:00.658Z] f0929ffa5466: Layer already exists [2022-04-10T05:22:00.658Z] e57917aa7480: Layer already exists [2022-04-10T05:22:00.932Z] 2.2.0-dev.15: digest: sha256:ae52328ad0fcb4a186438b59231bd976ea045e4e09c461bc41ddb4dd4289fcf3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:01.285Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:01.622Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:22:01.622Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-10T05:22:01.622Z] f0929ffa5466: Preparing [2022-04-10T05:22:01.622Z] 3e15511bb1ba: Preparing [2022-04-10T05:22:01.622Z] e57917aa7480: Preparing [2022-04-10T05:22:01.622Z] 1ee965fc7585: Preparing [2022-04-10T05:22:01.622Z] f73e7dbfee58: Preparing [2022-04-10T05:22:01.623Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:01.623Z] 3e15511bb1ba: Layer already exists [2022-04-10T05:22:01.623Z] f0929ffa5466: Layer already exists [2022-04-10T05:22:01.623Z] e57917aa7480: Layer already exists [2022-04-10T05:22:01.623Z] 1ee965fc7585: Layer already exists [2022-04-10T05:22:01.896Z] 4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15: digest: sha256:ae52328ad0fcb4a186438b59231bd976ea045e4e09c461bc41ddb4dd4289fcf3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:02.250Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:02.592Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-04-10T05:22:02.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-04-10T05:22:02.592Z] f0929ffa5466: Preparing [2022-04-10T05:22:02.592Z] 3e15511bb1ba: Preparing [2022-04-10T05:22:02.592Z] e57917aa7480: Preparing [2022-04-10T05:22:02.592Z] 1ee965fc7585: Preparing [2022-04-10T05:22:02.592Z] f73e7dbfee58: Preparing [2022-04-10T05:22:02.592Z] f73e7dbfee58: Layer already exists [2022-04-10T05:22:02.592Z] f0929ffa5466: Layer already exists [2022-04-10T05:22:02.592Z] 1ee965fc7585: Layer already exists [2022-04-10T05:22:02.592Z] e57917aa7480: Layer already exists [2022-04-10T05:22:02.592Z] 3e15511bb1ba: Layer already exists [2022-04-10T05:22:02.863Z] main: digest: sha256:ae52328ad0fcb4a186438b59231bd976ea045e4e09c461bc41ddb4dd4289fcf3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:22:02.908Z] ===================================================== [Pipeline] echo [2022-04-10T05:22:02.920Z] taggedImages: [2022-04-10T05:22:02.920Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab [2022-04-10T05:22:02.920Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-04-10T05:22:02.920Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.15 [2022-04-10T05:22:02.920Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4d191eb3dac98c01714bec6e3dd8edd5055992ab-2.2.0-dev.15 [2022-04-10T05:22:02.920Z] - 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-10T05:22:03.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:03.297Z] [2022-04-10T05:22:03.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:03.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:03.918Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:22:03.918Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:22:03.918Z] 04944245beec: Pulling fs layer [2022-04-10T05:22:03.918Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:22:03.918Z] 765212b225bb: Pulling fs layer [2022-04-10T05:22:03.918Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:22:03.918Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:22:03.918Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:22:03.918Z] 765212b225bb: Waiting [2022-04-10T05:22:03.918Z] d65c8cfc05b1: Waiting [2022-04-10T05:22:03.918Z] f23df028b6ca: Waiting [2022-04-10T05:22:03.918Z] 2437ff75d9bd: Waiting [2022-04-10T05:22:03.918Z] 04944245beec: Download complete [2022-04-10T05:22:03.918Z] 765212b225bb: Verifying Checksum [2022-04-10T05:22:03.918Z] 765212b225bb: Download complete [2022-04-10T05:22:03.918Z] f23df028b6ca: Download complete [2022-04-10T05:22:03.918Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T05:22:03.918Z] d65c8cfc05b1: Download complete [2022-04-10T05:22:04.195Z] 699f458cf7ca: Verifying Checksum [2022-04-10T05:22:04.195Z] 699f458cf7ca: Download complete [2022-04-10T05:22:04.476Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T05:22:04.476Z] 8998bd30e6a1: Download complete [2022-04-10T05:22:07.111Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:22:07.111Z] 2437ff75d9bd: Download complete [2022-04-10T05:22:08.550Z] 8998bd30e6a1: Pull complete [2022-04-10T05:22:09.150Z] 04944245beec: Pull complete [2022-04-10T05:22:11.185Z] 699f458cf7ca: Pull complete [2022-04-10T05:22:11.185Z] 765212b225bb: Pull complete [2022-04-10T05:22:12.217Z] f23df028b6ca: Pull complete [2022-04-10T05:22:12.492Z] d65c8cfc05b1: Pull complete [2022-04-10T05:22:27.595Z] 2437ff75d9bd: Pull complete [2022-04-10T05:22:27.595Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:22:27.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:22:27.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:22:27.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container [2022-04-10T05:22:27.935Z] $ 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/36 -v /w/workspace/device-mqtt-go/36:/w/workspace/device-mqtt-go/36:rw,z -v /w/workspace/device-mqtt-go/36@tmp:/w/workspace/device-mqtt-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T05:22:30.777Z] $ docker top 02be4ea7c7aabd910ceb1d514b771e2c496433338062a29b03151ed19a83a35b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:22:31.705Z] ---> job-cost.sh [2022-04-10T05:22:31.705Z] lf-activate-venv: SKIPPING [2022-04-10T05:22:31.705Z] INFO: No Stack... [2022-04-10T05:22:31.979Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:22:32.956Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:22:33.628Z] + cat /w/workspace/device-mqtt-go/36/archives/cost.csv [2022-04-10T05:22:33.628Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:22:33.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [2022-04-10T05:22:33.705Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] did not exist. Created. [2022-04-10T05:22:33.705Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:22:34.387Z] /w/workspace/device-mqtt-go/36@tmp/durable-f0e7f77e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:22:35.064Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:22:35.086Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:22:35.139Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:22:35.148Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:22:35.169Z] $ docker stop --time=1 02be4ea7c7aabd910ceb1d514b771e2c496433338062a29b03151ed19a83a35b [2022-04-10T05:22:36.676Z] $ docker rm -f 02be4ea7c7aabd910ceb1d514b771e2c496433338062a29b03151ed19a83a35b [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-10T05:22:37.165Z] provisioning config files... [2022-04-10T05:22:37.173Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7786915497321256488tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:22:37.471Z] + set +x [2022-04-10T05:22:37.471Z] + + bash -s -- [2022-04-10T05:22:37.471Z] curl -s https://codecov.io/bash [2022-04-10T05:22:37.471Z] [2022-04-10T05:22:37.471Z] _____ _ [2022-04-10T05:22:37.471Z] / ____| | | [2022-04-10T05:22:37.471Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:22:37.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:22:37.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:22:37.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:22:37.471Z] Bash-1.0.6 [2022-04-10T05:22:37.471Z] [2022-04-10T05:22:37.471Z] [2022-04-10T05:22:37.471Z] ==> git version 2.25.1 found [2022-04-10T05:22:37.471Z] ==> 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-10T05:22:37.471Z] Release-Date: 2020-01-08 [2022-04-10T05:22:37.471Z] 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-10T05:22:37.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:22:37.471Z] ==> Jenkins CI detected. [2022-04-10T05:22:37.471Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:22:37.471Z] project root: . [2022-04-10T05:22:37.471Z] --> token set from env [2022-04-10T05:22:37.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:22:37.471Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:22:37.471Z] ==> Python coveragepy not found [2022-04-10T05:22:37.471Z] ==> Searching for coverage reports in: [2022-04-10T05:22:37.471Z] + . [2022-04-10T05:22:37.471Z] -> Found 1 reports [2022-04-10T05:22:37.471Z] ==> Detecting git/mercurial file structure [2022-04-10T05:22:37.471Z] ==> Reading reports [2022-04-10T05:22:37.471Z] + ./coverage.out bytes=17887 [2022-04-10T05:22:37.471Z] ==> Appending adjustments [2022-04-10T05:22:37.471Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:22:37.731Z] + Found adjustments [2022-04-10T05:22:37.731Z] ==> Gzipping contents [2022-04-10T05:22:37.731Z] 4.0K /tmp/codecov.ueGShN.gz [2022-04-10T05:22:37.731Z] ==> Uploading reports [2022-04-10T05:22:37.731Z] url: https://codecov.io [2022-04-10T05:22:37.731Z] query: branch=main&commit=4d191eb3dac98c01714bec6e3dd8edd5055992ab&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:22:37.731Z] -> Pinging Codecov [2022-04-10T05:22:37.731Z] 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=4d191eb3dac98c01714bec6e3dd8edd5055992ab&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:22:37.990Z] -> Uploading to [2022-04-10T05:22:37.990Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7D719EC7BBE17E464838252E33014C33/4d191eb3dac98c01714bec6e3dd8edd5055992ab/002627ee-1a03-4e11-b16b-0db8a234e089.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T052237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc5c4939aa905e1f41ad341ce192c191f34dbda3aadc201f98abed1360d9913 [2022-04-10T05:22:37.990Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:22:37.990Z] Dload Upload Total Spent Left Speed [2022-04-10T05:22:38.249Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14112 --:--:-- --:--:-- --:--:-- 14112 [2022-04-10T05:22:38.249Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] } [2022-04-10T05:22:38.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:22:38.370Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:22:38.380Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:38.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:38.674Z] [2022-04-10T05:22:38.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:38.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:38.980Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:22:38.980Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:22:38.980Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:22:38.980Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:22:38.980Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:22:38.980Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:22:38.980Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:22:38.980Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:22:38.980Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:22:38.980Z] 0eba1c9be4d2: Waiting [2022-04-10T05:22:38.980Z] e1f770b5df2f: Waiting [2022-04-10T05:22:38.980Z] 0d57e429df01: Waiting [2022-04-10T05:22:38.980Z] 4e4be7b47b0d: Waiting [2022-04-10T05:22:38.980Z] 85a0685a4137: Waiting [2022-04-10T05:22:38.980Z] de9db76c5a1d: Verifying Checksum [2022-04-10T05:22:38.980Z] de9db76c5a1d: Download complete [2022-04-10T05:22:38.980Z] 0ef7d3d256c8: Verifying Checksum [2022-04-10T05:22:38.980Z] 0ef7d3d256c8: Download complete [2022-04-10T05:22:38.980Z] 0d57e429df01: Download complete [2022-04-10T05:22:38.980Z] 4e4be7b47b0d: Download complete [2022-04-10T05:22:38.980Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:22:38.980Z] 188c0c94c7c5: Download complete [2022-04-10T05:22:39.240Z] 188c0c94c7c5: Pull complete [2022-04-10T05:22:39.240Z] e1f770b5df2f: Verifying Checksum [2022-04-10T05:22:39.240Z] e1f770b5df2f: Download complete [2022-04-10T05:22:39.240Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:22:39.240Z] de9db76c5a1d: Pull complete [2022-04-10T05:22:39.806Z] 0eba1c9be4d2: Verifying Checksum [2022-04-10T05:22:39.806Z] 0eba1c9be4d2: Download complete [2022-04-10T05:22:39.806Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:22:39.806Z] 85a0685a4137: Download complete [2022-04-10T05:22:43.094Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:22:43.094Z] 0d57e429df01: Pull complete [2022-04-10T05:22:43.094Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:22:43.353Z] e1f770b5df2f: Pull complete [2022-04-10T05:22:46.633Z] 85a0685a4137: Pull complete [2022-04-10T05:22:46.633Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:22:46.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:22:46.633Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:22:46.693Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:22:46.710Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-10T05:22:48.353Z] $ docker top 579332d30d91872972d5ee86edbee06d94afad0d6f5e7207d76dc6132181db42 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:22:48.441Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:22:48.721Z] + set -o pipefail [2022-04-10T05:22:48.721Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:22:54.009Z] [2022-04-10T05:22:54.009Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-04-10T05:22:54.009Z] [2022-04-10T05:22:54.009Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/8a65ff7d-261f-4110-ab65-26a7c557105a [2022-04-10T05:22:54.009Z] [2022-04-10T05:22:54.009Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-10T05:22:54.009Z] [2022-04-10T05:22:54.009Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:22:54.009Z] [2022-04-10T05:22:54.009Z] [Pipeline] } [2022-04-10T05:22:54.011Z] $ docker stop --time=1 579332d30d91872972d5ee86edbee06d94afad0d6f5e7207d76dc6132181db42 [2022-04-10T05:22:55.953Z] $ docker rm -f 579332d30d91872972d5ee86edbee06d94afad0d6f5e7207d76dc6132181db42 [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-10T05:22:56.658Z] + git log --format=format:%s -1 4d191eb3dac98c01714bec6e3dd8edd5055992ab [Pipeline] sh [2022-04-10T05:22:56.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:22:56.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:22:57.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:22:57.246Z] . [Pipeline] withDockerContainer [2022-04-10T05:22:57.311Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:22:57.333Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:22:57.736Z] $ docker top fb179c19fe1f7e2a66ecb85ea018d6e0bf155481189f3be1ce91b2e4bf5a4450 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:22:57.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:22:57.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:22:57.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:22:57.951Z] $ docker exec fb179c19fe1f7e2a66ecb85ea018d6e0bf155481189f3be1ce91b2e4bf5a4450 ssh-agent [2022-04-10T05:22:58.071Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeIHHDo/agent.13 [2022-04-10T05:22:58.071Z] SSH_AGENT_PID=20 [2022-04-10T05:22:58.076Z] Running ssh-add (command line suppressed) [2022-04-10T05:22:58.169Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6836607019287875395.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6836607019287875395.key) [2022-04-10T05:22:58.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:22:58.489Z] + git semver tag [2022-04-10T05:22:58.489Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:22:58.489Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-10T05:22:58.489Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:22:58.489Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:22:58.489Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:22:58.489Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:22:58.489Z] # $SEMVER_BRANCH = main [2022-04-10T05:22:58.489Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-10T05:22:58.489Z] # 4d191eb3dac98c01714bec6e3dd8edd5055992ab HEAD [2022-04-10T05:22:58.489Z] # -> Force: false [2022-04-10T05:22:58.489Z] # 9cb4f749fefcddbb616613102c0a8a33bbf63755 refs/tags/v2.2.0-dev.15 [Pipeline] } [2022-04-10T05:22:58.512Z] $ docker exec --env ******** --env ******** fb179c19fe1f7e2a66ecb85ea018d6e0bf155481189f3be1ce91b2e4bf5a4450 ssh-agent -k [2022-04-10T05:22:58.648Z] unset SSH_AUTH_SOCK; [2022-04-10T05:22:58.648Z] unset SSH_AGENT_PID; [2022-04-10T05:22:58.648Z] echo Agent pid 20 killed; [2022-04-10T05:22:58.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:22:58.985Z] + git semver [Pipeline] } [2022-04-10T05:22:58.985Z] $ docker stop --time=1 fb179c19fe1f7e2a66ecb85ea018d6e0bf155481189f3be1ce91b2e4bf5a4450 [2022-04-10T05:23:00.275Z] $ docker rm -f fb179c19fe1f7e2a66ecb85ea018d6e0bf155481189f3be1ce91b2e4bf5a4450 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:00.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:00.677Z] [2022-04-10T05:23:00.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:00.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:00.973Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:23:00.973Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:23:00.973Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:23:00.973Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:23:00.973Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:23:00.973Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:23:00.973Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:23:00.973Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:23:00.973Z] e9a5061849ea: Waiting [2022-04-10T05:23:00.973Z] d747dcd14b5f: Waiting [2022-04-10T05:23:00.973Z] 0d9ebad4ef96: Waiting [2022-04-10T05:23:00.973Z] 2de7ff778b66: Waiting [2022-04-10T05:23:00.973Z] 9712f1f96733: Download complete [2022-04-10T05:23:01.233Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:23:01.233Z] 63f879dbbcfc: Download complete [2022-04-10T05:23:01.493Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:23:01.493Z] 0d9ebad4ef96: Download complete [2022-04-10T05:23:01.493Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:23:01.493Z] e9a5061849ea: Download complete [2022-04-10T05:23:01.493Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:23:01.493Z] d747dcd14b5f: Download complete [2022-04-10T05:23:01.493Z] ab5ef0e58194: Verifying Checksum [2022-04-10T05:23:01.493Z] ab5ef0e58194: Download complete [2022-04-10T05:23:01.493Z] 2de7ff778b66: Verifying Checksum [2022-04-10T05:23:01.493Z] 2de7ff778b66: Download complete [2022-04-10T05:23:04.036Z] ab5ef0e58194: Pull complete [2022-04-10T05:23:04.036Z] 9712f1f96733: Pull complete [2022-04-10T05:23:04.971Z] 63f879dbbcfc: Pull complete [2022-04-10T05:23:08.259Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:23:08.518Z] e9a5061849ea: Pull complete [2022-04-10T05:23:08.518Z] d747dcd14b5f: Pull complete [2022-04-10T05:23:09.454Z] 2de7ff778b66: Pull complete [2022-04-10T05:23:09.454Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:23:09.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:23:09.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:23:09.519Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:23:09.537Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-10T05:23:11.289Z] $ docker top fd61a151945c54de29d666a2f55d86e1a7ea3e78f9e0679e4afa9664738116ca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:23:11.375Z] provisioning config files... [2022-04-10T05:23:11.384Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6838095238744683130tmp [2022-04-10T05:23:11.395Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config803792159423490293tmp [2022-04-10T05:23:11.406Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8694027323145922924tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:23:11.420Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:11.707Z] ---> sigul-configuration.sh [2022-04-10T05:23:11.707Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:23:11.707Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:23:11.707Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:23:11.707Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:23:11.707Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:23:11.707Z] gpg: CAST5 encrypted data [2022-04-10T05:23:11.707Z] gpg: encrypted with 1 passphrase [2022-04-10T05:23:11.707Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:23:12.001Z] + mkdir /home/jenkins [2022-04-10T05:23:12.001Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:23:12.288Z] + 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-10T05:23:12.297Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:12.581Z] ---> sigul-install.sh [2022-04-10T05:23:12.581Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:23:12.868Z] + git tag --list [2022-04-10T05:23:12.868Z] 0.7.1 [2022-04-10T05:23:12.868Z] v1.0.0 [2022-04-10T05:23:12.868Z] v1.1.0 [2022-04-10T05:23:12.868Z] v1.1.1 [2022-04-10T05:23:12.868Z] v1.2.2 [2022-04-10T05:23:12.868Z] v1.3.0 [2022-04-10T05:23:12.868Z] v1.3.1 [2022-04-10T05:23:12.868Z] v2.0.0 [2022-04-10T05:23:12.868Z] v2.0.1-dev.1 [2022-04-10T05:23:12.868Z] v2.0.1-dev.10 [2022-04-10T05:23:12.868Z] v2.0.1-dev.11 [2022-04-10T05:23:12.868Z] v2.0.1-dev.12 [2022-04-10T05:23:12.868Z] v2.0.1-dev.13 [2022-04-10T05:23:12.868Z] v2.0.1-dev.14 [2022-04-10T05:23:12.868Z] v2.0.1-dev.15 [2022-04-10T05:23:12.868Z] v2.0.1-dev.16 [2022-04-10T05:23:12.868Z] v2.0.1-dev.17 [2022-04-10T05:23:12.868Z] v2.0.1-dev.2 [2022-04-10T05:23:12.868Z] v2.0.1-dev.3 [2022-04-10T05:23:12.868Z] v2.0.1-dev.4 [2022-04-10T05:23:12.868Z] v2.0.1-dev.5 [2022-04-10T05:23:12.868Z] v2.0.1-dev.6 [2022-04-10T05:23:12.868Z] v2.0.1-dev.7 [2022-04-10T05:23:12.868Z] v2.0.1-dev.8 [2022-04-10T05:23:12.868Z] v2.0.1-dev.9 [2022-04-10T05:23:12.868Z] v2.1.0 [2022-04-10T05:23:12.868Z] v2.2.0-dev.1 [2022-04-10T05:23:12.868Z] v2.2.0-dev.10 [2022-04-10T05:23:12.868Z] v2.2.0-dev.11 [2022-04-10T05:23:12.868Z] v2.2.0-dev.12 [2022-04-10T05:23:12.868Z] v2.2.0-dev.13 [2022-04-10T05:23:12.868Z] v2.2.0-dev.14 [2022-04-10T05:23:12.868Z] v2.2.0-dev.15 [2022-04-10T05:23:12.868Z] v2.2.0-dev.2 [2022-04-10T05:23:12.868Z] v2.2.0-dev.3 [2022-04-10T05:23:12.868Z] v2.2.0-dev.4 [2022-04-10T05:23:12.868Z] v2.2.0-dev.5 [2022-04-10T05:23:12.868Z] v2.2.0-dev.6 [2022-04-10T05:23:12.868Z] v2.2.0-dev.7 [2022-04-10T05:23:12.868Z] v2.2.0-dev.8 [2022-04-10T05:23:12.868Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-10T05:23:13.158Z] + lftools sign git-tag v2.2.0-dev.15 [2022-04-10T05:23:13.726Z] Signing Git tag with Sigul... [2022-04-10T05:23:13.726Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-04-10T05:23:13.996Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:14.281Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:23:14.289Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:23:14.296Z] $ docker stop --time=1 fd61a151945c54de29d666a2f55d86e1a7ea3e78f9e0679e4afa9664738116ca [2022-04-10T05:23:15.578Z] $ docker rm -f fd61a151945c54de29d666a2f55d86e1a7ea3e78f9e0679e4afa9664738116ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:23:16.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:23:16.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:16.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:23:16.295Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:16.359Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:23:16.379Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:23:16.811Z] $ docker top 3a4a3d2fa1fa6895eb935e2f96a099e4c3b3fb9034280d805b231e9a225f9b1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:23:16.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:23:16.919Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:23:17.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:23:17.023Z] $ docker exec 3a4a3d2fa1fa6895eb935e2f96a099e4c3b3fb9034280d805b231e9a225f9b1d ssh-agent [2022-04-10T05:23:17.158Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhKBikb/agent.15 [2022-04-10T05:23:17.158Z] SSH_AGENT_PID=21 [2022-04-10T05:23:17.163Z] Running ssh-add (command line suppressed) [2022-04-10T05:23:17.255Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8932368105533036482.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8932368105533036482.key) [2022-04-10T05:23:17.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:23:17.573Z] + git semver bump pre [2022-04-10T05:23:17.573Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:23:17.573Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-10T05:23:17.573Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:23:17.573Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:23:17.573Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:23:17.573Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:23:17.573Z] # $SEMVER_BRANCH = main [2022-04-10T05:23:17.573Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-04-10T05:23:17.573Z] 2.2.0-dev.16 [Pipeline] } [2022-04-10T05:23:17.570Z] $ docker exec --env ******** --env ******** 3a4a3d2fa1fa6895eb935e2f96a099e4c3b3fb9034280d805b231e9a225f9b1d ssh-agent -k [2022-04-10T05:23:17.677Z] unset SSH_AUTH_SOCK; [2022-04-10T05:23:17.677Z] unset SSH_AGENT_PID; [2022-04-10T05:23:17.677Z] echo Agent pid 21 killed; [2022-04-10T05:23:17.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:23:18.010Z] + git semver [Pipeline] } [2022-04-10T05:23:18.011Z] $ docker stop --time=1 3a4a3d2fa1fa6895eb935e2f96a099e4c3b3fb9034280d805b231e9a225f9b1d [2022-04-10T05:23:19.287Z] $ docker rm -f 3a4a3d2fa1fa6895eb935e2f96a099e4c3b3fb9034280d805b231e9a225f9b1d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:23:19.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:23:19.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:19.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:23:19.941Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:20.003Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:23:20.020Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:23:20.379Z] $ docker top 2cf32a80338dfd35e97a0a276b2dd6069d3be59cb79269ec7cd73f44f48f0e4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:23:20.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:23:20.483Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:23:20.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:23:20.586Z] $ docker exec 2cf32a80338dfd35e97a0a276b2dd6069d3be59cb79269ec7cd73f44f48f0e4b ssh-agent [2022-04-10T05:23:20.721Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhLkFco/agent.13 [2022-04-10T05:23:20.721Z] SSH_AGENT_PID=19 [2022-04-10T05:23:20.725Z] Running ssh-add (command line suppressed) [2022-04-10T05:23:20.821Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5650069506140426522.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5650069506140426522.key) [2022-04-10T05:23:20.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:23:21.136Z] + git semver push [2022-04-10T05:23:21.137Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:23:21.137Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-04-10T05:23:21.137Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:23:21.137Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:23:21.137Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:23:21.137Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:23:21.137Z] # $SEMVER_BRANCH = main [2022-04-10T05:23:21.137Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-04-10T05:23:22.516Z] $ docker exec --env ******** --env ******** 2cf32a80338dfd35e97a0a276b2dd6069d3be59cb79269ec7cd73f44f48f0e4b ssh-agent -k [2022-04-10T05:23:22.625Z] unset SSH_AUTH_SOCK; [2022-04-10T05:23:22.625Z] unset SSH_AGENT_PID; [2022-04-10T05:23:22.625Z] echo Agent pid 19 killed; [2022-04-10T05:23:22.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:23:23.028Z] + git semver [Pipeline] } [2022-04-10T05:23:23.059Z] $ docker stop --time=1 2cf32a80338dfd35e97a0a276b2dd6069d3be59cb79269ec7cd73f44f48f0e4b [2022-04-10T05:23:24.340Z] $ docker rm -f 2cf32a80338dfd35e97a0a276b2dd6069d3be59cb79269ec7cd73f44f48f0e4b [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-10T05:23:24.909Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-04-10T05:23:24.909Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-10T05:23:24.909Z] total 16 [2022-04-10T05:23:24.909Z] drwxr-xr-x 3 root root 4096 Apr 10 05:07 . [2022-04-10T05:23:24.909Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. [2022-04-10T05:23:24.909Z] drwxr-xr-x 2 root root 4096 Apr 10 05:07 cost [2022-04-10T05:23:24.909Z] -rw-r--r-- 1 root root 84 Apr 10 05:07 cost.csv [2022-04-10T05:23:24.909Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-10T05:23:24.909Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-04-10T05:23:24.909Z] total 16 [2022-04-10T05:23:24.909Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:07 . [2022-04-10T05:23:24.909Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. [2022-04-10T05:23:24.909Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:07 cost [2022-04-10T05:23:24.909Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 10 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:25.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:26.081Z] ---> package-listing.sh [2022-04-10T05:23:26.081Z] ++ facter osfamily [2022-04-10T05:23:26.081Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:23:26.343Z] + OS_FAMILY=debian [2022-04-10T05:23:26.343Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-04-10T05:23:26.343Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:23:26.343Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:23:26.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:23:26.343Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:23:26.343Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-10T05:23:26.343Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:23:26.343Z] + case "${OS_FAMILY}" in [2022-04-10T05:23:26.343Z] + dpkg -l [2022-04-10T05:23:26.343Z] + grep '^ii' [2022-04-10T05:23:26.343Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:23:26.343Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:23:26.343Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:23:26.343Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-04-10T05:23:26.343Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-04-10T05:23:26.343Z] + 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-10T05:23:26.355Z] 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-10T05:23:26.632Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:23:27.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:23:27.188Z] . [Pipeline] withDockerContainer [2022-04-10T05:23:27.263Z] prd-ubuntu20.04-docker-8c-8g-11759 does not seem to be running inside a container [2022-04-10T05:23:27.286Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:23:27.532Z] $ docker top b8b38a33608bdb35c940b0e67882178e83b694e328028248e7a6df24f3e1f91f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:23:27.906Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:23:28.188Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:23:28.470Z] + ls /var/log/sa-host [2022-04-10T05:23:28.470Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:23:28.555Z] provisioning config files... [2022-04-10T05:23:28.565Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1710554833733127843tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:23:28.581Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:28.863Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:23:28.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:29.192Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:23:29.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:29.486Z] ---> sudo-logs.sh [2022-04-10T05:23:29.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:23:29.515Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:29.802Z] ---> job-cost.sh [2022-04-10T05:23:29.802Z] lf-activate-venv: SKIPPING [2022-04-10T05:23:29.802Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:23:29.802Z] INFO: Retrieving Stack Cost... [2022-04-10T05:23:30.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:23:30.633Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:23:30.646Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:23:30.935Z] ---> logs-deploy.sh [2022-04-10T05:23:30.935Z] lf-activate-venv: SKIPPING [2022-04-10T05:23:30.935Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/36 [2022-04-10T05:23:30.935Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:23:31.872Z] Archives upload complete. [2022-04-10T05:23:31.872Z] INFO: archiving logs to Nexus