Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc5b9b67d26e6d46da136c9be928c2824f9c3aae 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-ssh13164288296416167063.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-ssh7391445649002383057.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-ssh17442133984936373111.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-ssh8159705869453956468.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-ssh10109018080025087539.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6993 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 fc5b9b67d26e6d46da136c9be928c2824f9c3aae (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#626)" > 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 fc5b9b67d26e6d46da136c9be928c2824f9c3aae # timeout=10 > git rev-list --no-walk dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:38:08.915Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:38:08.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:38:09.001Z] ========================================================= [2023-09-20T17:38:09.001Z] EdgeX Global Pipelines Version Info [2023-09-20T17:38:09.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:09.715Z] ------------------- [2023-09-20T17:38:09.715Z] stable info: [2023-09-20T17:38:09.715Z] ------------------- [2023-09-20T17:38:09.715Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:38:09.715Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:38:09.715Z] Message: update stable to v1.0.254 [2023-09-20T17:38:10.283Z] ------------------- [2023-09-20T17:38:10.283Z] experimental info: [2023-09-20T17:38:10.283Z] ------------------- [2023-09-20T17:38:10.283Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:38:10.283Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:38:10.283Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:38:10.475Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-20T17:38:10.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-20T17:38:10.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:38:10.530Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:38:10.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:38:10.563Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:38:10.576Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:38:10.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:38:10.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:38:10.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:38:10.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:38:10.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-20T17:38:10.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:38:10.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:38:10.646Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:38:10.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:38:10.670Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:38:10.685Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:38:10.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:38:10.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:38:10.745Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:38:10.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:38:10.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:38:10.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:38:10.810Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:38:10.825Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:38:10.840Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:38:10.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T17:38:10.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T17:38:10.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T17:38:10.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] echo [2023-09-20T17:38:10.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc5b9b6 [Pipeline] echo [2023-09-20T17:38:10.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:38:10.961Z] provisioning config files... [2023-09-20T17:38:10.973Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1244280587641762696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:11.290Z] ---> docker-login.sh [2023-09-20T17:38:11.290Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:38:11.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:11.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:11.550Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:11.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:11.550Z] [2023-09-20T17:38:11.550Z] Login Succeeded [2023-09-20T17:38:11.550Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:38:11.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:11.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:11.550Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:11.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:11.550Z] [2023-09-20T17:38:11.550Z] Login Succeeded [2023-09-20T17:38:11.550Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:38:11.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:11.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:11.811Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:11.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:11.811Z] [2023-09-20T17:38:11.811Z] Login Succeeded [2023-09-20T17:38:11.811Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:38:11.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:11.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:11.811Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:11.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:11.811Z] [2023-09-20T17:38:11.811Z] Login Succeeded [2023-09-20T17:38:11.811Z] docker.io [2023-09-20T17:38:11.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:12.071Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:12.071Z] [2023-09-20T17:38:12.071Z] Login Succeeded [2023-09-20T17:38:12.071Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:38:12.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:38:12.448Z] + git rev-list -1 --merges fc5b9b67d26e6d46da136c9be928c2824f9c3aae~1..fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] echo [2023-09-20T17:38:12.502Z] -----------> git rev-list -1 --merges fc5b9b67d26e6d46da136c9be928c2824f9c3aae~1..fc5b9b67d26e6d46da136c9be928c2824f9c3aae fc5b9b67d26e6d46da136c9be928c2824f9c3aae [false] [Pipeline] sh [2023-09-20T17:38:12.796Z] + git log --format=format:%s -1 fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] echo [2023-09-20T17:38:12.810Z] ========================================================= [2023-09-20T17:38:12.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:38:12.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:38:13.123Z] + git log --format=format:%s -1 fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] echo [2023-09-20T17:38:13.141Z] [semverPrep] GIT_COMMIT: fc5b9b67d26e6d46da136c9be928c2824f9c3aae, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#626) [Pipeline] echo [2023-09-20T17:38:13.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:38:13.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:38:13.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:38:13.489Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:38:13.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:38:13.490Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:38:13.490Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:38:13.490Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:13.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:13.830Z] [2023-09-20T17:38:13.830Z] 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-20T17:38:14.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:14.133Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:38:14.133Z] b85a868b505f: Pulling fs layer [2023-09-20T17:38:14.133Z] e2be974225ed: Pulling fs layer [2023-09-20T17:38:14.133Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:38:14.133Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:38:14.133Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:38:14.133Z] eaf3925da568: Pulling fs layer [2023-09-20T17:38:14.133Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:38:14.133Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:38:14.133Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:38:14.133Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:38:14.133Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:38:14.133Z] eaf3925da568: Waiting [2023-09-20T17:38:14.133Z] bab4dde63d76: Waiting [2023-09-20T17:38:14.133Z] bde34c3a00c8: Waiting [2023-09-20T17:38:14.133Z] b352a97aabf1: Waiting [2023-09-20T17:38:14.133Z] 4872d77fe225: Waiting [2023-09-20T17:38:14.133Z] 5851b861e8e6: Waiting [2023-09-20T17:38:14.133Z] 988bab9f4d93: Waiting [2023-09-20T17:38:14.133Z] 1469e6f7b9e6: Waiting [2023-09-20T17:38:14.133Z] e2be974225ed: Download complete [2023-09-20T17:38:14.133Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:38:14.133Z] 988bab9f4d93: Download complete [2023-09-20T17:38:14.394Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:38:14.394Z] 339a4e72a1f5: Download complete [2023-09-20T17:38:14.394Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:38:14.394Z] 1469e6f7b9e6: Download complete [2023-09-20T17:38:14.394Z] eaf3925da568: Verifying Checksum [2023-09-20T17:38:14.394Z] eaf3925da568: Download complete [2023-09-20T17:38:14.394Z] bde34c3a00c8: Download complete [2023-09-20T17:38:14.394Z] b352a97aabf1: Download complete [2023-09-20T17:38:14.394Z] 4872d77fe225: Download complete [2023-09-20T17:38:14.394Z] 5851b861e8e6: Download complete [2023-09-20T17:38:14.394Z] b85a868b505f: Verifying Checksum [2023-09-20T17:38:14.394Z] b85a868b505f: Download complete [2023-09-20T17:38:14.653Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:38:14.653Z] bab4dde63d76: Download complete [2023-09-20T17:38:15.616Z] b85a868b505f: Pull complete [2023-09-20T17:38:15.874Z] e2be974225ed: Pull complete [2023-09-20T17:38:16.446Z] 339a4e72a1f5: Pull complete [2023-09-20T17:38:16.446Z] 988bab9f4d93: Pull complete [2023-09-20T17:38:16.709Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:38:16.709Z] eaf3925da568: Pull complete [2023-09-20T17:38:18.611Z] bab4dde63d76: Pull complete [2023-09-20T17:38:18.611Z] bde34c3a00c8: Pull complete [2023-09-20T17:38:18.611Z] b352a97aabf1: Pull complete [2023-09-20T17:38:18.611Z] 4872d77fe225: Pull complete [2023-09-20T17:38:18.870Z] 5851b861e8e6: Pull complete [2023-09-20T17:38:18.870Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:38:18.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:18.870Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:38:18.970Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:38:19.009Z] $ 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-20T17:38:22.225Z] $ docker top 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc -eo pid,comm [2023-09-20T17:38:22.280Z] 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-20T17:38:22.280Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:38:22.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:38:22.316Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:38:22.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:38:22.431Z] $ docker exec 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc ssh-agent [2023-09-20T17:38:22.530Z] SSH_AUTH_SOCK=/tmp/ssh-zRyD2PYzVx7F/agent.32 [2023-09-20T17:38:22.530Z] SSH_AGENT_PID=39 [2023-09-20T17:38:22.536Z] Running ssh-add (command line suppressed) [2023-09-20T17:38:22.642Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_161022135286884116.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_161022135286884116.key) [2023-09-20T17:38:22.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:38:22.940Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:38:22.951Z] $ docker exec --env ******** --env ******** 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc ssh-agent -k [2023-09-20T17:38:23.042Z] unset SSH_AUTH_SOCK; [2023-09-20T17:38:23.042Z] unset SSH_AGENT_PID; [2023-09-20T17:38:23.042Z] echo Agent pid 39 killed; [2023-09-20T17:38:23.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:38:23.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:38:23.086Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:38:23.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:38:23.209Z] $ docker exec 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc ssh-agent [2023-09-20T17:38:23.316Z] SSH_AUTH_SOCK=/tmp/ssh-PO5FXhQxh9cj/agent.71 [2023-09-20T17:38:23.316Z] SSH_AGENT_PID=77 [2023-09-20T17:38:23.321Z] Running ssh-add (command line suppressed) [2023-09-20T17:38:23.428Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9924152838924663397.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9924152838924663397.key) [2023-09-20T17:38:23.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:38:23.738Z] + git semver init [2023-09-20T17:38:23.999Z] 2023-09-20 17:38:23,937 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:38:23.999Z] 2023-09-20 17:38:23,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-20T17:38:23.999Z] 2023-09-20 17:38:23,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-20T17:38:23.999Z] 2023-09-20 17:38:23,939 [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-20T17:38:24.934Z] 2023-09-20 17:38:24,787 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-20T17:38:24.934Z] 2023-09-20 17:38:24,788 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-20T17:38:24.934Z] 2023-09-20 17:38:24,788 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:38:24.934Z] 2023-09-20 17:38:24,788 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:38:24.934Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:38:24.944Z] $ docker exec --env ******** --env ******** 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc ssh-agent -k [2023-09-20T17:38:25.043Z] unset SSH_AUTH_SOCK; [2023-09-20T17:38:25.044Z] unset SSH_AGENT_PID; [2023-09-20T17:38:25.044Z] echo Agent pid 77 killed; [2023-09-20T17:38:25.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:38:25.363Z] + git semver [Pipeline] } [2023-09-20T17:38:25.635Z] $ docker stop --time=1 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc [2023-09-20T17:38:26.916Z] $ docker rm -f --volumes 2487c177a71327b0deaa56c981b98f33741bdf161de89d853eca367cd2c03dfc [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:38:27.262Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:38:27.464Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:38:27.467Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [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-20T17:38:27.616Z] provisioning config files... [2023-09-20T17:38:27.624Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8087748316462940768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:27.919Z] ---> docker-login.sh [2023-09-20T17:38:27.919Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:38:27.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:27.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:27.919Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:27.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:27.919Z] [2023-09-20T17:38:27.919Z] Login Succeeded [2023-09-20T17:38:27.919Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:38:27.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:27.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:27.919Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:27.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:27.919Z] [2023-09-20T17:38:27.919Z] Login Succeeded [2023-09-20T17:38:27.919Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:38:28.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:28.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:28.180Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:28.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:28.180Z] [2023-09-20T17:38:28.180Z] Login Succeeded [2023-09-20T17:38:28.180Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:38:28.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:28.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:28.180Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:28.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:28.180Z] [2023-09-20T17:38:28.180Z] Login Succeeded [2023-09-20T17:38:28.180Z] docker.io [2023-09-20T17:38:28.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:28.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:28.439Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:28.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:28.439Z] [2023-09-20T17:38:28.439Z] Login Succeeded [2023-09-20T17:38:28.439Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:38:28.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:38:28.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:38:28.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:38:28.519Z] ========================================================= [2023-09-20T17:38:28.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:38:28.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:28.821Z] + 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-20T17:38:28.821Z] Sending build context to Docker daemon 6.477MB [2023-09-20T17:38:28.821Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:38:28.821Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:38:28.821Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:38:28.821Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:38:28.821Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:38:28.821Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:38:28.821Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:38:28.821Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:38:28.821Z] c68163c4e522: Pulling fs layer [2023-09-20T17:38:28.821Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:38:28.821Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:38:28.821Z] c68163c4e522: Waiting [2023-09-20T17:38:28.821Z] ad3a456e5733: Waiting [2023-09-20T17:38:28.821Z] 33e27b845d1e: Waiting [2023-09-20T17:38:28.821Z] 50da416c3ac9: Waiting [2023-09-20T17:38:28.821Z] 23d2d4c4bb30: Waiting [2023-09-20T17:38:28.821Z] c4d48a809fc2: Download complete [2023-09-20T17:38:29.080Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:38:29.080Z] ad3a456e5733: Download complete [2023-09-20T17:38:29.080Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:38:29.080Z] 33e27b845d1e: Download complete [2023-09-20T17:38:29.080Z] 7264a8db6415: Verifying Checksum [2023-09-20T17:38:29.080Z] 7264a8db6415: Download complete [2023-09-20T17:38:29.080Z] c68163c4e522: Verifying Checksum [2023-09-20T17:38:29.080Z] c68163c4e522: Download complete [2023-09-20T17:38:29.080Z] 7264a8db6415: Pull complete [2023-09-20T17:38:29.338Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:38:29.338Z] 23d2d4c4bb30: Download complete [2023-09-20T17:38:29.338Z] c4d48a809fc2: Pull complete [2023-09-20T17:38:29.597Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:38:29.597Z] 4f1c88b9dad5: Download complete [2023-09-20T17:38:29.855Z] 50da416c3ac9: Download complete [2023-09-20T17:38:33.139Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:38:33.139Z] ad3a456e5733: Pull complete [2023-09-20T17:38:33.139Z] 33e27b845d1e: Pull complete [2023-09-20T17:38:33.139Z] c68163c4e522: Pull complete [2023-09-20T17:38:35.667Z] 50da416c3ac9: Pull complete [2023-09-20T17:38:35.667Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:38:35.667Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:38:35.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:38:35.667Z] ---> 0786185ac409 [2023-09-20T17:38:35.667Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:38:40.968Z] ---> Running in 78cfa67bdeb7 [2023-09-20T17:38:40.968Z] Removing intermediate container 78cfa67bdeb7 [2023-09-20T17:38:40.968Z] ---> fbf531073c13 [2023-09-20T17:38:40.968Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:38:40.968Z] ---> Running in b0f21e18e3e1 [2023-09-20T17:38:40.968Z] Removing intermediate container b0f21e18e3e1 [2023-09-20T17:38:40.968Z] ---> a747d448caf1 [2023-09-20T17:38:40.968Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:38:40.968Z] ---> Running in 57109f9ef2ba [2023-09-20T17:38:40.968Z] Removing intermediate container 57109f9ef2ba [2023-09-20T17:38:40.968Z] ---> 40ec9826e429 [2023-09-20T17:38:40.968Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:38:40.968Z] ---> Running in e4e093b06e1e [2023-09-20T17:38:41.228Z] Removing intermediate container e4e093b06e1e [2023-09-20T17:38:41.228Z] ---> b8601d76af4d [2023-09-20T17:38:41.228Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:38:41.228Z] ---> Running in 9c2f5e69d245 [2023-09-20T17:38:41.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:38:41.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:38:41.745Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:38:41.745Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:38:41.745Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:38:41.745Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:38:41.745Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:38:41.745Z] OK: 268 MiB in 56 packages [2023-09-20T17:38:42.314Z] Removing intermediate container 9c2f5e69d245 [2023-09-20T17:38:42.314Z] ---> 6bc5681fe2f7 [2023-09-20T17:38:42.314Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-20T17:38:42.314Z] ---> Running in a400037d0eb8 [2023-09-20T17:38:42.314Z] Removing intermediate container a400037d0eb8 [2023-09-20T17:38:42.314Z] ---> 70b4904c8dac [2023-09-20T17:38:42.314Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:38:42.314Z] ---> 7eabec42c5d0 [2023-09-20T17:38:42.314Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:38:42.314Z] ---> Running in ae6c21b92bd9 [2023-09-20T17:38:42.567Z] Still waiting to schedule task [2023-09-20T17:38:42.567Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:39:21.035Z] Removing intermediate container ae6c21b92bd9 [2023-09-20T17:39:21.035Z] ---> b490b0231f22 [2023-09-20T17:39:21.035Z] Step 11/12 : COPY . . [2023-09-20T17:39:21.035Z] ---> 30e620828eef [2023-09-20T17:39:21.035Z] Step 12/12 : RUN $MAKE [2023-09-20T17:39:21.035Z] ---> Running in f8b0263a7050 [2023-09-20T17:39:21.035Z] noop [2023-09-20T17:39:21.035Z] Removing intermediate container f8b0263a7050 [2023-09-20T17:39:21.035Z] ---> c2ff3800a7f2 [2023-09-20T17:39:21.035Z] Successfully built c2ff3800a7f2 [2023-09-20T17:39:21.035Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:21.346Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:39:21.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:39:21.417Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:39:21.449Z] $ 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-20T17:39:21.794Z] $ docker top 666b1a64fabbf56b56a5bc8d5954b3f15743505d74d607505b12e5edfb84859f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:39:22.129Z] + go version [2023-09-20T17:39:22.129Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:39:22.139Z] $ docker stop --time=1 666b1a64fabbf56b56a5bc8d5954b3f15743505d74d607505b12e5edfb84859f [2023-09-20T17:39:23.415Z] $ docker rm -f --volumes 666b1a64fabbf56b56a5bc8d5954b3f15743505d74d607505b12e5edfb84859f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:23.837Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:39:23.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:39:23.910Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:39:23.944Z] $ 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-20T17:39:24.233Z] $ docker top 5498dea75e8753fb3d71348e199c122b3dc6e44a5c54d27ac12c401c4135fc03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:39:24.567Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:39:24.859Z] + make test [2023-09-20T17:39:24.859Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:39:26.238Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-20T17:39:36.525Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-20T17:39:36.525Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-20T17:39:36.525Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2023-09-20T17:39:41.858Z] go vet ./... [2023-09-20T17:39:46.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:39:46.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:39:46.039Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:39:46.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:39:46.061Z] $ docker stop --time=1 5498dea75e8753fb3d71348e199c122b3dc6e44a5c54d27ac12c401c4135fc03 [2023-09-20T17:39:49.615Z] $ docker rm -f --volumes 5498dea75e8753fb3d71348e199c122b3dc6e44a5c54d27ac12c401c4135fc03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:39:50.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:39:50.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:39:50.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:39:50.864Z] + ls -al . [2023-09-20T17:39:50.864Z] total 188 [2023-09-20T17:39:50.864Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:39 . [2023-09-20T17:39:50.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:38 .. [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:38 .dockerignore [2023-09-20T17:39:50.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:39 .git [2023-09-20T17:39:50.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 .github [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:38 .gitignore [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:38 .golangci.yml [2023-09-20T17:39:50.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:38 .semver [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 17:38 Attribution.txt [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 17:38 CHANGELOG.md [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 17:38 Dockerfile [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:38 GOVERNANCE.md [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 17:38 Jenkinsfile [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:38 LICENSE [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 17:38 Makefile [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:38 OWNERS.md [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 17:38 README.md [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:38 VERSION [2023-09-20T17:39:50.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:38 bin [2023-09-20T17:39:50.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 cmd [2023-09-20T17:39:50.864Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 17:39 coverage.out [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 17:38 go.mod [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:38 go.sum [2023-09-20T17:39:50.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 internal [2023-09-20T17:39:50.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:38 mock [2023-09-20T17:39:50.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:38 snap [2023-09-20T17:39:50.864Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:51.305Z] + 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=fc5b9b67d26e6d46da136c9be928c2824f9c3aae --label arch=amd64 --label version=3.1.0-dev.11 . [2023-09-20T17:39:51.305Z] Sending build context to Docker daemon 6.497MB [2023-09-20T17:39:51.305Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:39:51.305Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T17:39:51.305Z] ---> c2ff3800a7f2 [2023-09-20T17:39:51.305Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:39:51.305Z] ---> Running in 0e1e873863c9 [2023-09-20T17:39:51.305Z] Removing intermediate container 0e1e873863c9 [2023-09-20T17:39:51.305Z] ---> 378c9e02101a [2023-09-20T17:39:51.305Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:39:51.305Z] ---> Running in ab89a28646d7 [2023-09-20T17:39:51.565Z] Removing intermediate container ab89a28646d7 [2023-09-20T17:39:51.565Z] ---> e11d458097b9 [2023-09-20T17:39:51.565Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:39:51.565Z] ---> Running in 3c8a5e3aa5bc [2023-09-20T17:39:51.565Z] Removing intermediate container 3c8a5e3aa5bc [2023-09-20T17:39:51.565Z] ---> eb20b2a6dd86 [2023-09-20T17:39:51.565Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:39:51.565Z] ---> Running in 6e9af5f6061b [2023-09-20T17:39:51.565Z] Removing intermediate container 6e9af5f6061b [2023-09-20T17:39:51.565Z] ---> e65f3d5f2d3a [2023-09-20T17:39:51.565Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:39:51.565Z] ---> Running in 9c6813253545 [2023-09-20T17:39:51.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:52.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:52.374Z] OK: 268 MiB in 56 packages [2023-09-20T17:39:52.637Z] Removing intermediate container 9c6813253545 [2023-09-20T17:39:52.637Z] ---> ab5cf10a12c8 [2023-09-20T17:39:52.637Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-20T17:39:52.637Z] ---> Running in 6702ded36f93 [2023-09-20T17:39:52.895Z] Removing intermediate container 6702ded36f93 [2023-09-20T17:39:52.895Z] ---> 5cc7e01e032c [2023-09-20T17:39:52.895Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T17:39:52.895Z] ---> ebcf9adb5df9 [2023-09-20T17:39:52.895Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:39:52.895Z] ---> Running in 04aa6601465c [2023-09-20T17:39:53.462Z] Removing intermediate container 04aa6601465c [2023-09-20T17:39:53.462Z] ---> cd17bfd09e5d [2023-09-20T17:39:53.463Z] Step 11/24 : COPY . . [2023-09-20T17:39:54.031Z] ---> 2902514aa655 [2023-09-20T17:39:54.031Z] Step 12/24 : RUN $MAKE [2023-09-20T17:39:54.031Z] ---> Running in 81a2693e1290 [2023-09-20T17:39:54.031Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-20T17:40:15.961Z] Removing intermediate container 81a2693e1290 [2023-09-20T17:40:15.961Z] ---> 3ed2941f11db [2023-09-20T17:40:15.961Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T17:40:15.961Z] 3.18: Pulling from library/alpine [2023-09-20T17:40:15.961Z] 7264a8db6415: Already exists [2023-09-20T17:40:15.961Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:40:15.961Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:40:15.961Z] ---> 7e01a0d0a1dc [2023-09-20T17:40:15.961Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-20T17:40:15.961Z] ---> Running in b8d388f2c2b7 [2023-09-20T17:40:15.961Z] Removing intermediate container b8d388f2c2b7 [2023-09-20T17:40:15.961Z] ---> 0f20e5f4be25 [2023-09-20T17:40:15.961Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:40:15.961Z] ---> Running in a9a1d9a13085 [2023-09-20T17:40:15.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:15.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:15.961Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:40:15.961Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:40:15.961Z] OK: 7 MiB in 16 packages [2023-09-20T17:40:15.961Z] Removing intermediate container a9a1d9a13085 [2023-09-20T17:40:15.961Z] ---> 49d9e5068188 [2023-09-20T17:40:15.961Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-20T17:40:15.961Z] ---> eff3e0eeba41 [2023-09-20T17:40:15.961Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-20T17:40:15.961Z] ---> 9f3998a9e461 [2023-09-20T17:40:15.961Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-20T17:40:15.961Z] ---> aefe49cf2964 [2023-09-20T17:40:15.961Z] Step 19/24 : EXPOSE 59982 [2023-09-20T17:40:15.961Z] ---> Running in 77d9cb419f26 [2023-09-20T17:40:15.961Z] Removing intermediate container 77d9cb419f26 [2023-09-20T17:40:15.961Z] ---> e0e7c400b474 [2023-09-20T17:40:15.961Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-20T17:40:15.961Z] ---> Running in 9e7b71bce891 [2023-09-20T17:40:15.961Z] Removing intermediate container 9e7b71bce891 [2023-09-20T17:40:15.961Z] ---> ee4b324dfa36 [2023-09-20T17:40:15.961Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:40:15.961Z] ---> Running in 12a11b4871bf [2023-09-20T17:40:15.961Z] Removing intermediate container 12a11b4871bf [2023-09-20T17:40:15.961Z] ---> 78be9023203d [2023-09-20T17:40:15.961Z] Step 22/24 : LABEL arch=amd64 [2023-09-20T17:40:15.961Z] ---> Running in f1b98fc0493f [2023-09-20T17:40:15.961Z] Removing intermediate container f1b98fc0493f [2023-09-20T17:40:15.961Z] ---> 499197aed479 [2023-09-20T17:40:15.961Z] Step 23/24 : LABEL git_sha=fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:40:15.961Z] ---> Running in 6469fe33216a [2023-09-20T17:40:15.961Z] Removing intermediate container 6469fe33216a [2023-09-20T17:40:15.961Z] ---> 83349ad39d71 [2023-09-20T17:40:15.961Z] Step 24/24 : LABEL version=3.1.0-dev.11 [2023-09-20T17:40:15.961Z] ---> Running in 2f16c7587003 [2023-09-20T17:40:15.961Z] Removing intermediate container 2f16c7587003 [2023-09-20T17:40:15.961Z] ---> e33ac3e93bc9 [2023-09-20T17:40:15.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:40:15.961Z] Successfully built e33ac3e93bc9 [2023-09-20T17:40:15.961Z] 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-20T17:40:16.044Z] provisioning config files... [2023-09-20T17:40:16.052Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8907947834328222683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:40:16.343Z] ---> docker-login.sh [2023-09-20T17:40:16.343Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:40:16.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:16.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:16.343Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:16.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:16.343Z] [2023-09-20T17:40:16.343Z] Login Succeeded [2023-09-20T17:40:16.343Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:40:16.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:16.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:16.343Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:16.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:16.343Z] [2023-09-20T17:40:16.343Z] Login Succeeded [2023-09-20T17:40:16.343Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:40:16.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:16.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:16.665Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:16.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:16.665Z] [2023-09-20T17:40:16.665Z] Login Succeeded [2023-09-20T17:40:16.665Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:40:16.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:16.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:16.665Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:16.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:16.665Z] [2023-09-20T17:40:16.665Z] Login Succeeded [2023-09-20T17:40:16.665Z] docker.io [2023-09-20T17:40:16.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:16.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:16.924Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:16.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:16.924Z] [2023-09-20T17:40:16.924Z] Login Succeeded [2023-09-20T17:40:16.924Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:40:16.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:40:16.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:40:16.987Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-20T17:40:16.987Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:40:16.987Z] latest [2023-09-20T17:40:16.987Z] 3.1.0-dev.11 [2023-09-20T17:40:16.987Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:40:16.987Z] main [2023-09-20T17:40:16.987Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:17.305Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:17.613Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:40:17.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-20T17:40:17.614Z] 393a3d2259ee: Preparing [2023-09-20T17:40:17.614Z] 4ea7112503db: Preparing [2023-09-20T17:40:17.614Z] 3848916e9bd5: Preparing [2023-09-20T17:40:17.614Z] a573640d57ff: Preparing [2023-09-20T17:40:17.614Z] 4693057ce236: Preparing [2023-09-20T17:40:17.614Z] 4693057ce236: Layer already exists [2023-09-20T17:40:17.614Z] 393a3d2259ee: Pushed [2023-09-20T17:40:17.614Z] a573640d57ff: Pushed [2023-09-20T17:40:17.614Z] 4ea7112503db: Pushed [2023-09-20T17:40:20.143Z] 3848916e9bd5: Pushed [2023-09-20T17:40:20.402Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae: digest: sha256:6d707a264f831eaf3764c436f5288839a7d2c301b97e13082aaa1efb776ae84b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:20.717Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:21.029Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-20T17:40:21.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-20T17:40:21.029Z] 393a3d2259ee: Preparing [2023-09-20T17:40:21.029Z] 4ea7112503db: Preparing [2023-09-20T17:40:21.029Z] 3848916e9bd5: Preparing [2023-09-20T17:40:21.029Z] a573640d57ff: Preparing [2023-09-20T17:40:21.029Z] 4693057ce236: Preparing [2023-09-20T17:40:21.029Z] 4ea7112503db: Layer already exists [2023-09-20T17:40:21.029Z] 4693057ce236: Layer already exists [2023-09-20T17:40:21.029Z] 3848916e9bd5: Layer already exists [2023-09-20T17:40:21.029Z] a573640d57ff: Layer already exists [2023-09-20T17:40:21.029Z] 393a3d2259ee: Layer already exists [2023-09-20T17:40:21.029Z] latest: digest: sha256:6d707a264f831eaf3764c436f5288839a7d2c301b97e13082aaa1efb776ae84b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:21.344Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:21.644Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.11 [2023-09-20T17:40:21.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-20T17:40:21.645Z] 393a3d2259ee: Preparing [2023-09-20T17:40:21.645Z] 4ea7112503db: Preparing [2023-09-20T17:40:21.645Z] 3848916e9bd5: Preparing [2023-09-20T17:40:21.645Z] a573640d57ff: Preparing [2023-09-20T17:40:21.645Z] 4693057ce236: Preparing [2023-09-20T17:40:21.645Z] 3848916e9bd5: Layer already exists [2023-09-20T17:40:21.645Z] a573640d57ff: Layer already exists [2023-09-20T17:40:21.645Z] 4ea7112503db: Layer already exists [2023-09-20T17:40:21.645Z] 4693057ce236: Layer already exists [2023-09-20T17:40:21.645Z] 393a3d2259ee: Layer already exists [2023-09-20T17:40:21.645Z] 3.1.0-dev.11: digest: sha256:6d707a264f831eaf3764c436f5288839a7d2c301b97e13082aaa1efb776ae84b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:21.964Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:22.267Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:40:22.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-20T17:40:22.267Z] 393a3d2259ee: Preparing [2023-09-20T17:40:22.267Z] 4ea7112503db: Preparing [2023-09-20T17:40:22.267Z] 3848916e9bd5: Preparing [2023-09-20T17:40:22.267Z] a573640d57ff: Preparing [2023-09-20T17:40:22.267Z] 4693057ce236: Preparing [2023-09-20T17:40:22.267Z] 3848916e9bd5: Layer already exists [2023-09-20T17:40:22.267Z] 4ea7112503db: Layer already exists [2023-09-20T17:40:22.267Z] a573640d57ff: Layer already exists [2023-09-20T17:40:22.267Z] 393a3d2259ee: Layer already exists [2023-09-20T17:40:22.267Z] 4693057ce236: Layer already exists [2023-09-20T17:40:22.267Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11: digest: sha256:6d707a264f831eaf3764c436f5288839a7d2c301b97e13082aaa1efb776ae84b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:22.575Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:22.875Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-20T17:40:22.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-20T17:40:22.875Z] 393a3d2259ee: Preparing [2023-09-20T17:40:22.875Z] 4ea7112503db: Preparing [2023-09-20T17:40:22.875Z] 3848916e9bd5: Preparing [2023-09-20T17:40:22.875Z] a573640d57ff: Preparing [2023-09-20T17:40:22.875Z] 4693057ce236: Preparing [2023-09-20T17:40:22.875Z] 4693057ce236: Layer already exists [2023-09-20T17:40:22.875Z] a573640d57ff: Layer already exists [2023-09-20T17:40:22.875Z] 4ea7112503db: Layer already exists [2023-09-20T17:40:22.875Z] 393a3d2259ee: Layer already exists [2023-09-20T17:40:22.875Z] 3848916e9bd5: Layer already exists [2023-09-20T17:40:22.875Z] main: digest: sha256:6d707a264f831eaf3764c436f5288839a7d2c301b97e13082aaa1efb776ae84b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:40:22.921Z] ===================================================== [Pipeline] echo [2023-09-20T17:40:22.930Z] taggedImages: [2023-09-20T17:40:22.930Z] - nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:40:22.930Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-20T17:40:22.930Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.11 [2023-09-20T17:40:22.930Z] - nexus3.edgexfoundry.org:10004/device-mqtt:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:40:22.930Z] - 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-20T17:40:23.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:23.292Z] [2023-09-20T17:40:23.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:23.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:23.586Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:40:23.586Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:40:23.586Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:40:23.586Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:40:23.586Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:40:23.586Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:40:23.586Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:40:23.586Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:40:23.586Z] 33b1e0a273af: Waiting [2023-09-20T17:40:23.586Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:40:23.586Z] 5d3b04190fa2: Waiting [2023-09-20T17:40:23.586Z] 2f39f015ded8: Waiting [2023-09-20T17:40:23.586Z] 5c69ac0246d0: Download complete [2023-09-20T17:40:23.586Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:40:23.586Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:40:23.586Z] ec43610c2a17: Download complete [2023-09-20T17:40:23.586Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:40:23.586Z] 33b1e0a273af: Download complete [2023-09-20T17:40:23.586Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:40:23.586Z] 5d3b04190fa2: Download complete [2023-09-20T17:40:23.843Z] 5eb5b503b376: Download complete [2023-09-20T17:40:24.407Z] 2f39f015ded8: Download complete [2023-09-20T17:40:24.973Z] 5eb5b503b376: Pull complete [2023-09-20T17:40:25.230Z] 5c69ac0246d0: Pull complete [2023-09-20T17:40:25.489Z] ec43610c2a17: Pull complete [2023-09-20T17:40:25.489Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:40:25.748Z] 33b1e0a273af: Pull complete [2023-09-20T17:40:25.748Z] 5d3b04190fa2: Pull complete [2023-09-20T17:40:29.930Z] 2f39f015ded8: Pull complete [2023-09-20T17:40:29.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:40:29.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:40:29.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:30.012Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:40:30.039Z] $ 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-20T17:40:35.097Z] $ docker top 63ec19f7333150466d2f31436b35f67af8680a48acd7ae84688fc0ee05aa91c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:40:35.481Z] ---> job-cost.sh [2023-09-20T17:40:35.481Z] lf-activate-venv: SKIPPING [2023-09-20T17:40:35.481Z] INFO: No Stack... [2023-09-20T17:40:35.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:40:35.998Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:40:36.287Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-20T17:40:36.287Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:40:36.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [2023-09-20T17:40:36.305Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] did not exist. Created. [2023-09-20T17:40:36.305Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:40:36.599Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:40:36.626Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:40:36.633Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:40:36.647Z] $ docker stop --time=1 63ec19f7333150466d2f31436b35f67af8680a48acd7ae84688fc0ee05aa91c1 [2023-09-20T17:40:37.790Z] $ docker rm -f --volumes 63ec19f7333150466d2f31436b35f67af8680a48acd7ae84688fc0ee05aa91c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:48:35.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7179 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-20T17:48:35.070Z] Running in /w/workspace/device-mqtt-go/139 [Pipeline] { [Pipeline] checkout [2023-09-20T17:48:35.112Z] The recommended git tool is: git [2023-09-20T17:48:42.590Z] using credential edgex-jenkins-ssh [2023-09-20T17:48:42.606Z] Cloning the remote Git repository [2023-09-20T17:48:42.661Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-20T17:48:42.775Z] > git init /w/workspace/device-mqtt-go/139 # timeout=10 [2023-09-20T17:48:42.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-20T17:48:42.946Z] > git --version # timeout=10 [2023-09-20T17:48:42.967Z] > git --version # 'git version 2.25.1' [2023-09-20T17:48:42.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:43.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:45.307Z] Avoid second fetch [2023-09-20T17:48:45.307Z] Checking out Revision fc5b9b67d26e6d46da136c9be928c2824f9c3aae (main) [2023-09-20T17:48:44.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-20T17:48:44.336Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:45.330Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:48:45.414Z] > git checkout -f fc5b9b67d26e6d46da136c9be928c2824f9c3aae # timeout=10 [2023-09-20T17:48:45.987Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#626)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:48:46.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:48:46.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:48:46.849Z] Dload Upload Total Spent Left Speed [2023-09-20T17:48:46.849Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-09-20T17:48:47.647Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:48:48.004Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:48:48.004Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:48:48.004Z] { [2023-09-20T17:48:48.004Z] "registry-mirrors": [ [2023-09-20T17:48:48.004Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:48:48.004Z] ], [2023-09-20T17:48:48.004Z] "bip": "10.250.0.254/24", [2023-09-20T17:48:48.004Z] "hosts": [ [2023-09-20T17:48:48.004Z] "tcp://0.0.0.0:5555", [2023-09-20T17:48:48.004Z] "unix:///var/run/docker.sock" [2023-09-20T17:48:48.004Z] ], [2023-09-20T17:48:48.004Z] "mtu": 1458, [2023-09-20T17:48:48.004Z] "selinux-enabled": true, [2023-09-20T17:48:48.004Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:48:48.004Z] } [Pipeline] sh [2023-09-20T17:48:48.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:48:48.717Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:49:07.051Z] provisioning config files... [2023-09-20T17:49:07.091Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/139@tmp/config9405374382987505114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:49:07.490Z] ---> docker-login.sh [2023-09-20T17:49:07.491Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:49:08.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:08.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:08.102Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:08.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:08.102Z] [2023-09-20T17:49:08.102Z] Login Succeeded [2023-09-20T17:49:08.382Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:49:08.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:08.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:08.665Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:08.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:08.665Z] [2023-09-20T17:49:08.665Z] Login Succeeded [2023-09-20T17:49:08.665Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:49:08.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:09.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:09.236Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:09.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:09.236Z] [2023-09-20T17:49:09.236Z] Login Succeeded [2023-09-20T17:49:09.236Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:49:09.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:09.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:09.520Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:09.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:09.520Z] [2023-09-20T17:49:09.520Z] Login Succeeded [2023-09-20T17:49:09.795Z] docker.io [2023-09-20T17:49:10.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:10.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:10.343Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:10.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:10.343Z] [2023-09-20T17:49:10.343Z] Login Succeeded [2023-09-20T17:49:10.343Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:49:10.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:49:10.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:10.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:10.774Z] ========================================================= [2023-09-20T17:49:10.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:49:10.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:49:11.157Z] + 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-20T17:49:11.436Z] Sending build context to Docker daemon 3.338MB [2023-09-20T17:49:11.437Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:49:11.437Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:49:11.713Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:49:11.713Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:49:11.713Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:49:11.713Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:49:11.713Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:49:11.713Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:49:11.713Z] 17808c966233: Pulling fs layer [2023-09-20T17:49:11.713Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:49:11.713Z] cefa15bbcfad: Waiting [2023-09-20T17:49:11.713Z] 17808c966233: Waiting [2023-09-20T17:49:11.713Z] f4c1fc716caa: Waiting [2023-09-20T17:49:11.713Z] f0e02332f6b5: Waiting [2023-09-20T17:49:11.713Z] 5d54e960e981: Download complete [2023-09-20T17:49:11.713Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:49:11.713Z] f0e02332f6b5: Download complete [2023-09-20T17:49:11.993Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:49:11.993Z] cefa15bbcfad: Download complete [2023-09-20T17:49:11.993Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T17:49:11.993Z] 9fda8d8052c6: Download complete [2023-09-20T17:49:12.621Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:49:12.621Z] f4c1fc716caa: Download complete [2023-09-20T17:49:12.924Z] 9fda8d8052c6: Pull complete [2023-09-20T17:49:13.533Z] 5d54e960e981: Pull complete [2023-09-20T17:49:14.150Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T17:49:14.150Z] c4a7e357bf2a: Download complete [2023-09-20T17:49:14.751Z] 17808c966233: Verifying Checksum [2023-09-20T17:49:14.751Z] 17808c966233: Download complete [2023-09-20T17:49:27.154Z] c4a7e357bf2a: Pull complete [2023-09-20T17:49:27.154Z] f0e02332f6b5: Pull complete [2023-09-20T17:49:27.154Z] cefa15bbcfad: Pull complete [2023-09-20T17:49:35.428Z] 17808c966233: Pull complete [2023-09-20T17:49:36.026Z] f4c1fc716caa: Pull complete [2023-09-20T17:49:36.296Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:49:36.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:49:36.296Z] ---> ea914061e18c [2023-09-20T17:49:36.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:49:38.925Z] ---> Running in a4618a3967ca [2023-09-20T17:49:38.925Z] Removing intermediate container a4618a3967ca [2023-09-20T17:49:38.925Z] ---> 7b0ca4f8b0dd [2023-09-20T17:49:38.925Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:49:38.925Z] ---> Running in 8e0729945667 [2023-09-20T17:49:39.194Z] Removing intermediate container 8e0729945667 [2023-09-20T17:49:39.194Z] ---> e0d6cb588fe2 [2023-09-20T17:49:39.194Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:49:39.464Z] ---> Running in d7d20ed2b443 [2023-09-20T17:49:39.731Z] Removing intermediate container d7d20ed2b443 [2023-09-20T17:49:39.731Z] ---> 85b4e49ef617 [2023-09-20T17:49:39.731Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:49:40.000Z] ---> Running in 801b8e1f43ed [2023-09-20T17:49:40.270Z] Removing intermediate container 801b8e1f43ed [2023-09-20T17:49:40.270Z] ---> 1fa1188d2f29 [2023-09-20T17:49:40.270Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:49:40.270Z] ---> Running in 70f9338c9783 [2023-09-20T17:49:41.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:41.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:43.373Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:49:43.373Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:49:43.373Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:49:43.373Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:49:43.373Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:49:43.373Z] OK: 270 MiB in 56 packages [2023-09-20T17:49:44.350Z] Removing intermediate container 70f9338c9783 [2023-09-20T17:49:44.350Z] ---> f4977927743d [2023-09-20T17:49:44.350Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-20T17:49:44.621Z] ---> Running in c54186fe2018 [2023-09-20T17:49:44.893Z] Removing intermediate container c54186fe2018 [2023-09-20T17:49:44.893Z] ---> a57ec1076ac0 [2023-09-20T17:49:44.893Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:49:45.499Z] ---> d59a293ce67d [2023-09-20T17:49:45.499Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:49:45.499Z] ---> Running in 6ae5d54f396d [2023-09-20T17:51:07.500Z] Removing intermediate container 6ae5d54f396d [2023-09-20T17:51:07.500Z] ---> 0fa2511db1dc [2023-09-20T17:51:07.500Z] Step 11/12 : COPY . . [2023-09-20T17:51:07.500Z] ---> 7c206663b021 [2023-09-20T17:51:07.500Z] Step 12/12 : RUN $MAKE [2023-09-20T17:51:07.500Z] ---> Running in b0ac83068d5c [2023-09-20T17:51:07.500Z] noop [2023-09-20T17:51:07.500Z] Removing intermediate container b0ac83068d5c [2023-09-20T17:51:07.500Z] ---> ed4ffd69c65d [2023-09-20T17:51:07.500Z] Successfully built ed4ffd69c65d [2023-09-20T17:51:07.500Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:07.873Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:07.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:08.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-7179 does not seem to be running inside a container [2023-09-20T17:51:08.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/139 -v /w/workspace/device-mqtt-go/139:/w/workspace/device-mqtt-go/139:rw,z -v /w/workspace/device-mqtt-go/139@tmp:/w/workspace/device-mqtt-go/139@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-20T17:51:09.679Z] $ docker top f4b4d50be0e3091fcb23e890a400118593c118cc55a52a13915089c058024c72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:10.581Z] + go version [2023-09-20T17:51:10.581Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:51:10.607Z] $ docker stop --time=1 f4b4d50be0e3091fcb23e890a400118593c118cc55a52a13915089c058024c72 [2023-09-20T17:51:12.314Z] $ docker rm -f --volumes f4b4d50be0e3091fcb23e890a400118593c118cc55a52a13915089c058024c72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:12.905Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:12.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:13.124Z] prd-ubuntu20.04-docker-arm64-4c-16g-7179 does not seem to be running inside a container [2023-09-20T17:51:13.209Z] $ 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/139 -v /w/workspace/device-mqtt-go/139:/w/workspace/device-mqtt-go/139:rw,z -v /w/workspace/device-mqtt-go/139@tmp:/w/workspace/device-mqtt-go/139@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-20T17:51:14.556Z] $ docker top 321b1d3ed54b76832ff7c9b99dbd71b7351b57729b2e715b61dbabe097b41a76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:15.549Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/139 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:51:16.214Z] + make test [2023-09-20T17:51:16.214Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:51:21.586Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-20T17:53:43.652Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-20T17:53:43.652Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-20T17:53:43.652Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 22.8% of statements [2023-09-20T17:53:44.632Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:53:44.632Z] go vet ./... [2023-09-20T17:54:31.540Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:54:31.540Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:54:31.540Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:54:31.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:54:31.580Z] $ docker stop --time=1 321b1d3ed54b76832ff7c9b99dbd71b7351b57729b2e715b61dbabe097b41a76 [2023-09-20T17:54:36.589Z] $ docker rm -f --volumes 321b1d3ed54b76832ff7c9b99dbd71b7351b57729b2e715b61dbabe097b41a76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:54:38.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:54:38.028Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:54:38.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:54:39.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:54:39.403Z] + ls -al . [2023-09-20T17:54:39.403Z] total 184 [2023-09-20T17:54:39.403Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:51 . [2023-09-20T17:54:39.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 .. [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:48 .dockerignore [2023-09-20T17:54:39.403Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:48 .git [2023-09-20T17:54:39.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 .github [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:48 .gitignore [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:48 .golangci.yml [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 17:48 Attribution.txt [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 17:48 CHANGELOG.md [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 17:48 Dockerfile [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:48 GOVERNANCE.md [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 17:48 Jenkinsfile [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:48 LICENSE [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 17:48 Makefile [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:48 OWNERS.md [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 17:48 README.md [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:38 VERSION [2023-09-20T17:54:39.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 bin [2023-09-20T17:54:39.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 cmd [2023-09-20T17:54:39.403Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 17:53 coverage.out [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 17:48 go.mod [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:48 go.sum [2023-09-20T17:54:39.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 internal [2023-09-20T17:54:39.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 mock [2023-09-20T17:54:39.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 snap [2023-09-20T17:54:39.403Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:54:39.760Z] + 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=fc5b9b67d26e6d46da136c9be928c2824f9c3aae --label arch=arm64 --label version=3.1.0-dev.11 . [2023-09-20T17:54:40.029Z] Sending build context to Docker daemon 3.357MB [2023-09-20T17:54:40.029Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:54:40.029Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T17:54:40.029Z] ---> ed4ffd69c65d [2023-09-20T17:54:40.029Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:54:40.302Z] ---> Running in 33ccd595cd10 [2023-09-20T17:54:40.576Z] Removing intermediate container 33ccd595cd10 [2023-09-20T17:54:40.576Z] ---> d2f43cbc2fb4 [2023-09-20T17:54:40.576Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:54:40.576Z] ---> Running in d576783e19f2 [2023-09-20T17:54:41.171Z] Removing intermediate container d576783e19f2 [2023-09-20T17:54:41.171Z] ---> ba2487d6c14e [2023-09-20T17:54:41.171Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:54:41.171Z] ---> Running in ee84eaf55309 [2023-09-20T17:54:41.450Z] Removing intermediate container ee84eaf55309 [2023-09-20T17:54:41.450Z] ---> 6c700de6ca23 [2023-09-20T17:54:41.450Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:54:41.450Z] ---> Running in 07ea2bf45a4c [2023-09-20T17:54:42.039Z] Removing intermediate container 07ea2bf45a4c [2023-09-20T17:54:42.039Z] ---> 30cc67488c14 [2023-09-20T17:54:42.039Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:54:42.039Z] ---> Running in 5fd5eb5f1aed [2023-09-20T17:54:43.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:54:43.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:54:45.019Z] OK: 270 MiB in 56 packages [2023-09-20T17:54:46.446Z] Removing intermediate container 5fd5eb5f1aed [2023-09-20T17:54:46.447Z] ---> ab5055330089 [2023-09-20T17:54:46.447Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-20T17:54:46.447Z] ---> Running in 7b644fb3b7e1 [2023-09-20T17:54:46.716Z] Removing intermediate container 7b644fb3b7e1 [2023-09-20T17:54:46.716Z] ---> 7a2ee2ec192c [2023-09-20T17:54:46.716Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T17:54:47.305Z] ---> 41bcb3c6c3fb [2023-09-20T17:54:47.305Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:54:47.305Z] ---> Running in 7c8e804ab879 [2023-09-20T17:54:49.905Z] Removing intermediate container 7c8e804ab879 [2023-09-20T17:54:49.905Z] ---> f7e3054fe536 [2023-09-20T17:54:49.905Z] Step 11/24 : COPY . . [2023-09-20T17:54:50.495Z] ---> 65acfa5dc33e [2023-09-20T17:54:50.496Z] Step 12/24 : RUN $MAKE [2023-09-20T17:54:50.768Z] ---> Running in 255995ac9eea [2023-09-20T17:54:51.737Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-20T17:57:13.506Z] Removing intermediate container 255995ac9eea [2023-09-20T17:57:13.506Z] ---> 617eb9d360a6 [2023-09-20T17:57:13.506Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T17:57:13.506Z] 3.18: Pulling from library/alpine [2023-09-20T17:57:13.506Z] 9fda8d8052c6: Already exists [2023-09-20T17:57:13.506Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:57:13.506Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:57:13.506Z] ---> f6648c04cd6c [2023-09-20T17:57:13.506Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-20T17:57:13.506Z] ---> Running in 3cb4755cddd5 [2023-09-20T17:57:13.506Z] Removing intermediate container 3cb4755cddd5 [2023-09-20T17:57:13.506Z] ---> 65290978dfad [2023-09-20T17:57:13.506Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:57:13.506Z] ---> Running in d00e977d6756 [2023-09-20T17:57:13.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:13.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:13.506Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:57:13.506Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:57:13.506Z] OK: 8 MiB in 16 packages [2023-09-20T17:57:13.506Z] Removing intermediate container d00e977d6756 [2023-09-20T17:57:13.506Z] ---> a27b2a59824b [2023-09-20T17:57:13.506Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-20T17:57:13.506Z] ---> 93de16cef559 [2023-09-20T17:57:13.506Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-20T17:57:13.506Z] ---> abdb4141f948 [2023-09-20T17:57:13.506Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-20T17:57:13.506Z] ---> 820a3b7ce8ed [2023-09-20T17:57:13.506Z] Step 19/24 : EXPOSE 59982 [2023-09-20T17:57:13.506Z] ---> Running in 82f57a273067 [2023-09-20T17:57:13.506Z] Removing intermediate container 82f57a273067 [2023-09-20T17:57:13.506Z] ---> e8264849dae0 [2023-09-20T17:57:13.506Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-20T17:57:13.506Z] ---> Running in 54612fdee824 [2023-09-20T17:57:13.506Z] Removing intermediate container 54612fdee824 [2023-09-20T17:57:13.506Z] ---> 4fd0de93630b [2023-09-20T17:57:13.506Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:57:13.506Z] ---> Running in b37dea167ca9 [2023-09-20T17:57:13.506Z] Removing intermediate container b37dea167ca9 [2023-09-20T17:57:13.506Z] ---> b7643df455c9 [2023-09-20T17:57:13.506Z] Step 22/24 : LABEL arch=arm64 [2023-09-20T17:57:13.506Z] ---> Running in 18e75a5edb37 [2023-09-20T17:57:13.506Z] Removing intermediate container 18e75a5edb37 [2023-09-20T17:57:13.506Z] ---> 08156a210c46 [2023-09-20T17:57:13.506Z] Step 23/24 : LABEL git_sha=fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:57:13.506Z] ---> Running in 1b0ba0d302a8 [2023-09-20T17:57:13.506Z] Removing intermediate container 1b0ba0d302a8 [2023-09-20T17:57:13.506Z] ---> 2e0823b813fa [2023-09-20T17:57:13.506Z] Step 24/24 : LABEL version=3.1.0-dev.11 [2023-09-20T17:57:13.776Z] ---> Running in 16805beac566 [2023-09-20T17:57:14.045Z] Removing intermediate container 16805beac566 [2023-09-20T17:57:14.045Z] ---> 478bbe590475 [2023-09-20T17:57:14.045Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:57:14.045Z] Successfully built 478bbe590475 [2023-09-20T17:57:14.045Z] 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-20T17:57:14.150Z] provisioning config files... [2023-09-20T17:57:14.167Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/139@tmp/config8780855162241072932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:57:14.551Z] ---> docker-login.sh [2023-09-20T17:57:14.551Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:57:14.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:14.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:14.825Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:14.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:14.825Z] [2023-09-20T17:57:14.825Z] Login Succeeded [2023-09-20T17:57:14.825Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:57:15.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:21.669Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:21.669Z] [2023-09-20T17:57:21.670Z] Login Succeeded [2023-09-20T17:57:21.670Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:57:21.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:21.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:21.670Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:21.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:21.670Z] [2023-09-20T17:57:21.670Z] Login Succeeded [2023-09-20T17:57:21.670Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:57:21.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:21.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:21.670Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:21.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:21.670Z] [2023-09-20T17:57:21.670Z] Login Succeeded [2023-09-20T17:57:21.670Z] docker.io [2023-09-20T17:57:21.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:21.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:21.670Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:21.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:21.670Z] [2023-09-20T17:57:21.670Z] Login Succeeded [2023-09-20T17:57:21.670Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:57:21.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:57:21.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:57:21.731Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-20T17:57:21.731Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:57:21.731Z] latest [2023-09-20T17:57:21.731Z] 3.1.0-dev.11 [2023-09-20T17:57:21.731Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:57:21.731Z] main [2023-09-20T17:57:21.731Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:22.104Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:22.454Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:57:22.455Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-20T17:57:22.455Z] 05f013c9be4d: Preparing [2023-09-20T17:57:22.455Z] ec9b8d0339ac: Preparing [2023-09-20T17:57:22.455Z] e3c720ee6b7a: Preparing [2023-09-20T17:57:22.455Z] 7bbf254aaa10: Preparing [2023-09-20T17:57:22.455Z] b2191e2be29d: Preparing [2023-09-20T17:57:22.455Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:22.722Z] ec9b8d0339ac: Pushed [2023-09-20T17:57:22.722Z] 05f013c9be4d: Pushed [2023-09-20T17:57:22.722Z] 7bbf254aaa10: Pushed [2023-09-20T17:57:29.392Z] e3c720ee6b7a: Pushed [2023-09-20T17:57:29.392Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae: digest: sha256:bb66370b39fd133073fa95f6ba556cfd15a25228396d246bb9c99e5f0e6e2982 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:29.761Z] + 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-20T17:57:30.132Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-20T17:57:30.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-20T17:57:30.132Z] 05f013c9be4d: Preparing [2023-09-20T17:57:30.132Z] ec9b8d0339ac: Preparing [2023-09-20T17:57:30.132Z] e3c720ee6b7a: Preparing [2023-09-20T17:57:30.132Z] 7bbf254aaa10: Preparing [2023-09-20T17:57:30.132Z] b2191e2be29d: Preparing [2023-09-20T17:57:30.132Z] 7bbf254aaa10: Layer already exists [2023-09-20T17:57:30.132Z] 05f013c9be4d: Layer already exists [2023-09-20T17:57:30.132Z] e3c720ee6b7a: Layer already exists [2023-09-20T17:57:30.132Z] ec9b8d0339ac: Layer already exists [2023-09-20T17:57:30.132Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:30.402Z] latest: digest: sha256:bb66370b39fd133073fa95f6ba556cfd15a25228396d246bb9c99e5f0e6e2982 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:30.767Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:31.128Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.11 [2023-09-20T17:57:31.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-20T17:57:31.128Z] 05f013c9be4d: Preparing [2023-09-20T17:57:31.128Z] ec9b8d0339ac: Preparing [2023-09-20T17:57:31.128Z] e3c720ee6b7a: Preparing [2023-09-20T17:57:31.128Z] 7bbf254aaa10: Preparing [2023-09-20T17:57:31.128Z] b2191e2be29d: Preparing [2023-09-20T17:57:31.128Z] 7bbf254aaa10: Layer already exists [2023-09-20T17:57:31.128Z] ec9b8d0339ac: Layer already exists [2023-09-20T17:57:31.128Z] e3c720ee6b7a: Layer already exists [2023-09-20T17:57:31.128Z] 05f013c9be4d: Layer already exists [2023-09-20T17:57:31.128Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:31.398Z] 3.1.0-dev.11: digest: sha256:bb66370b39fd133073fa95f6ba556cfd15a25228396d246bb9c99e5f0e6e2982 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:31.769Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:32.126Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:57:32.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-20T17:57:32.126Z] 05f013c9be4d: Preparing [2023-09-20T17:57:32.126Z] ec9b8d0339ac: Preparing [2023-09-20T17:57:32.126Z] e3c720ee6b7a: Preparing [2023-09-20T17:57:32.126Z] 7bbf254aaa10: Preparing [2023-09-20T17:57:32.126Z] b2191e2be29d: Preparing [2023-09-20T17:57:32.126Z] 05f013c9be4d: Layer already exists [2023-09-20T17:57:32.126Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:32.126Z] 7bbf254aaa10: Layer already exists [2023-09-20T17:57:32.126Z] ec9b8d0339ac: Layer already exists [2023-09-20T17:57:32.126Z] e3c720ee6b7a: Layer already exists [2023-09-20T17:57:32.126Z] fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11: digest: sha256:bb66370b39fd133073fa95f6ba556cfd15a25228396d246bb9c99e5f0e6e2982 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:32.758Z] + 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-20T17:57:34.083Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-20T17:57:34.083Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-20T17:57:34.083Z] 05f013c9be4d: Preparing [2023-09-20T17:57:34.083Z] ec9b8d0339ac: Preparing [2023-09-20T17:57:34.083Z] e3c720ee6b7a: Preparing [2023-09-20T17:57:34.083Z] 7bbf254aaa10: Preparing [2023-09-20T17:57:34.083Z] b2191e2be29d: Preparing [2023-09-20T17:57:34.083Z] 05f013c9be4d: Layer already exists [2023-09-20T17:57:34.083Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:34.083Z] ec9b8d0339ac: Layer already exists [2023-09-20T17:57:34.083Z] e3c720ee6b7a: Layer already exists [2023-09-20T17:57:34.083Z] 7bbf254aaa10: Layer already exists [2023-09-20T17:57:34.353Z] main: digest: sha256:bb66370b39fd133073fa95f6ba556cfd15a25228396d246bb9c99e5f0e6e2982 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:57:34.417Z] ===================================================== [Pipeline] echo [2023-09-20T17:57:34.427Z] taggedImages: [2023-09-20T17:57:34.427Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae [2023-09-20T17:57:34.427Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-20T17:57:34.427Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.11 [2023-09-20T17:57:34.427Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fc5b9b67d26e6d46da136c9be928c2824f9c3aae-3.1.0-dev.11 [2023-09-20T17:57:34.427Z] - 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-20T17:57:34.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:34.813Z] [2023-09-20T17:57:34.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:35.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:35.158Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:57:35.158Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:57:35.158Z] 04944245beec: Pulling fs layer [2023-09-20T17:57:35.158Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:57:35.158Z] 765212b225bb: Pulling fs layer [2023-09-20T17:57:35.158Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:57:35.158Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:57:35.158Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:57:35.158Z] f23df028b6ca: Waiting [2023-09-20T17:57:35.158Z] 765212b225bb: Waiting [2023-09-20T17:57:35.158Z] d65c8cfc05b1: Waiting [2023-09-20T17:57:35.158Z] 2437ff75d9bd: Waiting [2023-09-20T17:57:35.431Z] 04944245beec: Verifying Checksum [2023-09-20T17:57:35.431Z] 04944245beec: Download complete [2023-09-20T17:57:35.431Z] 765212b225bb: Verifying Checksum [2023-09-20T17:57:35.431Z] 765212b225bb: Download complete [2023-09-20T17:57:35.431Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:57:35.431Z] f23df028b6ca: Download complete [2023-09-20T17:57:35.431Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:57:35.431Z] d65c8cfc05b1: Download complete [2023-09-20T17:57:35.704Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:57:35.704Z] 699f458cf7ca: Download complete [2023-09-20T17:57:35.974Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:57:35.974Z] 8998bd30e6a1: Download complete [2023-09-20T17:57:38.568Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:57:38.568Z] 2437ff75d9bd: Download complete [2023-09-20T17:57:39.977Z] 8998bd30e6a1: Pull complete [2023-09-20T17:57:40.562Z] 04944245beec: Pull complete [2023-09-20T17:57:41.981Z] 699f458cf7ca: Pull complete [2023-09-20T17:57:42.252Z] 765212b225bb: Pull complete [2023-09-20T17:57:43.224Z] f23df028b6ca: Pull complete [2023-09-20T17:57:43.224Z] d65c8cfc05b1: Pull complete [2023-09-20T17:57:58.249Z] 2437ff75d9bd: Pull complete [2023-09-20T17:57:58.249Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:57:58.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:58.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:57:58.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-7179 does not seem to be running inside a container [2023-09-20T17:57:58.559Z] $ 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/139 -v /w/workspace/device-mqtt-go/139:/w/workspace/device-mqtt-go/139:rw,z -v /w/workspace/device-mqtt-go/139@tmp:/w/workspace/device-mqtt-go/139@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-20T17:58:01.560Z] $ docker top e03dcd8a6b7a2e108093c1a6f882c786a56e54e994fdf316eadfda71dafe9f06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:02.445Z] ---> job-cost.sh [2023-09-20T17:58:02.445Z] lf-activate-venv: SKIPPING [2023-09-20T17:58:02.445Z] INFO: No Stack... [2023-09-20T17:58:02.714Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:58:03.676Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:58:04.335Z] + cut -d, -f6 [2023-09-20T17:58:04.335Z] + cat /w/workspace/device-mqtt-go/139/archives/cost.csv [Pipeline] lock [2023-09-20T17:58:04.415Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [2023-09-20T17:58:04.422Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] did not exist. Created. [2023-09-20T17:58:04.422Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:58:05.090Z] /w/workspace/device-mqtt-go/139@tmp/durable-b87c24bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:58:05.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:58:05.769Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:58:05.827Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:58:05.833Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:58:05.854Z] $ docker stop --time=1 e03dcd8a6b7a2e108093c1a6f882c786a56e54e994fdf316eadfda71dafe9f06 [2023-09-20T17:58:07.365Z] $ docker rm -f --volumes e03dcd8a6b7a2e108093c1a6f882c786a56e54e994fdf316eadfda71dafe9f06 [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-20T17:58:07.770Z] provisioning config files... [2023-09-20T17:58:07.776Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2327104829716860928tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:58:08.065Z] + set +x [2023-09-20T17:58:08.065Z] + curl -s https://codecov.io/bash [2023-09-20T17:58:08.065Z] + bash -s -- [2023-09-20T17:58:08.065Z] [2023-09-20T17:58:08.065Z] _____ _ [2023-09-20T17:58:08.065Z] / ____| | | [2023-09-20T17:58:08.065Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:58:08.065Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:58:08.065Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:58:08.065Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:58:08.065Z] Bash-1.0.6 [2023-09-20T17:58:08.065Z] [2023-09-20T17:58:08.065Z] [2023-09-20T17:58:08.065Z] ==> git version 2.25.1 found [2023-09-20T17:58:08.065Z] ==> 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-20T17:58:08.065Z] Release-Date: 2020-01-08 [2023-09-20T17:58:08.065Z] 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-20T17:58:08.065Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:58:08.065Z] ==> Jenkins CI detected. [2023-09-20T17:58:08.065Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-20T17:58:08.065Z] project root: . [2023-09-20T17:58:08.065Z] --> token set from env [2023-09-20T17:58:08.065Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:58:08.065Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:58:08.065Z] ==> Python coveragepy not found [2023-09-20T17:58:08.065Z] ==> Searching for coverage reports in: [2023-09-20T17:58:08.065Z] + . [2023-09-20T17:58:08.065Z] -> Found 1 reports [2023-09-20T17:58:08.065Z] ==> Detecting git/mercurial file structure [2023-09-20T17:58:08.065Z] ==> Reading reports [2023-09-20T17:58:08.065Z] + ./coverage.out bytes=18506 [2023-09-20T17:58:08.065Z] ==> Appending adjustments [2023-09-20T17:58:08.065Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:58:08.325Z] + Found adjustments [2023-09-20T17:58:08.325Z] ==> Gzipping contents [2023-09-20T17:58:08.325Z] 4.0K /tmp/codecov.R3ZU81.gz [2023-09-20T17:58:08.325Z] ==> Uploading reports [2023-09-20T17:58:08.325Z] url: https://codecov.io [2023-09-20T17:58:08.325Z] query: branch=main&commit=fc5b9b67d26e6d46da136c9be928c2824f9c3aae&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:08.325Z] -> Pinging Codecov [2023-09-20T17:58:08.325Z] 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=fc5b9b67d26e6d46da136c9be928c2824f9c3aae&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:08.325Z] -> Uploading to [2023-09-20T17:58:08.325Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7D719EC7BBE17E464838252E33014C33/fc5b9b67d26e6d46da136c9be928c2824f9c3aae/286c2f02-bdbe-4c51-8bb4-0b5bc3e555e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T175808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac9a3d9861c687407af672ef8a046e207646c0a4252e8a291e408795fba04d27 [2023-09-20T17:58:08.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:58:08.326Z] Dload Upload Total Spent Left Speed [2023-09-20T17:58:08.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17590 --:--:-- --:--:-- --:--:-- 17590 [2023-09-20T17:58:08.584Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] } [2023-09-20T17:58:08.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T17:58:08.724Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T17:58:08.733Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:09.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:09.028Z] [2023-09-20T17:58:09.028Z] 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-20T17:58:09.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:09.325Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T17:58:09.325Z] df9b9388f04a: Pulling fs layer [2023-09-20T17:58:09.325Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T17:58:09.325Z] 25bc292e5bac: Pulling fs layer [2023-09-20T17:58:09.325Z] 114826534d7a: Pulling fs layer [2023-09-20T17:58:09.325Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T17:58:09.325Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T17:58:09.325Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T17:58:09.325Z] 114826534d7a: Waiting [2023-09-20T17:58:09.325Z] 4657fd5d0bcf: Waiting [2023-09-20T17:58:09.325Z] 6ad1cebc031e: Waiting [2023-09-20T17:58:09.325Z] 8a3aa393b2d8: Waiting [2023-09-20T17:58:09.325Z] 25bc292e5bac: Verifying Checksum [2023-09-20T17:58:09.325Z] 25bc292e5bac: Download complete [2023-09-20T17:58:09.325Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T17:58:09.325Z] 52dc419b0ee2: Download complete [2023-09-20T17:58:09.325Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T17:58:09.325Z] 4657fd5d0bcf: Download complete [2023-09-20T17:58:09.325Z] df9b9388f04a: Verifying Checksum [2023-09-20T17:58:09.325Z] df9b9388f04a: Download complete [2023-09-20T17:58:09.325Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T17:58:09.325Z] 6ad1cebc031e: Download complete [2023-09-20T17:58:09.585Z] df9b9388f04a: Pull complete [2023-09-20T17:58:09.585Z] 52dc419b0ee2: Pull complete [2023-09-20T17:58:09.585Z] 25bc292e5bac: Pull complete [2023-09-20T17:58:10.152Z] 114826534d7a: Verifying Checksum [2023-09-20T17:58:10.152Z] 114826534d7a: Download complete [2023-09-20T17:58:10.152Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T17:58:10.152Z] 8a3aa393b2d8: Download complete [2023-09-20T17:58:13.427Z] 114826534d7a: Pull complete [2023-09-20T17:58:13.427Z] 4657fd5d0bcf: Pull complete [2023-09-20T17:58:13.427Z] 6ad1cebc031e: Pull complete [2023-09-20T17:58:15.954Z] 8a3aa393b2d8: Pull complete [2023-09-20T17:58:15.954Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T17:58:15.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:15.954Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:16.031Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:58:16.058Z] $ 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-20T17:58:19.844Z] $ docker top 17bb279ac511fd5e8ce8ad4eaf606b72c54683495e3d1433af9b7a864bff0128 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T17:58:19.914Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-20T17:58:20.193Z] + set -o pipefail [2023-09-20T17:58:20.194Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/b95be2f7-c3e3-4441-9d3a-091d464c91b0 [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] [2023-09-20T17:58:25.455Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T17:58:25.455Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T17:58:25.455Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T17:58:25.482Z] $ docker stop --time=1 17bb279ac511fd5e8ce8ad4eaf606b72c54683495e3d1433af9b7a864bff0128 [2023-09-20T17:58:28.899Z] $ docker rm -f --volumes 17bb279ac511fd5e8ce8ad4eaf606b72c54683495e3d1433af9b7a864bff0128 [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-20T17:58:29.608Z] + git log --format=format:%s -1 fc5b9b67d26e6d46da136c9be928c2824f9c3aae [Pipeline] sh [2023-09-20T17:58:30.660Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:30.660Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:30.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:30.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:31.017Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:58:31.036Z] $ 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-20T17:58:31.409Z] $ docker top 3823c4a22756a824eeb7acb8c3ec9f1f0cae0e9803b54f56043e3ab0798e5557 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:31.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:31.493Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:31.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:31.596Z] $ docker exec 3823c4a22756a824eeb7acb8c3ec9f1f0cae0e9803b54f56043e3ab0798e5557 ssh-agent [2023-09-20T17:58:32.527Z] SSH_AUTH_SOCK=/tmp/ssh-3a0jGbkFs14u/agent.32 [2023-09-20T17:58:32.527Z] SSH_AGENT_PID=38 [2023-09-20T17:58:32.533Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:32.627Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8775732483777790802.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8775732483777790802.key) [2023-09-20T17:58:32.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:32.926Z] + git semver tag [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,105 [run_tag] DEBUG tag force:False [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,105 [check_head_tag] DEBUG check head tag [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,106 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,110 [execute] INFO git cat-file --batch [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,121 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,121 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,122 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:58:33.184Z] 2023-09-20 17:58:33,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:33.184Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:58:33.188Z] $ docker exec --env ******** --env ******** 3823c4a22756a824eeb7acb8c3ec9f1f0cae0e9803b54f56043e3ab0798e5557 ssh-agent -k [2023-09-20T17:58:33.277Z] unset SSH_AUTH_SOCK; [2023-09-20T17:58:33.277Z] unset SSH_AGENT_PID; [2023-09-20T17:58:33.277Z] echo Agent pid 38 killed; [2023-09-20T17:58:33.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:58:33.591Z] + git semver [Pipeline] } [2023-09-20T17:58:33.856Z] $ docker stop --time=1 3823c4a22756a824eeb7acb8c3ec9f1f0cae0e9803b54f56043e3ab0798e5557 [2023-09-20T17:58:35.133Z] $ docker rm -f --volumes 3823c4a22756a824eeb7acb8c3ec9f1f0cae0e9803b54f56043e3ab0798e5557 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:35.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:35.518Z] [2023-09-20T17:58:35.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:35.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:35.811Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T17:58:35.811Z] ab5ef0e58194: Pulling fs layer [2023-09-20T17:58:35.811Z] 9712f1f96733: Pulling fs layer [2023-09-20T17:58:35.811Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T17:58:35.811Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T17:58:35.811Z] e9a5061849ea: Pulling fs layer [2023-09-20T17:58:35.811Z] d747dcd14b5f: Pulling fs layer [2023-09-20T17:58:35.811Z] 2de7ff778b66: Pulling fs layer [2023-09-20T17:58:35.811Z] e9a5061849ea: Waiting [2023-09-20T17:58:35.811Z] 0d9ebad4ef96: Waiting [2023-09-20T17:58:35.811Z] d747dcd14b5f: Waiting [2023-09-20T17:58:35.811Z] 2de7ff778b66: Waiting [2023-09-20T17:58:35.811Z] 9712f1f96733: Verifying Checksum [2023-09-20T17:58:35.811Z] 9712f1f96733: Download complete [2023-09-20T17:58:36.069Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T17:58:36.069Z] 63f879dbbcfc: Download complete [2023-09-20T17:58:36.328Z] e9a5061849ea: Verifying Checksum [2023-09-20T17:58:36.329Z] e9a5061849ea: Download complete [2023-09-20T17:58:36.329Z] d747dcd14b5f: Verifying Checksum [2023-09-20T17:58:36.329Z] d747dcd14b5f: Download complete [2023-09-20T17:58:36.329Z] ab5ef0e58194: Download complete [2023-09-20T17:58:36.329Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T17:58:36.329Z] 0d9ebad4ef96: Download complete [2023-09-20T17:58:36.329Z] 2de7ff778b66: Verifying Checksum [2023-09-20T17:58:36.329Z] 2de7ff778b66: Download complete [2023-09-20T17:58:38.860Z] ab5ef0e58194: Pull complete [2023-09-20T17:58:38.860Z] 9712f1f96733: Pull complete [2023-09-20T17:58:39.422Z] 63f879dbbcfc: Pull complete [2023-09-20T17:58:42.698Z] 0d9ebad4ef96: Pull complete [2023-09-20T17:58:42.698Z] e9a5061849ea: Pull complete [2023-09-20T17:58:42.698Z] d747dcd14b5f: Pull complete [2023-09-20T17:58:43.632Z] 2de7ff778b66: Pull complete [2023-09-20T17:58:43.632Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T17:58:43.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:43.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:43.705Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:58:43.726Z] $ 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-20T17:58:48.722Z] $ docker top b662cc590f746a832578a6f9d7963893cb5ada9aab884d5f3cdb237744d6193b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:58:48.802Z] provisioning config files... [2023-09-20T17:58:48.809Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config914463611261757546tmp [2023-09-20T17:58:48.817Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6251224668447610414tmp [2023-09-20T17:58:48.826Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10935747910156530725tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:58:48.842Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:49.121Z] ---> sigul-configuration.sh [2023-09-20T17:58:49.121Z] gpg: directory `/root/.gnupg' created [2023-09-20T17:58:49.121Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T17:58:49.121Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T17:58:49.122Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T17:58:49.122Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T17:58:49.122Z] gpg: CAST5 encrypted data [2023-09-20T17:58:49.122Z] gpg: encrypted with 1 passphrase [2023-09-20T17:58:49.122Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T17:58:49.409Z] + mkdir /home/jenkins [2023-09-20T17:58:49.409Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T17:58:49.691Z] + 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-20T17:58:49.700Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:49.982Z] ---> sigul-install.sh [2023-09-20T17:58:49.982Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T17:58:50.269Z] + git tag --list [2023-09-20T17:58:50.269Z] 0.7.1 [2023-09-20T17:58:50.269Z] v1.0.0 [2023-09-20T17:58:50.269Z] v1.1.0 [2023-09-20T17:58:50.269Z] v1.1.1 [2023-09-20T17:58:50.269Z] v1.2.2 [2023-09-20T17:58:50.269Z] v1.3.0 [2023-09-20T17:58:50.269Z] v1.3.1 [2023-09-20T17:58:50.269Z] v2.0.0 [2023-09-20T17:58:50.269Z] v2.1.0 [2023-09-20T17:58:50.269Z] v2.1.1 [2023-09-20T17:58:50.269Z] v2.2.0 [2023-09-20T17:58:50.269Z] v2.3.0 [2023-09-20T17:58:50.269Z] v3.0 [2023-09-20T17:58:50.269Z] v3.0.0 [2023-09-20T17:58:50.269Z] v3.1.0-dev.1 [2023-09-20T17:58:50.269Z] v3.1.0-dev.10 [2023-09-20T17:58:50.269Z] v3.1.0-dev.11 [2023-09-20T17:58:50.269Z] v3.1.0-dev.2 [2023-09-20T17:58:50.269Z] v3.1.0-dev.3 [2023-09-20T17:58:50.269Z] v3.1.0-dev.4 [2023-09-20T17:58:50.269Z] v3.1.0-dev.5 [2023-09-20T17:58:50.269Z] v3.1.0-dev.6 [2023-09-20T17:58:50.269Z] v3.1.0-dev.7 [2023-09-20T17:58:50.269Z] v3.1.0-dev.8 [2023-09-20T17:58:50.269Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T17:58:50.554Z] + lftools sign git-tag v3.1.0-dev.11 [2023-09-20T17:58:51.122Z] Signing Git tag with Sigul... [2023-09-20T17:58:51.122Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-09-20T17:58:51.389Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:51.671Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T17:58:51.678Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T17:58:51.690Z] $ docker stop --time=1 b662cc590f746a832578a6f9d7963893cb5ada9aab884d5f3cdb237744d6193b [2023-09-20T17:58:52.922Z] $ docker rm -f --volumes b662cc590f746a832578a6f9d7963893cb5ada9aab884d5f3cdb237744d6193b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T17:58:53.333Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:53.333Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:53.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:53.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:53.693Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:58:53.724Z] $ 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-20T17:58:54.063Z] $ docker top 563e9d04467bace5257ca0b427f4228850ed26cb935f0d33dbbf68ecbdf42cf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:54.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:54.154Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:54.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:54.256Z] $ docker exec 563e9d04467bace5257ca0b427f4228850ed26cb935f0d33dbbf68ecbdf42cf8 ssh-agent [2023-09-20T17:58:54.356Z] SSH_AUTH_SOCK=/tmp/ssh-APaXFaTpr4OZ/agent.32 [2023-09-20T17:58:54.356Z] SSH_AGENT_PID=38 [2023-09-20T17:58:54.361Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:54.443Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7047948721028985539.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7047948721028985539.key) [2023-09-20T17:58:54.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:54.744Z] + git semver bump pre [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,889 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,891 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,891 [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-20T17:58:55.001Z] 2023-09-20 17:58:54,896 [execute] INFO git cat-file --batch [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:55.001Z] 2023-09-20 17:58:54,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:58:55.001Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T17:58:55.005Z] $ docker exec --env ******** --env ******** 563e9d04467bace5257ca0b427f4228850ed26cb935f0d33dbbf68ecbdf42cf8 ssh-agent -k [2023-09-20T17:58:55.111Z] unset SSH_AUTH_SOCK; [2023-09-20T17:58:55.111Z] unset SSH_AGENT_PID; [2023-09-20T17:58:55.111Z] echo Agent pid 38 killed; [2023-09-20T17:58:55.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:58:55.438Z] + git semver [Pipeline] } [2023-09-20T17:58:55.709Z] $ docker stop --time=1 563e9d04467bace5257ca0b427f4228850ed26cb935f0d33dbbf68ecbdf42cf8 [2023-09-20T17:58:57.004Z] $ docker rm -f --volumes 563e9d04467bace5257ca0b427f4228850ed26cb935f0d33dbbf68ecbdf42cf8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:58:57.353Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:57.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:57.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:57.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:57.733Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:58:57.762Z] $ 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-20T17:58:58.094Z] $ docker top 88cbd6cd753ab5e54663e24dcf810c7ae8a14fe795df33d79730ed70aceab5b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:58.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:58.185Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:58.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:58.287Z] $ docker exec 88cbd6cd753ab5e54663e24dcf810c7ae8a14fe795df33d79730ed70aceab5b3 ssh-agent [2023-09-20T17:58:58.404Z] SSH_AUTH_SOCK=/tmp/ssh-GKoAxDssk5fS/agent.32 [2023-09-20T17:58:58.404Z] SSH_AGENT_PID=38 [2023-09-20T17:58:58.407Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:58.504Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14787242311076582486.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14787242311076582486.key) [2023-09-20T17:58:58.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:58.804Z] + git semver push [2023-09-20T17:58:59.062Z] 2023-09-20 17:58:58,968 [run_push] DEBUG push [2023-09-20T17:58:59.062Z] 2023-09-20 17:58:58,969 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:59.062Z] 2023-09-20 17:58:58,969 [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-20T17:58:59.062Z] 2023-09-20 17:58:58,973 [execute] INFO git rev-list e9df13a29b33cd740e94329a77455e0602348b75 -- [2023-09-20T17:58:59.063Z] 2023-09-20 17:58:58,974 [execute] DEBUG Popen(['git', 'rev-list', 'e9df13a29b33cd740e94329a77455e0602348b75', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:58:59.063Z] 2023-09-20 17:58:58,983 [execute] INFO git fetch -v origin [2023-09-20T17:58:59.063Z] 2023-09-20 17:58:58,984 [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-20T17:58:59.630Z] 2023-09-20 17:58:59,483 [run_push] DEBUG no remote changes detected [2023-09-20T17:58:59.630Z] 2023-09-20 17:58:59,484 [execute] INFO git push origin semver [2023-09-20T17:58:59.631Z] 2023-09-20 17:58:59,484 [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-20T17:59:00.568Z] 2023-09-20 17:59:00,346 [run_push] DEBUG push all version tags [2023-09-20T17:59:00.568Z] 2023-09-20 17:59:00,347 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T17:59:00.568Z] 2023-09-20 17:59:00,347 [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-20T17:59:01.504Z] 2023-09-20 17:59:01,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-20T17:59:01.504Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T17:59:01.508Z] $ docker exec --env ******** --env ******** 88cbd6cd753ab5e54663e24dcf810c7ae8a14fe795df33d79730ed70aceab5b3 ssh-agent -k [2023-09-20T17:59:01.596Z] unset SSH_AUTH_SOCK; [2023-09-20T17:59:01.596Z] unset SSH_AGENT_PID; [2023-09-20T17:59:01.596Z] echo Agent pid 38 killed; [2023-09-20T17:59:01.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:59:01.916Z] + git semver [Pipeline] } [2023-09-20T17:59:02.180Z] $ docker stop --time=1 88cbd6cd753ab5e54663e24dcf810c7ae8a14fe795df33d79730ed70aceab5b3 [2023-09-20T17:59:03.452Z] $ docker rm -f --volumes 88cbd6cd753ab5e54663e24dcf810c7ae8a14fe795df33d79730ed70aceab5b3 [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-20T17:59:04.011Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-20T17:59:04.011Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-20T17:59:04.011Z] total 16 [2023-09-20T17:59:04.011Z] drwxr-xr-x 3 root root 4096 Sep 20 17:40 . [2023-09-20T17:59:04.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:58 .. [2023-09-20T17:59:04.011Z] drwxr-xr-x 2 root root 4096 Sep 20 17:40 cost [2023-09-20T17:59:04.011Z] -rw-r--r-- 1 root root 86 Sep 20 17:40 cost.csv [2023-09-20T17:59:04.011Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-20T17:59:04.011Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-20T17:59:04.011Z] total 16 [2023-09-20T17:59:04.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:40 . [2023-09-20T17:59:04.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:58 .. [2023-09-20T17:59:04.011Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:40 cost [2023-09-20T17:59:04.011Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:04.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:05.163Z] ---> package-listing.sh [2023-09-20T17:59:05.163Z] ++ facter osfamily [2023-09-20T17:59:05.163Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:59:05.422Z] + OS_FAMILY=debian [2023-09-20T17:59:05.422Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-20T17:59:05.422Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:05.422Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:05.422Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:59:05.422Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:05.422Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-20T17:59:05.422Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:05.422Z] + case "${OS_FAMILY}" in [2023-09-20T17:59:05.422Z] + dpkg -l [2023-09-20T17:59:05.422Z] + grep '^ii' [2023-09-20T17:59:05.422Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:59:05.422Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:59:05.422Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:59:05.422Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-20T17:59:05.422Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-20T17:59:05.422Z] + 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-20T17:59:05.431Z] 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-20T17:59:05.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:06.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:59:06.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:06.349Z] prd-ubuntu20.04-docker-8c-8g-6993 does not seem to be running inside a container [2023-09-20T17:59:06.374Z] $ 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-20T17:59:06.608Z] $ docker top 7975702f88b3b3a0a5c7f8bc6e756e0796a7fcb893a27d4a4ea2b9cb30086b02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:59:06.991Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:59:07.307Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:59:07.590Z] + ls /var/log/sa-host [2023-09-20T17:59:07.590Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:59:07.662Z] provisioning config files... [2023-09-20T17:59:07.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9775543498268453762tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:59:07.683Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:07.969Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:59:07.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:08.305Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:59:08.313Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:08.595Z] ---> sudo-logs.sh [2023-09-20T17:59:08.595Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:59:08.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:08.904Z] ---> job-cost.sh [2023-09-20T17:59:08.904Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:08.904Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:59:08.904Z] INFO: Retrieving Stack Cost... [2023-09-20T17:59:09.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:59:09.733Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:59:09.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:10.023Z] ---> logs-deploy.sh [2023-09-20T17:59:10.023Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:10.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/139 [2023-09-20T17:59:10.023Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:59:10.958Z] Archives upload complete. [2023-09-20T17:59:10.958Z] INFO: archiving logs to Nexus