Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4dbf6069102021828098e365a108396ed21524d 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-ssh3193729496211365073.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13931683889183055730.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16971975166699965497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17513848674021219972.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-ssh9550293237166934449.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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-5013’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5016 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 > 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 Avoid second fetch Checking out Revision c4dbf6069102021828098e365a108396ed21524d (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#620)" > git config core.sparsecheckout # timeout=10 > git checkout -f c4dbf6069102021828098e365a108396ed21524d # timeout=10 > git rev-list --no-walk 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T14:55:57.392Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T14:55:57.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T14:55:57.447Z] ========================================================= [2023-08-31T14:55:57.447Z] EdgeX Global Pipelines Version Info [2023-08-31T14:55:57.447Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:55:58.156Z] ------------------- [2023-08-31T14:55:58.156Z] stable info: [2023-08-31T14:55:58.156Z] ------------------- [2023-08-31T14:55:58.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T14:55:58.156Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:55:58.156Z] Message: update stable to v1.0.253 [2023-08-31T14:55:58.730Z] ------------------- [2023-08-31T14:55:58.730Z] experimental info: [2023-08-31T14:55:58.730Z] ------------------- [2023-08-31T14:55:58.730Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T14:55:58.730Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:55:58.730Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T14:55:58.896Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-31T14:55:58.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-31T14:55:58.927Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T14:55:58.938Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T14:55:58.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T14:55:58.965Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T14:55:58.977Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T14:55:58.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T14:55:59.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T14:55:59.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T14:55:59.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T14:55:59.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-31T14:55:59.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T14:55:59.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T14:55:59.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:55:59.109Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:55:59.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:55:59.137Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:55:59.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T14:55:59.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T14:55:59.178Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T14:55:59.190Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T14:55:59.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T14:55:59.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T14:55:59.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T14:55:59.239Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T14:55:59.254Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T14:55:59.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-31T14:55:59.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-31T14:55:59.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-31T14:55:59.313Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4dbf6069102021828098e365a108396ed21524d [Pipeline] echo [2023-08-31T14:55:59.332Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4dbf60 [Pipeline] echo [2023-08-31T14:55:59.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T14:55:59.387Z] provisioning config files... [2023-08-31T14:55:59.405Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8909268615577450961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:55:59.707Z] ---> docker-login.sh [2023-08-31T14:55:59.707Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:55:59.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:59.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:59.966Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:59.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:59.966Z] [2023-08-31T14:55:59.966Z] Login Succeeded [2023-08-31T14:55:59.966Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:55:59.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:55:59.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:55:59.966Z] Configure a credential helper to remove this warning. See [2023-08-31T14:55:59.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:55:59.966Z] [2023-08-31T14:55:59.966Z] Login Succeeded [2023-08-31T14:55:59.966Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:56:00.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:00.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:00.225Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:00.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:00.225Z] [2023-08-31T14:56:00.225Z] Login Succeeded [2023-08-31T14:56:00.225Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:56:00.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:00.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:00.225Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:00.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:00.225Z] [2023-08-31T14:56:00.225Z] Login Succeeded [2023-08-31T14:56:00.225Z] docker.io [2023-08-31T14:56:00.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:00.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:00.794Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:00.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:00.794Z] [2023-08-31T14:56:00.794Z] Login Succeeded [2023-08-31T14:56:00.794Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:56:00.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T14:56:01.171Z] + git rev-list -1 --merges c4dbf6069102021828098e365a108396ed21524d~1..c4dbf6069102021828098e365a108396ed21524d [Pipeline] echo [2023-08-31T14:56:01.225Z] -----------> git rev-list -1 --merges c4dbf6069102021828098e365a108396ed21524d~1..c4dbf6069102021828098e365a108396ed21524d c4dbf6069102021828098e365a108396ed21524d [false] [Pipeline] sh [2023-08-31T14:56:01.518Z] + git log --format=format:%s -1 c4dbf6069102021828098e365a108396ed21524d [Pipeline] echo [2023-08-31T14:56:01.561Z] ========================================================= [2023-08-31T14:56:01.561Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T14:56:01.561Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:56:01.907Z] + git log --format=format:%s -1 c4dbf6069102021828098e365a108396ed21524d [Pipeline] echo [2023-08-31T14:56:01.919Z] [semverPrep] GIT_COMMIT: c4dbf6069102021828098e365a108396ed21524d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#620) [Pipeline] echo [2023-08-31T14:56:01.928Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T14:56:02.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T14:56:02.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T14:56:02.265Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T14:56:02.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T14:56:02.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T14:56:02.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T14:56:02.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:56:02.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:56:02.623Z] [2023-08-31T14:56:02.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:56:02.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:56:02.927Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T14:56:02.927Z] b85a868b505f: Pulling fs layer [2023-08-31T14:56:02.927Z] e2be974225ed: Pulling fs layer [2023-08-31T14:56:02.927Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T14:56:02.927Z] 988bab9f4d93: Pulling fs layer [2023-08-31T14:56:02.927Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T14:56:02.927Z] eaf3925da568: Pulling fs layer [2023-08-31T14:56:02.927Z] bab4dde63d76: Pulling fs layer [2023-08-31T14:56:02.927Z] bde34c3a00c8: Pulling fs layer [2023-08-31T14:56:02.927Z] b352a97aabf1: Pulling fs layer [2023-08-31T14:56:02.927Z] 4872d77fe225: Pulling fs layer [2023-08-31T14:56:02.927Z] 5851b861e8e6: Pulling fs layer [2023-08-31T14:56:02.927Z] 988bab9f4d93: Waiting [2023-08-31T14:56:02.927Z] b352a97aabf1: Waiting [2023-08-31T14:56:02.927Z] 4872d77fe225: Waiting [2023-08-31T14:56:02.927Z] 5851b861e8e6: Waiting [2023-08-31T14:56:02.927Z] 1469e6f7b9e6: Waiting [2023-08-31T14:56:02.927Z] eaf3925da568: Waiting [2023-08-31T14:56:02.927Z] bde34c3a00c8: Waiting [2023-08-31T14:56:02.927Z] bab4dde63d76: Waiting [2023-08-31T14:56:02.928Z] e2be974225ed: Download complete [2023-08-31T14:56:02.928Z] 988bab9f4d93: Download complete [2023-08-31T14:56:03.188Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T14:56:03.188Z] 339a4e72a1f5: Download complete [2023-08-31T14:56:03.188Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T14:56:03.188Z] 1469e6f7b9e6: Download complete [2023-08-31T14:56:03.188Z] eaf3925da568: Verifying Checksum [2023-08-31T14:56:03.188Z] eaf3925da568: Download complete [2023-08-31T14:56:03.188Z] bde34c3a00c8: Download complete [2023-08-31T14:56:03.188Z] b352a97aabf1: Verifying Checksum [2023-08-31T14:56:03.188Z] b352a97aabf1: Download complete [2023-08-31T14:56:03.188Z] 4872d77fe225: Verifying Checksum [2023-08-31T14:56:03.188Z] 4872d77fe225: Download complete [2023-08-31T14:56:03.188Z] 5851b861e8e6: Verifying Checksum [2023-08-31T14:56:03.188Z] 5851b861e8e6: Download complete [2023-08-31T14:56:03.188Z] b85a868b505f: Verifying Checksum [2023-08-31T14:56:03.188Z] b85a868b505f: Download complete [2023-08-31T14:56:03.446Z] bab4dde63d76: Verifying Checksum [2023-08-31T14:56:03.446Z] bab4dde63d76: Download complete [2023-08-31T14:56:04.824Z] b85a868b505f: Pull complete [2023-08-31T14:56:04.824Z] e2be974225ed: Pull complete [2023-08-31T14:56:05.082Z] 339a4e72a1f5: Pull complete [2023-08-31T14:56:05.340Z] 988bab9f4d93: Pull complete [2023-08-31T14:56:05.598Z] 1469e6f7b9e6: Pull complete [2023-08-31T14:56:05.598Z] eaf3925da568: Pull complete [2023-08-31T14:56:07.501Z] bab4dde63d76: Pull complete [2023-08-31T14:56:07.501Z] bde34c3a00c8: Pull complete [2023-08-31T14:56:07.762Z] b352a97aabf1: Pull complete [2023-08-31T14:56:07.762Z] 4872d77fe225: Pull complete [2023-08-31T14:56:08.023Z] 5851b861e8e6: Pull complete [2023-08-31T14:56:08.023Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T14:56:08.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:56:08.023Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:56:08.130Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T14:56:08.163Z] $ 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-08-31T14:56:15.559Z] $ docker top 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 -eo pid,comm [2023-08-31T14:56:15.617Z] 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-08-31T14:56:15.617Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T14:56:15.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:56:15.661Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:56:15.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:56:15.778Z] $ docker exec 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 ssh-agent [2023-08-31T14:56:15.886Z] SSH_AUTH_SOCK=/tmp/ssh-CcHyh1KbvzmN/agent.33 [2023-08-31T14:56:15.886Z] SSH_AGENT_PID=39 [2023-08-31T14:56:15.894Z] Running ssh-add (command line suppressed) [2023-08-31T14:56:15.993Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6302074239029727754.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6302074239029727754.key) [2023-08-31T14:56:16.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:56:16.290Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T14:56:16.304Z] $ docker exec --env ******** --env ******** 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 ssh-agent -k [2023-08-31T14:56:16.409Z] unset SSH_AUTH_SOCK; [2023-08-31T14:56:16.409Z] unset SSH_AGENT_PID; [2023-08-31T14:56:16.409Z] echo Agent pid 39 killed; [2023-08-31T14:56:16.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T14:56:16.438Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:56:16.438Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:56:16.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:56:16.555Z] $ docker exec 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 ssh-agent [2023-08-31T14:56:16.663Z] SSH_AUTH_SOCK=/tmp/ssh-JqmMtoRSzJjI/agent.71 [2023-08-31T14:56:16.663Z] SSH_AGENT_PID=77 [2023-08-31T14:56:16.669Z] Running ssh-add (command line suppressed) [2023-08-31T14:56:16.776Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4531182195130780994.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4531182195130780994.key) [2023-08-31T14:56:16.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:56:17.075Z] + git semver init [2023-08-31T14:56:17.335Z] 2023-08-31 14:56:17,265 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T14:56:17.335Z] 2023-08-31 14:56:17,266 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-31T14:56:17.335Z] 2023-08-31 14:56:17,266 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-08-31T14:56:17.335Z] 2023-08-31 14:56:17,266 [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-08-31T14:56:18.274Z] 2023-08-31 14:56:18,099 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-08-31T14:56:18.274Z] 2023-08-31 14:56:18,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-08-31T14:56:18.274Z] 2023-08-31 14:56:18,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T14:56:18.274Z] 2023-08-31 14:56:18,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T14:56:18.274Z] 3.1.0-dev.6 [Pipeline] } [2023-08-31T14:56:18.288Z] $ docker exec --env ******** --env ******** 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 ssh-agent -k [2023-08-31T14:56:18.371Z] unset SSH_AUTH_SOCK; [2023-08-31T14:56:18.371Z] unset SSH_AGENT_PID; [2023-08-31T14:56:18.375Z] echo Agent pid 77 killed; [2023-08-31T14:56:18.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T14:56:18.689Z] + git semver [Pipeline] } [2023-08-31T14:56:18.964Z] $ docker stop --time=1 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 [2023-08-31T14:56:20.216Z] $ docker rm -f --volumes 7c4aeb6370e2cc3a715b3b38f0ba4837d22dfd04b46b73bee2458773402d0f32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T14:56:20.558Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T14:56:20.776Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T14:56:20.779Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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-08-31T14:56:20.887Z] provisioning config files... [2023-08-31T14:56:20.897Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8065328512218419211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:56:21.195Z] ---> docker-login.sh [2023-08-31T14:56:21.195Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:56:21.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:21.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:21.195Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:21.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:21.195Z] [2023-08-31T14:56:21.195Z] Login Succeeded [2023-08-31T14:56:21.195Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:56:21.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:21.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:21.454Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:21.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:21.454Z] [2023-08-31T14:56:21.454Z] Login Succeeded [2023-08-31T14:56:21.454Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:56:21.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:21.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:21.455Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:21.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:21.455Z] [2023-08-31T14:56:21.455Z] Login Succeeded [2023-08-31T14:56:21.455Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:56:21.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:21.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:21.455Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:21.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:21.455Z] [2023-08-31T14:56:21.455Z] Login Succeeded [2023-08-31T14:56:21.455Z] docker.io [2023-08-31T14:56:21.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:56:21.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:56:21.975Z] Configure a credential helper to remove this warning. See [2023-08-31T14:56:21.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:56:21.975Z] [2023-08-31T14:56:21.975Z] Login Succeeded [2023-08-31T14:56:21.975Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:56:21.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T14:56:22.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:56:22.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:56:22.059Z] ========================================================= [2023-08-31T14:56:22.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T14:56:22.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:56:22.364Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-31T14:56:22.364Z] Sending build context to Docker daemon 6.474MB [2023-08-31T14:56:22.364Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:56:22.364Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T14:56:22.364Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T14:56:22.364Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T14:56:22.364Z] 6911f1a30b25: Pulling fs layer [2023-08-31T14:56:22.364Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T14:56:22.364Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T14:56:22.364Z] ec0bb842ea78: Pulling fs layer [2023-08-31T14:56:22.364Z] 40a00589a448: Pulling fs layer [2023-08-31T14:56:22.364Z] 6c08303d61cc: Pulling fs layer [2023-08-31T14:56:22.364Z] 798269fcf238: Pulling fs layer [2023-08-31T14:56:22.364Z] 798269fcf238: Waiting [2023-08-31T14:56:22.364Z] 6c08303d61cc: Waiting [2023-08-31T14:56:22.364Z] 40a00589a448: Waiting [2023-08-31T14:56:22.364Z] 6863d3e3a2b1: Waiting [2023-08-31T14:56:22.364Z] ec0bb842ea78: Waiting [2023-08-31T14:56:22.364Z] 6911f1a30b25: Verifying Checksum [2023-08-31T14:56:22.364Z] 6911f1a30b25: Download complete [2023-08-31T14:56:22.364Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T14:56:22.364Z] 6863d3e3a2b1: Download complete [2023-08-31T14:56:22.624Z] ec0bb842ea78: Verifying Checksum [2023-08-31T14:56:22.624Z] ec0bb842ea78: Download complete [2023-08-31T14:56:22.624Z] 4db1b89c0bd1: Verifying Checksum [2023-08-31T14:56:22.624Z] 4db1b89c0bd1: Download complete [2023-08-31T14:56:22.624Z] 40a00589a448: Verifying Checksum [2023-08-31T14:56:22.624Z] 40a00589a448: Download complete [2023-08-31T14:56:22.624Z] 4db1b89c0bd1: Pull complete [2023-08-31T14:56:22.885Z] 6911f1a30b25: Pull complete [2023-08-31T14:56:23.154Z] 798269fcf238: Verifying Checksum [2023-08-31T14:56:23.154Z] 798269fcf238: Download complete [2023-08-31T14:56:23.154Z] e194b8c5c2a9: Verifying Checksum [2023-08-31T14:56:23.154Z] e194b8c5c2a9: Download complete [2023-08-31T14:56:23.412Z] 6c08303d61cc: Verifying Checksum [2023-08-31T14:56:23.412Z] 6c08303d61cc: Download complete [2023-08-31T14:56:26.693Z] e194b8c5c2a9: Pull complete [2023-08-31T14:56:26.693Z] 6863d3e3a2b1: Pull complete [2023-08-31T14:56:26.693Z] ec0bb842ea78: Pull complete [2023-08-31T14:56:26.693Z] 40a00589a448: Pull complete [2023-08-31T14:56:29.222Z] 6c08303d61cc: Pull complete [2023-08-31T14:56:29.792Z] 798269fcf238: Pull complete [2023-08-31T14:56:29.792Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T14:56:29.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T14:56:29.792Z] ---> ec979cd7f677 [2023-08-31T14:56:29.792Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:56:35.854Z] Still waiting to schedule task [2023-08-31T14:56:35.854Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5018’ is offline [2023-08-31T14:56:39.784Z] ---> Running in b24d8cd5213e [2023-08-31T14:56:39.784Z] Removing intermediate container b24d8cd5213e [2023-08-31T14:56:39.784Z] ---> c74c87fae000 [2023-08-31T14:56:39.784Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:56:39.784Z] ---> Running in a941008e4b6f [2023-08-31T14:56:39.784Z] Removing intermediate container a941008e4b6f [2023-08-31T14:56:39.784Z] ---> 6990a4cd466e [2023-08-31T14:56:39.784Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T14:56:39.784Z] ---> Running in 3d8e9ac83941 [2023-08-31T14:56:39.784Z] Removing intermediate container 3d8e9ac83941 [2023-08-31T14:56:39.784Z] ---> 9fe5acd6d900 [2023-08-31T14:56:39.784Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T14:56:39.784Z] ---> Running in a0d056da9a53 [2023-08-31T14:56:39.784Z] Removing intermediate container a0d056da9a53 [2023-08-31T14:56:39.784Z] ---> bea44fee3428 [2023-08-31T14:56:39.784Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T14:56:39.784Z] ---> Running in 6e3a6d34c5a1 [2023-08-31T14:56:39.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:56:39.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:56:40.044Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T14:56:40.044Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T14:56:40.044Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T14:56:40.044Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T14:56:40.044Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:56:40.044Z] OK: 269 MiB in 57 packages [2023-08-31T14:56:40.611Z] Removing intermediate container 6e3a6d34c5a1 [2023-08-31T14:56:40.611Z] ---> d813a85c1550 [2023-08-31T14:56:40.611Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-31T14:56:40.611Z] ---> Running in 496a140e2a2d [2023-08-31T14:56:40.870Z] Removing intermediate container 496a140e2a2d [2023-08-31T14:56:40.870Z] ---> 40fd495410e0 [2023-08-31T14:56:40.870Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-31T14:56:40.870Z] ---> 61cd38a2df75 [2023-08-31T14:56:40.870Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:56:40.870Z] ---> Running in 195a3798aa8b [2023-08-31T14:57:27.553Z] Removing intermediate container 195a3798aa8b [2023-08-31T14:57:27.553Z] ---> c856878550f8 [2023-08-31T14:57:27.553Z] Step 11/12 : COPY . . [2023-08-31T14:57:27.553Z] ---> 53d232e86f06 [2023-08-31T14:57:27.553Z] Step 12/12 : RUN $MAKE [2023-08-31T14:57:27.553Z] ---> Running in 9d364e7c04ed [2023-08-31T14:57:27.553Z] noop [2023-08-31T14:57:27.553Z] Removing intermediate container 9d364e7c04ed [2023-08-31T14:57:27.553Z] ---> 22ea3fe5afaa [2023-08-31T14:57:27.553Z] Successfully built 22ea3fe5afaa [2023-08-31T14:57:27.553Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:27.876Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:57:27.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:57:27.952Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T14:57:27.985Z] $ 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-08-31T14:57:28.322Z] $ docker top 4be92badc951a953fd1eed51279277bc1d296d3e8f5c6a84eb51ad9c53a992ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:57:28.663Z] + go version [2023-08-31T14:57:28.663Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T14:57:28.679Z] $ docker stop --time=1 4be92badc951a953fd1eed51279277bc1d296d3e8f5c6a84eb51ad9c53a992ba [2023-08-31T14:57:29.921Z] $ docker rm -f --volumes 4be92badc951a953fd1eed51279277bc1d296d3e8f5c6a84eb51ad9c53a992ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:57:30.311Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:57:30.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:57:30.395Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T14:57:30.429Z] $ 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-08-31T14:57:30.743Z] $ docker top 99ca802cb8086137dfd163282437d98397b0f3b50713170e4073852e7ebea325 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:57:31.085Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-31T14:57:31.382Z] + make test [2023-08-31T14:57:31.382Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T14:57:36.657Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-31T14:57:48.864Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-31T14:57:48.865Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-31T14:57:48.865Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2023-08-31T14:57:54.129Z] go vet ./... [2023-08-31T14:57:57.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T14:57:57.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T14:57:57.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T14:57:57.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T14:57:57.689Z] $ docker stop --time=1 99ca802cb8086137dfd163282437d98397b0f3b50713170e4073852e7ebea325 [2023-08-31T14:58:03.609Z] $ docker rm -f --volumes 99ca802cb8086137dfd163282437d98397b0f3b50713170e4073852e7ebea325 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T14:58:04.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T14:58:04.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T14:58:04.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T14:58:04.983Z] + ls -al . [2023-08-31T14:58:04.983Z] total 188 [2023-08-31T14:58:04.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 14:57 . [2023-08-31T14:58:04.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:55 .. [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 14:55 .dockerignore [2023-08-31T14:58:04.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:56 .git [2023-08-31T14:58:04.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:55 .github [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 31 14:55 .gitignore [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:55 .golangci.yml [2023-08-31T14:58:04.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:56 .semver [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 31 14:55 Attribution.txt [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 31 14:55 CHANGELOG.md [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 31 14:55 Dockerfile [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:55 GOVERNANCE.md [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 14:55 Jenkinsfile [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:55 LICENSE [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 31 14:55 Makefile [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 31 14:55 OWNERS.md [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 31 14:55 README.md [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:56 VERSION [2023-08-31T14:58:04.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:55 bin [2023-08-31T14:58:04.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:55 cmd [2023-08-31T14:58:04.983Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 31 14:57 coverage.out [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 31 14:55 go.mod [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 31 14:55 go.sum [2023-08-31T14:58:04.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:55 internal [2023-08-31T14:58:04.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:55 mock [2023-08-31T14:58:04.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:55 snap [2023-08-31T14:58:04.983Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 31 14:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:05.294Z] + 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=c4dbf6069102021828098e365a108396ed21524d --label arch=amd64 --label version=3.1.0-dev.6 . [2023-08-31T14:58:05.294Z] Sending build context to Docker daemon 6.494MB [2023-08-31T14:58:05.294Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:58:05.294Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-31T14:58:05.294Z] ---> 22ea3fe5afaa [2023-08-31T14:58:05.294Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:58:05.553Z] ---> Running in 9b878df97fed [2023-08-31T14:58:05.553Z] Removing intermediate container 9b878df97fed [2023-08-31T14:58:05.553Z] ---> bfd01c70ca0a [2023-08-31T14:58:05.553Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:58:05.553Z] ---> Running in 8dbc9c7599f5 [2023-08-31T14:58:05.813Z] Removing intermediate container 8dbc9c7599f5 [2023-08-31T14:58:05.813Z] ---> 8021fe4d5e49 [2023-08-31T14:58:05.813Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T14:58:05.813Z] ---> Running in d9652a106039 [2023-08-31T14:58:05.813Z] Removing intermediate container d9652a106039 [2023-08-31T14:58:05.813Z] ---> 0d47aedb84d7 [2023-08-31T14:58:05.813Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T14:58:05.813Z] ---> Running in 9ad279377302 [2023-08-31T14:58:05.813Z] Removing intermediate container 9ad279377302 [2023-08-31T14:58:05.813Z] ---> 6e59d5031eb2 [2023-08-31T14:58:05.813Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T14:58:05.813Z] ---> Running in c30114f61a2a [2023-08-31T14:58:06.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:06.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:06.590Z] OK: 269 MiB in 57 packages [2023-08-31T14:58:06.849Z] Removing intermediate container c30114f61a2a [2023-08-31T14:58:06.849Z] ---> 56c060e4cc7a [2023-08-31T14:58:06.849Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-31T14:58:07.107Z] ---> Running in 0d17e08cab31 [2023-08-31T14:58:07.107Z] Removing intermediate container 0d17e08cab31 [2023-08-31T14:58:07.107Z] ---> 7e8c5bd556da [2023-08-31T14:58:07.107Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-31T14:58:07.107Z] ---> a2a5e5c91f49 [2023-08-31T14:58:07.107Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:58:07.107Z] ---> Running in e081af4f00f6 [2023-08-31T14:58:07.673Z] Removing intermediate container e081af4f00f6 [2023-08-31T14:58:07.673Z] ---> f458500666e0 [2023-08-31T14:58:07.673Z] Step 11/24 : COPY . . [2023-08-31T14:58:08.240Z] ---> fc6c178c796d [2023-08-31T14:58:08.240Z] Step 12/24 : RUN $MAKE [2023-08-31T14:58:08.240Z] ---> Running in abf25444b9ed [2023-08-31T14:58:08.498Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-31T14:58:35.048Z] Removing intermediate container abf25444b9ed [2023-08-31T14:58:35.048Z] ---> 0fc1642a81d1 [2023-08-31T14:58:35.048Z] Step 13/24 : FROM alpine:3.17 [2023-08-31T14:58:35.048Z] 3.17: Pulling from library/alpine [2023-08-31T14:58:35.048Z] 9398808236ff: Pulling fs layer [2023-08-31T14:58:35.048Z] 9398808236ff: Verifying Checksum [2023-08-31T14:58:35.048Z] 9398808236ff: Download complete [2023-08-31T14:58:35.048Z] 9398808236ff: Pull complete [2023-08-31T14:58:35.048Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T14:58:35.048Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T14:58:35.048Z] ---> 1e0b8b5322fc [2023-08-31T14:58:35.048Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-31T14:58:35.048Z] ---> Running in b95d4d347ef9 [2023-08-31T14:58:35.048Z] Removing intermediate container b95d4d347ef9 [2023-08-31T14:58:35.048Z] ---> fd1fc8735c28 [2023-08-31T14:58:35.048Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-31T14:58:35.048Z] ---> Running in 7612982c130b [2023-08-31T14:58:35.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:35.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:35.048Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T14:58:35.048Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:58:35.048Z] OK: 7 MiB in 16 packages [2023-08-31T14:58:35.048Z] Removing intermediate container 7612982c130b [2023-08-31T14:58:35.048Z] ---> fa0aab58f6c4 [2023-08-31T14:58:35.048Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-31T14:58:35.984Z] ---> 8eda79316481 [2023-08-31T14:58:35.984Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-31T14:58:35.984Z] ---> 17b982a87b15 [2023-08-31T14:58:35.984Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-31T14:58:35.984Z] ---> 65e844f22ed6 [2023-08-31T14:58:35.984Z] Step 19/24 : EXPOSE 59982 [2023-08-31T14:58:35.984Z] ---> Running in 6ea75c933bc0 [2023-08-31T14:58:35.984Z] Removing intermediate container 6ea75c933bc0 [2023-08-31T14:58:35.984Z] ---> 40c3096f777d [2023-08-31T14:58:35.984Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-31T14:58:36.244Z] ---> Running in c0d5c18e8ab0 [2023-08-31T14:58:36.244Z] Removing intermediate container c0d5c18e8ab0 [2023-08-31T14:58:36.244Z] ---> 0f3b90fffb82 [2023-08-31T14:58:36.244Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T14:58:36.244Z] ---> Running in c4a9b04b7648 [2023-08-31T14:58:36.244Z] Removing intermediate container c4a9b04b7648 [2023-08-31T14:58:36.244Z] ---> c3bf712d28fa [2023-08-31T14:58:36.244Z] Step 22/24 : LABEL arch=amd64 [2023-08-31T14:58:36.244Z] ---> Running in 73e386c242e8 [2023-08-31T14:58:36.244Z] Removing intermediate container 73e386c242e8 [2023-08-31T14:58:36.244Z] ---> 291f632dfa4b [2023-08-31T14:58:36.244Z] Step 23/24 : LABEL git_sha=c4dbf6069102021828098e365a108396ed21524d [2023-08-31T14:58:36.502Z] ---> Running in 02d99501dabe [2023-08-31T14:58:36.502Z] Removing intermediate container 02d99501dabe [2023-08-31T14:58:36.502Z] ---> bd9f6ec873e3 [2023-08-31T14:58:36.502Z] Step 24/24 : LABEL version=3.1.0-dev.6 [2023-08-31T14:58:36.502Z] ---> Running in a5e41480085e [2023-08-31T14:58:36.502Z] Removing intermediate container a5e41480085e [2023-08-31T14:58:36.502Z] ---> 083f42cca5cd [2023-08-31T14:58:36.502Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T14:58:36.502Z] Successfully built 083f42cca5cd [2023-08-31T14:58:36.502Z] 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-08-31T14:58:36.622Z] provisioning config files... [2023-08-31T14:58:36.630Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8355330098375810055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:58:36.928Z] ---> docker-login.sh [2023-08-31T14:58:36.928Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:58:36.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:36.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:36.928Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:36.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:36.928Z] [2023-08-31T14:58:36.928Z] Login Succeeded [2023-08-31T14:58:36.928Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:58:36.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:37.188Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:37.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:37.188Z] [2023-08-31T14:58:37.188Z] Login Succeeded [2023-08-31T14:58:37.188Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:58:37.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:37.188Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:37.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:37.188Z] [2023-08-31T14:58:37.188Z] Login Succeeded [2023-08-31T14:58:37.188Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:58:37.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:37.188Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:37.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:37.188Z] [2023-08-31T14:58:37.188Z] Login Succeeded [2023-08-31T14:58:37.188Z] docker.io [2023-08-31T14:58:37.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:37.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:37.449Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:37.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:37.449Z] [2023-08-31T14:58:37.449Z] Login Succeeded [2023-08-31T14:58:37.708Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:58:37.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T14:58:37.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:58:37.755Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-08-31T14:58:37.755Z] c4dbf6069102021828098e365a108396ed21524d [2023-08-31T14:58:37.755Z] latest [2023-08-31T14:58:37.755Z] 3.1.0-dev.6 [2023-08-31T14:58:37.755Z] c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T14:58:37.755Z] main [2023-08-31T14:58:37.755Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:38.063Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:38.362Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d [2023-08-31T14:58:38.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-31T14:58:38.362Z] 7533507fc507: Preparing [2023-08-31T14:58:38.362Z] fdb1f7da1adb: Preparing [2023-08-31T14:58:38.362Z] 49bfec916d94: Preparing [2023-08-31T14:58:38.362Z] a0d0bd6de667: Preparing [2023-08-31T14:58:38.362Z] 36b50b131297: Preparing [2023-08-31T14:58:38.362Z] 36b50b131297: Layer already exists [2023-08-31T14:58:38.362Z] 7533507fc507: Pushed [2023-08-31T14:58:38.362Z] a0d0bd6de667: Pushed [2023-08-31T14:58:38.362Z] fdb1f7da1adb: Pushed [2023-08-31T14:58:40.890Z] 49bfec916d94: Pushed [2023-08-31T14:58:40.890Z] c4dbf6069102021828098e365a108396ed21524d: digest: sha256:6faa29759516d5b30a9e035254ca4d704c1a23aa2c56440a627c72fa3faa6640 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:41.203Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:41.508Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-31T14:58:41.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-31T14:58:41.509Z] 7533507fc507: Preparing [2023-08-31T14:58:41.509Z] fdb1f7da1adb: Preparing [2023-08-31T14:58:41.509Z] 49bfec916d94: Preparing [2023-08-31T14:58:41.509Z] a0d0bd6de667: Preparing [2023-08-31T14:58:41.509Z] 36b50b131297: Preparing [2023-08-31T14:58:41.509Z] 7533507fc507: Layer already exists [2023-08-31T14:58:41.509Z] a0d0bd6de667: Layer already exists [2023-08-31T14:58:41.509Z] 49bfec916d94: Layer already exists [2023-08-31T14:58:41.509Z] 36b50b131297: Layer already exists [2023-08-31T14:58:41.509Z] fdb1f7da1adb: Layer already exists [2023-08-31T14:58:41.509Z] latest: digest: sha256:6faa29759516d5b30a9e035254ca4d704c1a23aa2c56440a627c72fa3faa6640 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:41.820Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:42.124Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.6 [2023-08-31T14:58:42.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-31T14:58:42.124Z] 7533507fc507: Preparing [2023-08-31T14:58:42.124Z] fdb1f7da1adb: Preparing [2023-08-31T14:58:42.124Z] 49bfec916d94: Preparing [2023-08-31T14:58:42.124Z] a0d0bd6de667: Preparing [2023-08-31T14:58:42.124Z] 36b50b131297: Preparing [2023-08-31T14:58:42.124Z] fdb1f7da1adb: Layer already exists [2023-08-31T14:58:42.124Z] a0d0bd6de667: Layer already exists [2023-08-31T14:58:42.124Z] 7533507fc507: Layer already exists [2023-08-31T14:58:42.124Z] 49bfec916d94: Layer already exists [2023-08-31T14:58:42.124Z] 36b50b131297: Layer already exists [2023-08-31T14:58:42.124Z] 3.1.0-dev.6: digest: sha256:6faa29759516d5b30a9e035254ca4d704c1a23aa2c56440a627c72fa3faa6640 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:42.446Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:42.750Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T14:58:42.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-31T14:58:42.750Z] 7533507fc507: Preparing [2023-08-31T14:58:42.750Z] fdb1f7da1adb: Preparing [2023-08-31T14:58:42.750Z] 49bfec916d94: Preparing [2023-08-31T14:58:42.750Z] a0d0bd6de667: Preparing [2023-08-31T14:58:42.750Z] 36b50b131297: Preparing [2023-08-31T14:58:42.750Z] 49bfec916d94: Layer already exists [2023-08-31T14:58:42.750Z] a0d0bd6de667: Layer already exists [2023-08-31T14:58:42.750Z] fdb1f7da1adb: Layer already exists [2023-08-31T14:58:42.750Z] 36b50b131297: Layer already exists [2023-08-31T14:58:42.750Z] 7533507fc507: Layer already exists [2023-08-31T14:58:42.750Z] c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6: digest: sha256:6faa29759516d5b30a9e035254ca4d704c1a23aa2c56440a627c72fa3faa6640 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:43.062Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:43.366Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-08-31T14:58:43.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-08-31T14:58:43.366Z] 7533507fc507: Preparing [2023-08-31T14:58:43.366Z] fdb1f7da1adb: Preparing [2023-08-31T14:58:43.366Z] 49bfec916d94: Preparing [2023-08-31T14:58:43.366Z] a0d0bd6de667: Preparing [2023-08-31T14:58:43.366Z] 36b50b131297: Preparing [2023-08-31T14:58:43.366Z] 7533507fc507: Layer already exists [2023-08-31T14:58:43.366Z] 49bfec916d94: Layer already exists [2023-08-31T14:58:43.366Z] 36b50b131297: Layer already exists [2023-08-31T14:58:43.366Z] fdb1f7da1adb: Layer already exists [2023-08-31T14:58:43.366Z] a0d0bd6de667: Layer already exists [2023-08-31T14:58:43.366Z] main: digest: sha256:6faa29759516d5b30a9e035254ca4d704c1a23aa2c56440a627c72fa3faa6640 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T14:58:43.404Z] ===================================================== [Pipeline] echo [2023-08-31T14:58:43.411Z] taggedImages: [2023-08-31T14:58:43.411Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d [2023-08-31T14:58:43.411Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-08-31T14:58:43.411Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.6 [2023-08-31T14:58:43.411Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T14:58:43.411Z] - 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-08-31T14:58:43.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:58:43.786Z] [2023-08-31T14:58:43.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:44.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:58:44.082Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T14:58:44.082Z] 5eb5b503b376: Pulling fs layer [2023-08-31T14:58:44.082Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T14:58:44.082Z] ec43610c2a17: Pulling fs layer [2023-08-31T14:58:44.082Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T14:58:44.083Z] 33b1e0a273af: Pulling fs layer [2023-08-31T14:58:44.083Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T14:58:44.083Z] 2f39f015ded8: Pulling fs layer [2023-08-31T14:58:44.083Z] 3a2ae6a8a46f: Waiting [2023-08-31T14:58:44.083Z] 33b1e0a273af: Waiting [2023-08-31T14:58:44.083Z] 5d3b04190fa2: Waiting [2023-08-31T14:58:44.083Z] 5c69ac0246d0: Verifying Checksum [2023-08-31T14:58:44.083Z] 5c69ac0246d0: Download complete [2023-08-31T14:58:44.083Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T14:58:44.083Z] 3a2ae6a8a46f: Download complete [2023-08-31T14:58:44.083Z] ec43610c2a17: Verifying Checksum [2023-08-31T14:58:44.083Z] ec43610c2a17: Download complete [2023-08-31T14:58:44.083Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T14:58:44.083Z] 5d3b04190fa2: Download complete [2023-08-31T14:58:44.083Z] 33b1e0a273af: Verifying Checksum [2023-08-31T14:58:44.083Z] 33b1e0a273af: Download complete [2023-08-31T14:58:44.343Z] 5eb5b503b376: Download complete [2023-08-31T14:58:44.909Z] 2f39f015ded8: Download complete [2023-08-31T14:58:45.854Z] 5eb5b503b376: Pull complete [2023-08-31T14:58:45.854Z] 5c69ac0246d0: Pull complete [2023-08-31T14:58:46.420Z] ec43610c2a17: Pull complete [2023-08-31T14:58:46.420Z] 3a2ae6a8a46f: Pull complete [2023-08-31T14:58:46.677Z] 33b1e0a273af: Pull complete [2023-08-31T14:58:46.677Z] 5d3b04190fa2: Pull complete [2023-08-31T14:58:50.860Z] 2f39f015ded8: Pull complete [2023-08-31T14:58:50.860Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T14:58:50.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T14:58:50.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:58:50.944Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T14:58:50.978Z] $ 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-08-31T14:58:59.978Z] $ docker top 406093fda304a75088323bb49868dd1b2dfe1a13803809ea5afd0c3438ebd92e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:59:00.362Z] ---> job-cost.sh [2023-08-31T14:59:00.362Z] lf-activate-venv: SKIPPING [2023-08-31T14:59:00.362Z] INFO: No Stack... [2023-08-31T14:59:00.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T14:59:01.188Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T14:59:01.479Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-08-31T14:59:01.479Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T14:59:01.493Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [2023-08-31T14:59:01.498Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] did not exist. Created. [2023-08-31T14:59:01.498Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T14:59:01.799Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T14:59:01.827Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T14:59:01.833Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T14:59:01.852Z] $ docker stop --time=1 406093fda304a75088323bb49868dd1b2dfe1a13803809ea5afd0c3438ebd92e [2023-08-31T14:59:02.993Z] $ docker rm -f --volumes 406093fda304a75088323bb49868dd1b2dfe1a13803809ea5afd0c3438ebd92e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T14:59:14.270Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5021 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-08-31T14:59:14.284Z] Running in /w/workspace/device-mqtt-go/134 [Pipeline] { [Pipeline] checkout [2023-08-31T14:59:14.324Z] The recommended git tool is: git [2023-08-31T14:59:20.314Z] using credential edgex-jenkins-ssh [2023-08-31T14:59:20.336Z] Cloning the remote Git repository [2023-08-31T14:59:20.386Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-31T14:59:20.496Z] > git init /w/workspace/device-mqtt-go/134 # timeout=10 [2023-08-31T14:59:20.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-31T14:59:20.670Z] > git --version # timeout=10 [2023-08-31T14:59:20.697Z] > git --version # 'git version 2.25.1' [2023-08-31T14:59:20.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T14:59:20.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:59:23.095Z] Avoid second fetch [2023-08-31T14:59:23.096Z] Checking out Revision c4dbf6069102021828098e365a108396ed21524d (main) [2023-08-31T14:59:22.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-31T14:59:22.063Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:59:23.120Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T14:59:23.771Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#620)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:59:23.214Z] > git checkout -f c4dbf6069102021828098e365a108396ed21524d # timeout=10 [2023-08-31T14:59:24.635Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T14:59:24.635Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T14:59:24.635Z] Dload Upload Total Spent Left Speed [2023-08-31T14:59:24.635Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-08-31T14:59:25.270Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T14:59:25.617Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T14:59:25.617Z] + sudo tee /etc/docker/daemon.new [2023-08-31T14:59:25.617Z] { [2023-08-31T14:59:25.617Z] "registry-mirrors": [ [2023-08-31T14:59:25.617Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T14:59:25.617Z] ], [2023-08-31T14:59:25.617Z] "bip": "10.250.0.254/24", [2023-08-31T14:59:25.617Z] "hosts": [ [2023-08-31T14:59:25.617Z] "tcp://0.0.0.0:5555", [2023-08-31T14:59:25.617Z] "unix:///var/run/docker.sock" [2023-08-31T14:59:25.617Z] ], [2023-08-31T14:59:25.617Z] "mtu": 1458, [2023-08-31T14:59:25.617Z] "selinux-enabled": true, [2023-08-31T14:59:25.617Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T14:59:25.617Z] } [Pipeline] sh [2023-08-31T14:59:25.989Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T14:59:26.339Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T14:59:44.643Z] provisioning config files... [2023-08-31T14:59:44.679Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/134@tmp/config7223483457407342496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:59:45.080Z] ---> docker-login.sh [2023-08-31T14:59:45.080Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:59:45.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:59:45.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:59:45.673Z] Configure a credential helper to remove this warning. See [2023-08-31T14:59:45.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:59:45.673Z] [2023-08-31T14:59:45.673Z] Login Succeeded [2023-08-31T14:59:45.673Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:59:45.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:59:46.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:59:46.216Z] Configure a credential helper to remove this warning. See [2023-08-31T14:59:46.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:59:46.216Z] [2023-08-31T14:59:46.216Z] Login Succeeded [2023-08-31T14:59:46.216Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:59:46.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:59:46.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:59:46.491Z] Configure a credential helper to remove this warning. See [2023-08-31T14:59:46.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:59:46.491Z] [2023-08-31T14:59:46.491Z] Login Succeeded [2023-08-31T14:59:46.491Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:59:46.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:59:47.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:59:47.039Z] Configure a credential helper to remove this warning. See [2023-08-31T14:59:47.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:59:47.039Z] [2023-08-31T14:59:47.039Z] Login Succeeded [2023-08-31T14:59:47.039Z] docker.io [2023-08-31T14:59:47.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:59:47.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:59:47.581Z] Configure a credential helper to remove this warning. See [2023-08-31T14:59:47.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:59:47.581Z] [2023-08-31T14:59:47.581Z] Login Succeeded [2023-08-31T14:59:47.581Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:59:47.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T14:59:47.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:59:47.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:59:47.925Z] ========================================================= [2023-08-31T14:59:47.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T14:59:47.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:48.298Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-31T14:59:48.569Z] Sending build context to Docker daemon 3.327MB [2023-08-31T14:59:48.569Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:59:48.569Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T14:59:48.843Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T14:59:48.843Z] edb6bdbacee9: Pulling fs layer [2023-08-31T14:59:48.843Z] 5f9638ab2659: Pulling fs layer [2023-08-31T14:59:48.843Z] 8d51d6327a98: Pulling fs layer [2023-08-31T14:59:48.843Z] 8b374f2dd631: Pulling fs layer [2023-08-31T14:59:48.843Z] ec14aa9079de: Pulling fs layer [2023-08-31T14:59:48.843Z] 2f466654f4bb: Pulling fs layer [2023-08-31T14:59:48.843Z] 554e91adad29: Pulling fs layer [2023-08-31T14:59:48.843Z] ec14aa9079de: Waiting [2023-08-31T14:59:48.843Z] 2f466654f4bb: Waiting [2023-08-31T14:59:48.843Z] 554e91adad29: Waiting [2023-08-31T14:59:48.843Z] 8b374f2dd631: Waiting [2023-08-31T14:59:48.843Z] 5f9638ab2659: Verifying Checksum [2023-08-31T14:59:48.843Z] 5f9638ab2659: Download complete [2023-08-31T14:59:48.843Z] 8b374f2dd631: Verifying Checksum [2023-08-31T14:59:48.843Z] 8b374f2dd631: Download complete [2023-08-31T14:59:48.843Z] ec14aa9079de: Verifying Checksum [2023-08-31T14:59:48.843Z] ec14aa9079de: Download complete [2023-08-31T14:59:48.843Z] edb6bdbacee9: Verifying Checksum [2023-08-31T14:59:48.843Z] edb6bdbacee9: Download complete [2023-08-31T14:59:50.302Z] edb6bdbacee9: Pull complete [2023-08-31T14:59:50.900Z] 554e91adad29: Verifying Checksum [2023-08-31T14:59:50.900Z] 554e91adad29: Download complete [2023-08-31T14:59:51.176Z] 5f9638ab2659: Pull complete [2023-08-31T14:59:52.151Z] 2f466654f4bb: Verifying Checksum [2023-08-31T14:59:52.151Z] 2f466654f4bb: Download complete [2023-08-31T14:59:52.151Z] 8d51d6327a98: Verifying Checksum [2023-08-31T14:59:52.151Z] 8d51d6327a98: Download complete [2023-08-31T15:00:04.492Z] 8d51d6327a98: Pull complete [2023-08-31T15:00:04.492Z] 8b374f2dd631: Pull complete [2023-08-31T15:00:04.492Z] ec14aa9079de: Pull complete [2023-08-31T15:00:11.290Z] 2f466654f4bb: Pull complete [2023-08-31T15:00:14.628Z] 554e91adad29: Pull complete [2023-08-31T15:00:14.628Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T15:00:14.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T15:00:14.628Z] ---> 1e15ea492957 [2023-08-31T15:00:14.628Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T15:00:14.899Z] ---> Running in 9000e543832a [2023-08-31T15:00:15.177Z] Removing intermediate container 9000e543832a [2023-08-31T15:00:15.177Z] ---> ec4424fa83c0 [2023-08-31T15:00:15.177Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T15:00:15.447Z] ---> Running in 62b040685094 [2023-08-31T15:00:15.717Z] Removing intermediate container 62b040685094 [2023-08-31T15:00:15.717Z] ---> e89667cdb86f [2023-08-31T15:00:15.717Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T15:00:15.717Z] ---> Running in 1263b057f7d6 [2023-08-31T15:00:16.001Z] Removing intermediate container 1263b057f7d6 [2023-08-31T15:00:16.001Z] ---> a9699ea0072a [2023-08-31T15:00:16.001Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T15:00:16.269Z] ---> Running in 74e5e7663162 [2023-08-31T15:00:16.538Z] Removing intermediate container 74e5e7663162 [2023-08-31T15:00:16.538Z] ---> 752f5577b99c [2023-08-31T15:00:16.538Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T15:00:16.538Z] ---> Running in 7136584bcb37 [2023-08-31T15:00:17.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:00:18.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:00:19.531Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T15:00:19.531Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T15:00:19.531Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T15:00:19.802Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T15:00:19.802Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:00:19.802Z] OK: 268 MiB in 57 packages [2023-08-31T15:00:20.785Z] Removing intermediate container 7136584bcb37 [2023-08-31T15:00:20.785Z] ---> 5916e744bd38 [2023-08-31T15:00:20.785Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-31T15:00:21.054Z] ---> Running in d4d18004eced [2023-08-31T15:00:21.324Z] Removing intermediate container d4d18004eced [2023-08-31T15:00:21.324Z] ---> 52204266e47c [2023-08-31T15:00:21.324Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-31T15:00:21.927Z] ---> fb6bcec40a0a [2023-08-31T15:00:21.927Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T15:00:21.927Z] ---> Running in 7159f1339e23 [2023-08-31T15:01:44.255Z] Removing intermediate container 7159f1339e23 [2023-08-31T15:01:44.255Z] ---> 42e465faedb8 [2023-08-31T15:01:44.255Z] Step 11/12 : COPY . . [2023-08-31T15:01:44.255Z] ---> 850ee89c4f84 [2023-08-31T15:01:44.255Z] Step 12/12 : RUN $MAKE [2023-08-31T15:01:44.255Z] ---> Running in 74bc5ac33e2e [2023-08-31T15:01:44.255Z] noop [2023-08-31T15:01:44.255Z] Removing intermediate container 74bc5ac33e2e [2023-08-31T15:01:44.255Z] ---> 3280437ecd93 [2023-08-31T15:01:44.255Z] Successfully built 3280437ecd93 [2023-08-31T15:01:44.255Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:01:44.613Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T15:01:44.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:01:44.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-5021 does not seem to be running inside a container [2023-08-31T15:01:44.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/134 -v /w/workspace/device-mqtt-go/134:/w/workspace/device-mqtt-go/134:rw,z -v /w/workspace/device-mqtt-go/134@tmp:/w/workspace/device-mqtt-go/134@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-08-31T15:01:46.282Z] $ docker top ba9ea15dd399b1f4e3cae13a4ceb871a5b4bc380ba533e7af41ab599ef795436 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:01:47.151Z] + go version [2023-08-31T15:01:47.151Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T15:01:47.178Z] $ docker stop --time=1 ba9ea15dd399b1f4e3cae13a4ceb871a5b4bc380ba533e7af41ab599ef795436 [2023-08-31T15:01:48.850Z] $ docker rm -f --volumes ba9ea15dd399b1f4e3cae13a4ceb871a5b4bc380ba533e7af41ab599ef795436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:01:49.418Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T15:01:49.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:01:49.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-5021 does not seem to be running inside a container [2023-08-31T15:01:49.717Z] $ 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/134 -v /w/workspace/device-mqtt-go/134:/w/workspace/device-mqtt-go/134:rw,z -v /w/workspace/device-mqtt-go/134@tmp:/w/workspace/device-mqtt-go/134@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-08-31T15:01:51.039Z] $ docker top ce7f1667cfb48584cf67b431457a2d08e3c92e32688256df4b0f9f9086167073 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:01:51.921Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/134 [Pipeline] fileExists [Pipeline] sh [2023-08-31T15:01:52.594Z] + make test [2023-08-31T15:01:52.594Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T15:02:32.299Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-31T15:04:55.537Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-31T15:04:55.537Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-31T15:04:55.537Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.085s coverage: 22.8% of statements [2023-08-31T15:04:55.537Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T15:04:55.537Z] go vet ./... [2023-08-31T15:05:27.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T15:05:27.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T15:05:27.828Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T15:05:27.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T15:05:27.866Z] $ docker stop --time=1 ce7f1667cfb48584cf67b431457a2d08e3c92e32688256df4b0f9f9086167073 [2023-08-31T15:05:29.781Z] $ docker rm -f --volumes ce7f1667cfb48584cf67b431457a2d08e3c92e32688256df4b0f9f9086167073 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:05:31.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T15:05:31.129Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T15:05:31.734Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T15:05:32.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T15:05:32.475Z] + ls -al . [2023-08-31T15:05:32.475Z] total 184 [2023-08-31T15:05:32.475Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 15:01 . [2023-08-31T15:05:32.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:59 .. [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 14:59 .dockerignore [2023-08-31T15:05:32.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:59 .git [2023-08-31T15:05:32.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 .github [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 31 14:59 .gitignore [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:59 .golangci.yml [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 31 14:59 Attribution.txt [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 31 14:59 CHANGELOG.md [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 31 14:59 Dockerfile [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:59 GOVERNANCE.md [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 14:59 Jenkinsfile [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:59 LICENSE [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 31 14:59 Makefile [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 31 14:59 OWNERS.md [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 31 14:59 README.md [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:56 VERSION [2023-08-31T15:05:32.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:59 bin [2023-08-31T15:05:32.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 cmd [2023-08-31T15:05:32.475Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 31 15:04 coverage.out [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 31 14:59 go.mod [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 31 14:59 go.sum [2023-08-31T15:05:32.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 internal [2023-08-31T15:05:32.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:59 mock [2023-08-31T15:05:32.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:59 snap [2023-08-31T15:05:32.475Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 31 14:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:05:32.840Z] + 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=c4dbf6069102021828098e365a108396ed21524d --label arch=arm64 --label version=3.1.0-dev.6 . [2023-08-31T15:05:33.112Z] Sending build context to Docker daemon 3.347MB [2023-08-31T15:05:33.112Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T15:05:33.112Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-31T15:05:33.112Z] ---> 3280437ecd93 [2023-08-31T15:05:33.112Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-31T15:05:33.381Z] ---> Running in 96c96319e39f [2023-08-31T15:05:33.649Z] Removing intermediate container 96c96319e39f [2023-08-31T15:05:33.649Z] ---> 874cf714f0cb [2023-08-31T15:05:33.649Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T15:05:33.649Z] ---> Running in 4aad1e5775b8 [2023-08-31T15:05:34.235Z] Removing intermediate container 4aad1e5775b8 [2023-08-31T15:05:34.235Z] ---> c53f02278bc8 [2023-08-31T15:05:34.235Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T15:05:34.235Z] ---> Running in 9796d2404edf [2023-08-31T15:05:34.504Z] Removing intermediate container 9796d2404edf [2023-08-31T15:05:34.504Z] ---> d4bc5f0f87b1 [2023-08-31T15:05:34.504Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T15:05:34.504Z] ---> Running in 5dfe38149fd4 [2023-08-31T15:05:34.773Z] Removing intermediate container 5dfe38149fd4 [2023-08-31T15:05:34.773Z] ---> 4c5d17d21949 [2023-08-31T15:05:34.773Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T15:05:35.045Z] ---> Running in 70796628b710 [2023-08-31T15:05:36.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:05:37.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:05:38.433Z] OK: 268 MiB in 57 packages [2023-08-31T15:05:41.033Z] Removing intermediate container 70796628b710 [2023-08-31T15:05:41.033Z] ---> 40c8506d7615 [2023-08-31T15:05:41.033Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-31T15:05:41.033Z] ---> Running in 3f00ce3be0cd [2023-08-31T15:05:41.033Z] Removing intermediate container 3f00ce3be0cd [2023-08-31T15:05:41.033Z] ---> f097d49da4e9 [2023-08-31T15:05:41.033Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-31T15:05:41.621Z] ---> 962ea1a6c101 [2023-08-31T15:05:41.621Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T15:05:41.621Z] ---> Running in 2f36b1fb2c21 [2023-08-31T15:05:44.203Z] Removing intermediate container 2f36b1fb2c21 [2023-08-31T15:05:44.203Z] ---> fb25685b8398 [2023-08-31T15:05:44.203Z] Step 11/24 : COPY . . [2023-08-31T15:05:44.472Z] ---> 7049c54ab12f [2023-08-31T15:05:44.472Z] Step 12/24 : RUN $MAKE [2023-08-31T15:05:44.742Z] ---> Running in 7900c9aa4e4a [2023-08-31T15:05:45.708Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-31T15:08:37.531Z] Removing intermediate container 7900c9aa4e4a [2023-08-31T15:08:37.532Z] ---> 96eb8a89ffab [2023-08-31T15:08:37.532Z] Step 13/24 : FROM alpine:3.17 [2023-08-31T15:08:37.532Z] 3.17: Pulling from library/alpine [2023-08-31T15:08:37.532Z] 4060ece20d7a: Pulling fs layer [2023-08-31T15:08:37.532Z] 4060ece20d7a: Verifying Checksum [2023-08-31T15:08:37.532Z] 4060ece20d7a: Download complete [2023-08-31T15:08:37.532Z] 4060ece20d7a: Pull complete [2023-08-31T15:08:37.532Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T15:08:37.532Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T15:08:37.532Z] ---> 8650cd65339b [2023-08-31T15:08:37.532Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-31T15:08:37.532Z] ---> Running in 66afb7cdeae2 [2023-08-31T15:08:37.532Z] Removing intermediate container 66afb7cdeae2 [2023-08-31T15:08:37.532Z] ---> 2d74da86d784 [2023-08-31T15:08:37.532Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-31T15:08:37.532Z] ---> Running in 85ed592a0274 [2023-08-31T15:08:37.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:08:37.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:08:37.532Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T15:08:37.532Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:08:37.532Z] OK: 8 MiB in 16 packages [2023-08-31T15:08:37.532Z] Removing intermediate container 85ed592a0274 [2023-08-31T15:08:37.532Z] ---> 8d5173783dcd [2023-08-31T15:08:37.532Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-31T15:08:37.532Z] ---> 1122ea02d0aa [2023-08-31T15:08:37.532Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-31T15:08:40.901Z] ---> e8ee8a04ee18 [2023-08-31T15:08:40.901Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-31T15:08:41.172Z] ---> bfa2d8ea1514 [2023-08-31T15:08:41.172Z] Step 19/24 : EXPOSE 59982 [2023-08-31T15:08:41.172Z] ---> Running in e79b10281054 [2023-08-31T15:08:41.759Z] Removing intermediate container e79b10281054 [2023-08-31T15:08:41.759Z] ---> ddb95986d44e [2023-08-31T15:08:41.759Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-31T15:08:41.759Z] ---> Running in 3c09ca36f8ae [2023-08-31T15:08:42.030Z] Removing intermediate container 3c09ca36f8ae [2023-08-31T15:08:42.030Z] ---> 0bd3b54b9d90 [2023-08-31T15:08:42.030Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T15:08:42.030Z] ---> Running in 1a4d8bdc42b2 [2023-08-31T15:08:42.616Z] Removing intermediate container 1a4d8bdc42b2 [2023-08-31T15:08:42.617Z] ---> bf9027a572ca [2023-08-31T15:08:42.617Z] Step 22/24 : LABEL arch=arm64 [2023-08-31T15:08:42.617Z] ---> Running in 2a572bae9892 [2023-08-31T15:08:42.885Z] Removing intermediate container 2a572bae9892 [2023-08-31T15:08:42.885Z] ---> e72a1bb416c1 [2023-08-31T15:08:42.885Z] Step 23/24 : LABEL git_sha=c4dbf6069102021828098e365a108396ed21524d [2023-08-31T15:08:42.885Z] ---> Running in 7dea55d31529 [2023-08-31T15:08:43.154Z] Removing intermediate container 7dea55d31529 [2023-08-31T15:08:43.154Z] ---> 341b003cdd96 [2023-08-31T15:08:43.155Z] Step 24/24 : LABEL version=3.1.0-dev.6 [2023-08-31T15:08:43.424Z] ---> Running in 0e55394d2ed5 [2023-08-31T15:08:43.692Z] Removing intermediate container 0e55394d2ed5 [2023-08-31T15:08:43.692Z] ---> 8f08cb8f8c40 [2023-08-31T15:08:43.692Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T15:08:43.692Z] Successfully built 8f08cb8f8c40 [2023-08-31T15:08:43.692Z] 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-08-31T15:08:43.816Z] provisioning config files... [2023-08-31T15:08:43.833Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/134@tmp/config15006947915246658557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:08:44.176Z] ---> docker-login.sh [2023-08-31T15:08:44.176Z] nexus3.edgexfoundry.org:10001 [2023-08-31T15:08:44.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:08:44.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:08:44.444Z] Configure a credential helper to remove this warning. See [2023-08-31T15:08:44.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:08:44.444Z] [2023-08-31T15:08:44.444Z] Login Succeeded [2023-08-31T15:08:44.444Z] nexus3.edgexfoundry.org:10002 [2023-08-31T15:08:44.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:08:44.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:08:44.983Z] Configure a credential helper to remove this warning. See [2023-08-31T15:08:44.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:08:44.983Z] [2023-08-31T15:08:44.983Z] Login Succeeded [2023-08-31T15:08:44.983Z] nexus3.edgexfoundry.org:10003 [2023-08-31T15:08:45.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:08:45.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:08:45.250Z] Configure a credential helper to remove this warning. See [2023-08-31T15:08:45.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:08:45.250Z] [2023-08-31T15:08:45.250Z] Login Succeeded [2023-08-31T15:08:45.250Z] nexus3.edgexfoundry.org:10004 [2023-08-31T15:08:45.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:08:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:08:45.785Z] Configure a credential helper to remove this warning. See [2023-08-31T15:08:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:08:45.785Z] [2023-08-31T15:08:45.785Z] Login Succeeded [2023-08-31T15:08:45.785Z] docker.io [2023-08-31T15:08:46.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:08:46.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:08:46.410Z] Configure a credential helper to remove this warning. See [2023-08-31T15:08:46.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:08:46.410Z] [2023-08-31T15:08:46.410Z] Login Succeeded [2023-08-31T15:08:46.410Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T15:08:46.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:08:46.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:08:46.468Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-08-31T15:08:46.468Z] c4dbf6069102021828098e365a108396ed21524d [2023-08-31T15:08:46.468Z] latest [2023-08-31T15:08:46.468Z] 3.1.0-dev.6 [2023-08-31T15:08:46.468Z] c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T15:08:46.468Z] main [2023-08-31T15:08:46.468Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:46.834Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:47.224Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d [2023-08-31T15:08:47.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-31T15:08:47.225Z] 84b667dce6ac: Preparing [2023-08-31T15:08:47.225Z] dc86c85dd3bb: Preparing [2023-08-31T15:08:47.225Z] 884e34e5c21d: Preparing [2023-08-31T15:08:47.225Z] 33e0681307be: Preparing [2023-08-31T15:08:47.225Z] d2d9d24a8c2a: Preparing [2023-08-31T15:08:47.225Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:08:47.506Z] 84b667dce6ac: Pushed [2023-08-31T15:08:47.506Z] dc86c85dd3bb: Pushed [2023-08-31T15:08:47.506Z] 33e0681307be: Pushed [2023-08-31T15:08:52.881Z] 884e34e5c21d: Pushed [2023-08-31T15:08:52.881Z] c4dbf6069102021828098e365a108396ed21524d: digest: sha256:992c0fb9db2586589b93f2c93132e131ccb444e034d276803478133057daf2de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:53.244Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:53.600Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-31T15:08:53.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-31T15:08:53.600Z] 84b667dce6ac: Preparing [2023-08-31T15:08:53.600Z] dc86c85dd3bb: Preparing [2023-08-31T15:08:53.600Z] 884e34e5c21d: Preparing [2023-08-31T15:08:53.600Z] 33e0681307be: Preparing [2023-08-31T15:08:53.600Z] d2d9d24a8c2a: Preparing [2023-08-31T15:08:53.600Z] dc86c85dd3bb: Layer already exists [2023-08-31T15:08:53.600Z] 33e0681307be: Layer already exists [2023-08-31T15:08:53.600Z] 884e34e5c21d: Layer already exists [2023-08-31T15:08:53.600Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:08:53.600Z] 84b667dce6ac: Layer already exists [2023-08-31T15:08:53.869Z] latest: digest: sha256:992c0fb9db2586589b93f2c93132e131ccb444e034d276803478133057daf2de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:54.226Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:54.571Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.6 [2023-08-31T15:08:54.571Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-31T15:08:54.571Z] 84b667dce6ac: Preparing [2023-08-31T15:08:54.571Z] dc86c85dd3bb: Preparing [2023-08-31T15:08:54.571Z] 884e34e5c21d: Preparing [2023-08-31T15:08:54.571Z] 33e0681307be: Preparing [2023-08-31T15:08:54.571Z] d2d9d24a8c2a: Preparing [2023-08-31T15:08:54.571Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:08:54.571Z] dc86c85dd3bb: Layer already exists [2023-08-31T15:08:54.571Z] 33e0681307be: Layer already exists [2023-08-31T15:08:54.571Z] 84b667dce6ac: Layer already exists [2023-08-31T15:08:54.571Z] 884e34e5c21d: Layer already exists [2023-08-31T15:08:54.571Z] 3.1.0-dev.6: digest: sha256:992c0fb9db2586589b93f2c93132e131ccb444e034d276803478133057daf2de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:54.918Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:55.270Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T15:08:55.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-31T15:08:55.270Z] 84b667dce6ac: Preparing [2023-08-31T15:08:55.270Z] dc86c85dd3bb: Preparing [2023-08-31T15:08:55.270Z] 884e34e5c21d: Preparing [2023-08-31T15:08:55.270Z] 33e0681307be: Preparing [2023-08-31T15:08:55.270Z] d2d9d24a8c2a: Preparing [2023-08-31T15:08:55.270Z] 33e0681307be: Layer already exists [2023-08-31T15:08:55.270Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:08:55.270Z] dc86c85dd3bb: Layer already exists [2023-08-31T15:08:55.270Z] 84b667dce6ac: Layer already exists [2023-08-31T15:08:55.270Z] 884e34e5c21d: Layer already exists [2023-08-31T15:08:55.270Z] c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6: digest: sha256:992c0fb9db2586589b93f2c93132e131ccb444e034d276803478133057daf2de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:55.623Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:55.972Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-08-31T15:08:55.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-08-31T15:08:55.972Z] 84b667dce6ac: Preparing [2023-08-31T15:08:55.972Z] dc86c85dd3bb: Preparing [2023-08-31T15:08:55.972Z] 884e34e5c21d: Preparing [2023-08-31T15:08:55.972Z] 33e0681307be: Preparing [2023-08-31T15:08:55.972Z] d2d9d24a8c2a: Preparing [2023-08-31T15:08:55.972Z] dc86c85dd3bb: Layer already exists [2023-08-31T15:08:55.972Z] 84b667dce6ac: Layer already exists [2023-08-31T15:08:55.972Z] 884e34e5c21d: Layer already exists [2023-08-31T15:08:55.972Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:08:55.972Z] 33e0681307be: Layer already exists [2023-08-31T15:08:56.240Z] main: digest: sha256:992c0fb9db2586589b93f2c93132e131ccb444e034d276803478133057daf2de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:08:56.297Z] ===================================================== [Pipeline] echo [2023-08-31T15:08:56.309Z] taggedImages: [2023-08-31T15:08:56.309Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d [2023-08-31T15:08:56.309Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-08-31T15:08:56.309Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.6 [2023-08-31T15:08:56.309Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c4dbf6069102021828098e365a108396ed21524d-3.1.0-dev.6 [2023-08-31T15:08:56.309Z] - 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-08-31T15:08:56.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:08:56.682Z] [2023-08-31T15:08:56.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:08:57.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:08:57.017Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T15:08:57.017Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T15:08:57.017Z] 04944245beec: Pulling fs layer [2023-08-31T15:08:57.017Z] 699f458cf7ca: Pulling fs layer [2023-08-31T15:08:57.017Z] 765212b225bb: Pulling fs layer [2023-08-31T15:08:57.017Z] f23df028b6ca: Pulling fs layer [2023-08-31T15:08:57.017Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T15:08:57.017Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T15:08:57.017Z] f23df028b6ca: Waiting [2023-08-31T15:08:57.017Z] d65c8cfc05b1: Waiting [2023-08-31T15:08:57.017Z] 765212b225bb: Waiting [2023-08-31T15:08:57.017Z] 2437ff75d9bd: Waiting [2023-08-31T15:08:57.286Z] 04944245beec: Verifying Checksum [2023-08-31T15:08:57.286Z] 04944245beec: Download complete [2023-08-31T15:08:57.286Z] 765212b225bb: Verifying Checksum [2023-08-31T15:08:57.286Z] 765212b225bb: Download complete [2023-08-31T15:08:57.286Z] f23df028b6ca: Verifying Checksum [2023-08-31T15:08:57.286Z] f23df028b6ca: Download complete [2023-08-31T15:08:57.286Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T15:08:57.286Z] d65c8cfc05b1: Download complete [2023-08-31T15:08:57.557Z] 699f458cf7ca: Verifying Checksum [2023-08-31T15:08:57.557Z] 699f458cf7ca: Download complete [2023-08-31T15:08:57.826Z] 8998bd30e6a1: Download complete [2023-08-31T15:09:00.421Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T15:09:00.421Z] 2437ff75d9bd: Download complete [2023-08-31T15:09:01.831Z] 8998bd30e6a1: Pull complete [2023-08-31T15:09:02.099Z] 04944245beec: Pull complete [2023-08-31T15:09:03.508Z] 699f458cf7ca: Pull complete [2023-08-31T15:09:03.775Z] 765212b225bb: Pull complete [2023-08-31T15:09:07.118Z] f23df028b6ca: Pull complete [2023-08-31T15:09:07.118Z] d65c8cfc05b1: Pull complete [2023-08-31T15:09:22.117Z] 2437ff75d9bd: Pull complete [2023-08-31T15:09:22.117Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T15:09:22.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:09:22.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:09:22.323Z] prd-ubuntu20.04-docker-arm64-4c-16g-5021 does not seem to be running inside a container [2023-08-31T15:09:22.398Z] $ 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/134 -v /w/workspace/device-mqtt-go/134:/w/workspace/device-mqtt-go/134:rw,z -v /w/workspace/device-mqtt-go/134@tmp:/w/workspace/device-mqtt-go/134@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-08-31T15:09:25.099Z] $ docker top daa24cc700be87e1becb24217b312d3fd74ffbc8856be34f42577e9af28cb91b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:09:25.603Z] ---> job-cost.sh [2023-08-31T15:09:25.870Z] lf-activate-venv: SKIPPING [2023-08-31T15:09:25.870Z] INFO: No Stack... [2023-08-31T15:09:26.450Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T15:09:27.035Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T15:09:27.352Z] + cat /w/workspace/device-mqtt-go/134/archives/cost.csv [2023-08-31T15:09:27.352Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T15:09:27.414Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [2023-08-31T15:09:27.423Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] did not exist. Created. [2023-08-31T15:09:27.423Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T15:09:27.748Z] /w/workspace/device-mqtt-go/134@tmp/durable-769e06a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T15:09:28.083Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T15:09:28.107Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T15:09:28.167Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T15:09:28.175Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T15:09:28.199Z] $ docker stop --time=1 daa24cc700be87e1becb24217b312d3fd74ffbc8856be34f42577e9af28cb91b [2023-08-31T15:09:29.677Z] $ docker rm -f --volumes daa24cc700be87e1becb24217b312d3fd74ffbc8856be34f42577e9af28cb91b [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-08-31T15:09:30.057Z] provisioning config files... [2023-08-31T15:09:30.066Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16197950930255782163tmp [Pipeline] { [Pipeline] sh [2023-08-31T15:09:30.362Z] + set +x [2023-08-31T15:09:30.362Z] + curl -s https://codecov.io/bash [2023-08-31T15:09:30.362Z] + bash -s -- [2023-08-31T15:09:30.362Z] [2023-08-31T15:09:30.362Z] _____ _ [2023-08-31T15:09:30.362Z] / ____| | | [2023-08-31T15:09:30.362Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T15:09:30.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T15:09:30.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T15:09:30.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T15:09:30.362Z] Bash-1.0.6 [2023-08-31T15:09:30.362Z] [2023-08-31T15:09:30.362Z] [2023-08-31T15:09:30.362Z] ==> git version 2.25.1 found [2023-08-31T15:09:30.362Z] ==> 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-08-31T15:09:30.362Z] Release-Date: 2020-01-08 [2023-08-31T15:09:30.362Z] 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-08-31T15:09:30.362Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T15:09:30.362Z] ==> Jenkins CI detected. [2023-08-31T15:09:30.362Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-31T15:09:30.362Z] project root: . [2023-08-31T15:09:30.362Z] --> token set from env [2023-08-31T15:09:30.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T15:09:30.362Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T15:09:30.362Z] ==> Python coveragepy not found [2023-08-31T15:09:30.362Z] ==> Searching for coverage reports in: [2023-08-31T15:09:30.362Z] + . [2023-08-31T15:09:30.362Z] -> Found 1 reports [2023-08-31T15:09:30.362Z] ==> Detecting git/mercurial file structure [2023-08-31T15:09:30.362Z] ==> Reading reports [2023-08-31T15:09:30.362Z] + ./coverage.out bytes=18506 [2023-08-31T15:09:30.626Z] ==> Appending adjustments [2023-08-31T15:09:30.626Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T15:09:30.626Z] + Found adjustments [2023-08-31T15:09:30.626Z] ==> Gzipping contents [2023-08-31T15:09:30.626Z] 4.0K /tmp/codecov.tZbgY2.gz [2023-08-31T15:09:30.626Z] ==> Uploading reports [2023-08-31T15:09:30.626Z] url: https://codecov.io [2023-08-31T15:09:30.626Z] query: branch=main&commit=c4dbf6069102021828098e365a108396ed21524d&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:09:30.626Z] -> Pinging Codecov [2023-08-31T15:09:30.626Z] 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=c4dbf6069102021828098e365a108396ed21524d&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:09:30.626Z] -> Uploading to [2023-08-31T15:09:30.626Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/7D719EC7BBE17E464838252E33014C33/c4dbf6069102021828098e365a108396ed21524d/fd14a22a-c018-49a2-ba6f-c83f71b33abd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T150930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6aa62f81e4bb0b738f0db78173de67f61b18d4c12a6153e9b67b8a2ea38e65d4 [2023-08-31T15:09:30.626Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T15:09:30.626Z] Dload Upload Total Spent Left Speed [2023-08-31T15:09:30.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 11663 --:--:-- --:--:-- --:--:-- 11663 [2023-08-31T15:09:30.885Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c4dbf6069102021828098e365a108396ed21524d [Pipeline] } [2023-08-31T15:09:30.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-31T15:09:30.997Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-31T15:09:31.005Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:31.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:09:31.296Z] [2023-08-31T15:09:31.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:31.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:09:31.597Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-31T15:09:31.597Z] df9b9388f04a: Pulling fs layer [2023-08-31T15:09:31.597Z] 52dc419b0ee2: Pulling fs layer [2023-08-31T15:09:31.597Z] 25bc292e5bac: Pulling fs layer [2023-08-31T15:09:31.597Z] 114826534d7a: Pulling fs layer [2023-08-31T15:09:31.597Z] 4657fd5d0bcf: Pulling fs layer [2023-08-31T15:09:31.597Z] 6ad1cebc031e: Pulling fs layer [2023-08-31T15:09:31.597Z] 8a3aa393b2d8: Pulling fs layer [2023-08-31T15:09:31.597Z] 4657fd5d0bcf: Waiting [2023-08-31T15:09:31.597Z] 8a3aa393b2d8: Waiting [2023-08-31T15:09:31.597Z] 114826534d7a: Waiting [2023-08-31T15:09:31.597Z] 6ad1cebc031e: Waiting [2023-08-31T15:09:31.597Z] 25bc292e5bac: Verifying Checksum [2023-08-31T15:09:31.597Z] 25bc292e5bac: Download complete [2023-08-31T15:09:31.597Z] 52dc419b0ee2: Download complete [2023-08-31T15:09:31.597Z] 4657fd5d0bcf: Download complete [2023-08-31T15:09:31.597Z] df9b9388f04a: Download complete [2023-08-31T15:09:31.856Z] 6ad1cebc031e: Verifying Checksum [2023-08-31T15:09:31.856Z] 6ad1cebc031e: Download complete [2023-08-31T15:09:31.856Z] df9b9388f04a: Pull complete [2023-08-31T15:09:31.856Z] 52dc419b0ee2: Pull complete [2023-08-31T15:09:31.856Z] 25bc292e5bac: Pull complete [2023-08-31T15:09:32.422Z] 114826534d7a: Verifying Checksum [2023-08-31T15:09:32.422Z] 114826534d7a: Download complete [2023-08-31T15:09:32.422Z] 8a3aa393b2d8: Verifying Checksum [2023-08-31T15:09:32.422Z] 8a3aa393b2d8: Download complete [2023-08-31T15:09:36.603Z] 114826534d7a: Pull complete [2023-08-31T15:09:36.604Z] 4657fd5d0bcf: Pull complete [2023-08-31T15:09:36.604Z] 6ad1cebc031e: Pull complete [2023-08-31T15:09:39.889Z] 8a3aa393b2d8: Pull complete [2023-08-31T15:09:39.889Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-31T15:09:39.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:09:39.889Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:09:39.983Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:09:40.018Z] $ 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-08-31T15:09:45.384Z] $ docker top 13679583d989de02b03ed11700d5d1403a315394835143bd73c669b60cbbdc47 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-31T15:09:45.461Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-08-31T15:09:45.739Z] + set -o pipefail [2023-08-31T15:09:45.739Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/e4448e8d-c08f-4e37-bcff-352eaa310dda [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] [2023-08-31T15:09:52.316Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-31T15:09:52.316Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-31T15:09:52.316Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-31T15:09:52.327Z] $ docker stop --time=1 13679583d989de02b03ed11700d5d1403a315394835143bd73c669b60cbbdc47 [2023-08-31T15:09:58.529Z] $ docker rm -f --volumes 13679583d989de02b03ed11700d5d1403a315394835143bd73c669b60cbbdc47 [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-08-31T15:09:59.246Z] + git log --format=format:%s -1 c4dbf6069102021828098e365a108396ed21524d [Pipeline] sh [2023-08-31T15:09:59.539Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:09:59.539Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:59.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:09:59.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:09:59.903Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:09:59.932Z] $ 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-08-31T15:10:00.382Z] $ docker top dd3dea68bc3cc18878452e68dc9ad39e7f7f49cceb1d224a3647d013eb0a1a73 -eo pid,comm [2023-08-31T15:10:00.429Z] 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-08-31T15:10:00.429Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:10:00.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:10:00.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:10:00.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:10:00.575Z] $ docker exec dd3dea68bc3cc18878452e68dc9ad39e7f7f49cceb1d224a3647d013eb0a1a73 ssh-agent [2023-08-31T15:10:00.676Z] SSH_AUTH_SOCK=/tmp/ssh-pRf6d6NxG0OW/agent.31 [2023-08-31T15:10:00.676Z] SSH_AGENT_PID=37 [2023-08-31T15:10:00.680Z] Running ssh-add (command line suppressed) [2023-08-31T15:10:00.774Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17663050415721319497.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17663050415721319497.key) [2023-08-31T15:10:00.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:10:01.074Z] + git semver tag [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,254 [run_tag] DEBUG tag force:False [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,254 [check_head_tag] DEBUG check head tag [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,255 [execute] INFO git cat-file --batch-check [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,258 [execute] INFO git cat-file --batch [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,267 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,268 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:10:01.334Z] 2023-08-31 15:10:01,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:01.334Z] 3.1.0-dev.6 [Pipeline] } [2023-08-31T15:10:01.346Z] $ docker exec --env ******** --env ******** dd3dea68bc3cc18878452e68dc9ad39e7f7f49cceb1d224a3647d013eb0a1a73 ssh-agent -k [2023-08-31T15:10:01.442Z] unset SSH_AUTH_SOCK; [2023-08-31T15:10:01.442Z] unset SSH_AGENT_PID; [2023-08-31T15:10:01.442Z] echo Agent pid 37 killed; [2023-08-31T15:10:01.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:10:01.765Z] + git semver [Pipeline] } [2023-08-31T15:10:02.036Z] $ docker stop --time=1 dd3dea68bc3cc18878452e68dc9ad39e7f7f49cceb1d224a3647d013eb0a1a73 [2023-08-31T15:10:03.299Z] $ docker rm -f --volumes dd3dea68bc3cc18878452e68dc9ad39e7f7f49cceb1d224a3647d013eb0a1a73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:03.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:03.673Z] [2023-08-31T15:10:03.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:03.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:03.964Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-31T15:10:03.964Z] ab5ef0e58194: Pulling fs layer [2023-08-31T15:10:03.964Z] 9712f1f96733: Pulling fs layer [2023-08-31T15:10:03.964Z] 63f879dbbcfc: Pulling fs layer [2023-08-31T15:10:03.964Z] 0d9ebad4ef96: Pulling fs layer [2023-08-31T15:10:03.964Z] e9a5061849ea: Pulling fs layer [2023-08-31T15:10:03.964Z] d747dcd14b5f: Pulling fs layer [2023-08-31T15:10:03.964Z] 2de7ff778b66: Pulling fs layer [2023-08-31T15:10:03.964Z] e9a5061849ea: Waiting [2023-08-31T15:10:03.964Z] d747dcd14b5f: Waiting [2023-08-31T15:10:03.964Z] 2de7ff778b66: Waiting [2023-08-31T15:10:03.964Z] 0d9ebad4ef96: Waiting [2023-08-31T15:10:03.964Z] 9712f1f96733: Verifying Checksum [2023-08-31T15:10:03.964Z] 9712f1f96733: Download complete [2023-08-31T15:10:04.223Z] 63f879dbbcfc: Verifying Checksum [2023-08-31T15:10:04.223Z] 63f879dbbcfc: Download complete [2023-08-31T15:10:04.480Z] e9a5061849ea: Verifying Checksum [2023-08-31T15:10:04.480Z] e9a5061849ea: Download complete [2023-08-31T15:10:04.480Z] d747dcd14b5f: Verifying Checksum [2023-08-31T15:10:04.480Z] d747dcd14b5f: Download complete [2023-08-31T15:10:04.480Z] ab5ef0e58194: Verifying Checksum [2023-08-31T15:10:04.480Z] ab5ef0e58194: Download complete [2023-08-31T15:10:04.480Z] 0d9ebad4ef96: Verifying Checksum [2023-08-31T15:10:04.480Z] 2de7ff778b66: Verifying Checksum [2023-08-31T15:10:04.480Z] 2de7ff778b66: Download complete [2023-08-31T15:10:07.006Z] ab5ef0e58194: Pull complete [2023-08-31T15:10:07.006Z] 9712f1f96733: Pull complete [2023-08-31T15:10:07.615Z] 63f879dbbcfc: Pull complete [2023-08-31T15:10:11.802Z] 0d9ebad4ef96: Pull complete [2023-08-31T15:10:11.802Z] e9a5061849ea: Pull complete [2023-08-31T15:10:12.063Z] d747dcd14b5f: Pull complete [2023-08-31T15:10:12.998Z] 2de7ff778b66: Pull complete [2023-08-31T15:10:12.998Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-31T15:10:12.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:12.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:13.075Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:10:13.107Z] $ 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-08-31T15:10:23.478Z] $ docker top 8274a4a42e7bf6128e921271321281168261399c39096933e6e76c75d5e975c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:10:23.546Z] provisioning config files... [2023-08-31T15:10:23.552Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2421024966682534533tmp [2023-08-31T15:10:23.563Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11370904433148125906tmp [2023-08-31T15:10:23.571Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6573944351626818508tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:10:23.587Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:23.867Z] ---> sigul-configuration.sh [2023-08-31T15:10:23.867Z] gpg: directory `/root/.gnupg' created [2023-08-31T15:10:23.867Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-31T15:10:23.867Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-31T15:10:23.867Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-31T15:10:23.867Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-31T15:10:23.867Z] gpg: CAST5 encrypted data [2023-08-31T15:10:23.868Z] gpg: encrypted with 1 passphrase [2023-08-31T15:10:23.868Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-31T15:10:24.152Z] + mkdir /home/jenkins [2023-08-31T15:10:24.152Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-31T15:10:24.438Z] + 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-08-31T15:10:24.445Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:24.727Z] ---> sigul-install.sh [2023-08-31T15:10:24.727Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-31T15:10:25.008Z] + git tag --list [2023-08-31T15:10:25.008Z] 0.7.1 [2023-08-31T15:10:25.008Z] v1.0.0 [2023-08-31T15:10:25.008Z] v1.1.0 [2023-08-31T15:10:25.008Z] v1.1.1 [2023-08-31T15:10:25.008Z] v1.2.2 [2023-08-31T15:10:25.008Z] v1.3.0 [2023-08-31T15:10:25.008Z] v1.3.1 [2023-08-31T15:10:25.008Z] v2.0.0 [2023-08-31T15:10:25.008Z] v2.1.0 [2023-08-31T15:10:25.008Z] v2.1.1 [2023-08-31T15:10:25.008Z] v2.2.0 [2023-08-31T15:10:25.008Z] v2.3.0 [2023-08-31T15:10:25.008Z] v3.0 [2023-08-31T15:10:25.008Z] v3.0.0 [2023-08-31T15:10:25.008Z] v3.1.0-dev.1 [2023-08-31T15:10:25.008Z] v3.1.0-dev.2 [2023-08-31T15:10:25.008Z] v3.1.0-dev.3 [2023-08-31T15:10:25.008Z] v3.1.0-dev.4 [2023-08-31T15:10:25.008Z] v3.1.0-dev.5 [2023-08-31T15:10:25.008Z] v3.1.0-dev.6 [Pipeline] sh [2023-08-31T15:10:25.292Z] + lftools sign git-tag v3.1.0-dev.6 [2023-08-31T15:10:25.859Z] Signing Git tag with Sigul... [2023-08-31T15:10:25.859Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-08-31T15:10:26.125Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:26.406Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-31T15:10:26.413Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-31T15:10:26.432Z] $ docker stop --time=1 8274a4a42e7bf6128e921271321281168261399c39096933e6e76c75d5e975c8 [2023-08-31T15:10:27.714Z] $ docker rm -f --volumes 8274a4a42e7bf6128e921271321281168261399c39096933e6e76c75d5e975c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-31T15:10:28.112Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:10:28.112Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:28.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:10:28.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:28.478Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:10:28.506Z] $ 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-08-31T15:10:28.836Z] $ docker top c3ca57707adae154b76edae867747790b75ea6e8a8c0390901d65936bf1b75ef -eo pid,comm [2023-08-31T15:10:28.884Z] 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-08-31T15:10:28.884Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:10:28.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:10:28.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:10:29.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:10:29.041Z] $ docker exec c3ca57707adae154b76edae867747790b75ea6e8a8c0390901d65936bf1b75ef ssh-agent [2023-08-31T15:10:29.157Z] SSH_AUTH_SOCK=/tmp/ssh-oTd2XOZJQEmp/agent.32 [2023-08-31T15:10:29.157Z] SSH_AGENT_PID=38 [2023-08-31T15:10:29.161Z] Running ssh-add (command line suppressed) [2023-08-31T15:10:29.257Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1368598751261211541.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1368598751261211541.key) [2023-08-31T15:10:29.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:10:29.554Z] + git semver bump pre [2023-08-31T15:10:29.814Z] 2023-08-31 15:10:29,712 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:29.814Z] 2023-08-31 15:10:29,712 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-08-31T15:10:29.814Z] 2023-08-31 15:10:29,712 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-08-31T15:10:29.814Z] 2023-08-31 15:10:29,712 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,712 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,712 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,715 [execute] INFO git cat-file --batch-check [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,720 [execute] INFO git cat-file --batch [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:29.815Z] 2023-08-31 15:10:29,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:29.815Z] 3.1.0-dev.7 [Pipeline] } [2023-08-31T15:10:29.825Z] $ docker exec --env ******** --env ******** c3ca57707adae154b76edae867747790b75ea6e8a8c0390901d65936bf1b75ef ssh-agent -k [2023-08-31T15:10:29.917Z] unset SSH_AUTH_SOCK; [2023-08-31T15:10:29.918Z] unset SSH_AGENT_PID; [2023-08-31T15:10:29.918Z] echo Agent pid 38 killed; [2023-08-31T15:10:29.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:10:30.228Z] + git semver [Pipeline] } [2023-08-31T15:10:30.501Z] $ docker stop --time=1 c3ca57707adae154b76edae867747790b75ea6e8a8c0390901d65936bf1b75ef [2023-08-31T15:10:31.769Z] $ docker rm -f --volumes c3ca57707adae154b76edae867747790b75ea6e8a8c0390901d65936bf1b75ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:10:32.114Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:10:32.114Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:32.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:10:32.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:32.488Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:10:32.518Z] $ 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-08-31T15:10:32.838Z] $ docker top 27d215278f18de20b6e2a3252eb74ed207116de052c69b2250acb3308daf6d0d -eo pid,comm [2023-08-31T15:10:32.885Z] 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-08-31T15:10:32.885Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:10:32.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:10:32.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:10:33.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:10:33.038Z] $ docker exec 27d215278f18de20b6e2a3252eb74ed207116de052c69b2250acb3308daf6d0d ssh-agent [2023-08-31T15:10:33.136Z] SSH_AUTH_SOCK=/tmp/ssh-tYbs9koxf7Vy/agent.32 [2023-08-31T15:10:33.136Z] SSH_AGENT_PID=38 [2023-08-31T15:10:33.140Z] Running ssh-add (command line suppressed) [2023-08-31T15:10:33.233Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13812276723494403717.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13812276723494403717.key) [2023-08-31T15:10:33.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:10:33.526Z] + git semver push [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,691 [run_push] DEBUG push [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,692 [execute] INFO git cat-file --batch-check [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,696 [execute] INFO git rev-list 8e5a8170da5a8405c313d2ed0602e6104d302051 -- [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,696 [execute] DEBUG Popen(['git', 'rev-list', '8e5a8170da5a8405c313d2ed0602e6104d302051', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,705 [execute] INFO git fetch -v origin [2023-08-31T15:10:33.785Z] 2023-08-31 15:10:33,705 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-31T15:10:34.352Z] 2023-08-31 15:10:34,180 [run_push] DEBUG no remote changes detected [2023-08-31T15:10:34.352Z] 2023-08-31 15:10:34,181 [execute] INFO git push origin semver [2023-08-31T15:10:34.352Z] 2023-08-31 15:10:34,181 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:10:35.289Z] 2023-08-31 15:10:34,949 [run_push] DEBUG push all version tags [2023-08-31T15:10:35.289Z] 2023-08-31 15:10:34,949 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-31T15:10:35.289Z] 2023-08-31 15:10:34,950 [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-08-31T15:10:36.224Z] 2023-08-31 15:10:35,954 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-08-31T15:10:36.224Z] 3.1.0-dev.7 [Pipeline] } [2023-08-31T15:10:36.235Z] $ docker exec --env ******** --env ******** 27d215278f18de20b6e2a3252eb74ed207116de052c69b2250acb3308daf6d0d ssh-agent -k [2023-08-31T15:10:36.328Z] unset SSH_AUTH_SOCK; [2023-08-31T15:10:36.328Z] unset SSH_AGENT_PID; [2023-08-31T15:10:36.328Z] echo Agent pid 38 killed; [2023-08-31T15:10:36.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:10:36.652Z] + git semver [Pipeline] } [2023-08-31T15:10:36.925Z] $ docker stop --time=1 27d215278f18de20b6e2a3252eb74ed207116de052c69b2250acb3308daf6d0d [2023-08-31T15:10:38.209Z] $ docker rm -f --volumes 27d215278f18de20b6e2a3252eb74ed207116de052c69b2250acb3308daf6d0d [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-08-31T15:10:38.757Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-08-31T15:10:38.757Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-31T15:10:38.757Z] total 16 [2023-08-31T15:10:38.757Z] drwxr-xr-x 3 root root 4096 Aug 31 14:59 . [2023-08-31T15:10:38.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:10 .. [2023-08-31T15:10:38.757Z] drwxr-xr-x 2 root root 4096 Aug 31 14:59 cost [2023-08-31T15:10:38.757Z] -rw-r--r-- 1 root root 86 Aug 31 14:59 cost.csv [2023-08-31T15:10:38.757Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-31T15:10:38.757Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-08-31T15:10:38.757Z] total 16 [2023-08-31T15:10:38.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:59 . [2023-08-31T15:10:38.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:10 .. [2023-08-31T15:10:38.757Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 14:59 cost [2023-08-31T15:10:38.757Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 31 14:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:39.046Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:39.919Z] ---> package-listing.sh [2023-08-31T15:10:39.919Z] ++ facter osfamily [2023-08-31T15:10:39.919Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T15:10:40.178Z] + OS_FAMILY=debian [2023-08-31T15:10:40.178Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-08-31T15:10:40.178Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T15:10:40.178Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T15:10:40.178Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T15:10:40.178Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T15:10:40.178Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-31T15:10:40.178Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T15:10:40.178Z] + case "${OS_FAMILY}" in [2023-08-31T15:10:40.178Z] + dpkg -l [2023-08-31T15:10:40.178Z] + grep '^ii' [2023-08-31T15:10:40.178Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T15:10:40.178Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T15:10:40.178Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T15:10:40.178Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-08-31T15:10:40.178Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-08-31T15:10:40.178Z] + 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-08-31T15:10:40.266Z] 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-08-31T15:10:40.584Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:40.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:10:40.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:41.027Z] prd-ubuntu20.04-docker-8c-8g-5016 does not seem to be running inside a container [2023-08-31T15:10:41.059Z] $ 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-08-31T15:10:41.245Z] $ docker top b7ec2381ab66556f38bbbb7e6cfb944e57b4254bf5c9e8837fa4e89f7cb77d38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:10:41.583Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T15:10:41.866Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T15:10:42.151Z] + ls /var/log/sa-host [2023-08-31T15:10:42.151Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:10:42.227Z] provisioning config files... [2023-08-31T15:10:42.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8757287089182153224tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:10:42.250Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:42.532Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T15:10:42.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:42.860Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T15:10:42.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:43.148Z] ---> sudo-logs.sh [2023-08-31T15:10:43.149Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T15:10:43.177Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:43.458Z] ---> job-cost.sh [2023-08-31T15:10:43.458Z] lf-activate-venv: SKIPPING [2023-08-31T15:10:43.458Z] DEBUG: total: 0.2199999988079071 [2023-08-31T15:10:43.458Z] INFO: Retrieving Stack Cost... [2023-08-31T15:10:44.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T15:10:44.287Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T15:10:44.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:44.579Z] ---> logs-deploy.sh [2023-08-31T15:10:44.579Z] lf-activate-venv: SKIPPING [2023-08-31T15:10:44.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/134 [2023-08-31T15:10:44.579Z] INFO: archiving workspace using pattern(s): [2023-08-31T15:10:45.516Z] Archives upload complete. [2023-08-31T15:10:45.516Z] INFO: archiving logs to Nexus