Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a35f1d313b93b1afef0ede40251cd94a3668512 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-ssh11630627734733872004.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10532692264228458276.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6261441609967689315.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6740300477468269753.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-ssh12422318655485859400.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-2272 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 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) Commit message: "Merge pull request #527 from lenny-intel/go-1.20" > 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-list --no-walk 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T20:40:27.266Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T20:40:27.323Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T20:40:27.342Z] ========================================================= [2023-03-15T20:40:27.342Z] EdgeX Global Pipelines Version Info [2023-03-15T20:40:27.342Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:40:28.034Z] ------------------- [2023-03-15T20:40:28.034Z] stable info: [2023-03-15T20:40:28.034Z] ------------------- [2023-03-15T20:40:28.034Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T20:40:28.034Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T20:40:28.034Z] Message: update stable to v1.0.245 [2023-03-15T20:40:28.604Z] ------------------- [2023-03-15T20:40:28.604Z] experimental info: [2023-03-15T20:40:28.604Z] ------------------- [2023-03-15T20:40:28.604Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T20:40:28.604Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T20:40:28.604Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T20:40:28.768Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-15T20:40:28.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-15T20:40:28.792Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T20:40:28.808Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T20:40:28.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T20:40:28.829Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T20:40:28.842Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T20:40:28.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T20:40:28.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T20:40:28.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T20:40:28.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T20:40:28.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-15T20:40:28.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T20:40:28.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T20:40:28.947Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T20:40:28.963Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T20:40:28.971Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T20:40:28.982Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T20:40:28.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T20:40:29.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T20:40:29.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T20:40:29.037Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T20:40:29.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T20:40:29.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T20:40:29.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T20:40:29.081Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T20:40:29.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T20:40:29.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T20:40:29.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T20:40:29.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T20:40:29.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T20:40:29.166Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a35f1d [Pipeline] echo [2023-03-15T20:40:29.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T20:40:29.224Z] provisioning config files... [2023-03-15T20:40:29.239Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16760485477790889020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:40:29.538Z] ---> docker-login.sh [2023-03-15T20:40:29.538Z] nexus3.edgexfoundry.org:10001 [2023-03-15T20:40:29.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:29.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:29.798Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:29.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:29.798Z] [2023-03-15T20:40:29.798Z] Login Succeeded [2023-03-15T20:40:29.798Z] nexus3.edgexfoundry.org:10002 [2023-03-15T20:40:29.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:30.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:30.057Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:30.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:30.057Z] [2023-03-15T20:40:30.057Z] Login Succeeded [2023-03-15T20:40:30.057Z] nexus3.edgexfoundry.org:10003 [2023-03-15T20:40:30.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:30.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:30.057Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:30.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:30.057Z] [2023-03-15T20:40:30.057Z] Login Succeeded [2023-03-15T20:40:30.057Z] nexus3.edgexfoundry.org:10004 [2023-03-15T20:40:30.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:30.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:30.317Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:30.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:30.317Z] [2023-03-15T20:40:30.317Z] Login Succeeded [2023-03-15T20:40:30.317Z] docker.io [2023-03-15T20:40:30.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:30.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:30.577Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:30.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:30.577Z] [2023-03-15T20:40:30.577Z] Login Succeeded [2023-03-15T20:40:30.577Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T20:40:30.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T20:40:30.934Z] + git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T20:40:30.977Z] -----------> git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:40:30.977Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [false] [Pipeline] sh [2023-03-15T20:40:31.261Z] + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T20:40:31.290Z] ========================================================= [2023-03-15T20:40:31.290Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T20:40:31.290Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T20:40:31.612Z] + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T20:40:31.622Z] [semverPrep] GIT_COMMIT: 4a35f1d313b93b1afef0ede40251cd94a3668512, Commit Message: Merge pull request #527 from lenny-intel/go-1.20 [Pipeline] echo [2023-03-15T20:40:31.633Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T20:40:31.986Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T20:40:31.986Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T20:40:31.986Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T20:40:31.986Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T20:40:31.986Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T20:40:31.986Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T20:40:31.986Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:40:32.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:40:32.393Z] [2023-03-15T20:40:32.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:40:32.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:40:32.700Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T20:40:32.700Z] b85a868b505f: Pulling fs layer [2023-03-15T20:40:32.700Z] e2be974225ed: Pulling fs layer [2023-03-15T20:40:32.700Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T20:40:32.700Z] 988bab9f4d93: Pulling fs layer [2023-03-15T20:40:32.700Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T20:40:32.700Z] eaf3925da568: Pulling fs layer [2023-03-15T20:40:32.700Z] bab4dde63d76: Pulling fs layer [2023-03-15T20:40:32.700Z] bde34c3a00c8: Pulling fs layer [2023-03-15T20:40:32.700Z] b352a97aabf1: Pulling fs layer [2023-03-15T20:40:32.700Z] 4872d77fe225: Pulling fs layer [2023-03-15T20:40:32.700Z] 5851b861e8e6: Pulling fs layer [2023-03-15T20:40:32.700Z] eaf3925da568: Waiting [2023-03-15T20:40:32.700Z] b352a97aabf1: Waiting [2023-03-15T20:40:32.700Z] bab4dde63d76: Waiting [2023-03-15T20:40:32.700Z] 4872d77fe225: Waiting [2023-03-15T20:40:32.700Z] 5851b861e8e6: Waiting [2023-03-15T20:40:32.700Z] 988bab9f4d93: Waiting [2023-03-15T20:40:32.700Z] 1469e6f7b9e6: Waiting [2023-03-15T20:40:32.700Z] e2be974225ed: Download complete [2023-03-15T20:40:32.700Z] 988bab9f4d93: Download complete [2023-03-15T20:40:32.960Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T20:40:32.960Z] 1469e6f7b9e6: Download complete [2023-03-15T20:40:32.960Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T20:40:32.960Z] 339a4e72a1f5: Download complete [2023-03-15T20:40:32.960Z] eaf3925da568: Download complete [2023-03-15T20:40:32.960Z] bde34c3a00c8: Download complete [2023-03-15T20:40:32.960Z] b352a97aabf1: Verifying Checksum [2023-03-15T20:40:32.960Z] b352a97aabf1: Download complete [2023-03-15T20:40:32.960Z] 4872d77fe225: Download complete [2023-03-15T20:40:33.220Z] 5851b861e8e6: Download complete [2023-03-15T20:40:33.220Z] b85a868b505f: Verifying Checksum [2023-03-15T20:40:33.220Z] b85a868b505f: Download complete [2023-03-15T20:40:33.478Z] bab4dde63d76: Verifying Checksum [2023-03-15T20:40:33.478Z] bab4dde63d76: Download complete [2023-03-15T20:40:34.416Z] b85a868b505f: Pull complete [2023-03-15T20:40:34.416Z] e2be974225ed: Pull complete [2023-03-15T20:40:34.984Z] 339a4e72a1f5: Pull complete [2023-03-15T20:40:34.984Z] 988bab9f4d93: Pull complete [2023-03-15T20:40:35.554Z] 1469e6f7b9e6: Pull complete [2023-03-15T20:40:35.554Z] eaf3925da568: Pull complete [2023-03-15T20:40:37.480Z] bab4dde63d76: Pull complete [2023-03-15T20:40:37.480Z] bde34c3a00c8: Pull complete [2023-03-15T20:40:37.480Z] b352a97aabf1: Pull complete [2023-03-15T20:40:37.739Z] 4872d77fe225: Pull complete [2023-03-15T20:40:37.739Z] 5851b861e8e6: Pull complete [2023-03-15T20:40:37.739Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T20:40:37.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:40:37.739Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:40:37.837Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:40:37.872Z] $ 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-03-15T20:40:40.031Z] $ docker top eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd -eo pid,comm [2023-03-15T20:40:40.088Z] 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-03-15T20:40:40.088Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T20:40:40.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T20:40:40.118Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T20:40:40.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T20:40:40.242Z] $ docker exec eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent [2023-03-15T20:40:40.350Z] SSH_AUTH_SOCK=/tmp/ssh-KGiyZ54EYm9f/agent.32 [2023-03-15T20:40:40.350Z] SSH_AGENT_PID=38 [2023-03-15T20:40:40.357Z] Running ssh-add (command line suppressed) [2023-03-15T20:40:40.454Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12810478232208630483.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12810478232208630483.key) [2023-03-15T20:40:40.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T20:40:40.755Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T20:40:40.774Z] $ docker exec --env ******** --env ******** eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent -k [2023-03-15T20:40:40.879Z] unset SSH_AUTH_SOCK; [2023-03-15T20:40:40.880Z] unset SSH_AGENT_PID; [2023-03-15T20:40:40.880Z] echo Agent pid 38 killed; [2023-03-15T20:40:40.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T20:40:40.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T20:40:40.909Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T20:40:41.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T20:40:41.027Z] $ docker exec eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent [2023-03-15T20:40:41.142Z] SSH_AUTH_SOCK=/tmp/ssh-rfOEyeINMB7p/agent.70 [2023-03-15T20:40:41.142Z] SSH_AGENT_PID=76 [2023-03-15T20:40:41.147Z] Running ssh-add (command line suppressed) [2023-03-15T20:40:41.262Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3754735135672343606.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3754735135672343606.key) [2023-03-15T20:40:41.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T20:40:41.569Z] + git semver init [2023-03-15T20:40:41.828Z] 2023-03-15 20:40:41,753 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T20:40:41.828Z] 2023-03-15 20:40:41,754 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-03-15T20:40:41.828Z] 2023-03-15 20:40:41,754 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-03-15T20:40:41.828Z] 2023-03-15 20:40:41,754 [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-03-15T20:40:42.769Z] 2023-03-15 20:40:42,499 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-03-15T20:40:42.769Z] 2023-03-15 20:40:42,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-03-15T20:40:42.769Z] 2023-03-15 20:40:42,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:40:42.769Z] 2023-03-15 20:40:42,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:40:42.769Z] 3.0.0-dev.12 [Pipeline] } [2023-03-15T20:40:42.778Z] $ docker exec --env ******** --env ******** eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent -k [2023-03-15T20:40:42.872Z] unset SSH_AUTH_SOCK; [2023-03-15T20:40:42.874Z] unset SSH_AGENT_PID; [2023-03-15T20:40:42.874Z] echo Agent pid 76 killed; [2023-03-15T20:40:42.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T20:40:43.183Z] + git semver [Pipeline] } [2023-03-15T20:40:43.455Z] $ docker stop --time=1 eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd [2023-03-15T20:40:44.760Z] $ docker rm -f --volumes eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T20:40:45.108Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T20:40:45.339Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T20:40:45.341Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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-03-15T20:40:45.459Z] provisioning config files... [2023-03-15T20:40:45.469Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6839035427389780645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:40:45.793Z] ---> docker-login.sh [2023-03-15T20:40:45.793Z] nexus3.edgexfoundry.org:10001 [2023-03-15T20:40:45.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:45.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:45.793Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:45.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:45.793Z] [2023-03-15T20:40:45.793Z] Login Succeeded [2023-03-15T20:40:45.793Z] nexus3.edgexfoundry.org:10002 [2023-03-15T20:40:45.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:45.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:45.793Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:45.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:45.793Z] [2023-03-15T20:40:45.793Z] Login Succeeded [2023-03-15T20:40:45.793Z] nexus3.edgexfoundry.org:10003 [2023-03-15T20:40:46.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:46.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:46.052Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:46.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:46.052Z] [2023-03-15T20:40:46.052Z] Login Succeeded [2023-03-15T20:40:46.052Z] nexus3.edgexfoundry.org:10004 [2023-03-15T20:40:46.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:46.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:46.052Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:46.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:46.052Z] [2023-03-15T20:40:46.052Z] Login Succeeded [2023-03-15T20:40:46.052Z] docker.io [2023-03-15T20:40:46.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:40:46.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:40:46.313Z] Configure a credential helper to remove this warning. See [2023-03-15T20:40:46.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:40:46.313Z] [2023-03-15T20:40:46.313Z] Login Succeeded [2023-03-15T20:40:46.313Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T20:40:46.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T20:40:46.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:40:46.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:40:46.392Z] ========================================================= [2023-03-15T20:40:46.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T20:40:46.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:40:46.701Z] + 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-03-15T20:40:46.701Z] Sending build context to Docker daemon 6.366MB [2023-03-15T20:40:46.701Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T20:40:46.701Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T20:40:46.701Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T20:40:46.701Z] 63b65145d645: Pulling fs layer [2023-03-15T20:40:46.701Z] a2d21d5440eb: Pulling fs layer [2023-03-15T20:40:46.701Z] 935e6c44a52c: Pulling fs layer [2023-03-15T20:40:46.701Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T20:40:46.701Z] 30dea6a524f1: Pulling fs layer [2023-03-15T20:40:46.701Z] a2aff8979fd8: Pulling fs layer [2023-03-15T20:40:46.701Z] 6808be2612f2: Pulling fs layer [2023-03-15T20:40:46.701Z] f25807f1079a: Pulling fs layer [2023-03-15T20:40:46.701Z] 94cc34f8dd06: Waiting [2023-03-15T20:40:46.701Z] 30dea6a524f1: Waiting [2023-03-15T20:40:46.701Z] a2aff8979fd8: Waiting [2023-03-15T20:40:46.701Z] f25807f1079a: Waiting [2023-03-15T20:40:46.701Z] 6808be2612f2: Waiting [2023-03-15T20:40:46.701Z] a2d21d5440eb: Verifying Checksum [2023-03-15T20:40:46.701Z] a2d21d5440eb: Download complete [2023-03-15T20:40:46.701Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T20:40:46.701Z] 94cc34f8dd06: Download complete [2023-03-15T20:40:46.962Z] 30dea6a524f1: Verifying Checksum [2023-03-15T20:40:46.962Z] 30dea6a524f1: Download complete [2023-03-15T20:40:46.962Z] 63b65145d645: Verifying Checksum [2023-03-15T20:40:46.962Z] 63b65145d645: Download complete [2023-03-15T20:40:46.962Z] a2aff8979fd8: Verifying Checksum [2023-03-15T20:40:46.962Z] a2aff8979fd8: Download complete [2023-03-15T20:40:46.962Z] 63b65145d645: Pull complete [2023-03-15T20:40:47.226Z] a2d21d5440eb: Pull complete [2023-03-15T20:40:47.486Z] f25807f1079a: Download complete [2023-03-15T20:40:47.486Z] 935e6c44a52c: Download complete [2023-03-15T20:40:47.745Z] 6808be2612f2: Verifying Checksum [2023-03-15T20:40:47.745Z] 6808be2612f2: Download complete [2023-03-15T20:40:51.026Z] 935e6c44a52c: Pull complete [2023-03-15T20:40:51.026Z] 94cc34f8dd06: Pull complete [2023-03-15T20:40:51.026Z] 30dea6a524f1: Pull complete [2023-03-15T20:40:51.026Z] a2aff8979fd8: Pull complete [2023-03-15T20:40:53.553Z] 6808be2612f2: Pull complete [2023-03-15T20:40:54.122Z] f25807f1079a: Pull complete [2023-03-15T20:40:54.122Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T20:40:54.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T20:40:54.122Z] ---> 3b553350e43f [2023-03-15T20:40:54.122Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T20:40:58.325Z] ---> Running in a4e45d8c46ff [2023-03-15T20:40:58.325Z] Removing intermediate container a4e45d8c46ff [2023-03-15T20:40:58.325Z] ---> 393142052f1a [2023-03-15T20:40:58.325Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T20:40:58.325Z] ---> Running in d17f74cfffc1 [2023-03-15T20:40:58.325Z] Removing intermediate container d17f74cfffc1 [2023-03-15T20:40:58.325Z] ---> 54d12200b9c3 [2023-03-15T20:40:58.325Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T20:40:58.325Z] ---> Running in d3d806bae84d [2023-03-15T20:40:58.325Z] Removing intermediate container d3d806bae84d [2023-03-15T20:40:58.325Z] ---> 939433b226e5 [2023-03-15T20:40:58.325Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T20:40:58.325Z] ---> Running in b0110326c725 [2023-03-15T20:40:58.325Z] Removing intermediate container b0110326c725 [2023-03-15T20:40:58.325Z] ---> d6da2baab461 [2023-03-15T20:40:58.325Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T20:40:58.584Z] ---> Running in 43147c428350 [2023-03-15T20:40:58.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T20:40:58.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T20:40:59.102Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T20:40:59.102Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T20:40:59.102Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T20:40:59.102Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T20:40:59.102Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T20:40:59.102Z] OK: 269 MiB in 57 packages [2023-03-15T20:40:59.669Z] Removing intermediate container 43147c428350 [2023-03-15T20:40:59.669Z] ---> cd1476abfe00 [2023-03-15T20:40:59.669Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T20:40:59.669Z] ---> Running in 5aa83b127389 [2023-03-15T20:40:59.669Z] Removing intermediate container 5aa83b127389 [2023-03-15T20:40:59.669Z] ---> 38568a3e3d23 [2023-03-15T20:40:59.669Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T20:40:59.927Z] ---> 47f95175cccb [2023-03-15T20:40:59.927Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T20:40:59.927Z] ---> Running in 5b4f16504c46 [2023-03-15T20:41:00.429Z] Still waiting to schedule task [2023-03-15T20:41:00.429Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T20:41:26.475Z] Removing intermediate container 5b4f16504c46 [2023-03-15T20:41:26.475Z] ---> b69bdd69025c [2023-03-15T20:41:26.475Z] Step 11/12 : COPY . . [2023-03-15T20:41:26.475Z] ---> 04258b57ed26 [2023-03-15T20:41:26.475Z] Step 12/12 : RUN $MAKE [2023-03-15T20:41:26.475Z] ---> Running in 2356bbb34712 [2023-03-15T20:41:26.475Z] noop [2023-03-15T20:41:26.475Z] Removing intermediate container 2356bbb34712 [2023-03-15T20:41:26.475Z] ---> bfe3e5c1f0f0 [2023-03-15T20:41:26.475Z] Successfully built bfe3e5c1f0f0 [2023-03-15T20:41:26.475Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:41:26.785Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T20:41:26.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:41:26.857Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:41:26.883Z] $ 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-03-15T20:41:27.266Z] $ docker top 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T20:41:27.612Z] + go version [2023-03-15T20:41:27.612Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T20:41:27.622Z] $ docker stop --time=1 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 [2023-03-15T20:41:28.878Z] $ docker rm -f --volumes 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:41:29.267Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T20:41:29.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:41:29.336Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:41:29.365Z] $ 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-03-15T20:41:29.738Z] $ docker top f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T20:41:30.081Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T20:41:30.376Z] + make test [2023-03-15T20:41:30.376Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T20:41:35.645Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T20:41:45.613Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T20:41:45.613Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T20:41:45.613Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.2% of statements [2023-03-15T20:41:53.727Z] go vet ./... [2023-03-15T20:41:56.266Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T20:41:56.266Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T20:41:56.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T20:41:56.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T20:41:56.289Z] $ docker stop --time=1 f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 [2023-03-15T20:41:58.513Z] $ docker rm -f --volumes f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T20:41:58.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T20:41:59.025Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T20:41:59.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T20:41:59.788Z] + ls -al . [2023-03-15T20:41:59.789Z] total 180 [2023-03-15T20:41:59.789Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 20:41 . [2023-03-15T20:41:59.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:40 .. [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 20:40 .dockerignore [2023-03-15T20:41:59.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:40 .git [2023-03-15T20:41:59.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 .github [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 20:40 .gitignore [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:40 .golangci.yml [2023-03-15T20:41:59.789Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:40 .semver [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 20:40 Attribution.txt [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 20:40 CHANGELOG.md [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 20:40 Dockerfile [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:40 GOVERNANCE.md [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 20:40 Jenkinsfile [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:40 LICENSE [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 20:40 Makefile [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:40 OWNERS.md [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 20:40 README.md [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 20:40 VERSION [2023-03-15T20:41:59.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:40 bin [2023-03-15T20:41:59.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 cmd [2023-03-15T20:41:59.789Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 20:41 coverage.out [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 20:40 go.mod [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 20:40 go.sum [2023-03-15T20:41:59.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 internal [2023-03-15T20:41:59.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:40 mock [2023-03-15T20:41:59.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:40 snap [2023-03-15T20:41:59.789Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:00.097Z] + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-03-15T20:42:00.097Z] Sending build context to Docker daemon 6.385MB [2023-03-15T20:42:00.097Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T20:42:00.097Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T20:42:00.097Z] ---> bfe3e5c1f0f0 [2023-03-15T20:42:00.097Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T20:42:00.097Z] ---> Running in 3867f41bc4ed [2023-03-15T20:42:00.355Z] Removing intermediate container 3867f41bc4ed [2023-03-15T20:42:00.355Z] ---> eea98c12acae [2023-03-15T20:42:00.355Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T20:42:00.355Z] ---> Running in 1cc622e6b36f [2023-03-15T20:42:00.355Z] Removing intermediate container 1cc622e6b36f [2023-03-15T20:42:00.355Z] ---> 5fd2cf0a7d66 [2023-03-15T20:42:00.355Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T20:42:00.355Z] ---> Running in 3acb36acf7be [2023-03-15T20:42:00.613Z] Removing intermediate container 3acb36acf7be [2023-03-15T20:42:00.613Z] ---> e485ba7d4003 [2023-03-15T20:42:00.613Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T20:42:00.613Z] ---> Running in 3d0d1ae1448c [2023-03-15T20:42:00.613Z] Removing intermediate container 3d0d1ae1448c [2023-03-15T20:42:00.613Z] ---> 2109808720c2 [2023-03-15T20:42:00.613Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T20:42:00.613Z] ---> Running in 8e10b158c206 [2023-03-15T20:42:00.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T20:42:01.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T20:42:01.388Z] OK: 269 MiB in 57 packages [2023-03-15T20:42:01.649Z] Removing intermediate container 8e10b158c206 [2023-03-15T20:42:01.649Z] ---> 03b799a9c107 [2023-03-15T20:42:01.649Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T20:42:01.649Z] ---> Running in 215e5e14da51 [2023-03-15T20:42:01.908Z] Removing intermediate container 215e5e14da51 [2023-03-15T20:42:01.908Z] ---> c472a369fbb1 [2023-03-15T20:42:01.908Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T20:42:01.908Z] ---> b39fcc88b7d2 [2023-03-15T20:42:01.908Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T20:42:01.908Z] ---> Running in e5ddfb4ba360 [2023-03-15T20:42:02.850Z] Removing intermediate container e5ddfb4ba360 [2023-03-15T20:42:02.850Z] ---> 16632fd89892 [2023-03-15T20:42:02.850Z] Step 11/24 : COPY . . [2023-03-15T20:42:03.109Z] ---> df994b003f9b [2023-03-15T20:42:03.109Z] Step 12/24 : RUN $MAKE [2023-03-15T20:42:03.109Z] ---> Running in 81217c62157e [2023-03-15T20:42:03.368Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T20:42:21.624Z] Removing intermediate container 81217c62157e [2023-03-15T20:42:21.624Z] ---> 5c399d626302 [2023-03-15T20:42:21.624Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T20:42:21.900Z] 3.17: Pulling from library/alpine [2023-03-15T20:42:22.172Z] 63b65145d645: Already exists [2023-03-15T20:42:22.172Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T20:42:22.172Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T20:42:22.172Z] ---> b2aa39c304c2 [2023-03-15T20:42:22.172Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T20:42:22.172Z] ---> Running in fee6d833efa0 [2023-03-15T20:42:22.434Z] Removing intermediate container fee6d833efa0 [2023-03-15T20:42:22.434Z] ---> 180b02d552b1 [2023-03-15T20:42:22.434Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T20:42:22.434Z] ---> Running in b29e277e63c9 [2023-03-15T20:42:22.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T20:42:22.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T20:42:22.954Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T20:42:22.954Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T20:42:22.954Z] OK: 7 MiB in 16 packages [2023-03-15T20:42:23.218Z] Removing intermediate container b29e277e63c9 [2023-03-15T20:42:23.218Z] ---> a9eaf69a1d76 [2023-03-15T20:42:23.218Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T20:42:24.172Z] ---> 6eb87c25889c [2023-03-15T20:42:24.172Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T20:42:24.172Z] ---> 3292cc5ac041 [2023-03-15T20:42:24.172Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T20:42:24.434Z] ---> 97d59278234b [2023-03-15T20:42:24.434Z] Step 19/24 : EXPOSE 59982 [2023-03-15T20:42:24.434Z] ---> Running in a1ce26a7bda7 [2023-03-15T20:42:24.434Z] Removing intermediate container a1ce26a7bda7 [2023-03-15T20:42:24.434Z] ---> b2eede2056d8 [2023-03-15T20:42:24.434Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T20:42:24.434Z] ---> Running in a9cbd5df06ac [2023-03-15T20:42:24.434Z] Removing intermediate container a9cbd5df06ac [2023-03-15T20:42:24.434Z] ---> b4f669898c7d [2023-03-15T20:42:24.434Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T20:42:24.709Z] ---> Running in 88d4401f3693 [2023-03-15T20:42:24.709Z] Removing intermediate container 88d4401f3693 [2023-03-15T20:42:24.709Z] ---> e2039534f087 [2023-03-15T20:42:24.709Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T20:42:24.709Z] ---> Running in 1183cd0ba461 [2023-03-15T20:42:24.709Z] Removing intermediate container 1183cd0ba461 [2023-03-15T20:42:24.709Z] ---> 1412638c1a4d [2023-03-15T20:42:24.709Z] Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:42:24.968Z] ---> Running in e366d3b54311 [2023-03-15T20:42:24.968Z] Removing intermediate container e366d3b54311 [2023-03-15T20:42:24.968Z] ---> fddbd7a0cea6 [2023-03-15T20:42:24.968Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-03-15T20:42:24.968Z] ---> Running in aa1a09dcc2d7 [2023-03-15T20:42:24.968Z] Removing intermediate container aa1a09dcc2d7 [2023-03-15T20:42:24.968Z] ---> b54be5d80633 [2023-03-15T20:42:24.968Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T20:42:24.968Z] Successfully built b54be5d80633 [2023-03-15T20:42:24.968Z] 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-03-15T20:42:25.045Z] provisioning config files... [2023-03-15T20:42:25.055Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config469265030089294849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:42:25.350Z] ---> docker-login.sh [2023-03-15T20:42:25.350Z] nexus3.edgexfoundry.org:10001 [2023-03-15T20:42:25.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:42:25.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:42:25.350Z] Configure a credential helper to remove this warning. See [2023-03-15T20:42:25.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:42:25.350Z] [2023-03-15T20:42:25.350Z] Login Succeeded [2023-03-15T20:42:25.350Z] nexus3.edgexfoundry.org:10002 [2023-03-15T20:42:25.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:42:25.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:42:25.350Z] Configure a credential helper to remove this warning. See [2023-03-15T20:42:25.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:42:25.350Z] [2023-03-15T20:42:25.350Z] Login Succeeded [2023-03-15T20:42:25.350Z] nexus3.edgexfoundry.org:10003 [2023-03-15T20:42:25.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:42:25.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:42:25.610Z] Configure a credential helper to remove this warning. See [2023-03-15T20:42:25.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:42:25.610Z] [2023-03-15T20:42:25.610Z] Login Succeeded [2023-03-15T20:42:25.610Z] nexus3.edgexfoundry.org:10004 [2023-03-15T20:42:25.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:42:25.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:42:25.610Z] Configure a credential helper to remove this warning. See [2023-03-15T20:42:25.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:42:25.610Z] [2023-03-15T20:42:25.610Z] Login Succeeded [2023-03-15T20:42:25.610Z] docker.io [2023-03-15T20:42:25.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:42:25.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:42:25.872Z] Configure a credential helper to remove this warning. See [2023-03-15T20:42:25.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:42:25.872Z] [2023-03-15T20:42:25.872Z] Login Succeeded [2023-03-15T20:42:25.872Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T20:42:25.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T20:42:25.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:42:25.919Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-03-15T20:42:25.919Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:42:25.919Z] latest [2023-03-15T20:42:25.919Z] 3.0.0-dev.12 [2023-03-15T20:42:25.919Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:42:25.919Z] main [2023-03-15T20:42:25.919Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:26.299Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:26.606Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:42:26.606Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T20:42:26.606Z] c29b98dce257: Preparing [2023-03-15T20:42:26.606Z] 9dfa2c958e82: Preparing [2023-03-15T20:42:26.606Z] 92da60e27b6d: Preparing [2023-03-15T20:42:26.606Z] f1e1991e381d: Preparing [2023-03-15T20:42:26.606Z] 7cd52847ad77: Preparing [2023-03-15T20:42:26.606Z] 7cd52847ad77: Layer already exists [2023-03-15T20:42:26.606Z] 9dfa2c958e82: Pushed [2023-03-15T20:42:26.606Z] c29b98dce257: Pushed [2023-03-15T20:42:26.606Z] f1e1991e381d: Pushed [2023-03-15T20:42:29.895Z] 92da60e27b6d: Pushed [2023-03-15T20:42:29.895Z] 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:30.198Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:30.505Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-03-15T20:42:30.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T20:42:30.505Z] c29b98dce257: Preparing [2023-03-15T20:42:30.505Z] 9dfa2c958e82: Preparing [2023-03-15T20:42:30.505Z] 92da60e27b6d: Preparing [2023-03-15T20:42:30.505Z] f1e1991e381d: Preparing [2023-03-15T20:42:30.505Z] 7cd52847ad77: Preparing [2023-03-15T20:42:30.505Z] 9dfa2c958e82: Layer already exists [2023-03-15T20:42:30.505Z] 7cd52847ad77: Layer already exists [2023-03-15T20:42:30.505Z] 92da60e27b6d: Layer already exists [2023-03-15T20:42:30.505Z] f1e1991e381d: Layer already exists [2023-03-15T20:42:30.505Z] c29b98dce257: Layer already exists [2023-03-15T20:42:30.505Z] latest: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:30.817Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:31.135Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [2023-03-15T20:42:31.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T20:42:31.135Z] c29b98dce257: Preparing [2023-03-15T20:42:31.135Z] 9dfa2c958e82: Preparing [2023-03-15T20:42:31.135Z] 92da60e27b6d: Preparing [2023-03-15T20:42:31.135Z] f1e1991e381d: Preparing [2023-03-15T20:42:31.135Z] 7cd52847ad77: Preparing [2023-03-15T20:42:31.135Z] 9dfa2c958e82: Layer already exists [2023-03-15T20:42:31.135Z] 92da60e27b6d: Layer already exists [2023-03-15T20:42:31.135Z] c29b98dce257: Layer already exists [2023-03-15T20:42:31.135Z] f1e1991e381d: Layer already exists [2023-03-15T20:42:31.135Z] 7cd52847ad77: Layer already exists [2023-03-15T20:42:31.135Z] 3.0.0-dev.12: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:31.451Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:31.754Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:42:31.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T20:42:31.755Z] c29b98dce257: Preparing [2023-03-15T20:42:31.755Z] 9dfa2c958e82: Preparing [2023-03-15T20:42:31.755Z] 92da60e27b6d: Preparing [2023-03-15T20:42:31.755Z] f1e1991e381d: Preparing [2023-03-15T20:42:31.755Z] 7cd52847ad77: Preparing [2023-03-15T20:42:31.755Z] f1e1991e381d: Layer already exists [2023-03-15T20:42:31.755Z] 7cd52847ad77: Layer already exists [2023-03-15T20:42:31.755Z] 9dfa2c958e82: Layer already exists [2023-03-15T20:42:31.755Z] 92da60e27b6d: Layer already exists [2023-03-15T20:42:31.755Z] c29b98dce257: Layer already exists [2023-03-15T20:42:31.755Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:32.059Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:32.369Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-03-15T20:42:32.370Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T20:42:32.370Z] c29b98dce257: Preparing [2023-03-15T20:42:32.370Z] 9dfa2c958e82: Preparing [2023-03-15T20:42:32.370Z] 92da60e27b6d: Preparing [2023-03-15T20:42:32.370Z] f1e1991e381d: Preparing [2023-03-15T20:42:32.370Z] 7cd52847ad77: Preparing [2023-03-15T20:42:32.370Z] f1e1991e381d: Layer already exists [2023-03-15T20:42:32.370Z] 7cd52847ad77: Layer already exists [2023-03-15T20:42:32.370Z] c29b98dce257: Layer already exists [2023-03-15T20:42:32.370Z] 92da60e27b6d: Layer already exists [2023-03-15T20:42:32.370Z] 9dfa2c958e82: Layer already exists [2023-03-15T20:42:32.370Z] main: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T20:42:32.429Z] ===================================================== [Pipeline] echo [2023-03-15T20:42:32.437Z] taggedImages: [2023-03-15T20:42:32.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:42:32.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-03-15T20:42:32.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [2023-03-15T20:42:32.437Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:42:32.437Z] - 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-03-15T20:42:32.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T20:42:32.775Z] [2023-03-15T20:42:32.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:42:33.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T20:42:33.073Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T20:42:33.073Z] 5eb5b503b376: Pulling fs layer [2023-03-15T20:42:33.073Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T20:42:33.073Z] ec43610c2a17: Pulling fs layer [2023-03-15T20:42:33.073Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T20:42:33.073Z] 33b1e0a273af: Pulling fs layer [2023-03-15T20:42:33.073Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T20:42:33.073Z] 2f39f015ded8: Pulling fs layer [2023-03-15T20:42:33.073Z] 5d3b04190fa2: Waiting [2023-03-15T20:42:33.073Z] 2f39f015ded8: Waiting [2023-03-15T20:42:33.073Z] 3a2ae6a8a46f: Waiting [2023-03-15T20:42:33.073Z] 33b1e0a273af: Waiting [2023-03-15T20:42:33.073Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T20:42:33.073Z] 5c69ac0246d0: Download complete [2023-03-15T20:42:33.073Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T20:42:33.073Z] 3a2ae6a8a46f: Download complete [2023-03-15T20:42:33.332Z] 33b1e0a273af: Verifying Checksum [2023-03-15T20:42:33.332Z] 33b1e0a273af: Download complete [2023-03-15T20:42:33.332Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T20:42:33.332Z] 5d3b04190fa2: Download complete [2023-03-15T20:42:33.332Z] ec43610c2a17: Verifying Checksum [2023-03-15T20:42:33.332Z] ec43610c2a17: Download complete [2023-03-15T20:42:33.332Z] 5eb5b503b376: Verifying Checksum [2023-03-15T20:42:33.332Z] 5eb5b503b376: Download complete [2023-03-15T20:42:33.902Z] 2f39f015ded8: Download complete [2023-03-15T20:42:34.469Z] 5eb5b503b376: Pull complete [2023-03-15T20:42:34.726Z] 5c69ac0246d0: Pull complete [2023-03-15T20:42:34.984Z] ec43610c2a17: Pull complete [2023-03-15T20:42:35.243Z] 3a2ae6a8a46f: Pull complete [2023-03-15T20:42:35.502Z] 33b1e0a273af: Pull complete [2023-03-15T20:42:35.502Z] 5d3b04190fa2: Pull complete [2023-03-15T20:42:39.686Z] 2f39f015ded8: Pull complete [2023-03-15T20:42:39.686Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T20:42:39.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T20:42:39.686Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:42:39.763Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:42:39.790Z] $ 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-03-15T20:42:42.291Z] $ docker top 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:42:42.676Z] ---> job-cost.sh [2023-03-15T20:42:42.676Z] lf-activate-venv: SKIPPING [2023-03-15T20:42:42.676Z] INFO: No Stack... [2023-03-15T20:42:42.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T20:42:43.195Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T20:42:43.483Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-03-15T20:42:43.483Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T20:42:43.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [2023-03-15T20:42:43.504Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] did not exist. Created. [2023-03-15T20:42:43.504Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T20:42:43.800Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T20:42:43.833Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T20:42:43.839Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T20:42:43.852Z] $ docker stop --time=1 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc [2023-03-15T20:42:44.999Z] $ docker rm -f --volumes 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T20:43:48.532Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2273 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-03-15T20:43:48.544Z] Running in /w/workspace/device-mqtt-go/96 [Pipeline] { [Pipeline] checkout [2023-03-15T20:43:48.579Z] Selected Git installation does not exist. Using Default [2023-03-15T20:43:48.579Z] The recommended git tool is: NONE [2023-03-15T20:43:54.168Z] using credential edgex-jenkins-ssh [2023-03-15T20:43:54.191Z] Cloning the remote Git repository [2023-03-15T20:43:54.240Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T20:43:54.336Z] > git init /w/workspace/device-mqtt-go/96 # timeout=10 [2023-03-15T20:43:54.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T20:43:54.484Z] > git --version # timeout=10 [2023-03-15T20:43:54.505Z] > git --version # 'git version 2.25.1' [2023-03-15T20:43:54.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T20:43:54.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T20:43:55.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T20:43:55.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T20:43:56.665Z] Avoid second fetch [2023-03-15T20:43:56.665Z] Checking out Revision 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) [2023-03-15T20:43:57.239Z] Commit message: "Merge pull request #527 from lenny-intel/go-1.20" [2023-03-15T20:43:56.684Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T20:43:56.777Z] > git checkout -f 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T20:43:58.101Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T20:43:58.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T20:43:58.101Z] Dload Upload Total Spent Left Speed [2023-03-15T20:43:58.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-03-15T20:43:58.669Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T20:43:58.991Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T20:43:58.991Z] + sudo tee /etc/docker/daemon.new [2023-03-15T20:43:58.991Z] { [2023-03-15T20:43:58.991Z] "registry-mirrors": [ [2023-03-15T20:43:58.991Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T20:43:58.991Z] ], [2023-03-15T20:43:58.991Z] "bip": "10.250.0.254/24", [2023-03-15T20:43:58.991Z] "hosts": [ [2023-03-15T20:43:58.991Z] "tcp://0.0.0.0:5555", [2023-03-15T20:43:58.991Z] "unix:///var/run/docker.sock" [2023-03-15T20:43:58.991Z] ], [2023-03-15T20:43:58.991Z] "mtu": 1458, [2023-03-15T20:43:58.991Z] "selinux-enabled": true, [2023-03-15T20:43:58.991Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T20:43:58.991Z] } [Pipeline] sh [2023-03-15T20:43:59.319Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T20:43:59.643Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T20:44:17.924Z] provisioning config files... [2023-03-15T20:44:17.951Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/96@tmp/config9188735242297943070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:44:18.303Z] ---> docker-login.sh [2023-03-15T20:44:18.303Z] nexus3.edgexfoundry.org:10001 [2023-03-15T20:44:18.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:44:19.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:44:19.162Z] Configure a credential helper to remove this warning. See [2023-03-15T20:44:19.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:44:19.162Z] [2023-03-15T20:44:19.162Z] Login Succeeded [2023-03-15T20:44:19.162Z] nexus3.edgexfoundry.org:10002 [2023-03-15T20:44:19.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:44:19.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:44:19.435Z] Configure a credential helper to remove this warning. See [2023-03-15T20:44:19.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:44:19.435Z] [2023-03-15T20:44:19.435Z] Login Succeeded [2023-03-15T20:44:19.436Z] nexus3.edgexfoundry.org:10003 [2023-03-15T20:44:19.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:44:19.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:44:19.706Z] Configure a credential helper to remove this warning. See [2023-03-15T20:44:19.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:44:19.706Z] [2023-03-15T20:44:19.706Z] Login Succeeded [2023-03-15T20:44:19.706Z] nexus3.edgexfoundry.org:10004 [2023-03-15T20:44:19.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:44:20.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:44:20.248Z] Configure a credential helper to remove this warning. See [2023-03-15T20:44:20.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:44:20.248Z] [2023-03-15T20:44:20.248Z] Login Succeeded [2023-03-15T20:44:20.248Z] docker.io [2023-03-15T20:44:20.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:44:20.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:44:20.789Z] Configure a credential helper to remove this warning. See [2023-03-15T20:44:20.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:44:20.789Z] [2023-03-15T20:44:20.789Z] Login Succeeded [2023-03-15T20:44:20.789Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T20:44:20.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T20:44:21.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:44:21.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:44:21.087Z] ========================================================= [2023-03-15T20:44:21.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T20:44:21.087Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:44:21.438Z] + 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-03-15T20:44:24.807Z] Sending build context to Docker daemon 3.306MB [2023-03-15T20:44:24.807Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T20:44:24.807Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T20:44:24.807Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T20:44:24.807Z] af6eaf76a39c: Pulling fs layer [2023-03-15T20:44:24.807Z] 55522c791124: Pulling fs layer [2023-03-15T20:44:24.807Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T20:44:24.807Z] 169dfbe0d373: Pulling fs layer [2023-03-15T20:44:24.807Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T20:44:24.807Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T20:44:24.807Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T20:44:24.807Z] 169dfbe0d373: Waiting [2023-03-15T20:44:24.807Z] e1ff8fa3b103: Waiting [2023-03-15T20:44:24.807Z] 52ebb69f0ebf: Waiting [2023-03-15T20:44:24.807Z] 5abe8eddf0d5: Waiting [2023-03-15T20:44:24.807Z] 55522c791124: Download complete [2023-03-15T20:44:24.807Z] 169dfbe0d373: Verifying Checksum [2023-03-15T20:44:24.807Z] 169dfbe0d373: Download complete [2023-03-15T20:44:24.807Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T20:44:24.807Z] e1ff8fa3b103: Download complete [2023-03-15T20:44:24.807Z] af6eaf76a39c: Verifying Checksum [2023-03-15T20:44:25.795Z] af6eaf76a39c: Pull complete [2023-03-15T20:44:25.795Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T20:44:25.795Z] 5abe8eddf0d5: Download complete [2023-03-15T20:44:26.392Z] 55522c791124: Pull complete [2023-03-15T20:44:26.981Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T20:44:26.981Z] ce5c4a1c91eb: Download complete [2023-03-15T20:44:27.256Z] 52ebb69f0ebf: Download complete [2023-03-15T20:44:39.610Z] ce5c4a1c91eb: Pull complete [2023-03-15T20:44:39.610Z] 169dfbe0d373: Pull complete [2023-03-15T20:44:39.610Z] e1ff8fa3b103: Pull complete [2023-03-15T20:44:44.973Z] 52ebb69f0ebf: Pull complete [2023-03-15T20:44:46.924Z] 5abe8eddf0d5: Pull complete [2023-03-15T20:44:46.924Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T20:44:46.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T20:44:46.924Z] ---> 6cb57ee374ae [2023-03-15T20:44:46.924Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T20:44:48.923Z] ---> Running in b51a7595e735 [2023-03-15T20:44:48.923Z] Removing intermediate container b51a7595e735 [2023-03-15T20:44:48.923Z] ---> 4b55048513b4 [2023-03-15T20:44:48.923Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T20:44:48.923Z] ---> Running in 0fb4e1ab128a [2023-03-15T20:44:49.511Z] Removing intermediate container 0fb4e1ab128a [2023-03-15T20:44:49.511Z] ---> fd3f76c2e1f5 [2023-03-15T20:44:49.511Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T20:44:49.511Z] ---> Running in a016bf5ccc86 [2023-03-15T20:44:49.779Z] Removing intermediate container a016bf5ccc86 [2023-03-15T20:44:49.779Z] ---> b2d93ca4bcb9 [2023-03-15T20:44:49.779Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T20:44:49.779Z] ---> Running in b07316c57bcf [2023-03-15T20:44:50.047Z] Removing intermediate container b07316c57bcf [2023-03-15T20:44:50.047Z] ---> 8df0b96e87bd [2023-03-15T20:44:50.047Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T20:44:50.047Z] ---> Running in 71f798a6ee07 [2023-03-15T20:44:51.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T20:44:51.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T20:44:52.755Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T20:44:52.755Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T20:44:52.755Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T20:44:53.041Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T20:44:53.041Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T20:44:53.041Z] OK: 268 MiB in 57 packages [2023-03-15T20:44:54.012Z] Removing intermediate container 71f798a6ee07 [2023-03-15T20:44:54.012Z] ---> e8d05d2ab39d [2023-03-15T20:44:54.012Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T20:44:54.012Z] ---> Running in bc57788ada29 [2023-03-15T20:44:54.280Z] Removing intermediate container bc57788ada29 [2023-03-15T20:44:54.280Z] ---> d94f7e650262 [2023-03-15T20:44:54.280Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T20:44:54.873Z] ---> 802bd0efebf1 [2023-03-15T20:44:54.873Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T20:44:54.873Z] ---> Running in f81470c1e321 [2023-03-15T20:46:02.763Z] Removing intermediate container f81470c1e321 [2023-03-15T20:46:02.763Z] ---> 9fda45b00af9 [2023-03-15T20:46:02.763Z] Step 11/12 : COPY . . [2023-03-15T20:46:02.763Z] ---> 0ba9711a0d15 [2023-03-15T20:46:02.763Z] Step 12/12 : RUN $MAKE [2023-03-15T20:46:02.763Z] ---> Running in b2d5b4679162 [2023-03-15T20:46:02.763Z] noop [2023-03-15T20:46:02.763Z] Removing intermediate container b2d5b4679162 [2023-03-15T20:46:02.763Z] ---> 25269bde2744 [2023-03-15T20:46:02.763Z] Successfully built 25269bde2744 [2023-03-15T20:46:02.763Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:46:03.105Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T20:46:03.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:46:03.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container [2023-03-15T20:46:03.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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-03-15T20:46:04.605Z] $ docker top 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T20:46:05.438Z] + go version [2023-03-15T20:46:05.438Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T20:46:05.462Z] $ docker stop --time=1 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 [2023-03-15T20:46:07.115Z] $ docker rm -f --volumes 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:46:07.642Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T20:46:07.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:46:07.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container [2023-03-15T20:46:07.900Z] $ 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/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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-03-15T20:46:09.083Z] $ docker top 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T20:46:09.590Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/96 [Pipeline] fileExists [Pipeline] sh [2023-03-15T20:46:10.504Z] + make test [2023-03-15T20:46:10.504Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T20:46:42.760Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T20:48:34.429Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T20:48:36.375Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T20:48:36.375Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.2% of statements [2023-03-15T20:48:36.962Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T20:48:36.962Z] go vet ./... [2023-03-15T20:49:15.842Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T20:49:15.842Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T20:49:15.842Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T20:49:15.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T20:49:15.882Z] $ docker stop --time=1 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a [2023-03-15T20:49:17.720Z] $ docker rm -f --volumes 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T20:49:18.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T20:49:18.856Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T20:49:19.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T20:49:19.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T20:49:20.024Z] + ls -al . [2023-03-15T20:49:20.024Z] total 176 [2023-03-15T20:49:20.024Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 20:46 . [2023-03-15T20:49:20.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:43 .. [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 20:43 .dockerignore [2023-03-15T20:49:20.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:43 .git [2023-03-15T20:49:20.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 .github [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 20:43 .gitignore [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:43 .golangci.yml [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 20:43 Attribution.txt [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 20:43 CHANGELOG.md [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 20:43 Dockerfile [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:43 GOVERNANCE.md [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 20:43 Jenkinsfile [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:43 LICENSE [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 20:43 Makefile [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:43 OWNERS.md [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 20:43 README.md [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 20:40 VERSION [2023-03-15T20:49:20.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:43 bin [2023-03-15T20:49:20.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 cmd [2023-03-15T20:49:20.024Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 20:48 coverage.out [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 20:43 go.mod [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 20:43 go.sum [2023-03-15T20:49:20.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 internal [2023-03-15T20:49:20.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:43 mock [2023-03-15T20:49:20.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:43 snap [2023-03-15T20:49:20.024Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:49:20.367Z] + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-03-15T20:49:20.634Z] Sending build context to Docker daemon 3.325MB [2023-03-15T20:49:20.634Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T20:49:20.634Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T20:49:20.634Z] ---> 25269bde2744 [2023-03-15T20:49:20.634Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T20:49:23.973Z] ---> Running in 049b375dae61 [2023-03-15T20:49:24.241Z] Removing intermediate container 049b375dae61 [2023-03-15T20:49:24.241Z] ---> 2c7f8608669b [2023-03-15T20:49:24.241Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T20:49:24.241Z] ---> Running in a85c23411507 [2023-03-15T20:49:24.508Z] Removing intermediate container a85c23411507 [2023-03-15T20:49:24.508Z] ---> feee9028c09f [2023-03-15T20:49:24.508Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T20:49:24.508Z] ---> Running in cb8bdf0993e1 [2023-03-15T20:49:24.778Z] Removing intermediate container cb8bdf0993e1 [2023-03-15T20:49:24.778Z] ---> 19d80bea21b9 [2023-03-15T20:49:24.778Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T20:49:25.046Z] ---> Running in a70deaac98ff [2023-03-15T20:49:25.321Z] Removing intermediate container a70deaac98ff [2023-03-15T20:49:25.321Z] ---> 0c384bc83405 [2023-03-15T20:49:25.321Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T20:49:25.321Z] ---> Running in 47e095755edc [2023-03-15T20:49:26.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T20:49:26.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T20:49:27.834Z] OK: 268 MiB in 57 packages [2023-03-15T20:49:28.798Z] Removing intermediate container 47e095755edc [2023-03-15T20:49:28.798Z] ---> c6fba10cc82f [2023-03-15T20:49:28.798Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T20:49:28.798Z] ---> Running in f9a0b02bb3a1 [2023-03-15T20:49:29.065Z] Removing intermediate container f9a0b02bb3a1 [2023-03-15T20:49:29.065Z] ---> 809f0e01b506 [2023-03-15T20:49:29.065Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T20:49:29.652Z] ---> 4c021bf5e921 [2023-03-15T20:49:29.652Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T20:49:29.934Z] ---> Running in 2be92204bb8c [2023-03-15T20:49:32.518Z] Removing intermediate container 2be92204bb8c [2023-03-15T20:49:32.518Z] ---> 8709695f16e2 [2023-03-15T20:49:32.518Z] Step 11/24 : COPY . . [2023-03-15T20:49:33.102Z] ---> 7e6f8890745d [2023-03-15T20:49:33.102Z] Step 12/24 : RUN $MAKE [2023-03-15T20:49:33.372Z] ---> Running in 3cd9a5b4918e [2023-03-15T20:49:34.337Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T20:51:41.020Z] Removing intermediate container 3cd9a5b4918e [2023-03-15T20:51:41.020Z] ---> d96d370655a2 [2023-03-15T20:51:41.020Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T20:51:41.020Z] 3.17: Pulling from library/alpine [2023-03-15T20:51:41.020Z] af6eaf76a39c: Already exists [2023-03-15T20:51:41.288Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T20:51:41.288Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T20:51:41.288Z] ---> d74e625d9115 [2023-03-15T20:51:41.288Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T20:51:41.288Z] ---> Running in 592622c82be3 [2023-03-15T20:51:41.555Z] Removing intermediate container 592622c82be3 [2023-03-15T20:51:41.555Z] ---> 9b983cde88a9 [2023-03-15T20:51:41.555Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T20:51:41.555Z] ---> Running in bdc9c08b868e [2023-03-15T20:51:42.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T20:51:43.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T20:51:44.059Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T20:51:44.059Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T20:51:44.059Z] OK: 8 MiB in 16 packages [2023-03-15T20:51:45.023Z] Removing intermediate container bdc9c08b868e [2023-03-15T20:51:45.023Z] ---> a6d187857120 [2023-03-15T20:51:45.023Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T20:51:48.360Z] ---> 4f748b177078 [2023-03-15T20:51:48.360Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T20:51:48.360Z] ---> f9240c4bcb78 [2023-03-15T20:51:48.360Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T20:51:48.944Z] ---> 08efd9dbcc4d [2023-03-15T20:51:48.944Z] Step 19/24 : EXPOSE 59982 [2023-03-15T20:51:48.944Z] ---> Running in 5bf705507aa9 [2023-03-15T20:51:49.214Z] Removing intermediate container 5bf705507aa9 [2023-03-15T20:51:49.214Z] ---> 9d3964f3452b [2023-03-15T20:51:49.214Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T20:51:49.214Z] ---> Running in 0f48fb0f0656 [2023-03-15T20:51:49.480Z] Removing intermediate container 0f48fb0f0656 [2023-03-15T20:51:49.480Z] ---> f5c05b724746 [2023-03-15T20:51:49.480Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T20:51:49.480Z] ---> Running in 656d30967e4f [2023-03-15T20:51:49.747Z] Removing intermediate container 656d30967e4f [2023-03-15T20:51:49.747Z] ---> f3e9cd1b6752 [2023-03-15T20:51:49.747Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T20:51:50.013Z] ---> Running in 2df5febebea8 [2023-03-15T20:51:50.013Z] Removing intermediate container 2df5febebea8 [2023-03-15T20:51:50.013Z] ---> ec6ce8b57d83 [2023-03-15T20:51:50.013Z] Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:51:50.282Z] ---> Running in befe4c4062dd [2023-03-15T20:51:50.548Z] Removing intermediate container befe4c4062dd [2023-03-15T20:51:50.548Z] ---> 91d262e515a7 [2023-03-15T20:51:50.548Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-03-15T20:51:50.548Z] ---> Running in 7af389f815a8 [2023-03-15T20:51:50.813Z] Removing intermediate container 7af389f815a8 [2023-03-15T20:51:50.813Z] ---> 2204ac60464a [2023-03-15T20:51:50.813Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T20:51:50.813Z] Successfully built 2204ac60464a [2023-03-15T20:51:50.813Z] 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-03-15T20:51:50.924Z] provisioning config files... [2023-03-15T20:51:50.940Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/96@tmp/config11939229342025310745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:51:51.263Z] ---> docker-login.sh [2023-03-15T20:51:51.263Z] nexus3.edgexfoundry.org:10001 [2023-03-15T20:51:51.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:51:51.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:51:51.530Z] Configure a credential helper to remove this warning. See [2023-03-15T20:51:51.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:51:51.530Z] [2023-03-15T20:51:51.530Z] Login Succeeded [2023-03-15T20:51:51.530Z] nexus3.edgexfoundry.org:10002 [2023-03-15T20:51:51.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:51:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:51:51.796Z] Configure a credential helper to remove this warning. See [2023-03-15T20:51:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:51:51.796Z] [2023-03-15T20:51:51.796Z] Login Succeeded [2023-03-15T20:51:51.796Z] nexus3.edgexfoundry.org:10003 [2023-03-15T20:51:52.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:51:52.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:51:52.063Z] Configure a credential helper to remove this warning. See [2023-03-15T20:51:52.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:51:52.063Z] [2023-03-15T20:51:52.063Z] Login Succeeded [2023-03-15T20:51:52.063Z] nexus3.edgexfoundry.org:10004 [2023-03-15T20:51:52.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:51:52.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:51:52.596Z] Configure a credential helper to remove this warning. See [2023-03-15T20:51:52.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:51:52.596Z] [2023-03-15T20:51:52.596Z] Login Succeeded [2023-03-15T20:51:52.596Z] docker.io [2023-03-15T20:51:52.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T20:51:52.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T20:51:52.861Z] Configure a credential helper to remove this warning. See [2023-03-15T20:51:52.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T20:51:52.861Z] [2023-03-15T20:51:52.861Z] Login Succeeded [2023-03-15T20:51:52.861Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T20:51:52.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T20:51:52.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T20:51:52.916Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-03-15T20:51:52.916Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:51:52.916Z] latest [2023-03-15T20:51:52.916Z] 3.0.0-dev.12 [2023-03-15T20:51:52.916Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:51:52.916Z] main [2023-03-15T20:51:52.916Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:51:53.239Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:51:53.567Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:51:53.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T20:51:53.567Z] c547444124a2: Preparing [2023-03-15T20:51:53.567Z] 668c4cad567f: Preparing [2023-03-15T20:51:53.568Z] 151e9bf41346: Preparing [2023-03-15T20:51:53.568Z] 2e2e86396bb8: Preparing [2023-03-15T20:51:53.568Z] edf70074bd40: Preparing [2023-03-15T20:51:53.568Z] edf70074bd40: Layer already exists [2023-03-15T20:51:53.832Z] 668c4cad567f: Pushed [2023-03-15T20:51:53.832Z] c547444124a2: Pushed [2023-03-15T20:51:53.832Z] 2e2e86396bb8: Pushed [2023-03-15T20:51:59.157Z] 151e9bf41346: Pushed [2023-03-15T20:52:00.566Z] 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:00.999Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:01.344Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-03-15T20:52:01.344Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T20:52:01.344Z] c547444124a2: Preparing [2023-03-15T20:52:01.344Z] 668c4cad567f: Preparing [2023-03-15T20:52:01.344Z] 151e9bf41346: Preparing [2023-03-15T20:52:01.344Z] 2e2e86396bb8: Preparing [2023-03-15T20:52:01.344Z] edf70074bd40: Preparing [2023-03-15T20:52:01.344Z] 668c4cad567f: Layer already exists [2023-03-15T20:52:01.344Z] c547444124a2: Layer already exists [2023-03-15T20:52:01.344Z] edf70074bd40: Layer already exists [2023-03-15T20:52:01.344Z] 2e2e86396bb8: Layer already exists [2023-03-15T20:52:01.344Z] 151e9bf41346: Layer already exists [2023-03-15T20:52:01.344Z] latest: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:01.966Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:02.307Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [2023-03-15T20:52:02.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T20:52:02.307Z] c547444124a2: Preparing [2023-03-15T20:52:02.307Z] 668c4cad567f: Preparing [2023-03-15T20:52:02.307Z] 151e9bf41346: Preparing [2023-03-15T20:52:02.307Z] 2e2e86396bb8: Preparing [2023-03-15T20:52:02.307Z] edf70074bd40: Preparing [2023-03-15T20:52:02.307Z] 151e9bf41346: Layer already exists [2023-03-15T20:52:02.307Z] edf70074bd40: Layer already exists [2023-03-15T20:52:02.307Z] c547444124a2: Layer already exists [2023-03-15T20:52:02.307Z] 2e2e86396bb8: Layer already exists [2023-03-15T20:52:02.307Z] 668c4cad567f: Layer already exists [2023-03-15T20:52:02.307Z] 3.0.0-dev.12: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:02.645Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:02.973Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:52:02.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T20:52:02.973Z] c547444124a2: Preparing [2023-03-15T20:52:02.973Z] 668c4cad567f: Preparing [2023-03-15T20:52:02.973Z] 151e9bf41346: Preparing [2023-03-15T20:52:02.974Z] 2e2e86396bb8: Preparing [2023-03-15T20:52:02.974Z] edf70074bd40: Preparing [2023-03-15T20:52:02.974Z] 2e2e86396bb8: Layer already exists [2023-03-15T20:52:02.974Z] c547444124a2: Layer already exists [2023-03-15T20:52:02.974Z] 668c4cad567f: Layer already exists [2023-03-15T20:52:02.974Z] edf70074bd40: Layer already exists [2023-03-15T20:52:02.974Z] 151e9bf41346: Layer already exists [2023-03-15T20:52:03.238Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:03.577Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:03.908Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-03-15T20:52:03.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T20:52:03.908Z] c547444124a2: Preparing [2023-03-15T20:52:03.908Z] 668c4cad567f: Preparing [2023-03-15T20:52:03.908Z] 151e9bf41346: Preparing [2023-03-15T20:52:03.908Z] 2e2e86396bb8: Preparing [2023-03-15T20:52:03.908Z] edf70074bd40: Preparing [2023-03-15T20:52:03.908Z] edf70074bd40: Layer already exists [2023-03-15T20:52:03.908Z] 151e9bf41346: Layer already exists [2023-03-15T20:52:03.908Z] c547444124a2: Layer already exists [2023-03-15T20:52:03.908Z] 2e2e86396bb8: Layer already exists [2023-03-15T20:52:03.908Z] 668c4cad567f: Layer already exists [2023-03-15T20:52:03.908Z] main: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T20:52:03.962Z] ===================================================== [Pipeline] echo [2023-03-15T20:52:03.969Z] taggedImages: [2023-03-15T20:52:03.969Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T20:52:03.969Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-03-15T20:52:03.969Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [2023-03-15T20:52:03.969Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T20:52:03.969Z] - 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-03-15T20:52:04.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T20:52:04.321Z] [2023-03-15T20:52:04.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:04.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T20:52:04.655Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T20:52:04.655Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T20:52:04.655Z] 04944245beec: Pulling fs layer [2023-03-15T20:52:04.655Z] 699f458cf7ca: Pulling fs layer [2023-03-15T20:52:04.655Z] 765212b225bb: Pulling fs layer [2023-03-15T20:52:04.655Z] f23df028b6ca: Pulling fs layer [2023-03-15T20:52:04.655Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T20:52:04.655Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T20:52:04.655Z] 765212b225bb: Waiting [2023-03-15T20:52:04.655Z] d65c8cfc05b1: Waiting [2023-03-15T20:52:04.655Z] 2437ff75d9bd: Waiting [2023-03-15T20:52:04.655Z] f23df028b6ca: Waiting [2023-03-15T20:52:04.922Z] 04944245beec: Verifying Checksum [2023-03-15T20:52:04.922Z] 04944245beec: Download complete [2023-03-15T20:52:04.922Z] 765212b225bb: Verifying Checksum [2023-03-15T20:52:04.922Z] 765212b225bb: Download complete [2023-03-15T20:52:04.922Z] f23df028b6ca: Verifying Checksum [2023-03-15T20:52:04.922Z] f23df028b6ca: Download complete [2023-03-15T20:52:04.922Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T20:52:04.922Z] d65c8cfc05b1: Download complete [2023-03-15T20:52:04.922Z] 699f458cf7ca: Verifying Checksum [2023-03-15T20:52:04.922Z] 699f458cf7ca: Download complete [2023-03-15T20:52:05.506Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T20:52:05.506Z] 8998bd30e6a1: Download complete [2023-03-15T20:52:07.457Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T20:52:07.457Z] 2437ff75d9bd: Download complete [2023-03-15T20:52:09.399Z] 8998bd30e6a1: Pull complete [2023-03-15T20:52:09.666Z] 04944245beec: Pull complete [2023-03-15T20:52:11.083Z] 699f458cf7ca: Pull complete [2023-03-15T20:52:11.083Z] 765212b225bb: Pull complete [2023-03-15T20:52:13.030Z] f23df028b6ca: Pull complete [2023-03-15T20:52:13.030Z] d65c8cfc05b1: Pull complete [2023-03-15T20:52:25.346Z] 2437ff75d9bd: Pull complete [2023-03-15T20:52:25.346Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T20:52:25.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T20:52:25.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:52:25.522Z] prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container [2023-03-15T20:52:25.586Z] $ 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/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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-03-15T20:52:27.953Z] $ docker top 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:52:28.440Z] ---> job-cost.sh [2023-03-15T20:52:28.705Z] lf-activate-venv: SKIPPING [2023-03-15T20:52:28.705Z] INFO: No Stack... [2023-03-15T20:52:29.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T20:52:29.864Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T20:52:30.182Z] + cut -d, -f6 [2023-03-15T20:52:30.182Z] + cat /w/workspace/device-mqtt-go/96/archives/cost.csv [Pipeline] lock [2023-03-15T20:52:30.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [2023-03-15T20:52:30.510Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] did not exist. Created. [2023-03-15T20:52:30.510Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T20:52:30.844Z] /w/workspace/device-mqtt-go/96@tmp/durable-ebc19f15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T20:52:31.182Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T20:52:31.204Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T20:52:31.249Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T20:52:31.257Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T20:52:31.280Z] $ docker stop --time=1 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 [2023-03-15T20:52:32.742Z] $ docker rm -f --volumes 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 [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-03-15T20:52:33.117Z] provisioning config files... [2023-03-15T20:52:33.124Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17057293517559198957tmp [Pipeline] { [Pipeline] sh [2023-03-15T20:52:33.414Z] + set +x [2023-03-15T20:52:33.415Z] + curl -s https://codecov.io/bash [2023-03-15T20:52:33.415Z] + bash -s -- [2023-03-15T20:52:33.415Z] [2023-03-15T20:52:33.415Z] _____ _ [2023-03-15T20:52:33.415Z] / ____| | | [2023-03-15T20:52:33.415Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T20:52:33.415Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T20:52:33.415Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T20:52:33.415Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T20:52:33.415Z] Bash-1.0.6 [2023-03-15T20:52:33.415Z] [2023-03-15T20:52:33.415Z] [2023-03-15T20:52:33.415Z] ==> git version 2.25.1 found [2023-03-15T20:52:33.415Z] ==> 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-03-15T20:52:33.415Z] Release-Date: 2020-01-08 [2023-03-15T20:52:33.415Z] 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-03-15T20:52:33.415Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T20:52:33.415Z] ==> Jenkins CI detected. [2023-03-15T20:52:33.415Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-03-15T20:52:33.415Z] project root: . [2023-03-15T20:52:33.415Z] --> token set from env [2023-03-15T20:52:33.415Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T20:52:33.415Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T20:52:33.415Z] ==> Python coveragepy not found [2023-03-15T20:52:33.415Z] ==> Searching for coverage reports in: [2023-03-15T20:52:33.415Z] + . [2023-03-15T20:52:33.415Z] -> Found 1 reports [2023-03-15T20:52:33.415Z] ==> Detecting git/mercurial file structure [2023-03-15T20:52:33.415Z] ==> Reading reports [2023-03-15T20:52:33.415Z] + ./coverage.out bytes=18047 [2023-03-15T20:52:33.673Z] ==> Appending adjustments [2023-03-15T20:52:33.673Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T20:52:33.673Z] + Found adjustments [2023-03-15T20:52:33.673Z] ==> Gzipping contents [2023-03-15T20:52:33.673Z] 4.0K /tmp/codecov.zSQLOK.gz [2023-03-15T20:52:33.673Z] ==> Uploading reports [2023-03-15T20:52:33.673Z] url: https://codecov.io [2023-03-15T20:52:33.673Z] query: branch=main&commit=4a35f1d313b93b1afef0ede40251cd94a3668512&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T20:52:33.673Z] -> Pinging Codecov [2023-03-15T20:52:33.673Z] 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=4a35f1d313b93b1afef0ede40251cd94a3668512&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T20:52:33.932Z] -> Uploading to [2023-03-15T20:52:33.932Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/4a35f1d313b93b1afef0ede40251cd94a3668512/587fc547-ee4d-4886-ad0d-20ce0d65383b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T205233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9902513f8f700916ec895e5b49f82342547f8d203c1c285ad77f5bdb03cc9493 [2023-03-15T20:52:33.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T20:52:33.932Z] Dload Upload Total Spent Left Speed [2023-03-15T20:52:34.191Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 12905 --:--:-- --:--:-- --:--:-- 12905 [2023-03-15T20:52:34.191Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [2023-03-15T20:52:34.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T20:52:34.389Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T20:52:34.397Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:34.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T20:52:34.682Z] [2023-03-15T20:52:34.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:34.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T20:52:34.974Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T20:52:34.974Z] df9b9388f04a: Pulling fs layer [2023-03-15T20:52:34.974Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T20:52:34.974Z] 25bc292e5bac: Pulling fs layer [2023-03-15T20:52:34.974Z] 114826534d7a: Pulling fs layer [2023-03-15T20:52:34.974Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T20:52:34.974Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T20:52:34.974Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T20:52:34.974Z] 114826534d7a: Waiting [2023-03-15T20:52:34.974Z] 4657fd5d0bcf: Waiting [2023-03-15T20:52:34.974Z] 6ad1cebc031e: Waiting [2023-03-15T20:52:34.974Z] 8a3aa393b2d8: Waiting [2023-03-15T20:52:34.974Z] 25bc292e5bac: Verifying Checksum [2023-03-15T20:52:34.974Z] 25bc292e5bac: Download complete [2023-03-15T20:52:34.974Z] 52dc419b0ee2: Download complete [2023-03-15T20:52:34.974Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T20:52:34.974Z] 4657fd5d0bcf: Download complete [2023-03-15T20:52:34.974Z] df9b9388f04a: Verifying Checksum [2023-03-15T20:52:34.974Z] df9b9388f04a: Download complete [2023-03-15T20:52:35.235Z] df9b9388f04a: Pull complete [2023-03-15T20:52:35.235Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T20:52:35.235Z] 6ad1cebc031e: Download complete [2023-03-15T20:52:35.235Z] 52dc419b0ee2: Pull complete [2023-03-15T20:52:35.235Z] 25bc292e5bac: Pull complete [2023-03-15T20:52:35.802Z] 114826534d7a: Download complete [2023-03-15T20:52:35.802Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T20:52:35.803Z] 8a3aa393b2d8: Download complete [2023-03-15T20:52:39.085Z] 114826534d7a: Pull complete [2023-03-15T20:52:39.085Z] 4657fd5d0bcf: Pull complete [2023-03-15T20:52:39.343Z] 6ad1cebc031e: Pull complete [2023-03-15T20:52:41.870Z] 8a3aa393b2d8: Pull complete [2023-03-15T20:52:41.870Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T20:52:41.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T20:52:41.870Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:52:41.945Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:52:41.975Z] $ 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-03-15T20:52:45.969Z] $ docker top c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T20:52:46.036Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-03-15T20:52:46.311Z] + set -o pipefail [2023-03-15T20:52:46.311Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/256a0de8-53ae-4b8f-90e8-e8090e247f32 [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] [2023-03-15T20:52:54.442Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T20:52:54.442Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T20:52:54.442Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-15T20:52:54.451Z] $ docker stop --time=1 c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe [2023-03-15T20:52:57.445Z] $ docker rm -f --volumes c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe [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-03-15T20:52:58.087Z] + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] sh [2023-03-15T20:52:58.373Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T20:52:58.373Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:52:58.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:52:58.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:52:58.742Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:52:58.773Z] $ 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-03-15T20:52:59.210Z] $ docker top c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a -eo pid,comm [2023-03-15T20:52:59.257Z] 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-03-15T20:52:59.257Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T20:52:59.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T20:52:59.296Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T20:52:59.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T20:52:59.412Z] $ docker exec c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a ssh-agent [2023-03-15T20:52:59.520Z] SSH_AUTH_SOCK=/tmp/ssh-bUdFwlgVFmbO/agent.32 [2023-03-15T20:52:59.520Z] SSH_AGENT_PID=38 [2023-03-15T20:52:59.525Z] Running ssh-add (command line suppressed) [2023-03-15T20:52:59.635Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7339863127306306092.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7339863127306306092.key) [2023-03-15T20:52:59.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T20:52:59.928Z] + git semver tag [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,109 [run_tag] DEBUG tag force:False [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,110 [check_head_tag] DEBUG check head tag [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,111 [execute] INFO git cat-file --batch-check [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,115 [execute] INFO git cat-file --batch [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,135 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,136 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T20:53:00.186Z] 2023-03-15 20:53:00,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:00.186Z] 3.0.0-dev.12 [Pipeline] } [2023-03-15T20:53:00.192Z] $ docker exec --env ******** --env ******** c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a ssh-agent -k [2023-03-15T20:53:00.292Z] unset SSH_AUTH_SOCK; [2023-03-15T20:53:00.292Z] unset SSH_AGENT_PID; [2023-03-15T20:53:00.293Z] echo Agent pid 38 killed; [2023-03-15T20:53:00.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T20:53:00.613Z] + git semver [Pipeline] } [2023-03-15T20:53:00.880Z] $ docker stop --time=1 c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a [2023-03-15T20:53:02.143Z] $ docker rm -f --volumes c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:53:02.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T20:53:02.536Z] [2023-03-15T20:53:02.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:53:02.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T20:53:02.831Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T20:53:02.831Z] ab5ef0e58194: Pulling fs layer [2023-03-15T20:53:02.831Z] 9712f1f96733: Pulling fs layer [2023-03-15T20:53:02.831Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T20:53:02.831Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T20:53:02.831Z] e9a5061849ea: Pulling fs layer [2023-03-15T20:53:02.831Z] d747dcd14b5f: Pulling fs layer [2023-03-15T20:53:02.831Z] 2de7ff778b66: Pulling fs layer [2023-03-15T20:53:02.831Z] e9a5061849ea: Waiting [2023-03-15T20:53:02.831Z] 2de7ff778b66: Waiting [2023-03-15T20:53:02.831Z] 0d9ebad4ef96: Waiting [2023-03-15T20:53:02.831Z] 9712f1f96733: Verifying Checksum [2023-03-15T20:53:02.831Z] 9712f1f96733: Download complete [2023-03-15T20:53:03.426Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T20:53:03.426Z] 63f879dbbcfc: Download complete [2023-03-15T20:53:03.689Z] e9a5061849ea: Verifying Checksum [2023-03-15T20:53:03.689Z] e9a5061849ea: Download complete [2023-03-15T20:53:03.689Z] ab5ef0e58194: Verifying Checksum [2023-03-15T20:53:03.689Z] ab5ef0e58194: Download complete [2023-03-15T20:53:03.689Z] d747dcd14b5f: Verifying Checksum [2023-03-15T20:53:03.689Z] d747dcd14b5f: Download complete [2023-03-15T20:53:03.689Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T20:53:03.689Z] 0d9ebad4ef96: Download complete [2023-03-15T20:53:03.689Z] 2de7ff778b66: Verifying Checksum [2023-03-15T20:53:03.689Z] 2de7ff778b66: Download complete [2023-03-15T20:53:06.219Z] ab5ef0e58194: Pull complete [2023-03-15T20:53:06.219Z] 9712f1f96733: Pull complete [2023-03-15T20:53:06.786Z] 63f879dbbcfc: Pull complete [2023-03-15T20:53:10.068Z] 0d9ebad4ef96: Pull complete [2023-03-15T20:53:10.068Z] e9a5061849ea: Pull complete [2023-03-15T20:53:10.068Z] d747dcd14b5f: Pull complete [2023-03-15T20:53:11.439Z] 2de7ff778b66: Pull complete [2023-03-15T20:53:11.439Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T20:53:11.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T20:53:11.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:53:11.530Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:53:11.557Z] $ 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-03-15T20:53:16.214Z] $ docker top 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T20:53:16.396Z] provisioning config files... [2023-03-15T20:53:16.403Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10611974464653978044tmp [2023-03-15T20:53:16.412Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8671279750620806358tmp [2023-03-15T20:53:16.419Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13098185517627968239tmp [Pipeline] { [Pipeline] echo [2023-03-15T20:53:16.431Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:16.722Z] ---> sigul-configuration.sh [2023-03-15T20:53:16.722Z] gpg: directory `/root/.gnupg' created [2023-03-15T20:53:16.722Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T20:53:16.722Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T20:53:16.722Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T20:53:16.722Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T20:53:16.722Z] gpg: CAST5 encrypted data [2023-03-15T20:53:16.722Z] gpg: encrypted with 1 passphrase [2023-03-15T20:53:16.722Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T20:53:17.008Z] + mkdir /home/jenkins [2023-03-15T20:53:17.008Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T20:53:17.294Z] + 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-03-15T20:53:17.302Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:17.583Z] ---> sigul-install.sh [2023-03-15T20:53:17.583Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T20:53:17.867Z] + git tag --list [2023-03-15T20:53:17.867Z] 0.7.1 [2023-03-15T20:53:17.867Z] v1.0.0 [2023-03-15T20:53:17.867Z] v1.1.0 [2023-03-15T20:53:17.867Z] v1.1.1 [2023-03-15T20:53:17.867Z] v1.2.2 [2023-03-15T20:53:17.867Z] v1.3.0 [2023-03-15T20:53:17.867Z] v1.3.1 [2023-03-15T20:53:17.867Z] v2.0.0 [2023-03-15T20:53:17.867Z] v2.1.0 [2023-03-15T20:53:17.867Z] v2.1.1 [2023-03-15T20:53:17.867Z] v2.1.1-dev.1 [2023-03-15T20:53:17.867Z] v2.1.1-dev.2 [2023-03-15T20:53:17.867Z] v2.2.0 [2023-03-15T20:53:17.867Z] v2.2.1-dev.1 [2023-03-15T20:53:17.867Z] v2.2.1-dev.10 [2023-03-15T20:53:17.867Z] v2.2.1-dev.2 [2023-03-15T20:53:17.867Z] v2.2.1-dev.3 [2023-03-15T20:53:17.867Z] v2.2.1-dev.4 [2023-03-15T20:53:17.867Z] v2.2.1-dev.5 [2023-03-15T20:53:17.867Z] v2.2.1-dev.6 [2023-03-15T20:53:17.867Z] v2.2.1-dev.7 [2023-03-15T20:53:17.867Z] v2.2.1-dev.8 [2023-03-15T20:53:17.867Z] v2.2.1-dev.9 [2023-03-15T20:53:17.867Z] v2.3.0 [2023-03-15T20:53:17.867Z] v2.3.0-dev.10 [2023-03-15T20:53:17.867Z] v2.3.0-dev.11 [2023-03-15T20:53:17.867Z] v2.3.0-dev.12 [2023-03-15T20:53:17.867Z] v2.3.0-dev.13 [2023-03-15T20:53:17.867Z] v2.3.0-dev.14 [2023-03-15T20:53:17.867Z] v2.3.0-dev.15 [2023-03-15T20:53:17.867Z] v2.3.0-dev.16 [2023-03-15T20:53:17.867Z] v2.3.0-dev.17 [2023-03-15T20:53:17.867Z] v2.3.0-dev.18 [2023-03-15T20:53:17.867Z] v2.3.0-dev.19 [2023-03-15T20:53:17.867Z] v2.3.0-dev.20 [2023-03-15T20:53:17.867Z] v2.3.0-dev.21 [2023-03-15T20:53:17.867Z] v2.3.0-dev.22 [2023-03-15T20:53:17.867Z] v2.3.0-dev.23 [2023-03-15T20:53:17.867Z] v2.3.0-dev.24 [2023-03-15T20:53:17.867Z] v2.3.0-dev.25 [2023-03-15T20:53:17.867Z] v2.3.0-dev.26 [2023-03-15T20:53:17.867Z] v2.3.0-dev.27 [2023-03-15T20:53:17.867Z] v2.3.0-dev.28 [2023-03-15T20:53:17.867Z] v2.3.0-dev.29 [2023-03-15T20:53:17.867Z] v2.3.0-dev.30 [2023-03-15T20:53:17.867Z] v2.3.0-dev.31 [2023-03-15T20:53:17.867Z] v2.3.0-dev.32 [2023-03-15T20:53:17.867Z] v2.3.0-dev.33 [2023-03-15T20:53:17.867Z] v2.3.0-dev.34 [2023-03-15T20:53:17.867Z] v3.0.0-dev.1 [2023-03-15T20:53:17.867Z] v3.0.0-dev.10 [2023-03-15T20:53:17.867Z] v3.0.0-dev.11 [2023-03-15T20:53:17.867Z] v3.0.0-dev.12 [2023-03-15T20:53:17.867Z] v3.0.0-dev.2 [2023-03-15T20:53:17.867Z] v3.0.0-dev.3 [2023-03-15T20:53:17.867Z] v3.0.0-dev.4 [2023-03-15T20:53:17.867Z] v3.0.0-dev.5 [2023-03-15T20:53:17.867Z] v3.0.0-dev.6 [2023-03-15T20:53:17.867Z] v3.0.0-dev.7 [2023-03-15T20:53:17.867Z] v3.0.0-dev.8 [2023-03-15T20:53:17.867Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T20:53:18.157Z] + lftools sign git-tag v3.0.0-dev.12 [2023-03-15T20:53:18.733Z] Signing Git tag with Sigul... [2023-03-15T20:53:18.733Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-03-15T20:53:19.006Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:19.291Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T20:53:19.298Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T20:53:19.312Z] $ docker stop --time=1 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a [2023-03-15T20:53:20.612Z] $ docker rm -f --volumes 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T20:53:21.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T20:53:21.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:53:21.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:53:21.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:53:21.380Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:53:21.411Z] $ 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-03-15T20:53:21.780Z] $ docker top 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T20:53:21.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T20:53:21.870Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T20:53:21.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T20:53:21.977Z] $ docker exec 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 ssh-agent [2023-03-15T20:53:22.085Z] SSH_AUTH_SOCK=/tmp/ssh-QUpWMhbnkmMj/agent.32 [2023-03-15T20:53:22.085Z] SSH_AGENT_PID=38 [2023-03-15T20:53:22.090Z] Running ssh-add (command line suppressed) [2023-03-15T20:53:22.194Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15845778183837552025.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15845778183837552025.key) [2023-03-15T20:53:22.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T20:53:22.492Z] + git semver bump pre [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,675 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,675 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,676 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,676 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,676 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,678 [execute] INFO git cat-file --batch-check [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,684 [execute] INFO git cat-file --batch [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T20:53:22.751Z] 2023-03-15 20:53:22,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:22.751Z] 3.0.0-dev.13 [Pipeline] } [2023-03-15T20:53:22.757Z] $ docker exec --env ******** --env ******** 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 ssh-agent -k [2023-03-15T20:53:22.883Z] unset SSH_AUTH_SOCK; [2023-03-15T20:53:22.884Z] unset SSH_AGENT_PID; [2023-03-15T20:53:22.884Z] echo Agent pid 38 killed; [2023-03-15T20:53:22.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T20:53:23.211Z] + git semver [Pipeline] } [2023-03-15T20:53:23.475Z] $ docker stop --time=1 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 [2023-03-15T20:53:24.775Z] $ docker rm -f --volumes 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T20:53:25.117Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T20:53:25.117Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:53:25.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T20:53:25.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:53:25.479Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:53:25.508Z] $ 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-03-15T20:53:25.838Z] $ docker top 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T20:53:25.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T20:53:25.921Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T20:53:26.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T20:53:26.026Z] $ docker exec 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 ssh-agent [2023-03-15T20:53:26.147Z] SSH_AUTH_SOCK=/tmp/ssh-hxL81EbiVcUc/agent.31 [2023-03-15T20:53:26.147Z] SSH_AGENT_PID=37 [2023-03-15T20:53:26.152Z] Running ssh-add (command line suppressed) [2023-03-15T20:53:26.246Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1016543152082233225.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1016543152082233225.key) [2023-03-15T20:53:26.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T20:53:26.545Z] + git semver push [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,738 [run_push] DEBUG push [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,738 [execute] INFO git cat-file --batch-check [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,743 [execute] INFO git rev-list e4bb67e06d5e8727353931d796e6b547d602c0d5 -- [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,743 [execute] DEBUG Popen(['git', 'rev-list', 'e4bb67e06d5e8727353931d796e6b547d602c0d5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,752 [execute] INFO git fetch -v origin [2023-03-15T20:53:26.803Z] 2023-03-15 20:53:26,752 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-15T20:53:27.369Z] 2023-03-15 20:53:27,232 [run_push] DEBUG no remote changes detected [2023-03-15T20:53:27.369Z] 2023-03-15 20:53:27,232 [execute] INFO git push origin semver [2023-03-15T20:53:27.369Z] 2023-03-15 20:53:27,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T20:53:28.304Z] 2023-03-15 20:53:27,999 [run_push] DEBUG push all version tags [2023-03-15T20:53:28.304Z] 2023-03-15 20:53:28,000 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T20:53:28.304Z] 2023-03-15 20:53:28,001 [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-03-15T20:53:28.872Z] 2023-03-15 20:53:28,797 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T20:53:28.872Z] 3.0.0-dev.13 [Pipeline] } [2023-03-15T20:53:28.879Z] $ docker exec --env ******** --env ******** 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 ssh-agent -k [2023-03-15T20:53:28.976Z] unset SSH_AUTH_SOCK; [2023-03-15T20:53:28.976Z] unset SSH_AGENT_PID; [2023-03-15T20:53:28.976Z] echo Agent pid 37 killed; [2023-03-15T20:53:28.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T20:53:29.295Z] + git semver [Pipeline] } [2023-03-15T20:53:29.563Z] $ docker stop --time=1 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 [2023-03-15T20:53:30.918Z] $ docker rm -f --volumes 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 [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-03-15T20:53:31.458Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-03-15T20:53:31.458Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T20:53:31.458Z] total 16 [2023-03-15T20:53:31.458Z] drwxr-xr-x 3 root root 4096 Mar 15 20:42 . [2023-03-15T20:53:31.458Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 20:53 .. [2023-03-15T20:53:31.458Z] drwxr-xr-x 2 root root 4096 Mar 15 20:42 cost [2023-03-15T20:53:31.458Z] -rw-r--r-- 1 root root 85 Mar 15 20:42 cost.csv [2023-03-15T20:53:31.458Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T20:53:31.458Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T20:53:31.458Z] total 16 [2023-03-15T20:53:31.458Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:42 . [2023-03-15T20:53:31.458Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 20:53 .. [2023-03-15T20:53:31.458Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 20:42 cost [2023-03-15T20:53:31.458Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:31.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:32.607Z] ---> package-listing.sh [2023-03-15T20:53:32.607Z] ++ facter osfamily [2023-03-15T20:53:32.607Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T20:53:32.867Z] + OS_FAMILY=debian [2023-03-15T20:53:32.867Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-03-15T20:53:32.867Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T20:53:32.867Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T20:53:32.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T20:53:32.867Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T20:53:32.867Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-03-15T20:53:32.867Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T20:53:32.867Z] + case "${OS_FAMILY}" in [2023-03-15T20:53:32.867Z] + dpkg -l [2023-03-15T20:53:32.867Z] + grep '^ii' [2023-03-15T20:53:32.867Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T20:53:32.867Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T20:53:32.867Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T20:53:32.867Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-03-15T20:53:32.867Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-03-15T20:53:32.867Z] + 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-03-15T20:53:32.878Z] 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-03-15T20:53:33.225Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T20:53:33.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T20:53:33.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T20:53:33.664Z] prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container [2023-03-15T20:53:33.687Z] $ 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-03-15T20:53:33.967Z] $ docker top afec003407ade05cfa8a677aa3eab555bd6f9ee4bf25411829130fbb41e5369b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T20:53:34.297Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T20:53:34.578Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T20:53:34.940Z] + ls /var/log/sa-host [2023-03-15T20:53:34.940Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T20:53:35.005Z] provisioning config files... [2023-03-15T20:53:35.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9210477269446223852tmp [Pipeline] { [Pipeline] echo [2023-03-15T20:53:35.023Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:35.301Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T20:53:35.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:35.622Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T20:53:35.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:35.909Z] ---> sudo-logs.sh [2023-03-15T20:53:35.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T20:53:35.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:36.221Z] ---> job-cost.sh [2023-03-15T20:53:36.221Z] lf-activate-venv: SKIPPING [2023-03-15T20:53:36.221Z] DEBUG: total: 0.2199999988079071 [2023-03-15T20:53:36.221Z] INFO: Retrieving Stack Cost... [2023-03-15T20:53:36.480Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T20:53:37.048Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T20:53:37.059Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T20:53:37.340Z] ---> logs-deploy.sh [2023-03-15T20:53:37.340Z] lf-activate-venv: SKIPPING [2023-03-15T20:53:37.340Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/96 [2023-03-15T20:53:37.340Z] INFO: archiving workspace using pattern(s): [2023-03-15T20:53:38.275Z] Archives upload complete. [2023-03-15T20:53:38.275Z] INFO: archiving logs to Nexus