Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 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-ssh17099062840953059086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh10588540411241400056.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17690203311791254780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh1506457936454070365.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh868003707925128644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19752 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 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec (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 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403)" > git rev-list --no-walk 96cabdd59aa851e4a49b1fc08506526fb97387b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T20:17:50.246Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T20:17:50.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T20:17:50.317Z] ========================================================= [2022-07-12T20:17:50.317Z] EdgeX Global Pipelines Version Info [2022-07-12T20:17:50.317Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:17:51.087Z] ------------------- [2022-07-12T20:17:51.087Z] stable info: [2022-07-12T20:17:51.087Z] ------------------- [2022-07-12T20:17:51.087Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T20:17:51.087Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:17:51.087Z] Message: update stable to v1.0.237 [2022-07-12T20:17:51.660Z] ------------------- [2022-07-12T20:17:51.660Z] experimental info: [2022-07-12T20:17:51.660Z] ------------------- [2022-07-12T20:17:51.660Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T20:17:51.660Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:17:51.660Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T20:17:51.903Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-07-12T20:17:51.915Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-07-12T20:17:51.929Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T20:17:51.938Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T20:17:51.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T20:17:51.962Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T20:17:51.973Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T20:17:51.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T20:17:51.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T20:17:52.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T20:17:52.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T20:17:52.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-07-12T20:17:52.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T20:17:52.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T20:17:52.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:17:52.076Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:17:52.088Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:17:52.101Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:17:52.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T20:17:52.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T20:17:52.134Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T20:17:52.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T20:17:52.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T20:17:52.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T20:17:52.181Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T20:17:52.192Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T20:17:52.204Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T20:17:52.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T20:17:52.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T20:17:52.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T20:17:52.256Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo [2022-07-12T20:17:52.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e9452b [Pipeline] echo [2022-07-12T20:17:52.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:17:52.327Z] provisioning config files... [2022-07-12T20:17:52.342Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config91146706008683211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:17:52.648Z] ---> docker-login.sh [2022-07-12T20:17:52.648Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:17:52.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:17:53.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:17:53.174Z] Configure a credential helper to remove this warning. See [2022-07-12T20:17:53.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:17:53.174Z] [2022-07-12T20:17:53.174Z] Login Succeeded [2022-07-12T20:17:53.174Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:17:53.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:17:53.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:17:53.438Z] Configure a credential helper to remove this warning. See [2022-07-12T20:17:53.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:17:53.438Z] [2022-07-12T20:17:53.438Z] Login Succeeded [2022-07-12T20:17:53.438Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:17:53.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:17:53.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:17:53.438Z] Configure a credential helper to remove this warning. See [2022-07-12T20:17:53.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:17:53.438Z] [2022-07-12T20:17:53.438Z] Login Succeeded [2022-07-12T20:17:53.438Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:17:53.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:17:53.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:17:53.700Z] Configure a credential helper to remove this warning. See [2022-07-12T20:17:53.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:17:53.700Z] [2022-07-12T20:17:53.700Z] Login Succeeded [2022-07-12T20:17:53.700Z] docker.io [2022-07-12T20:17:53.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:17:53.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:17:53.962Z] Configure a credential helper to remove this warning. See [2022-07-12T20:17:53.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:17:53.962Z] [2022-07-12T20:17:53.962Z] Login Succeeded [2022-07-12T20:17:53.962Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:17:53.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T20:17:54.356Z] + git rev-list -1 --merges 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec~1..7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo [2022-07-12T20:17:54.396Z] -----------> git rev-list -1 --merges 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec~1..7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [false] [Pipeline] sh [2022-07-12T20:17:54.697Z] + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo [2022-07-12T20:17:54.714Z] ========================================================= [2022-07-12T20:17:54.714Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T20:17:54.714Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:17:55.063Z] + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] echo [2022-07-12T20:17:55.075Z] [semverPrep] GIT_COMMIT: 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec, Commit Message: build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403) [Pipeline] echo [2022-07-12T20:17:55.085Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T20:17:55.448Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:17:55.448Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T20:17:55.448Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T20:17:55.448Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T20:17:55.448Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T20:17:55.448Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T20:17:55.448Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:17:55.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:17:55.862Z] [2022-07-12T20:17:55.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:17:56.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:17:56.171Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T20:17:56.171Z] b85a868b505f: Pulling fs layer [2022-07-12T20:17:56.171Z] e2be974225ed: Pulling fs layer [2022-07-12T20:17:56.171Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T20:17:56.171Z] 988bab9f4d93: Pulling fs layer [2022-07-12T20:17:56.171Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T20:17:56.171Z] eaf3925da568: Pulling fs layer [2022-07-12T20:17:56.171Z] bab4dde63d76: Pulling fs layer [2022-07-12T20:17:56.171Z] bde34c3a00c8: Pulling fs layer [2022-07-12T20:17:56.171Z] b352a97aabf1: Pulling fs layer [2022-07-12T20:17:56.171Z] 4872d77fe225: Pulling fs layer [2022-07-12T20:17:56.171Z] 5851b861e8e6: Pulling fs layer [2022-07-12T20:17:56.171Z] 988bab9f4d93: Waiting [2022-07-12T20:17:56.171Z] bab4dde63d76: Waiting [2022-07-12T20:17:56.171Z] bde34c3a00c8: Waiting [2022-07-12T20:17:56.171Z] 1469e6f7b9e6: Waiting [2022-07-12T20:17:56.171Z] eaf3925da568: Waiting [2022-07-12T20:17:56.171Z] b352a97aabf1: Waiting [2022-07-12T20:17:56.171Z] 4872d77fe225: Waiting [2022-07-12T20:17:56.171Z] 5851b861e8e6: Waiting [2022-07-12T20:17:56.171Z] e2be974225ed: Download complete [2022-07-12T20:17:56.171Z] 988bab9f4d93: Verifying Checksum [2022-07-12T20:17:56.171Z] 988bab9f4d93: Download complete [2022-07-12T20:17:56.433Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T20:17:56.433Z] 1469e6f7b9e6: Download complete [2022-07-12T20:17:56.433Z] 339a4e72a1f5: Download complete [2022-07-12T20:17:56.433Z] eaf3925da568: Verifying Checksum [2022-07-12T20:17:56.433Z] eaf3925da568: Download complete [2022-07-12T20:17:56.433Z] bde34c3a00c8: Download complete [2022-07-12T20:17:56.433Z] b352a97aabf1: Verifying Checksum [2022-07-12T20:17:56.433Z] b352a97aabf1: Download complete [2022-07-12T20:17:56.433Z] 4872d77fe225: Download complete [2022-07-12T20:17:56.433Z] 5851b861e8e6: Verifying Checksum [2022-07-12T20:17:56.433Z] 5851b861e8e6: Download complete [2022-07-12T20:17:56.433Z] b85a868b505f: Verifying Checksum [2022-07-12T20:17:56.433Z] b85a868b505f: Download complete [2022-07-12T20:17:56.693Z] bab4dde63d76: Verifying Checksum [2022-07-12T20:17:56.693Z] bab4dde63d76: Download complete [2022-07-12T20:17:57.636Z] b85a868b505f: Pull complete [2022-07-12T20:17:57.896Z] e2be974225ed: Pull complete [2022-07-12T20:17:58.467Z] 339a4e72a1f5: Pull complete [2022-07-12T20:17:58.467Z] 988bab9f4d93: Pull complete [2022-07-12T20:17:58.727Z] 1469e6f7b9e6: Pull complete [2022-07-12T20:17:58.727Z] eaf3925da568: Pull complete [2022-07-12T20:18:00.639Z] bab4dde63d76: Pull complete [2022-07-12T20:18:00.900Z] bde34c3a00c8: Pull complete [2022-07-12T20:18:00.900Z] b352a97aabf1: Pull complete [2022-07-12T20:18:00.900Z] 4872d77fe225: Pull complete [2022-07-12T20:18:01.161Z] 5851b861e8e6: Pull complete [2022-07-12T20:18:01.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T20:18:01.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:18:01.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:18:01.262Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:18:01.303Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:18:02.594Z] $ docker top 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 -eo pid,comm [2022-07-12T20:18:02.655Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T20:18:02.655Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:18:02.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:18:02.691Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:18:02.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:18:02.825Z] $ docker exec 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent [2022-07-12T20:18:02.945Z] SSH_AUTH_SOCK=/tmp/ssh-EtTARjQFcWJh/agent.34 [2022-07-12T20:18:02.945Z] SSH_AGENT_PID=40 [2022-07-12T20:18:02.952Z] Running ssh-add (command line suppressed) [2022-07-12T20:18:03.080Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_685688391971209641.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_685688391971209641.key) [2022-07-12T20:18:03.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:18:03.386Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T20:18:03.404Z] $ docker exec --env ******** --env ******** 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent -k [2022-07-12T20:18:03.511Z] unset SSH_AUTH_SOCK; [2022-07-12T20:18:03.511Z] unset SSH_AGENT_PID; [2022-07-12T20:18:03.511Z] echo Agent pid 40 killed; [2022-07-12T20:18:03.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T20:18:03.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:18:03.544Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:18:03.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:18:03.674Z] $ docker exec 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent [2022-07-12T20:18:03.792Z] SSH_AUTH_SOCK=/tmp/ssh-fMP1lTgwcNBo/agent.72 [2022-07-12T20:18:03.792Z] SSH_AGENT_PID=79 [2022-07-12T20:18:03.798Z] Running ssh-add (command line suppressed) [2022-07-12T20:18:03.930Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4885572624698635672.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4885572624698635672.key) [2022-07-12T20:18:03.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:18:04.240Z] + git semver init [2022-07-12T20:18:04.501Z] 2022-07-12 20:18:04,433 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T20:18:04.501Z] 2022-07-12 20:18:04,434 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-12T20:18:04.501Z] 2022-07-12 20:18:04,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-07-12T20:18:04.501Z] 2022-07-12 20:18:04,435 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:18:05.448Z] 2022-07-12 20:18:05,095 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-07-12T20:18:05.448Z] 2022-07-12 20:18:05,096 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-07-12T20:18:05.448Z] 2022-07-12 20:18:05,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:18:05.448Z] 2022-07-12 20:18:05,096 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:18:05.448Z] 2.2.1-dev.8 [Pipeline] } [2022-07-12T20:18:05.465Z] $ docker exec --env ******** --env ******** 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 ssh-agent -k [2022-07-12T20:18:05.591Z] unset SSH_AUTH_SOCK; [2022-07-12T20:18:05.591Z] unset SSH_AGENT_PID; [2022-07-12T20:18:05.591Z] echo Agent pid 79 killed; [2022-07-12T20:18:05.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:18:05.913Z] + git semver [Pipeline] } [2022-07-12T20:18:06.195Z] $ docker stop --time=1 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 [2022-07-12T20:18:07.518Z] $ docker rm -f 147b51f77a921d36c2c73324a8f15f9762b520afffad3271d6b0ce9322558622 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:18:07.875Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T20:18:08.144Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T20:18:08.147Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.8 [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-07-12T20:18:08.296Z] provisioning config files... [2022-07-12T20:18:08.307Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9216768724813454135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:18:08.614Z] ---> docker-login.sh [2022-07-12T20:18:08.614Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:18:08.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:08.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:08.614Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:08.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:08.614Z] [2022-07-12T20:18:08.614Z] Login Succeeded [2022-07-12T20:18:08.614Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:18:08.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:08.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:08.875Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:08.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:08.875Z] [2022-07-12T20:18:08.875Z] Login Succeeded [2022-07-12T20:18:08.875Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:18:08.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:08.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:08.875Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:08.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:08.875Z] [2022-07-12T20:18:08.875Z] Login Succeeded [2022-07-12T20:18:08.875Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:18:08.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:09.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:09.137Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:09.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:09.137Z] [2022-07-12T20:18:09.137Z] Login Succeeded [2022-07-12T20:18:09.137Z] docker.io [2022-07-12T20:18:09.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:18:09.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:18:09.397Z] Configure a credential helper to remove this warning. See [2022-07-12T20:18:09.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:18:09.397Z] [2022-07-12T20:18:09.397Z] Login Succeeded [2022-07-12T20:18:09.397Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:18:09.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:18:09.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:18:09.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:18:09.490Z] ========================================================= [2022-07-12T20:18:09.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T20:18:09.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:09.806Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T20:18:09.806Z] Sending build context to Docker daemon 6.071MB [2022-07-12T20:18:09.806Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:18:09.806Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:18:09.806Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T20:18:09.806Z] 2408cc74d12b: Pulling fs layer [2022-07-12T20:18:09.806Z] ea60b727a1ce: Pulling fs layer [2022-07-12T20:18:09.806Z] 30c4a7721957: Pulling fs layer [2022-07-12T20:18:09.806Z] 370296b7ddb6: Pulling fs layer [2022-07-12T20:18:09.806Z] 7c6cee850709: Pulling fs layer [2022-07-12T20:18:09.806Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T20:18:09.806Z] d94ebbe4e438: Pulling fs layer [2022-07-12T20:18:09.806Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T20:18:09.806Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T20:18:09.806Z] 370296b7ddb6: Waiting [2022-07-12T20:18:09.806Z] 7c6cee850709: Waiting [2022-07-12T20:18:09.806Z] 39a5fcdaea64: Waiting [2022-07-12T20:18:09.806Z] d94ebbe4e438: Waiting [2022-07-12T20:18:09.806Z] bcfd1f05c69d: Waiting [2022-07-12T20:18:09.806Z] 30c4a7721957: Download complete [2022-07-12T20:18:09.806Z] ea60b727a1ce: Download complete [2022-07-12T20:18:09.806Z] 7c6cee850709: Verifying Checksum [2022-07-12T20:18:09.806Z] 7c6cee850709: Download complete [2022-07-12T20:18:09.806Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T20:18:09.806Z] 39a5fcdaea64: Download complete [2022-07-12T20:18:10.071Z] 2408cc74d12b: Download complete [2022-07-12T20:18:10.071Z] d94ebbe4e438: Verifying Checksum [2022-07-12T20:18:10.071Z] d94ebbe4e438: Download complete [2022-07-12T20:18:10.071Z] 2408cc74d12b: Pull complete [2022-07-12T20:18:10.071Z] ea60b727a1ce: Pull complete [2022-07-12T20:18:10.343Z] 30c4a7721957: Pull complete [2022-07-12T20:18:10.609Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T20:18:10.609Z] 59ccb84bbe0f: Download complete [2022-07-12T20:18:10.870Z] 370296b7ddb6: Verifying Checksum [2022-07-12T20:18:10.870Z] 370296b7ddb6: Download complete [2022-07-12T20:18:10.870Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T20:18:10.870Z] bcfd1f05c69d: Download complete [2022-07-12T20:18:15.067Z] 370296b7ddb6: Pull complete [2022-07-12T20:18:15.067Z] 7c6cee850709: Pull complete [2022-07-12T20:18:15.067Z] 39a5fcdaea64: Pull complete [2022-07-12T20:18:15.067Z] d94ebbe4e438: Pull complete [2022-07-12T20:18:16.973Z] bcfd1f05c69d: Pull complete [2022-07-12T20:18:17.914Z] 59ccb84bbe0f: Pull complete [2022-07-12T20:18:17.914Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T20:18:17.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T20:18:17.914Z] ---> a4fb48ad2a94 [2022-07-12T20:18:17.914Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:18:19.298Z] ---> Running in 92e3b23eb454 [2022-07-12T20:18:19.559Z] Removing intermediate container 92e3b23eb454 [2022-07-12T20:18:19.559Z] ---> aacae5649ea3 [2022-07-12T20:18:19.559Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:18:19.559Z] ---> Running in e6fbdd1ea06f [2022-07-12T20:18:19.559Z] Removing intermediate container e6fbdd1ea06f [2022-07-12T20:18:19.559Z] ---> 7be9dfb4ac42 [2022-07-12T20:18:19.559Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:18:19.559Z] ---> Running in 3b64d13211ae [2022-07-12T20:18:20.133Z] Removing intermediate container 3b64d13211ae [2022-07-12T20:18:20.133Z] ---> 487a9593ca7d [2022-07-12T20:18:20.133Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:18:20.133Z] ---> Running in 28585d875dde [2022-07-12T20:18:20.700Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:18:21.639Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:18:21.901Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:18:21.901Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:18:22.163Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:18:22.163Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:18:22.163Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:18:22.163Z] OK: 216 MiB in 55 packages [2022-07-12T20:18:22.730Z] Removing intermediate container 28585d875dde [2022-07-12T20:18:22.730Z] ---> 20f9ccf299f5 [2022-07-12T20:18:22.730Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T20:18:22.730Z] ---> Running in 230ac320061d [2022-07-12T20:18:22.730Z] Removing intermediate container 230ac320061d [2022-07-12T20:18:22.730Z] ---> ed9fb6a30b14 [2022-07-12T20:18:22.730Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T20:18:22.991Z] ---> d830021a1f5c [2022-07-12T20:18:22.991Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:18:22.991Z] ---> Running in b65658b2399c [2022-07-12T20:18:23.250Z] Still waiting to schedule task [2022-07-12T20:18:23.250Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-12T20:18:37.893Z] Removing intermediate container b65658b2399c [2022-07-12T20:18:37.893Z] ---> e8da3a107cc8 [2022-07-12T20:18:37.893Z] Step 10/12 : COPY . . [2022-07-12T20:18:37.893Z] ---> 1f0a0ca53e7d [2022-07-12T20:18:37.893Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T20:18:37.893Z] ---> Running in 731442c91138 [2022-07-12T20:18:37.893Z] Removing intermediate container 731442c91138 [2022-07-12T20:18:37.893Z] ---> df82d0328c65 [2022-07-12T20:18:37.893Z] Step 12/12 : RUN $MAKE [2022-07-12T20:18:37.893Z] ---> Running in 31e51749de8f [2022-07-12T20:18:37.893Z] noop [2022-07-12T20:18:37.893Z] Removing intermediate container 31e51749de8f [2022-07-12T20:18:37.893Z] ---> 117a7ff73fa5 [2022-07-12T20:18:37.893Z] Successfully built 117a7ff73fa5 [2022-07-12T20:18:37.893Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:38.212Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:18:38.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:18:38.296Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:18:38.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T20:18:38.762Z] $ docker top d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:18:39.116Z] + go version [2022-07-12T20:18:39.116Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T20:18:39.132Z] $ docker stop --time=1 d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 [2022-07-12T20:18:40.430Z] $ docker rm -f d08d4d8e23a3528347da8be3961fd039e486afaec7bf4dc626710ee08df49ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:18:40.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:18:40.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:18:40.939Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:18:41.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T20:18:42.036Z] $ docker top 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:18:42.430Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:18:42.727Z] + make test [2022-07-12T20:18:42.728Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:18:42.987Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T20:18:53.003Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T20:18:53.003Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-07-12T20:18:53.003Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T20:18:59.602Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-12T20:18:59.602Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:19:02.140Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:19:02.140Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:19:02.140Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:19:02.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:19:02.169Z] $ docker stop --time=1 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce [2022-07-12T20:19:03.829Z] $ docker rm -f 48a5b8c0e5cd8a59e3f0b40d39293bdb9c11cbb7d91c21824d97a7f63ca793ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:19:04.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:19:04.308Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T20:19:04.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:19:05.096Z] + ls -al . [2022-07-12T20:19:05.096Z] total 180 [2022-07-12T20:19:05.096Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:18 . [2022-07-12T20:19:05.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:17 .. [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:17 .dockerignore [2022-07-12T20:19:05.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:18 .git [2022-07-12T20:19:05.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 .github [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:17 .gitignore [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:17 .golangci.yml [2022-07-12T20:19:05.096Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:18 .semver [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:17 Attribution.txt [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:17 CHANGELOG.md [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:17 Dockerfile [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:17 GOVERNANCE.md [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:17 Jenkinsfile [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:17 LICENSE [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:17 Makefile [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:17 OWNERS.md [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:17 README.md [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION [2022-07-12T20:19:05.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:17 bin [2022-07-12T20:19:05.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 cmd [2022-07-12T20:19:05.096Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:18 coverage.out [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:17 go.mod [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 20:17 go.sum [2022-07-12T20:19:05.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:17 internal [2022-07-12T20:19:05.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:17 mock [2022-07-12T20:19:05.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:17 snap [2022-07-12T20:19:05.096Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:05.408Z] + 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=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec --label arch=amd64 --label version=2.2.1-dev.8 . [2022-07-12T20:19:05.408Z] Sending build context to Docker daemon 6.089MB [2022-07-12T20:19:05.408Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:19:05.408Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T20:19:05.408Z] ---> 117a7ff73fa5 [2022-07-12T20:19:05.408Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:19:05.408Z] ---> Running in b21096d433c2 [2022-07-12T20:19:05.666Z] Removing intermediate container b21096d433c2 [2022-07-12T20:19:05.666Z] ---> 13208d582dab [2022-07-12T20:19:05.666Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:19:05.666Z] ---> Running in 011347dedd1b [2022-07-12T20:19:05.666Z] Removing intermediate container 011347dedd1b [2022-07-12T20:19:05.666Z] ---> 088c9c95c469 [2022-07-12T20:19:05.666Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:19:05.666Z] ---> Running in 8afe3fb73318 [2022-07-12T20:19:06.236Z] Removing intermediate container 8afe3fb73318 [2022-07-12T20:19:06.236Z] ---> aac63e96ccff [2022-07-12T20:19:06.236Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:19:06.236Z] ---> Running in 51248f2797fd [2022-07-12T20:19:06.807Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:07.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:08.011Z] OK: 216 MiB in 55 packages [2022-07-12T20:19:08.272Z] Removing intermediate container 51248f2797fd [2022-07-12T20:19:08.272Z] ---> 57eed44f89cc [2022-07-12T20:19:08.272Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T20:19:08.272Z] ---> Running in 3f67ae36971b [2022-07-12T20:19:08.272Z] Removing intermediate container 3f67ae36971b [2022-07-12T20:19:08.272Z] ---> 36ad339ca05f [2022-07-12T20:19:08.272Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T20:19:08.534Z] ---> 2917e567e0a0 [2022-07-12T20:19:08.534Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:19:08.534Z] ---> Running in bda4cd33caa0 [2022-07-12T20:19:09.101Z] Removing intermediate container bda4cd33caa0 [2022-07-12T20:19:09.101Z] ---> 13cfc7d72317 [2022-07-12T20:19:09.101Z] Step 10/24 : COPY . . [2022-07-12T20:19:09.361Z] ---> 85d36d0b85e3 [2022-07-12T20:19:09.361Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T20:19:09.361Z] ---> Running in 89b6d9109ea5 [2022-07-12T20:19:09.621Z] Removing intermediate container 89b6d9109ea5 [2022-07-12T20:19:09.621Z] ---> 006221c2b906 [2022-07-12T20:19:09.621Z] Step 12/24 : RUN $MAKE [2022-07-12T20:19:09.621Z] ---> Running in ab46c13bb495 [2022-07-12T20:19:09.881Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T20:19:28.016Z] Removing intermediate container ab46c13bb495 [2022-07-12T20:19:28.016Z] ---> f8204cf21a23 [2022-07-12T20:19:28.016Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T20:19:28.586Z] 3.16: Pulling from library/alpine [2022-07-12T20:19:28.586Z] 2408cc74d12b: Already exists [2022-07-12T20:19:28.846Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:19:28.846Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:19:28.846Z] ---> e66264b98777 [2022-07-12T20:19:28.846Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T20:19:28.846Z] ---> Running in 18047a55eb03 [2022-07-12T20:19:28.846Z] Removing intermediate container 18047a55eb03 [2022-07-12T20:19:28.846Z] ---> 1718ceca816a [2022-07-12T20:19:28.846Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T20:19:28.846Z] ---> Running in 5f12c1883514 [2022-07-12T20:19:29.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:29.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:19:29.365Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T20:19:29.365Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:19:29.365Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T20:19:29.627Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:19:29.627Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T20:19:29.627Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T20:19:29.627Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:19:29.627Z] OK: 8 MiB in 20 packages [2022-07-12T20:19:29.887Z] Removing intermediate container 5f12c1883514 [2022-07-12T20:19:29.887Z] ---> d225f9f4a6e6 [2022-07-12T20:19:29.887Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T20:19:30.463Z] ---> d6caaa804639 [2022-07-12T20:19:30.463Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T20:19:30.723Z] ---> b4e089fabc2c [2022-07-12T20:19:30.723Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T20:19:30.723Z] ---> 2147523704f1 [2022-07-12T20:19:30.723Z] Step 19/24 : EXPOSE 59982 [2022-07-12T20:19:30.723Z] ---> Running in a8ba2eb802d7 [2022-07-12T20:19:30.987Z] Removing intermediate container a8ba2eb802d7 [2022-07-12T20:19:30.987Z] ---> 683f523c5677 [2022-07-12T20:19:30.987Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T20:19:30.987Z] ---> Running in f12559358141 [2022-07-12T20:19:30.987Z] Removing intermediate container f12559358141 [2022-07-12T20:19:30.987Z] ---> 522ddcabf5bb [2022-07-12T20:19:30.987Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:19:30.987Z] ---> Running in 855a16242ba9 [2022-07-12T20:19:30.987Z] Removing intermediate container 855a16242ba9 [2022-07-12T20:19:30.987Z] ---> 6d93d8a68c6a [2022-07-12T20:19:30.987Z] Step 22/24 : LABEL arch=amd64 [2022-07-12T20:19:31.247Z] ---> Running in 6133b3073a7b [2022-07-12T20:19:31.247Z] Removing intermediate container 6133b3073a7b [2022-07-12T20:19:31.247Z] ---> dd2b706fa2a0 [2022-07-12T20:19:31.247Z] Step 23/24 : LABEL git_sha=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:19:31.247Z] ---> Running in ba4a195f27d0 [2022-07-12T20:19:31.247Z] Removing intermediate container ba4a195f27d0 [2022-07-12T20:19:31.247Z] ---> 1acbe53fe09e [2022-07-12T20:19:31.247Z] Step 24/24 : LABEL version=2.2.1-dev.8 [2022-07-12T20:19:31.247Z] ---> Running in ed57fa2d4e2b [2022-07-12T20:19:31.507Z] Removing intermediate container ed57fa2d4e2b [2022-07-12T20:19:31.507Z] ---> 1d0eb82eb2f6 [2022-07-12T20:19:31.507Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:19:31.507Z] Successfully built 1d0eb82eb2f6 [2022-07-12T20:19:31.507Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:19:31.632Z] provisioning config files... [2022-07-12T20:19:31.642Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1873919739073608053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:19:31.934Z] ---> docker-login.sh [2022-07-12T20:19:31.934Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:19:31.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:31.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:31.934Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:31.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:31.934Z] [2022-07-12T20:19:31.934Z] Login Succeeded [2022-07-12T20:19:31.934Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:19:31.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:32.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:32.194Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:32.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:32.194Z] [2022-07-12T20:19:32.194Z] Login Succeeded [2022-07-12T20:19:32.194Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:19:32.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:32.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:32.194Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:32.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:32.194Z] [2022-07-12T20:19:32.194Z] Login Succeeded [2022-07-12T20:19:32.194Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:19:32.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:32.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:32.455Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:32.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:32.455Z] [2022-07-12T20:19:32.455Z] Login Succeeded [2022-07-12T20:19:32.455Z] docker.io [2022-07-12T20:19:32.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:32.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:32.716Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:32.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:32.716Z] [2022-07-12T20:19:32.716Z] Login Succeeded [2022-07-12T20:19:32.716Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:19:32.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:19:32.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:19:32.780Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-07-12T20:19:32.780Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:19:32.780Z] latest [2022-07-12T20:19:32.780Z] 2.2.1-dev.8 [2022-07-12T20:19:32.780Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:19:32.780Z] main [2022-07-12T20:19:32.780Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:33.114Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:33.434Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:19:33.434Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T20:19:33.434Z] 95aed5932913: Preparing [2022-07-12T20:19:33.434Z] 50b0a2a752e6: Preparing [2022-07-12T20:19:33.434Z] 9bd77c978844: Preparing [2022-07-12T20:19:33.434Z] 187ae16dfd0a: Preparing [2022-07-12T20:19:33.434Z] 24302eb7d908: Preparing [2022-07-12T20:19:33.434Z] 24302eb7d908: Layer already exists [2022-07-12T20:19:33.434Z] 95aed5932913: Pushed [2022-07-12T20:19:33.434Z] 50b0a2a752e6: Pushed [2022-07-12T20:19:33.698Z] 187ae16dfd0a: Pushed [2022-07-12T20:19:36.240Z] 9bd77c978844: Pushed [2022-07-12T20:19:36.240Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:36.567Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:36.893Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-12T20:19:36.893Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T20:19:36.893Z] 95aed5932913: Preparing [2022-07-12T20:19:36.893Z] 50b0a2a752e6: Preparing [2022-07-12T20:19:36.893Z] 9bd77c978844: Preparing [2022-07-12T20:19:36.893Z] 187ae16dfd0a: Preparing [2022-07-12T20:19:36.893Z] 24302eb7d908: Preparing [2022-07-12T20:19:36.893Z] 95aed5932913: Layer already exists [2022-07-12T20:19:36.893Z] 187ae16dfd0a: Layer already exists [2022-07-12T20:19:36.893Z] 24302eb7d908: Layer already exists [2022-07-12T20:19:36.893Z] 50b0a2a752e6: Layer already exists [2022-07-12T20:19:36.893Z] 9bd77c978844: Layer already exists [2022-07-12T20:19:36.893Z] latest: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:37.211Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:37.529Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 [2022-07-12T20:19:37.529Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T20:19:37.529Z] 95aed5932913: Preparing [2022-07-12T20:19:37.529Z] 50b0a2a752e6: Preparing [2022-07-12T20:19:37.529Z] 9bd77c978844: Preparing [2022-07-12T20:19:37.529Z] 187ae16dfd0a: Preparing [2022-07-12T20:19:37.529Z] 24302eb7d908: Preparing [2022-07-12T20:19:37.529Z] 95aed5932913: Layer already exists [2022-07-12T20:19:37.529Z] 50b0a2a752e6: Layer already exists [2022-07-12T20:19:37.529Z] 187ae16dfd0a: Layer already exists [2022-07-12T20:19:37.529Z] 24302eb7d908: Layer already exists [2022-07-12T20:19:37.529Z] 9bd77c978844: Layer already exists [2022-07-12T20:19:37.529Z] 2.2.1-dev.8: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:37.845Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:38.156Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:19:38.156Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T20:19:38.156Z] 95aed5932913: Preparing [2022-07-12T20:19:38.156Z] 50b0a2a752e6: Preparing [2022-07-12T20:19:38.156Z] 9bd77c978844: Preparing [2022-07-12T20:19:38.156Z] 187ae16dfd0a: Preparing [2022-07-12T20:19:38.156Z] 24302eb7d908: Preparing [2022-07-12T20:19:38.156Z] 50b0a2a752e6: Layer already exists [2022-07-12T20:19:38.156Z] 95aed5932913: Layer already exists [2022-07-12T20:19:38.156Z] 24302eb7d908: Layer already exists [2022-07-12T20:19:38.156Z] 187ae16dfd0a: Layer already exists [2022-07-12T20:19:38.156Z] 9bd77c978844: Layer already exists [2022-07-12T20:19:38.156Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:38.525Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:38.837Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-07-12T20:19:38.837Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-07-12T20:19:38.837Z] 95aed5932913: Preparing [2022-07-12T20:19:38.837Z] 50b0a2a752e6: Preparing [2022-07-12T20:19:38.837Z] 9bd77c978844: Preparing [2022-07-12T20:19:38.837Z] 187ae16dfd0a: Preparing [2022-07-12T20:19:38.837Z] 24302eb7d908: Preparing [2022-07-12T20:19:38.837Z] 24302eb7d908: Layer already exists [2022-07-12T20:19:38.837Z] 95aed5932913: Layer already exists [2022-07-12T20:19:38.837Z] 9bd77c978844: Layer already exists [2022-07-12T20:19:38.837Z] 187ae16dfd0a: Layer already exists [2022-07-12T20:19:38.837Z] 50b0a2a752e6: Layer already exists [2022-07-12T20:19:38.837Z] main: digest: sha256:50bfd0244cf6fd4f67540c5bc914a5e8d68c688d675fa875a54b514f6f38b46a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:19:38.894Z] ===================================================== [Pipeline] echo [2022-07-12T20:19:38.903Z] taggedImages: [2022-07-12T20:19:38.903Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:19:38.903Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-07-12T20:19:38.903Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.8 [2022-07-12T20:19:38.903Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:19:38.903Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:39.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:19:39.285Z] [2022-07-12T20:19:39.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:39.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:19:39.587Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T20:19:39.587Z] 5eb5b503b376: Pulling fs layer [2022-07-12T20:19:39.587Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T20:19:39.587Z] ec43610c2a17: Pulling fs layer [2022-07-12T20:19:39.587Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T20:19:39.587Z] 33b1e0a273af: Pulling fs layer [2022-07-12T20:19:39.587Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T20:19:39.587Z] 2f39f015ded8: Pulling fs layer [2022-07-12T20:19:39.587Z] 3a2ae6a8a46f: Waiting [2022-07-12T20:19:39.587Z] 33b1e0a273af: Waiting [2022-07-12T20:19:39.587Z] 5d3b04190fa2: Waiting [2022-07-12T20:19:39.587Z] 2f39f015ded8: Waiting [2022-07-12T20:19:39.587Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T20:19:39.587Z] 5c69ac0246d0: Download complete [2022-07-12T20:19:39.587Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T20:19:39.587Z] 3a2ae6a8a46f: Download complete [2022-07-12T20:19:39.587Z] 33b1e0a273af: Download complete [2022-07-12T20:19:39.587Z] 5d3b04190fa2: Download complete [2022-07-12T20:19:39.847Z] ec43610c2a17: Verifying Checksum [2022-07-12T20:19:39.847Z] ec43610c2a17: Download complete [2022-07-12T20:19:39.847Z] 5eb5b503b376: Verifying Checksum [2022-07-12T20:19:39.847Z] 5eb5b503b376: Download complete [2022-07-12T20:19:40.417Z] 2f39f015ded8: Download complete [2022-07-12T20:19:40.987Z] 5eb5b503b376: Pull complete [2022-07-12T20:19:41.247Z] 5c69ac0246d0: Pull complete [2022-07-12T20:19:41.815Z] ec43610c2a17: Pull complete [2022-07-12T20:19:41.815Z] 3a2ae6a8a46f: Pull complete [2022-07-12T20:19:42.075Z] 33b1e0a273af: Pull complete [2022-07-12T20:19:42.075Z] 5d3b04190fa2: Pull complete [2022-07-12T20:19:46.268Z] 2f39f015ded8: Pull complete [2022-07-12T20:19:46.268Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T20:19:46.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:19:46.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:19:46.363Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:19:46.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T20:19:47.945Z] $ docker top f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:19:48.339Z] ---> job-cost.sh [2022-07-12T20:19:48.339Z] lf-activate-venv: SKIPPING [2022-07-12T20:19:48.339Z] INFO: No Stack... [2022-07-12T20:19:48.601Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:19:49.170Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:19:49.464Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-07-12T20:19:49.464Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T20:19:49.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [2022-07-12T20:19:49.484Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] did not exist. Created. [2022-07-12T20:19:49.484Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:19:49.781Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T20:19:49.810Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:19:49.817Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:19:49.839Z] $ docker stop --time=1 f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 [2022-07-12T20:19:51.006Z] $ docker rm -f f2aa59f7b847e4d5b3f5160d97ae6fafd9b66b47c3707f33dc39f0bc16a82ac3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T20:19:59.433Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19755 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-07-12T20:19:59.446Z] Running in /w/workspace/device-mqtt-go/55 [Pipeline] { [Pipeline] checkout [2022-07-12T20:19:59.495Z] Selected Git installation does not exist. Using Default [2022-07-12T20:19:59.495Z] The recommended git tool is: NONE [2022-07-12T20:20:06.625Z] using credential edgex-jenkins-ssh [2022-07-12T20:20:06.645Z] Cloning the remote Git repository [2022-07-12T20:20:06.739Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:20:06.849Z] > git init /w/workspace/device-mqtt-go/55 # timeout=10 [2022-07-12T20:20:06.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:20:06.944Z] > git --version # timeout=10 [2022-07-12T20:20:06.966Z] > git --version # 'git version 2.25.1' [2022-07-12T20:20:06.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:20:07.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:20:08.038Z] Avoid second fetch [2022-07-12T20:20:08.039Z] Checking out Revision 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec (main) [2022-07-12T20:20:08.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-12T20:20:08.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:20:08.067Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T20:20:08.084Z] > git checkout -f 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 [2022-07-12T20:20:12.303Z] Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script (#403)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:20:13.194Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T20:20:13.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:20:13.194Z] Dload Upload Total Spent Left Speed [2022-07-12T20:20:13.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 78191 0 --:--:-- --:--:-- --:--:-- 78692 [Pipeline] sh [2022-07-12T20:20:14.051Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T20:20:14.425Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T20:20:14.425Z] + sudo tee /etc/docker/daemon.new [2022-07-12T20:20:14.425Z] { [2022-07-12T20:20:14.425Z] "registry-mirrors": [ [2022-07-12T20:20:14.425Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T20:20:14.425Z] ], [2022-07-12T20:20:14.425Z] "bip": "10.250.0.254/24", [2022-07-12T20:20:14.425Z] "hosts": [ [2022-07-12T20:20:14.425Z] "tcp://0.0.0.0:5555", [2022-07-12T20:20:14.425Z] "unix:///var/run/docker.sock" [2022-07-12T20:20:14.425Z] ], [2022-07-12T20:20:14.425Z] "mtu": 1458, [2022-07-12T20:20:14.425Z] "selinux-enabled": true, [2022-07-12T20:20:14.425Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T20:20:14.425Z] } [Pipeline] sh [2022-07-12T20:20:14.789Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T20:20:15.140Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:20:33.502Z] provisioning config files... [2022-07-12T20:20:33.530Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config36633273667653787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:20:34.080Z] ---> docker-login.sh [2022-07-12T20:20:34.080Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:20:34.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:34.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:34.949Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:34.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:34.949Z] [2022-07-12T20:20:34.949Z] Login Succeeded [2022-07-12T20:20:34.949Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:20:35.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:35.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:35.497Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:35.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:35.497Z] [2022-07-12T20:20:35.497Z] Login Succeeded [2022-07-12T20:20:35.497Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:20:35.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:36.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:36.048Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:36.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:36.048Z] [2022-07-12T20:20:36.048Z] Login Succeeded [2022-07-12T20:20:36.048Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:20:36.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:36.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:36.595Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:36.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:36.595Z] [2022-07-12T20:20:36.595Z] Login Succeeded [2022-07-12T20:20:36.595Z] docker.io [2022-07-12T20:20:36.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:20:37.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:20:37.144Z] Configure a credential helper to remove this warning. See [2022-07-12T20:20:37.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:20:37.144Z] [2022-07-12T20:20:37.144Z] Login Succeeded [2022-07-12T20:20:37.144Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:20:37.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:20:37.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:20:37.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:20:37.427Z] ========================================================= [2022-07-12T20:20:37.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T20:20:37.427Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:37.790Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T20:20:38.064Z] Sending build context to Docker daemon 3.133MB [2022-07-12T20:20:38.343Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:20:38.343Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:20:38.343Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T20:20:38.343Z] b3c136eddcbf: Pulling fs layer [2022-07-12T20:20:38.343Z] c0a3192eca97: Pulling fs layer [2022-07-12T20:20:38.343Z] a050256f5b6f: Pulling fs layer [2022-07-12T20:20:38.343Z] 656be50a0ddc: Pulling fs layer [2022-07-12T20:20:38.343Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T20:20:38.343Z] 46d945488cbd: Pulling fs layer [2022-07-12T20:20:38.343Z] 8a5474983e97: Pulling fs layer [2022-07-12T20:20:38.343Z] 329c88fbcd65: Pulling fs layer [2022-07-12T20:20:38.343Z] 656be50a0ddc: Waiting [2022-07-12T20:20:38.343Z] 2bbca73fdf42: Waiting [2022-07-12T20:20:38.343Z] 46d945488cbd: Waiting [2022-07-12T20:20:38.343Z] 8a5474983e97: Waiting [2022-07-12T20:20:38.343Z] 329c88fbcd65: Waiting [2022-07-12T20:20:38.343Z] a050256f5b6f: Verifying Checksum [2022-07-12T20:20:38.343Z] a050256f5b6f: Download complete [2022-07-12T20:20:38.343Z] c0a3192eca97: Verifying Checksum [2022-07-12T20:20:38.343Z] c0a3192eca97: Download complete [2022-07-12T20:20:38.343Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T20:20:38.343Z] 46d945488cbd: Verifying Checksum [2022-07-12T20:20:38.343Z] 46d945488cbd: Download complete [2022-07-12T20:20:38.621Z] b3c136eddcbf: Verifying Checksum [2022-07-12T20:20:38.621Z] b3c136eddcbf: Download complete [2022-07-12T20:20:39.629Z] b3c136eddcbf: Pull complete [2022-07-12T20:20:39.629Z] 329c88fbcd65: Verifying Checksum [2022-07-12T20:20:39.629Z] 329c88fbcd65: Download complete [2022-07-12T20:20:40.238Z] c0a3192eca97: Pull complete [2022-07-12T20:20:40.514Z] a050256f5b6f: Pull complete [2022-07-12T20:20:40.792Z] 8a5474983e97: Verifying Checksum [2022-07-12T20:20:40.792Z] 8a5474983e97: Download complete [2022-07-12T20:20:41.392Z] 656be50a0ddc: Download complete [2022-07-12T20:20:53.821Z] 656be50a0ddc: Pull complete [2022-07-12T20:20:53.821Z] 2bbca73fdf42: Pull complete [2022-07-12T20:20:54.104Z] 46d945488cbd: Pull complete [2022-07-12T20:21:00.843Z] 8a5474983e97: Pull complete [2022-07-12T20:21:02.837Z] 329c88fbcd65: Pull complete [2022-07-12T20:21:02.837Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T20:21:02.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T20:21:02.837Z] ---> ff4287adb874 [2022-07-12T20:21:02.837Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:21:05.480Z] ---> Running in c41885b18635 [2022-07-12T20:21:05.755Z] Removing intermediate container c41885b18635 [2022-07-12T20:21:05.755Z] ---> e9c13f05929a [2022-07-12T20:21:05.755Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:21:06.034Z] ---> Running in db01d8c89239 [2022-07-12T20:21:06.314Z] Removing intermediate container db01d8c89239 [2022-07-12T20:21:06.314Z] ---> e1cc4c750922 [2022-07-12T20:21:06.314Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:21:06.595Z] ---> Running in 7eeb822adc59 [2022-07-12T20:21:09.239Z] Removing intermediate container 7eeb822adc59 [2022-07-12T20:21:09.239Z] ---> 1b76cddf926b [2022-07-12T20:21:09.239Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:21:09.239Z] ---> Running in 1531e3588054 [2022-07-12T20:21:10.225Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:21:11.211Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:21:12.195Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:21:12.195Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:21:12.467Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:21:12.467Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:21:12.744Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:21:12.744Z] OK: 226 MiB in 55 packages [2022-07-12T20:21:13.732Z] Removing intermediate container 1531e3588054 [2022-07-12T20:21:13.732Z] ---> 4ebe36b30f4b [2022-07-12T20:21:13.732Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T20:21:13.732Z] ---> Running in 77ff1274f48f [2022-07-12T20:21:14.329Z] Removing intermediate container 77ff1274f48f [2022-07-12T20:21:14.329Z] ---> 20e1f97b54d8 [2022-07-12T20:21:14.329Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T20:21:14.935Z] ---> cee91e2ad051 [2022-07-12T20:21:14.935Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:21:14.935Z] ---> Running in 405e6686a87d [2022-07-12T20:22:01.970Z] Removing intermediate container 405e6686a87d [2022-07-12T20:22:01.970Z] ---> fbfbf729b91b [2022-07-12T20:22:01.970Z] Step 10/12 : COPY . . [2022-07-12T20:22:02.256Z] ---> a2a64c05a76a [2022-07-12T20:22:02.256Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T20:22:02.256Z] ---> Running in 094c46e98848 [2022-07-12T20:22:02.535Z] Removing intermediate container 094c46e98848 [2022-07-12T20:22:02.535Z] ---> 3cef8c25b13d [2022-07-12T20:22:02.535Z] Step 12/12 : RUN $MAKE [2022-07-12T20:22:02.808Z] ---> Running in 3f872923b52a [2022-07-12T20:22:03.793Z] noop [2022-07-12T20:22:04.391Z] Removing intermediate container 3f872923b52a [2022-07-12T20:22:04.391Z] ---> 6f366d9ee1ef [2022-07-12T20:22:04.391Z] Successfully built 6f366d9ee1ef [2022-07-12T20:22:04.391Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:22:04.763Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:22:04.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:22:05.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container [2022-07-12T20:22:05.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-12T20:22:06.375Z] $ docker top 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:22:07.279Z] + go version [2022-07-12T20:22:07.279Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T20:22:07.309Z] $ docker stop --time=1 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa [2022-07-12T20:22:08.981Z] $ docker rm -f 1d23273ac43d078e6c2c8e986a09848ff3c4e34bc01a275b14631014288fc9aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:22:09.620Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:22:09.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:22:09.905Z] prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container [2022-07-12T20:22:10.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-12T20:22:11.416Z] $ docker top 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:22:12.366Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/55 [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:22:13.043Z] + make test [2022-07-12T20:22:13.043Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:22:15.031Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T20:23:52.002Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T20:23:52.002Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-07-12T20:23:52.002Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T20:23:52.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T20:23:52.002Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:24:10.350Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:24:10.350Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:24:10.350Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:24:10.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:24:10.669Z] $ docker stop --time=1 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e [2022-07-12T20:24:12.536Z] $ docker rm -f 56471ba78aa7719d0303403f6fb0122ffb72847b3547e2e537965b4b0736af3e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:24:13.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:24:13.640Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T20:24:14.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:24:14.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:24:15.205Z] + ls -al . [2022-07-12T20:24:15.205Z] total 176 [2022-07-12T20:24:15.205Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 20:22 . [2022-07-12T20:24:15.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:20 .. [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:20 .dockerignore [2022-07-12T20:24:15.205Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:20 .git [2022-07-12T20:24:15.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 .github [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:20 .gitignore [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:20 .golangci.yml [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:20 Attribution.txt [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:20 CHANGELOG.md [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:20 Dockerfile [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:20 GOVERNANCE.md [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:20 Jenkinsfile [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:20 LICENSE [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:20 Makefile [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:20 OWNERS.md [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:20 README.md [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 20:18 VERSION [2022-07-12T20:24:15.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:20 bin [2022-07-12T20:24:15.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 cmd [2022-07-12T20:24:15.205Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:23 coverage.out [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:20 go.mod [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 20:20 go.sum [2022-07-12T20:24:15.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:20 internal [2022-07-12T20:24:15.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:20 mock [2022-07-12T20:24:15.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:20 snap [2022-07-12T20:24:15.205Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:24:15.644Z] + 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=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec --label arch=arm64 --label version=2.2.1-dev.8 . [2022-07-12T20:24:15.920Z] Sending build context to Docker daemon 3.152MB [2022-07-12T20:24:16.197Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:24:16.197Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T20:24:16.197Z] ---> 6f366d9ee1ef [2022-07-12T20:24:16.197Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:24:16.197Z] ---> Running in 182da43ae9a0 [2022-07-12T20:24:16.476Z] Removing intermediate container 182da43ae9a0 [2022-07-12T20:24:16.476Z] ---> 24ade059c80e [2022-07-12T20:24:16.476Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:24:16.748Z] ---> Running in ba18e95a9c1b [2022-07-12T20:24:17.028Z] Removing intermediate container ba18e95a9c1b [2022-07-12T20:24:17.028Z] ---> ee89e80d4f51 [2022-07-12T20:24:17.028Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:24:17.028Z] ---> Running in 58022993c5da [2022-07-12T20:24:19.010Z] Removing intermediate container 58022993c5da [2022-07-12T20:24:19.010Z] ---> 1088b571470b [2022-07-12T20:24:19.010Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:24:19.010Z] ---> Running in 7e5e413cf489 [2022-07-12T20:24:20.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:24:20.989Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:24:22.428Z] OK: 226 MiB in 55 packages [2022-07-12T20:24:23.027Z] Removing intermediate container 7e5e413cf489 [2022-07-12T20:24:23.027Z] ---> 9dcb4164e218 [2022-07-12T20:24:23.027Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T20:24:23.306Z] ---> Running in b97142888772 [2022-07-12T20:24:23.580Z] Removing intermediate container b97142888772 [2022-07-12T20:24:23.580Z] ---> 696764fc3476 [2022-07-12T20:24:23.580Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T20:24:24.175Z] ---> 15a5673c304e [2022-07-12T20:24:24.175Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:24:24.463Z] ---> Running in 4920221cc9a4 [2022-07-12T20:24:26.441Z] Removing intermediate container 4920221cc9a4 [2022-07-12T20:24:26.441Z] ---> 042667df67c1 [2022-07-12T20:24:26.441Z] Step 10/24 : COPY . . [2022-07-12T20:24:27.429Z] ---> 000a570135ea [2022-07-12T20:24:27.429Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T20:24:27.429Z] ---> Running in 55418d4aaabd [2022-07-12T20:24:27.704Z] Removing intermediate container 55418d4aaabd [2022-07-12T20:24:27.704Z] ---> 797c1bdf72ad [2022-07-12T20:24:27.704Z] Step 12/24 : RUN $MAKE [2022-07-12T20:24:27.983Z] ---> Running in a417647d2383 [2022-07-12T20:24:28.971Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T20:27:05.912Z] Removing intermediate container a417647d2383 [2022-07-12T20:27:05.912Z] ---> 70e7c9798edc [2022-07-12T20:27:05.912Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T20:27:05.912Z] 3.16: Pulling from library/alpine [2022-07-12T20:27:05.912Z] b3c136eddcbf: Already exists [2022-07-12T20:27:05.912Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:27:05.912Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:27:05.912Z] ---> 6e30ab57aeee [2022-07-12T20:27:05.912Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T20:27:05.912Z] ---> Running in 94b0bdcf0d17 [2022-07-12T20:27:05.912Z] Removing intermediate container 94b0bdcf0d17 [2022-07-12T20:27:05.912Z] ---> eaa1556504d1 [2022-07-12T20:27:05.912Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T20:27:05.912Z] ---> Running in e81a1034c6ff [2022-07-12T20:27:05.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:27:05.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:27:05.912Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T20:27:05.912Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:27:05.912Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T20:27:05.912Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:27:05.912Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T20:27:05.912Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T20:27:05.912Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:27:05.912Z] OK: 8 MiB in 20 packages [2022-07-12T20:27:05.912Z] Removing intermediate container e81a1034c6ff [2022-07-12T20:27:05.912Z] ---> 4bc2ac165888 [2022-07-12T20:27:05.912Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T20:27:05.912Z] ---> 51076fd6bcdd [2022-07-12T20:27:05.912Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T20:27:05.912Z] ---> d862ad27a435 [2022-07-12T20:27:05.912Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T20:27:05.912Z] ---> b23b360f187d [2022-07-12T20:27:05.912Z] Step 19/24 : EXPOSE 59982 [2022-07-12T20:27:05.912Z] ---> Running in 83cf553e6dc9 [2022-07-12T20:27:05.912Z] Removing intermediate container 83cf553e6dc9 [2022-07-12T20:27:05.912Z] ---> 1c10e764b61c [2022-07-12T20:27:05.912Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T20:27:05.912Z] ---> Running in df3392d009f9 [2022-07-12T20:27:05.912Z] Removing intermediate container df3392d009f9 [2022-07-12T20:27:05.912Z] ---> 91601384ae50 [2022-07-12T20:27:05.912Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:27:05.912Z] ---> Running in 899975daf6ea [2022-07-12T20:27:05.912Z] Removing intermediate container 899975daf6ea [2022-07-12T20:27:05.912Z] ---> 37cd816b60b3 [2022-07-12T20:27:05.912Z] Step 22/24 : LABEL arch=arm64 [2022-07-12T20:27:05.912Z] ---> Running in 05f5adc56d5e [2022-07-12T20:27:05.912Z] Removing intermediate container 05f5adc56d5e [2022-07-12T20:27:05.912Z] ---> c79e1a0691e6 [2022-07-12T20:27:05.912Z] Step 23/24 : LABEL git_sha=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:27:06.188Z] ---> Running in 77302081c3f3 [2022-07-12T20:27:06.463Z] Removing intermediate container 77302081c3f3 [2022-07-12T20:27:06.463Z] ---> f9a796102051 [2022-07-12T20:27:06.463Z] Step 24/24 : LABEL version=2.2.1-dev.8 [2022-07-12T20:27:06.463Z] ---> Running in cd9be0a043df [2022-07-12T20:27:06.736Z] Removing intermediate container cd9be0a043df [2022-07-12T20:27:06.736Z] ---> 072a21b0a740 [2022-07-12T20:27:06.736Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:27:07.009Z] Successfully built 072a21b0a740 [2022-07-12T20:27:07.009Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:27:07.129Z] provisioning config files... [2022-07-12T20:27:07.153Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/55@tmp/config5306990144577618050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:27:07.511Z] ---> docker-login.sh [2022-07-12T20:27:07.512Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:27:07.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:27:08.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:27:08.061Z] Configure a credential helper to remove this warning. See [2022-07-12T20:27:08.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:27:08.061Z] [2022-07-12T20:27:08.061Z] Login Succeeded [2022-07-12T20:27:08.061Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:27:08.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:27:08.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:27:08.611Z] Configure a credential helper to remove this warning. See [2022-07-12T20:27:08.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:27:08.611Z] [2022-07-12T20:27:08.611Z] Login Succeeded [2022-07-12T20:27:08.611Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:27:08.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:27:09.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:27:09.160Z] Configure a credential helper to remove this warning. See [2022-07-12T20:27:09.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:27:09.160Z] [2022-07-12T20:27:09.160Z] Login Succeeded [2022-07-12T20:27:09.160Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:27:09.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:27:09.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:27:09.711Z] Configure a credential helper to remove this warning. See [2022-07-12T20:27:09.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:27:09.711Z] [2022-07-12T20:27:09.711Z] Login Succeeded [2022-07-12T20:27:09.711Z] docker.io [2022-07-12T20:27:09.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:27:10.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:27:10.588Z] Configure a credential helper to remove this warning. See [2022-07-12T20:27:10.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:27:10.588Z] [2022-07-12T20:27:10.588Z] Login Succeeded [2022-07-12T20:27:10.588Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:27:10.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:27:10.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:27:10.656Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-07-12T20:27:10.656Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:27:10.656Z] latest [2022-07-12T20:27:10.656Z] 2.2.1-dev.8 [2022-07-12T20:27:10.656Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:27:10.656Z] main [2022-07-12T20:27:10.656Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:11.042Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:11.436Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:27:11.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T20:27:11.436Z] 45f91c7a8007: Preparing [2022-07-12T20:27:11.436Z] fc43554a11ca: Preparing [2022-07-12T20:27:11.436Z] 36fa08c32513: Preparing [2022-07-12T20:27:11.436Z] 96fb7bcf502c: Preparing [2022-07-12T20:27:11.436Z] dd565ff850e7: Preparing [2022-07-12T20:27:11.717Z] dd565ff850e7: Layer already exists [2022-07-12T20:27:11.717Z] 45f91c7a8007: Pushed [2022-07-12T20:27:11.717Z] fc43554a11ca: Pushed [2022-07-12T20:27:12.704Z] 96fb7bcf502c: Pushed [2022-07-12T20:27:18.112Z] 36fa08c32513: Pushed [2022-07-12T20:27:18.112Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:18.490Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:18.861Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-12T20:27:18.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T20:27:18.861Z] 45f91c7a8007: Preparing [2022-07-12T20:27:18.861Z] fc43554a11ca: Preparing [2022-07-12T20:27:18.861Z] 36fa08c32513: Preparing [2022-07-12T20:27:18.861Z] 96fb7bcf502c: Preparing [2022-07-12T20:27:18.861Z] dd565ff850e7: Preparing [2022-07-12T20:27:18.861Z] 36fa08c32513: Layer already exists [2022-07-12T20:27:18.861Z] fc43554a11ca: Layer already exists [2022-07-12T20:27:18.861Z] dd565ff850e7: Layer already exists [2022-07-12T20:27:19.136Z] 45f91c7a8007: Layer already exists [2022-07-12T20:27:19.136Z] 96fb7bcf502c: Layer already exists [2022-07-12T20:27:19.136Z] latest: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:19.506Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:19.886Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 [2022-07-12T20:27:19.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T20:27:19.886Z] 45f91c7a8007: Preparing [2022-07-12T20:27:19.886Z] fc43554a11ca: Preparing [2022-07-12T20:27:19.886Z] 36fa08c32513: Preparing [2022-07-12T20:27:19.886Z] 96fb7bcf502c: Preparing [2022-07-12T20:27:19.886Z] dd565ff850e7: Preparing [2022-07-12T20:27:20.162Z] fc43554a11ca: Layer already exists [2022-07-12T20:27:20.162Z] 45f91c7a8007: Layer already exists [2022-07-12T20:27:20.162Z] 96fb7bcf502c: Layer already exists [2022-07-12T20:27:20.162Z] 36fa08c32513: Layer already exists [2022-07-12T20:27:20.162Z] dd565ff850e7: Layer already exists [2022-07-12T20:27:20.162Z] 2.2.1-dev.8: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:20.546Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:20.921Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:27:20.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T20:27:20.921Z] 45f91c7a8007: Preparing [2022-07-12T20:27:20.921Z] fc43554a11ca: Preparing [2022-07-12T20:27:20.921Z] 36fa08c32513: Preparing [2022-07-12T20:27:20.921Z] 96fb7bcf502c: Preparing [2022-07-12T20:27:20.921Z] dd565ff850e7: Preparing [2022-07-12T20:27:20.921Z] dd565ff850e7: Layer already exists [2022-07-12T20:27:20.921Z] 96fb7bcf502c: Layer already exists [2022-07-12T20:27:20.921Z] 36fa08c32513: Layer already exists [2022-07-12T20:27:21.194Z] fc43554a11ca: Layer already exists [2022-07-12T20:27:21.194Z] 45f91c7a8007: Layer already exists [2022-07-12T20:27:21.194Z] 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:21.563Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:21.933Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-07-12T20:27:21.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-07-12T20:27:21.933Z] 45f91c7a8007: Preparing [2022-07-12T20:27:21.933Z] fc43554a11ca: Preparing [2022-07-12T20:27:21.933Z] 36fa08c32513: Preparing [2022-07-12T20:27:21.933Z] 96fb7bcf502c: Preparing [2022-07-12T20:27:21.933Z] dd565ff850e7: Preparing [2022-07-12T20:27:22.208Z] 45f91c7a8007: Layer already exists [2022-07-12T20:27:22.209Z] fc43554a11ca: Layer already exists [2022-07-12T20:27:22.209Z] dd565ff850e7: Layer already exists [2022-07-12T20:27:22.209Z] 36fa08c32513: Layer already exists [2022-07-12T20:27:22.209Z] 96fb7bcf502c: Layer already exists [2022-07-12T20:27:22.209Z] main: digest: sha256:4a2c02504a507781ef99a70243dda7ded638902b8a78f6acc1dc232b119e3a82 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T20:27:22.276Z] ===================================================== [Pipeline] echo [2022-07-12T20:27:22.286Z] taggedImages: [2022-07-12T20:27:22.286Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [2022-07-12T20:27:22.286Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-07-12T20:27:22.286Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.8 [2022-07-12T20:27:22.286Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec-2.2.1-dev.8 [2022-07-12T20:27:22.286Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:22.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:27:22.708Z] [2022-07-12T20:27:22.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:23.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:27:23.384Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T20:27:23.384Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T20:27:23.384Z] 04944245beec: Pulling fs layer [2022-07-12T20:27:23.384Z] 699f458cf7ca: Pulling fs layer [2022-07-12T20:27:23.384Z] 765212b225bb: Pulling fs layer [2022-07-12T20:27:23.384Z] f23df028b6ca: Pulling fs layer [2022-07-12T20:27:23.384Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T20:27:23.384Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T20:27:23.384Z] f23df028b6ca: Waiting [2022-07-12T20:27:23.384Z] 765212b225bb: Waiting [2022-07-12T20:27:23.384Z] d65c8cfc05b1: Waiting [2022-07-12T20:27:23.384Z] 2437ff75d9bd: Waiting [2022-07-12T20:27:23.384Z] 04944245beec: Verifying Checksum [2022-07-12T20:27:23.384Z] 04944245beec: Download complete [2022-07-12T20:27:23.384Z] 765212b225bb: Verifying Checksum [2022-07-12T20:27:23.384Z] 765212b225bb: Download complete [2022-07-12T20:27:23.688Z] f23df028b6ca: Download complete [2022-07-12T20:27:23.688Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T20:27:23.688Z] d65c8cfc05b1: Download complete [2022-07-12T20:27:23.688Z] 699f458cf7ca: Verifying Checksum [2022-07-12T20:27:23.688Z] 699f458cf7ca: Download complete [2022-07-12T20:27:24.332Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T20:27:24.332Z] 8998bd30e6a1: Download complete [2022-07-12T20:27:26.966Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T20:27:26.966Z] 2437ff75d9bd: Download complete [2022-07-12T20:27:28.954Z] 8998bd30e6a1: Pull complete [2022-07-12T20:27:29.550Z] 04944245beec: Pull complete [2022-07-12T20:27:31.002Z] 699f458cf7ca: Pull complete [2022-07-12T20:27:31.283Z] 765212b225bb: Pull complete [2022-07-12T20:27:32.266Z] f23df028b6ca: Pull complete [2022-07-12T20:27:32.541Z] d65c8cfc05b1: Pull complete [2022-07-12T20:27:47.646Z] 2437ff75d9bd: Pull complete [2022-07-12T20:27:47.646Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T20:27:47.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:27:47.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:27:47.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-19755 does not seem to be running inside a container [2022-07-12T20:27:48.035Z] $ 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/55 -v /w/workspace/device-mqtt-go/55:/w/workspace/device-mqtt-go/55:rw,z -v /w/workspace/device-mqtt-go/55@tmp:/w/workspace/device-mqtt-go/55@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T20:27:51.051Z] $ docker top c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:27:52.007Z] ---> job-cost.sh [2022-07-12T20:27:52.007Z] lf-activate-venv: SKIPPING [2022-07-12T20:27:52.007Z] INFO: No Stack... [2022-07-12T20:27:52.984Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T20:27:53.580Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:27:54.245Z] + cat /w/workspace/device-mqtt-go/55/archives/cost.csv [2022-07-12T20:27:54.245Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T20:27:54.314Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [2022-07-12T20:27:54.324Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] did not exist. Created. [2022-07-12T20:27:54.324Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:27:55.005Z] /w/workspace/device-mqtt-go/55@tmp/durable-5e0cd35a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T20:27:55.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T20:27:55.710Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T20:27:55.759Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:27:55.766Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:27:55.791Z] $ docker stop --time=1 c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f [2022-07-12T20:27:57.383Z] $ docker rm -f c7463787086ba8ee1a9dcfc75584df33449f798a8f05a322d4404b7687c2436f [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-07-12T20:27:57.834Z] provisioning config files... [2022-07-12T20:27:57.842Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1882568981104729981tmp [Pipeline] { [Pipeline] sh [2022-07-12T20:27:58.135Z] + set +x [2022-07-12T20:27:58.135Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-07-12T20:27:58.135Z] [2022-07-12T20:27:58.135Z] [2022-07-12T20:27:58.135Z] _____ _ [2022-07-12T20:27:58.135Z] / ____| | | [2022-07-12T20:27:58.135Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T20:27:58.135Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T20:27:58.135Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T20:27:58.135Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T20:27:58.135Z] Bash-1.0.6 [2022-07-12T20:27:58.135Z] [2022-07-12T20:27:58.135Z] [2022-07-12T20:27:58.135Z] ==> git version 2.25.1 found [2022-07-12T20:27:58.135Z] ==> 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-07-12T20:27:58.135Z] Release-Date: 2020-01-08 [2022-07-12T20:27:58.135Z] 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-07-12T20:27:58.135Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T20:27:58.135Z] ==> Jenkins CI detected. [2022-07-12T20:27:58.135Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-12T20:27:58.135Z] project root: . [2022-07-12T20:27:58.135Z] --> token set from env [2022-07-12T20:27:58.135Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T20:27:58.135Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T20:27:58.135Z] ==> Python coveragepy not found [2022-07-12T20:27:58.135Z] ==> Searching for coverage reports in: [2022-07-12T20:27:58.135Z] + . [2022-07-12T20:27:58.135Z] -> Found 1 reports [2022-07-12T20:27:58.135Z] ==> Detecting git/mercurial file structure [2022-07-12T20:27:58.395Z] ==> Reading reports [2022-07-12T20:27:58.395Z] + ./coverage.out bytes=17887 [2022-07-12T20:27:58.395Z] ==> Appending adjustments [2022-07-12T20:27:58.395Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T20:27:58.395Z] + Found adjustments [2022-07-12T20:27:58.395Z] ==> Gzipping contents [2022-07-12T20:27:58.395Z] 4.0K /tmp/codecov.MdjrBM.gz [2022-07-12T20:27:58.395Z] ==> Uploading reports [2022-07-12T20:27:58.395Z] url: https://codecov.io [2022-07-12T20:27:58.395Z] query: branch=main&commit=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T20:27:58.395Z] -> Pinging Codecov [2022-07-12T20:27:58.395Z] 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=7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T20:27:58.654Z] -> Uploading to [2022-07-12T20:27:58.654Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec/daa350f8-ce7c-437a-bc91-775149ccfd88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T202758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3326473f8fecb7fe3c217e283fbc3b4ce6f6021a17562951eb5a52a06e649b1 [2022-07-12T20:27:58.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:27:58.654Z] Dload Upload Total Spent Left Speed [2022-07-12T20:27:58.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3220 0 0 100 3220 0 15631 --:--:-- --:--:-- --:--:-- 15631 [2022-07-12T20:27:58.914Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] } [2022-07-12T20:27:58.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-12T20:27:59.083Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-12T20:27:59.091Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:59.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:27:59.398Z] [2022-07-12T20:27:59.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:59.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:27:59.958Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-12T20:27:59.958Z] df9b9388f04a: Pulling fs layer [2022-07-12T20:27:59.958Z] 52dc419b0ee2: Pulling fs layer [2022-07-12T20:27:59.958Z] 25bc292e5bac: Pulling fs layer [2022-07-12T20:27:59.958Z] 114826534d7a: Pulling fs layer [2022-07-12T20:27:59.958Z] 4657fd5d0bcf: Pulling fs layer [2022-07-12T20:27:59.958Z] 6ad1cebc031e: Pulling fs layer [2022-07-12T20:27:59.958Z] 8a3aa393b2d8: Pulling fs layer [2022-07-12T20:27:59.958Z] 4657fd5d0bcf: Waiting [2022-07-12T20:27:59.958Z] 114826534d7a: Waiting [2022-07-12T20:27:59.958Z] 6ad1cebc031e: Waiting [2022-07-12T20:27:59.958Z] 8a3aa393b2d8: Waiting [2022-07-12T20:27:59.958Z] 25bc292e5bac: Verifying Checksum [2022-07-12T20:27:59.958Z] 25bc292e5bac: Download complete [2022-07-12T20:27:59.958Z] 52dc419b0ee2: Verifying Checksum [2022-07-12T20:27:59.958Z] 52dc419b0ee2: Download complete [2022-07-12T20:27:59.958Z] 4657fd5d0bcf: Verifying Checksum [2022-07-12T20:27:59.958Z] 4657fd5d0bcf: Download complete [2022-07-12T20:27:59.958Z] df9b9388f04a: Download complete [2022-07-12T20:27:59.958Z] df9b9388f04a: Pull complete [2022-07-12T20:27:59.958Z] 6ad1cebc031e: Verifying Checksum [2022-07-12T20:27:59.958Z] 6ad1cebc031e: Download complete [2022-07-12T20:28:00.218Z] 52dc419b0ee2: Pull complete [2022-07-12T20:28:00.218Z] 25bc292e5bac: Pull complete [2022-07-12T20:28:00.786Z] 114826534d7a: Download complete [2022-07-12T20:28:01.044Z] 8a3aa393b2d8: Verifying Checksum [2022-07-12T20:28:01.044Z] 8a3aa393b2d8: Download complete [2022-07-12T20:28:04.334Z] 114826534d7a: Pull complete [2022-07-12T20:28:04.334Z] 4657fd5d0bcf: Pull complete [2022-07-12T20:28:04.334Z] 6ad1cebc031e: Pull complete [2022-07-12T20:28:07.638Z] 8a3aa393b2d8: Pull complete [2022-07-12T20:28:07.638Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-12T20:28:07.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T20:28:07.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:07.730Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:07.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-12T20:28:10.295Z] $ docker top 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-12T20:28:10.368Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-07-12T20:28:10.650Z] + set -o pipefail [2022-07-12T20:28:10.650Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/0e572987-93c4-493f-9fbd-1e1112559679 [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] [2022-07-12T20:28:15.930Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-12T20:28:15.930Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-12T20:28:15.944Z] $ docker stop --time=1 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 [2022-07-12T20:28:18.300Z] $ docker rm -f 11841c47868911d425930991a23de0be5b3e8d7c60d7bb1fe64f5a4b11e3d652 [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-07-12T20:28:19.002Z] + git log --format=format:%s -1 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec [Pipeline] sh [2022-07-12T20:28:19.300Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:28:19.301Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:19.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:28:19.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:19.685Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:19.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:28:20.155Z] $ docker top a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:28:20.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:28:20.248Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:28:20.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:28:20.372Z] $ docker exec a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada ssh-agent [2022-07-12T20:28:20.510Z] SSH_AUTH_SOCK=/tmp/ssh-DYVwNnda8Cal/agent.33 [2022-07-12T20:28:20.510Z] SSH_AGENT_PID=40 [2022-07-12T20:28:20.555Z] Running ssh-add (command line suppressed) [2022-07-12T20:28:20.659Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4104350280089349603.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4104350280089349603.key) [2022-07-12T20:28:20.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:28:20.961Z] + git semver tag [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,125 [run_tag] DEBUG tag force:False [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,125 [check_head_tag] DEBUG check head tag [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,126 [execute] INFO git cat-file --batch-check [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,129 [execute] INFO git cat-file --batch [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,139 [execute] INFO git tag -a v2.2.1-dev.8 -m v2.2.1-dev.8 [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,139 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.8', '-m', 'v2.2.1-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:28:21.222Z] 2022-07-12 20:28:21,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:21.222Z] 2.2.1-dev.8 [Pipeline] } [2022-07-12T20:28:21.235Z] $ docker exec --env ******** --env ******** a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada ssh-agent -k [2022-07-12T20:28:21.355Z] unset SSH_AUTH_SOCK; [2022-07-12T20:28:21.355Z] unset SSH_AGENT_PID; [2022-07-12T20:28:21.355Z] echo Agent pid 40 killed; [2022-07-12T20:28:21.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:28:21.669Z] + git semver [Pipeline] } [2022-07-12T20:28:21.949Z] $ docker stop --time=1 a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada [2022-07-12T20:28:23.245Z] $ docker rm -f a926a4e6de9eaad89ae6e8eaebf6475426af45081fad7fc53595673e57794ada [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:23.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:28:23.621Z] [2022-07-12T20:28:23.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:23.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:28:23.930Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T20:28:23.930Z] ab5ef0e58194: Pulling fs layer [2022-07-12T20:28:23.930Z] 9712f1f96733: Pulling fs layer [2022-07-12T20:28:23.930Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T20:28:23.930Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T20:28:23.930Z] e9a5061849ea: Pulling fs layer [2022-07-12T20:28:23.930Z] d747dcd14b5f: Pulling fs layer [2022-07-12T20:28:23.930Z] 2de7ff778b66: Pulling fs layer [2022-07-12T20:28:23.930Z] 0d9ebad4ef96: Waiting [2022-07-12T20:28:23.930Z] 2de7ff778b66: Waiting [2022-07-12T20:28:23.930Z] d747dcd14b5f: Waiting [2022-07-12T20:28:23.930Z] e9a5061849ea: Waiting [2022-07-12T20:28:23.930Z] 9712f1f96733: Verifying Checksum [2022-07-12T20:28:23.930Z] 9712f1f96733: Download complete [2022-07-12T20:28:24.191Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T20:28:24.191Z] 63f879dbbcfc: Download complete [2022-07-12T20:28:24.450Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T20:28:24.450Z] 0d9ebad4ef96: Download complete [2022-07-12T20:28:24.450Z] d747dcd14b5f: Verifying Checksum [2022-07-12T20:28:24.450Z] d747dcd14b5f: Download complete [2022-07-12T20:28:24.450Z] e9a5061849ea: Download complete [2022-07-12T20:28:24.450Z] ab5ef0e58194: Verifying Checksum [2022-07-12T20:28:24.450Z] ab5ef0e58194: Download complete [2022-07-12T20:28:24.450Z] 2de7ff778b66: Verifying Checksum [2022-07-12T20:28:24.450Z] 2de7ff778b66: Download complete [2022-07-12T20:28:27.739Z] ab5ef0e58194: Pull complete [2022-07-12T20:28:27.739Z] 9712f1f96733: Pull complete [2022-07-12T20:28:27.999Z] 63f879dbbcfc: Pull complete [2022-07-12T20:28:32.188Z] 0d9ebad4ef96: Pull complete [2022-07-12T20:28:32.188Z] e9a5061849ea: Pull complete [2022-07-12T20:28:32.448Z] d747dcd14b5f: Pull complete [2022-07-12T20:28:33.384Z] 2de7ff778b66: Pull complete [2022-07-12T20:28:33.384Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T20:28:33.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T20:28:33.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:33.474Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:33.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-12T20:28:36.045Z] $ docker top 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:28:36.121Z] provisioning config files... [2022-07-12T20:28:36.129Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4804159690576812206tmp [2022-07-12T20:28:36.140Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1452872419567066456tmp [2022-07-12T20:28:36.151Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5675682736935534146tmp [Pipeline] { [Pipeline] echo [2022-07-12T20:28:36.165Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:36.447Z] ---> sigul-configuration.sh [2022-07-12T20:28:36.447Z] gpg: directory `/root/.gnupg' created [2022-07-12T20:28:36.447Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T20:28:36.447Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T20:28:36.447Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T20:28:36.447Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T20:28:36.447Z] gpg: CAST5 encrypted data [2022-07-12T20:28:36.447Z] gpg: encrypted with 1 passphrase [2022-07-12T20:28:36.447Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T20:28:36.734Z] + mkdir /home/jenkins [2022-07-12T20:28:36.734Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T20:28:37.021Z] + 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-07-12T20:28:37.031Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:37.315Z] ---> sigul-install.sh [2022-07-12T20:28:37.315Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T20:28:37.601Z] + git tag --list [2022-07-12T20:28:37.602Z] 0.7.1 [2022-07-12T20:28:37.602Z] v1.0.0 [2022-07-12T20:28:37.602Z] v1.1.0 [2022-07-12T20:28:37.602Z] v1.1.1 [2022-07-12T20:28:37.602Z] v1.2.2 [2022-07-12T20:28:37.602Z] v1.3.0 [2022-07-12T20:28:37.602Z] v1.3.1 [2022-07-12T20:28:37.602Z] v2.0.0 [2022-07-12T20:28:37.602Z] v2.1.0 [2022-07-12T20:28:37.602Z] v2.1.1 [2022-07-12T20:28:37.602Z] v2.1.1-dev.1 [2022-07-12T20:28:37.602Z] v2.1.1-dev.2 [2022-07-12T20:28:37.602Z] v2.2.0 [2022-07-12T20:28:37.602Z] v2.2.1-dev.1 [2022-07-12T20:28:37.602Z] v2.2.1-dev.2 [2022-07-12T20:28:37.602Z] v2.2.1-dev.3 [2022-07-12T20:28:37.602Z] v2.2.1-dev.4 [2022-07-12T20:28:37.602Z] v2.2.1-dev.5 [2022-07-12T20:28:37.602Z] v2.2.1-dev.6 [2022-07-12T20:28:37.602Z] v2.2.1-dev.7 [2022-07-12T20:28:37.602Z] v2.2.1-dev.8 [Pipeline] sh [2022-07-12T20:28:37.893Z] + lftools sign git-tag v2.2.1-dev.8 [2022-07-12T20:28:38.463Z] Signing Git tag with Sigul... [2022-07-12T20:28:38.463Z] Signing v2.2.1-dev.8 [Pipeline] echo [2022-07-12T20:28:38.731Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:39.015Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T20:28:39.023Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T20:28:39.044Z] $ docker stop --time=1 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 [2022-07-12T20:28:40.374Z] $ docker rm -f 4700f797a9eb1fc9f3707f19d49dc9a0c035a4631b09b1cf7df25a5ce7cbaa36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T20:28:40.773Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:28:40.773Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:41.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:28:41.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:41.154Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:41.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:28:41.625Z] $ docker top 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:28:41.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:28:41.737Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:28:41.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:28:41.872Z] $ docker exec 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd ssh-agent [2022-07-12T20:28:42.005Z] SSH_AUTH_SOCK=/tmp/ssh-3CNUiuyEVzdX/agent.33 [2022-07-12T20:28:42.005Z] SSH_AGENT_PID=39 [2022-07-12T20:28:42.010Z] Running ssh-add (command line suppressed) [2022-07-12T20:28:42.124Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1204910331187648465.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1204910331187648465.key) [2022-07-12T20:28:42.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:28:42.434Z] + git semver bump pre [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [bump_version] DEBUG bumping version:2.2.1-dev.8 on axis:pre with prefix:dev [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [bump_version] DEBUG bumped version:2.2.1-dev.9 [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [write_version] DEBUG write version:2.2.1-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,646 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,648 [execute] INFO git cat-file --batch-check [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,655 [execute] INFO git cat-file --batch [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:28:42.693Z] 2022-07-12 20:28:42,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:42.693Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T20:28:42.707Z] $ docker exec --env ******** --env ******** 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd ssh-agent -k [2022-07-12T20:28:42.814Z] unset SSH_AUTH_SOCK; [2022-07-12T20:28:42.814Z] unset SSH_AGENT_PID; [2022-07-12T20:28:42.814Z] echo Agent pid 39 killed; [2022-07-12T20:28:42.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:28:43.133Z] + git semver [Pipeline] } [2022-07-12T20:28:43.409Z] $ docker stop --time=1 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd [2022-07-12T20:28:44.741Z] $ docker rm -f 286627331af54d3f97465c829061d80f5a2ccb4093101a6ddf6a118d96c0c9bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:28:45.106Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:28:45.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:45.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:28:45.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:45.497Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:45.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T20:28:45.925Z] $ docker top 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:28:46.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:28:46.035Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:28:46.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:28:46.168Z] $ docker exec 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 ssh-agent [2022-07-12T20:28:46.276Z] SSH_AUTH_SOCK=/tmp/ssh-kGO7uJtke25P/agent.32 [2022-07-12T20:28:46.276Z] SSH_AGENT_PID=38 [2022-07-12T20:28:46.282Z] Running ssh-add (command line suppressed) [2022-07-12T20:28:46.388Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7969282582583321435.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7969282582583321435.key) [2022-07-12T20:28:46.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:28:46.686Z] + git semver push [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,855 [run_push] DEBUG push [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,855 [execute] INFO git cat-file --batch-check [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,859 [execute] INFO git rev-list 58eea9c5aca526a5dda5ec9d53bd8e52d5b39ca3 -- [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,860 [execute] DEBUG Popen(['git', 'rev-list', '58eea9c5aca526a5dda5ec9d53bd8e52d5b39ca3', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,867 [execute] INFO git fetch -v origin [2022-07-12T20:28:46.946Z] 2022-07-12 20:28:46,867 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T20:28:47.517Z] 2022-07-12 20:28:47,389 [run_push] DEBUG no remote changes detected [2022-07-12T20:28:47.517Z] 2022-07-12 20:28:47,389 [execute] INFO git push origin semver [2022-07-12T20:28:47.517Z] 2022-07-12 20:28:47,390 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:28:48.087Z] 2022-07-12 20:28:48,088 [run_push] DEBUG push all version tags [2022-07-12T20:28:48.087Z] 2022-07-12 20:28:48,088 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T20:28:48.087Z] 2022-07-12 20:28:48,088 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:28:49.032Z] 2022-07-12 20:28:48,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-07-12T20:28:49.032Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T20:28:49.046Z] $ docker exec --env ******** --env ******** 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 ssh-agent -k [2022-07-12T20:28:49.138Z] unset SSH_AUTH_SOCK; [2022-07-12T20:28:49.138Z] unset SSH_AGENT_PID; [2022-07-12T20:28:49.139Z] echo Agent pid 38 killed; [2022-07-12T20:28:49.145Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:28:49.444Z] + git semver [Pipeline] } [2022-07-12T20:28:49.721Z] $ docker stop --time=1 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 [2022-07-12T20:28:51.024Z] $ docker rm -f 87277c1d22faebfccfcd9d2ec43633c87384d3ced29d695f51ed1b037f12f6d6 [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-07-12T20:28:51.595Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-07-12T20:28:51.595Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T20:28:51.595Z] total 16 [2022-07-12T20:28:51.595Z] drwxr-xr-x 3 root root 4096 Jul 12 20:19 . [2022-07-12T20:28:51.595Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:28 .. [2022-07-12T20:28:51.595Z] drwxr-xr-x 2 root root 4096 Jul 12 20:19 cost [2022-07-12T20:28:51.595Z] -rw-r--r-- 1 root root 84 Jul 12 20:19 cost.csv [2022-07-12T20:28:51.595Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T20:28:51.595Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-07-12T20:28:51.595Z] total 16 [2022-07-12T20:28:51.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:19 . [2022-07-12T20:28:51.595Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:28 .. [2022-07-12T20:28:51.595Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 20:19 cost [2022-07-12T20:28:51.595Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 12 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:51.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:52.755Z] ---> package-listing.sh [2022-07-12T20:28:52.755Z] ++ facter osfamily [2022-07-12T20:28:52.755Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T20:28:53.016Z] + OS_FAMILY=debian [2022-07-12T20:28:53.016Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-07-12T20:28:53.016Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T20:28:53.016Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T20:28:53.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T20:28:53.016Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T20:28:53.016Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-12T20:28:53.016Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T20:28:53.016Z] + case "${OS_FAMILY}" in [2022-07-12T20:28:53.016Z] + dpkg -l [2022-07-12T20:28:53.016Z] + grep '^ii' [2022-07-12T20:28:53.016Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T20:28:53.016Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T20:28:53.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T20:28:53.016Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-07-12T20:28:53.016Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-07-12T20:28:53.016Z] + 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-07-12T20:28:53.027Z] 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-07-12T20:28:53.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:28:53.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:28:53.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:28:53.942Z] prd-ubuntu20.04-docker-8c-8g-19752 does not seem to be running inside a container [2022-07-12T20:28:53.976Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T20:28:54.237Z] $ docker top a2ce094e5b8ef900a13c6028f0f57a589580d03b906147e2b55be81366005bdd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:28:54.589Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T20:28:54.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T20:28:55.165Z] + ls /var/log/sa-host [2022-07-12T20:28:55.165Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:28:55.290Z] provisioning config files... [2022-07-12T20:28:55.299Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7980849707544727785tmp [Pipeline] { [Pipeline] echo [2022-07-12T20:28:55.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:55.596Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T20:28:55.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:55.934Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T20:28:55.944Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:56.230Z] ---> sudo-logs.sh [2022-07-12T20:28:56.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T20:28:56.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:56.550Z] ---> job-cost.sh [2022-07-12T20:28:56.550Z] lf-activate-venv: SKIPPING [2022-07-12T20:28:56.550Z] DEBUG: total: 0.2199999988079071 [2022-07-12T20:28:56.550Z] INFO: Retrieving Stack Cost... [2022-07-12T20:28:57.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:28:57.380Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T20:28:57.393Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:28:57.676Z] ---> logs-deploy.sh [2022-07-12T20:28:57.676Z] lf-activate-venv: SKIPPING [2022-07-12T20:28:57.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/55 [2022-07-12T20:28:57.676Z] INFO: archiving workspace using pattern(s): [2022-07-12T20:28:58.616Z] Archives upload complete. [2022-07-12T20:28:58.616Z] INFO: archiving logs to Nexus