Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc471bab23d8bb68ec889611181b9f9035c4a73d 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-ssh7399180296374747411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10541896726336994725.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13145452022533249326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh8236004308515181517.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh7988241232984368070.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.21 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6442’ Running on prd-ubuntu20.04-docker-8c-8g-6451 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 dc471bab23d8bb68ec889611181b9f9035c4a73d (main) Commit message: "Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > 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 dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 > git rev-list --no-walk 9edf56c898603a6da7d069e5015abb4f1d1f30d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T02:34:20.849Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T02:34:20.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T02:34:20.914Z] ========================================================= [2023-09-19T02:34:20.914Z] EdgeX Global Pipelines Version Info [2023-09-19T02:34:20.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:34:21.646Z] ------------------- [2023-09-19T02:34:21.646Z] stable info: [2023-09-19T02:34:21.646Z] ------------------- [2023-09-19T02:34:21.646Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T02:34:21.646Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T02:34:21.646Z] Message: update stable to v1.0.254 [2023-09-19T02:34:22.219Z] ------------------- [2023-09-19T02:34:22.219Z] experimental info: [2023-09-19T02:34:22.219Z] ------------------- [2023-09-19T02:34:22.219Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T02:34:22.219Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T02:34:22.219Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T02:34:22.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-19T02:34:22.385Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-19T02:34:22.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T02:34:22.406Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T02:34:22.415Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T02:34:22.424Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T02:34:22.433Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T02:34:22.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T02:34:22.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T02:34:22.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T02:34:22.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T02:34:22.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-19T02:34:22.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T02:34:22.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T02:34:22.534Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T02:34:22.543Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T02:34:22.552Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T02:34:22.564Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T02:34:22.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T02:34:22.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T02:34:22.594Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T02:34:22.604Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T02:34:22.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T02:34:22.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T02:34:22.634Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T02:34:22.643Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T02:34:22.652Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T02:34:22.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-19T02:34:22.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-19T02:34:22.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-19T02:34:22.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo [2023-09-19T02:34:22.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc471ba [Pipeline] echo [2023-09-19T02:34:22.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:34:22.745Z] provisioning config files... [2023-09-19T02:34:22.758Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17123401801371904613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:34:23.072Z] ---> docker-login.sh [2023-09-19T02:34:23.072Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:34:23.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:23.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:23.332Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:23.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:23.332Z] [2023-09-19T02:34:23.332Z] Login Succeeded [2023-09-19T02:34:23.332Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:34:23.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:23.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:23.332Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:23.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:23.332Z] [2023-09-19T02:34:23.332Z] Login Succeeded [2023-09-19T02:34:23.332Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:34:23.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:23.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:23.594Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:23.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:23.594Z] [2023-09-19T02:34:23.594Z] Login Succeeded [2023-09-19T02:34:23.594Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:34:23.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:23.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:23.594Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:23.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:23.594Z] [2023-09-19T02:34:23.594Z] Login Succeeded [2023-09-19T02:34:23.594Z] docker.io [2023-09-19T02:34:23.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:23.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:23.854Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:23.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:23.854Z] [2023-09-19T02:34:23.854Z] Login Succeeded [2023-09-19T02:34:23.854Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:34:23.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T02:34:24.205Z] + git rev-list -1 --merges dc471bab23d8bb68ec889611181b9f9035c4a73d~1..dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo [2023-09-19T02:34:24.250Z] -----------> git rev-list -1 --merges dc471bab23d8bb68ec889611181b9f9035c4a73d~1..dc471bab23d8bb68ec889611181b9f9035c4a73d dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:34:24.250Z] dc471bab23d8bb68ec889611181b9f9035c4a73d [false] [Pipeline] sh [2023-09-19T02:34:24.542Z] + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo [2023-09-19T02:34:24.556Z] ========================================================= [2023-09-19T02:34:24.556Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T02:34:24.556Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:34:24.889Z] + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] echo [2023-09-19T02:34:24.903Z] [semverPrep] GIT_COMMIT: dc471bab23d8bb68ec889611181b9f9035c4a73d, Commit Message: Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo [2023-09-19T02:34:24.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T02:34:25.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T02:34:25.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T02:34:25.265Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T02:34:25.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T02:34:25.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T02:34:25.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T02:34:25.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:34:25.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:34:25.607Z] [2023-09-19T02:34:25.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:34:25.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:34:25.913Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T02:34:25.913Z] b85a868b505f: Pulling fs layer [2023-09-19T02:34:25.913Z] e2be974225ed: Pulling fs layer [2023-09-19T02:34:25.913Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T02:34:25.913Z] 988bab9f4d93: Pulling fs layer [2023-09-19T02:34:25.913Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T02:34:25.913Z] eaf3925da568: Pulling fs layer [2023-09-19T02:34:25.913Z] bab4dde63d76: Pulling fs layer [2023-09-19T02:34:25.913Z] bde34c3a00c8: Pulling fs layer [2023-09-19T02:34:25.913Z] b352a97aabf1: Pulling fs layer [2023-09-19T02:34:25.913Z] 4872d77fe225: Pulling fs layer [2023-09-19T02:34:25.913Z] 988bab9f4d93: Waiting [2023-09-19T02:34:25.913Z] 5851b861e8e6: Pulling fs layer [2023-09-19T02:34:25.913Z] 1469e6f7b9e6: Waiting [2023-09-19T02:34:25.913Z] bde34c3a00c8: Waiting [2023-09-19T02:34:25.913Z] b352a97aabf1: Waiting [2023-09-19T02:34:25.913Z] 4872d77fe225: Waiting [2023-09-19T02:34:25.913Z] bab4dde63d76: Waiting [2023-09-19T02:34:25.913Z] eaf3925da568: Waiting [2023-09-19T02:34:25.913Z] e2be974225ed: Download complete [2023-09-19T02:34:25.913Z] 988bab9f4d93: Verifying Checksum [2023-09-19T02:34:25.913Z] 988bab9f4d93: Download complete [2023-09-19T02:34:25.913Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T02:34:25.913Z] 1469e6f7b9e6: Download complete [2023-09-19T02:34:25.913Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T02:34:25.913Z] 339a4e72a1f5: Download complete [2023-09-19T02:34:26.196Z] eaf3925da568: Verifying Checksum [2023-09-19T02:34:26.196Z] eaf3925da568: Download complete [2023-09-19T02:34:26.196Z] bde34c3a00c8: Verifying Checksum [2023-09-19T02:34:26.196Z] bde34c3a00c8: Download complete [2023-09-19T02:34:26.196Z] b352a97aabf1: Download complete [2023-09-19T02:34:26.196Z] 4872d77fe225: Verifying Checksum [2023-09-19T02:34:26.196Z] 4872d77fe225: Download complete [2023-09-19T02:34:26.196Z] 5851b861e8e6: Verifying Checksum [2023-09-19T02:34:26.196Z] 5851b861e8e6: Download complete [2023-09-19T02:34:26.196Z] b85a868b505f: Verifying Checksum [2023-09-19T02:34:26.196Z] b85a868b505f: Download complete [2023-09-19T02:34:26.461Z] bab4dde63d76: Verifying Checksum [2023-09-19T02:34:26.461Z] bab4dde63d76: Download complete [2023-09-19T02:34:27.410Z] b85a868b505f: Pull complete [2023-09-19T02:34:27.669Z] e2be974225ed: Pull complete [2023-09-19T02:34:27.928Z] 339a4e72a1f5: Pull complete [2023-09-19T02:34:28.186Z] 988bab9f4d93: Pull complete [2023-09-19T02:34:28.187Z] 1469e6f7b9e6: Pull complete [2023-09-19T02:34:28.446Z] eaf3925da568: Pull complete [2023-09-19T02:34:30.358Z] bab4dde63d76: Pull complete [2023-09-19T02:34:30.358Z] bde34c3a00c8: Pull complete [2023-09-19T02:34:30.358Z] b352a97aabf1: Pull complete [2023-09-19T02:34:30.358Z] 4872d77fe225: Pull complete [2023-09-19T02:34:30.358Z] 5851b861e8e6: Pull complete [2023-09-19T02:34:30.358Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T02:34:30.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:34:30.358Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:34:30.465Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:34:30.500Z] $ 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 [2023-09-19T02:34:34.692Z] $ docker top bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 -eo pid,comm [2023-09-19T02:34:34.745Z] 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). [2023-09-19T02:34:34.745Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T02:34:34.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:34:34.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:34:34.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:34:34.916Z] $ docker exec bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent [2023-09-19T02:34:35.025Z] SSH_AUTH_SOCK=/tmp/ssh-vcyC1hbgWGLf/agent.33 [2023-09-19T02:34:35.025Z] SSH_AGENT_PID=39 [2023-09-19T02:34:35.033Z] Running ssh-add (command line suppressed) [2023-09-19T02:34:35.144Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5077753669423123008.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5077753669423123008.key) [2023-09-19T02:34:35.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:34:35.455Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T02:34:35.476Z] $ docker exec --env ******** --env ******** bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent -k [2023-09-19T02:34:35.576Z] unset SSH_AUTH_SOCK; [2023-09-19T02:34:35.580Z] unset SSH_AGENT_PID; [2023-09-19T02:34:35.580Z] echo Agent pid 39 killed; [2023-09-19T02:34:35.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T02:34:35.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:34:35.614Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:34:35.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:34:35.743Z] $ docker exec bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent [2023-09-19T02:34:35.857Z] SSH_AUTH_SOCK=/tmp/ssh-MtUijy93y1d3/agent.70 [2023-09-19T02:34:35.857Z] SSH_AGENT_PID=76 [2023-09-19T02:34:35.865Z] Running ssh-add (command line suppressed) [2023-09-19T02:34:35.973Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5984179073744144688.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5984179073744144688.key) [2023-09-19T02:34:35.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:34:36.275Z] + git semver init [2023-09-19T02:34:36.537Z] 2023-09-19 02:34:36,487 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T02:34:36.537Z] 2023-09-19 02:34:36,488 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-19T02:34:36.537Z] 2023-09-19 02:34:36,489 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-19T02:34:36.537Z] 2023-09-19 02:34:36,489 [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) [2023-09-19T02:34:37.476Z] 2023-09-19 02:34:37,299 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-19T02:34:37.476Z] 2023-09-19 02:34:37,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-19T02:34:37.476Z] 2023-09-19 02:34:37,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:34:37.476Z] 2023-09-19 02:34:37,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:34:37.476Z] 3.1.0-dev.10 [Pipeline] } [2023-09-19T02:34:37.488Z] $ docker exec --env ******** --env ******** bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 ssh-agent -k [2023-09-19T02:34:37.610Z] unset SSH_AUTH_SOCK; [2023-09-19T02:34:37.610Z] unset SSH_AGENT_PID; [2023-09-19T02:34:37.610Z] echo Agent pid 76 killed; [2023-09-19T02:34:37.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T02:34:37.927Z] + git semver [Pipeline] } [2023-09-19T02:34:38.200Z] $ docker stop --time=1 bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 [2023-09-19T02:34:39.495Z] $ docker rm -f --volumes bc39cf710ecdeba08a889cbd9db79888778f54fd886f8f20885eca2632bf8508 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:34:39.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T02:34:40.025Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T02:34:40.027Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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 [2023-09-19T02:34:40.179Z] provisioning config files... [2023-09-19T02:34:40.186Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14986243963739661655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:34:40.480Z] ---> docker-login.sh [2023-09-19T02:34:40.480Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:34:40.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:40.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:40.480Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:40.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:40.480Z] [2023-09-19T02:34:40.480Z] Login Succeeded [2023-09-19T02:34:40.480Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:34:40.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:40.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:40.480Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:40.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:40.480Z] [2023-09-19T02:34:40.480Z] Login Succeeded [2023-09-19T02:34:40.480Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:34:40.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:40.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:40.738Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:40.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:40.738Z] [2023-09-19T02:34:40.738Z] Login Succeeded [2023-09-19T02:34:40.738Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:34:40.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:40.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:40.738Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:40.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:40.738Z] [2023-09-19T02:34:40.738Z] Login Succeeded [2023-09-19T02:34:40.738Z] docker.io [2023-09-19T02:34:40.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:34:40.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:34:40.997Z] Configure a credential helper to remove this warning. See [2023-09-19T02:34:40.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:34:40.997Z] [2023-09-19T02:34:40.997Z] Login Succeeded [2023-09-19T02:34:40.997Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:34:41.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T02:34:41.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:34:41.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:34:41.075Z] ========================================================= [2023-09-19T02:34:41.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T02:34:41.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:34:41.375Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T02:34:41.376Z] Sending build context to Docker daemon 6.472MB [2023-09-19T02:34:41.376Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:34:41.376Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T02:34:41.376Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T02:34:41.376Z] 7264a8db6415: Pulling fs layer [2023-09-19T02:34:41.376Z] c4d48a809fc2: Pulling fs layer [2023-09-19T02:34:41.376Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T02:34:41.376Z] ad3a456e5733: Pulling fs layer [2023-09-19T02:34:41.376Z] 9e4f439ed901: Pulling fs layer [2023-09-19T02:34:41.376Z] ad3a456e5733: Waiting [2023-09-19T02:34:41.376Z] feaf6a47b606: Pulling fs layer [2023-09-19T02:34:41.376Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T02:34:41.376Z] 8ac70367396e: Pulling fs layer [2023-09-19T02:34:41.376Z] 6db16350a2e2: Pulling fs layer [2023-09-19T02:34:41.376Z] 9e4f439ed901: Waiting [2023-09-19T02:34:41.376Z] 5e8b037d7d82: Waiting [2023-09-19T02:34:41.376Z] 8ac70367396e: Waiting [2023-09-19T02:34:41.376Z] 9250d5d63582: Pulling fs layer [2023-09-19T02:34:41.376Z] 6db16350a2e2: Waiting [2023-09-19T02:34:41.376Z] c4d48a809fc2: Verifying Checksum [2023-09-19T02:34:41.376Z] c4d48a809fc2: Download complete [2023-09-19T02:34:41.376Z] ad3a456e5733: Verifying Checksum [2023-09-19T02:34:41.376Z] ad3a456e5733: Download complete [2023-09-19T02:34:41.636Z] 9e4f439ed901: Download complete [2023-09-19T02:34:41.636Z] 7264a8db6415: Verifying Checksum [2023-09-19T02:34:41.636Z] 7264a8db6415: Download complete [2023-09-19T02:34:41.636Z] feaf6a47b606: Verifying Checksum [2023-09-19T02:34:41.636Z] feaf6a47b606: Download complete [2023-09-19T02:34:41.636Z] 7264a8db6415: Pull complete [2023-09-19T02:34:41.895Z] 8ac70367396e: Verifying Checksum [2023-09-19T02:34:41.895Z] c4d48a809fc2: Pull complete [2023-09-19T02:34:41.895Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T02:34:41.895Z] 4f1c88b9dad5: Download complete [2023-09-19T02:34:42.153Z] 6db16350a2e2: Verifying Checksum [2023-09-19T02:34:42.153Z] 6db16350a2e2: Download complete [2023-09-19T02:34:42.411Z] 5e8b037d7d82: Download complete [2023-09-19T02:34:42.411Z] 9250d5d63582: Verifying Checksum [2023-09-19T02:34:42.411Z] 9250d5d63582: Download complete [2023-09-19T02:34:44.939Z] 4f1c88b9dad5: Pull complete [2023-09-19T02:34:45.199Z] ad3a456e5733: Pull complete [2023-09-19T02:34:45.199Z] 9e4f439ed901: Pull complete [2023-09-19T02:34:45.199Z] feaf6a47b606: Pull complete [2023-09-19T02:34:47.734Z] 5e8b037d7d82: Pull complete [2023-09-19T02:34:48.307Z] 8ac70367396e: Pull complete [2023-09-19T02:34:48.566Z] 6db16350a2e2: Pull complete [2023-09-19T02:34:49.134Z] 9250d5d63582: Pull complete [2023-09-19T02:34:49.134Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T02:34:49.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T02:34:49.400Z] ---> fa269f55d9b9 [2023-09-19T02:34:49.400Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:34:55.129Z] Still waiting to schedule task [2023-09-19T02:34:55.129Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6448’ [2023-09-19T02:34:55.989Z] ---> Running in f325a0bbc192 [2023-09-19T02:34:55.989Z] Removing intermediate container f325a0bbc192 [2023-09-19T02:34:55.989Z] ---> c46ae271bc3d [2023-09-19T02:34:55.989Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:34:55.989Z] ---> Running in d3ca9f944a61 [2023-09-19T02:34:55.989Z] Removing intermediate container d3ca9f944a61 [2023-09-19T02:34:55.989Z] ---> fb0b0254f752 [2023-09-19T02:34:55.989Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T02:34:55.989Z] ---> Running in b0aac49afe81 [2023-09-19T02:34:55.989Z] Removing intermediate container b0aac49afe81 [2023-09-19T02:34:55.989Z] ---> 89c808af7066 [2023-09-19T02:34:55.989Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:34:55.989Z] ---> Running in 907d40ccaef6 [2023-09-19T02:34:55.989Z] Removing intermediate container 907d40ccaef6 [2023-09-19T02:34:55.989Z] ---> d1d1ddc18b1d [2023-09-19T02:34:55.989Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:34:55.989Z] ---> Running in 786f885b1ef0 [2023-09-19T02:34:56.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:34:56.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:34:56.507Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T02:34:56.507Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T02:34:56.507Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T02:34:56.507Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T02:34:56.507Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:34:56.507Z] OK: 270 MiB in 60 packages [2023-09-19T02:34:57.110Z] Removing intermediate container 786f885b1ef0 [2023-09-19T02:34:57.110Z] ---> 8a5bcc50eb05 [2023-09-19T02:34:57.110Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-19T02:34:57.110Z] ---> Running in 33ba214878e6 [2023-09-19T02:34:57.380Z] Removing intermediate container 33ba214878e6 [2023-09-19T02:34:57.380Z] ---> d7d120154e39 [2023-09-19T02:34:57.380Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T02:34:57.380Z] ---> 418cf01950d1 [2023-09-19T02:34:57.380Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:34:57.380Z] ---> Running in ad0195549a1f [2023-09-19T02:35:29.475Z] Removing intermediate container ad0195549a1f [2023-09-19T02:35:29.475Z] ---> 24dfc162c42f [2023-09-19T02:35:29.475Z] Step 11/12 : COPY . . [2023-09-19T02:35:29.475Z] ---> 23d29700b128 [2023-09-19T02:35:29.475Z] Step 12/12 : RUN $MAKE [2023-09-19T02:35:29.734Z] ---> Running in 3318f3d6ebf4 [2023-09-19T02:35:29.992Z] noop [2023-09-19T02:35:29.992Z] Removing intermediate container 3318f3d6ebf4 [2023-09-19T02:35:29.992Z] ---> f6f5c3992558 [2023-09-19T02:35:29.992Z] Successfully built f6f5c3992558 [2023-09-19T02:35:29.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:35:30.571Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T02:35:30.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:35:30.643Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:35:30.679Z] $ 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 [2023-09-19T02:35:31.001Z] $ docker top f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:35:31.341Z] + go version [2023-09-19T02:35:31.341Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T02:35:31.354Z] $ docker stop --time=1 f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 [2023-09-19T02:35:32.600Z] $ docker rm -f --volumes f1550fe13f7a096772d8f3476c1c46285534a8d39f1c5729a91f385f62138128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:35:33.024Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T02:35:33.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:35:33.094Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:35:33.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-09-19T02:35:33.456Z] $ docker top 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:35:33.797Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-19T02:35:34.091Z] + make test [2023-09-19T02:35:34.092Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T02:35:35.481Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-19T02:35:45.441Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-19T02:35:45.441Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-19T02:35:45.441Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements [2023-09-19T02:35:50.700Z] go vet ./... [2023-09-19T02:35:53.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T02:35:53.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T02:35:53.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T02:35:53.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T02:35:54.003Z] $ docker stop --time=1 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 [2023-09-19T02:35:57.479Z] $ docker rm -f --volumes 41cbf7d3892ea35ae8673c1a5c2ad4c41bf92f218885209d2fed25df9c8de449 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:35:57.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T02:35:58.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T02:35:58.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T02:35:58.745Z] + ls -al . [2023-09-19T02:35:58.745Z] total 188 [2023-09-19T02:35:58.745Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:35 . [2023-09-19T02:35:58.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:34 .. [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 02:34 .dockerignore [2023-09-19T02:35:58.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:35 .git [2023-09-19T02:35:58.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 .github [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 02:34 .gitignore [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:34 .golangci.yml [2023-09-19T02:35:58.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:34 .semver [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 02:34 Attribution.txt [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 02:34 CHANGELOG.md [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 02:34 Dockerfile [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:34 GOVERNANCE.md [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 02:34 Jenkinsfile [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:34 LICENSE [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 02:34 Makefile [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 02:34 OWNERS.md [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 02:34 README.md [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:34 VERSION [2023-09-19T02:35:58.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:34 bin [2023-09-19T02:35:58.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 cmd [2023-09-19T02:35:58.745Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 02:35 coverage.out [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 02:34 go.mod [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 02:34 go.sum [2023-09-19T02:35:58.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:34 internal [2023-09-19T02:35:58.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:34 mock [2023-09-19T02:35:58.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:34 snap [2023-09-19T02:35:58.745Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:35:59.137Z] + 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=dc471bab23d8bb68ec889611181b9f9035c4a73d --label arch=amd64 --label version=3.1.0-dev.10 . [2023-09-19T02:35:59.137Z] Sending build context to Docker daemon 6.492MB [2023-09-19T02:35:59.137Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:35:59.137Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-19T02:35:59.137Z] ---> f6f5c3992558 [2023-09-19T02:35:59.137Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:35:59.137Z] ---> Running in 20111914ae08 [2023-09-19T02:35:59.413Z] Removing intermediate container 20111914ae08 [2023-09-19T02:35:59.413Z] ---> 19701fae536b [2023-09-19T02:35:59.413Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:35:59.413Z] ---> Running in eb7171059ef0 [2023-09-19T02:35:59.413Z] Removing intermediate container eb7171059ef0 [2023-09-19T02:35:59.413Z] ---> 00d6ce9e4d93 [2023-09-19T02:35:59.413Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T02:35:59.413Z] ---> Running in 6760425c1851 [2023-09-19T02:35:59.413Z] Removing intermediate container 6760425c1851 [2023-09-19T02:35:59.413Z] ---> 1434c1aa027d [2023-09-19T02:35:59.413Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:35:59.413Z] ---> Running in fc26dae345c3 [2023-09-19T02:35:59.684Z] Removing intermediate container fc26dae345c3 [2023-09-19T02:35:59.684Z] ---> c7ed78069ffe [2023-09-19T02:35:59.684Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:35:59.684Z] ---> Running in a8195ec09841 [2023-09-19T02:35:59.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:35:59.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:36:00.202Z] OK: 270 MiB in 60 packages [2023-09-19T02:36:00.461Z] Removing intermediate container a8195ec09841 [2023-09-19T02:36:00.461Z] ---> 6f10eb9395bf [2023-09-19T02:36:00.461Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-19T02:36:00.461Z] ---> Running in 75e99cd79245 [2023-09-19T02:36:00.461Z] Removing intermediate container 75e99cd79245 [2023-09-19T02:36:00.461Z] ---> 3faa066b7246 [2023-09-19T02:36:00.461Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-19T02:36:00.719Z] ---> af0df0cbe94e [2023-09-19T02:36:00.719Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:36:00.719Z] ---> Running in 60993634554a [2023-09-19T02:36:01.286Z] Removing intermediate container 60993634554a [2023-09-19T02:36:01.286Z] ---> afa2fd6d636d [2023-09-19T02:36:01.286Z] Step 11/24 : COPY . . [2023-09-19T02:36:01.859Z] ---> 78b2c1aedb9f [2023-09-19T02:36:01.859Z] Step 12/24 : RUN $MAKE [2023-09-19T02:36:01.859Z] ---> Running in b89a1e4b7453 [2023-09-19T02:36:02.117Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-19T02:36:24.112Z] Removing intermediate container b89a1e4b7453 [2023-09-19T02:36:24.112Z] ---> edd0f0519a58 [2023-09-19T02:36:24.112Z] Step 13/24 : FROM alpine:3.18 [2023-09-19T02:36:24.112Z] 3.18: Pulling from library/alpine [2023-09-19T02:36:24.112Z] 7264a8db6415: Already exists [2023-09-19T02:36:24.112Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T02:36:24.112Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T02:36:24.112Z] ---> 7e01a0d0a1dc [2023-09-19T02:36:24.112Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-19T02:36:24.112Z] ---> Running in 9969e9e53268 [2023-09-19T02:36:24.112Z] Removing intermediate container 9969e9e53268 [2023-09-19T02:36:24.112Z] ---> f3ad293d8541 [2023-09-19T02:36:24.112Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-19T02:36:24.112Z] ---> Running in 62209d9f0ba8 [2023-09-19T02:36:24.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T02:36:24.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T02:36:24.112Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T02:36:24.112Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:36:24.112Z] OK: 7 MiB in 16 packages [2023-09-19T02:36:24.112Z] Removing intermediate container 62209d9f0ba8 [2023-09-19T02:36:24.112Z] ---> f27bbeb6fef1 [2023-09-19T02:36:24.112Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-19T02:36:24.112Z] ---> ed1e94285c0b [2023-09-19T02:36:24.112Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-19T02:36:24.112Z] ---> 548f00962d8a [2023-09-19T02:36:24.112Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-19T02:36:24.112Z] ---> 1a4f82d8aad8 [2023-09-19T02:36:24.112Z] Step 19/24 : EXPOSE 59982 [2023-09-19T02:36:24.112Z] ---> Running in 6d25c6c5879a [2023-09-19T02:36:24.112Z] Removing intermediate container 6d25c6c5879a [2023-09-19T02:36:24.112Z] ---> 136a92d3895b [2023-09-19T02:36:24.112Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-19T02:36:24.112Z] ---> Running in bd2a7038a3bd [2023-09-19T02:36:24.112Z] Removing intermediate container bd2a7038a3bd [2023-09-19T02:36:24.112Z] ---> 5e36d03fdb46 [2023-09-19T02:36:24.112Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T02:36:24.371Z] ---> Running in e9771f36c627 [2023-09-19T02:36:24.371Z] Removing intermediate container e9771f36c627 [2023-09-19T02:36:24.371Z] ---> 2ef915e1f331 [2023-09-19T02:36:24.371Z] Step 22/24 : LABEL arch=amd64 [2023-09-19T02:36:24.371Z] ---> Running in 6b9b58955fc3 [2023-09-19T02:36:24.371Z] Removing intermediate container 6b9b58955fc3 [2023-09-19T02:36:24.371Z] ---> b554a29ecdb1 [2023-09-19T02:36:24.371Z] Step 23/24 : LABEL git_sha=dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:36:24.371Z] ---> Running in a79a2f11182d [2023-09-19T02:36:24.371Z] Removing intermediate container a79a2f11182d [2023-09-19T02:36:24.371Z] ---> 40d6348f2d08 [2023-09-19T02:36:24.371Z] Step 24/24 : LABEL version=3.1.0-dev.10 [2023-09-19T02:36:24.630Z] ---> Running in 022e268f5908 [2023-09-19T02:36:24.630Z] Removing intermediate container 022e268f5908 [2023-09-19T02:36:24.630Z] ---> 0dd406065152 [2023-09-19T02:36:24.630Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T02:36:24.630Z] Successfully built 0dd406065152 [2023-09-19T02:36:24.630Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:36:24.705Z] provisioning config files... [2023-09-19T02:36:24.713Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2207350220425788458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:36:25.009Z] ---> docker-login.sh [2023-09-19T02:36:25.009Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:36:25.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:25.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:25.009Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:25.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:25.009Z] [2023-09-19T02:36:25.009Z] Login Succeeded [2023-09-19T02:36:25.009Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:36:25.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:25.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:25.009Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:25.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:25.009Z] [2023-09-19T02:36:25.009Z] Login Succeeded [2023-09-19T02:36:25.009Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:36:25.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:25.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:25.269Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:25.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:25.269Z] [2023-09-19T02:36:25.269Z] Login Succeeded [2023-09-19T02:36:25.269Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:36:25.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:25.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:25.269Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:25.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:25.269Z] [2023-09-19T02:36:25.269Z] Login Succeeded [2023-09-19T02:36:25.269Z] docker.io [2023-09-19T02:36:25.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:36:25.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:36:25.528Z] Configure a credential helper to remove this warning. See [2023-09-19T02:36:25.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:36:25.528Z] [2023-09-19T02:36:25.528Z] Login Succeeded [2023-09-19T02:36:25.528Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:36:25.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T02:36:25.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:36:25.576Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-19T02:36:25.576Z] dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:36:25.576Z] latest [2023-09-19T02:36:25.576Z] 3.1.0-dev.10 [2023-09-19T02:36:25.576Z] dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:36:25.576Z] main [2023-09-19T02:36:25.576Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:25.898Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:26.210Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:36:26.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-19T02:36:26.210Z] 274dddd91153: Preparing [2023-09-19T02:36:26.210Z] bf6ce5b6aee6: Preparing [2023-09-19T02:36:26.210Z] 6571c93dba6f: Preparing [2023-09-19T02:36:26.210Z] 0451956247da: Preparing [2023-09-19T02:36:26.210Z] 4693057ce236: Preparing [2023-09-19T02:36:26.210Z] 4693057ce236: Layer already exists [2023-09-19T02:36:26.210Z] 274dddd91153: Pushed [2023-09-19T02:36:26.210Z] bf6ce5b6aee6: Pushed [2023-09-19T02:36:26.210Z] 0451956247da: Pushed [2023-09-19T02:36:28.741Z] 6571c93dba6f: Pushed [2023-09-19T02:36:29.000Z] dc471bab23d8bb68ec889611181b9f9035c4a73d: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:29.317Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:29.683Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-19T02:36:29.683Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-19T02:36:29.683Z] 274dddd91153: Preparing [2023-09-19T02:36:29.683Z] bf6ce5b6aee6: Preparing [2023-09-19T02:36:29.683Z] 6571c93dba6f: Preparing [2023-09-19T02:36:29.683Z] 0451956247da: Preparing [2023-09-19T02:36:29.683Z] 4693057ce236: Preparing [2023-09-19T02:36:29.683Z] bf6ce5b6aee6: Layer already exists [2023-09-19T02:36:29.683Z] 4693057ce236: Layer already exists [2023-09-19T02:36:29.683Z] 0451956247da: Layer already exists [2023-09-19T02:36:29.683Z] 274dddd91153: Layer already exists [2023-09-19T02:36:29.683Z] 6571c93dba6f: Layer already exists [2023-09-19T02:36:29.683Z] latest: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:29.994Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:30.299Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 [2023-09-19T02:36:30.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-19T02:36:30.299Z] 274dddd91153: Preparing [2023-09-19T02:36:30.299Z] bf6ce5b6aee6: Preparing [2023-09-19T02:36:30.299Z] 6571c93dba6f: Preparing [2023-09-19T02:36:30.299Z] 0451956247da: Preparing [2023-09-19T02:36:30.299Z] 4693057ce236: Preparing [2023-09-19T02:36:30.299Z] 4693057ce236: Layer already exists [2023-09-19T02:36:30.299Z] 6571c93dba6f: Layer already exists [2023-09-19T02:36:30.299Z] bf6ce5b6aee6: Layer already exists [2023-09-19T02:36:30.299Z] 0451956247da: Layer already exists [2023-09-19T02:36:30.299Z] 274dddd91153: Layer already exists [2023-09-19T02:36:30.299Z] 3.1.0-dev.10: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:30.718Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:31.024Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:36:31.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-19T02:36:31.024Z] 274dddd91153: Preparing [2023-09-19T02:36:31.024Z] bf6ce5b6aee6: Preparing [2023-09-19T02:36:31.024Z] 6571c93dba6f: Preparing [2023-09-19T02:36:31.024Z] 0451956247da: Preparing [2023-09-19T02:36:31.024Z] 4693057ce236: Preparing [2023-09-19T02:36:31.024Z] 0451956247da: Layer already exists [2023-09-19T02:36:31.024Z] 274dddd91153: Layer already exists [2023-09-19T02:36:31.024Z] 4693057ce236: Layer already exists [2023-09-19T02:36:31.024Z] bf6ce5b6aee6: Layer already exists [2023-09-19T02:36:31.024Z] 6571c93dba6f: Layer already exists [2023-09-19T02:36:31.024Z] dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:31.343Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:31.647Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-19T02:36:31.647Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-19T02:36:31.647Z] 274dddd91153: Preparing [2023-09-19T02:36:31.647Z] bf6ce5b6aee6: Preparing [2023-09-19T02:36:31.647Z] 6571c93dba6f: Preparing [2023-09-19T02:36:31.647Z] 0451956247da: Preparing [2023-09-19T02:36:31.647Z] 4693057ce236: Preparing [2023-09-19T02:36:31.647Z] 0451956247da: Layer already exists [2023-09-19T02:36:31.647Z] bf6ce5b6aee6: Layer already exists [2023-09-19T02:36:31.647Z] 274dddd91153: Layer already exists [2023-09-19T02:36:31.647Z] 6571c93dba6f: Layer already exists [2023-09-19T02:36:31.647Z] 4693057ce236: Layer already exists [2023-09-19T02:36:31.647Z] main: digest: sha256:e7f5796a76924ba08695f05a9674fcb520ccaf044d1885941cbd3c36ee0c23ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T02:36:31.692Z] ===================================================== [Pipeline] echo [2023-09-19T02:36:31.699Z] taggedImages: [2023-09-19T02:36:31.699Z] - nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:36:31.699Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-19T02:36:31.699Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.10 [2023-09-19T02:36:31.699Z] - nexus3.edgexfoundry.org:10004/device-mqtt:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:36:31.699Z] - 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 [2023-09-19T02:36:32.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:36:32.061Z] [2023-09-19T02:36:32.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:36:32.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:36:32.365Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T02:36:32.365Z] 5eb5b503b376: Pulling fs layer [2023-09-19T02:36:32.365Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T02:36:32.365Z] ec43610c2a17: Pulling fs layer [2023-09-19T02:36:32.365Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T02:36:32.365Z] 33b1e0a273af: Pulling fs layer [2023-09-19T02:36:32.365Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T02:36:32.365Z] 2f39f015ded8: Pulling fs layer [2023-09-19T02:36:32.365Z] 33b1e0a273af: Waiting [2023-09-19T02:36:32.365Z] 5d3b04190fa2: Waiting [2023-09-19T02:36:32.365Z] 2f39f015ded8: Waiting [2023-09-19T02:36:32.365Z] 3a2ae6a8a46f: Waiting [2023-09-19T02:36:32.365Z] 5c69ac0246d0: Download complete [2023-09-19T02:36:32.365Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T02:36:32.365Z] 3a2ae6a8a46f: Download complete [2023-09-19T02:36:32.624Z] ec43610c2a17: Verifying Checksum [2023-09-19T02:36:32.624Z] ec43610c2a17: Download complete [2023-09-19T02:36:32.624Z] 33b1e0a273af: Verifying Checksum [2023-09-19T02:36:32.624Z] 33b1e0a273af: Download complete [2023-09-19T02:36:32.624Z] 5d3b04190fa2: Download complete [2023-09-19T02:36:32.624Z] 5eb5b503b376: Verifying Checksum [2023-09-19T02:36:32.624Z] 5eb5b503b376: Download complete [2023-09-19T02:36:33.189Z] 2f39f015ded8: Verifying Checksum [2023-09-19T02:36:33.189Z] 2f39f015ded8: Download complete [2023-09-19T02:36:33.756Z] 5eb5b503b376: Pull complete [2023-09-19T02:36:34.015Z] 5c69ac0246d0: Pull complete [2023-09-19T02:36:34.274Z] ec43610c2a17: Pull complete [2023-09-19T02:36:34.274Z] 3a2ae6a8a46f: Pull complete [2023-09-19T02:36:34.533Z] 33b1e0a273af: Pull complete [2023-09-19T02:36:34.533Z] 5d3b04190fa2: Pull complete [2023-09-19T02:36:39.798Z] 2f39f015ded8: Pull complete [2023-09-19T02:36:39.798Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T02:36:39.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:36:39.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:36:39.871Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:36:39.900Z] $ 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 [2023-09-19T02:36:44.204Z] $ docker top f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:36:44.573Z] ---> job-cost.sh [2023-09-19T02:36:44.573Z] lf-activate-venv: SKIPPING [2023-09-19T02:36:44.573Z] INFO: No Stack... [2023-09-19T02:36:44.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T02:36:45.091Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T02:36:45.381Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-19T02:36:45.381Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T02:36:45.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [2023-09-19T02:36:45.401Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] did not exist. Created. [2023-09-19T02:36:45.401Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T02:36:45.698Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T02:36:45.731Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T02:36:45.738Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T02:36:45.759Z] $ docker stop --time=1 f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 [2023-09-19T02:36:46.896Z] $ docker rm -f --volumes f18e0147f6501c822ff7aa4b092826be393fa1ceac18d37108b96168de0bd6a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T02:37:40.118Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6454 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-19T02:37:40.132Z] Running in /w/workspace/device-mqtt-go/138 [Pipeline] { [Pipeline] checkout [2023-09-19T02:37:40.166Z] The recommended git tool is: git [2023-09-19T02:37:46.017Z] using credential edgex-jenkins-ssh [2023-09-19T02:37:46.033Z] Cloning the remote Git repository [2023-09-19T02:37:46.071Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-19T02:37:46.165Z] > git init /w/workspace/device-mqtt-go/138 # timeout=10 [2023-09-19T02:37:46.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-19T02:37:46.320Z] > git --version # timeout=10 [2023-09-19T02:37:46.340Z] > git --version # 'git version 2.25.1' [2023-09-19T02:37:46.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T02:37:46.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T02:37:47.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-19T02:37:47.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T02:37:48.488Z] Avoid second fetch [2023-09-19T02:37:48.489Z] Checking out Revision dc471bab23d8bb68ec889611181b9f9035c4a73d (main) [2023-09-19T02:37:49.061Z] Commit message: "Merge pull request #625 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" [2023-09-19T02:37:48.498Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T02:37:48.579Z] > git checkout -f dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:37:49.930Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T02:37:49.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T02:37:49.930Z] Dload Upload Total Spent Left Speed [2023-09-19T02:37:49.930Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-09-19T02:37:50.536Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T02:37:50.876Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T02:37:50.876Z] + sudo tee /etc/docker/daemon.new [2023-09-19T02:37:50.876Z] { [2023-09-19T02:37:50.876Z] "registry-mirrors": [ [2023-09-19T02:37:50.876Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T02:37:50.876Z] ], [2023-09-19T02:37:50.876Z] "bip": "10.250.0.254/24", [2023-09-19T02:37:50.876Z] "hosts": [ [2023-09-19T02:37:50.876Z] "tcp://0.0.0.0:5555", [2023-09-19T02:37:50.876Z] "unix:///var/run/docker.sock" [2023-09-19T02:37:50.876Z] ], [2023-09-19T02:37:50.877Z] "mtu": 1458, [2023-09-19T02:37:50.877Z] "selinux-enabled": true, [2023-09-19T02:37:50.877Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T02:37:50.877Z] } [Pipeline] sh [2023-09-19T02:37:51.215Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T02:37:51.550Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:38:09.836Z] provisioning config files... [2023-09-19T02:38:09.862Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/138@tmp/config16906601528727609901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:38:10.210Z] ---> docker-login.sh [2023-09-19T02:38:10.210Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:38:10.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:38:11.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:38:11.068Z] Configure a credential helper to remove this warning. See [2023-09-19T02:38:11.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:38:11.068Z] [2023-09-19T02:38:11.068Z] Login Succeeded [2023-09-19T02:38:11.068Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:38:11.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:38:11.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:38:11.338Z] Configure a credential helper to remove this warning. See [2023-09-19T02:38:11.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:38:11.338Z] [2023-09-19T02:38:11.338Z] Login Succeeded [2023-09-19T02:38:11.338Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:38:11.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:38:11.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:38:11.615Z] Configure a credential helper to remove this warning. See [2023-09-19T02:38:11.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:38:11.615Z] [2023-09-19T02:38:11.615Z] Login Succeeded [2023-09-19T02:38:11.615Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:38:11.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:38:12.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:38:12.162Z] Configure a credential helper to remove this warning. See [2023-09-19T02:38:12.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:38:12.162Z] [2023-09-19T02:38:12.162Z] Login Succeeded [2023-09-19T02:38:12.162Z] docker.io [2023-09-19T02:38:12.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:38:12.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:38:12.702Z] Configure a credential helper to remove this warning. See [2023-09-19T02:38:12.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:38:12.702Z] [2023-09-19T02:38:12.702Z] Login Succeeded [2023-09-19T02:38:12.702Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:38:12.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T02:38:13.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:38:13.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:38:13.069Z] ========================================================= [2023-09-19T02:38:13.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T02:38:13.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:38:13.446Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T02:38:13.723Z] Sending build context to Docker daemon 3.335MB [2023-09-19T02:38:13.723Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:38:13.723Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T02:38:13.994Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T02:38:13.994Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T02:38:13.994Z] 5d54e960e981: Pulling fs layer [2023-09-19T02:38:13.994Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T02:38:13.994Z] f0e02332f6b5: Pulling fs layer [2023-09-19T02:38:13.994Z] 66412af1f25a: Pulling fs layer [2023-09-19T02:38:13.994Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T02:38:13.994Z] 9a37bb91b891: Pulling fs layer [2023-09-19T02:38:13.994Z] a29adfc67d43: Pulling fs layer [2023-09-19T02:38:13.994Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T02:38:13.994Z] f0e02332f6b5: Waiting [2023-09-19T02:38:13.994Z] 66412af1f25a: Waiting [2023-09-19T02:38:13.994Z] a29adfc67d43: Waiting [2023-09-19T02:38:13.994Z] d5de9f91c1a4: Waiting [2023-09-19T02:38:13.994Z] 1baf3a5c0e64: Waiting [2023-09-19T02:38:13.994Z] 9a37bb91b891: Waiting [2023-09-19T02:38:13.994Z] 5d54e960e981: Verifying Checksum [2023-09-19T02:38:13.994Z] 5d54e960e981: Download complete [2023-09-19T02:38:13.994Z] f0e02332f6b5: Verifying Checksum [2023-09-19T02:38:13.994Z] f0e02332f6b5: Download complete [2023-09-19T02:38:13.994Z] 66412af1f25a: Verifying Checksum [2023-09-19T02:38:13.994Z] 66412af1f25a: Download complete [2023-09-19T02:38:13.994Z] 9fda8d8052c6: Download complete [2023-09-19T02:38:14.592Z] 9a37bb91b891: Verifying Checksum [2023-09-19T02:38:14.592Z] 9a37bb91b891: Download complete [2023-09-19T02:38:15.183Z] a29adfc67d43: Verifying Checksum [2023-09-19T02:38:15.183Z] a29adfc67d43: Download complete [2023-09-19T02:38:15.785Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T02:38:15.785Z] d5de9f91c1a4: Download complete [2023-09-19T02:38:15.785Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T02:38:16.755Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T02:38:16.755Z] 1baf3a5c0e64: Download complete [2023-09-19T02:38:16.755Z] 9fda8d8052c6: Pull complete [2023-09-19T02:38:17.344Z] 5d54e960e981: Pull complete [2023-09-19T02:38:29.702Z] c4a7e357bf2a: Pull complete [2023-09-19T02:38:29.702Z] f0e02332f6b5: Pull complete [2023-09-19T02:38:29.702Z] 66412af1f25a: Pull complete [2023-09-19T02:38:35.079Z] 1baf3a5c0e64: Pull complete [2023-09-19T02:38:36.495Z] 9a37bb91b891: Pull complete [2023-09-19T02:38:37.461Z] a29adfc67d43: Pull complete [2023-09-19T02:38:38.899Z] d5de9f91c1a4: Pull complete [2023-09-19T02:38:38.899Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T02:38:38.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T02:38:38.899Z] ---> 746ca1b523b5 [2023-09-19T02:38:38.899Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:38:41.564Z] ---> Running in 34be0ea9f15d [2023-09-19T02:38:41.564Z] Removing intermediate container 34be0ea9f15d [2023-09-19T02:38:41.564Z] ---> 7c38a3f9baff [2023-09-19T02:38:41.564Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:38:41.564Z] ---> Running in f4935e2d656f [2023-09-19T02:38:41.855Z] Removing intermediate container f4935e2d656f [2023-09-19T02:38:41.855Z] ---> a83a7cc7459b [2023-09-19T02:38:41.855Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T02:38:42.178Z] ---> Running in d7773655bcaa [2023-09-19T02:38:42.462Z] Removing intermediate container d7773655bcaa [2023-09-19T02:38:42.462Z] ---> fdbe56181e30 [2023-09-19T02:38:42.462Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:38:42.462Z] ---> Running in 99afe1eba4e1 [2023-09-19T02:38:42.735Z] Removing intermediate container 99afe1eba4e1 [2023-09-19T02:38:42.735Z] ---> dc3c606b1e11 [2023-09-19T02:38:42.735Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:38:42.735Z] ---> Running in 404b1d85afc5 [2023-09-19T02:38:44.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:38:44.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:38:45.397Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T02:38:45.666Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T02:38:45.666Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T02:38:45.666Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T02:38:45.666Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:38:45.666Z] OK: 272 MiB in 60 packages [2023-09-19T02:38:46.640Z] Removing intermediate container 404b1d85afc5 [2023-09-19T02:38:46.640Z] ---> 5fafed14df89 [2023-09-19T02:38:46.640Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-19T02:38:46.912Z] ---> Running in e72a9b6406db [2023-09-19T02:38:47.181Z] Removing intermediate container e72a9b6406db [2023-09-19T02:38:47.181Z] ---> 09348f2e2b86 [2023-09-19T02:38:47.181Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T02:38:47.769Z] ---> 18dc22c83cbb [2023-09-19T02:38:47.769Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:38:47.769Z] ---> Running in 5c723815c4ef [2023-09-19T02:39:55.694Z] Removing intermediate container 5c723815c4ef [2023-09-19T02:39:55.694Z] ---> 5ed9a5ec8b4f [2023-09-19T02:39:55.694Z] Step 11/12 : COPY . . [2023-09-19T02:39:55.694Z] ---> 30df04b4772a [2023-09-19T02:39:55.694Z] Step 12/12 : RUN $MAKE [2023-09-19T02:39:55.694Z] ---> Running in 34a7f9df5746 [2023-09-19T02:39:55.694Z] noop [2023-09-19T02:39:55.694Z] Removing intermediate container 34a7f9df5746 [2023-09-19T02:39:55.694Z] ---> 8185f100a336 [2023-09-19T02:39:55.694Z] Successfully built 8185f100a336 [2023-09-19T02:39:55.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:39:56.062Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T02:39:56.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:39:56.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container [2023-09-19T02:39:56.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@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 [2023-09-19T02:39:57.580Z] $ docker top 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:39:58.407Z] + go version [2023-09-19T02:39:58.407Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T02:39:58.433Z] $ docker stop --time=1 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a [2023-09-19T02:40:00.054Z] $ docker rm -f --volumes 63c7c02100fddeaa28a64b20fb0084ad2c93e40f3c12ba7d0570d83eefb5058a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:40:00.626Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T02:40:00.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:40:00.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container [2023-09-19T02:40:00.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@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 [2023-09-19T02:40:02.044Z] $ docker top b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:40:02.876Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/138 [Pipeline] fileExists [Pipeline] sh [2023-09-19T02:40:03.532Z] + make test [2023-09-19T02:40:03.532Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T02:40:11.743Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-19T02:42:03.470Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-19T02:42:03.470Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-19T02:42:03.470Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.8% of statements [2023-09-19T02:42:03.470Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T02:42:03.470Z] go vet ./... [2023-09-19T02:42:35.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T02:42:35.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T02:42:35.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T02:42:35.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T02:42:35.766Z] $ docker stop --time=1 b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 [2023-09-19T02:42:38.034Z] $ docker rm -f --volumes b142cbf51da6cc5844f0d24a69fae01b9b1151538b1cc42b8e019e1980bc24c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:42:39.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T02:42:39.316Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T02:42:39.953Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T02:42:40.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T02:42:40.701Z] + ls -al . [2023-09-19T02:42:40.701Z] total 184 [2023-09-19T02:42:40.701Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:40 . [2023-09-19T02:42:40.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:37 .. [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 02:37 .dockerignore [2023-09-19T02:42:40.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:37 .git [2023-09-19T02:42:40.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 .github [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 02:37 .gitignore [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:37 .golangci.yml [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 19 02:37 Attribution.txt [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 19 02:37 CHANGELOG.md [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 19 02:37 Dockerfile [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:37 GOVERNANCE.md [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 02:37 Jenkinsfile [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:37 LICENSE [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 19 02:37 Makefile [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 02:37 OWNERS.md [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 19 02:37 README.md [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 02:34 VERSION [2023-09-19T02:42:40.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:37 bin [2023-09-19T02:42:40.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 cmd [2023-09-19T02:42:40.701Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 19 02:41 coverage.out [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 19 02:37 go.mod [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 02:37 go.sum [2023-09-19T02:42:40.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:37 internal [2023-09-19T02:42:40.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:37 mock [2023-09-19T02:42:40.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:37 snap [2023-09-19T02:42:40.701Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 19 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:42:41.062Z] + 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=dc471bab23d8bb68ec889611181b9f9035c4a73d --label arch=arm64 --label version=3.1.0-dev.10 . [2023-09-19T02:42:41.330Z] Sending build context to Docker daemon 3.354MB [2023-09-19T02:42:41.597Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T02:42:41.597Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-19T02:42:41.597Z] ---> 8185f100a336 [2023-09-19T02:42:41.597Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-19T02:42:41.597Z] ---> Running in cccd730e408c [2023-09-19T02:42:41.874Z] Removing intermediate container cccd730e408c [2023-09-19T02:42:41.874Z] ---> adde8b7ef819 [2023-09-19T02:42:41.874Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T02:42:41.874Z] ---> Running in 53be4542538e [2023-09-19T02:42:42.470Z] Removing intermediate container 53be4542538e [2023-09-19T02:42:42.470Z] ---> 2e8fe588211d [2023-09-19T02:42:42.470Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T02:42:42.470Z] ---> Running in 891a0ac9fcbd [2023-09-19T02:42:42.740Z] Removing intermediate container 891a0ac9fcbd [2023-09-19T02:42:42.740Z] ---> 9dcc87cb446f [2023-09-19T02:42:42.740Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T02:42:42.740Z] ---> Running in f131753fd2dc [2023-09-19T02:42:43.010Z] Removing intermediate container f131753fd2dc [2023-09-19T02:42:43.010Z] ---> c85e637a7e41 [2023-09-19T02:42:43.010Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T02:42:43.279Z] ---> Running in 3d934f4808ab [2023-09-19T02:42:44.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:42:44.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:42:45.796Z] OK: 272 MiB in 60 packages [2023-09-19T02:42:51.154Z] Removing intermediate container 3d934f4808ab [2023-09-19T02:42:51.154Z] ---> ca50a890c038 [2023-09-19T02:42:51.154Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-19T02:42:51.154Z] ---> Running in f02f0b0a03c7 [2023-09-19T02:42:51.154Z] Removing intermediate container f02f0b0a03c7 [2023-09-19T02:42:51.154Z] ---> d63728e33041 [2023-09-19T02:42:51.154Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-19T02:42:51.423Z] ---> a8b221281fa9 [2023-09-19T02:42:51.423Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T02:42:51.691Z] ---> Running in 6eba56457bd1 [2023-09-19T02:42:54.281Z] Removing intermediate container 6eba56457bd1 [2023-09-19T02:42:54.281Z] ---> b0f907085bcf [2023-09-19T02:42:54.281Z] Step 11/24 : COPY . . [2023-09-19T02:42:55.245Z] ---> ab6055d93736 [2023-09-19T02:42:55.245Z] Step 12/24 : RUN $MAKE [2023-09-19T02:42:55.245Z] ---> Running in b51856257768 [2023-09-19T02:42:56.216Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-19T02:45:02.982Z] Removing intermediate container b51856257768 [2023-09-19T02:45:02.982Z] ---> 834e4e14b5d7 [2023-09-19T02:45:02.982Z] Step 13/24 : FROM alpine:3.18 [2023-09-19T02:45:02.982Z] 3.18: Pulling from library/alpine [2023-09-19T02:45:02.982Z] 9fda8d8052c6: Already exists [2023-09-19T02:45:02.982Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T02:45:02.982Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T02:45:02.982Z] ---> f6648c04cd6c [2023-09-19T02:45:02.982Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-19T02:45:02.982Z] ---> Running in e29f3b9abc85 [2023-09-19T02:45:02.982Z] Removing intermediate container e29f3b9abc85 [2023-09-19T02:45:02.982Z] ---> 093611d40284 [2023-09-19T02:45:02.982Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-19T02:45:02.982Z] ---> Running in 026e02da06e8 [2023-09-19T02:45:02.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T02:45:02.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T02:45:02.982Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T02:45:02.982Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T02:45:02.982Z] OK: 8 MiB in 16 packages [2023-09-19T02:45:02.982Z] Removing intermediate container 026e02da06e8 [2023-09-19T02:45:02.982Z] ---> 5259dec9740e [2023-09-19T02:45:02.982Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-19T02:45:02.982Z] ---> 1d281f999e63 [2023-09-19T02:45:02.982Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-19T02:45:02.982Z] ---> 3a86c00899df [2023-09-19T02:45:02.982Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-19T02:45:03.251Z] ---> 6e2ca0289865 [2023-09-19T02:45:03.251Z] Step 19/24 : EXPOSE 59982 [2023-09-19T02:45:03.522Z] ---> Running in ef603bf40c67 [2023-09-19T02:45:04.932Z] Removing intermediate container ef603bf40c67 [2023-09-19T02:45:04.932Z] ---> d0aba464b61f [2023-09-19T02:45:04.932Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-19T02:45:04.932Z] ---> Running in 66e8df5f50b3 [2023-09-19T02:45:05.203Z] Removing intermediate container 66e8df5f50b3 [2023-09-19T02:45:05.203Z] ---> 0f7219483d43 [2023-09-19T02:45:05.203Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T02:45:05.473Z] ---> Running in dacc2ae62d26 [2023-09-19T02:45:05.742Z] Removing intermediate container dacc2ae62d26 [2023-09-19T02:45:05.742Z] ---> f6e2d17473bc [2023-09-19T02:45:05.742Z] Step 22/24 : LABEL arch=arm64 [2023-09-19T02:45:05.742Z] ---> Running in 8631af9651af [2023-09-19T02:45:06.331Z] Removing intermediate container 8631af9651af [2023-09-19T02:45:06.331Z] ---> b3c6e2958e7b [2023-09-19T02:45:06.331Z] Step 23/24 : LABEL git_sha=dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:45:06.331Z] ---> Running in 268ab219c5ff [2023-09-19T02:45:06.600Z] Removing intermediate container 268ab219c5ff [2023-09-19T02:45:06.600Z] ---> 71ad0355999e [2023-09-19T02:45:06.600Z] Step 24/24 : LABEL version=3.1.0-dev.10 [2023-09-19T02:45:06.600Z] ---> Running in 5cd7e7fd3920 [2023-09-19T02:45:06.869Z] Removing intermediate container 5cd7e7fd3920 [2023-09-19T02:45:06.869Z] ---> 27ba2425ea66 [2023-09-19T02:45:06.869Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T02:45:07.136Z] Successfully built 27ba2425ea66 [2023-09-19T02:45:07.136Z] 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 [2023-09-19T02:45:07.236Z] provisioning config files... [2023-09-19T02:45:07.251Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/138@tmp/config8935739173396064168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:45:07.603Z] ---> docker-login.sh [2023-09-19T02:45:07.603Z] nexus3.edgexfoundry.org:10001 [2023-09-19T02:45:07.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:45:07.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:45:07.871Z] Configure a credential helper to remove this warning. See [2023-09-19T02:45:07.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:45:07.871Z] [2023-09-19T02:45:07.871Z] Login Succeeded [2023-09-19T02:45:07.871Z] nexus3.edgexfoundry.org:10002 [2023-09-19T02:45:08.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:45:08.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:45:08.409Z] Configure a credential helper to remove this warning. See [2023-09-19T02:45:08.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:45:08.409Z] [2023-09-19T02:45:08.409Z] Login Succeeded [2023-09-19T02:45:08.409Z] nexus3.edgexfoundry.org:10003 [2023-09-19T02:45:08.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:45:08.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:45:08.679Z] Configure a credential helper to remove this warning. See [2023-09-19T02:45:08.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:45:08.679Z] [2023-09-19T02:45:08.679Z] Login Succeeded [2023-09-19T02:45:08.679Z] nexus3.edgexfoundry.org:10004 [2023-09-19T02:45:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:45:09.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:45:09.266Z] Configure a credential helper to remove this warning. See [2023-09-19T02:45:09.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:45:09.266Z] [2023-09-19T02:45:09.266Z] Login Succeeded [2023-09-19T02:45:09.266Z] docker.io [2023-09-19T02:45:09.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T02:45:09.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T02:45:09.804Z] Configure a credential helper to remove this warning. See [2023-09-19T02:45:09.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T02:45:09.804Z] [2023-09-19T02:45:09.804Z] Login Succeeded [2023-09-19T02:45:09.804Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T02:45:09.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T02:45:09.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T02:45:09.874Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-19T02:45:09.874Z] dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:45:09.874Z] latest [2023-09-19T02:45:09.874Z] 3.1.0-dev.10 [2023-09-19T02:45:09.874Z] dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:45:09.874Z] main [2023-09-19T02:45:09.874Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:10.256Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:10.614Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:45:10.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-19T02:45:10.614Z] 75b92550275c: Preparing [2023-09-19T02:45:10.614Z] 341f514e5119: Preparing [2023-09-19T02:45:10.614Z] ce2c60192b18: Preparing [2023-09-19T02:45:10.614Z] d13851f4d940: Preparing [2023-09-19T02:45:10.614Z] b2191e2be29d: Preparing [2023-09-19T02:45:10.614Z] b2191e2be29d: Layer already exists [2023-09-19T02:45:10.881Z] 341f514e5119: Pushed [2023-09-19T02:45:10.881Z] d13851f4d940: Pushed [2023-09-19T02:45:10.881Z] 75b92550275c: Pushed [2023-09-19T02:45:17.546Z] ce2c60192b18: Pushed [2023-09-19T02:45:17.546Z] dc471bab23d8bb68ec889611181b9f9035c4a73d: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:19.858Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:20.224Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-19T02:45:20.224Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-19T02:45:20.224Z] 75b92550275c: Preparing [2023-09-19T02:45:20.224Z] 341f514e5119: Preparing [2023-09-19T02:45:20.224Z] ce2c60192b18: Preparing [2023-09-19T02:45:20.224Z] d13851f4d940: Preparing [2023-09-19T02:45:20.224Z] b2191e2be29d: Preparing [2023-09-19T02:45:20.224Z] ce2c60192b18: Layer already exists [2023-09-19T02:45:20.224Z] 341f514e5119: Layer already exists [2023-09-19T02:45:20.224Z] b2191e2be29d: Layer already exists [2023-09-19T02:45:20.224Z] d13851f4d940: Layer already exists [2023-09-19T02:45:20.224Z] 75b92550275c: Layer already exists [2023-09-19T02:45:20.494Z] latest: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:20.849Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:21.209Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 [2023-09-19T02:45:21.209Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-19T02:45:21.209Z] 75b92550275c: Preparing [2023-09-19T02:45:21.209Z] 341f514e5119: Preparing [2023-09-19T02:45:21.209Z] ce2c60192b18: Preparing [2023-09-19T02:45:21.209Z] d13851f4d940: Preparing [2023-09-19T02:45:21.209Z] b2191e2be29d: Preparing [2023-09-19T02:45:21.209Z] b2191e2be29d: Layer already exists [2023-09-19T02:45:21.209Z] 341f514e5119: Layer already exists [2023-09-19T02:45:21.209Z] 75b92550275c: Layer already exists [2023-09-19T02:45:21.209Z] d13851f4d940: Layer already exists [2023-09-19T02:45:21.209Z] ce2c60192b18: Layer already exists [2023-09-19T02:45:21.478Z] 3.1.0-dev.10: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:21.833Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:22.177Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:45:22.177Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-19T02:45:22.177Z] 75b92550275c: Preparing [2023-09-19T02:45:22.177Z] 341f514e5119: Preparing [2023-09-19T02:45:22.177Z] ce2c60192b18: Preparing [2023-09-19T02:45:22.177Z] d13851f4d940: Preparing [2023-09-19T02:45:22.177Z] b2191e2be29d: Preparing [2023-09-19T02:45:22.177Z] 341f514e5119: Layer already exists [2023-09-19T02:45:22.177Z] d13851f4d940: Layer already exists [2023-09-19T02:45:22.177Z] 75b92550275c: Layer already exists [2023-09-19T02:45:22.177Z] ce2c60192b18: Layer already exists [2023-09-19T02:45:22.177Z] b2191e2be29d: Layer already exists [2023-09-19T02:45:22.446Z] dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:22.803Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:23.155Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-19T02:45:23.155Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-19T02:45:23.155Z] 75b92550275c: Preparing [2023-09-19T02:45:23.155Z] 341f514e5119: Preparing [2023-09-19T02:45:23.155Z] ce2c60192b18: Preparing [2023-09-19T02:45:23.155Z] d13851f4d940: Preparing [2023-09-19T02:45:23.155Z] b2191e2be29d: Preparing [2023-09-19T02:45:23.155Z] d13851f4d940: Layer already exists [2023-09-19T02:45:23.155Z] 341f514e5119: Layer already exists [2023-09-19T02:45:23.155Z] b2191e2be29d: Layer already exists [2023-09-19T02:45:23.155Z] ce2c60192b18: Layer already exists [2023-09-19T02:45:23.155Z] 75b92550275c: Layer already exists [2023-09-19T02:45:23.422Z] main: digest: sha256:b5d650fbea4cb08e34ca59b6a08b8dd513a4b0124eeb17d851f0cf626aa17197 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T02:45:23.487Z] ===================================================== [Pipeline] echo [2023-09-19T02:45:23.498Z] taggedImages: [2023-09-19T02:45:23.498Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d [2023-09-19T02:45:23.498Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-19T02:45:23.498Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.10 [2023-09-19T02:45:23.498Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dc471bab23d8bb68ec889611181b9f9035c4a73d-3.1.0-dev.10 [2023-09-19T02:45:23.498Z] - 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 [2023-09-19T02:45:23.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:45:23.886Z] [2023-09-19T02:45:23.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:24.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:45:24.227Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T02:45:24.227Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T02:45:24.498Z] 04944245beec: Pulling fs layer [2023-09-19T02:45:24.498Z] 699f458cf7ca: Pulling fs layer [2023-09-19T02:45:24.498Z] 765212b225bb: Pulling fs layer [2023-09-19T02:45:24.498Z] f23df028b6ca: Pulling fs layer [2023-09-19T02:45:24.498Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T02:45:24.498Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T02:45:24.498Z] 765212b225bb: Waiting [2023-09-19T02:45:24.498Z] f23df028b6ca: Waiting [2023-09-19T02:45:24.498Z] d65c8cfc05b1: Waiting [2023-09-19T02:45:24.498Z] 2437ff75d9bd: Waiting [2023-09-19T02:45:24.498Z] 04944245beec: Verifying Checksum [2023-09-19T02:45:24.498Z] 04944245beec: Download complete [2023-09-19T02:45:24.498Z] 765212b225bb: Verifying Checksum [2023-09-19T02:45:24.498Z] 765212b225bb: Download complete [2023-09-19T02:45:24.498Z] f23df028b6ca: Verifying Checksum [2023-09-19T02:45:24.498Z] f23df028b6ca: Download complete [2023-09-19T02:45:24.498Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T02:45:24.498Z] d65c8cfc05b1: Download complete [2023-09-19T02:45:24.768Z] 699f458cf7ca: Verifying Checksum [2023-09-19T02:45:24.768Z] 699f458cf7ca: Download complete [2023-09-19T02:45:25.038Z] 8998bd30e6a1: Download complete [2023-09-19T02:45:27.626Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T02:45:27.626Z] 2437ff75d9bd: Download complete [2023-09-19T02:45:29.583Z] 8998bd30e6a1: Pull complete [2023-09-19T02:45:29.851Z] 04944245beec: Pull complete [2023-09-19T02:45:31.261Z] 699f458cf7ca: Pull complete [2023-09-19T02:45:31.527Z] 765212b225bb: Pull complete [2023-09-19T02:45:32.494Z] f23df028b6ca: Pull complete [2023-09-19T02:45:32.762Z] d65c8cfc05b1: Pull complete [2023-09-19T02:45:48.473Z] 2437ff75d9bd: Pull complete [2023-09-19T02:45:48.473Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T02:45:48.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T02:45:48.473Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:45:48.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container [2023-09-19T02:45:48.784Z] $ 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/138 -v /w/workspace/device-mqtt-go/138:/w/workspace/device-mqtt-go/138:rw,z -v /w/workspace/device-mqtt-go/138@tmp:/w/workspace/device-mqtt-go/138@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 [2023-09-19T02:45:51.593Z] $ docker top 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:45:52.462Z] ---> job-cost.sh [2023-09-19T02:45:52.462Z] lf-activate-venv: SKIPPING [2023-09-19T02:45:52.462Z] INFO: No Stack... [2023-09-19T02:45:52.735Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T02:45:53.729Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T02:45:54.383Z] + cat /w/workspace/device-mqtt-go/138/archives/cost.csv [2023-09-19T02:45:54.383Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T02:45:54.456Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [2023-09-19T02:45:54.462Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] did not exist. Created. [2023-09-19T02:45:54.462Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T02:45:55.189Z] /w/workspace/device-mqtt-go/138@tmp/durable-c61e45f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T02:45:55.851Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T02:45:55.874Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T02:45:55.953Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T02:45:55.967Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T02:45:55.994Z] $ docker stop --time=1 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad [2023-09-19T02:45:57.566Z] $ docker rm -f --volumes 53d04ed5a22eb8d1e31eb8fd59861b0b13c17f1a6a67e226aa456139e4a71cad [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 [2023-09-19T02:45:57.975Z] provisioning config files... [2023-09-19T02:45:57.982Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15217396500657717569tmp [Pipeline] { [Pipeline] sh [2023-09-19T02:45:58.274Z] + set +x [2023-09-19T02:45:58.274Z] + bash -s -- [2023-09-19T02:45:58.274Z] + curl -s https://codecov.io/bash [2023-09-19T02:45:58.274Z] [2023-09-19T02:45:58.274Z] _____ _ [2023-09-19T02:45:58.274Z] / ____| | | [2023-09-19T02:45:58.274Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T02:45:58.274Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T02:45:58.274Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T02:45:58.274Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T02:45:58.274Z] Bash-1.0.6 [2023-09-19T02:45:58.274Z] [2023-09-19T02:45:58.274Z] [2023-09-19T02:45:58.274Z] ==> git version 2.25.1 found [2023-09-19T02:45:58.274Z] ==> 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 [2023-09-19T02:45:58.274Z] Release-Date: 2020-01-08 [2023-09-19T02:45:58.274Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T02:45:58.274Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T02:45:58.274Z] ==> Jenkins CI detected. [2023-09-19T02:45:58.274Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-19T02:45:58.274Z] project root: . [2023-09-19T02:45:58.274Z] --> token set from env [2023-09-19T02:45:58.274Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T02:45:58.274Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T02:45:58.274Z] ==> Python coveragepy not found [2023-09-19T02:45:58.274Z] ==> Searching for coverage reports in: [2023-09-19T02:45:58.274Z] + . [2023-09-19T02:45:58.274Z] -> Found 1 reports [2023-09-19T02:45:58.274Z] ==> Detecting git/mercurial file structure [2023-09-19T02:45:58.274Z] ==> Reading reports [2023-09-19T02:45:58.274Z] + ./coverage.out bytes=18506 [2023-09-19T02:45:58.534Z] ==> Appending adjustments [2023-09-19T02:45:58.534Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T02:45:58.534Z] + Found adjustments [2023-09-19T02:45:58.534Z] ==> Gzipping contents [2023-09-19T02:45:58.534Z] 4.0K /tmp/codecov.cTPFl6.gz [2023-09-19T02:45:58.534Z] ==> Uploading reports [2023-09-19T02:45:58.534Z] url: https://codecov.io [2023-09-19T02:45:58.534Z] query: branch=main&commit=dc471bab23d8bb68ec889611181b9f9035c4a73d&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T02:45:58.534Z] -> Pinging Codecov [2023-09-19T02:45:58.534Z] 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=dc471bab23d8bb68ec889611181b9f9035c4a73d&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T02:45:58.534Z] -> Uploading to [2023-09-19T02:45:58.534Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7D719EC7BBE17E464838252E33014C33/dc471bab23d8bb68ec889611181b9f9035c4a73d/ce475ecb-aa65-41a9-94a3-81f5a65fd24d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T024558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a59e94b48bfa8a450f7a0fec9f8470262964d649482ed24e159b758eb805f213 [2023-09-19T02:45:58.534Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T02:45:58.534Z] Dload Upload Total Spent Left Speed [2023-09-19T02:45:58.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17494 --:--:-- --:--:-- --:--:-- 17494 [2023-09-19T02:45:58.793Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] } [2023-09-19T02:45:58.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-19T02:45:58.917Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-19T02:45:58.926Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:59.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T02:45:59.240Z] [2023-09-19T02:45:59.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:45:59.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T02:45:59.533Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-19T02:45:59.533Z] df9b9388f04a: Pulling fs layer [2023-09-19T02:45:59.533Z] 52dc419b0ee2: Pulling fs layer [2023-09-19T02:45:59.533Z] 25bc292e5bac: Pulling fs layer [2023-09-19T02:45:59.533Z] 114826534d7a: Pulling fs layer [2023-09-19T02:45:59.533Z] 4657fd5d0bcf: Pulling fs layer [2023-09-19T02:45:59.533Z] 6ad1cebc031e: Pulling fs layer [2023-09-19T02:45:59.533Z] 8a3aa393b2d8: Pulling fs layer [2023-09-19T02:45:59.533Z] 4657fd5d0bcf: Waiting [2023-09-19T02:45:59.533Z] 6ad1cebc031e: Waiting [2023-09-19T02:45:59.533Z] 8a3aa393b2d8: Waiting [2023-09-19T02:45:59.533Z] 114826534d7a: Waiting [2023-09-19T02:45:59.533Z] 52dc419b0ee2: Verifying Checksum [2023-09-19T02:45:59.533Z] 52dc419b0ee2: Download complete [2023-09-19T02:45:59.533Z] 25bc292e5bac: Verifying Checksum [2023-09-19T02:45:59.533Z] 25bc292e5bac: Download complete [2023-09-19T02:45:59.533Z] 4657fd5d0bcf: Verifying Checksum [2023-09-19T02:45:59.533Z] 4657fd5d0bcf: Download complete [2023-09-19T02:45:59.533Z] df9b9388f04a: Verifying Checksum [2023-09-19T02:45:59.533Z] df9b9388f04a: Download complete [2023-09-19T02:45:59.792Z] 6ad1cebc031e: Verifying Checksum [2023-09-19T02:45:59.792Z] 6ad1cebc031e: Download complete [2023-09-19T02:45:59.792Z] df9b9388f04a: Pull complete [2023-09-19T02:45:59.792Z] 52dc419b0ee2: Pull complete [2023-09-19T02:45:59.792Z] 25bc292e5bac: Pull complete [2023-09-19T02:46:00.360Z] 114826534d7a: Verifying Checksum [2023-09-19T02:46:00.360Z] 114826534d7a: Download complete [2023-09-19T02:46:00.360Z] 8a3aa393b2d8: Verifying Checksum [2023-09-19T02:46:00.360Z] 8a3aa393b2d8: Download complete [2023-09-19T02:46:03.648Z] 114826534d7a: Pull complete [2023-09-19T02:46:03.648Z] 4657fd5d0bcf: Pull complete [2023-09-19T02:46:03.907Z] 6ad1cebc031e: Pull complete [2023-09-19T02:46:07.190Z] 8a3aa393b2d8: Pull complete [2023-09-19T02:46:07.190Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-19T02:46:07.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T02:46:07.190Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:46:07.273Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:46:07.308Z] $ 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 [2023-09-19T02:46:14.742Z] $ docker top b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-19T02:46:14.803Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-19T02:46:15.324Z] + set -o pipefail [2023-09-19T02:46:15.324Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/aaf87d10-996e-481c-88fe-12b6b1bd2995 [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] [2023-09-19T02:46:20.589Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-19T02:46:20.589Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-19T02:46:20.589Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-19T02:46:20.602Z] $ docker stop --time=1 b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 [2023-09-19T02:46:24.566Z] $ docker rm -f --volumes b088503b634b62b41b6d6f6c9fb2baff1446d95b7cd0aef2676c3b1cdf71c335 [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 [2023-09-19T02:46:25.300Z] + git log --format=format:%s -1 dc471bab23d8bb68ec889611181b9f9035c4a73d [Pipeline] sh [2023-09-19T02:46:25.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T02:46:25.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:25.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:46:25.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:46:25.958Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:46:25.987Z] $ 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 [2023-09-19T02:46:26.436Z] $ docker top 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T02:46:26.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:46:26.515Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:46:26.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:46:26.632Z] $ docker exec 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 ssh-agent [2023-09-19T02:46:26.728Z] SSH_AUTH_SOCK=/tmp/ssh-ZqwcmvVlb2Aw/agent.31 [2023-09-19T02:46:26.728Z] SSH_AGENT_PID=37 [2023-09-19T02:46:26.733Z] Running ssh-add (command line suppressed) [2023-09-19T02:46:26.823Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12128894299411184348.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12128894299411184348.key) [2023-09-19T02:46:26.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:46:27.120Z] + git semver tag [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,286 [run_tag] DEBUG tag force:False [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,286 [check_head_tag] DEBUG check head tag [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,286 [execute] INFO git cat-file --batch-check [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,290 [execute] INFO git cat-file --batch [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,300 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,301 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T02:46:27.379Z] 2023-09-19 02:46:27,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:27.379Z] 3.1.0-dev.10 [Pipeline] } [2023-09-19T02:46:27.389Z] $ docker exec --env ******** --env ******** 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 ssh-agent -k [2023-09-19T02:46:27.489Z] unset SSH_AUTH_SOCK; [2023-09-19T02:46:27.490Z] unset SSH_AGENT_PID; [2023-09-19T02:46:27.490Z] echo Agent pid 37 killed; [2023-09-19T02:46:27.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T02:46:27.805Z] + git semver [Pipeline] } [2023-09-19T02:46:28.077Z] $ docker stop --time=1 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 [2023-09-19T02:46:29.329Z] $ docker rm -f --volumes 0fac00c04c837b11c981b394d9315f74f782e68e682f7c96a974db8a5de3b164 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:29.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T02:46:29.688Z] [2023-09-19T02:46:29.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:29.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T02:46:29.986Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-19T02:46:29.986Z] ab5ef0e58194: Pulling fs layer [2023-09-19T02:46:29.986Z] 9712f1f96733: Pulling fs layer [2023-09-19T02:46:29.986Z] 63f879dbbcfc: Pulling fs layer [2023-09-19T02:46:29.986Z] 0d9ebad4ef96: Pulling fs layer [2023-09-19T02:46:29.986Z] e9a5061849ea: Pulling fs layer [2023-09-19T02:46:29.986Z] d747dcd14b5f: Pulling fs layer [2023-09-19T02:46:29.986Z] 2de7ff778b66: Pulling fs layer [2023-09-19T02:46:29.986Z] e9a5061849ea: Waiting [2023-09-19T02:46:29.986Z] d747dcd14b5f: Waiting [2023-09-19T02:46:29.986Z] 0d9ebad4ef96: Waiting [2023-09-19T02:46:29.986Z] 9712f1f96733: Verifying Checksum [2023-09-19T02:46:29.986Z] 9712f1f96733: Download complete [2023-09-19T02:46:30.246Z] 63f879dbbcfc: Verifying Checksum [2023-09-19T02:46:30.246Z] 63f879dbbcfc: Download complete [2023-09-19T02:46:30.505Z] e9a5061849ea: Verifying Checksum [2023-09-19T02:46:30.505Z] e9a5061849ea: Download complete [2023-09-19T02:46:30.505Z] 0d9ebad4ef96: Verifying Checksum [2023-09-19T02:46:30.505Z] 0d9ebad4ef96: Download complete [2023-09-19T02:46:30.505Z] d747dcd14b5f: Download complete [2023-09-19T02:46:30.505Z] ab5ef0e58194: Verifying Checksum [2023-09-19T02:46:30.505Z] ab5ef0e58194: Download complete [2023-09-19T02:46:30.763Z] 2de7ff778b66: Verifying Checksum [2023-09-19T02:46:30.763Z] 2de7ff778b66: Download complete [2023-09-19T02:46:33.291Z] ab5ef0e58194: Pull complete [2023-09-19T02:46:33.291Z] 9712f1f96733: Pull complete [2023-09-19T02:46:33.855Z] 63f879dbbcfc: Pull complete [2023-09-19T02:46:37.136Z] 0d9ebad4ef96: Pull complete [2023-09-19T02:46:37.394Z] e9a5061849ea: Pull complete [2023-09-19T02:46:37.394Z] d747dcd14b5f: Pull complete [2023-09-19T02:46:38.768Z] 2de7ff778b66: Pull complete [2023-09-19T02:46:38.768Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-19T02:46:38.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T02:46:38.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:46:38.858Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:46:38.890Z] $ 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 [2023-09-19T02:46:45.320Z] $ docker top e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:46:45.384Z] provisioning config files... [2023-09-19T02:46:45.390Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4362519929006752108tmp [2023-09-19T02:46:45.401Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5486895956099107530tmp [2023-09-19T02:46:45.410Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9628092742074765364tmp [Pipeline] { [Pipeline] echo [2023-09-19T02:46:45.425Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:46:45.709Z] ---> sigul-configuration.sh [2023-09-19T02:46:45.709Z] gpg: directory `/root/.gnupg' created [2023-09-19T02:46:45.709Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-19T02:46:45.709Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-19T02:46:45.709Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-19T02:46:45.709Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-19T02:46:45.709Z] gpg: CAST5 encrypted data [2023-09-19T02:46:45.709Z] gpg: encrypted with 1 passphrase [2023-09-19T02:46:45.709Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-19T02:46:45.996Z] + mkdir /home/jenkins [2023-09-19T02:46:45.997Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-19T02:46:46.281Z] + 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 [2023-09-19T02:46:46.290Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:46:46.578Z] ---> sigul-install.sh [2023-09-19T02:46:46.578Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-19T02:46:46.864Z] + git tag --list [2023-09-19T02:46:46.864Z] 0.7.1 [2023-09-19T02:46:46.864Z] v1.0.0 [2023-09-19T02:46:46.864Z] v1.1.0 [2023-09-19T02:46:46.864Z] v1.1.1 [2023-09-19T02:46:46.864Z] v1.2.2 [2023-09-19T02:46:46.864Z] v1.3.0 [2023-09-19T02:46:46.864Z] v1.3.1 [2023-09-19T02:46:46.864Z] v2.0.0 [2023-09-19T02:46:46.864Z] v2.1.0 [2023-09-19T02:46:46.864Z] v2.1.1 [2023-09-19T02:46:46.864Z] v2.2.0 [2023-09-19T02:46:46.864Z] v2.3.0 [2023-09-19T02:46:46.864Z] v3.0 [2023-09-19T02:46:46.864Z] v3.0.0 [2023-09-19T02:46:46.864Z] v3.1.0-dev.1 [2023-09-19T02:46:46.864Z] v3.1.0-dev.10 [2023-09-19T02:46:46.864Z] v3.1.0-dev.2 [2023-09-19T02:46:46.864Z] v3.1.0-dev.3 [2023-09-19T02:46:46.864Z] v3.1.0-dev.4 [2023-09-19T02:46:46.864Z] v3.1.0-dev.5 [2023-09-19T02:46:46.864Z] v3.1.0-dev.6 [2023-09-19T02:46:46.864Z] v3.1.0-dev.7 [2023-09-19T02:46:46.864Z] v3.1.0-dev.8 [2023-09-19T02:46:46.864Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-19T02:46:47.152Z] + lftools sign git-tag v3.1.0-dev.10 [2023-09-19T02:46:47.721Z] Signing Git tag with Sigul... [2023-09-19T02:46:47.721Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-09-19T02:46:48.298Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:46:48.582Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-19T02:46:48.589Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-19T02:46:48.612Z] $ docker stop --time=1 e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 [2023-09-19T02:46:50.682Z] $ docker rm -f --volumes e4374546de80eaec8ad00223cf8a9dfb409767762b4cda0fbe200e95541fe2e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-19T02:46:51.088Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T02:46:51.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:51.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:46:51.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:46:51.467Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:46:51.505Z] $ 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 [2023-09-19T02:46:51.826Z] $ docker top 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 -eo pid,comm [2023-09-19T02:46:51.868Z] 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). [2023-09-19T02:46:51.868Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T02:46:51.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:46:51.902Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:46:51.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:46:52.004Z] $ docker exec 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 ssh-agent [2023-09-19T02:46:52.111Z] SSH_AUTH_SOCK=/tmp/ssh-fyrO8Yx0UGB2/agent.32 [2023-09-19T02:46:52.111Z] SSH_AGENT_PID=38 [2023-09-19T02:46:52.117Z] Running ssh-add (command line suppressed) [2023-09-19T02:46:52.212Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15167561858121497485.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15167561858121497485.key) [2023-09-19T02:46:52.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:46:52.505Z] + git semver bump pre [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,683 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,685 [execute] INFO git cat-file --batch-check [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,690 [execute] INFO git cat-file --batch [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T02:46:52.764Z] 2023-09-19 02:46:52,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:52.764Z] 3.1.0-dev.11 [Pipeline] } [2023-09-19T02:46:52.776Z] $ docker exec --env ******** --env ******** 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 ssh-agent -k [2023-09-19T02:46:52.869Z] unset SSH_AUTH_SOCK; [2023-09-19T02:46:52.869Z] unset SSH_AGENT_PID; [2023-09-19T02:46:52.869Z] echo Agent pid 38 killed; [2023-09-19T02:46:52.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T02:46:53.175Z] + git semver [Pipeline] } [2023-09-19T02:46:53.449Z] $ docker stop --time=1 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 [2023-09-19T02:46:54.719Z] $ docker rm -f --volumes 54030c25201ac387fe89439adc3066e3698a722ecf0a04fc990437337701f244 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T02:46:55.062Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T02:46:55.062Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:46:55.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T02:46:55.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:46:55.421Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:46:55.456Z] $ 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 [2023-09-19T02:46:55.769Z] $ docker top c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 -eo pid,comm [2023-09-19T02:46:55.811Z] 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). [2023-09-19T02:46:55.811Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T02:46:55.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T02:46:55.850Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T02:46:55.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T02:46:55.968Z] $ docker exec c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 ssh-agent [2023-09-19T02:46:56.074Z] SSH_AUTH_SOCK=/tmp/ssh-1hAau4TQ5ZfB/agent.33 [2023-09-19T02:46:56.074Z] SSH_AGENT_PID=39 [2023-09-19T02:46:56.079Z] Running ssh-add (command line suppressed) [2023-09-19T02:46:56.177Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3211936226672183576.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3211936226672183576.key) [2023-09-19T02:46:56.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T02:46:56.476Z] + git semver push [2023-09-19T02:46:56.734Z] 2023-09-19 02:46:56,650 [run_push] DEBUG push [2023-09-19T02:46:56.734Z] 2023-09-19 02:46:56,651 [execute] INFO git cat-file --batch-check [2023-09-19T02:46:56.734Z] 2023-09-19 02:46:56,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T02:46:56.734Z] 2023-09-19 02:46:56,655 [execute] INFO git rev-list d1f98c41e07728b8ab9a32212a9cc6c5e81d1511 -- [2023-09-19T02:46:56.735Z] 2023-09-19 02:46:56,655 [execute] DEBUG Popen(['git', 'rev-list', 'd1f98c41e07728b8ab9a32212a9cc6c5e81d1511', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T02:46:56.735Z] 2023-09-19 02:46:56,662 [execute] INFO git fetch -v origin [2023-09-19T02:46:56.735Z] 2023-09-19 02:46:56,663 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-19T02:46:57.376Z] 2023-09-19 02:46:57,116 [run_push] DEBUG no remote changes detected [2023-09-19T02:46:57.376Z] 2023-09-19 02:46:57,116 [execute] INFO git push origin semver [2023-09-19T02:46:57.376Z] 2023-09-19 02:46:57,117 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T02:46:57.946Z] 2023-09-19 02:46:57,815 [run_push] DEBUG push all version tags [2023-09-19T02:46:57.946Z] 2023-09-19 02:46:57,815 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-19T02:46:57.946Z] 2023-09-19 02:46:57,816 [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) [2023-09-19T02:46:58.884Z] 2023-09-19 02:46:58,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-19T02:46:58.884Z] 3.1.0-dev.11 [Pipeline] } [2023-09-19T02:46:58.896Z] $ docker exec --env ******** --env ******** c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 ssh-agent -k [2023-09-19T02:46:59.001Z] unset SSH_AUTH_SOCK; [2023-09-19T02:46:59.001Z] unset SSH_AGENT_PID; [2023-09-19T02:46:59.001Z] echo Agent pid 39 killed; [2023-09-19T02:46:59.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T02:46:59.314Z] + git semver [Pipeline] } [2023-09-19T02:46:59.587Z] $ docker stop --time=1 c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 [2023-09-19T02:47:00.860Z] $ docker rm -f --volumes c48a77c1f40a736856a47b03644df66b153e058ff5eb5e9969efd6da17860628 [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 [2023-09-19T02:47:01.416Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-19T02:47:01.416Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-19T02:47:01.416Z] total 16 [2023-09-19T02:47:01.416Z] drwxr-xr-x 3 root root 4096 Sep 19 02:36 . [2023-09-19T02:47:01.416Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:46 .. [2023-09-19T02:47:01.416Z] drwxr-xr-x 2 root root 4096 Sep 19 02:36 cost [2023-09-19T02:47:01.416Z] -rw-r--r-- 1 root root 86 Sep 19 02:36 cost.csv [2023-09-19T02:47:01.416Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-19T02:47:01.416Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-19T02:47:01.416Z] total 16 [2023-09-19T02:47:01.416Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:36 . [2023-09-19T02:47:01.416Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 02:46 .. [2023-09-19T02:47:01.416Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:36 cost [2023-09-19T02:47:01.416Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:01.705Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:02.564Z] ---> package-listing.sh [2023-09-19T02:47:02.564Z] ++ facter osfamily [2023-09-19T02:47:02.564Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T02:47:02.822Z] + OS_FAMILY=debian [2023-09-19T02:47:02.822Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-19T02:47:02.822Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T02:47:02.822Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T02:47:02.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T02:47:02.822Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T02:47:02.822Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-19T02:47:02.822Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T02:47:02.822Z] + case "${OS_FAMILY}" in [2023-09-19T02:47:02.822Z] + dpkg -l [2023-09-19T02:47:02.822Z] + grep '^ii' [2023-09-19T02:47:02.822Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T02:47:02.822Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T02:47:02.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T02:47:02.822Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-19T02:47:02.822Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-19T02:47:02.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-09-19T02:47:02.833Z] 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 [2023-09-19T02:47:03.110Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T02:47:03.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T02:47:03.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T02:47:03.833Z] prd-ubuntu20.04-docker-8c-8g-6451 does not seem to be running inside a container [2023-09-19T02:47:03.912Z] $ 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 [2023-09-19T02:47:04.117Z] $ docker top 518055204d2c623e21890e50d44dc8d29dd0f1e6b8754ae4ce41fcfa6bc8e87a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T02:47:04.466Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T02:47:04.756Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T02:47:05.042Z] + ls /var/log/sa-host [2023-09-19T02:47:05.042Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T02:47:05.106Z] provisioning config files... [2023-09-19T02:47:05.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14139506563752076462tmp [Pipeline] { [Pipeline] echo [2023-09-19T02:47:05.131Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:05.416Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T02:47:05.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:05.746Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T02:47:05.754Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:06.041Z] ---> sudo-logs.sh [2023-09-19T02:47:06.041Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T02:47:06.069Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:06.352Z] ---> job-cost.sh [2023-09-19T02:47:06.352Z] lf-activate-venv: SKIPPING [2023-09-19T02:47:06.352Z] DEBUG: total: 0.2199999988079071 [2023-09-19T02:47:06.352Z] INFO: Retrieving Stack Cost... [2023-09-19T02:47:06.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T02:47:07.181Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T02:47:07.191Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T02:47:07.473Z] ---> logs-deploy.sh [2023-09-19T02:47:07.473Z] lf-activate-venv: SKIPPING [2023-09-19T02:47:07.473Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/138 [2023-09-19T02:47:07.473Z] INFO: archiving workspace using pattern(s): [2023-09-19T02:47:08.409Z] Archives upload complete. [2023-09-19T02:47:08.409Z] INFO: archiving logs to Nexus