Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c 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-ssh18444221516223649077.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh911787369285549533.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-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-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10385265673854481892.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6480759379296661428.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-modbus-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-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10638714485405258699.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-modbus-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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7216’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7232’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7238 in /w/workspace/gexfoundry_device-modbus-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-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Avoid second fetch Checking out Revision b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c (main) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c # timeout=10 Commit message: "Merge pull request #503 from ernestojeda/create-release" > git rev-list --no-walk 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:57:27.386Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:57:27.446Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:57:27.463Z] ========================================================= [2023-09-20T20:57:27.463Z] EdgeX Global Pipelines Version Info [2023-09-20T20:57:27.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:28.207Z] ------------------- [2023-09-20T20:57:28.208Z] stable info: [2023-09-20T20:57:28.208Z] ------------------- [2023-09-20T20:57:28.208Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:57:28.208Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:57:28.208Z] Message: update stable to v1.0.254 [2023-09-20T20:57:28.776Z] ------------------- [2023-09-20T20:57:28.776Z] experimental info: [2023-09-20T20:57:28.776Z] ------------------- [2023-09-20T20:57:28.776Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:57:28.776Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:57:28.776Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:57:28.948Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-20T20:57:28.961Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-20T20:57:28.972Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:57:28.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:57:28.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:57:29.003Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:57:29.092Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:57:29.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:57:29.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:57:29.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:57:29.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:57:29.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-20T20:57:29.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:57:29.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:57:29.196Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:57:29.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:57:29.226Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:57:29.238Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:57:29.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:57:29.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:57:29.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:57:29.280Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:57:29.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:57:29.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:57:29.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:57:29.317Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:57:29.331Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:57:29.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:57:29.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:57:29.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:57:29.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] echo [2023-09-20T20:57:29.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2f2f61 [Pipeline] echo [2023-09-20T20:57:29.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:57:29.432Z] provisioning config files... [2023-09-20T20:57:29.448Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8210097979025531823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:29.749Z] ---> docker-login.sh [2023-09-20T20:57:29.749Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:57:30.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:30.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:30.008Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:30.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:30.008Z] [2023-09-20T20:57:30.008Z] Login Succeeded [2023-09-20T20:57:30.008Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:57:30.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:30.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:30.008Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:30.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:30.008Z] [2023-09-20T20:57:30.008Z] Login Succeeded [2023-09-20T20:57:30.008Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:57:30.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:30.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:30.268Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:30.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:30.268Z] [2023-09-20T20:57:30.268Z] Login Succeeded [2023-09-20T20:57:30.268Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:57:30.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:30.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:30.268Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:30.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:30.268Z] [2023-09-20T20:57:30.268Z] Login Succeeded [2023-09-20T20:57:30.268Z] docker.io [2023-09-20T20:57:30.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:30.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:30.527Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:30.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:30.527Z] [2023-09-20T20:57:30.527Z] Login Succeeded [2023-09-20T20:57:30.527Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:57:30.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:57:30.913Z] + git rev-list -1 --merges b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c~1..b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] echo [2023-09-20T20:57:30.955Z] -----------> git rev-list -1 --merges b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c~1..b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T20:57:30.955Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [false] [Pipeline] sh [2023-09-20T20:57:31.241Z] + git log --format=format:%s -1 b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] echo [2023-09-20T20:57:31.253Z] ========================================================= [2023-09-20T20:57:31.253Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:57:31.253Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:57:31.566Z] + git log --format=format:%s -1 b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] echo [2023-09-20T20:57:31.575Z] [semverPrep] GIT_COMMIT: b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c, Commit Message: Merge pull request #503 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:57:31.585Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:57:31.925Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:57:31.925Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:57:31.925Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:57:31.925Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:57:31.925Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:57:31.925Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:57:31.925Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:32.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:32.268Z] [2023-09-20T20:57:32.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:32.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:32.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:57:32.564Z] b85a868b505f: Pulling fs layer [2023-09-20T20:57:32.564Z] e2be974225ed: Pulling fs layer [2023-09-20T20:57:32.564Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:57:32.564Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:57:32.564Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:57:32.564Z] eaf3925da568: Pulling fs layer [2023-09-20T20:57:32.564Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:57:32.564Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:57:32.564Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:57:32.564Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:57:32.564Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:57:32.564Z] 988bab9f4d93: Waiting [2023-09-20T20:57:32.564Z] 1469e6f7b9e6: Waiting [2023-09-20T20:57:32.564Z] b352a97aabf1: Waiting [2023-09-20T20:57:32.564Z] eaf3925da568: Waiting [2023-09-20T20:57:32.564Z] bab4dde63d76: Waiting [2023-09-20T20:57:32.564Z] 4872d77fe225: Waiting [2023-09-20T20:57:32.564Z] bde34c3a00c8: Waiting [2023-09-20T20:57:32.564Z] 5851b861e8e6: Waiting [2023-09-20T20:57:32.564Z] e2be974225ed: Download complete [2023-09-20T20:57:32.564Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:57:32.564Z] 988bab9f4d93: Download complete [2023-09-20T20:57:32.564Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:57:32.564Z] 1469e6f7b9e6: Download complete [2023-09-20T20:57:32.830Z] eaf3925da568: Verifying Checksum [2023-09-20T20:57:32.830Z] eaf3925da568: Download complete [2023-09-20T20:57:32.830Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:57:32.830Z] 339a4e72a1f5: Download complete [2023-09-20T20:57:32.830Z] bde34c3a00c8: Verifying Checksum [2023-09-20T20:57:32.830Z] b352a97aabf1: Download complete [2023-09-20T20:57:32.830Z] 4872d77fe225: Download complete [2023-09-20T20:57:32.830Z] 5851b861e8e6: Verifying Checksum [2023-09-20T20:57:32.830Z] 5851b861e8e6: Download complete [2023-09-20T20:57:32.830Z] b85a868b505f: Verifying Checksum [2023-09-20T20:57:32.830Z] b85a868b505f: Download complete [2023-09-20T20:57:33.088Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:57:33.088Z] bab4dde63d76: Download complete [2023-09-20T20:57:34.463Z] b85a868b505f: Pull complete [2023-09-20T20:57:34.463Z] e2be974225ed: Pull complete [2023-09-20T20:57:34.722Z] 339a4e72a1f5: Pull complete [2023-09-20T20:57:34.722Z] 988bab9f4d93: Pull complete [2023-09-20T20:57:35.289Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:57:35.289Z] eaf3925da568: Pull complete [2023-09-20T20:57:37.206Z] bab4dde63d76: Pull complete [2023-09-20T20:57:37.206Z] bde34c3a00c8: Pull complete [2023-09-20T20:57:37.206Z] b352a97aabf1: Pull complete [2023-09-20T20:57:37.206Z] 4872d77fe225: Pull complete [2023-09-20T20:57:37.206Z] 5851b861e8e6: Pull complete [2023-09-20T20:57:37.206Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:57:37.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:57:37.206Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:37.307Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T20:57:37.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:57:41.607Z] $ docker top 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b -eo pid,comm [2023-09-20T20:57:41.663Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:57:41.663Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:57:41.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:57:41.698Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:57:41.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:57:41.810Z] $ docker exec 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b ssh-agent [2023-09-20T20:57:41.912Z] SSH_AUTH_SOCK=/tmp/ssh-b8EgSOVnVf8M/agent.32 [2023-09-20T20:57:41.912Z] SSH_AGENT_PID=38 [2023-09-20T20:57:41.920Z] Running ssh-add (command line suppressed) [2023-09-20T20:57:42.029Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_637310820487721973.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_637310820487721973.key) [2023-09-20T20:57:42.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:57:42.353Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:57:42.380Z] $ docker exec --env ******** --env ******** 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b ssh-agent -k [2023-09-20T20:57:42.480Z] unset SSH_AUTH_SOCK; [2023-09-20T20:57:42.481Z] unset SSH_AGENT_PID; [2023-09-20T20:57:42.481Z] echo Agent pid 38 killed; [2023-09-20T20:57:42.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:57:42.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:57:42.519Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:57:42.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:57:42.636Z] $ docker exec 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b ssh-agent [2023-09-20T20:57:42.751Z] SSH_AUTH_SOCK=/tmp/ssh-Zzf2h7mKy0gz/agent.71 [2023-09-20T20:57:42.751Z] SSH_AGENT_PID=77 [2023-09-20T20:57:42.755Z] Running ssh-add (command line suppressed) [2023-09-20T20:57:42.858Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1891573533009816572.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1891573533009816572.key) [2023-09-20T20:57:42.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:57:43.157Z] + git semver init [2023-09-20T20:57:43.416Z] 2023-09-20 20:57:43,329 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:57:43.416Z] 2023-09-20 20:57:43,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-20T20:57:43.416Z] 2023-09-20 20:57:43,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-20T20:57:43.416Z] 2023-09-20 20:57:43,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:57:44.351Z] 2023-09-20 20:57:44,155 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-20T20:57:44.351Z] 2023-09-20 20:57:44,155 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-20T20:57:44.351Z] 2023-09-20 20:57:44,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T20:57:44.351Z] 2023-09-20 20:57:44,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T20:57:44.351Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T20:57:44.365Z] $ docker exec --env ******** --env ******** 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b ssh-agent -k [2023-09-20T20:57:44.465Z] unset SSH_AUTH_SOCK; [2023-09-20T20:57:44.465Z] unset SSH_AGENT_PID; [2023-09-20T20:57:44.465Z] echo Agent pid 77 killed; [2023-09-20T20:57:44.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:57:44.785Z] + git semver [Pipeline] } [2023-09-20T20:57:45.058Z] $ docker stop --time=1 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b [2023-09-20T20:57:46.513Z] $ docker rm -f --volumes 4d10e77e25fbdf08ca2b6cd546aadf1073ed32b07d0f6efa6a110015b0dbdf8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:57:46.859Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:57:47.065Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:57:47.067Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:57:47.228Z] provisioning config files... [2023-09-20T20:57:47.239Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9341510807321885210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:57:47.538Z] ---> docker-login.sh [2023-09-20T20:57:47.538Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:57:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:47.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:47.538Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:47.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:47.538Z] [2023-09-20T20:57:47.538Z] Login Succeeded [2023-09-20T20:57:47.538Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:57:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:47.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:47.538Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:47.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:47.538Z] [2023-09-20T20:57:47.538Z] Login Succeeded [2023-09-20T20:57:47.538Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:57:47.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:47.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:47.797Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:47.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:47.797Z] [2023-09-20T20:57:47.797Z] Login Succeeded [2023-09-20T20:57:47.797Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:57:47.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:47.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:47.797Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:47.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:47.797Z] [2023-09-20T20:57:47.797Z] Login Succeeded [2023-09-20T20:57:47.797Z] docker.io [2023-09-20T20:57:47.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:57:48.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:57:48.056Z] Configure a credential helper to remove this warning. See [2023-09-20T20:57:48.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:57:48.056Z] [2023-09-20T20:57:48.056Z] Login Succeeded [2023-09-20T20:57:48.056Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:57:48.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:57:48.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:57:48.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:57:48.159Z] ========================================================= [2023-09-20T20:57:48.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:57:48.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:48.462Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:57:48.462Z] Sending build context to Docker daemon 6.44MB [2023-09-20T20:57:48.462Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:57:48.462Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T20:57:48.462Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:57:48.462Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:57:48.462Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:57:48.462Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:57:48.462Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:57:48.462Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:57:48.462Z] c68163c4e522: Pulling fs layer [2023-09-20T20:57:48.463Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:57:48.463Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:57:48.463Z] ad3a456e5733: Waiting [2023-09-20T20:57:48.463Z] 33e27b845d1e: Waiting [2023-09-20T20:57:48.463Z] 23d2d4c4bb30: Waiting [2023-09-20T20:57:48.463Z] c68163c4e522: Waiting [2023-09-20T20:57:48.463Z] 50da416c3ac9: Waiting [2023-09-20T20:57:48.463Z] c4d48a809fc2: Verifying Checksum [2023-09-20T20:57:48.463Z] c4d48a809fc2: Download complete [2023-09-20T20:57:48.463Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:57:48.463Z] ad3a456e5733: Download complete [2023-09-20T20:57:48.721Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:57:48.721Z] 33e27b845d1e: Download complete [2023-09-20T20:57:48.721Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:57:48.721Z] 7264a8db6415: Download complete [2023-09-20T20:57:48.721Z] c68163c4e522: Verifying Checksum [2023-09-20T20:57:48.721Z] c68163c4e522: Download complete [2023-09-20T20:57:48.721Z] 7264a8db6415: Pull complete [2023-09-20T20:57:48.979Z] c4d48a809fc2: Pull complete [2023-09-20T20:57:48.980Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:57:48.980Z] 23d2d4c4bb30: Download complete [2023-09-20T20:57:49.239Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:57:49.239Z] 4f1c88b9dad5: Download complete [2023-09-20T20:57:49.496Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:57:49.496Z] 50da416c3ac9: Download complete [2023-09-20T20:57:52.180Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:57:52.180Z] ad3a456e5733: Pull complete [2023-09-20T20:57:52.180Z] 33e27b845d1e: Pull complete [2023-09-20T20:57:52.180Z] c68163c4e522: Pull complete [2023-09-20T20:57:54.715Z] 50da416c3ac9: Pull complete [2023-09-20T20:57:54.978Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:57:54.978Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:57:54.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:57:54.978Z] ---> 0786185ac409 [2023-09-20T20:57:54.978Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:58:02.176Z] Still waiting to schedule task [2023-09-20T20:58:02.177Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-8c-8g-7244’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-8c-8g-7245’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-8c-8g-7247’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-8c-8g-7248’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7237’ is offline [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7240’ is offline [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7241’ is offline [2023-09-20T20:58:02.177Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7242’ is offline [2023-09-20T20:58:02.178Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7243’ is offline [2023-09-20T20:58:04.972Z] ---> Running in e55fbb128580 [2023-09-20T20:58:04.972Z] Removing intermediate container e55fbb128580 [2023-09-20T20:58:04.972Z] ---> 87d71ce05095 [2023-09-20T20:58:04.972Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:58:04.972Z] ---> Running in d326771eece1 [2023-09-20T20:58:04.972Z] Removing intermediate container d326771eece1 [2023-09-20T20:58:04.972Z] ---> 9ebe34525b97 [2023-09-20T20:58:04.972Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-20T20:58:04.972Z] ---> Running in 1f6369ec172a [2023-09-20T20:58:04.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:04.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:05.229Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-20T20:58:05.229Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-20T20:58:05.229Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-20T20:58:05.229Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:58:05.229Z] OK: 270 MiB in 60 packages [2023-09-20T20:58:05.796Z] Removing intermediate container 1f6369ec172a [2023-09-20T20:58:05.796Z] ---> cb07292211e4 [2023-09-20T20:58:05.796Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-20T20:58:05.796Z] ---> Running in 1a867b239831 [2023-09-20T20:58:06.363Z] Removing intermediate container 1a867b239831 [2023-09-20T20:58:06.363Z] ---> 27486df6520c [2023-09-20T20:58:06.363Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T20:58:06.622Z] ---> b14797f14471 [2023-09-20T20:58:06.622Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:58:06.881Z] ---> Running in b8bfe76368b0 [2023-09-20T20:58:45.607Z] Removing intermediate container b8bfe76368b0 [2023-09-20T20:58:45.607Z] ---> b0a4b03e698b [2023-09-20T20:58:45.607Z] Step 9/10 : COPY . . [2023-09-20T20:58:45.607Z] ---> 5dbcac8355c9 [2023-09-20T20:58:45.607Z] Step 10/10 : RUN ${MAKE} [2023-09-20T20:58:45.607Z] ---> Running in d0b7350d3533 [2023-09-20T20:58:45.607Z] noop [2023-09-20T20:58:45.607Z] Removing intermediate container d0b7350d3533 [2023-09-20T20:58:45.607Z] ---> 5bfdf18251ab [2023-09-20T20:58:45.607Z] Successfully built 5bfdf18251ab [2023-09-20T20:58:45.607Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:45.921Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:58:45.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:46.015Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T20:58:46.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:58:46.383Z] $ docker top 68b455799d028016755ac5ef1abd90c3a856dd51531e8ffe65233a15fb120d87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:58:46.720Z] + go version [2023-09-20T20:58:46.720Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:58:46.733Z] $ docker stop --time=1 68b455799d028016755ac5ef1abd90c3a856dd51531e8ffe65233a15fb120d87 [2023-09-20T20:58:47.988Z] $ docker rm -f --volumes 68b455799d028016755ac5ef1abd90c3a856dd51531e8ffe65233a15fb120d87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:48.374Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:58:48.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:48.443Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T20:58:48.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:58:48.774Z] $ docker top 43a53a250f2f1c056944dd31302c93a0b80a2cc9098b1168f9fecf1a3db0358b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:58:49.104Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:58:49.392Z] + make test [2023-09-20T20:58:49.392Z] go test ./... -coverprofile=coverage.out [2023-09-20T20:58:50.772Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-20T20:59:00.833Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-20T20:59:00.833Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-09-20T20:59:05.010Z] go vet ./... [2023-09-20T20:59:08.297Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:59:08.297Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:59:08.297Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:59:08.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:59:08.578Z] $ docker stop --time=1 43a53a250f2f1c056944dd31302c93a0b80a2cc9098b1168f9fecf1a3db0358b [2023-09-20T20:59:12.758Z] $ docker rm -f --volumes 43a53a250f2f1c056944dd31302c93a0b80a2cc9098b1168f9fecf1a3db0358b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:59:13.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:59:13.265Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:59:13.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:59:13.976Z] + ls -al . [2023-09-20T20:59:13.976Z] total 192 [2023-09-20T20:59:13.976Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:58 . [2023-09-20T20:59:13.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 .. [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:57 .dockerignore [2023-09-20T20:59:13.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git [2023-09-20T20:59:13.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 .github [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 20 20:57 .gitignore [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:57 .golangci.yml [2023-09-20T20:59:13.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:57 .semver [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 20 20:57 Attribution.txt [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 20 20:57 CHANGELOG.md [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 20 20:57 Dockerfile [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:57 GOVERNANCE.md [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:57 Jenkinsfile [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:57 LICENSE [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 20 20:57 Makefile [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 20:57 OWNERS.md [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 20 20:57 README.md [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION [2023-09-20T20:59:13.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 bin [2023-09-20T20:59:13.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 cmd [2023-09-20T20:59:13.976Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 20 20:58 coverage.out [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 20 20:57 go.mod [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 20 20:57 go.sum [2023-09-20T20:59:13.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:57 internal [2023-09-20T20:59:13.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:57 simulator [2023-09-20T20:59:13.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:57 snap [2023-09-20T20:59:13.976Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 20 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:14.314Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c --label arch=amd64 --label version=3.1.0-dev.11 . [2023-09-20T20:59:14.314Z] Sending build context to Docker daemon 6.466MB [2023-09-20T20:59:14.314Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:59:14.314Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-20T20:59:14.314Z] ---> 5bfdf18251ab [2023-09-20T20:59:14.314Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:59:14.583Z] ---> Running in f80bcab25860 [2023-09-20T20:59:14.583Z] Removing intermediate container f80bcab25860 [2023-09-20T20:59:14.583Z] ---> 7e6fca835e8e [2023-09-20T20:59:14.583Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:59:14.583Z] ---> Running in ab3aa5c158cd [2023-09-20T20:59:14.583Z] Removing intermediate container ab3aa5c158cd [2023-09-20T20:59:14.583Z] ---> 14293955d6bb [2023-09-20T20:59:14.583Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-20T20:59:14.583Z] ---> Running in c98efd2d6732 [2023-09-20T20:59:14.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:15.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:15.429Z] OK: 270 MiB in 60 packages [2023-09-20T20:59:15.754Z] Removing intermediate container c98efd2d6732 [2023-09-20T20:59:15.754Z] ---> 7f55334fbc1f [2023-09-20T20:59:15.754Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-20T20:59:15.754Z] ---> Running in ad825031cb52 [2023-09-20T20:59:15.754Z] Removing intermediate container ad825031cb52 [2023-09-20T20:59:15.754Z] ---> 498283be8b55 [2023-09-20T20:59:15.754Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-20T20:59:15.754Z] ---> df1db6caa9df [2023-09-20T20:59:15.754Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:59:15.754Z] ---> Running in 0a28534ed88b [2023-09-20T20:59:16.758Z] Removing intermediate container 0a28534ed88b [2023-09-20T20:59:16.758Z] ---> 5fa34e774e18 [2023-09-20T20:59:16.758Z] Step 9/22 : COPY . . [2023-09-20T20:59:17.016Z] ---> 3a6e25d8912e [2023-09-20T20:59:17.016Z] Step 10/22 : RUN ${MAKE} [2023-09-20T20:59:17.016Z] ---> Running in e623b88852a5 [2023-09-20T20:59:17.275Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-20T20:59:39.209Z] Removing intermediate container e623b88852a5 [2023-09-20T20:59:39.209Z] ---> 4ccb37b7c718 [2023-09-20T20:59:39.209Z] Step 11/22 : FROM alpine:3.18 [2023-09-20T20:59:39.209Z] 3.18: Pulling from library/alpine [2023-09-20T20:59:39.209Z] 7264a8db6415: Already exists [2023-09-20T20:59:39.209Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:59:39.209Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:59:39.209Z] ---> 7e01a0d0a1dc [2023-09-20T20:59:39.209Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-20T20:59:39.209Z] ---> Running in c0767a1c2983 [2023-09-20T20:59:39.209Z] Removing intermediate container c0767a1c2983 [2023-09-20T20:59:39.209Z] ---> 9c13a5d17d21 [2023-09-20T20:59:39.209Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:59:39.209Z] ---> Running in 941937f8550a [2023-09-20T20:59:39.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:39.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:59:39.209Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:59:39.209Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:59:39.209Z] OK: 7 MiB in 16 packages [2023-09-20T20:59:39.209Z] Removing intermediate container 941937f8550a [2023-09-20T20:59:39.209Z] ---> bb7ff0e7525e [2023-09-20T20:59:39.209Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-20T20:59:39.467Z] ---> 983ae1cd228a [2023-09-20T20:59:39.467Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-20T20:59:39.723Z] ---> f99c19d701b7 [2023-09-20T20:59:39.723Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-20T20:59:39.723Z] ---> e4df9540ec63 [2023-09-20T20:59:39.723Z] Step 17/22 : EXPOSE 59901 [2023-09-20T20:59:39.723Z] ---> Running in 566870e8ffe5 [2023-09-20T20:59:39.723Z] Removing intermediate container 566870e8ffe5 [2023-09-20T20:59:39.723Z] ---> 809a409c3f02 [2023-09-20T20:59:39.723Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-20T20:59:39.981Z] ---> Running in 325f21b19835 [2023-09-20T20:59:39.981Z] Removing intermediate container 325f21b19835 [2023-09-20T20:59:39.981Z] ---> 7d7f18379de5 [2023-09-20T20:59:39.981Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:59:39.981Z] ---> Running in 7ebbdc535830 [2023-09-20T20:59:39.981Z] Removing intermediate container 7ebbdc535830 [2023-09-20T20:59:39.981Z] ---> 3a72a3b29f20 [2023-09-20T20:59:39.981Z] Step 20/22 : LABEL arch=amd64 [2023-09-20T20:59:39.981Z] ---> Running in 45f615a78209 [2023-09-20T20:59:40.240Z] Removing intermediate container 45f615a78209 [2023-09-20T20:59:40.240Z] ---> a34b1a45cdcf [2023-09-20T20:59:40.240Z] Step 21/22 : LABEL git_sha=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T20:59:40.240Z] ---> Running in 099bebeda781 [2023-09-20T20:59:40.240Z] Removing intermediate container 099bebeda781 [2023-09-20T20:59:40.240Z] ---> 0eb49229eb30 [2023-09-20T20:59:40.240Z] Step 22/22 : LABEL version=3.1.0-dev.11 [2023-09-20T20:59:40.240Z] ---> Running in 6048044f28f7 [2023-09-20T20:59:40.240Z] Removing intermediate container 6048044f28f7 [2023-09-20T20:59:40.240Z] ---> 73c213d5c93c [2023-09-20T20:59:40.240Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:59:40.240Z] Successfully built 73c213d5c93c [2023-09-20T20:59:40.240Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:59:40.354Z] provisioning config files... [2023-09-20T20:59:40.361Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config44412586741284032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:40.669Z] ---> docker-login.sh [2023-09-20T20:59:40.669Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:59:40.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:40.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:40.669Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:40.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:40.669Z] [2023-09-20T20:59:40.669Z] Login Succeeded [2023-09-20T20:59:40.669Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:59:40.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:40.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:40.669Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:40.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:40.669Z] [2023-09-20T20:59:40.669Z] Login Succeeded [2023-09-20T20:59:40.669Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:59:40.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:40.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:40.927Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:40.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:40.927Z] [2023-09-20T20:59:40.927Z] Login Succeeded [2023-09-20T20:59:40.927Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:59:40.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:40.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:40.927Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:40.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:40.927Z] [2023-09-20T20:59:40.927Z] Login Succeeded [2023-09-20T20:59:40.927Z] docker.io [2023-09-20T20:59:40.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:41.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:41.187Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:41.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:41.187Z] [2023-09-20T20:59:41.187Z] Login Succeeded [2023-09-20T20:59:41.187Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:59:41.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:59:41.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:41.255Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-20T20:59:41.255Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T20:59:41.255Z] latest [2023-09-20T20:59:41.255Z] 3.1.0-dev.11 [2023-09-20T20:59:41.255Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T20:59:41.255Z] main [2023-09-20T20:59:41.255Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:41.578Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:41.884Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T20:59:41.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-20T20:59:41.884Z] c31dc6eaddac: Preparing [2023-09-20T20:59:41.884Z] 9612ddc6ac15: Preparing [2023-09-20T20:59:41.884Z] 858aab5d3a8e: Preparing [2023-09-20T20:59:41.884Z] 4f9e9b91d3c3: Preparing [2023-09-20T20:59:41.884Z] 4693057ce236: Preparing [2023-09-20T20:59:41.884Z] 4693057ce236: Layer already exists [2023-09-20T20:59:41.884Z] 4f9e9b91d3c3: Pushed [2023-09-20T20:59:41.884Z] c31dc6eaddac: Pushed [2023-09-20T20:59:41.884Z] 9612ddc6ac15: Pushed [2023-09-20T20:59:44.417Z] 858aab5d3a8e: Pushed [2023-09-20T20:59:44.417Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c: digest: sha256:8c679825c2e2b6c6e15d3b39787ef2f05ee691b825166a328fe649122e717f67 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:44.732Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:45.041Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-20T20:59:45.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-20T20:59:45.041Z] c31dc6eaddac: Preparing [2023-09-20T20:59:45.041Z] 9612ddc6ac15: Preparing [2023-09-20T20:59:45.041Z] 858aab5d3a8e: Preparing [2023-09-20T20:59:45.041Z] 4f9e9b91d3c3: Preparing [2023-09-20T20:59:45.041Z] 4693057ce236: Preparing [2023-09-20T20:59:45.041Z] c31dc6eaddac: Layer already exists [2023-09-20T20:59:45.041Z] 858aab5d3a8e: Layer already exists [2023-09-20T20:59:45.041Z] 4693057ce236: Layer already exists [2023-09-20T20:59:45.041Z] 4f9e9b91d3c3: Layer already exists [2023-09-20T20:59:45.041Z] 9612ddc6ac15: Layer already exists [2023-09-20T20:59:45.041Z] latest: digest: sha256:8c679825c2e2b6c6e15d3b39787ef2f05ee691b825166a328fe649122e717f67 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:45.346Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:45.653Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.11 [2023-09-20T20:59:45.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-20T20:59:45.654Z] c31dc6eaddac: Preparing [2023-09-20T20:59:45.654Z] 9612ddc6ac15: Preparing [2023-09-20T20:59:45.654Z] 858aab5d3a8e: Preparing [2023-09-20T20:59:45.654Z] 4f9e9b91d3c3: Preparing [2023-09-20T20:59:45.654Z] 4693057ce236: Preparing [2023-09-20T20:59:45.654Z] 4f9e9b91d3c3: Layer already exists [2023-09-20T20:59:45.654Z] 9612ddc6ac15: Layer already exists [2023-09-20T20:59:45.654Z] 4693057ce236: Layer already exists [2023-09-20T20:59:45.654Z] 858aab5d3a8e: Layer already exists [2023-09-20T20:59:45.654Z] c31dc6eaddac: Layer already exists [2023-09-20T20:59:45.654Z] 3.1.0-dev.11: digest: sha256:8c679825c2e2b6c6e15d3b39787ef2f05ee691b825166a328fe649122e717f67 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:45.969Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:46.285Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T20:59:46.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-20T20:59:46.285Z] c31dc6eaddac: Preparing [2023-09-20T20:59:46.285Z] 9612ddc6ac15: Preparing [2023-09-20T20:59:46.285Z] 858aab5d3a8e: Preparing [2023-09-20T20:59:46.285Z] 4f9e9b91d3c3: Preparing [2023-09-20T20:59:46.285Z] 4693057ce236: Preparing [2023-09-20T20:59:46.285Z] c31dc6eaddac: Layer already exists [2023-09-20T20:59:46.285Z] 9612ddc6ac15: Layer already exists [2023-09-20T20:59:46.285Z] 4693057ce236: Layer already exists [2023-09-20T20:59:46.285Z] 858aab5d3a8e: Layer already exists [2023-09-20T20:59:46.285Z] 4f9e9b91d3c3: Layer already exists [2023-09-20T20:59:46.285Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11: digest: sha256:8c679825c2e2b6c6e15d3b39787ef2f05ee691b825166a328fe649122e717f67 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:46.603Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:46.910Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-20T20:59:46.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-20T20:59:46.911Z] c31dc6eaddac: Preparing [2023-09-20T20:59:46.911Z] 9612ddc6ac15: Preparing [2023-09-20T20:59:46.911Z] 858aab5d3a8e: Preparing [2023-09-20T20:59:46.911Z] 4f9e9b91d3c3: Preparing [2023-09-20T20:59:46.911Z] 4693057ce236: Preparing [2023-09-20T20:59:46.911Z] c31dc6eaddac: Layer already exists [2023-09-20T20:59:46.911Z] 4693057ce236: Layer already exists [2023-09-20T20:59:46.911Z] 858aab5d3a8e: Layer already exists [2023-09-20T20:59:46.911Z] 9612ddc6ac15: Layer already exists [2023-09-20T20:59:46.911Z] 4f9e9b91d3c3: Layer already exists [2023-09-20T20:59:46.911Z] main: digest: sha256:8c679825c2e2b6c6e15d3b39787ef2f05ee691b825166a328fe649122e717f67 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:59:46.960Z] ===================================================== [Pipeline] echo [2023-09-20T20:59:46.970Z] taggedImages: [2023-09-20T20:59:46.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T20:59:46.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-20T20:59:46.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.11 [2023-09-20T20:59:46.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T20:59:46.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:47.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:47.339Z] [2023-09-20T20:59:47.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:47.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:47.640Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:59:47.640Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:59:47.640Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:59:47.640Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:59:47.640Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:59:47.640Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:59:47.640Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:59:47.640Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:59:47.640Z] 33b1e0a273af: Waiting [2023-09-20T20:59:47.640Z] 5d3b04190fa2: Waiting [2023-09-20T20:59:47.640Z] 2f39f015ded8: Waiting [2023-09-20T20:59:47.640Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:59:47.899Z] 5c69ac0246d0: Download complete [2023-09-20T20:59:47.899Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:59:47.899Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:59:47.899Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:59:47.899Z] 33b1e0a273af: Download complete [2023-09-20T20:59:47.899Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:59:47.899Z] ec43610c2a17: Download complete [2023-09-20T20:59:47.899Z] 5d3b04190fa2: Download complete [2023-09-20T20:59:48.162Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:59:48.162Z] 5eb5b503b376: Download complete [2023-09-20T20:59:48.730Z] 2f39f015ded8: Download complete [2023-09-20T20:59:49.297Z] 5eb5b503b376: Pull complete [2023-09-20T20:59:49.864Z] 5c69ac0246d0: Pull complete [2023-09-20T20:59:50.428Z] ec43610c2a17: Pull complete [2023-09-20T20:59:50.686Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:59:51.253Z] 33b1e0a273af: Pull complete [2023-09-20T20:59:51.253Z] 5d3b04190fa2: Pull complete [2023-09-20T20:59:55.430Z] 2f39f015ded8: Pull complete [2023-09-20T20:59:55.430Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:59:55.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:59:55.688Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:59:55.768Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T20:59:55.803Z] $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:00:02.827Z] $ docker top d2ef136f2c99309e193e9a4c187a3d3f55ee0ea69ade829231a9935740ac6a69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:00:03.220Z] ---> job-cost.sh [2023-09-20T21:00:03.220Z] lf-activate-venv: SKIPPING [2023-09-20T21:00:03.220Z] INFO: No Stack... [2023-09-20T21:00:03.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:00:03.736Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:00:04.019Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-20T21:00:04.019Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T21:00:04.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [2023-09-20T21:00:04.034Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] did not exist. Created. [2023-09-20T21:00:04.034Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:00:04.336Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T21:00:04.364Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:00:04.375Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:00:04.393Z] $ docker stop --time=1 d2ef136f2c99309e193e9a4c187a3d3f55ee0ea69ade829231a9935740ac6a69 [2023-09-20T21:00:05.528Z] $ docker rm -f --volumes d2ef136f2c99309e193e9a4c187a3d3f55ee0ea69ade829231a9935740ac6a69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T21:18:09.130Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7471 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-20T21:18:09.143Z] Running in /w/workspace/device-modbus-go/125 [Pipeline] { [Pipeline] checkout [2023-09-20T21:18:09.175Z] Selected Git installation does not exist. Using Default [2023-09-20T21:18:09.175Z] The recommended git tool is: NONE [2023-09-20T21:18:17.997Z] using credential edgex-jenkins-ssh [2023-09-20T21:18:18.015Z] Cloning the remote Git repository [2023-09-20T21:18:18.092Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-20T21:18:18.228Z] > git init /w/workspace/device-modbus-go/125 # timeout=10 [2023-09-20T21:18:18.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-20T21:18:18.443Z] > git --version # timeout=10 [2023-09-20T21:18:18.480Z] > git --version # 'git version 2.25.1' [2023-09-20T21:18:18.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T21:18:18.690Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:18:21.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-20T21:18:21.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T21:18:22.417Z] Avoid second fetch [2023-09-20T21:18:22.417Z] Checking out Revision b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c (main) [2023-09-20T21:18:22.443Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T21:18:22.551Z] > git checkout -f b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c # timeout=10 [2023-09-20T21:18:23.296Z] Commit message: "Merge pull request #503 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:18:24.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T21:18:24.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:18:24.313Z] Dload Upload Total Spent Left Speed [2023-09-20T21:18:24.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2023-09-20T21:18:24.965Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T21:18:25.326Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T21:18:25.326Z] + sudo tee /etc/docker/daemon.new [2023-09-20T21:18:25.326Z] { [2023-09-20T21:18:25.326Z] "registry-mirrors": [ [2023-09-20T21:18:25.326Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T21:18:25.326Z] ], [2023-09-20T21:18:25.326Z] "bip": "10.250.0.254/24", [2023-09-20T21:18:25.326Z] "hosts": [ [2023-09-20T21:18:25.326Z] "tcp://0.0.0.0:5555", [2023-09-20T21:18:25.326Z] "unix:///var/run/docker.sock" [2023-09-20T21:18:25.326Z] ], [2023-09-20T21:18:25.326Z] "mtu": 1458, [2023-09-20T21:18:25.326Z] "selinux-enabled": true, [2023-09-20T21:18:25.326Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T21:18:25.326Z] } [Pipeline] sh [2023-09-20T21:18:25.694Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T21:18:26.070Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:18:44.424Z] provisioning config files... [2023-09-20T21:18:44.459Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/125@tmp/config4853527437231803407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:18:44.837Z] ---> docker-login.sh [2023-09-20T21:18:44.837Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:18:45.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:18:45.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:18:45.702Z] Configure a credential helper to remove this warning. See [2023-09-20T21:18:45.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:18:45.702Z] [2023-09-20T21:18:45.702Z] Login Succeeded [2023-09-20T21:18:45.702Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:18:45.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:18:45.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:18:45.975Z] Configure a credential helper to remove this warning. See [2023-09-20T21:18:45.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:18:45.975Z] [2023-09-20T21:18:45.975Z] Login Succeeded [2023-09-20T21:18:45.975Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:18:46.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:18:46.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:18:46.246Z] Configure a credential helper to remove this warning. See [2023-09-20T21:18:46.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:18:46.246Z] [2023-09-20T21:18:46.246Z] Login Succeeded [2023-09-20T21:18:46.246Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:18:46.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:18:46.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:18:46.795Z] Configure a credential helper to remove this warning. See [2023-09-20T21:18:46.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:18:46.795Z] [2023-09-20T21:18:46.795Z] Login Succeeded [2023-09-20T21:18:46.795Z] docker.io [2023-09-20T21:18:47.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:18:47.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:18:47.335Z] Configure a credential helper to remove this warning. See [2023-09-20T21:18:47.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:18:47.335Z] [2023-09-20T21:18:47.335Z] Login Succeeded [2023-09-20T21:18:47.335Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:18:47.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T21:18:47.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:18:47.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:18:47.691Z] ========================================================= [2023-09-20T21:18:47.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T21:18:47.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:18:48.038Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T21:18:48.310Z] Sending build context to Docker daemon 3.342MB [2023-09-20T21:18:48.310Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:18:48.310Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T21:18:48.583Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T21:18:48.583Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T21:18:48.583Z] 5d54e960e981: Pulling fs layer [2023-09-20T21:18:48.583Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T21:18:48.583Z] f0e02332f6b5: Pulling fs layer [2023-09-20T21:18:48.583Z] cefa15bbcfad: Pulling fs layer [2023-09-20T21:18:48.583Z] 17808c966233: Pulling fs layer [2023-09-20T21:18:48.583Z] f4c1fc716caa: Pulling fs layer [2023-09-20T21:18:48.583Z] cefa15bbcfad: Waiting [2023-09-20T21:18:48.583Z] 17808c966233: Waiting [2023-09-20T21:18:48.583Z] f4c1fc716caa: Waiting [2023-09-20T21:18:48.583Z] f0e02332f6b5: Waiting [2023-09-20T21:18:48.583Z] 5d54e960e981: Verifying Checksum [2023-09-20T21:18:48.583Z] 5d54e960e981: Download complete [2023-09-20T21:18:48.583Z] f0e02332f6b5: Verifying Checksum [2023-09-20T21:18:48.583Z] f0e02332f6b5: Download complete [2023-09-20T21:18:48.583Z] cefa15bbcfad: Verifying Checksum [2023-09-20T21:18:48.583Z] cefa15bbcfad: Download complete [2023-09-20T21:18:48.583Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T21:18:48.583Z] 9fda8d8052c6: Download complete [2023-09-20T21:18:49.185Z] f4c1fc716caa: Verifying Checksum [2023-09-20T21:18:49.185Z] f4c1fc716caa: Download complete [2023-09-20T21:18:49.779Z] 9fda8d8052c6: Pull complete [2023-09-20T21:18:50.374Z] 5d54e960e981: Pull complete [2023-09-20T21:18:50.651Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T21:18:50.651Z] c4a7e357bf2a: Download complete [2023-09-20T21:18:51.620Z] 17808c966233: Verifying Checksum [2023-09-20T21:18:51.620Z] 17808c966233: Download complete [2023-09-20T21:19:04.027Z] c4a7e357bf2a: Pull complete [2023-09-20T21:19:04.027Z] f0e02332f6b5: Pull complete [2023-09-20T21:19:04.027Z] cefa15bbcfad: Pull complete [2023-09-20T21:19:12.465Z] 17808c966233: Pull complete [2023-09-20T21:19:13.068Z] f4c1fc716caa: Pull complete [2023-09-20T21:19:13.068Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:19:13.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:19:13.068Z] ---> ea914061e18c [2023-09-20T21:19:13.068Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:19:15.679Z] ---> Running in b24335d753b0 [2023-09-20T21:19:15.679Z] Removing intermediate container b24335d753b0 [2023-09-20T21:19:15.679Z] ---> 5e99aef68fc9 [2023-09-20T21:19:15.679Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:19:15.679Z] ---> Running in b33931179d12 [2023-09-20T21:19:16.272Z] Removing intermediate container b33931179d12 [2023-09-20T21:19:16.272Z] ---> 1b21c57d7dd9 [2023-09-20T21:19:16.272Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-20T21:19:16.272Z] ---> Running in d8cda55cfa73 [2023-09-20T21:19:17.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:19:18.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:19:20.276Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-20T21:19:20.276Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-20T21:19:20.276Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-20T21:19:20.276Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:19:20.276Z] OK: 272 MiB in 60 packages [2023-09-20T21:19:22.286Z] Removing intermediate container d8cda55cfa73 [2023-09-20T21:19:22.286Z] ---> f0f9154230d6 [2023-09-20T21:19:22.286Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-20T21:19:22.286Z] ---> Running in 510c148cf2b9 [2023-09-20T21:19:22.888Z] Removing intermediate container 510c148cf2b9 [2023-09-20T21:19:22.888Z] ---> 213e3569fafc [2023-09-20T21:19:22.888Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T21:19:23.872Z] ---> 14e1e1eeac06 [2023-09-20T21:19:23.872Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:19:23.872Z] ---> Running in f80aac957222 [2023-09-20T21:20:45.840Z] Removing intermediate container f80aac957222 [2023-09-20T21:20:45.840Z] ---> e2b587dbe866 [2023-09-20T21:20:45.840Z] Step 9/10 : COPY . . [2023-09-20T21:20:45.840Z] ---> 6371d725618e [2023-09-20T21:20:45.840Z] Step 10/10 : RUN ${MAKE} [2023-09-20T21:20:45.840Z] ---> Running in dc759c9f09e4 [2023-09-20T21:20:45.840Z] noop [2023-09-20T21:20:45.840Z] Removing intermediate container dc759c9f09e4 [2023-09-20T21:20:45.840Z] ---> 4cdbc7ca3ed4 [2023-09-20T21:20:45.840Z] Successfully built 4cdbc7ca3ed4 [2023-09-20T21:20:45.840Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:20:46.207Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:20:46.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:20:46.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-7471 does not seem to be running inside a container [2023-09-20T21:20:46.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/125 -v /w/workspace/device-modbus-go/125:/w/workspace/device-modbus-go/125:rw,z -v /w/workspace/device-modbus-go/125@tmp:/w/workspace/device-modbus-go/125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:20:47.900Z] $ docker top 8d9db2fef721bd67e0c41a94e52251db47989a76ad668f39a5ecb80050d24e47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:20:48.765Z] + go version [2023-09-20T21:20:48.765Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:20:48.786Z] $ docker stop --time=1 8d9db2fef721bd67e0c41a94e52251db47989a76ad668f39a5ecb80050d24e47 [2023-09-20T21:20:50.462Z] $ docker rm -f --volumes 8d9db2fef721bd67e0c41a94e52251db47989a76ad668f39a5ecb80050d24e47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:20:51.030Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:20:51.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:20:51.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-7471 does not seem to be running inside a container [2023-09-20T21:20:51.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/125 -v /w/workspace/device-modbus-go/125:/w/workspace/device-modbus-go/125:rw,z -v /w/workspace/device-modbus-go/125@tmp:/w/workspace/device-modbus-go/125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:20:52.574Z] $ docker top 1d0624f9ff89d9cfe7f40fb040e593fccf1e0ae3448eb53c48fc2755c35e5903 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:20:53.431Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/125 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:20:54.090Z] + make test [2023-09-20T21:20:54.090Z] go test ./... -coverprofile=coverage.out [2023-09-20T21:20:59.470Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-20T21:23:21.211Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-20T21:23:21.211Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements [2023-09-20T21:23:21.211Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:23:21.211Z] go vet ./... [2023-09-20T21:23:53.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:23:53.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:23:53.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:23:53.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:23:53.513Z] $ docker stop --time=1 1d0624f9ff89d9cfe7f40fb040e593fccf1e0ae3448eb53c48fc2755c35e5903 [2023-09-20T21:23:55.502Z] $ docker rm -f --volumes 1d0624f9ff89d9cfe7f40fb040e593fccf1e0ae3448eb53c48fc2755c35e5903 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:23:56.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:23:56.797Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:23:57.356Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:23:57.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:23:58.067Z] + ls -al . [2023-09-20T21:23:58.067Z] total 188 [2023-09-20T21:23:58.067Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 21:20 . [2023-09-20T21:23:58.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:18 .. [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 21:18 .dockerignore [2023-09-20T21:23:58.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:18 .git [2023-09-20T21:23:58.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:18 .github [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 20 21:18 .gitignore [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 21:18 .golangci.yml [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 20 21:18 Attribution.txt [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 20 21:18 CHANGELOG.md [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 20 21:18 Dockerfile [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 21:18 GOVERNANCE.md [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 21:18 Jenkinsfile [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 21:18 LICENSE [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 20 21:18 Makefile [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 21:18 OWNERS.md [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 20 21:18 README.md [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:57 VERSION [2023-09-20T21:23:58.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:18 bin [2023-09-20T21:23:58.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:18 cmd [2023-09-20T21:23:58.067Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 20 21:23 coverage.out [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 20 21:18 go.mod [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 20 21:18 go.sum [2023-09-20T21:23:58.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 21:18 internal [2023-09-20T21:23:58.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 21:18 simulator [2023-09-20T21:23:58.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 21:18 snap [2023-09-20T21:23:58.067Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 20 21:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:23:58.418Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c --label arch=arm64 --label version=3.1.0-dev.11 . [2023-09-20T21:23:58.686Z] Sending build context to Docker daemon 3.367MB [2023-09-20T21:23:58.686Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:23:58.686Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-20T21:23:58.686Z] ---> 4cdbc7ca3ed4 [2023-09-20T21:23:58.686Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:23:58.953Z] ---> Running in 9dd50d497ef4 [2023-09-20T21:23:59.220Z] Removing intermediate container 9dd50d497ef4 [2023-09-20T21:23:59.220Z] ---> 9da1f13d23be [2023-09-20T21:23:59.220Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:23:59.220Z] ---> Running in 4728eccf3976 [2023-09-20T21:23:59.489Z] Removing intermediate container 4728eccf3976 [2023-09-20T21:23:59.489Z] ---> dee985adc21e [2023-09-20T21:23:59.489Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-20T21:23:59.489Z] ---> Running in cc5d161f934c [2023-09-20T21:24:00.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:24:01.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:24:02.587Z] OK: 272 MiB in 60 packages [2023-09-20T21:24:03.559Z] Removing intermediate container cc5d161f934c [2023-09-20T21:24:03.559Z] ---> 47ba2ed0b037 [2023-09-20T21:24:03.559Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-20T21:24:03.559Z] ---> Running in 6f70a322c5cd [2023-09-20T21:24:03.827Z] Removing intermediate container 6f70a322c5cd [2023-09-20T21:24:03.827Z] ---> 5c1552834683 [2023-09-20T21:24:03.827Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-20T21:24:04.416Z] ---> 60958423a888 [2023-09-20T21:24:04.416Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:24:04.416Z] ---> Running in cecb4f32467f [2023-09-20T21:24:07.003Z] Removing intermediate container cecb4f32467f [2023-09-20T21:24:07.003Z] ---> 871bb5c99e6c [2023-09-20T21:24:07.003Z] Step 9/22 : COPY . . [2023-09-20T21:24:07.589Z] ---> 6a6be5bade27 [2023-09-20T21:24:07.589Z] Step 10/22 : RUN ${MAKE} [2023-09-20T21:24:07.589Z] ---> Running in 2a5fa3a85737 [2023-09-20T21:24:08.554Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-20T21:26:30.310Z] Removing intermediate container 2a5fa3a85737 [2023-09-20T21:26:30.310Z] ---> 5e18119403bc [2023-09-20T21:26:30.310Z] Step 11/22 : FROM alpine:3.18 [2023-09-20T21:26:30.310Z] 3.18: Pulling from library/alpine [2023-09-20T21:26:30.310Z] 9fda8d8052c6: Already exists [2023-09-20T21:26:30.310Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:26:30.310Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:26:30.310Z] ---> f6648c04cd6c [2023-09-20T21:26:30.310Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-20T21:26:30.310Z] ---> Running in ac2f5470e9e3 [2023-09-20T21:26:30.310Z] Removing intermediate container ac2f5470e9e3 [2023-09-20T21:26:30.310Z] ---> ca692172bfd4 [2023-09-20T21:26:30.310Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-20T21:26:30.310Z] ---> Running in 1e5588a6afca [2023-09-20T21:26:30.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:26:30.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:26:30.310Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T21:26:30.310Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:26:30.310Z] OK: 8 MiB in 16 packages [2023-09-20T21:26:30.310Z] Removing intermediate container 1e5588a6afca [2023-09-20T21:26:30.310Z] ---> 500790f53522 [2023-09-20T21:26:30.310Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-20T21:26:30.310Z] ---> e49ce5331a62 [2023-09-20T21:26:30.310Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-20T21:26:30.310Z] ---> ad64f46e7d0a [2023-09-20T21:26:30.310Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-20T21:26:30.310Z] ---> d3fccc9aefc1 [2023-09-20T21:26:30.310Z] Step 17/22 : EXPOSE 59901 [2023-09-20T21:26:30.310Z] ---> Running in 51fb701d170b [2023-09-20T21:26:30.310Z] Removing intermediate container 51fb701d170b [2023-09-20T21:26:30.310Z] ---> 1aa5c11d30a5 [2023-09-20T21:26:30.310Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-20T21:26:30.310Z] ---> Running in a7e35300db97 [2023-09-20T21:26:30.310Z] Removing intermediate container a7e35300db97 [2023-09-20T21:26:30.310Z] ---> 150a7766b405 [2023-09-20T21:26:30.310Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T21:26:30.310Z] ---> Running in 260e5b1fbf2b [2023-09-20T21:26:30.310Z] Removing intermediate container 260e5b1fbf2b [2023-09-20T21:26:30.310Z] ---> 91e53b81adc7 [2023-09-20T21:26:30.310Z] Step 20/22 : LABEL arch=arm64 [2023-09-20T21:26:30.310Z] ---> Running in 224756c92d15 [2023-09-20T21:26:30.310Z] Removing intermediate container 224756c92d15 [2023-09-20T21:26:30.310Z] ---> 3dd2bfce0073 [2023-09-20T21:26:30.310Z] Step 21/22 : LABEL git_sha=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T21:26:30.310Z] ---> Running in 6af5f97f5d1e [2023-09-20T21:26:30.310Z] Removing intermediate container 6af5f97f5d1e [2023-09-20T21:26:30.310Z] ---> 2afc4fcd283e [2023-09-20T21:26:30.310Z] Step 22/22 : LABEL version=3.1.0-dev.11 [2023-09-20T21:26:30.310Z] ---> Running in 008da2256c48 [2023-09-20T21:26:30.310Z] Removing intermediate container 008da2256c48 [2023-09-20T21:26:30.310Z] ---> 50d48ec17009 [2023-09-20T21:26:30.310Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:26:30.310Z] Successfully built 50d48ec17009 [2023-09-20T21:26:30.310Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:26:30.430Z] provisioning config files... [2023-09-20T21:26:30.446Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/125@tmp/config2315266004006930325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:26:30.788Z] ---> docker-login.sh [2023-09-20T21:26:30.788Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:26:31.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:26:31.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:26:31.057Z] Configure a credential helper to remove this warning. See [2023-09-20T21:26:31.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:26:31.057Z] [2023-09-20T21:26:31.057Z] Login Succeeded [2023-09-20T21:26:31.057Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:26:31.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:26:31.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:26:31.594Z] Configure a credential helper to remove this warning. See [2023-09-20T21:26:31.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:26:31.594Z] [2023-09-20T21:26:31.594Z] Login Succeeded [2023-09-20T21:26:31.594Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:26:31.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:26:31.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:26:31.862Z] Configure a credential helper to remove this warning. See [2023-09-20T21:26:31.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:26:31.862Z] [2023-09-20T21:26:31.862Z] Login Succeeded [2023-09-20T21:26:31.862Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:26:32.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:26:32.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:26:32.400Z] Configure a credential helper to remove this warning. See [2023-09-20T21:26:32.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:26:32.400Z] [2023-09-20T21:26:32.400Z] Login Succeeded [2023-09-20T21:26:32.400Z] docker.io [2023-09-20T21:26:32.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:26:32.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:26:32.933Z] Configure a credential helper to remove this warning. See [2023-09-20T21:26:32.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:26:32.933Z] [2023-09-20T21:26:32.933Z] Login Succeeded [2023-09-20T21:26:32.933Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:26:32.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:26:32.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:26:32.991Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-20T21:26:32.991Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T21:26:32.991Z] latest [2023-09-20T21:26:32.991Z] 3.1.0-dev.11 [2023-09-20T21:26:32.991Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T21:26:32.991Z] main [2023-09-20T21:26:32.991Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:33.331Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:33.678Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T21:26:33.678Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-20T21:26:33.678Z] a629b356b500: Preparing [2023-09-20T21:26:33.678Z] ba952e6d3934: Preparing [2023-09-20T21:26:33.678Z] d0e211717baf: Preparing [2023-09-20T21:26:33.678Z] a1def06f75bf: Preparing [2023-09-20T21:26:33.678Z] b2191e2be29d: Preparing [2023-09-20T21:26:33.678Z] b2191e2be29d: Layer already exists [2023-09-20T21:26:33.945Z] a629b356b500: Pushed [2023-09-20T21:26:33.945Z] ba952e6d3934: Pushed [2023-09-20T21:26:33.945Z] a1def06f75bf: Pushed [2023-09-20T21:26:40.597Z] d0e211717baf: Pushed [2023-09-20T21:26:40.597Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c: digest: sha256:de042eb39462bb46ba3af29a9b782c18e12e208a298ec589138b054b694a20a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:40.957Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:41.309Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-20T21:26:41.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-20T21:26:41.310Z] a629b356b500: Preparing [2023-09-20T21:26:41.310Z] ba952e6d3934: Preparing [2023-09-20T21:26:41.310Z] d0e211717baf: Preparing [2023-09-20T21:26:41.310Z] a1def06f75bf: Preparing [2023-09-20T21:26:41.310Z] b2191e2be29d: Preparing [2023-09-20T21:26:41.310Z] a629b356b500: Layer already exists [2023-09-20T21:26:41.310Z] d0e211717baf: Layer already exists [2023-09-20T21:26:41.310Z] a1def06f75bf: Layer already exists [2023-09-20T21:26:41.310Z] b2191e2be29d: Layer already exists [2023-09-20T21:26:41.310Z] ba952e6d3934: Layer already exists [2023-09-20T21:26:41.579Z] latest: digest: sha256:de042eb39462bb46ba3af29a9b782c18e12e208a298ec589138b054b694a20a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:41.936Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:42.284Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.11 [2023-09-20T21:26:42.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-20T21:26:42.284Z] a629b356b500: Preparing [2023-09-20T21:26:42.284Z] ba952e6d3934: Preparing [2023-09-20T21:26:42.284Z] d0e211717baf: Preparing [2023-09-20T21:26:42.284Z] a1def06f75bf: Preparing [2023-09-20T21:26:42.284Z] b2191e2be29d: Preparing [2023-09-20T21:26:42.284Z] ba952e6d3934: Layer already exists [2023-09-20T21:26:42.284Z] a1def06f75bf: Layer already exists [2023-09-20T21:26:42.284Z] d0e211717baf: Layer already exists [2023-09-20T21:26:42.284Z] b2191e2be29d: Layer already exists [2023-09-20T21:26:42.284Z] a629b356b500: Layer already exists [2023-09-20T21:26:42.552Z] 3.1.0-dev.11: digest: sha256:de042eb39462bb46ba3af29a9b782c18e12e208a298ec589138b054b694a20a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:42.966Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:43.319Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T21:26:43.319Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-20T21:26:43.319Z] a629b356b500: Preparing [2023-09-20T21:26:43.319Z] ba952e6d3934: Preparing [2023-09-20T21:26:43.319Z] d0e211717baf: Preparing [2023-09-20T21:26:43.319Z] a1def06f75bf: Preparing [2023-09-20T21:26:43.319Z] b2191e2be29d: Preparing [2023-09-20T21:26:43.319Z] ba952e6d3934: Layer already exists [2023-09-20T21:26:43.319Z] a1def06f75bf: Layer already exists [2023-09-20T21:26:43.319Z] d0e211717baf: Layer already exists [2023-09-20T21:26:43.319Z] b2191e2be29d: Layer already exists [2023-09-20T21:26:43.319Z] a629b356b500: Layer already exists [2023-09-20T21:26:43.597Z] b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11: digest: sha256:de042eb39462bb46ba3af29a9b782c18e12e208a298ec589138b054b694a20a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:43.971Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:44.347Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-20T21:26:44.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-20T21:26:44.347Z] a629b356b500: Preparing [2023-09-20T21:26:44.347Z] ba952e6d3934: Preparing [2023-09-20T21:26:44.347Z] d0e211717baf: Preparing [2023-09-20T21:26:44.347Z] a1def06f75bf: Preparing [2023-09-20T21:26:44.347Z] b2191e2be29d: Preparing [2023-09-20T21:26:44.347Z] b2191e2be29d: Layer already exists [2023-09-20T21:26:44.347Z] ba952e6d3934: Layer already exists [2023-09-20T21:26:44.347Z] a1def06f75bf: Layer already exists [2023-09-20T21:26:44.347Z] d0e211717baf: Layer already exists [2023-09-20T21:26:44.347Z] a629b356b500: Layer already exists [2023-09-20T21:26:44.630Z] main: digest: sha256:de042eb39462bb46ba3af29a9b782c18e12e208a298ec589138b054b694a20a7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:26:44.681Z] ===================================================== [Pipeline] echo [2023-09-20T21:26:44.687Z] taggedImages: [2023-09-20T21:26:44.687Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [2023-09-20T21:26:44.687Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-20T21:26:44.687Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.11 [2023-09-20T21:26:44.687Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c-3.1.0-dev.11 [2023-09-20T21:26:44.687Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:45.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:26:45.048Z] [2023-09-20T21:26:45.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:26:45.388Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:26:45.388Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:26:45.388Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:26:45.388Z] 04944245beec: Pulling fs layer [2023-09-20T21:26:45.388Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:26:45.388Z] 765212b225bb: Pulling fs layer [2023-09-20T21:26:45.388Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:26:45.388Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:26:45.388Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:26:45.388Z] f23df028b6ca: Waiting [2023-09-20T21:26:45.388Z] d65c8cfc05b1: Waiting [2023-09-20T21:26:45.388Z] 2437ff75d9bd: Waiting [2023-09-20T21:26:45.388Z] 765212b225bb: Waiting [2023-09-20T21:26:45.656Z] 04944245beec: Verifying Checksum [2023-09-20T21:26:45.656Z] 04944245beec: Download complete [2023-09-20T21:26:45.656Z] 765212b225bb: Verifying Checksum [2023-09-20T21:26:45.656Z] 765212b225bb: Download complete [2023-09-20T21:26:45.656Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:26:45.656Z] f23df028b6ca: Download complete [2023-09-20T21:26:45.656Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:26:45.656Z] d65c8cfc05b1: Download complete [2023-09-20T21:26:45.924Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:26:45.924Z] 699f458cf7ca: Download complete [2023-09-20T21:26:46.194Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:26:46.194Z] 8998bd30e6a1: Download complete [2023-09-20T21:26:48.787Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:26:48.787Z] 2437ff75d9bd: Download complete [2023-09-20T21:26:50.734Z] 8998bd30e6a1: Pull complete [2023-09-20T21:26:51.318Z] 04944245beec: Pull complete [2023-09-20T21:26:52.726Z] 699f458cf7ca: Pull complete [2023-09-20T21:26:52.726Z] 765212b225bb: Pull complete [2023-09-20T21:26:53.312Z] f23df028b6ca: Pull complete [2023-09-20T21:26:53.579Z] d65c8cfc05b1: Pull complete [2023-09-20T21:27:08.587Z] 2437ff75d9bd: Pull complete [2023-09-20T21:27:08.587Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:27:08.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:27:08.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:27:08.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-7471 does not seem to be running inside a container [2023-09-20T21:27:08.874Z] $ 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-modbus-go/125 -v /w/workspace/device-modbus-go/125:/w/workspace/device-modbus-go/125:rw,z -v /w/workspace/device-modbus-go/125@tmp:/w/workspace/device-modbus-go/125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T21:27:11.790Z] $ docker top 1f9d46688a59424c6751e76dc2e22506148678e62dbe7ec64f730036243407b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:27:12.667Z] ---> job-cost.sh [2023-09-20T21:27:12.667Z] lf-activate-venv: SKIPPING [2023-09-20T21:27:12.667Z] INFO: No Stack... [2023-09-20T21:27:13.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:27:13.839Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:27:14.485Z] + + cutcat -d, /w/workspace/device-modbus-go/125/archives/cost.csv [2023-09-20T21:27:14.485Z] -f6 [Pipeline] lock [2023-09-20T21:27:14.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [2023-09-20T21:27:14.571Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] did not exist. Created. [2023-09-20T21:27:14.572Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:27:15.235Z] /w/workspace/device-modbus-go/125@tmp/durable-75213ac7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:27:16.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:27:16.094Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:27:16.157Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:27:16.167Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:27:16.187Z] $ docker stop --time=1 1f9d46688a59424c6751e76dc2e22506148678e62dbe7ec64f730036243407b5 [2023-09-20T21:27:17.717Z] $ docker rm -f --volumes 1f9d46688a59424c6751e76dc2e22506148678e62dbe7ec64f730036243407b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-20T21:27:18.109Z] provisioning config files... [2023-09-20T21:27:18.117Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6945413243598187219tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:27:18.418Z] + set +x [2023-09-20T21:27:18.418Z] + curl -s https://codecov.io/bash [2023-09-20T21:27:18.418Z] + bash -s -- [2023-09-20T21:27:18.418Z] [2023-09-20T21:27:18.418Z] _____ _ [2023-09-20T21:27:18.418Z] / ____| | | [2023-09-20T21:27:18.418Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:27:18.418Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:27:18.418Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:27:18.418Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:27:18.418Z] Bash-1.0.6 [2023-09-20T21:27:18.418Z] [2023-09-20T21:27:18.418Z] [2023-09-20T21:27:18.418Z] ==> git version 2.25.1 found [2023-09-20T21:27:18.418Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-20T21:27:18.418Z] Release-Date: 2020-01-08 [2023-09-20T21:27:18.418Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T21:27:18.418Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:27:18.418Z] ==> Jenkins CI detected. [2023-09-20T21:27:18.418Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-20T21:27:18.418Z] project root: . [2023-09-20T21:27:18.418Z] --> token set from env [2023-09-20T21:27:18.418Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:27:18.418Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:27:18.418Z] ==> Python coveragepy not found [2023-09-20T21:27:18.418Z] ==> Searching for coverage reports in: [2023-09-20T21:27:18.418Z] + . [2023-09-20T21:27:18.418Z] -> Found 1 reports [2023-09-20T21:27:18.418Z] ==> Detecting git/mercurial file structure [2023-09-20T21:27:18.418Z] ==> Reading reports [2023-09-20T21:27:18.418Z] + ./coverage.out bytes=24334 [2023-09-20T21:27:18.418Z] ==> Appending adjustments [2023-09-20T21:27:18.418Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:27:18.678Z] + Found adjustments [2023-09-20T21:27:18.678Z] ==> Gzipping contents [2023-09-20T21:27:18.678Z] 4.0K /tmp/codecov.6RGQFy.gz [2023-09-20T21:27:18.678Z] ==> Uploading reports [2023-09-20T21:27:18.678Z] url: https://codecov.io [2023-09-20T21:27:18.678Z] query: branch=main&commit=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:27:18.678Z] -> Pinging Codecov [2023-09-20T21:27:18.678Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:27:18.678Z] -> Uploading to [2023-09-20T21:27:18.678Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/55DBCA73C666E3227836607328DD7E49/b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c/1522c821-0d6c-46e1-8252-628fbf7922fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T212718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0672d7c8a71c7a9c49390a32cb8e6d9cffb84896a98dbd06cae0ba7ca07835e [2023-09-20T21:27:18.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:27:18.937Z] Dload Upload Total Spent Left Speed [2023-09-20T21:27:18.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20806 --:--:-- --:--:-- --:--:-- 20806 [2023-09-20T21:27:18.937Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] } [2023-09-20T21:27:18.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:27:19.098Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:27:19.200Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:27:19.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:27:19.505Z] [2023-09-20T21:27:19.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:27:19.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:27:19.800Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:27:19.800Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:27:19.800Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:27:19.801Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:27:19.801Z] 114826534d7a: Pulling fs layer [2023-09-20T21:27:19.801Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:27:19.801Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:27:19.801Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:27:19.801Z] 4657fd5d0bcf: Waiting [2023-09-20T21:27:19.801Z] 6ad1cebc031e: Waiting [2023-09-20T21:27:19.801Z] 8a3aa393b2d8: Waiting [2023-09-20T21:27:19.801Z] 114826534d7a: Waiting [2023-09-20T21:27:19.801Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:27:19.801Z] 25bc292e5bac: Download complete [2023-09-20T21:27:19.801Z] 52dc419b0ee2: Download complete [2023-09-20T21:27:19.801Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T21:27:19.801Z] 4657fd5d0bcf: Download complete [2023-09-20T21:27:19.801Z] df9b9388f04a: Download complete [2023-09-20T21:27:20.059Z] df9b9388f04a: Pull complete [2023-09-20T21:27:20.059Z] 52dc419b0ee2: Pull complete [2023-09-20T21:27:20.059Z] 25bc292e5bac: Pull complete [2023-09-20T21:27:20.059Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:27:20.059Z] 6ad1cebc031e: Download complete [2023-09-20T21:27:20.623Z] 114826534d7a: Download complete [2023-09-20T21:27:20.879Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:27:20.879Z] 8a3aa393b2d8: Download complete [2023-09-20T21:27:24.159Z] 114826534d7a: Pull complete [2023-09-20T21:27:24.159Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:27:24.415Z] 6ad1cebc031e: Pull complete [2023-09-20T21:27:26.940Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:27:26.940Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:27:26.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:27:26.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:27:27.025Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:27:27.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T21:27:31.220Z] $ docker top 1e090187f6ba0f690416690c794e09a9866b47f1cf317fe5d974a11e8c6fcc67 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:27:31.285Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-20T21:27:31.563Z] + set -o pipefail [2023-09-20T21:27:31.563Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/bf35b25a-9d4d-4d8a-958c-b41bc9cb6ae9 [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] [2023-09-20T21:27:36.840Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:27:36.840Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:27:36.840Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:27:36.847Z] $ docker stop --time=1 1e090187f6ba0f690416690c794e09a9866b47f1cf317fe5d974a11e8c6fcc67 [2023-09-20T21:27:40.608Z] $ docker rm -f --volumes 1e090187f6ba0f690416690c794e09a9866b47f1cf317fe5d974a11e8c6fcc67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:27:41.337Z] + git log --format=format:%s -1 b2f2f615ccfcf5318ec79c2e71f89de9d6136a7c [Pipeline] sh [2023-09-20T21:27:41.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:27:41.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:27:41.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:27:41.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:27:42.001Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:27:42.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:27:42.478Z] $ docker top f1188c8940173d2294009b2f5c1914213c9378ab8ccaca8963efca0d69a92d5b -eo pid,comm [2023-09-20T21:27:42.528Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:27:42.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:27:42.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:27:42.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:27:42.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:27:42.676Z] $ docker exec f1188c8940173d2294009b2f5c1914213c9378ab8ccaca8963efca0d69a92d5b ssh-agent [2023-09-20T21:27:42.774Z] SSH_AUTH_SOCK=/tmp/ssh-W3tthbvnrILi/agent.33 [2023-09-20T21:27:42.774Z] SSH_AGENT_PID=39 [2023-09-20T21:27:42.778Z] Running ssh-add (command line suppressed) [2023-09-20T21:27:42.872Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9737681668178884326.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9737681668178884326.key) [2023-09-20T21:27:42.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:27:43.170Z] + git semver tag [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,328 [run_tag] DEBUG tag force:False [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,328 [check_head_tag] DEBUG check head tag [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,329 [execute] INFO git cat-file --batch-check [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,333 [execute] INFO git cat-file --batch [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,342 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,343 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,343 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:27:43.428Z] 2023-09-20 21:27:43,346 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:27:43.428Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T21:27:43.434Z] $ docker exec --env ******** --env ******** f1188c8940173d2294009b2f5c1914213c9378ab8ccaca8963efca0d69a92d5b ssh-agent -k [2023-09-20T21:27:43.513Z] unset SSH_AUTH_SOCK; [2023-09-20T21:27:43.513Z] unset SSH_AGENT_PID; [2023-09-20T21:27:43.513Z] echo Agent pid 39 killed; [2023-09-20T21:27:43.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:27:43.825Z] + git semver [Pipeline] } [2023-09-20T21:27:44.092Z] $ docker stop --time=1 f1188c8940173d2294009b2f5c1914213c9378ab8ccaca8963efca0d69a92d5b [2023-09-20T21:27:45.343Z] $ docker rm -f --volumes f1188c8940173d2294009b2f5c1914213c9378ab8ccaca8963efca0d69a92d5b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:27:45.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:27:45.719Z] [2023-09-20T21:27:45.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:27:46.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:27:46.038Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:27:46.038Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:27:46.038Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:27:46.038Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:27:46.038Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:27:46.038Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:27:46.038Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:27:46.038Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:27:46.038Z] d747dcd14b5f: Waiting [2023-09-20T21:27:46.038Z] 0d9ebad4ef96: Waiting [2023-09-20T21:27:46.038Z] e9a5061849ea: Waiting [2023-09-20T21:27:46.038Z] 2de7ff778b66: Waiting [2023-09-20T21:27:46.038Z] 9712f1f96733: Verifying Checksum [2023-09-20T21:27:46.038Z] 9712f1f96733: Download complete [2023-09-20T21:27:46.606Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:27:46.606Z] 63f879dbbcfc: Download complete [2023-09-20T21:27:46.606Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:27:46.606Z] e9a5061849ea: Download complete [2023-09-20T21:27:46.606Z] d747dcd14b5f: Download complete [2023-09-20T21:27:46.606Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:27:46.606Z] ab5ef0e58194: Download complete [2023-09-20T21:27:46.606Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:27:46.606Z] 0d9ebad4ef96: Download complete [2023-09-20T21:27:46.869Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:27:46.869Z] 2de7ff778b66: Download complete [2023-09-20T21:27:49.396Z] ab5ef0e58194: Pull complete [2023-09-20T21:27:49.396Z] 9712f1f96733: Pull complete [2023-09-20T21:27:49.659Z] 63f879dbbcfc: Pull complete [2023-09-20T21:27:52.947Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:27:53.213Z] e9a5061849ea: Pull complete [2023-09-20T21:27:53.213Z] d747dcd14b5f: Pull complete [2023-09-20T21:27:54.147Z] 2de7ff778b66: Pull complete [2023-09-20T21:27:54.147Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:27:54.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:27:54.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:27:54.225Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:27:54.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T21:27:58.398Z] $ docker top 71146a2fc27eaa0b7a4d8156338cfe07abbbc56bf8926f8f7807f0a9e94aa0d9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:27:58.466Z] provisioning config files... [2023-09-20T21:27:58.473Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10124770128317359770tmp [2023-09-20T21:27:58.483Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11908386443895805068tmp [2023-09-20T21:27:58.493Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5560694850087445710tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:27:58.508Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:27:58.791Z] ---> sigul-configuration.sh [2023-09-20T21:27:58.791Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:27:58.791Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:27:58.791Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:27:58.791Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:27:58.791Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:27:58.791Z] gpg: CAST5 encrypted data [2023-09-20T21:27:58.791Z] gpg: encrypted with 1 passphrase [2023-09-20T21:27:58.791Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:27:59.075Z] + mkdir /home/jenkins [2023-09-20T21:27:59.075Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:27:59.362Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-20T21:27:59.371Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:27:59.653Z] ---> sigul-install.sh [2023-09-20T21:27:59.653Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:27:59.935Z] + git tag --list [2023-09-20T21:27:59.935Z] 0.7.1 [2023-09-20T21:27:59.935Z] v1.0.0 [2023-09-20T21:27:59.935Z] v1.1.0 [2023-09-20T21:27:59.935Z] v1.1.1 [2023-09-20T21:27:59.935Z] v1.2.2 [2023-09-20T21:27:59.935Z] v1.3.0 [2023-09-20T21:27:59.935Z] v1.3.1 [2023-09-20T21:27:59.935Z] v2.0.0 [2023-09-20T21:27:59.935Z] v2.1.0 [2023-09-20T21:27:59.935Z] v2.1.1 [2023-09-20T21:27:59.935Z] v2.2.0 [2023-09-20T21:27:59.935Z] v2.3.0 [2023-09-20T21:27:59.935Z] v3.0 [2023-09-20T21:27:59.935Z] v3.0.0 [2023-09-20T21:27:59.935Z] v3.1.0-dev.1 [2023-09-20T21:27:59.935Z] v3.1.0-dev.10 [2023-09-20T21:27:59.935Z] v3.1.0-dev.11 [2023-09-20T21:27:59.935Z] v3.1.0-dev.2 [2023-09-20T21:27:59.935Z] v3.1.0-dev.3 [2023-09-20T21:27:59.935Z] v3.1.0-dev.4 [2023-09-20T21:27:59.935Z] v3.1.0-dev.5 [2023-09-20T21:27:59.935Z] v3.1.0-dev.6 [2023-09-20T21:27:59.935Z] v3.1.0-dev.7 [2023-09-20T21:27:59.935Z] v3.1.0-dev.8 [2023-09-20T21:27:59.935Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T21:28:00.221Z] + lftools sign git-tag v3.1.0-dev.11 [2023-09-20T21:28:00.788Z] Signing Git tag with Sigul... [2023-09-20T21:28:00.788Z] Signing v3.1.0-dev.11 [Pipeline] echo [2023-09-20T21:28:01.055Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:01.337Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:28:01.344Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:28:01.358Z] $ docker stop --time=1 71146a2fc27eaa0b7a4d8156338cfe07abbbc56bf8926f8f7807f0a9e94aa0d9 [2023-09-20T21:28:02.617Z] $ docker rm -f --volumes 71146a2fc27eaa0b7a4d8156338cfe07abbbc56bf8926f8f7807f0a9e94aa0d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:28:03.032Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:28:03.032Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:28:03.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:28:03.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:28:03.407Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:28:03.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:28:03.767Z] $ docker top 646a4b716db39e119368147fb63f1b91f381b64f333733864cc383edd164d39e -eo pid,comm [2023-09-20T21:28:03.815Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:28:03.815Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:28:03.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:28:03.854Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:28:03.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:28:03.952Z] $ docker exec 646a4b716db39e119368147fb63f1b91f381b64f333733864cc383edd164d39e ssh-agent [2023-09-20T21:28:04.050Z] SSH_AUTH_SOCK=/tmp/ssh-NuIcbToVoijR/agent.33 [2023-09-20T21:28:04.050Z] SSH_AGENT_PID=39 [2023-09-20T21:28:04.055Z] Running ssh-add (command line suppressed) [2023-09-20T21:28:04.139Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15454554723969524804.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15454554723969524804.key) [2023-09-20T21:28:04.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:28:04.440Z] + git semver bump pre [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,598 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,598 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,598 [bump_version] DEBUG bumped version:3.1.0-dev.12 [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,598 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,598 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,599 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,601 [execute] INFO git cat-file --batch-check [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,607 [execute] INFO git cat-file --batch [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:28:04.699Z] 2023-09-20 21:28:04,612 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:28:04.699Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T21:28:04.706Z] $ docker exec --env ******** --env ******** 646a4b716db39e119368147fb63f1b91f381b64f333733864cc383edd164d39e ssh-agent -k [2023-09-20T21:28:04.797Z] unset SSH_AUTH_SOCK; [2023-09-20T21:28:04.797Z] unset SSH_AGENT_PID; [2023-09-20T21:28:04.797Z] echo Agent pid 39 killed; [2023-09-20T21:28:04.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:28:05.114Z] + git semver [Pipeline] } [2023-09-20T21:28:05.382Z] $ docker stop --time=1 646a4b716db39e119368147fb63f1b91f381b64f333733864cc383edd164d39e [2023-09-20T21:28:06.678Z] $ docker rm -f --volumes 646a4b716db39e119368147fb63f1b91f381b64f333733864cc383edd164d39e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:28:07.023Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:28:07.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:28:07.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:28:07.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:28:07.401Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:28:07.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:28:07.766Z] $ docker top 996f9ffabb380e1bc33e6b9cadcf18cabea7730e0e6d92f7e916cca453b36b70 -eo pid,comm [2023-09-20T21:28:07.815Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:28:07.815Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:28:07.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:28:07.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:28:07.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:28:07.953Z] $ docker exec 996f9ffabb380e1bc33e6b9cadcf18cabea7730e0e6d92f7e916cca453b36b70 ssh-agent [2023-09-20T21:28:08.048Z] SSH_AUTH_SOCK=/tmp/ssh-XUoJ8pzbRqEH/agent.31 [2023-09-20T21:28:08.048Z] SSH_AGENT_PID=37 [2023-09-20T21:28:08.053Z] Running ssh-add (command line suppressed) [2023-09-20T21:28:08.168Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15756180588181121096.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15756180588181121096.key) [2023-09-20T21:28:08.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:28:08.506Z] + git semver push [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,650 [run_push] DEBUG push [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,651 [execute] INFO git cat-file --batch-check [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,655 [execute] INFO git rev-list 81de30852b99bca3b61dc60ef8c4c4d9af637b22 -- [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,655 [execute] DEBUG Popen(['git', 'rev-list', '81de30852b99bca3b61dc60ef8c4c4d9af637b22', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,664 [execute] INFO git fetch -v origin [2023-09-20T21:28:08.784Z] 2023-09-20 21:28:08,665 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:28:09.415Z] 2023-09-20 21:28:09,126 [run_push] DEBUG no remote changes detected [2023-09-20T21:28:09.415Z] 2023-09-20 21:28:09,126 [execute] INFO git push origin semver [2023-09-20T21:28:09.415Z] 2023-09-20 21:28:09,127 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:28:10.033Z] 2023-09-20 21:28:09,941 [run_push] DEBUG push all version tags [2023-09-20T21:28:10.033Z] 2023-09-20 21:28:09,941 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:28:10.033Z] 2023-09-20 21:28:09,942 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:28:10.970Z] 2023-09-20 21:28:10,761 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-20T21:28:10.970Z] 3.1.0-dev.12 [Pipeline] } [2023-09-20T21:28:10.976Z] $ docker exec --env ******** --env ******** 996f9ffabb380e1bc33e6b9cadcf18cabea7730e0e6d92f7e916cca453b36b70 ssh-agent -k [2023-09-20T21:28:11.077Z] unset SSH_AUTH_SOCK; [2023-09-20T21:28:11.078Z] unset SSH_AGENT_PID; [2023-09-20T21:28:11.078Z] echo Agent pid 37 killed; [2023-09-20T21:28:11.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:28:11.390Z] + git semver [Pipeline] } [2023-09-20T21:28:11.659Z] $ docker stop --time=1 996f9ffabb380e1bc33e6b9cadcf18cabea7730e0e6d92f7e916cca453b36b70 [2023-09-20T21:28:12.919Z] $ docker rm -f --volumes 996f9ffabb380e1bc33e6b9cadcf18cabea7730e0e6d92f7e916cca453b36b70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-20T21:28:13.455Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-20T21:28:13.455Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-20T21:28:13.455Z] total 16 [2023-09-20T21:28:13.455Z] drwxr-xr-x 3 root root 4096 Sep 20 21:00 . [2023-09-20T21:28:13.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 21:27 .. [2023-09-20T21:28:13.455Z] drwxr-xr-x 2 root root 4096 Sep 20 21:00 cost [2023-09-20T21:28:13.455Z] -rw-r--r-- 1 root root 88 Sep 20 21:00 cost.csv [2023-09-20T21:28:13.455Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-20T21:28:13.455Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-20T21:28:13.455Z] total 16 [2023-09-20T21:28:13.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 21:00 . [2023-09-20T21:28:13.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 21:27 .. [2023-09-20T21:28:13.455Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 21:00 cost [2023-09-20T21:28:13.455Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 20 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:13.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:14.599Z] ---> package-listing.sh [2023-09-20T21:28:14.599Z] ++ facter osfamily [2023-09-20T21:28:14.599Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:28:14.858Z] + OS_FAMILY=debian [2023-09-20T21:28:14.858Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-20T21:28:14.858Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:28:14.858Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:28:14.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:28:14.858Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:28:14.858Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-20T21:28:14.858Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:28:14.858Z] + case "${OS_FAMILY}" in [2023-09-20T21:28:14.858Z] + dpkg -l [2023-09-20T21:28:14.858Z] + grep '^ii' [2023-09-20T21:28:14.858Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:28:14.858Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:28:14.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:28:14.858Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-20T21:28:14.858Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-20T21:28:14.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-09-20T21:28:14.869Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T21:28:15.144Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:28:15.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:28:15.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:28:15.774Z] prd-ubuntu20.04-docker-8c-8g-7238 does not seem to be running inside a container [2023-09-20T21:28:15.803Z] $ 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/gexfoundry_device-modbus-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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:28:16.015Z] $ docker top 2e814aae7311310ff8a8791db5998da63d3a8ab78fe077d5b26c6aed0dd62778 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:28:16.351Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:28:16.632Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:28:16.918Z] + ls /var/log/sa-host [2023-09-20T21:28:16.918Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:28:16.985Z] provisioning config files... [2023-09-20T21:28:16.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1911531615604903267tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:28:17.000Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:17.278Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:28:17.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:17.597Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:28:17.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:17.884Z] ---> sudo-logs.sh [2023-09-20T21:28:17.884Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:28:17.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:18.195Z] ---> job-cost.sh [2023-09-20T21:28:18.195Z] lf-activate-venv: SKIPPING [2023-09-20T21:28:18.195Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:28:18.195Z] INFO: Retrieving Stack Cost... [2023-09-20T21:28:18.453Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:28:19.018Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:28:19.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:28:19.310Z] ---> logs-deploy.sh [2023-09-20T21:28:19.310Z] lf-activate-venv: SKIPPING [2023-09-20T21:28:19.310Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/125 [2023-09-20T21:28:19.310Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:28:20.245Z] Archives upload complete. [2023-09-20T21:28:20.245Z] INFO: archiving logs to Nexus [2023-09-20T21:28:20.813Z] ---> uname -a: [2023-09-20T21:28:20.813Z] Linux prd-ubuntu20-04-docker-8c-8g-7238 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-20T21:28:20.813Z] [2023-09-20T21:28:20.813Z]