Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 504ae262e254dce13e9a69f67e2e26f1d4ba9dab 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-ssh5564914089910539955.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh897109076382923085.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14725541626462943871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7796660973342220421.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-ssh15634577792145401691.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18467 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 504ae262e254dce13e9a69f67e2e26f1d4ba9dab (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613)" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 > git rev-list --no-walk 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T17:52:41.573Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T17:52:41.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T17:52:41.644Z] ========================================================= [2023-06-12T17:52:41.644Z] EdgeX Global Pipelines Version Info [2023-06-12T17:52:41.645Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:52:42.372Z] ------------------- [2023-06-12T17:52:42.372Z] stable info: [2023-06-12T17:52:42.372Z] ------------------- [2023-06-12T17:52:42.372Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T17:52:42.372Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:52:42.372Z] Message: update stable to v1.0.250 [2023-06-12T17:52:42.943Z] ------------------- [2023-06-12T17:52:42.943Z] experimental info: [2023-06-12T17:52:42.943Z] ------------------- [2023-06-12T17:52:42.943Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T17:52:42.943Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:52:42.943Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T17:52:43.120Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-06-12T17:52:43.129Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-06-12T17:52:43.141Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T17:52:43.153Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T17:52:43.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T17:52:43.178Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T17:52:43.189Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T17:52:43.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T17:52:43.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T17:52:43.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T17:52:43.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T17:52:43.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-06-12T17:52:43.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T17:52:43.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T17:52:43.302Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:52:43.315Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:52:43.328Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:52:43.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:52:43.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T17:52:43.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T17:52:43.399Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-12T17:52:43.418Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-12T17:52:43.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T17:52:43.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T17:52:43.471Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T17:52:43.485Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T17:52:43.506Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T17:52:43.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T17:52:43.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T17:52:43.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T17:52:43.574Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo [2023-06-12T17:52:43.594Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 504ae26 [Pipeline] echo [2023-06-12T17:52:43.612Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:52:43.662Z] provisioning config files... [2023-06-12T17:52:43.676Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5621366031719552294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:52:43.977Z] ---> docker-login.sh [2023-06-12T17:52:43.978Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:52:44.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:44.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:44.239Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:44.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:44.239Z] [2023-06-12T17:52:44.239Z] Login Succeeded [2023-06-12T17:52:44.239Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:52:44.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:44.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:44.239Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:44.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:44.239Z] [2023-06-12T17:52:44.239Z] Login Succeeded [2023-06-12T17:52:44.239Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:52:44.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:44.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:44.498Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:44.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:44.498Z] [2023-06-12T17:52:44.498Z] Login Succeeded [2023-06-12T17:52:44.498Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:52:44.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:44.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:44.498Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:44.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:44.498Z] [2023-06-12T17:52:44.498Z] Login Succeeded [2023-06-12T17:52:44.498Z] docker.io [2023-06-12T17:52:44.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:44.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:44.758Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:44.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:44.758Z] [2023-06-12T17:52:44.758Z] Login Succeeded [2023-06-12T17:52:44.758Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:52:44.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T17:52:45.127Z] + git rev-list -1 --merges 504ae262e254dce13e9a69f67e2e26f1d4ba9dab~1..504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo [2023-06-12T17:52:45.182Z] -----------> git rev-list -1 --merges 504ae262e254dce13e9a69f67e2e26f1d4ba9dab~1..504ae262e254dce13e9a69f67e2e26f1d4ba9dab 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [false] [Pipeline] sh [2023-06-12T17:52:45.472Z] + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo [2023-06-12T17:52:45.484Z] ========================================================= [2023-06-12T17:52:45.484Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T17:52:45.484Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:52:45.797Z] + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo [2023-06-12T17:52:45.827Z] [semverPrep] GIT_COMMIT: 504ae262e254dce13e9a69f67e2e26f1d4ba9dab, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613) [Pipeline] echo [2023-06-12T17:52:45.836Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T17:52:46.180Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:52:46.180Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T17:52:46.180Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T17:52:46.180Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T17:52:46.180Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T17:52:46.180Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T17:52:46.180Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:52:46.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:46.532Z] [2023-06-12T17:52:46.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:52:46.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:46.856Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T17:52:46.856Z] b85a868b505f: Pulling fs layer [2023-06-12T17:52:46.856Z] e2be974225ed: Pulling fs layer [2023-06-12T17:52:46.856Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T17:52:46.856Z] 988bab9f4d93: Pulling fs layer [2023-06-12T17:52:46.856Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T17:52:46.856Z] eaf3925da568: Pulling fs layer [2023-06-12T17:52:46.856Z] bab4dde63d76: Pulling fs layer [2023-06-12T17:52:46.856Z] bde34c3a00c8: Pulling fs layer [2023-06-12T17:52:46.856Z] b352a97aabf1: Pulling fs layer [2023-06-12T17:52:46.856Z] 4872d77fe225: Pulling fs layer [2023-06-12T17:52:46.856Z] 5851b861e8e6: Pulling fs layer [2023-06-12T17:52:46.856Z] 988bab9f4d93: Waiting [2023-06-12T17:52:46.856Z] 1469e6f7b9e6: Waiting [2023-06-12T17:52:46.856Z] bab4dde63d76: Waiting [2023-06-12T17:52:46.856Z] bde34c3a00c8: Waiting [2023-06-12T17:52:46.856Z] b352a97aabf1: Waiting [2023-06-12T17:52:46.856Z] 5851b861e8e6: Waiting [2023-06-12T17:52:46.856Z] 4872d77fe225: Waiting [2023-06-12T17:52:46.856Z] eaf3925da568: Waiting [2023-06-12T17:52:46.856Z] e2be974225ed: Download complete [2023-06-12T17:52:46.856Z] 988bab9f4d93: Verifying Checksum [2023-06-12T17:52:46.856Z] 988bab9f4d93: Download complete [2023-06-12T17:52:46.856Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T17:52:46.856Z] 1469e6f7b9e6: Download complete [2023-06-12T17:52:46.856Z] eaf3925da568: Verifying Checksum [2023-06-12T17:52:46.856Z] eaf3925da568: Download complete [2023-06-12T17:52:47.118Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T17:52:47.118Z] 339a4e72a1f5: Download complete [2023-06-12T17:52:47.118Z] bde34c3a00c8: Verifying Checksum [2023-06-12T17:52:47.118Z] bde34c3a00c8: Download complete [2023-06-12T17:52:47.118Z] b352a97aabf1: Verifying Checksum [2023-06-12T17:52:47.118Z] b352a97aabf1: Download complete [2023-06-12T17:52:47.118Z] 4872d77fe225: Download complete [2023-06-12T17:52:47.118Z] 5851b861e8e6: Verifying Checksum [2023-06-12T17:52:47.118Z] 5851b861e8e6: Download complete [2023-06-12T17:52:47.118Z] b85a868b505f: Verifying Checksum [2023-06-12T17:52:47.118Z] b85a868b505f: Download complete [2023-06-12T17:52:47.377Z] bab4dde63d76: Verifying Checksum [2023-06-12T17:52:47.377Z] bab4dde63d76: Download complete [2023-06-12T17:52:48.312Z] b85a868b505f: Pull complete [2023-06-12T17:52:48.312Z] e2be974225ed: Pull complete [2023-06-12T17:52:48.878Z] 339a4e72a1f5: Pull complete [2023-06-12T17:52:48.878Z] 988bab9f4d93: Pull complete [2023-06-12T17:52:49.137Z] 1469e6f7b9e6: Pull complete [2023-06-12T17:52:49.395Z] eaf3925da568: Pull complete [2023-06-12T17:52:51.299Z] bab4dde63d76: Pull complete [2023-06-12T17:52:51.299Z] bde34c3a00c8: Pull complete [2023-06-12T17:52:51.299Z] b352a97aabf1: Pull complete [2023-06-12T17:52:51.299Z] 4872d77fe225: Pull complete [2023-06-12T17:52:51.560Z] 5851b861e8e6: Pull complete [2023-06-12T17:52:51.560Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T17:52:51.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:51.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:52:51.671Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T17:52:51.697Z] $ 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-06-12T17:52:54.282Z] $ docker top 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 -eo pid,comm [2023-06-12T17:52:54.347Z] 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-06-12T17:52:54.347Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:52:54.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:52:54.390Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:52:54.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:52:54.483Z] $ docker exec 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent [2023-06-12T17:52:54.587Z] SSH_AUTH_SOCK=/tmp/ssh-08YcaG2Q9s6x/agent.33 [2023-06-12T17:52:54.587Z] SSH_AGENT_PID=39 [2023-06-12T17:52:54.595Z] Running ssh-add (command line suppressed) [2023-06-12T17:52:54.687Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16938533205988546036.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16938533205988546036.key) [2023-06-12T17:52:54.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:52:54.992Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T17:52:54.999Z] $ docker exec --env ******** --env ******** 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent -k [2023-06-12T17:52:55.103Z] unset SSH_AUTH_SOCK; [2023-06-12T17:52:55.103Z] unset SSH_AGENT_PID; [2023-06-12T17:52:55.103Z] echo Agent pid 39 killed; [2023-06-12T17:52:55.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T17:52:55.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:52:55.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:52:55.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:52:55.255Z] $ docker exec 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent [2023-06-12T17:52:55.376Z] SSH_AUTH_SOCK=/tmp/ssh-k1gg31Na1QBQ/agent.72 [2023-06-12T17:52:55.376Z] SSH_AGENT_PID=78 [2023-06-12T17:52:55.383Z] Running ssh-add (command line suppressed) [2023-06-12T17:52:55.472Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13427441186719647858.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13427441186719647858.key) [2023-06-12T17:52:55.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:52:55.782Z] + git semver init [2023-06-12T17:52:56.042Z] 2023-06-12 17:52:55,953 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T17:52:56.042Z] 2023-06-12 17:52:55,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-06-12T17:52:56.042Z] 2023-06-12 17:52:55,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-06-12T17:52:56.042Z] 2023-06-12 17:52:55,955 [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-06-12T17:52:56.981Z] 2023-06-12 17:52:56,861 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-06-12T17:52:56.981Z] 2023-06-12 17:52:56,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-06-12T17:52:56.981Z] 2023-06-12 17:52:56,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T17:52:56.981Z] 2023-06-12 17:52:56,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T17:52:56.981Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T17:52:56.985Z] $ docker exec --env ******** --env ******** 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent -k [2023-06-12T17:52:57.081Z] unset SSH_AUTH_SOCK; [2023-06-12T17:52:57.081Z] unset SSH_AGENT_PID; [2023-06-12T17:52:57.082Z] echo Agent pid 78 killed; [2023-06-12T17:52:57.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:52:57.406Z] + git semver [Pipeline] } [2023-06-12T17:52:57.677Z] $ docker stop --time=1 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 [2023-06-12T17:52:59.000Z] $ docker rm -f --volumes 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:52:59.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T17:52:59.545Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T17:52:59.548Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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-06-12T17:52:59.706Z] provisioning config files... [2023-06-12T17:52:59.715Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14015309592792504894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:53:00.011Z] ---> docker-login.sh [2023-06-12T17:53:00.011Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:53:00.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:00.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:00.011Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:00.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:00.011Z] [2023-06-12T17:53:00.011Z] Login Succeeded [2023-06-12T17:53:00.011Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:53:00.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:00.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:00.011Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:00.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:00.011Z] [2023-06-12T17:53:00.011Z] Login Succeeded [2023-06-12T17:53:00.011Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:53:00.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:00.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:00.272Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:00.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:00.272Z] [2023-06-12T17:53:00.272Z] Login Succeeded [2023-06-12T17:53:00.272Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:53:00.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:00.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:00.272Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:00.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:00.272Z] [2023-06-12T17:53:00.272Z] Login Succeeded [2023-06-12T17:53:00.272Z] docker.io [2023-06-12T17:53:00.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:53:00.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:53:00.532Z] Configure a credential helper to remove this warning. See [2023-06-12T17:53:00.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:53:00.532Z] [2023-06-12T17:53:00.532Z] Login Succeeded [2023-06-12T17:53:00.532Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:53:00.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:53:00.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:53:00.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:53:00.634Z] ========================================================= [2023-06-12T17:53:00.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T17:53:00.634Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:00.967Z] + 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-06-12T17:53:00.967Z] Sending build context to Docker daemon 6.442MB [2023-06-12T17:53:00.967Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:53:00.967Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T17:53:00.967Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T17:53:00.967Z] f56be85fc22e: Pulling fs layer [2023-06-12T17:53:00.967Z] 85791d961cd3: Pulling fs layer [2023-06-12T17:53:00.967Z] d694b5ae8c79: Pulling fs layer [2023-06-12T17:53:00.967Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T17:53:00.968Z] 4d19c01a9841: Pulling fs layer [2023-06-12T17:53:00.968Z] 9325e15d5711: Pulling fs layer [2023-06-12T17:53:00.968Z] 556b6ee489ea: Pulling fs layer [2023-06-12T17:53:00.968Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T17:53:00.968Z] 556b6ee489ea: Waiting [2023-06-12T17:53:00.968Z] 9325e15d5711: Waiting [2023-06-12T17:53:00.968Z] c5a4b2cf53e6: Waiting [2023-06-12T17:53:00.968Z] 9f32a84ed3da: Waiting [2023-06-12T17:53:00.968Z] 4d19c01a9841: Waiting [2023-06-12T17:53:00.968Z] 85791d961cd3: Verifying Checksum [2023-06-12T17:53:00.968Z] 85791d961cd3: Download complete [2023-06-12T17:53:00.968Z] 9f32a84ed3da: Verifying Checksum [2023-06-12T17:53:00.968Z] 9f32a84ed3da: Download complete [2023-06-12T17:53:00.968Z] 4d19c01a9841: Verifying Checksum [2023-06-12T17:53:00.968Z] 4d19c01a9841: Download complete [2023-06-12T17:53:00.968Z] f56be85fc22e: Verifying Checksum [2023-06-12T17:53:00.968Z] f56be85fc22e: Download complete [2023-06-12T17:53:01.228Z] 9325e15d5711: Verifying Checksum [2023-06-12T17:53:01.228Z] 9325e15d5711: Download complete [2023-06-12T17:53:01.228Z] f56be85fc22e: Pull complete [2023-06-12T17:53:01.489Z] 85791d961cd3: Pull complete [2023-06-12T17:53:01.752Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T17:53:01.752Z] c5a4b2cf53e6: Download complete [2023-06-12T17:53:01.752Z] d694b5ae8c79: Verifying Checksum [2023-06-12T17:53:01.752Z] d694b5ae8c79: Download complete [2023-06-12T17:53:02.012Z] 556b6ee489ea: Verifying Checksum [2023-06-12T17:53:02.012Z] 556b6ee489ea: Download complete [2023-06-12T17:53:05.314Z] d694b5ae8c79: Pull complete [2023-06-12T17:53:05.314Z] 9f32a84ed3da: Pull complete [2023-06-12T17:53:05.572Z] 4d19c01a9841: Pull complete [2023-06-12T17:53:05.572Z] 9325e15d5711: Pull complete [2023-06-12T17:53:08.100Z] 556b6ee489ea: Pull complete [2023-06-12T17:53:09.042Z] c5a4b2cf53e6: Pull complete [2023-06-12T17:53:09.042Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T17:53:09.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T17:53:09.042Z] ---> c4be618373d6 [2023-06-12T17:53:09.042Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:53:14.318Z] ---> Running in a7ce0c37fbb7 [2023-06-12T17:53:14.318Z] Removing intermediate container a7ce0c37fbb7 [2023-06-12T17:53:14.318Z] ---> 8ca330468ca6 [2023-06-12T17:53:14.318Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:53:14.318Z] ---> Running in f1e0c197cf56 [2023-06-12T17:53:14.318Z] Removing intermediate container f1e0c197cf56 [2023-06-12T17:53:14.318Z] ---> 1258713688fb [2023-06-12T17:53:14.318Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T17:53:14.318Z] ---> Running in ff5eb3e28add [2023-06-12T17:53:14.318Z] Removing intermediate container ff5eb3e28add [2023-06-12T17:53:14.318Z] ---> f9bbdff139b3 [2023-06-12T17:53:14.318Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:53:14.318Z] ---> Running in 14b403546475 [2023-06-12T17:53:14.318Z] Removing intermediate container 14b403546475 [2023-06-12T17:53:14.318Z] ---> 7d6a3c5cb69f [2023-06-12T17:53:14.318Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:53:14.318Z] ---> Running in 5e805fd3f36a [2023-06-12T17:53:14.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:53:14.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:53:14.654Z] Still waiting to schedule task [2023-06-12T17:53:14.655Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-12T17:53:14.835Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T17:53:14.835Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T17:53:14.835Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T17:53:14.835Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T17:53:14.835Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:53:14.835Z] OK: 269 MiB in 57 packages [2023-06-12T17:53:15.443Z] Removing intermediate container 5e805fd3f36a [2023-06-12T17:53:15.443Z] ---> 7b99d88d04b9 [2023-06-12T17:53:15.443Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-06-12T17:53:15.443Z] ---> Running in c36b100acb0c [2023-06-12T17:53:15.443Z] Removing intermediate container c36b100acb0c [2023-06-12T17:53:15.443Z] ---> 713d0341c90a [2023-06-12T17:53:15.443Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T17:53:15.443Z] ---> c781ab568232 [2023-06-12T17:53:15.443Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:53:15.443Z] ---> Running in 458b01078426 [2023-06-12T17:53:41.997Z] Removing intermediate container 458b01078426 [2023-06-12T17:53:41.997Z] ---> afb6294d5ed1 [2023-06-12T17:53:41.997Z] Step 11/12 : COPY . . [2023-06-12T17:53:41.997Z] ---> d300306035da [2023-06-12T17:53:41.997Z] Step 12/12 : RUN $MAKE [2023-06-12T17:53:41.997Z] ---> Running in acf7047a8973 [2023-06-12T17:53:41.997Z] noop [2023-06-12T17:53:41.997Z] Removing intermediate container acf7047a8973 [2023-06-12T17:53:41.997Z] ---> 5291b0af56ef [2023-06-12T17:53:41.997Z] Successfully built 5291b0af56ef [2023-06-12T17:53:41.997Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:42.305Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:53:42.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:53:42.370Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T17:53:42.401Z] $ 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-06-12T17:53:42.775Z] $ docker top 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:53:43.135Z] + go version [2023-06-12T17:53:43.135Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T17:53:43.150Z] $ docker stop --time=1 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d [2023-06-12T17:53:44.439Z] $ docker rm -f --volumes 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:44.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:53:44.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:53:44.939Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T17:53:44.978Z] $ 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-06-12T17:53:45.355Z] $ docker top 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:53:45.693Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:53:45.990Z] + make test [2023-06-12T17:53:45.990Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T17:53:51.294Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-06-12T17:54:01.263Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-06-12T17:54:01.263Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-06-12T17:54:01.263Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements [2023-06-12T17:54:07.823Z] go vet ./... [2023-06-12T17:54:12.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T17:54:12.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T17:54:12.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T17:54:12.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T17:54:12.039Z] $ docker stop --time=1 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e [2023-06-12T17:54:15.501Z] $ docker rm -f --volumes 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:54:15.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T17:54:16.032Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T17:54:16.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T17:54:16.960Z] + ls -al . [2023-06-12T17:54:16.960Z] total 184 [2023-06-12T17:54:16.960Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:53 . [2023-06-12T17:54:16.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 .. [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:52 .dockerignore [2023-06-12T17:54:16.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:52 .git [2023-06-12T17:54:16.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 .github [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:52 .gitignore [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:52 .golangci.yml [2023-06-12T17:54:16.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:52 .semver [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:52 Attribution.txt [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:52 CHANGELOG.md [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:52 Dockerfile [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:52 GOVERNANCE.md [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:52 Jenkinsfile [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:52 LICENSE [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:52 Makefile [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:52 OWNERS.md [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:52 README.md [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION [2023-06-12T17:54:16.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 bin [2023-06-12T17:54:16.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 cmd [2023-06-12T17:54:16.960Z] -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 17:54 coverage.out [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:52 go.mod [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:52 go.sum [2023-06-12T17:54:16.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 internal [2023-06-12T17:54:16.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 mock [2023-06-12T17:54:16.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 snap [2023-06-12T17:54:16.960Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:17.263Z] + 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=504ae262e254dce13e9a69f67e2e26f1d4ba9dab --label arch=amd64 --label version=3.1.0-dev.1 . [2023-06-12T17:54:17.263Z] Sending build context to Docker daemon 6.461MB [2023-06-12T17:54:17.263Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:54:17.263Z] Step 2/24 : FROM ${BASE} AS builder [2023-06-12T17:54:17.263Z] ---> 5291b0af56ef [2023-06-12T17:54:17.263Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:54:17.263Z] ---> Running in 3c67a12513f5 [2023-06-12T17:54:17.522Z] Removing intermediate container 3c67a12513f5 [2023-06-12T17:54:17.522Z] ---> ae42480ab80b [2023-06-12T17:54:17.522Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:54:17.522Z] ---> Running in 123657a596d5 [2023-06-12T17:54:17.522Z] Removing intermediate container 123657a596d5 [2023-06-12T17:54:17.522Z] ---> 8db1250cad98 [2023-06-12T17:54:17.522Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T17:54:17.522Z] ---> Running in ea4a80a74ce7 [2023-06-12T17:54:17.522Z] Removing intermediate container ea4a80a74ce7 [2023-06-12T17:54:17.522Z] ---> 6d64fc3eb72d [2023-06-12T17:54:17.522Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:54:17.522Z] ---> Running in fab7557839ab [2023-06-12T17:54:17.779Z] Removing intermediate container fab7557839ab [2023-06-12T17:54:17.779Z] ---> c2fec3077723 [2023-06-12T17:54:17.779Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:54:17.779Z] ---> Running in 576a36963429 [2023-06-12T17:54:18.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:18.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:18.296Z] OK: 269 MiB in 57 packages [2023-06-12T17:54:18.559Z] Removing intermediate container 576a36963429 [2023-06-12T17:54:18.559Z] ---> eb52456ebdc1 [2023-06-12T17:54:18.559Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-06-12T17:54:18.559Z] ---> Running in 705cded0ed09 [2023-06-12T17:54:18.821Z] Removing intermediate container 705cded0ed09 [2023-06-12T17:54:18.821Z] ---> 79010b9940af [2023-06-12T17:54:18.821Z] Step 9/24 : COPY go.mod vendor* ./ [2023-06-12T17:54:18.821Z] ---> 08552603c44d [2023-06-12T17:54:18.821Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:54:18.821Z] ---> Running in bc6c1c47d1bf [2023-06-12T17:54:19.850Z] Removing intermediate container bc6c1c47d1bf [2023-06-12T17:54:19.850Z] ---> 9f2cad8a0ccc [2023-06-12T17:54:19.850Z] Step 11/24 : COPY . . [2023-06-12T17:54:20.108Z] ---> 7528148a3464 [2023-06-12T17:54:20.108Z] Step 12/24 : RUN $MAKE [2023-06-12T17:54:20.108Z] ---> Running in 74e081fa2a16 [2023-06-12T17:54:20.367Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-06-12T17:54:38.444Z] Removing intermediate container 74e081fa2a16 [2023-06-12T17:54:38.444Z] ---> e496aea90418 [2023-06-12T17:54:38.444Z] Step 13/24 : FROM alpine:3.17 [2023-06-12T17:54:38.444Z] 3.17: Pulling from library/alpine [2023-06-12T17:54:38.444Z] f56be85fc22e: Already exists [2023-06-12T17:54:38.703Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T17:54:38.703Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T17:54:38.703Z] ---> 9ed4aefc74f6 [2023-06-12T17:54:38.703Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-06-12T17:54:38.703Z] ---> Running in c8d220617988 [2023-06-12T17:54:38.703Z] Removing intermediate container c8d220617988 [2023-06-12T17:54:38.703Z] ---> 6b2950505731 [2023-06-12T17:54:38.703Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-06-12T17:54:38.703Z] ---> Running in b6226408dece [2023-06-12T17:54:38.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:39.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:39.495Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T17:54:39.495Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:54:39.495Z] OK: 7 MiB in 16 packages [2023-06-12T17:54:39.753Z] Removing intermediate container b6226408dece [2023-06-12T17:54:39.753Z] ---> 17c5dcec295e [2023-06-12T17:54:39.753Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-06-12T17:54:40.404Z] ---> 6f49dea908b0 [2023-06-12T17:54:40.404Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-06-12T17:54:40.662Z] ---> 29f9bfe14c38 [2023-06-12T17:54:40.662Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-06-12T17:54:40.662Z] ---> a67561ad96f4 [2023-06-12T17:54:40.662Z] Step 19/24 : EXPOSE 59982 [2023-06-12T17:54:40.662Z] ---> Running in d9b796dd1805 [2023-06-12T17:54:40.921Z] Removing intermediate container d9b796dd1805 [2023-06-12T17:54:40.921Z] ---> 0896a3b9f3c7 [2023-06-12T17:54:40.921Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-06-12T17:54:40.921Z] ---> Running in c304101f3d4d [2023-06-12T17:54:40.921Z] Removing intermediate container c304101f3d4d [2023-06-12T17:54:40.921Z] ---> 3fa3e345e5af [2023-06-12T17:54:40.921Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T17:54:40.921Z] ---> Running in f8c9ae00292b [2023-06-12T17:54:40.921Z] Removing intermediate container f8c9ae00292b [2023-06-12T17:54:40.921Z] ---> b7b3fb28bf09 [2023-06-12T17:54:40.921Z] Step 22/24 : LABEL arch=amd64 [2023-06-12T17:54:40.921Z] ---> Running in 7e9b9492140e [2023-06-12T17:54:41.181Z] Removing intermediate container 7e9b9492140e [2023-06-12T17:54:41.181Z] ---> b2ff73522515 [2023-06-12T17:54:41.181Z] Step 23/24 : LABEL git_sha=504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T17:54:41.181Z] ---> Running in 3c9313cf5e3e [2023-06-12T17:54:41.181Z] Removing intermediate container 3c9313cf5e3e [2023-06-12T17:54:41.181Z] ---> dc47ef2d9d9a [2023-06-12T17:54:41.181Z] Step 24/24 : LABEL version=3.1.0-dev.1 [2023-06-12T17:54:41.181Z] ---> Running in d8c36475d757 [2023-06-12T17:54:41.181Z] Removing intermediate container d8c36475d757 [2023-06-12T17:54:41.181Z] ---> c42cb282bd7c [2023-06-12T17:54:41.181Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T17:54:41.181Z] Successfully built c42cb282bd7c [2023-06-12T17:54:41.441Z] 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-06-12T17:54:41.539Z] provisioning config files... [2023-06-12T17:54:41.546Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8024623565313498679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:54:41.838Z] ---> docker-login.sh [2023-06-12T17:54:41.838Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:54:41.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:54:41.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:54:41.838Z] Configure a credential helper to remove this warning. See [2023-06-12T17:54:41.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:54:41.838Z] [2023-06-12T17:54:41.838Z] Login Succeeded [2023-06-12T17:54:41.838Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:54:41.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:54:41.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:54:41.838Z] Configure a credential helper to remove this warning. See [2023-06-12T17:54:41.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:54:41.838Z] [2023-06-12T17:54:41.838Z] Login Succeeded [2023-06-12T17:54:41.838Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:54:42.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:54:42.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:54:42.097Z] Configure a credential helper to remove this warning. See [2023-06-12T17:54:42.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:54:42.097Z] [2023-06-12T17:54:42.097Z] Login Succeeded [2023-06-12T17:54:42.097Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:54:42.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:54:42.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:54:42.097Z] Configure a credential helper to remove this warning. See [2023-06-12T17:54:42.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:54:42.097Z] [2023-06-12T17:54:42.097Z] Login Succeeded [2023-06-12T17:54:42.097Z] docker.io [2023-06-12T17:54:42.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:54:42.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:54:42.356Z] Configure a credential helper to remove this warning. See [2023-06-12T17:54:42.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:54:42.356Z] [2023-06-12T17:54:42.356Z] Login Succeeded [2023-06-12T17:54:42.356Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:54:42.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:54:42.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:54:42.413Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-06-12T17:54:42.413Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T17:54:42.413Z] latest [2023-06-12T17:54:42.413Z] 3.1.0-dev.1 [2023-06-12T17:54:42.413Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T17:54:42.413Z] main [2023-06-12T17:54:42.413Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:42.743Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:43.053Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T17:54:43.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T17:54:43.053Z] 39fd120f0a5f: Preparing [2023-06-12T17:54:43.053Z] 6abb2d02ffbd: Preparing [2023-06-12T17:54:43.053Z] 1dc2716c0a1a: Preparing [2023-06-12T17:54:43.053Z] 7738053558e4: Preparing [2023-06-12T17:54:43.053Z] f1417ff83b31: Preparing [2023-06-12T17:54:43.053Z] f1417ff83b31: Layer already exists [2023-06-12T17:54:43.053Z] 7738053558e4: Pushed [2023-06-12T17:54:43.053Z] 39fd120f0a5f: Pushed [2023-06-12T17:54:43.053Z] 6abb2d02ffbd: Pushed [2023-06-12T17:54:45.587Z] 1dc2716c0a1a: Pushed [2023-06-12T17:54:45.587Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:45.892Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:46.191Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-06-12T17:54:46.191Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T17:54:46.191Z] 39fd120f0a5f: Preparing [2023-06-12T17:54:46.191Z] 6abb2d02ffbd: Preparing [2023-06-12T17:54:46.191Z] 1dc2716c0a1a: Preparing [2023-06-12T17:54:46.191Z] 7738053558e4: Preparing [2023-06-12T17:54:46.191Z] f1417ff83b31: Preparing [2023-06-12T17:54:46.191Z] 7738053558e4: Layer already exists [2023-06-12T17:54:46.191Z] f1417ff83b31: Layer already exists [2023-06-12T17:54:46.191Z] 6abb2d02ffbd: Layer already exists [2023-06-12T17:54:46.191Z] 1dc2716c0a1a: Layer already exists [2023-06-12T17:54:46.191Z] 39fd120f0a5f: Layer already exists [2023-06-12T17:54:46.191Z] latest: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:46.504Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:46.814Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 [2023-06-12T17:54:46.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T17:54:46.814Z] 39fd120f0a5f: Preparing [2023-06-12T17:54:46.814Z] 6abb2d02ffbd: Preparing [2023-06-12T17:54:46.814Z] 1dc2716c0a1a: Preparing [2023-06-12T17:54:46.814Z] 7738053558e4: Preparing [2023-06-12T17:54:46.814Z] f1417ff83b31: Preparing [2023-06-12T17:54:46.814Z] 6abb2d02ffbd: Layer already exists [2023-06-12T17:54:46.814Z] f1417ff83b31: Layer already exists [2023-06-12T17:54:46.814Z] 39fd120f0a5f: Layer already exists [2023-06-12T17:54:46.814Z] 1dc2716c0a1a: Layer already exists [2023-06-12T17:54:46.814Z] 7738053558e4: Layer already exists [2023-06-12T17:54:46.814Z] 3.1.0-dev.1: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:47.123Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:47.436Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T17:54:47.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T17:54:47.436Z] 39fd120f0a5f: Preparing [2023-06-12T17:54:47.436Z] 6abb2d02ffbd: Preparing [2023-06-12T17:54:47.436Z] 1dc2716c0a1a: Preparing [2023-06-12T17:54:47.436Z] 7738053558e4: Preparing [2023-06-12T17:54:47.436Z] f1417ff83b31: Preparing [2023-06-12T17:54:47.436Z] f1417ff83b31: Layer already exists [2023-06-12T17:54:47.436Z] 39fd120f0a5f: Layer already exists [2023-06-12T17:54:47.436Z] 6abb2d02ffbd: Layer already exists [2023-06-12T17:54:47.436Z] 7738053558e4: Layer already exists [2023-06-12T17:54:47.436Z] 1dc2716c0a1a: Layer already exists [2023-06-12T17:54:47.436Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:47.743Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:48.054Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-06-12T17:54:48.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-06-12T17:54:48.054Z] 39fd120f0a5f: Preparing [2023-06-12T17:54:48.054Z] 6abb2d02ffbd: Preparing [2023-06-12T17:54:48.054Z] 1dc2716c0a1a: Preparing [2023-06-12T17:54:48.054Z] 7738053558e4: Preparing [2023-06-12T17:54:48.054Z] f1417ff83b31: Preparing [2023-06-12T17:54:48.054Z] 6abb2d02ffbd: Layer already exists [2023-06-12T17:54:48.054Z] 39fd120f0a5f: Layer already exists [2023-06-12T17:54:48.054Z] 7738053558e4: Layer already exists [2023-06-12T17:54:48.054Z] f1417ff83b31: Layer already exists [2023-06-12T17:54:48.054Z] 1dc2716c0a1a: Layer already exists [2023-06-12T17:54:48.054Z] main: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:54:48.090Z] ===================================================== [Pipeline] echo [2023-06-12T17:54:48.097Z] taggedImages: [2023-06-12T17:54:48.097Z] - nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T17:54:48.097Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-06-12T17:54:48.097Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 [2023-06-12T17:54:48.097Z] - nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T17:54:48.097Z] - 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-06-12T17:54:48.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:48.460Z] [2023-06-12T17:54:48.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:48.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:48.759Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T17:54:48.759Z] 5eb5b503b376: Pulling fs layer [2023-06-12T17:54:48.759Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T17:54:48.759Z] ec43610c2a17: Pulling fs layer [2023-06-12T17:54:48.759Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T17:54:48.759Z] 33b1e0a273af: Pulling fs layer [2023-06-12T17:54:48.759Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T17:54:48.759Z] 2f39f015ded8: Pulling fs layer [2023-06-12T17:54:48.759Z] 3a2ae6a8a46f: Waiting [2023-06-12T17:54:48.759Z] 33b1e0a273af: Waiting [2023-06-12T17:54:48.759Z] 5d3b04190fa2: Waiting [2023-06-12T17:54:48.759Z] 2f39f015ded8: Waiting [2023-06-12T17:54:49.017Z] 5c69ac0246d0: Download complete [2023-06-12T17:54:49.017Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T17:54:49.017Z] 3a2ae6a8a46f: Download complete [2023-06-12T17:54:49.017Z] 33b1e0a273af: Verifying Checksum [2023-06-12T17:54:49.017Z] 33b1e0a273af: Download complete [2023-06-12T17:54:49.017Z] 5d3b04190fa2: Verifying Checksum [2023-06-12T17:54:49.017Z] 5d3b04190fa2: Download complete [2023-06-12T17:54:49.017Z] ec43610c2a17: Verifying Checksum [2023-06-12T17:54:49.017Z] ec43610c2a17: Download complete [2023-06-12T17:54:49.275Z] 5eb5b503b376: Verifying Checksum [2023-06-12T17:54:49.275Z] 5eb5b503b376: Download complete [2023-06-12T17:54:49.841Z] 2f39f015ded8: Download complete [2023-06-12T17:54:50.407Z] 5eb5b503b376: Pull complete [2023-06-12T17:54:50.666Z] 5c69ac0246d0: Pull complete [2023-06-12T17:54:50.926Z] ec43610c2a17: Pull complete [2023-06-12T17:54:50.926Z] 3a2ae6a8a46f: Pull complete [2023-06-12T17:54:51.185Z] 33b1e0a273af: Pull complete [2023-06-12T17:54:51.185Z] 5d3b04190fa2: Pull complete [2023-06-12T17:54:55.373Z] 2f39f015ded8: Pull complete [2023-06-12T17:54:55.373Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T17:54:55.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:55.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:54:55.446Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T17:54:55.480Z] $ 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-06-12T17:54:59.565Z] $ docker top 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:54:59.926Z] ---> job-cost.sh [2023-06-12T17:54:59.926Z] lf-activate-venv: SKIPPING [2023-06-12T17:54:59.926Z] INFO: No Stack... [2023-06-12T17:55:00.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T17:55:00.751Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T17:55:01.042Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-06-12T17:55:01.042Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T17:55:01.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [2023-06-12T17:55:01.064Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] did not exist. Created. [2023-06-12T17:55:01.064Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T17:55:01.365Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T17:55:01.395Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T17:55:01.403Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T17:55:01.426Z] $ docker stop --time=1 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb [2023-06-12T17:55:02.577Z] $ docker rm -f --volumes 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T17:56:03.084Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18472 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-06-12T17:56:03.101Z] Running in /w/workspace/device-mqtt-go/129 [Pipeline] { [Pipeline] checkout [2023-06-12T17:56:03.147Z] Selected Git installation does not exist. Using Default [2023-06-12T17:56:03.147Z] The recommended git tool is: NONE [2023-06-12T17:56:09.621Z] using credential edgex-jenkins-ssh [2023-06-12T17:56:09.645Z] Cloning the remote Git repository [2023-06-12T17:56:09.700Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-06-12T17:56:09.813Z] > git init /w/workspace/device-mqtt-go/129 # timeout=10 [2023-06-12T17:56:09.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-06-12T17:56:09.980Z] > git --version # timeout=10 [2023-06-12T17:56:10.003Z] > git --version # 'git version 2.25.1' [2023-06-12T17:56:10.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T17:56:10.198Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:56:11.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-06-12T17:56:11.461Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:56:12.467Z] Avoid second fetch [2023-06-12T17:56:12.467Z] Checking out Revision 504ae262e254dce13e9a69f67e2e26f1d4ba9dab (main) [2023-06-12T17:56:13.100Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613)" [2023-06-12T17:56:12.499Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T17:56:12.581Z] > git checkout -f 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:56:14.004Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T17:56:14.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:56:14.004Z] Dload Upload Total Spent Left Speed [2023-06-12T17:56:14.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-06-12T17:56:14.658Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T17:56:14.993Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T17:56:14.993Z] + sudo tee /etc/docker/daemon.new [2023-06-12T17:56:14.993Z] { [2023-06-12T17:56:14.993Z] "registry-mirrors": [ [2023-06-12T17:56:14.993Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T17:56:14.993Z] ], [2023-06-12T17:56:14.993Z] "bip": "10.250.0.254/24", [2023-06-12T17:56:14.993Z] "hosts": [ [2023-06-12T17:56:14.993Z] "tcp://0.0.0.0:5555", [2023-06-12T17:56:14.993Z] "unix:///var/run/docker.sock" [2023-06-12T17:56:14.993Z] ], [2023-06-12T17:56:14.993Z] "mtu": 1458, [2023-06-12T17:56:14.993Z] "selinux-enabled": true, [2023-06-12T17:56:14.993Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T17:56:14.993Z] } [Pipeline] sh [2023-06-12T17:56:15.342Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T17:56:15.684Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:56:34.024Z] provisioning config files... [2023-06-12T17:56:34.063Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/129@tmp/config12846959435340769899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:56:34.452Z] ---> docker-login.sh [2023-06-12T17:56:34.452Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:56:35.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:35.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:35.047Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:35.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:35.047Z] [2023-06-12T17:56:35.047Z] Login Succeeded [2023-06-12T17:56:35.322Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:56:35.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:35.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:35.596Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:35.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:35.596Z] [2023-06-12T17:56:35.596Z] Login Succeeded [2023-06-12T17:56:35.596Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:56:35.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:36.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:36.142Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:36.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:36.142Z] [2023-06-12T17:56:36.142Z] Login Succeeded [2023-06-12T17:56:36.142Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:56:36.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:36.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:36.422Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:36.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:36.422Z] [2023-06-12T17:56:36.422Z] Login Succeeded [2023-06-12T17:56:36.422Z] docker.io [2023-06-12T17:56:36.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:36.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:36.974Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:36.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:36.974Z] [2023-06-12T17:56:36.974Z] Login Succeeded [2023-06-12T17:56:37.249Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:56:37.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:56:37.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:56:37.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:56:37.700Z] ========================================================= [2023-06-12T17:56:37.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T17:56:37.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:56:38.100Z] + 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-06-12T17:56:38.712Z] Sending build context to Docker daemon 3.317MB [2023-06-12T17:56:38.712Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:56:38.712Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T17:56:39.006Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T17:56:39.006Z] c41833b44d91: Pulling fs layer [2023-06-12T17:56:39.006Z] ed15518f5707: Pulling fs layer [2023-06-12T17:56:39.006Z] feae8fd75edb: Pulling fs layer [2023-06-12T17:56:39.006Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T17:56:39.006Z] 3cdef696dda3: Pulling fs layer [2023-06-12T17:56:39.006Z] 2ced38df9373: Pulling fs layer [2023-06-12T17:56:39.006Z] 58f1dce35555: Pulling fs layer [2023-06-12T17:56:39.006Z] 3cdef696dda3: Waiting [2023-06-12T17:56:39.006Z] 2ced38df9373: Waiting [2023-06-12T17:56:39.006Z] 58f1dce35555: Waiting [2023-06-12T17:56:39.006Z] 242c74f7c9fa: Waiting [2023-06-12T17:56:39.006Z] ed15518f5707: Verifying Checksum [2023-06-12T17:56:39.006Z] ed15518f5707: Download complete [2023-06-12T17:56:39.006Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T17:56:39.006Z] 242c74f7c9fa: Download complete [2023-06-12T17:56:39.006Z] 3cdef696dda3: Verifying Checksum [2023-06-12T17:56:39.006Z] 3cdef696dda3: Download complete [2023-06-12T17:56:39.006Z] c41833b44d91: Verifying Checksum [2023-06-12T17:56:39.006Z] c41833b44d91: Download complete [2023-06-12T17:56:40.550Z] c41833b44d91: Pull complete [2023-06-12T17:56:41.145Z] 58f1dce35555: Verifying Checksum [2023-06-12T17:56:41.145Z] 58f1dce35555: Download complete [2023-06-12T17:56:41.145Z] ed15518f5707: Pull complete [2023-06-12T17:56:42.125Z] feae8fd75edb: Download complete [2023-06-12T17:56:42.395Z] 2ced38df9373: Verifying Checksum [2023-06-12T17:56:42.395Z] 2ced38df9373: Download complete [2023-06-12T17:56:54.765Z] feae8fd75edb: Pull complete [2023-06-12T17:56:54.765Z] 242c74f7c9fa: Pull complete [2023-06-12T17:56:54.765Z] 3cdef696dda3: Pull complete [2023-06-12T17:57:01.572Z] 2ced38df9373: Pull complete [2023-06-12T17:57:04.228Z] 58f1dce35555: Pull complete [2023-06-12T17:57:04.228Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T17:57:04.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T17:57:04.228Z] ---> fadd8f120f05 [2023-06-12T17:57:04.228Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:57:05.661Z] ---> Running in f516cf3da12c [2023-06-12T17:57:06.250Z] Removing intermediate container f516cf3da12c [2023-06-12T17:57:06.250Z] ---> c4d59cbff6d7 [2023-06-12T17:57:06.250Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:57:06.250Z] ---> Running in d271e2a3c00a [2023-06-12T17:57:06.525Z] Removing intermediate container d271e2a3c00a [2023-06-12T17:57:06.525Z] ---> 0e9873187215 [2023-06-12T17:57:06.525Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T17:57:06.799Z] ---> Running in 2e8d3ce5b563 [2023-06-12T17:57:07.073Z] Removing intermediate container 2e8d3ce5b563 [2023-06-12T17:57:07.073Z] ---> e58c37ca7a5e [2023-06-12T17:57:07.073Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:57:07.343Z] ---> Running in 7a9edf244dd8 [2023-06-12T17:57:07.614Z] Removing intermediate container 7a9edf244dd8 [2023-06-12T17:57:07.614Z] ---> fec1f6fbc76e [2023-06-12T17:57:07.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:57:07.614Z] ---> Running in abbeb9ad790f [2023-06-12T17:57:09.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:57:09.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:57:11.048Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T17:57:11.048Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T17:57:11.048Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T17:57:11.048Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T17:57:11.048Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:57:11.048Z] OK: 268 MiB in 57 packages [2023-06-12T17:57:12.470Z] Removing intermediate container abbeb9ad790f [2023-06-12T17:57:12.470Z] ---> d7596838d69e [2023-06-12T17:57:12.470Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-06-12T17:57:13.061Z] ---> Running in 1735c42f83a0 [2023-06-12T17:57:13.340Z] Removing intermediate container 1735c42f83a0 [2023-06-12T17:57:13.340Z] ---> f0a332d142ab [2023-06-12T17:57:13.340Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T17:57:13.931Z] ---> fd270cfdaac5 [2023-06-12T17:57:13.931Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:57:14.202Z] ---> Running in 066b7e34f23d [2023-06-12T17:58:22.421Z] Removing intermediate container 066b7e34f23d [2023-06-12T17:58:22.421Z] ---> 1dfdc311725d [2023-06-12T17:58:22.421Z] Step 11/12 : COPY . . [2023-06-12T17:58:22.421Z] ---> 62be5100fdc6 [2023-06-12T17:58:22.421Z] Step 12/12 : RUN $MAKE [2023-06-12T17:58:22.421Z] ---> Running in 69d7dbb996a0 [2023-06-12T17:58:22.421Z] noop [2023-06-12T17:58:22.421Z] Removing intermediate container 69d7dbb996a0 [2023-06-12T17:58:22.421Z] ---> a11a77174f32 [2023-06-12T17:58:22.421Z] Successfully built a11a77174f32 [2023-06-12T17:58:22.421Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:22.776Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:58:22.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:23.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container [2023-06-12T17:58:23.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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-06-12T17:58:24.444Z] $ docker top 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:58:25.316Z] + go version [2023-06-12T17:58:25.316Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T17:58:25.342Z] $ docker stop --time=1 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 [2023-06-12T17:58:27.066Z] $ docker rm -f --volumes 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:27.643Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:58:27.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:27.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container [2023-06-12T17:58:27.920Z] $ 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/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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-06-12T17:58:29.230Z] $ docker top 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:58:30.109Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/129 [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:58:30.777Z] + make test [2023-06-12T17:58:30.777Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T17:59:09.725Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-06-12T18:01:46.636Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-06-12T18:01:46.636Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-06-12T18:01:46.636Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 22.8% of statements [2023-06-12T18:01:46.636Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:01:46.636Z] go vet ./... [2023-06-12T18:02:13.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:02:13.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:02:13.328Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:02:13.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:02:13.366Z] $ docker stop --time=1 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 [2023-06-12T18:02:15.315Z] $ docker rm -f --volumes 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:02:16.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:02:16.598Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:02:17.125Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:02:17.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:02:17.874Z] + ls -al . [2023-06-12T18:02:17.874Z] total 180 [2023-06-12T18:02:17.874Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:58 . [2023-06-12T18:02:17.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 .. [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:56 .dockerignore [2023-06-12T18:02:17.874Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:56 .git [2023-06-12T18:02:17.874Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 .github [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:56 .gitignore [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:56 .golangci.yml [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:56 Attribution.txt [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:56 CHANGELOG.md [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:56 Dockerfile [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:56 GOVERNANCE.md [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:56 Jenkinsfile [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:56 LICENSE [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:56 Makefile [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:56 OWNERS.md [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:56 README.md [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION [2023-06-12T18:02:17.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 bin [2023-06-12T18:02:17.874Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 cmd [2023-06-12T18:02:17.874Z] -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 18:01 coverage.out [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:56 go.mod [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:56 go.sum [2023-06-12T18:02:17.874Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 internal [2023-06-12T18:02:17.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 mock [2023-06-12T18:02:17.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 snap [2023-06-12T18:02:17.874Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:02:18.220Z] + 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=504ae262e254dce13e9a69f67e2e26f1d4ba9dab --label arch=arm64 --label version=3.1.0-dev.1 . [2023-06-12T18:02:18.491Z] Sending build context to Docker daemon 3.337MB [2023-06-12T18:02:18.491Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:02:18.491Z] Step 2/24 : FROM ${BASE} AS builder [2023-06-12T18:02:18.491Z] ---> a11a77174f32 [2023-06-12T18:02:18.491Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:02:18.760Z] ---> Running in 848b6aaca756 [2023-06-12T18:02:19.030Z] Removing intermediate container 848b6aaca756 [2023-06-12T18:02:19.030Z] ---> ab8b3e017370 [2023-06-12T18:02:19.030Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:02:19.030Z] ---> Running in d64df93808f3 [2023-06-12T18:02:19.624Z] Removing intermediate container d64df93808f3 [2023-06-12T18:02:19.624Z] ---> 629ff0bd85e2 [2023-06-12T18:02:19.624Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:02:19.624Z] ---> Running in 9d7955012f1e [2023-06-12T18:02:19.894Z] Removing intermediate container 9d7955012f1e [2023-06-12T18:02:19.894Z] ---> fe1ca2ed29f9 [2023-06-12T18:02:19.894Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:02:19.894Z] ---> Running in 8f505defc0a4 [2023-06-12T18:02:20.163Z] Removing intermediate container 8f505defc0a4 [2023-06-12T18:02:20.163Z] ---> b00a8237dd25 [2023-06-12T18:02:20.163Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:02:20.434Z] ---> Running in 5b6b738c7b99 [2023-06-12T18:02:21.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:02:22.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:02:23.783Z] OK: 268 MiB in 57 packages [2023-06-12T18:02:24.756Z] Removing intermediate container 5b6b738c7b99 [2023-06-12T18:02:24.756Z] ---> bedcf22c8710 [2023-06-12T18:02:24.756Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-06-12T18:02:24.756Z] ---> Running in e462f6a25ffa [2023-06-12T18:02:25.026Z] Removing intermediate container e462f6a25ffa [2023-06-12T18:02:25.026Z] ---> 2de905e185c1 [2023-06-12T18:02:25.026Z] Step 9/24 : COPY go.mod vendor* ./ [2023-06-12T18:02:25.616Z] ---> 36b5765a704e [2023-06-12T18:02:25.616Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:02:25.616Z] ---> Running in 82c34ece323e [2023-06-12T18:02:28.987Z] Removing intermediate container 82c34ece323e [2023-06-12T18:02:28.987Z] ---> 838aeedfc513 [2023-06-12T18:02:28.987Z] Step 11/24 : COPY . . [2023-06-12T18:02:29.596Z] ---> b12847a16419 [2023-06-12T18:02:29.596Z] Step 12/24 : RUN $MAKE [2023-06-12T18:02:29.869Z] ---> Running in f8660804eff9 [2023-06-12T18:02:30.835Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-06-12T18:05:07.575Z] Removing intermediate container f8660804eff9 [2023-06-12T18:05:07.575Z] ---> 42e34f623ffd [2023-06-12T18:05:07.575Z] Step 13/24 : FROM alpine:3.17 [2023-06-12T18:05:07.575Z] 3.17: Pulling from library/alpine [2023-06-12T18:05:07.575Z] c41833b44d91: Already exists [2023-06-12T18:05:07.575Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:05:07.575Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:05:07.575Z] ---> 51e60588ff2c [2023-06-12T18:05:07.575Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-06-12T18:05:07.575Z] ---> Running in 591b6932fef0 [2023-06-12T18:05:07.575Z] Removing intermediate container 591b6932fef0 [2023-06-12T18:05:07.575Z] ---> f704543af564 [2023-06-12T18:05:07.575Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:05:07.575Z] ---> Running in 7e4c6b958612 [2023-06-12T18:05:07.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:05:07.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:05:07.575Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:05:07.575Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:05:07.575Z] OK: 8 MiB in 16 packages [2023-06-12T18:05:07.575Z] Removing intermediate container 7e4c6b958612 [2023-06-12T18:05:07.575Z] ---> 4ec3da2f6351 [2023-06-12T18:05:07.575Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-06-12T18:05:07.575Z] ---> c64220021819 [2023-06-12T18:05:07.575Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-06-12T18:05:07.575Z] ---> de40b7dd9fcb [2023-06-12T18:05:07.575Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-06-12T18:05:08.162Z] ---> 2119765d4c36 [2023-06-12T18:05:08.162Z] Step 19/24 : EXPOSE 59982 [2023-06-12T18:05:08.162Z] ---> Running in 513eab5323a6 [2023-06-12T18:05:08.430Z] Removing intermediate container 513eab5323a6 [2023-06-12T18:05:08.430Z] ---> cfbb6806ddd1 [2023-06-12T18:05:08.430Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-06-12T18:05:08.699Z] ---> Running in 2b5ade54b06f [2023-06-12T18:05:08.966Z] Removing intermediate container 2b5ade54b06f [2023-06-12T18:05:08.966Z] ---> 78294c7d5962 [2023-06-12T18:05:08.966Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:05:08.966Z] ---> Running in 7e9fa250e39a [2023-06-12T18:05:09.552Z] Removing intermediate container 7e9fa250e39a [2023-06-12T18:05:09.552Z] ---> d5853c5b5c5f [2023-06-12T18:05:09.552Z] Step 22/24 : LABEL arch=arm64 [2023-06-12T18:05:09.552Z] ---> Running in 94e3d32938cd [2023-06-12T18:05:09.820Z] Removing intermediate container 94e3d32938cd [2023-06-12T18:05:09.821Z] ---> f58679b2a213 [2023-06-12T18:05:09.821Z] Step 23/24 : LABEL git_sha=504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T18:05:10.088Z] ---> Running in 34a1685eb42d [2023-06-12T18:05:10.358Z] Removing intermediate container 34a1685eb42d [2023-06-12T18:05:10.358Z] ---> 374fe7d25209 [2023-06-12T18:05:10.358Z] Step 24/24 : LABEL version=3.1.0-dev.1 [2023-06-12T18:05:10.358Z] ---> Running in ae4d262ad944 [2023-06-12T18:05:10.626Z] Removing intermediate container ae4d262ad944 [2023-06-12T18:05:10.626Z] ---> 288af6894f09 [2023-06-12T18:05:10.626Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:05:10.626Z] Successfully built 288af6894f09 [2023-06-12T18:05:10.626Z] 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-06-12T18:05:10.741Z] provisioning config files... [2023-06-12T18:05:10.756Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/129@tmp/config10909725238625368246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:05:11.102Z] ---> docker-login.sh [2023-06-12T18:05:11.102Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:05:11.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:05:11.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:05:11.369Z] Configure a credential helper to remove this warning. See [2023-06-12T18:05:11.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:05:11.369Z] [2023-06-12T18:05:11.369Z] Login Succeeded [2023-06-12T18:05:11.369Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:05:11.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:05:11.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:05:11.907Z] Configure a credential helper to remove this warning. See [2023-06-12T18:05:11.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:05:11.907Z] [2023-06-12T18:05:11.907Z] Login Succeeded [2023-06-12T18:05:11.907Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:05:12.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:05:12.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:05:12.179Z] Configure a credential helper to remove this warning. See [2023-06-12T18:05:12.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:05:12.179Z] [2023-06-12T18:05:12.179Z] Login Succeeded [2023-06-12T18:05:12.179Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:05:12.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:05:12.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:05:12.718Z] Configure a credential helper to remove this warning. See [2023-06-12T18:05:12.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:05:12.718Z] [2023-06-12T18:05:12.718Z] Login Succeeded [2023-06-12T18:05:12.718Z] docker.io [2023-06-12T18:05:12.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:05:13.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:05:13.260Z] Configure a credential helper to remove this warning. See [2023-06-12T18:05:13.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:05:13.260Z] [2023-06-12T18:05:13.260Z] Login Succeeded [2023-06-12T18:05:13.260Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:05:13.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:05:13.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:05:13.319Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-06-12T18:05:13.319Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T18:05:13.319Z] latest [2023-06-12T18:05:13.319Z] 3.1.0-dev.1 [2023-06-12T18:05:13.319Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T18:05:13.319Z] main [2023-06-12T18:05:13.319Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:13.680Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:14.182Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T18:05:14.183Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:05:14.183Z] 753617abe322: Preparing [2023-06-12T18:05:14.183Z] aa3115f47e8e: Preparing [2023-06-12T18:05:14.183Z] 6be4bcb3f027: Preparing [2023-06-12T18:05:14.183Z] bd4cb2ded560: Preparing [2023-06-12T18:05:14.183Z] 26cbea5cba74: Preparing [2023-06-12T18:05:14.183Z] 26cbea5cba74: Layer already exists [2023-06-12T18:05:14.466Z] 753617abe322: Pushed [2023-06-12T18:05:14.466Z] aa3115f47e8e: Pushed [2023-06-12T18:05:14.466Z] bd4cb2ded560: Pushed [2023-06-12T18:05:19.846Z] 6be4bcb3f027: Pushed [2023-06-12T18:05:19.846Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:20.203Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:20.553Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-06-12T18:05:20.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:05:20.553Z] 753617abe322: Preparing [2023-06-12T18:05:20.553Z] aa3115f47e8e: Preparing [2023-06-12T18:05:20.553Z] 6be4bcb3f027: Preparing [2023-06-12T18:05:20.553Z] bd4cb2ded560: Preparing [2023-06-12T18:05:20.553Z] 26cbea5cba74: Preparing [2023-06-12T18:05:20.553Z] 26cbea5cba74: Layer already exists [2023-06-12T18:05:20.553Z] bd4cb2ded560: Layer already exists [2023-06-12T18:05:20.553Z] aa3115f47e8e: Layer already exists [2023-06-12T18:05:20.553Z] 753617abe322: Layer already exists [2023-06-12T18:05:20.553Z] 6be4bcb3f027: Layer already exists [2023-06-12T18:05:20.819Z] latest: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:21.170Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:21.532Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 [2023-06-12T18:05:21.532Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:05:21.532Z] 753617abe322: Preparing [2023-06-12T18:05:21.532Z] aa3115f47e8e: Preparing [2023-06-12T18:05:21.532Z] 6be4bcb3f027: Preparing [2023-06-12T18:05:21.532Z] bd4cb2ded560: Preparing [2023-06-12T18:05:21.532Z] 26cbea5cba74: Preparing [2023-06-12T18:05:21.532Z] 26cbea5cba74: Layer already exists [2023-06-12T18:05:21.532Z] 6be4bcb3f027: Layer already exists [2023-06-12T18:05:21.532Z] aa3115f47e8e: Layer already exists [2023-06-12T18:05:21.532Z] 753617abe322: Layer already exists [2023-06-12T18:05:21.532Z] bd4cb2ded560: Layer already exists [2023-06-12T18:05:21.532Z] 3.1.0-dev.1: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:21.894Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:22.263Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T18:05:22.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:05:22.263Z] 753617abe322: Preparing [2023-06-12T18:05:22.263Z] aa3115f47e8e: Preparing [2023-06-12T18:05:22.263Z] 6be4bcb3f027: Preparing [2023-06-12T18:05:22.263Z] bd4cb2ded560: Preparing [2023-06-12T18:05:22.263Z] 26cbea5cba74: Preparing [2023-06-12T18:05:22.263Z] 26cbea5cba74: Layer already exists [2023-06-12T18:05:22.263Z] 6be4bcb3f027: Layer already exists [2023-06-12T18:05:22.263Z] 753617abe322: Layer already exists [2023-06-12T18:05:22.263Z] bd4cb2ded560: Layer already exists [2023-06-12T18:05:22.263Z] aa3115f47e8e: Layer already exists [2023-06-12T18:05:22.530Z] 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:22.881Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:23.231Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-06-12T18:05:23.231Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-06-12T18:05:23.231Z] 753617abe322: Preparing [2023-06-12T18:05:23.231Z] aa3115f47e8e: Preparing [2023-06-12T18:05:23.231Z] 6be4bcb3f027: Preparing [2023-06-12T18:05:23.231Z] bd4cb2ded560: Preparing [2023-06-12T18:05:23.231Z] 26cbea5cba74: Preparing [2023-06-12T18:05:23.231Z] 753617abe322: Layer already exists [2023-06-12T18:05:23.231Z] 26cbea5cba74: Layer already exists [2023-06-12T18:05:23.231Z] 6be4bcb3f027: Layer already exists [2023-06-12T18:05:23.231Z] bd4cb2ded560: Layer already exists [2023-06-12T18:05:23.231Z] aa3115f47e8e: Layer already exists [2023-06-12T18:05:23.500Z] main: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T18:05:23.550Z] ===================================================== [Pipeline] echo [2023-06-12T18:05:23.557Z] taggedImages: [2023-06-12T18:05:23.557Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [2023-06-12T18:05:23.557Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-06-12T18:05:23.557Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 [2023-06-12T18:05:23.557Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [2023-06-12T18:05:23.557Z] - 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-06-12T18:05:23.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:05:23.916Z] [2023-06-12T18:05:23.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:25.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:05:25.413Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:05:25.413Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:05:25.413Z] 04944245beec: Pulling fs layer [2023-06-12T18:05:25.413Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:05:25.413Z] 765212b225bb: Pulling fs layer [2023-06-12T18:05:25.413Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:05:25.413Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:05:25.413Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:05:25.414Z] f23df028b6ca: Waiting [2023-06-12T18:05:25.414Z] d65c8cfc05b1: Waiting [2023-06-12T18:05:25.414Z] 2437ff75d9bd: Waiting [2023-06-12T18:05:25.414Z] 04944245beec: Verifying Checksum [2023-06-12T18:05:25.414Z] 04944245beec: Download complete [2023-06-12T18:05:25.414Z] 765212b225bb: Verifying Checksum [2023-06-12T18:05:25.414Z] 765212b225bb: Download complete [2023-06-12T18:05:25.683Z] f23df028b6ca: Verifying Checksum [2023-06-12T18:05:25.684Z] f23df028b6ca: Download complete [2023-06-12T18:05:25.684Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:05:25.684Z] d65c8cfc05b1: Download complete [2023-06-12T18:05:25.684Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:05:25.684Z] 699f458cf7ca: Download complete [2023-06-12T18:05:26.272Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T18:05:26.272Z] 8998bd30e6a1: Download complete [2023-06-12T18:05:28.869Z] 2437ff75d9bd: Verifying Checksum [2023-06-12T18:05:28.869Z] 2437ff75d9bd: Download complete [2023-06-12T18:05:30.283Z] 8998bd30e6a1: Pull complete [2023-06-12T18:05:30.551Z] 04944245beec: Pull complete [2023-06-12T18:05:31.972Z] 699f458cf7ca: Pull complete [2023-06-12T18:05:32.241Z] 765212b225bb: Pull complete [2023-06-12T18:05:32.825Z] f23df028b6ca: Pull complete [2023-06-12T18:05:33.092Z] d65c8cfc05b1: Pull complete [2023-06-12T18:05:48.095Z] 2437ff75d9bd: Pull complete [2023-06-12T18:05:48.095Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:05:48.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:05:48.095Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:05:48.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container [2023-06-12T18:05:48.370Z] $ 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/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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-06-12T18:05:51.160Z] $ docker top b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:05:52.014Z] ---> job-cost.sh [2023-06-12T18:05:52.014Z] lf-activate-venv: SKIPPING [2023-06-12T18:05:52.014Z] INFO: No Stack... [2023-06-12T18:05:52.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:05:53.188Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:05:53.832Z] + + catcut /w/workspace/device-mqtt-go/129/archives/cost.csv -d, [2023-06-12T18:05:53.832Z] -f6 [Pipeline] lock [2023-06-12T18:05:53.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [2023-06-12T18:05:53.928Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] did not exist. Created. [2023-06-12T18:05:53.928Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:05:54.588Z] /w/workspace/device-mqtt-go/129@tmp/durable-032ee939/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:05:55.249Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:05:55.267Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:05:55.321Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:05:55.330Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:05:55.348Z] $ docker stop --time=1 b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 [2023-06-12T18:05:56.892Z] $ docker rm -f --volumes b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 [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-06-12T18:05:57.241Z] provisioning config files... [2023-06-12T18:05:57.249Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12779545962114524872tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:05:57.539Z] + set +x [2023-06-12T18:05:57.539Z] + curl -s https://codecov.io/bash [2023-06-12T18:05:57.539Z] + bash -s -- [2023-06-12T18:05:57.539Z] [2023-06-12T18:05:57.539Z] _____ _ [2023-06-12T18:05:57.539Z] / ____| | | [2023-06-12T18:05:57.539Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:05:57.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:05:57.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:05:57.539Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:05:57.539Z] Bash-1.0.6 [2023-06-12T18:05:57.539Z] [2023-06-12T18:05:57.539Z] [2023-06-12T18:05:57.539Z] ==> git version 2.25.1 found [2023-06-12T18:05:57.539Z] ==> 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-06-12T18:05:57.539Z] Release-Date: 2020-01-08 [2023-06-12T18:05:57.539Z] 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-06-12T18:05:57.539Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:05:57.539Z] ==> Jenkins CI detected. [2023-06-12T18:05:57.539Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-06-12T18:05:57.539Z] project root: . [2023-06-12T18:05:57.539Z] --> token set from env [2023-06-12T18:05:57.539Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:05:57.539Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:05:57.539Z] ==> Python coveragepy not found [2023-06-12T18:05:57.539Z] ==> Searching for coverage reports in: [2023-06-12T18:05:57.539Z] + . [2023-06-12T18:05:57.539Z] -> Found 1 reports [2023-06-12T18:05:57.539Z] ==> Detecting git/mercurial file structure [2023-06-12T18:05:57.539Z] ==> Reading reports [2023-06-12T18:05:57.539Z] + ./coverage.out bytes=18506 [2023-06-12T18:05:57.539Z] ==> Appending adjustments [2023-06-12T18:05:57.539Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:05:57.799Z] + Found adjustments [2023-06-12T18:05:57.799Z] ==> Gzipping contents [2023-06-12T18:05:57.799Z] 4.0K /tmp/codecov.sdim7i.gz [2023-06-12T18:05:57.799Z] ==> Uploading reports [2023-06-12T18:05:57.799Z] url: https://codecov.io [2023-06-12T18:05:57.799Z] query: branch=main&commit=504ae262e254dce13e9a69f67e2e26f1d4ba9dab&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:05:57.799Z] -> Pinging Codecov [2023-06-12T18:05:57.799Z] 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=504ae262e254dce13e9a69f67e2e26f1d4ba9dab&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:05:58.059Z] -> Uploading to [2023-06-12T18:05:58.059Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7D719EC7BBE17E464838252E33014C33/504ae262e254dce13e9a69f67e2e26f1d4ba9dab/a7f57024-96b7-4917-9c48-940c075f8e28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=abc5eb67f91536974bfd764646946f1c6bebbf0d8cbd5aa43308a84893ffdc9c [2023-06-12T18:05:58.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:05:58.059Z] Dload Upload Total Spent Left Speed [2023-06-12T18:05:58.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17306 --:--:-- --:--:-- --:--:-- 17306 [2023-06-12T18:05:58.059Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } [2023-06-12T18:05:58.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T18:05:58.259Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T18:05:58.275Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:58.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:05:58.582Z] [2023-06-12T18:05:58.582Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:58.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:05:58.879Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T18:05:58.879Z] df9b9388f04a: Pulling fs layer [2023-06-12T18:05:58.879Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T18:05:58.879Z] 25bc292e5bac: Pulling fs layer [2023-06-12T18:05:58.879Z] 114826534d7a: Pulling fs layer [2023-06-12T18:05:58.879Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T18:05:58.879Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T18:05:58.879Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T18:05:58.879Z] 4657fd5d0bcf: Waiting [2023-06-12T18:05:58.879Z] 6ad1cebc031e: Waiting [2023-06-12T18:05:58.879Z] 8a3aa393b2d8: Waiting [2023-06-12T18:05:58.879Z] 114826534d7a: Waiting [2023-06-12T18:05:58.879Z] 25bc292e5bac: Verifying Checksum [2023-06-12T18:05:58.879Z] 25bc292e5bac: Download complete [2023-06-12T18:05:58.879Z] 52dc419b0ee2: Verifying Checksum [2023-06-12T18:05:58.879Z] 52dc419b0ee2: Download complete [2023-06-12T18:05:58.879Z] 4657fd5d0bcf: Download complete [2023-06-12T18:05:58.879Z] df9b9388f04a: Verifying Checksum [2023-06-12T18:05:58.879Z] df9b9388f04a: Download complete [2023-06-12T18:05:59.140Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T18:05:59.140Z] 6ad1cebc031e: Download complete [2023-06-12T18:05:59.140Z] df9b9388f04a: Pull complete [2023-06-12T18:05:59.140Z] 52dc419b0ee2: Pull complete [2023-06-12T18:05:59.140Z] 25bc292e5bac: Pull complete [2023-06-12T18:05:59.709Z] 114826534d7a: Download complete [2023-06-12T18:05:59.709Z] 8a3aa393b2d8: Verifying Checksum [2023-06-12T18:05:59.709Z] 8a3aa393b2d8: Download complete [2023-06-12T18:06:02.986Z] 114826534d7a: Pull complete [2023-06-12T18:06:02.986Z] 4657fd5d0bcf: Pull complete [2023-06-12T18:06:03.243Z] 6ad1cebc031e: Pull complete [2023-06-12T18:06:05.772Z] 8a3aa393b2d8: Pull complete [2023-06-12T18:06:05.772Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T18:06:05.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:06:05.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:05.867Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:05.909Z] $ 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-06-12T18:06:09.382Z] $ docker top 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T18:06:09.430Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-06-12T18:06:09.708Z] + set -o pipefail [2023-06-12T18:06:09.708Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-06-12T18:06:16.299Z] [2023-06-12T18:06:16.299Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-06-12T18:06:16.299Z] [2023-06-12T18:06:16.299Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/999af5cc-d6f6-490b-a6e3-63fe00b3e7c4 [2023-06-12T18:06:16.299Z] [2023-06-12T18:06:16.299Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-06-12T18:06:16.299Z] [2023-06-12T18:06:16.299Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T18:06:16.299Z] [2023-06-12T18:06:16.868Z] [2023-06-12T18:06:16.868Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T18:06:16.868Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T18:06:16.868Z] More details here: https://snyk.co/ue1NS [2023-06-12T18:06:16.868Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T18:06:16.869Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T18:06:16.893Z] $ docker stop --time=1 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 [2023-06-12T18:06:19.668Z] $ docker rm -f --volumes 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 [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-06-12T18:06:20.355Z] + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] sh [2023-06-12T18:06:20.646Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:06:20.646Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:20.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:06:20.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:21.010Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:21.053Z] $ 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-06-12T18:06:21.396Z] $ docker top 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e -eo pid,comm [2023-06-12T18:06:21.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-06-12T18:06:21.429Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:06:21.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:06:21.475Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:06:21.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:06:21.598Z] $ docker exec 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e ssh-agent [2023-06-12T18:06:21.685Z] SSH_AUTH_SOCK=/tmp/ssh-LHAGvTLVQuXc/agent.32 [2023-06-12T18:06:21.685Z] SSH_AGENT_PID=38 [2023-06-12T18:06:21.691Z] Running ssh-add (command line suppressed) [2023-06-12T18:06:21.805Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9658342036215277012.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9658342036215277012.key) [2023-06-12T18:06:21.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:06:22.097Z] + git semver tag [2023-06-12T18:06:22.355Z] 2023-06-12 18:06:22,277 [run_tag] DEBUG tag force:False [2023-06-12T18:06:22.355Z] 2023-06-12 18:06:22,277 [check_head_tag] DEBUG check head tag [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,277 [execute] INFO git cat-file --batch-check [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,281 [execute] INFO git cat-file --batch [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,289 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,289 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:06:22.356Z] 2023-06-12 18:06:22,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:22.356Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T18:06:22.377Z] $ docker exec --env ******** --env ******** 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e ssh-agent -k [2023-06-12T18:06:22.474Z] unset SSH_AUTH_SOCK; [2023-06-12T18:06:22.475Z] unset SSH_AGENT_PID; [2023-06-12T18:06:22.475Z] echo Agent pid 38 killed; [2023-06-12T18:06:22.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:06:22.787Z] + git semver [Pipeline] } [2023-06-12T18:06:23.072Z] $ docker stop --time=1 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e [2023-06-12T18:06:24.323Z] $ docker rm -f --volumes 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:24.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:06:24.687Z] [2023-06-12T18:06:24.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:24.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:06:24.982Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T18:06:24.982Z] ab5ef0e58194: Pulling fs layer [2023-06-12T18:06:24.982Z] 9712f1f96733: Pulling fs layer [2023-06-12T18:06:24.982Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T18:06:24.982Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T18:06:24.982Z] e9a5061849ea: Pulling fs layer [2023-06-12T18:06:24.982Z] d747dcd14b5f: Pulling fs layer [2023-06-12T18:06:24.982Z] 2de7ff778b66: Pulling fs layer [2023-06-12T18:06:24.982Z] e9a5061849ea: Waiting [2023-06-12T18:06:24.982Z] d747dcd14b5f: Waiting [2023-06-12T18:06:24.982Z] 2de7ff778b66: Waiting [2023-06-12T18:06:24.982Z] 0d9ebad4ef96: Waiting [2023-06-12T18:06:24.982Z] 9712f1f96733: Download complete [2023-06-12T18:06:25.242Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T18:06:25.242Z] 63f879dbbcfc: Download complete [2023-06-12T18:06:25.501Z] e9a5061849ea: Verifying Checksum [2023-06-12T18:06:25.501Z] e9a5061849ea: Download complete [2023-06-12T18:06:25.501Z] d747dcd14b5f: Verifying Checksum [2023-06-12T18:06:25.501Z] d747dcd14b5f: Download complete [2023-06-12T18:06:25.501Z] ab5ef0e58194: Verifying Checksum [2023-06-12T18:06:25.501Z] ab5ef0e58194: Download complete [2023-06-12T18:06:25.501Z] 0d9ebad4ef96: Verifying Checksum [2023-06-12T18:06:25.501Z] 0d9ebad4ef96: Download complete [2023-06-12T18:06:25.501Z] 2de7ff778b66: Verifying Checksum [2023-06-12T18:06:25.501Z] 2de7ff778b66: Download complete [2023-06-12T18:06:28.026Z] ab5ef0e58194: Pull complete [2023-06-12T18:06:28.026Z] 9712f1f96733: Pull complete [2023-06-12T18:06:28.591Z] 63f879dbbcfc: Pull complete [2023-06-12T18:06:32.774Z] 0d9ebad4ef96: Pull complete [2023-06-12T18:06:32.775Z] e9a5061849ea: Pull complete [2023-06-12T18:06:32.775Z] d747dcd14b5f: Pull complete [2023-06-12T18:06:33.342Z] 2de7ff778b66: Pull complete [2023-06-12T18:06:33.342Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T18:06:33.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:06:33.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:33.427Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:33.481Z] $ 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-06-12T18:06:37.821Z] $ docker top 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:06:37.883Z] provisioning config files... [2023-06-12T18:06:37.889Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1381123329271183607tmp [2023-06-12T18:06:37.897Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12235916423999162292tmp [2023-06-12T18:06:37.904Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6343800419765789647tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:06:37.919Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:38.200Z] ---> sigul-configuration.sh [2023-06-12T18:06:38.200Z] gpg: directory `/root/.gnupg' created [2023-06-12T18:06:38.200Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T18:06:38.200Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T18:06:38.200Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T18:06:38.200Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T18:06:38.200Z] gpg: CAST5 encrypted data [2023-06-12T18:06:38.200Z] gpg: encrypted with 1 passphrase [2023-06-12T18:06:38.200Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T18:06:38.484Z] + mkdir /home/jenkins [2023-06-12T18:06:38.484Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T18:06:38.767Z] + 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-06-12T18:06:38.777Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:39.065Z] ---> sigul-install.sh [2023-06-12T18:06:39.065Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T18:06:39.361Z] + git tag --list [2023-06-12T18:06:39.361Z] 0.7.1 [2023-06-12T18:06:39.361Z] v1.0.0 [2023-06-12T18:06:39.361Z] v1.1.0 [2023-06-12T18:06:39.361Z] v1.1.1 [2023-06-12T18:06:39.361Z] v1.2.2 [2023-06-12T18:06:39.361Z] v1.3.0 [2023-06-12T18:06:39.361Z] v1.3.1 [2023-06-12T18:06:39.361Z] v2.0.0 [2023-06-12T18:06:39.361Z] v2.1.0 [2023-06-12T18:06:39.361Z] v2.1.1 [2023-06-12T18:06:39.361Z] v2.2.0 [2023-06-12T18:06:39.361Z] v2.3.0 [2023-06-12T18:06:39.361Z] v3.0 [2023-06-12T18:06:39.361Z] v3.0.0 [2023-06-12T18:06:39.361Z] v3.1.0-dev.1 [Pipeline] sh [2023-06-12T18:06:39.650Z] + lftools sign git-tag v3.1.0-dev.1 [2023-06-12T18:06:40.217Z] Signing Git tag with Sigul... [2023-06-12T18:06:40.217Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-06-12T18:06:40.486Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:40.771Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T18:06:40.779Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T18:06:40.808Z] $ docker stop --time=1 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 [2023-06-12T18:06:42.082Z] $ docker rm -f --volumes 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T18:06:42.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:06:42.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:42.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:06:42.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:42.835Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:42.873Z] $ 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-06-12T18:06:43.180Z] $ docker top 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b -eo pid,comm [2023-06-12T18:06:43.213Z] 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-06-12T18:06:43.213Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:06:43.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:06:43.242Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:06:43.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:06:43.355Z] $ docker exec 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b ssh-agent [2023-06-12T18:06:43.439Z] SSH_AUTH_SOCK=/tmp/ssh-3VSvSlWOEKhC/agent.33 [2023-06-12T18:06:43.439Z] SSH_AGENT_PID=39 [2023-06-12T18:06:43.444Z] Running ssh-add (command line suppressed) [2023-06-12T18:06:43.546Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2741744272613359967.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2741744272613359967.key) [2023-06-12T18:06:43.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:06:43.828Z] + git semver bump pre [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,002 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,004 [execute] INFO git cat-file --batch-check [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,010 [execute] INFO git cat-file --batch [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:06:44.089Z] 2023-06-12 18:06:44,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:44.089Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:06:44.110Z] $ docker exec --env ******** --env ******** 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b ssh-agent -k [2023-06-12T18:06:44.198Z] unset SSH_AUTH_SOCK; [2023-06-12T18:06:44.198Z] unset SSH_AGENT_PID; [2023-06-12T18:06:44.199Z] echo Agent pid 39 killed; [2023-06-12T18:06:44.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:06:44.507Z] + git semver [Pipeline] } [2023-06-12T18:06:44.791Z] $ docker stop --time=1 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b [2023-06-12T18:06:46.072Z] $ docker rm -f --volumes 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:06:46.395Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:06:46.395Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:46.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:06:46.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:46.761Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:46.803Z] $ 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-06-12T18:06:47.154Z] $ docker top bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 -eo pid,comm [2023-06-12T18:06:47.189Z] 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-06-12T18:06:47.189Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:06:47.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:06:47.233Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:06:47.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:06:47.353Z] $ docker exec bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 ssh-agent [2023-06-12T18:06:47.437Z] SSH_AUTH_SOCK=/tmp/ssh-ywCfQkQTwp0z/agent.32 [2023-06-12T18:06:47.437Z] SSH_AGENT_PID=38 [2023-06-12T18:06:47.442Z] Running ssh-add (command line suppressed) [2023-06-12T18:06:47.550Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9919338450582383880.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9919338450582383880.key) [2023-06-12T18:06:47.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:06:47.840Z] + git semver push [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,042 [run_push] DEBUG push [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,043 [execute] INFO git cat-file --batch-check [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,047 [execute] INFO git rev-list d96bb7948286ad22976173f5ac572f28c15cf82f -- [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,047 [execute] DEBUG Popen(['git', 'rev-list', 'd96bb7948286ad22976173f5ac572f28c15cf82f', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,057 [execute] INFO git fetch -v origin [2023-06-12T18:06:48.099Z] 2023-06-12 18:06:48,057 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T18:06:48.668Z] 2023-06-12 18:06:48,528 [run_push] DEBUG no remote changes detected [2023-06-12T18:06:48.668Z] 2023-06-12 18:06:48,528 [execute] INFO git push origin semver [2023-06-12T18:06:48.668Z] 2023-06-12 18:06:48,529 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:06:49.606Z] 2023-06-12 18:06:49,293 [run_push] DEBUG push all version tags [2023-06-12T18:06:49.606Z] 2023-06-12 18:06:49,294 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T18:06:49.606Z] 2023-06-12 18:06:49,294 [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-06-12T18:06:50.175Z] 2023-06-12 18:06:50,068 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-06-12T18:06:50.175Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:06:50.198Z] $ docker exec --env ******** --env ******** bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 ssh-agent -k [2023-06-12T18:06:50.289Z] unset SSH_AUTH_SOCK; [2023-06-12T18:06:50.289Z] unset SSH_AGENT_PID; [2023-06-12T18:06:50.289Z] echo Agent pid 38 killed; [2023-06-12T18:06:50.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:06:50.602Z] + git semver [Pipeline] } [2023-06-12T18:06:50.888Z] $ docker stop --time=1 bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 [2023-06-12T18:06:52.151Z] $ docker rm -f --volumes bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 [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-06-12T18:06:52.696Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-06-12T18:06:52.696Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:06:52.696Z] total 16 [2023-06-12T18:06:52.696Z] drwxr-xr-x 3 root root 4096 Jun 12 17:55 . [2023-06-12T18:06:52.696Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:06 .. [2023-06-12T18:06:52.696Z] drwxr-xr-x 2 root root 4096 Jun 12 17:55 cost [2023-06-12T18:06:52.696Z] -rw-r--r-- 1 root root 86 Jun 12 17:55 cost.csv [2023-06-12T18:06:52.696Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:06:52.696Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-06-12T18:06:52.696Z] total 16 [2023-06-12T18:06:52.696Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:55 . [2023-06-12T18:06:52.696Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:06 .. [2023-06-12T18:06:52.696Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:55 cost [2023-06-12T18:06:52.696Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 12 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:52.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:53.958Z] ---> package-listing.sh [2023-06-12T18:06:53.959Z] ++ facter osfamily [2023-06-12T18:06:53.959Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:06:53.959Z] + OS_FAMILY=debian [2023-06-12T18:06:53.959Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-06-12T18:06:53.959Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:06:53.959Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:06:53.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:06:53.959Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:06:53.959Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-06-12T18:06:53.959Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:06:53.959Z] + case "${OS_FAMILY}" in [2023-06-12T18:06:53.959Z] + dpkg -l [2023-06-12T18:06:53.959Z] + grep '^ii' [2023-06-12T18:06:54.253Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:06:54.253Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:06:54.253Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:06:54.253Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-06-12T18:06:54.253Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-06-12T18:06:54.253Z] + 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-06-12T18:06:54.290Z] 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-06-12T18:06:54.570Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:06:55.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:06:55.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:06:55.195Z] prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container [2023-06-12T18:06:55.237Z] $ 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-06-12T18:06:55.430Z] $ docker top af413210b52ddf0c8629089d8652a96b051f88a3a69fb0c17ae35a628dc12f3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:06:55.768Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:06:56.054Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:06:56.377Z] + ls /var/log/sa-host [2023-06-12T18:06:56.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:06:56.451Z] provisioning config files... [2023-06-12T18:06:56.457Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6410131807339539657tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:06:56.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:56.750Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:06:56.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:57.083Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:06:57.090Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:57.374Z] ---> sudo-logs.sh [2023-06-12T18:06:57.374Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:06:57.407Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:57.688Z] ---> job-cost.sh [2023-06-12T18:06:57.688Z] lf-activate-venv: SKIPPING [2023-06-12T18:06:57.688Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:06:57.688Z] INFO: Retrieving Stack Cost... [2023-06-12T18:06:57.947Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:06:58.513Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:06:58.526Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:06:58.811Z] ---> logs-deploy.sh [2023-06-12T18:06:58.811Z] lf-activate-venv: SKIPPING [2023-06-12T18:06:58.811Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/129 [2023-06-12T18:06:58.811Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:06:59.744Z] Archives upload complete. [2023-06-12T18:06:59.744Z] INFO: archiving logs to Nexus