Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63f56b440389908500f57809a79af5893e194475 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-ssh7363080872311343257.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18316998333116359719.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh80806003296768797.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1231077714672311083.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-ssh18262682599102521567.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5782 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 63f56b440389908500f57809a79af5893e194475 (main) Commit message: "Merge pull request #443 from weichou1229/issue-438" > 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 63f56b440389908500f57809a79af5893e194475 # timeout=10 > git rev-list --no-walk 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-25T04:35:28.853Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-25T04:35:28.910Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-25T04:35:28.924Z] ========================================================= [2023-03-25T04:35:28.924Z] EdgeX Global Pipelines Version Info [2023-03-25T04:35:28.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:35:29.642Z] ------------------- [2023-03-25T04:35:29.642Z] stable info: [2023-03-25T04:35:29.642Z] ------------------- [2023-03-25T04:35:29.642Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-25T04:35:29.642Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-25T04:35:29.642Z] Message: update stable to v1.0.245 [2023-03-25T04:35:30.213Z] ------------------- [2023-03-25T04:35:30.213Z] experimental info: [2023-03-25T04:35:30.213Z] ------------------- [2023-03-25T04:35:30.213Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-25T04:35:30.213Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-25T04:35:30.213Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-25T04:35:30.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-25T04:35:30.367Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-25T04:35:30.375Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-25T04:35:30.383Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-25T04:35:30.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-25T04:35:30.399Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-25T04:35:30.406Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-25T04:35:30.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-25T04:35:30.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-25T04:35:30.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-25T04:35:30.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-25T04:35:30.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-25T04:35:30.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-25T04:35:30.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-25T04:35:30.503Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-25T04:35:30.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-25T04:35:30.525Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-25T04:35:30.536Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-25T04:35:30.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-25T04:35:30.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-25T04:35:30.571Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-25T04:35:30.581Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-25T04:35:30.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-25T04:35:30.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-25T04:35:30.632Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-25T04:35:30.645Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-25T04:35:30.659Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-25T04:35:30.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-25T04:35:30.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-25T04:35:30.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-25T04:35:30.704Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63f56b440389908500f57809a79af5893e194475 [Pipeline] echo [2023-03-25T04:35:30.718Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63f56b4 [Pipeline] echo [2023-03-25T04:35:30.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-25T04:35:30.775Z] provisioning config files... [2023-03-25T04:35:30.793Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12857063556389871474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:35:31.091Z] ---> docker-login.sh [2023-03-25T04:35:31.091Z] nexus3.edgexfoundry.org:10001 [2023-03-25T04:35:31.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:31.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:31.352Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:31.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:31.352Z] [2023-03-25T04:35:31.352Z] Login Succeeded [2023-03-25T04:35:31.352Z] nexus3.edgexfoundry.org:10002 [2023-03-25T04:35:31.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:31.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:31.352Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:31.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:31.352Z] [2023-03-25T04:35:31.352Z] Login Succeeded [2023-03-25T04:35:31.352Z] nexus3.edgexfoundry.org:10003 [2023-03-25T04:35:31.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:31.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:31.613Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:31.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:31.613Z] [2023-03-25T04:35:31.613Z] Login Succeeded [2023-03-25T04:35:31.613Z] nexus3.edgexfoundry.org:10004 [2023-03-25T04:35:31.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:31.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:31.613Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:31.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:31.613Z] [2023-03-25T04:35:31.613Z] Login Succeeded [2023-03-25T04:35:31.613Z] docker.io [2023-03-25T04:35:31.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:31.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:31.875Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:31.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:31.875Z] [2023-03-25T04:35:31.875Z] Login Succeeded [2023-03-25T04:35:31.875Z] ---> docker-login.sh ends [Pipeline] } [2023-03-25T04:35:31.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-25T04:35:32.235Z] + git rev-list -1 --merges 63f56b440389908500f57809a79af5893e194475~1..63f56b440389908500f57809a79af5893e194475 [Pipeline] echo [2023-03-25T04:35:32.289Z] -----------> git rev-list -1 --merges 63f56b440389908500f57809a79af5893e194475~1..63f56b440389908500f57809a79af5893e194475 63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:35:32.289Z] 63f56b440389908500f57809a79af5893e194475 [false] [Pipeline] sh [2023-03-25T04:35:32.580Z] + git log --format=format:%s -1 63f56b440389908500f57809a79af5893e194475 [Pipeline] echo [2023-03-25T04:35:32.594Z] ========================================================= [2023-03-25T04:35:32.594Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-25T04:35:32.594Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-25T04:35:32.910Z] + git log --format=format:%s -1 63f56b440389908500f57809a79af5893e194475 [Pipeline] echo [2023-03-25T04:35:32.922Z] [semverPrep] GIT_COMMIT: 63f56b440389908500f57809a79af5893e194475, Commit Message: Merge pull request #443 from weichou1229/issue-438 [Pipeline] echo [2023-03-25T04:35:32.930Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-25T04:35:33.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-25T04:35:33.302Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-25T04:35:33.302Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-25T04:35:33.302Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-25T04:35:33.302Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-25T04:35:33.302Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-25T04:35:33.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:35:33.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:35:33.722Z] [2023-03-25T04:35:33.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:35:34.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:35:34.029Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-25T04:35:34.029Z] b85a868b505f: Pulling fs layer [2023-03-25T04:35:34.029Z] e2be974225ed: Pulling fs layer [2023-03-25T04:35:34.029Z] 339a4e72a1f5: Pulling fs layer [2023-03-25T04:35:34.029Z] 988bab9f4d93: Pulling fs layer [2023-03-25T04:35:34.029Z] 1469e6f7b9e6: Pulling fs layer [2023-03-25T04:35:34.029Z] eaf3925da568: Pulling fs layer [2023-03-25T04:35:34.029Z] bab4dde63d76: Pulling fs layer [2023-03-25T04:35:34.029Z] bde34c3a00c8: Pulling fs layer [2023-03-25T04:35:34.029Z] b352a97aabf1: Pulling fs layer [2023-03-25T04:35:34.029Z] 4872d77fe225: Pulling fs layer [2023-03-25T04:35:34.029Z] 5851b861e8e6: Pulling fs layer [2023-03-25T04:35:34.029Z] 988bab9f4d93: Waiting [2023-03-25T04:35:34.029Z] 1469e6f7b9e6: Waiting [2023-03-25T04:35:34.029Z] eaf3925da568: Waiting [2023-03-25T04:35:34.029Z] bab4dde63d76: Waiting [2023-03-25T04:35:34.029Z] bde34c3a00c8: Waiting [2023-03-25T04:35:34.029Z] b352a97aabf1: Waiting [2023-03-25T04:35:34.029Z] 4872d77fe225: Waiting [2023-03-25T04:35:34.029Z] 5851b861e8e6: Waiting [2023-03-25T04:35:34.029Z] e2be974225ed: Verifying Checksum [2023-03-25T04:35:34.029Z] e2be974225ed: Download complete [2023-03-25T04:35:34.029Z] 988bab9f4d93: Verifying Checksum [2023-03-25T04:35:34.029Z] 988bab9f4d93: Download complete [2023-03-25T04:35:34.290Z] 1469e6f7b9e6: Verifying Checksum [2023-03-25T04:35:34.290Z] 1469e6f7b9e6: Download complete [2023-03-25T04:35:34.290Z] 339a4e72a1f5: Verifying Checksum [2023-03-25T04:35:34.290Z] 339a4e72a1f5: Download complete [2023-03-25T04:35:34.290Z] eaf3925da568: Verifying Checksum [2023-03-25T04:35:34.290Z] eaf3925da568: Download complete [2023-03-25T04:35:34.290Z] bde34c3a00c8: Verifying Checksum [2023-03-25T04:35:34.290Z] bde34c3a00c8: Download complete [2023-03-25T04:35:34.290Z] b352a97aabf1: Download complete [2023-03-25T04:35:34.290Z] 4872d77fe225: Verifying Checksum [2023-03-25T04:35:34.290Z] 4872d77fe225: Download complete [2023-03-25T04:35:34.290Z] 5851b861e8e6: Verifying Checksum [2023-03-25T04:35:34.290Z] 5851b861e8e6: Download complete [2023-03-25T04:35:34.290Z] b85a868b505f: Verifying Checksum [2023-03-25T04:35:34.291Z] b85a868b505f: Download complete [2023-03-25T04:35:34.858Z] bab4dde63d76: Verifying Checksum [2023-03-25T04:35:34.858Z] bab4dde63d76: Download complete [2023-03-25T04:35:35.794Z] b85a868b505f: Pull complete [2023-03-25T04:35:35.794Z] e2be974225ed: Pull complete [2023-03-25T04:35:36.363Z] 339a4e72a1f5: Pull complete [2023-03-25T04:35:36.363Z] 988bab9f4d93: Pull complete [2023-03-25T04:35:36.623Z] 1469e6f7b9e6: Pull complete [2023-03-25T04:35:36.623Z] eaf3925da568: Pull complete [2023-03-25T04:35:38.526Z] bab4dde63d76: Pull complete [2023-03-25T04:35:38.526Z] bde34c3a00c8: Pull complete [2023-03-25T04:35:38.526Z] b352a97aabf1: Pull complete [2023-03-25T04:35:38.526Z] 4872d77fe225: Pull complete [2023-03-25T04:35:38.526Z] 5851b861e8e6: Pull complete [2023-03-25T04:35:38.526Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-25T04:35:38.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:35:38.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:35:38.613Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:35:38.644Z] $ 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-03-25T04:35:40.002Z] $ docker top 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 -eo pid,comm [2023-03-25T04:35:40.054Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-25T04:35:40.054Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-25T04:35:40.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-25T04:35:40.089Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-25T04:35:40.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-25T04:35:40.210Z] $ docker exec 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 ssh-agent [2023-03-25T04:35:40.305Z] SSH_AUTH_SOCK=/tmp/ssh-o8cqE2kLMcbL/agent.33 [2023-03-25T04:35:40.305Z] SSH_AGENT_PID=39 [2023-03-25T04:35:40.311Z] Running ssh-add (command line suppressed) [2023-03-25T04:35:40.414Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10481448742886413306.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10481448742886413306.key) [2023-03-25T04:35:40.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-25T04:35:40.715Z] + git tag --points-at HEAD [Pipeline] } [2023-03-25T04:35:40.732Z] $ docker exec --env ******** --env ******** 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 ssh-agent -k [2023-03-25T04:35:40.816Z] unset SSH_AUTH_SOCK; [2023-03-25T04:35:40.817Z] unset SSH_AGENT_PID; [2023-03-25T04:35:40.817Z] echo Agent pid 39 killed; [2023-03-25T04:35:40.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-25T04:35:40.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-25T04:35:40.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-25T04:35:40.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-25T04:35:40.958Z] $ docker exec 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 ssh-agent [2023-03-25T04:35:41.067Z] SSH_AUTH_SOCK=/tmp/ssh-bwv4ONKu65qb/agent.71 [2023-03-25T04:35:41.067Z] SSH_AGENT_PID=77 [2023-03-25T04:35:41.072Z] Running ssh-add (command line suppressed) [2023-03-25T04:35:41.164Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15485913459528680719.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15485913459528680719.key) [2023-03-25T04:35:41.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-25T04:35:41.468Z] + git semver init [2023-03-25T04:35:41.727Z] 2023-03-25 04:35:41,638 [run_init] DEBUG init version:0.0.0 force:False [2023-03-25T04:35:41.728Z] 2023-03-25 04:35:41,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-25T04:35:41.728Z] 2023-03-25 04:35:41,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-25T04:35:41.728Z] 2023-03-25 04:35:41,639 [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-03-25T04:35:42.667Z] 2023-03-25 04:35:42,376 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-25T04:35:42.667Z] 2023-03-25 04:35:42,377 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-25T04:35:42.667Z] 2023-03-25 04:35:42,377 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:35:42.667Z] 2023-03-25 04:35:42,377 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:35:42.667Z] 3.0.0-dev.22 [Pipeline] } [2023-03-25T04:35:42.677Z] $ docker exec --env ******** --env ******** 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 ssh-agent -k [2023-03-25T04:35:42.770Z] unset SSH_AUTH_SOCK; [2023-03-25T04:35:42.771Z] unset SSH_AGENT_PID; [2023-03-25T04:35:42.771Z] echo Agent pid 77 killed; [2023-03-25T04:35:42.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-25T04:35:43.093Z] + git semver [Pipeline] } [2023-03-25T04:35:43.364Z] $ docker stop --time=1 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 [2023-03-25T04:35:44.666Z] $ docker rm -f --volumes 9221d17e8a1c7dc321cbfd54e9188a619d84cd3093b6821432308ac446a7d773 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-25T04:35:45.017Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-25T04:35:45.227Z] Stashed 1 file(s) [Pipeline] echo [2023-03-25T04:35:45.230Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-25T04:35:45.373Z] provisioning config files... [2023-03-25T04:35:45.382Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5427272861231863319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:35:45.678Z] ---> docker-login.sh [2023-03-25T04:35:45.678Z] nexus3.edgexfoundry.org:10001 [2023-03-25T04:35:45.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:45.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:45.678Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:45.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:45.678Z] [2023-03-25T04:35:45.678Z] Login Succeeded [2023-03-25T04:35:45.678Z] nexus3.edgexfoundry.org:10002 [2023-03-25T04:35:45.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:45.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:45.678Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:45.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:45.678Z] [2023-03-25T04:35:45.678Z] Login Succeeded [2023-03-25T04:35:45.678Z] nexus3.edgexfoundry.org:10003 [2023-03-25T04:35:45.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:45.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:45.938Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:45.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:45.938Z] [2023-03-25T04:35:45.938Z] Login Succeeded [2023-03-25T04:35:45.938Z] nexus3.edgexfoundry.org:10004 [2023-03-25T04:35:45.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:45.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:45.938Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:45.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:45.938Z] [2023-03-25T04:35:45.938Z] Login Succeeded [2023-03-25T04:35:45.938Z] docker.io [2023-03-25T04:35:46.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:35:46.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:35:46.196Z] Configure a credential helper to remove this warning. See [2023-03-25T04:35:46.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:35:46.196Z] [2023-03-25T04:35:46.196Z] Login Succeeded [2023-03-25T04:35:46.196Z] ---> docker-login.sh ends [Pipeline] } [2023-03-25T04:35:46.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-25T04:35:46.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:35:46.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:35:46.280Z] ========================================================= [2023-03-25T04:35:46.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-25T04:35:46.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:35:46.579Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-25T04:35:46.579Z] Sending build context to Docker daemon 6.388MB [2023-03-25T04:35:46.579Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-25T04:35:46.579Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-25T04:35:46.579Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-25T04:35:46.579Z] 63b65145d645: Pulling fs layer [2023-03-25T04:35:46.579Z] a2d21d5440eb: Pulling fs layer [2023-03-25T04:35:46.579Z] 935e6c44a52c: Pulling fs layer [2023-03-25T04:35:46.579Z] 94cc34f8dd06: Pulling fs layer [2023-03-25T04:35:46.579Z] 30dea6a524f1: Pulling fs layer [2023-03-25T04:35:46.579Z] a2aff8979fd8: Pulling fs layer [2023-03-25T04:35:46.579Z] 94cc34f8dd06: Waiting [2023-03-25T04:35:46.579Z] 30dea6a524f1: Waiting [2023-03-25T04:35:46.579Z] 6808be2612f2: Pulling fs layer [2023-03-25T04:35:46.579Z] 6808be2612f2: Waiting [2023-03-25T04:35:46.579Z] a2aff8979fd8: Waiting [2023-03-25T04:35:46.579Z] f25807f1079a: Pulling fs layer [2023-03-25T04:35:46.579Z] a2d21d5440eb: Download complete [2023-03-25T04:35:46.579Z] 94cc34f8dd06: Verifying Checksum [2023-03-25T04:35:46.579Z] 94cc34f8dd06: Download complete [2023-03-25T04:35:46.845Z] 30dea6a524f1: Verifying Checksum [2023-03-25T04:35:46.845Z] 30dea6a524f1: Download complete [2023-03-25T04:35:46.845Z] 63b65145d645: Verifying Checksum [2023-03-25T04:35:46.845Z] 63b65145d645: Download complete [2023-03-25T04:35:46.845Z] a2aff8979fd8: Verifying Checksum [2023-03-25T04:35:46.845Z] a2aff8979fd8: Download complete [2023-03-25T04:35:46.845Z] 63b65145d645: Pull complete [2023-03-25T04:35:47.111Z] a2d21d5440eb: Pull complete [2023-03-25T04:35:47.371Z] 935e6c44a52c: Verifying Checksum [2023-03-25T04:35:47.371Z] 935e6c44a52c: Download complete [2023-03-25T04:35:47.371Z] f25807f1079a: Verifying Checksum [2023-03-25T04:35:47.371Z] f25807f1079a: Download complete [2023-03-25T04:35:47.937Z] 6808be2612f2: Verifying Checksum [2023-03-25T04:35:47.937Z] 6808be2612f2: Download complete [2023-03-25T04:35:50.463Z] 935e6c44a52c: Pull complete [2023-03-25T04:35:50.463Z] 94cc34f8dd06: Pull complete [2023-03-25T04:35:50.463Z] 30dea6a524f1: Pull complete [2023-03-25T04:35:50.721Z] a2aff8979fd8: Pull complete [2023-03-25T04:35:52.625Z] 6808be2612f2: Pull complete [2023-03-25T04:35:53.558Z] f25807f1079a: Pull complete [2023-03-25T04:35:53.558Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-25T04:35:53.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-25T04:35:53.558Z] ---> 3b553350e43f [2023-03-25T04:35:53.558Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-25T04:35:54.938Z] ---> Running in affd9e6b76b5 [2023-03-25T04:35:54.938Z] Removing intermediate container affd9e6b76b5 [2023-03-25T04:35:54.938Z] ---> a83765307ad4 [2023-03-25T04:35:54.938Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-25T04:35:55.197Z] ---> Running in 07d81bab2428 [2023-03-25T04:35:55.197Z] Removing intermediate container 07d81bab2428 [2023-03-25T04:35:55.197Z] ---> d5e6b5112794 [2023-03-25T04:35:55.197Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-25T04:35:55.197Z] ---> Running in d75ca05844e5 [2023-03-25T04:35:55.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-25T04:35:55.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-25T04:35:55.973Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-25T04:35:55.973Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-25T04:35:55.973Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-25T04:35:55.973Z] Executing busybox-1.35.0-r29.trigger [2023-03-25T04:35:55.973Z] OK: 270 MiB in 61 packages [2023-03-25T04:35:56.540Z] Removing intermediate container d75ca05844e5 [2023-03-25T04:35:56.540Z] ---> 5b88f099a703 [2023-03-25T04:35:56.540Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-25T04:35:56.540Z] ---> Running in e51080d9ee60 [2023-03-25T04:35:56.540Z] Removing intermediate container e51080d9ee60 [2023-03-25T04:35:56.540Z] ---> 6c61e6e69aa6 [2023-03-25T04:35:56.540Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-25T04:35:56.799Z] ---> e22239c7f133 [2023-03-25T04:35:56.799Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-25T04:35:56.799Z] ---> Running in 6c0938c4272a [2023-03-25T04:36:00.330Z] Still waiting to schedule task [2023-03-25T04:36:00.330Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-25T04:36:43.483Z] Removing intermediate container 6c0938c4272a [2023-03-25T04:36:43.483Z] ---> 8736d59d3d6f [2023-03-25T04:36:43.483Z] Step 9/10 : COPY . . [2023-03-25T04:36:43.483Z] ---> c85c8ccbd3ea [2023-03-25T04:36:43.483Z] Step 10/10 : RUN ${MAKE} [2023-03-25T04:36:43.483Z] ---> Running in 7cad08406b3e [2023-03-25T04:36:43.483Z] noop [2023-03-25T04:36:43.483Z] Removing intermediate container 7cad08406b3e [2023-03-25T04:36:43.483Z] ---> 71b5a6c65fd4 [2023-03-25T04:36:43.483Z] Successfully built 71b5a6c65fd4 [2023-03-25T04:36:43.483Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:36:43.790Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-25T04:36:43.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:36:43.866Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:36:43.896Z] $ 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-03-25T04:36:44.286Z] $ docker top 7b6e6b5de855e6524a97111f13a9e4c6045ab74911bc352fbbb3bcc2cbc84547 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-25T04:36:44.632Z] + go version [2023-03-25T04:36:44.632Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-25T04:36:44.643Z] $ docker stop --time=1 7b6e6b5de855e6524a97111f13a9e4c6045ab74911bc352fbbb3bcc2cbc84547 [2023-03-25T04:36:45.942Z] $ docker rm -f --volumes 7b6e6b5de855e6524a97111f13a9e4c6045ab74911bc352fbbb3bcc2cbc84547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:36:46.320Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-25T04:36:46.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:36:46.390Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:36:46.419Z] $ 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-03-25T04:36:46.767Z] $ docker top a6b37297780f1775310406f96f0de1d75365724f824489be2be031668d0b43e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-25T04:36:47.105Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-25T04:36:47.400Z] + make test [2023-03-25T04:36:47.400Z] go test ./... -coverprofile=coverage.out [2023-03-25T04:36:51.583Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-25T04:37:01.546Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-25T04:37:01.546Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements [2023-03-25T04:37:06.813Z] go vet ./... [2023-03-25T04:37:10.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-25T04:37:10.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-25T04:37:10.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-25T04:37:10.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-25T04:37:10.123Z] $ docker stop --time=1 a6b37297780f1775310406f96f0de1d75365724f824489be2be031668d0b43e4 [2023-03-25T04:37:12.115Z] $ docker rm -f --volumes a6b37297780f1775310406f96f0de1d75365724f824489be2be031668d0b43e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-25T04:37:12.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-25T04:37:12.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-25T04:37:13.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-25T04:37:13.427Z] + ls -al . [2023-03-25T04:37:13.427Z] total 180 [2023-03-25T04:37:13.427Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 25 04:36 . [2023-03-25T04:37:13.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 04:35 .. [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 25 04:35 .dockerignore [2023-03-25T04:37:13.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 04:35 .git [2023-03-25T04:37:13.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:35 .github [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 25 04:35 .gitignore [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 04:35 .golangci.yml [2023-03-25T04:37:13.427Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 04:35 .semver [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 25 04:35 Attribution.txt [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 25 04:35 CHANGELOG.md [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 25 04:35 Dockerfile [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 04:35 GOVERNANCE.md [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 25 04:35 Jenkinsfile [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 25 04:35 LICENSE [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 25 04:35 Makefile [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 25 04:35 OWNERS.md [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 25 04:35 README.md [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 25 04:35 VERSION [2023-03-25T04:37:13.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 04:35 bin [2023-03-25T04:37:13.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:35 cmd [2023-03-25T04:37:13.427Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 25 04:37 coverage.out [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 25 04:35 go.mod [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 25 04:35 go.sum [2023-03-25T04:37:13.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:35 internal [2023-03-25T04:37:13.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 04:35 simulator [2023-03-25T04:37:13.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 04:35 snap [2023-03-25T04:37:13.427Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 25 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:13.728Z] + 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=63f56b440389908500f57809a79af5893e194475 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-03-25T04:37:13.728Z] Sending build context to Docker daemon 6.413MB [2023-03-25T04:37:13.728Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-25T04:37:13.729Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-25T04:37:13.729Z] ---> 71b5a6c65fd4 [2023-03-25T04:37:13.729Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-25T04:37:13.729Z] ---> Running in 01bef2f0a232 [2023-03-25T04:37:13.987Z] Removing intermediate container 01bef2f0a232 [2023-03-25T04:37:13.987Z] ---> 99dca949ee1f [2023-03-25T04:37:13.987Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-25T04:37:13.987Z] ---> Running in bbee988c7f8f [2023-03-25T04:37:13.987Z] Removing intermediate container bbee988c7f8f [2023-03-25T04:37:13.987Z] ---> 3bf9ac15c985 [2023-03-25T04:37:13.987Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-25T04:37:13.987Z] ---> Running in 5149b5371f78 [2023-03-25T04:37:14.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-25T04:37:14.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-25T04:37:14.764Z] OK: 270 MiB in 61 packages [2023-03-25T04:37:15.023Z] Removing intermediate container 5149b5371f78 [2023-03-25T04:37:15.023Z] ---> d9503c70d910 [2023-03-25T04:37:15.023Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-25T04:37:15.023Z] ---> Running in 6c4fdee22305 [2023-03-25T04:37:15.023Z] Removing intermediate container 6c4fdee22305 [2023-03-25T04:37:15.023Z] ---> 5e3f1ad01053 [2023-03-25T04:37:15.023Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-25T04:37:15.282Z] ---> 1cef84a79c78 [2023-03-25T04:37:15.282Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-25T04:37:15.282Z] ---> Running in f9ed3e442830 [2023-03-25T04:37:16.217Z] Removing intermediate container f9ed3e442830 [2023-03-25T04:37:16.217Z] ---> b6f9b036b957 [2023-03-25T04:37:16.217Z] Step 9/22 : COPY . . [2023-03-25T04:37:16.217Z] ---> dbfcaa68223f [2023-03-25T04:37:16.217Z] Step 10/22 : RUN ${MAKE} [2023-03-25T04:37:16.474Z] ---> Running in d6977d17134f [2023-03-25T04:37:16.731Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-25T04:37:25.540Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5785 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-25T04:37:25.555Z] Running in /w/workspace/device-modbus-go/88 [Pipeline] { [Pipeline] checkout [2023-03-25T04:37:25.582Z] Selected Git installation does not exist. Using Default [2023-03-25T04:37:25.582Z] The recommended git tool is: NONE [2023-03-25T04:37:30.260Z] using credential edgex-jenkins-ssh [2023-03-25T04:37:30.274Z] Cloning the remote Git repository [2023-03-25T04:37:30.322Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-25T04:37:30.401Z] > git init /w/workspace/device-modbus-go/88 # timeout=10 [2023-03-25T04:37:30.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-25T04:37:30.537Z] > git --version # timeout=10 [2023-03-25T04:37:30.563Z] > git --version # 'git version 2.25.1' [2023-03-25T04:37:30.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-25T04:37:30.713Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-25T04:37:32.706Z] Avoid second fetch [2023-03-25T04:37:32.707Z] Checking out Revision 63f56b440389908500f57809a79af5893e194475 (main) [2023-03-25T04:37:31.766Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-25T04:37:31.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-25T04:37:32.730Z] > git config core.sparsecheckout # timeout=10 [2023-03-25T04:37:32.795Z] > git checkout -f 63f56b440389908500f57809a79af5893e194475 # timeout=10 [2023-03-25T04:37:33.268Z] Commit message: "Merge pull request #443 from weichou1229/issue-438" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-25T04:37:34.168Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-25T04:37:34.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-25T04:37:34.168Z] Dload Upload Total Spent Left Speed [2023-03-25T04:37:34.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 112k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2023-03-25T04:37:34.745Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-25T04:37:35.070Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-25T04:37:35.070Z] + sudo tee /etc/docker/daemon.new [2023-03-25T04:37:35.070Z] { [2023-03-25T04:37:35.070Z] "registry-mirrors": [ [2023-03-25T04:37:35.070Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-25T04:37:35.070Z] ], [2023-03-25T04:37:35.070Z] "bip": "10.250.0.254/24", [2023-03-25T04:37:35.070Z] "hosts": [ [2023-03-25T04:37:35.070Z] "tcp://0.0.0.0:5555", [2023-03-25T04:37:35.070Z] "unix:///var/run/docker.sock" [2023-03-25T04:37:35.070Z] ], [2023-03-25T04:37:35.070Z] "mtu": 1458, [2023-03-25T04:37:35.070Z] "selinux-enabled": true, [2023-03-25T04:37:35.070Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-25T04:37:35.070Z] } [Pipeline] sh [2023-03-25T04:37:35.093Z] Removing intermediate container d6977d17134f [2023-03-25T04:37:35.093Z] ---> 733b8d7a5f4b [2023-03-25T04:37:35.093Z] Step 11/22 : FROM alpine:3.17 [2023-03-25T04:37:35.093Z] 3.17: Pulling from library/alpine [2023-03-25T04:37:35.093Z] 63b65145d645: Already exists [2023-03-25T04:37:35.093Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-25T04:37:35.093Z] Status: Downloaded newer image for alpine:3.17 [2023-03-25T04:37:35.093Z] ---> b2aa39c304c2 [2023-03-25T04:37:35.093Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-25T04:37:35.093Z] ---> Running in e78c0224bf2a [2023-03-25T04:37:35.093Z] Removing intermediate container e78c0224bf2a [2023-03-25T04:37:35.093Z] ---> a904b2a1dd23 [2023-03-25T04:37:35.093Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-25T04:37:35.093Z] ---> Running in 09eedbce3e25 [2023-03-25T04:37:35.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-25T04:37:35.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-25T04:37:35.093Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-25T04:37:35.093Z] Executing busybox-1.35.0-r29.trigger [2023-03-25T04:37:35.093Z] OK: 7 MiB in 16 packages [2023-03-25T04:37:35.093Z] Removing intermediate container 09eedbce3e25 [2023-03-25T04:37:35.093Z] ---> 3fd2daeb91a8 [2023-03-25T04:37:35.093Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-25T04:37:35.352Z] ---> 6c5bb7fa6dae [2023-03-25T04:37:35.352Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-25T04:37:35.352Z] ---> e6c7ef0e49d7 [2023-03-25T04:37:35.352Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-25T04:37:35.402Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-25T04:37:35.614Z] ---> bd5e97ca02ea [2023-03-25T04:37:35.614Z] Step 17/22 : EXPOSE 59901 [2023-03-25T04:37:35.614Z] ---> Running in 102542bd77a6 [2023-03-25T04:37:35.614Z] Removing intermediate container 102542bd77a6 [2023-03-25T04:37:35.614Z] ---> 0d947452e51b [2023-03-25T04:37:35.614Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-25T04:37:35.614Z] ---> Running in d379f95e983d [2023-03-25T04:37:35.739Z] + sudo service docker restart [2023-03-25T04:37:35.874Z] Removing intermediate container d379f95e983d [2023-03-25T04:37:35.874Z] ---> cad1e5351e29 [2023-03-25T04:37:35.874Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-25T04:37:35.874Z] ---> Running in 28dce68bf7cd [2023-03-25T04:37:35.874Z] Removing intermediate container 28dce68bf7cd [2023-03-25T04:37:35.874Z] ---> 28a125a9a6cf [2023-03-25T04:37:35.874Z] Step 20/22 : LABEL arch=amd64 [2023-03-25T04:37:35.874Z] ---> Running in e341f39039a0 [2023-03-25T04:37:35.874Z] Removing intermediate container e341f39039a0 [2023-03-25T04:37:35.874Z] ---> 0b7f558e3556 [2023-03-25T04:37:35.874Z] Step 21/22 : LABEL git_sha=63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:37:36.132Z] ---> Running in 77d15049951e [2023-03-25T04:37:36.132Z] Removing intermediate container 77d15049951e [2023-03-25T04:37:36.132Z] ---> c1621a040fc9 [2023-03-25T04:37:36.132Z] Step 22/22 : LABEL version=3.0.0-dev.22 [2023-03-25T04:37:36.132Z] ---> Running in 0df5f12fe101 [2023-03-25T04:37:36.132Z] Removing intermediate container 0df5f12fe101 [2023-03-25T04:37:36.132Z] ---> 5016ec809f9d [2023-03-25T04:37:36.132Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-25T04:37:36.132Z] Successfully built 5016ec809f9d [2023-03-25T04:37:36.132Z] 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-03-25T04:37:36.238Z] provisioning config files... [2023-03-25T04:37:36.247Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4627622944058279005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:37:36.539Z] ---> docker-login.sh [2023-03-25T04:37:36.539Z] nexus3.edgexfoundry.org:10001 [2023-03-25T04:37:36.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:36.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:36.539Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:36.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:36.539Z] [2023-03-25T04:37:36.539Z] Login Succeeded [2023-03-25T04:37:36.539Z] nexus3.edgexfoundry.org:10002 [2023-03-25T04:37:36.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:36.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:36.539Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:36.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:36.539Z] [2023-03-25T04:37:36.539Z] Login Succeeded [2023-03-25T04:37:36.539Z] nexus3.edgexfoundry.org:10003 [2023-03-25T04:37:36.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:36.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:36.798Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:36.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:36.798Z] [2023-03-25T04:37:36.798Z] Login Succeeded [2023-03-25T04:37:36.798Z] nexus3.edgexfoundry.org:10004 [2023-03-25T04:37:36.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:36.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:36.798Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:36.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:36.798Z] [2023-03-25T04:37:36.798Z] Login Succeeded [2023-03-25T04:37:36.798Z] docker.io [2023-03-25T04:37:37.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:37.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:37.058Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:37.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:37.058Z] [2023-03-25T04:37:37.058Z] Login Succeeded [2023-03-25T04:37:37.058Z] ---> docker-login.sh ends [Pipeline] } [2023-03-25T04:37:37.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-25T04:37:37.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:37:37.107Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-25T04:37:37.107Z] 63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:37:37.107Z] latest [2023-03-25T04:37:37.107Z] 3.0.0-dev.22 [2023-03-25T04:37:37.107Z] 63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:37:37.107Z] main [2023-03-25T04:37:37.107Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:37.416Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:37.726Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:37:37.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-25T04:37:37.726Z] 14b121c1e75e: Preparing [2023-03-25T04:37:37.726Z] 98a2e5a1b781: Preparing [2023-03-25T04:37:37.726Z] b97ee00b2c31: Preparing [2023-03-25T04:37:37.726Z] 8f968d3f6caf: Preparing [2023-03-25T04:37:37.726Z] 7cd52847ad77: Preparing [2023-03-25T04:37:37.726Z] 7cd52847ad77: Layer already exists [2023-03-25T04:37:37.726Z] 8f968d3f6caf: Pushed [2023-03-25T04:37:37.726Z] 98a2e5a1b781: Pushed [2023-03-25T04:37:37.726Z] 14b121c1e75e: Pushed [2023-03-25T04:37:40.260Z] b97ee00b2c31: Pushed [2023-03-25T04:37:40.260Z] 63f56b440389908500f57809a79af5893e194475: digest: sha256:e017e641f7c27d75db8ce3be0e2e3dcfd7d5f73dfa34d4732cff5463f136aee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:40.569Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:40.884Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-25T04:37:40.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-25T04:37:40.884Z] 14b121c1e75e: Preparing [2023-03-25T04:37:40.884Z] 98a2e5a1b781: Preparing [2023-03-25T04:37:40.884Z] b97ee00b2c31: Preparing [2023-03-25T04:37:40.884Z] 8f968d3f6caf: Preparing [2023-03-25T04:37:40.884Z] 7cd52847ad77: Preparing [2023-03-25T04:37:40.884Z] b97ee00b2c31: Layer already exists [2023-03-25T04:37:40.884Z] 14b121c1e75e: Layer already exists [2023-03-25T04:37:40.884Z] 98a2e5a1b781: Layer already exists [2023-03-25T04:37:40.884Z] 8f968d3f6caf: Layer already exists [2023-03-25T04:37:40.884Z] 7cd52847ad77: Layer already exists [2023-03-25T04:37:40.884Z] latest: digest: sha256:e017e641f7c27d75db8ce3be0e2e3dcfd7d5f73dfa34d4732cff5463f136aee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:41.196Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:41.502Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.22 [2023-03-25T04:37:41.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-25T04:37:41.502Z] 14b121c1e75e: Preparing [2023-03-25T04:37:41.502Z] 98a2e5a1b781: Preparing [2023-03-25T04:37:41.502Z] b97ee00b2c31: Preparing [2023-03-25T04:37:41.502Z] 8f968d3f6caf: Preparing [2023-03-25T04:37:41.502Z] 7cd52847ad77: Preparing [2023-03-25T04:37:41.502Z] 98a2e5a1b781: Layer already exists [2023-03-25T04:37:41.502Z] b97ee00b2c31: Layer already exists [2023-03-25T04:37:41.502Z] 7cd52847ad77: Layer already exists [2023-03-25T04:37:41.502Z] 14b121c1e75e: Layer already exists [2023-03-25T04:37:41.502Z] 8f968d3f6caf: Layer already exists [2023-03-25T04:37:41.502Z] 3.0.0-dev.22: digest: sha256:e017e641f7c27d75db8ce3be0e2e3dcfd7d5f73dfa34d4732cff5463f136aee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:41.816Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:42.131Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:37:42.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-25T04:37:42.132Z] 14b121c1e75e: Preparing [2023-03-25T04:37:42.132Z] 98a2e5a1b781: Preparing [2023-03-25T04:37:42.132Z] b97ee00b2c31: Preparing [2023-03-25T04:37:42.132Z] 8f968d3f6caf: Preparing [2023-03-25T04:37:42.132Z] 7cd52847ad77: Preparing [2023-03-25T04:37:42.132Z] 7cd52847ad77: Layer already exists [2023-03-25T04:37:42.132Z] 8f968d3f6caf: Layer already exists [2023-03-25T04:37:42.132Z] 14b121c1e75e: Layer already exists [2023-03-25T04:37:42.132Z] b97ee00b2c31: Layer already exists [2023-03-25T04:37:42.132Z] 98a2e5a1b781: Layer already exists [2023-03-25T04:37:42.132Z] 63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22: digest: sha256:e017e641f7c27d75db8ce3be0e2e3dcfd7d5f73dfa34d4732cff5463f136aee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:42.463Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:42.768Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-25T04:37:42.768Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-25T04:37:42.768Z] 14b121c1e75e: Preparing [2023-03-25T04:37:42.768Z] 98a2e5a1b781: Preparing [2023-03-25T04:37:42.768Z] b97ee00b2c31: Preparing [2023-03-25T04:37:42.768Z] 8f968d3f6caf: Preparing [2023-03-25T04:37:42.768Z] 7cd52847ad77: Preparing [2023-03-25T04:37:42.768Z] 7cd52847ad77: Layer already exists [2023-03-25T04:37:42.768Z] 8f968d3f6caf: Layer already exists [2023-03-25T04:37:42.768Z] 14b121c1e75e: Layer already exists [2023-03-25T04:37:42.768Z] 98a2e5a1b781: Layer already exists [2023-03-25T04:37:42.768Z] b97ee00b2c31: Layer already exists [2023-03-25T04:37:42.768Z] main: digest: sha256:e017e641f7c27d75db8ce3be0e2e3dcfd7d5f73dfa34d4732cff5463f136aee7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-25T04:37:42.804Z] ===================================================== [Pipeline] echo [2023-03-25T04:37:42.810Z] taggedImages: [2023-03-25T04:37:42.810Z] - nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:37:42.810Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-25T04:37:42.810Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.22 [2023-03-25T04:37:42.810Z] - nexus3.edgexfoundry.org:10004/device-modbus:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:37:42.810Z] - 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-03-25T04:37:43.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-25T04:37:43.174Z] [2023-03-25T04:37:43.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:43.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-25T04:37:43.474Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-25T04:37:43.474Z] 5eb5b503b376: Pulling fs layer [2023-03-25T04:37:43.474Z] 5c69ac0246d0: Pulling fs layer [2023-03-25T04:37:43.474Z] ec43610c2a17: Pulling fs layer [2023-03-25T04:37:43.474Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-25T04:37:43.474Z] 33b1e0a273af: Pulling fs layer [2023-03-25T04:37:43.474Z] 5d3b04190fa2: Pulling fs layer [2023-03-25T04:37:43.474Z] 2f39f015ded8: Pulling fs layer [2023-03-25T04:37:43.474Z] 3a2ae6a8a46f: Waiting [2023-03-25T04:37:43.474Z] 5d3b04190fa2: Waiting [2023-03-25T04:37:43.474Z] 33b1e0a273af: Waiting [2023-03-25T04:37:43.474Z] 2f39f015ded8: Waiting [2023-03-25T04:37:43.474Z] 5c69ac0246d0: Download complete [2023-03-25T04:37:43.474Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-25T04:37:43.474Z] 3a2ae6a8a46f: Download complete [2023-03-25T04:37:43.474Z] 33b1e0a273af: Verifying Checksum [2023-03-25T04:37:43.474Z] 33b1e0a273af: Download complete [2023-03-25T04:37:43.733Z] 5d3b04190fa2: Verifying Checksum [2023-03-25T04:37:43.733Z] 5d3b04190fa2: Download complete [2023-03-25T04:37:43.733Z] ec43610c2a17: Verifying Checksum [2023-03-25T04:37:43.733Z] ec43610c2a17: Download complete [2023-03-25T04:37:43.733Z] 5eb5b503b376: Verifying Checksum [2023-03-25T04:37:43.733Z] 5eb5b503b376: Download complete [2023-03-25T04:37:44.667Z] 2f39f015ded8: Download complete [2023-03-25T04:37:44.924Z] 5eb5b503b376: Pull complete [2023-03-25T04:37:45.182Z] 5c69ac0246d0: Pull complete [2023-03-25T04:37:45.440Z] ec43610c2a17: Pull complete [2023-03-25T04:37:45.440Z] 3a2ae6a8a46f: Pull complete [2023-03-25T04:37:45.698Z] 33b1e0a273af: Pull complete [2023-03-25T04:37:45.698Z] 5d3b04190fa2: Pull complete [2023-03-25T04:37:49.882Z] 2f39f015ded8: Pull complete [2023-03-25T04:37:49.882Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-25T04:37:49.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-25T04:37:49.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:37:49.969Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:37:49.999Z] $ 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-03-25T04:37:51.563Z] $ docker top 6b4ea30a32c11f6d43faf37fb5e6457c376e9a1857ecc767d70e8f313cc5d414 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:37:51.963Z] ---> job-cost.sh [2023-03-25T04:37:51.963Z] lf-activate-venv: SKIPPING [2023-03-25T04:37:51.963Z] INFO: No Stack... [2023-03-25T04:37:52.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-25T04:37:52.484Z] INFO: Archiving Costs [Pipeline] sh [2023-03-25T04:37:52.770Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-25T04:37:52.771Z] + cut -d, -f6 [Pipeline] lock [2023-03-25T04:37:52.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [2023-03-25T04:37:52.789Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] did not exist. Created. [2023-03-25T04:37:52.789Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-25T04:37:53.092Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-25T04:37:53.114Z] Stashed 1 file(s) [Pipeline] } [2023-03-25T04:37:53.119Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-25T04:37:53.137Z] $ docker stop --time=1 6b4ea30a32c11f6d43faf37fb5e6457c376e9a1857ecc767d70e8f313cc5d414 [2023-03-25T04:37:54.300Z] $ docker rm -f --volumes 6b4ea30a32c11f6d43faf37fb5e6457c376e9a1857ecc767d70e8f313cc5d414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-03-25T04:37:54.383Z] provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-25T04:37:54.410Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/88@tmp/config254844301249596046tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:37:54.764Z] ---> docker-login.sh [2023-03-25T04:37:54.764Z] nexus3.edgexfoundry.org:10001 [2023-03-25T04:37:55.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:55.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:55.311Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:55.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:55.311Z] [2023-03-25T04:37:55.311Z] Login Succeeded [2023-03-25T04:37:55.311Z] nexus3.edgexfoundry.org:10002 [2023-03-25T04:37:55.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:55.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:55.854Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:55.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:55.855Z] [2023-03-25T04:37:55.855Z] Login Succeeded [2023-03-25T04:37:55.855Z] nexus3.edgexfoundry.org:10003 [2023-03-25T04:37:55.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:56.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:56.127Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:56.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:56.127Z] [2023-03-25T04:37:56.127Z] Login Succeeded [2023-03-25T04:37:56.127Z] nexus3.edgexfoundry.org:10004 [2023-03-25T04:37:56.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:56.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:56.399Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:56.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:56.399Z] [2023-03-25T04:37:56.399Z] Login Succeeded [2023-03-25T04:37:56.399Z] docker.io [2023-03-25T04:37:56.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:37:56.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:37:56.940Z] Configure a credential helper to remove this warning. See [2023-03-25T04:37:56.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:37:56.940Z] [2023-03-25T04:37:56.940Z] Login Succeeded [2023-03-25T04:37:56.940Z] ---> docker-login.sh ends [Pipeline] } [2023-03-25T04:37:56.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-25T04:37:57.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:37:57.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:37:57.207Z] ========================================================= [2023-03-25T04:37:57.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-25T04:37:57.207Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:37:57.545Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-25T04:37:57.815Z] Sending build context to Docker daemon 3.334MB [2023-03-25T04:37:57.815Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-25T04:37:57.815Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-25T04:37:58.091Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-25T04:37:58.091Z] af6eaf76a39c: Pulling fs layer [2023-03-25T04:37:58.091Z] 55522c791124: Pulling fs layer [2023-03-25T04:37:58.091Z] ce5c4a1c91eb: Pulling fs layer [2023-03-25T04:37:58.091Z] 169dfbe0d373: Pulling fs layer [2023-03-25T04:37:58.091Z] e1ff8fa3b103: Pulling fs layer [2023-03-25T04:37:58.091Z] 52ebb69f0ebf: Pulling fs layer [2023-03-25T04:37:58.091Z] 5abe8eddf0d5: Pulling fs layer [2023-03-25T04:37:58.091Z] 169dfbe0d373: Waiting [2023-03-25T04:37:58.091Z] 52ebb69f0ebf: Waiting [2023-03-25T04:37:58.091Z] e1ff8fa3b103: Waiting [2023-03-25T04:37:58.091Z] 5abe8eddf0d5: Waiting [2023-03-25T04:37:58.091Z] 55522c791124: Verifying Checksum [2023-03-25T04:37:58.091Z] 55522c791124: Download complete [2023-03-25T04:37:58.091Z] 169dfbe0d373: Download complete [2023-03-25T04:37:58.091Z] e1ff8fa3b103: Verifying Checksum [2023-03-25T04:37:58.091Z] e1ff8fa3b103: Download complete [2023-03-25T04:37:58.091Z] af6eaf76a39c: Verifying Checksum [2023-03-25T04:37:58.091Z] af6eaf76a39c: Download complete [2023-03-25T04:37:59.515Z] af6eaf76a39c: Pull complete [2023-03-25T04:37:59.515Z] 5abe8eddf0d5: Verifying Checksum [2023-03-25T04:37:59.515Z] 5abe8eddf0d5: Download complete [2023-03-25T04:38:00.938Z] 52ebb69f0ebf: Verifying Checksum [2023-03-25T04:38:00.938Z] 52ebb69f0ebf: Download complete [2023-03-25T04:38:00.938Z] ce5c4a1c91eb: Verifying Checksum [2023-03-25T04:38:00.938Z] ce5c4a1c91eb: Download complete [2023-03-25T04:38:01.207Z] 55522c791124: Pull complete [2023-03-25T04:38:16.413Z] ce5c4a1c91eb: Pull complete [2023-03-25T04:38:16.413Z] 169dfbe0d373: Pull complete [2023-03-25T04:38:16.413Z] e1ff8fa3b103: Pull complete [2023-03-25T04:38:21.793Z] 52ebb69f0ebf: Pull complete [2023-03-25T04:38:24.396Z] 5abe8eddf0d5: Pull complete [2023-03-25T04:38:24.396Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-25T04:38:24.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-25T04:38:24.396Z] ---> 6cb57ee374ae [2023-03-25T04:38:24.396Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-25T04:38:25.802Z] ---> Running in 643c8e802578 [2023-03-25T04:38:26.071Z] Removing intermediate container 643c8e802578 [2023-03-25T04:38:26.071Z] ---> 3dc311ee3e37 [2023-03-25T04:38:26.071Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-25T04:38:26.071Z] ---> Running in ac67304a1e97 [2023-03-25T04:38:26.342Z] Removing intermediate container ac67304a1e97 [2023-03-25T04:38:26.342Z] ---> 3522dbc2b66d [2023-03-25T04:38:26.342Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-25T04:38:26.342Z] ---> Running in 2d5a8dff083b [2023-03-25T04:38:27.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-25T04:38:28.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-25T04:38:28.985Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-25T04:38:28.985Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-25T04:38:28.985Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-25T04:38:28.985Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-25T04:38:28.985Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-25T04:38:28.985Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-25T04:38:28.985Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-25T04:38:29.251Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-25T04:38:29.251Z] Executing busybox-1.35.0-r29.trigger [2023-03-25T04:38:29.251Z] OK: 270 MiB in 61 packages [2023-03-25T04:38:30.211Z] Removing intermediate container 2d5a8dff083b [2023-03-25T04:38:30.211Z] ---> 1d0bc67d074c [2023-03-25T04:38:30.211Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-25T04:38:30.211Z] ---> Running in 0dbd34e26fc6 [2023-03-25T04:38:30.479Z] Removing intermediate container 0dbd34e26fc6 [2023-03-25T04:38:30.479Z] ---> a6a9b7b2f11c [2023-03-25T04:38:30.479Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-25T04:38:31.064Z] ---> d215735abf99 [2023-03-25T04:38:31.064Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-25T04:38:31.064Z] ---> Running in cc8f731cebfa [2023-03-25T04:39:38.964Z] Removing intermediate container cc8f731cebfa [2023-03-25T04:39:38.964Z] ---> c0cdc2ea6120 [2023-03-25T04:39:38.964Z] Step 9/10 : COPY . . [2023-03-25T04:39:38.964Z] ---> 4239020a7ca6 [2023-03-25T04:39:38.964Z] Step 10/10 : RUN ${MAKE} [2023-03-25T04:39:38.964Z] ---> Running in f5ccfae631ff [2023-03-25T04:39:38.964Z] noop [2023-03-25T04:39:38.964Z] Removing intermediate container f5ccfae631ff [2023-03-25T04:39:38.964Z] ---> 3cc8887168da [2023-03-25T04:39:38.964Z] Successfully built 3cc8887168da [2023-03-25T04:39:38.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:39:39.311Z] + docker inspect -f . ci-base-image-arm64 [2023-03-25T04:39:39.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:39:39.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-5785 does not seem to be running inside a container [2023-03-25T04:39:39.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/88 -v /w/workspace/device-modbus-go/88:/w/workspace/device-modbus-go/88:rw,z -v /w/workspace/device-modbus-go/88@tmp:/w/workspace/device-modbus-go/88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-25T04:39:40.714Z] $ docker top d69144b4dbd249bcc9d651ab9f45d0e5ea9bd68d44f0fb2464d629ccbaae638b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-25T04:39:41.534Z] + go version [2023-03-25T04:39:41.534Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-25T04:39:41.552Z] $ docker stop --time=1 d69144b4dbd249bcc9d651ab9f45d0e5ea9bd68d44f0fb2464d629ccbaae638b [2023-03-25T04:39:43.141Z] $ docker rm -f --volumes d69144b4dbd249bcc9d651ab9f45d0e5ea9bd68d44f0fb2464d629ccbaae638b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:39:43.659Z] + docker inspect -f . ci-base-image-arm64 [2023-03-25T04:39:43.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:39:43.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-5785 does not seem to be running inside a container [2023-03-25T04:39:43.896Z] $ 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/88 -v /w/workspace/device-modbus-go/88:/w/workspace/device-modbus-go/88:rw,z -v /w/workspace/device-modbus-go/88@tmp:/w/workspace/device-modbus-go/88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-25T04:39:47.368Z] $ docker top 781e08edc8556c792b706ec534c1dfe13667e31768a1f6185cdd333839ab9324 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-25T04:39:48.178Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/88 [Pipeline] fileExists [Pipeline] sh [2023-03-25T04:39:48.501Z] + make test [2023-03-25T04:39:48.502Z] go test ./... -coverprofile=coverage.out [2023-03-25T04:40:20.744Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-25T04:42:12.460Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-25T04:42:12.460Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 48.0% of statements [2023-03-25T04:42:12.460Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-25T04:42:12.460Z] go vet ./... [2023-03-25T04:42:44.709Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-25T04:42:44.709Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-25T04:42:44.709Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-25T04:42:44.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-25T04:42:44.846Z] $ docker stop --time=1 781e08edc8556c792b706ec534c1dfe13667e31768a1f6185cdd333839ab9324 [2023-03-25T04:42:47.167Z] $ docker rm -f --volumes 781e08edc8556c792b706ec534c1dfe13667e31768a1f6185cdd333839ab9324 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-25T04:42:48.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-25T04:42:48.430Z] Warning: overwriting stash ‘coverage-report’ [2023-03-25T04:42:48.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-25T04:42:49.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-25T04:42:49.727Z] + ls -al . [2023-03-25T04:42:49.727Z] total 176 [2023-03-25T04:42:49.727Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 04:39 . [2023-03-25T04:42:49.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 04:37 .. [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 25 04:37 .dockerignore [2023-03-25T04:42:49.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 04:37 .git [2023-03-25T04:42:49.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:37 .github [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 25 04:37 .gitignore [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 04:37 .golangci.yml [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 25 04:37 Attribution.txt [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 25 04:37 CHANGELOG.md [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 25 04:37 Dockerfile [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 04:37 GOVERNANCE.md [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 25 04:37 Jenkinsfile [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 25 04:37 LICENSE [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 25 04:37 Makefile [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 25 04:37 OWNERS.md [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 25 04:37 README.md [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 25 04:35 VERSION [2023-03-25T04:42:49.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 04:37 bin [2023-03-25T04:42:49.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:37 cmd [2023-03-25T04:42:49.727Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 25 04:42 coverage.out [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 25 04:37 go.mod [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 25 04:37 go.sum [2023-03-25T04:42:49.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 04:37 internal [2023-03-25T04:42:49.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 04:37 simulator [2023-03-25T04:42:49.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 04:37 snap [2023-03-25T04:42:49.727Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 25 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:42:50.072Z] + 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=63f56b440389908500f57809a79af5893e194475 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-03-25T04:42:50.342Z] Sending build context to Docker daemon 3.358MB [2023-03-25T04:42:50.342Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-25T04:42:50.342Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-25T04:42:50.342Z] ---> 3cc8887168da [2023-03-25T04:42:50.342Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-25T04:42:50.612Z] ---> Running in d46b192d114a [2023-03-25T04:42:50.886Z] Removing intermediate container d46b192d114a [2023-03-25T04:42:50.886Z] ---> 109617e30d0d [2023-03-25T04:42:50.886Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-25T04:42:50.886Z] ---> Running in 00513fae38f3 [2023-03-25T04:42:51.476Z] Removing intermediate container 00513fae38f3 [2023-03-25T04:42:51.476Z] ---> 066d9f6765c4 [2023-03-25T04:42:51.476Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-25T04:42:51.476Z] ---> Running in 5eaace8253e3 [2023-03-25T04:42:52.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-25T04:42:53.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-25T04:42:53.994Z] OK: 270 MiB in 61 packages [2023-03-25T04:42:54.955Z] Removing intermediate container 5eaace8253e3 [2023-03-25T04:42:54.955Z] ---> 29acc601e1bd [2023-03-25T04:42:54.955Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-25T04:42:54.955Z] ---> Running in ddc0df280f75 [2023-03-25T04:42:55.225Z] Removing intermediate container ddc0df280f75 [2023-03-25T04:42:55.225Z] ---> a92131ff5e5c [2023-03-25T04:42:55.225Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-25T04:42:55.823Z] ---> c0b54e93669e [2023-03-25T04:42:55.823Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-25T04:42:55.823Z] ---> Running in b6ab5666ce7f [2023-03-25T04:42:58.414Z] Removing intermediate container b6ab5666ce7f [2023-03-25T04:42:58.414Z] ---> 16c1fe51daab [2023-03-25T04:42:58.414Z] Step 9/22 : COPY . . [2023-03-25T04:42:59.000Z] ---> f55bca53617e [2023-03-25T04:42:59.000Z] Step 10/22 : RUN ${MAKE} [2023-03-25T04:42:59.268Z] ---> Running in e48e5f6dbe17 [2023-03-25T04:43:00.228Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-25T04:45:06.907Z] Removing intermediate container e48e5f6dbe17 [2023-03-25T04:45:06.907Z] ---> 34036e0b9137 [2023-03-25T04:45:06.907Z] Step 11/22 : FROM alpine:3.17 [2023-03-25T04:45:06.907Z] 3.17: Pulling from library/alpine [2023-03-25T04:45:06.907Z] af6eaf76a39c: Already exists [2023-03-25T04:45:06.907Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-25T04:45:06.907Z] Status: Downloaded newer image for alpine:3.17 [2023-03-25T04:45:06.907Z] ---> d74e625d9115 [2023-03-25T04:45:06.907Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-25T04:45:06.907Z] ---> Running in 7c3e3b78b2b6 [2023-03-25T04:45:07.177Z] Removing intermediate container 7c3e3b78b2b6 [2023-03-25T04:45:07.177Z] ---> 842989e591ad [2023-03-25T04:45:07.177Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-25T04:45:07.177Z] ---> Running in 1b0229068162 [2023-03-25T04:45:08.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-25T04:45:08.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-25T04:45:09.685Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-25T04:45:09.685Z] Executing busybox-1.35.0-r29.trigger [2023-03-25T04:45:09.952Z] OK: 8 MiB in 16 packages [2023-03-25T04:45:11.364Z] Removing intermediate container 1b0229068162 [2023-03-25T04:45:11.631Z] ---> 5cfc1c3f9880 [2023-03-25T04:45:11.631Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-25T04:45:13.038Z] ---> c7daa310079a [2023-03-25T04:45:13.038Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-25T04:45:13.305Z] ---> 98755434d3dc [2023-03-25T04:45:13.305Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-25T04:45:13.888Z] ---> 13cc923fe0ed [2023-03-25T04:45:13.888Z] Step 17/22 : EXPOSE 59901 [2023-03-25T04:45:13.888Z] ---> Running in aab71fc57439 [2023-03-25T04:45:13.888Z] Removing intermediate container aab71fc57439 [2023-03-25T04:45:13.888Z] ---> 54590aa2b476 [2023-03-25T04:45:13.888Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-25T04:45:14.153Z] ---> Running in 6cb1ed9fe247 [2023-03-25T04:45:14.421Z] Removing intermediate container 6cb1ed9fe247 [2023-03-25T04:45:14.421Z] ---> 1a2ea3aa7577 [2023-03-25T04:45:14.421Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-25T04:45:14.421Z] ---> Running in e772dccc6e52 [2023-03-25T04:45:14.687Z] Removing intermediate container e772dccc6e52 [2023-03-25T04:45:14.687Z] ---> 9c76b0ca43f7 [2023-03-25T04:45:14.687Z] Step 20/22 : LABEL arch=arm64 [2023-03-25T04:45:14.687Z] ---> Running in b30f970cd291 [2023-03-25T04:45:14.952Z] Removing intermediate container b30f970cd291 [2023-03-25T04:45:14.952Z] ---> 4a3d81b4d22e [2023-03-25T04:45:14.952Z] Step 21/22 : LABEL git_sha=63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:45:14.952Z] ---> Running in 4106e85ba717 [2023-03-25T04:45:15.238Z] Removing intermediate container 4106e85ba717 [2023-03-25T04:45:15.238Z] ---> f7edad54ed86 [2023-03-25T04:45:15.238Z] Step 22/22 : LABEL version=3.0.0-dev.22 [2023-03-25T04:45:15.238Z] ---> Running in aeb60f86b3c8 [2023-03-25T04:45:15.504Z] Removing intermediate container aeb60f86b3c8 [2023-03-25T04:45:15.504Z] ---> 41a50f668c24 [2023-03-25T04:45:15.504Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-25T04:45:15.504Z] Successfully built 41a50f668c24 [2023-03-25T04:45:15.504Z] 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-03-25T04:45:15.618Z] provisioning config files... [2023-03-25T04:45:15.632Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/88@tmp/config6498062801271266301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:45:15.957Z] ---> docker-login.sh [2023-03-25T04:45:15.957Z] nexus3.edgexfoundry.org:10001 [2023-03-25T04:45:15.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:45:16.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:45:16.222Z] Configure a credential helper to remove this warning. See [2023-03-25T04:45:16.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:45:16.222Z] [2023-03-25T04:45:16.222Z] Login Succeeded [2023-03-25T04:45:16.222Z] nexus3.edgexfoundry.org:10002 [2023-03-25T04:45:16.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:45:16.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:45:16.487Z] Configure a credential helper to remove this warning. See [2023-03-25T04:45:16.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:45:16.487Z] [2023-03-25T04:45:16.487Z] Login Succeeded [2023-03-25T04:45:16.487Z] nexus3.edgexfoundry.org:10003 [2023-03-25T04:45:16.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:45:16.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:45:16.754Z] Configure a credential helper to remove this warning. See [2023-03-25T04:45:16.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:45:16.754Z] [2023-03-25T04:45:16.754Z] Login Succeeded [2023-03-25T04:45:16.754Z] nexus3.edgexfoundry.org:10004 [2023-03-25T04:45:17.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:45:17.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:45:17.285Z] Configure a credential helper to remove this warning. See [2023-03-25T04:45:17.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:45:17.285Z] [2023-03-25T04:45:17.285Z] Login Succeeded [2023-03-25T04:45:17.285Z] docker.io [2023-03-25T04:45:17.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-25T04:45:17.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-25T04:45:17.551Z] Configure a credential helper to remove this warning. See [2023-03-25T04:45:17.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-25T04:45:17.551Z] [2023-03-25T04:45:17.551Z] Login Succeeded [2023-03-25T04:45:17.551Z] ---> docker-login.sh ends [Pipeline] } [2023-03-25T04:45:17.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-25T04:45:17.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-25T04:45:17.604Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-25T04:45:17.604Z] 63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:45:17.604Z] latest [2023-03-25T04:45:17.604Z] 3.0.0-dev.22 [2023-03-25T04:45:17.604Z] 63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:45:17.604Z] main [2023-03-25T04:45:17.604Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:17.929Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:18.267Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:45:18.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-25T04:45:18.267Z] 96f7c6e490b3: Preparing [2023-03-25T04:45:18.267Z] 8bca9c8824ed: Preparing [2023-03-25T04:45:18.267Z] b91b741bbd3f: Preparing [2023-03-25T04:45:18.267Z] b821d3aaa769: Preparing [2023-03-25T04:45:18.267Z] edf70074bd40: Preparing [2023-03-25T04:45:18.267Z] edf70074bd40: Layer already exists [2023-03-25T04:45:18.533Z] 8bca9c8824ed: Pushed [2023-03-25T04:45:18.533Z] b821d3aaa769: Pushed [2023-03-25T04:45:18.533Z] 96f7c6e490b3: Pushed [2023-03-25T04:45:23.961Z] b91b741bbd3f: Pushed [2023-03-25T04:45:23.961Z] 63f56b440389908500f57809a79af5893e194475: digest: sha256:f53b827d971adf1a7973fe220ace2f698ee39f4208575d0ea49f052dfb6098c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:24.320Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:24.663Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-25T04:45:24.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-25T04:45:24.663Z] 96f7c6e490b3: Preparing [2023-03-25T04:45:24.663Z] 8bca9c8824ed: Preparing [2023-03-25T04:45:24.663Z] b91b741bbd3f: Preparing [2023-03-25T04:45:24.663Z] b821d3aaa769: Preparing [2023-03-25T04:45:24.663Z] edf70074bd40: Preparing [2023-03-25T04:45:24.663Z] 96f7c6e490b3: Layer already exists [2023-03-25T04:45:24.663Z] edf70074bd40: Layer already exists [2023-03-25T04:45:24.663Z] b91b741bbd3f: Layer already exists [2023-03-25T04:45:24.663Z] b821d3aaa769: Layer already exists [2023-03-25T04:45:24.663Z] 8bca9c8824ed: Layer already exists [2023-03-25T04:45:24.663Z] latest: digest: sha256:f53b827d971adf1a7973fe220ace2f698ee39f4208575d0ea49f052dfb6098c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:24.994Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:25.325Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.22 [2023-03-25T04:45:25.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-25T04:45:25.326Z] 96f7c6e490b3: Preparing [2023-03-25T04:45:25.326Z] 8bca9c8824ed: Preparing [2023-03-25T04:45:25.326Z] b91b741bbd3f: Preparing [2023-03-25T04:45:25.326Z] b821d3aaa769: Preparing [2023-03-25T04:45:25.326Z] edf70074bd40: Preparing [2023-03-25T04:45:25.326Z] b91b741bbd3f: Layer already exists [2023-03-25T04:45:25.326Z] b821d3aaa769: Layer already exists [2023-03-25T04:45:25.326Z] 8bca9c8824ed: Layer already exists [2023-03-25T04:45:25.326Z] 96f7c6e490b3: Layer already exists [2023-03-25T04:45:25.326Z] edf70074bd40: Layer already exists [2023-03-25T04:45:25.326Z] 3.0.0-dev.22: digest: sha256:f53b827d971adf1a7973fe220ace2f698ee39f4208575d0ea49f052dfb6098c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:25.664Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:25.995Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:45:25.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-25T04:45:25.995Z] 96f7c6e490b3: Preparing [2023-03-25T04:45:25.995Z] 8bca9c8824ed: Preparing [2023-03-25T04:45:25.995Z] b91b741bbd3f: Preparing [2023-03-25T04:45:25.995Z] b821d3aaa769: Preparing [2023-03-25T04:45:25.995Z] edf70074bd40: Preparing [2023-03-25T04:45:25.995Z] 8bca9c8824ed: Layer already exists [2023-03-25T04:45:25.995Z] b91b741bbd3f: Layer already exists [2023-03-25T04:45:25.995Z] 96f7c6e490b3: Layer already exists [2023-03-25T04:45:25.995Z] b821d3aaa769: Layer already exists [2023-03-25T04:45:25.995Z] edf70074bd40: Layer already exists [2023-03-25T04:45:25.995Z] 63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22: digest: sha256:f53b827d971adf1a7973fe220ace2f698ee39f4208575d0ea49f052dfb6098c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:26.326Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:26.657Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-25T04:45:26.657Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-25T04:45:26.657Z] 96f7c6e490b3: Preparing [2023-03-25T04:45:26.657Z] 8bca9c8824ed: Preparing [2023-03-25T04:45:26.657Z] b91b741bbd3f: Preparing [2023-03-25T04:45:26.657Z] b821d3aaa769: Preparing [2023-03-25T04:45:26.657Z] edf70074bd40: Preparing [2023-03-25T04:45:26.657Z] b821d3aaa769: Layer already exists [2023-03-25T04:45:26.657Z] 8bca9c8824ed: Layer already exists [2023-03-25T04:45:26.657Z] 96f7c6e490b3: Layer already exists [2023-03-25T04:45:26.657Z] edf70074bd40: Layer already exists [2023-03-25T04:45:26.657Z] b91b741bbd3f: Layer already exists [2023-03-25T04:45:26.657Z] main: digest: sha256:f53b827d971adf1a7973fe220ace2f698ee39f4208575d0ea49f052dfb6098c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-25T04:45:26.710Z] ===================================================== [Pipeline] echo [2023-03-25T04:45:26.717Z] taggedImages: [2023-03-25T04:45:26.717Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475 [2023-03-25T04:45:26.717Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-25T04:45:26.717Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.22 [2023-03-25T04:45:26.717Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:63f56b440389908500f57809a79af5893e194475-3.0.0-dev.22 [2023-03-25T04:45:26.717Z] - 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-03-25T04:45:27.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-25T04:45:27.065Z] [2023-03-25T04:45:27.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:27.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-25T04:45:27.395Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-25T04:45:27.395Z] 8998bd30e6a1: Pulling fs layer [2023-03-25T04:45:27.395Z] 04944245beec: Pulling fs layer [2023-03-25T04:45:27.395Z] 699f458cf7ca: Pulling fs layer [2023-03-25T04:45:27.395Z] 765212b225bb: Pulling fs layer [2023-03-25T04:45:27.395Z] f23df028b6ca: Pulling fs layer [2023-03-25T04:45:27.395Z] d65c8cfc05b1: Pulling fs layer [2023-03-25T04:45:27.395Z] 2437ff75d9bd: Pulling fs layer [2023-03-25T04:45:27.395Z] 765212b225bb: Waiting [2023-03-25T04:45:27.395Z] f23df028b6ca: Waiting [2023-03-25T04:45:27.395Z] d65c8cfc05b1: Waiting [2023-03-25T04:45:27.395Z] 2437ff75d9bd: Waiting [2023-03-25T04:45:27.665Z] 04944245beec: Verifying Checksum [2023-03-25T04:45:27.665Z] 04944245beec: Download complete [2023-03-25T04:45:27.665Z] 765212b225bb: Verifying Checksum [2023-03-25T04:45:27.665Z] 765212b225bb: Download complete [2023-03-25T04:45:27.665Z] f23df028b6ca: Verifying Checksum [2023-03-25T04:45:27.665Z] f23df028b6ca: Download complete [2023-03-25T04:45:27.665Z] d65c8cfc05b1: Verifying Checksum [2023-03-25T04:45:27.665Z] d65c8cfc05b1: Download complete [2023-03-25T04:45:27.665Z] 699f458cf7ca: Verifying Checksum [2023-03-25T04:45:27.665Z] 699f458cf7ca: Download complete [2023-03-25T04:45:28.247Z] 8998bd30e6a1: Download complete [2023-03-25T04:45:30.184Z] 2437ff75d9bd: Verifying Checksum [2023-03-25T04:45:30.184Z] 2437ff75d9bd: Download complete [2023-03-25T04:45:31.588Z] 8998bd30e6a1: Pull complete [2023-03-25T04:45:32.172Z] 04944245beec: Pull complete [2023-03-25T04:45:33.132Z] 699f458cf7ca: Pull complete [2023-03-25T04:45:33.400Z] 765212b225bb: Pull complete [2023-03-25T04:45:33.983Z] f23df028b6ca: Pull complete [2023-03-25T04:45:34.249Z] d65c8cfc05b1: Pull complete [2023-03-25T04:45:46.545Z] 2437ff75d9bd: Pull complete [2023-03-25T04:45:46.545Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-25T04:45:46.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-25T04:45:46.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:45:46.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-5785 does not seem to be running inside a container [2023-03-25T04:45:46.794Z] $ 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/88 -v /w/workspace/device-modbus-go/88:/w/workspace/device-modbus-go/88:rw,z -v /w/workspace/device-modbus-go/88@tmp:/w/workspace/device-modbus-go/88@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-25T04:45:49.435Z] $ docker top ea1fd5b2b00150cc776a2a319bbb1ca35f4690ee9ec5768573f8e9a1249063f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:45:50.271Z] ---> job-cost.sh [2023-03-25T04:45:50.271Z] lf-activate-venv: SKIPPING [2023-03-25T04:45:50.271Z] INFO: No Stack... [2023-03-25T04:45:50.536Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-25T04:45:51.493Z] INFO: Archiving Costs [Pipeline] sh [2023-03-25T04:45:52.125Z] + cat /w/workspace/device-modbus-go/88/archives/cost.csv [2023-03-25T04:45:52.125Z] + cut -d, -f6 [Pipeline] lock [2023-03-25T04:45:52.185Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [2023-03-25T04:45:52.193Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] did not exist. Created. [2023-03-25T04:45:52.193Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-25T04:45:52.848Z] /w/workspace/device-modbus-go/88@tmp/durable-347365cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-25T04:45:53.184Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-25T04:45:53.208Z] Warning: overwriting stash ‘stack-cost’ [2023-03-25T04:45:53.260Z] Stashed 1 file(s) [Pipeline] } [2023-03-25T04:45:53.267Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-88-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-25T04:45:53.283Z] $ docker stop --time=1 ea1fd5b2b00150cc776a2a319bbb1ca35f4690ee9ec5768573f8e9a1249063f5 [2023-03-25T04:45:54.825Z] $ docker rm -f --volumes ea1fd5b2b00150cc776a2a319bbb1ca35f4690ee9ec5768573f8e9a1249063f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-25T04:45:55.184Z] provisioning config files... [2023-03-25T04:45:55.191Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16054710627794790972tmp [Pipeline] { [Pipeline] sh [2023-03-25T04:45:55.486Z] + set +x [2023-03-25T04:45:55.486Z] + + bash -s -- [2023-03-25T04:45:55.486Z] curl -s https://codecov.io/bash [2023-03-25T04:45:55.486Z] [2023-03-25T04:45:55.486Z] _____ _ [2023-03-25T04:45:55.486Z] / ____| | | [2023-03-25T04:45:55.486Z] | | ___ __| | ___ ___ _____ __ [2023-03-25T04:45:55.486Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-25T04:45:55.486Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-25T04:45:55.486Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-25T04:45:55.486Z] Bash-1.0.6 [2023-03-25T04:45:55.486Z] [2023-03-25T04:45:55.486Z] [2023-03-25T04:45:55.486Z] ==> git version 2.25.1 found [2023-03-25T04:45:55.486Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-25T04:45:55.486Z] Release-Date: 2020-01-08 [2023-03-25T04:45:55.486Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-25T04:45:55.486Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-25T04:45:55.486Z] ==> Jenkins CI detected. [2023-03-25T04:45:55.486Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-25T04:45:55.486Z] project root: . [2023-03-25T04:45:55.486Z] --> token set from env [2023-03-25T04:45:55.486Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-25T04:45:55.486Z] ==> Running gcov in . (disable via -X gcov) [2023-03-25T04:45:55.486Z] ==> Python coveragepy not found [2023-03-25T04:45:55.486Z] ==> Searching for coverage reports in: [2023-03-25T04:45:55.486Z] + . [2023-03-25T04:45:55.486Z] -> Found 1 reports [2023-03-25T04:45:55.486Z] ==> Detecting git/mercurial file structure [2023-03-25T04:45:55.486Z] ==> Reading reports [2023-03-25T04:45:55.486Z] + ./coverage.out bytes=23739 [2023-03-25T04:45:55.486Z] ==> Appending adjustments [2023-03-25T04:45:55.486Z] https://docs.codecov.io/docs/fixing-reports [2023-03-25T04:45:55.745Z] + Found adjustments [2023-03-25T04:45:55.745Z] ==> Gzipping contents [2023-03-25T04:45:55.745Z] 4.0K /tmp/codecov.iF1IrR.gz [2023-03-25T04:45:55.745Z] ==> Uploading reports [2023-03-25T04:45:55.745Z] url: https://codecov.io [2023-03-25T04:45:55.745Z] query: branch=main&commit=63f56b440389908500f57809a79af5893e194475&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-25T04:45:55.745Z] -> Pinging Codecov [2023-03-25T04:45:55.745Z] 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=63f56b440389908500f57809a79af5893e194475&build=88&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F88%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-25T04:45:56.004Z] -> Uploading to [2023-03-25T04:45:56.004Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-25/55DBCA73C666E3227836607328DD7E49/63f56b440389908500f57809a79af5893e194475/d324e488-b2bd-4d71-9b44-b0f8f6925e49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230325T044555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d082a88b94e9e44a7e84764c955dcf32ae44accb1bb33c817a28dd12c99b0a4a [2023-03-25T04:45:56.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-25T04:45:56.004Z] Dload Upload Total Spent Left Speed [2023-03-25T04:45:56.262Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 14780 --:--:-- --:--:-- --:--:-- 14836 [2023-03-25T04:45:56.262Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/63f56b440389908500f57809a79af5893e194475 [Pipeline] } [2023-03-25T04:45:56.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-25T04:45:56.457Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-25T04:45:56.467Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:56.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-25T04:45:56.761Z] [2023-03-25T04:45:56.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:45:57.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-25T04:45:57.063Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-25T04:45:57.063Z] df9b9388f04a: Pulling fs layer [2023-03-25T04:45:57.063Z] 52dc419b0ee2: Pulling fs layer [2023-03-25T04:45:57.063Z] 25bc292e5bac: Pulling fs layer [2023-03-25T04:45:57.063Z] 114826534d7a: Pulling fs layer [2023-03-25T04:45:57.063Z] 4657fd5d0bcf: Pulling fs layer [2023-03-25T04:45:57.063Z] 6ad1cebc031e: Pulling fs layer [2023-03-25T04:45:57.063Z] 8a3aa393b2d8: Pulling fs layer [2023-03-25T04:45:57.063Z] 8a3aa393b2d8: Waiting [2023-03-25T04:45:57.063Z] 6ad1cebc031e: Waiting [2023-03-25T04:45:57.063Z] 114826534d7a: Waiting [2023-03-25T04:45:57.063Z] 4657fd5d0bcf: Waiting [2023-03-25T04:45:57.063Z] 25bc292e5bac: Verifying Checksum [2023-03-25T04:45:57.063Z] 25bc292e5bac: Download complete [2023-03-25T04:45:57.063Z] 52dc419b0ee2: Download complete [2023-03-25T04:45:57.063Z] 4657fd5d0bcf: Verifying Checksum [2023-03-25T04:45:57.063Z] 4657fd5d0bcf: Download complete [2023-03-25T04:45:57.063Z] df9b9388f04a: Verifying Checksum [2023-03-25T04:45:57.063Z] df9b9388f04a: Download complete [2023-03-25T04:45:57.323Z] df9b9388f04a: Pull complete [2023-03-25T04:45:57.323Z] 6ad1cebc031e: Verifying Checksum [2023-03-25T04:45:57.323Z] 6ad1cebc031e: Download complete [2023-03-25T04:45:57.323Z] 52dc419b0ee2: Pull complete [2023-03-25T04:45:57.323Z] 25bc292e5bac: Pull complete [2023-03-25T04:45:57.894Z] 114826534d7a: Verifying Checksum [2023-03-25T04:45:57.894Z] 114826534d7a: Download complete [2023-03-25T04:45:57.894Z] 8a3aa393b2d8: Verifying Checksum [2023-03-25T04:45:57.894Z] 8a3aa393b2d8: Download complete [2023-03-25T04:46:01.174Z] 114826534d7a: Pull complete [2023-03-25T04:46:01.174Z] 4657fd5d0bcf: Pull complete [2023-03-25T04:46:01.432Z] 6ad1cebc031e: Pull complete [2023-03-25T04:46:03.958Z] 8a3aa393b2d8: Pull complete [2023-03-25T04:46:03.958Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-25T04:46:03.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-25T04:46:03.958Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:04.032Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:04.059Z] $ 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-03-25T04:46:05.793Z] $ docker top 3a7ea0bbcfeafda342e09fe195c5789cff06a9a68ee783566d0a9d95c4e40946 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-25T04:46:05.857Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-25T04:46:06.134Z] + set -o pipefail [2023-03-25T04:46:06.134Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/7cc0d8df-36a4-4465-a9f0-cf7971c02cc3 [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] [2023-03-25T04:46:11.399Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-25T04:46:11.399Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-25T04:46:11.399Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-25T04:46:11.408Z] $ docker stop --time=1 3a7ea0bbcfeafda342e09fe195c5789cff06a9a68ee783566d0a9d95c4e40946 [2023-03-25T04:46:13.403Z] $ docker rm -f --volumes 3a7ea0bbcfeafda342e09fe195c5789cff06a9a68ee783566d0a9d95c4e40946 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-25T04:46:14.060Z] + git log --format=format:%s -1 63f56b440389908500f57809a79af5893e194475 [Pipeline] sh [2023-03-25T04:46:14.350Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-25T04:46:14.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:14.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:46:14.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:14.726Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:14.755Z] $ 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-03-25T04:46:15.153Z] $ docker top 3bee6a7d9728544f3b7950acf53fa7d0add9281f96c752dea851464cb10f7a9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-25T04:46:15.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-25T04:46:15.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-25T04:46:15.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-25T04:46:15.350Z] $ docker exec 3bee6a7d9728544f3b7950acf53fa7d0add9281f96c752dea851464cb10f7a9b ssh-agent [2023-03-25T04:46:15.459Z] SSH_AUTH_SOCK=/tmp/ssh-9JFf9S1fbvCd/agent.33 [2023-03-25T04:46:15.459Z] SSH_AGENT_PID=39 [2023-03-25T04:46:15.464Z] Running ssh-add (command line suppressed) [2023-03-25T04:46:15.560Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8434023276116553995.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8434023276116553995.key) [2023-03-25T04:46:15.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-25T04:46:15.862Z] + git semver tag [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,047 [run_tag] DEBUG tag force:False [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,047 [check_head_tag] DEBUG check head tag [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,048 [execute] INFO git cat-file --batch-check [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,052 [execute] INFO git cat-file --batch [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,074 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,074 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,075 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-25T04:46:16.121Z] 2023-03-25 04:46:16,080 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:16.121Z] 3.0.0-dev.22 [Pipeline] } [2023-03-25T04:46:16.129Z] $ docker exec --env ******** --env ******** 3bee6a7d9728544f3b7950acf53fa7d0add9281f96c752dea851464cb10f7a9b ssh-agent -k [2023-03-25T04:46:16.237Z] unset SSH_AUTH_SOCK; [2023-03-25T04:46:16.237Z] unset SSH_AGENT_PID; [2023-03-25T04:46:16.237Z] echo Agent pid 39 killed; [2023-03-25T04:46:16.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-25T04:46:16.549Z] + git semver [Pipeline] } [2023-03-25T04:46:16.817Z] $ docker stop --time=1 3bee6a7d9728544f3b7950acf53fa7d0add9281f96c752dea851464cb10f7a9b [2023-03-25T04:46:18.105Z] $ docker rm -f --volumes 3bee6a7d9728544f3b7950acf53fa7d0add9281f96c752dea851464cb10f7a9b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:18.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-25T04:46:18.483Z] [2023-03-25T04:46:18.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:18.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-25T04:46:18.782Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-25T04:46:18.782Z] ab5ef0e58194: Pulling fs layer [2023-03-25T04:46:18.782Z] 9712f1f96733: Pulling fs layer [2023-03-25T04:46:18.782Z] 63f879dbbcfc: Pulling fs layer [2023-03-25T04:46:18.782Z] 0d9ebad4ef96: Pulling fs layer [2023-03-25T04:46:18.782Z] e9a5061849ea: Pulling fs layer [2023-03-25T04:46:18.782Z] 0d9ebad4ef96: Waiting [2023-03-25T04:46:18.782Z] d747dcd14b5f: Pulling fs layer [2023-03-25T04:46:18.782Z] 2de7ff778b66: Pulling fs layer [2023-03-25T04:46:18.782Z] e9a5061849ea: Waiting [2023-03-25T04:46:18.782Z] 2de7ff778b66: Waiting [2023-03-25T04:46:18.782Z] d747dcd14b5f: Waiting [2023-03-25T04:46:19.044Z] 9712f1f96733: Download complete [2023-03-25T04:46:19.305Z] 63f879dbbcfc: Verifying Checksum [2023-03-25T04:46:19.305Z] 63f879dbbcfc: Download complete [2023-03-25T04:46:19.563Z] e9a5061849ea: Verifying Checksum [2023-03-25T04:46:19.563Z] e9a5061849ea: Download complete [2023-03-25T04:46:19.563Z] d747dcd14b5f: Verifying Checksum [2023-03-25T04:46:19.563Z] d747dcd14b5f: Download complete [2023-03-25T04:46:19.563Z] 0d9ebad4ef96: Verifying Checksum [2023-03-25T04:46:19.563Z] 0d9ebad4ef96: Download complete [2023-03-25T04:46:19.563Z] ab5ef0e58194: Verifying Checksum [2023-03-25T04:46:19.563Z] ab5ef0e58194: Download complete [2023-03-25T04:46:19.563Z] 2de7ff778b66: Verifying Checksum [2023-03-25T04:46:19.563Z] 2de7ff778b66: Download complete [2023-03-25T04:46:22.095Z] ab5ef0e58194: Pull complete [2023-03-25T04:46:22.095Z] 9712f1f96733: Pull complete [2023-03-25T04:46:22.661Z] 63f879dbbcfc: Pull complete [2023-03-25T04:46:25.946Z] 0d9ebad4ef96: Pull complete [2023-03-25T04:46:25.946Z] e9a5061849ea: Pull complete [2023-03-25T04:46:26.216Z] d747dcd14b5f: Pull complete [2023-03-25T04:46:27.152Z] 2de7ff778b66: Pull complete [2023-03-25T04:46:27.152Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-25T04:46:27.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-25T04:46:27.152Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:27.239Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:27.267Z] $ 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-03-25T04:46:29.231Z] $ docker top 24e019e947c94e180c87aa04f84367ef89b6f1b3cd27c4c1700b7f9ee1838f8a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-25T04:46:29.295Z] provisioning config files... [2023-03-25T04:46:29.301Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17609284874612945209tmp [2023-03-25T04:46:29.310Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12301011151972915062tmp [2023-03-25T04:46:29.319Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18003307428308376672tmp [Pipeline] { [Pipeline] echo [2023-03-25T04:46:29.334Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:29.612Z] ---> sigul-configuration.sh [2023-03-25T04:46:29.613Z] gpg: directory `/root/.gnupg' created [2023-03-25T04:46:29.613Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-25T04:46:29.613Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-25T04:46:29.613Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-25T04:46:29.613Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-25T04:46:29.613Z] gpg: CAST5 encrypted data [2023-03-25T04:46:29.613Z] gpg: encrypted with 1 passphrase [2023-03-25T04:46:29.613Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-25T04:46:29.895Z] + mkdir /home/jenkins [2023-03-25T04:46:29.895Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-25T04:46:30.179Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-03-25T04:46:30.187Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:30.469Z] ---> sigul-install.sh [2023-03-25T04:46:30.469Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-25T04:46:30.761Z] + git tag --list [2023-03-25T04:46:30.761Z] 0.7.1 [2023-03-25T04:46:30.761Z] v1.0.0 [2023-03-25T04:46:30.761Z] v1.1.0 [2023-03-25T04:46:30.761Z] v1.1.1 [2023-03-25T04:46:30.761Z] v1.2.2 [2023-03-25T04:46:30.761Z] v1.3.0 [2023-03-25T04:46:30.761Z] v1.3.1 [2023-03-25T04:46:30.761Z] v2.0.0 [2023-03-25T04:46:30.761Z] v2.1.0 [2023-03-25T04:46:30.761Z] v2.1.1 [2023-03-25T04:46:30.761Z] v2.1.1-dev.1 [2023-03-25T04:46:30.761Z] v2.1.1-dev.2 [2023-03-25T04:46:30.761Z] v2.1.1-dev.3 [2023-03-25T04:46:30.761Z] v2.2.0 [2023-03-25T04:46:30.761Z] v2.2.1-dev.1 [2023-03-25T04:46:30.761Z] v2.2.1-dev.2 [2023-03-25T04:46:30.761Z] v2.2.1-dev.3 [2023-03-25T04:46:30.761Z] v2.2.1-dev.4 [2023-03-25T04:46:30.761Z] v2.2.1-dev.5 [2023-03-25T04:46:30.761Z] v2.2.1-dev.6 [2023-03-25T04:46:30.761Z] v2.2.1-dev.7 [2023-03-25T04:46:30.761Z] v2.3.0 [2023-03-25T04:46:30.761Z] v2.3.0-dev.10 [2023-03-25T04:46:30.761Z] v2.3.0-dev.11 [2023-03-25T04:46:30.762Z] v2.3.0-dev.12 [2023-03-25T04:46:30.762Z] v2.3.0-dev.13 [2023-03-25T04:46:30.762Z] v2.3.0-dev.14 [2023-03-25T04:46:30.762Z] v2.3.0-dev.15 [2023-03-25T04:46:30.762Z] v2.3.0-dev.16 [2023-03-25T04:46:30.762Z] v2.3.0-dev.17 [2023-03-25T04:46:30.762Z] v2.3.0-dev.18 [2023-03-25T04:46:30.762Z] v2.3.0-dev.19 [2023-03-25T04:46:30.762Z] v2.3.0-dev.20 [2023-03-25T04:46:30.762Z] v2.3.0-dev.21 [2023-03-25T04:46:30.762Z] v2.3.0-dev.22 [2023-03-25T04:46:30.762Z] v2.3.0-dev.23 [2023-03-25T04:46:30.762Z] v2.3.0-dev.24 [2023-03-25T04:46:30.762Z] v2.3.0-dev.25 [2023-03-25T04:46:30.762Z] v2.3.0-dev.7 [2023-03-25T04:46:30.762Z] v2.3.0-dev.8 [2023-03-25T04:46:30.762Z] v2.3.0-dev.9 [2023-03-25T04:46:30.762Z] v3.0.0-dev.1 [2023-03-25T04:46:30.762Z] v3.0.0-dev.10 [2023-03-25T04:46:30.762Z] v3.0.0-dev.11 [2023-03-25T04:46:30.762Z] v3.0.0-dev.12 [2023-03-25T04:46:30.762Z] v3.0.0-dev.13 [2023-03-25T04:46:30.762Z] v3.0.0-dev.14 [2023-03-25T04:46:30.762Z] v3.0.0-dev.15 [2023-03-25T04:46:30.762Z] v3.0.0-dev.16 [2023-03-25T04:46:30.762Z] v3.0.0-dev.17 [2023-03-25T04:46:30.762Z] v3.0.0-dev.18 [2023-03-25T04:46:30.762Z] v3.0.0-dev.19 [2023-03-25T04:46:30.762Z] v3.0.0-dev.2 [2023-03-25T04:46:30.762Z] v3.0.0-dev.20 [2023-03-25T04:46:30.762Z] v3.0.0-dev.21 [2023-03-25T04:46:30.762Z] v3.0.0-dev.22 [2023-03-25T04:46:30.762Z] v3.0.0-dev.3 [2023-03-25T04:46:30.762Z] v3.0.0-dev.4 [2023-03-25T04:46:30.762Z] v3.0.0-dev.5 [2023-03-25T04:46:30.762Z] v3.0.0-dev.6 [2023-03-25T04:46:30.762Z] v3.0.0-dev.7 [2023-03-25T04:46:30.762Z] v3.0.0-dev.8 [2023-03-25T04:46:30.762Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-25T04:46:31.051Z] + lftools sign git-tag v3.0.0-dev.22 [2023-03-25T04:46:31.621Z] Signing Git tag with Sigul... [2023-03-25T04:46:31.621Z] Signing v3.0.0-dev.22 [Pipeline] echo [2023-03-25T04:46:32.198Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:32.480Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-25T04:46:32.486Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-25T04:46:32.501Z] $ docker stop --time=1 24e019e947c94e180c87aa04f84367ef89b6f1b3cd27c4c1700b7f9ee1838f8a [2023-03-25T04:46:33.778Z] $ docker rm -f --volumes 24e019e947c94e180c87aa04f84367ef89b6f1b3cd27c4c1700b7f9ee1838f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-25T04:46:34.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-25T04:46:34.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:34.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:46:34.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:34.554Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:34.583Z] $ 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-03-25T04:46:34.909Z] $ docker top a1f1caf67ca87ab7e8a4a31ba09b804cbaf55a0e2931f3ae93c2d194003629b8 -eo pid,comm [2023-03-25T04:46:34.956Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-25T04:46:34.956Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-25T04:46:34.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-25T04:46:34.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-25T04:46:35.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-25T04:46:35.105Z] $ docker exec a1f1caf67ca87ab7e8a4a31ba09b804cbaf55a0e2931f3ae93c2d194003629b8 ssh-agent [2023-03-25T04:46:35.206Z] SSH_AUTH_SOCK=/tmp/ssh-6i3vuTC0Ibpx/agent.33 [2023-03-25T04:46:35.206Z] SSH_AGENT_PID=39 [2023-03-25T04:46:35.210Z] Running ssh-add (command line suppressed) [2023-03-25T04:46:35.306Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15022269127410346634.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15022269127410346634.key) [2023-03-25T04:46:35.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-25T04:46:35.605Z] + git semver bump pre [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,776 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,776 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,777 [bump_version] DEBUG bumped version:3.0.0-dev.23 [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,777 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,777 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,777 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,779 [execute] INFO git cat-file --batch-check [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,785 [execute] INFO git cat-file --batch [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-25T04:46:35.863Z] 2023-03-25 04:46:35,790 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:35.863Z] 3.0.0-dev.23 [Pipeline] } [2023-03-25T04:46:35.870Z] $ docker exec --env ******** --env ******** a1f1caf67ca87ab7e8a4a31ba09b804cbaf55a0e2931f3ae93c2d194003629b8 ssh-agent -k [2023-03-25T04:46:35.966Z] unset SSH_AUTH_SOCK; [2023-03-25T04:46:35.966Z] unset SSH_AGENT_PID; [2023-03-25T04:46:35.966Z] echo Agent pid 39 killed; [2023-03-25T04:46:35.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-25T04:46:36.278Z] + git semver [Pipeline] } [2023-03-25T04:46:36.548Z] $ docker stop --time=1 a1f1caf67ca87ab7e8a4a31ba09b804cbaf55a0e2931f3ae93c2d194003629b8 [2023-03-25T04:46:37.854Z] $ docker rm -f --volumes a1f1caf67ca87ab7e8a4a31ba09b804cbaf55a0e2931f3ae93c2d194003629b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-25T04:46:38.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-25T04:46:38.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:38.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-25T04:46:38.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:38.565Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:38.599Z] $ 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-03-25T04:46:38.967Z] $ docker top d3a3f4e72f7dbfee8cd0cd47e2111b944d65d56aa95d15f7adc4166e2392baf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-25T04:46:39.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-25T04:46:39.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-25T04:46:39.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-25T04:46:39.145Z] $ docker exec d3a3f4e72f7dbfee8cd0cd47e2111b944d65d56aa95d15f7adc4166e2392baf9 ssh-agent [2023-03-25T04:46:39.258Z] SSH_AUTH_SOCK=/tmp/ssh-UrYQQXMUq7IV/agent.32 [2023-03-25T04:46:39.258Z] SSH_AGENT_PID=39 [2023-03-25T04:46:39.263Z] Running ssh-add (command line suppressed) [2023-03-25T04:46:39.360Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15337793102514920787.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15337793102514920787.key) [2023-03-25T04:46:39.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-25T04:46:39.663Z] + git semver push [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,855 [run_push] DEBUG push [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,856 [execute] INFO git cat-file --batch-check [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,860 [execute] INFO git rev-list 1f5503a8eb1383a518fc5685ce3e4de9ab1d2b7c -- [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,861 [execute] DEBUG Popen(['git', 'rev-list', '1f5503a8eb1383a518fc5685ce3e4de9ab1d2b7c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,868 [execute] INFO git fetch -v origin [2023-03-25T04:46:39.923Z] 2023-03-25 04:46:39,868 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-25T04:46:40.491Z] 2023-03-25 04:46:40,346 [run_push] DEBUG no remote changes detected [2023-03-25T04:46:40.491Z] 2023-03-25 04:46:40,346 [execute] INFO git push origin semver [2023-03-25T04:46:40.491Z] 2023-03-25 04:46:40,347 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-25T04:46:41.430Z] 2023-03-25 04:46:41,082 [run_push] DEBUG push all version tags [2023-03-25T04:46:41.430Z] 2023-03-25 04:46:41,083 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-25T04:46:41.430Z] 2023-03-25 04:46:41,083 [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-03-25T04:46:41.999Z] 2023-03-25 04:46:41,796 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-25T04:46:41.999Z] 3.0.0-dev.23 [Pipeline] } [2023-03-25T04:46:42.007Z] $ docker exec --env ******** --env ******** d3a3f4e72f7dbfee8cd0cd47e2111b944d65d56aa95d15f7adc4166e2392baf9 ssh-agent -k [2023-03-25T04:46:42.116Z] unset SSH_AUTH_SOCK; [2023-03-25T04:46:42.116Z] unset SSH_AGENT_PID; [2023-03-25T04:46:42.116Z] echo Agent pid 39 killed; [2023-03-25T04:46:42.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-25T04:46:42.425Z] + git semver [Pipeline] } [2023-03-25T04:46:42.695Z] $ docker stop --time=1 d3a3f4e72f7dbfee8cd0cd47e2111b944d65d56aa95d15f7adc4166e2392baf9 [2023-03-25T04:46:43.988Z] $ docker rm -f --volumes d3a3f4e72f7dbfee8cd0cd47e2111b944d65d56aa95d15f7adc4166e2392baf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-25T04:46:44.536Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-25T04:46:44.536Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-25T04:46:44.536Z] total 16 [2023-03-25T04:46:44.536Z] drwxr-xr-x 3 root root 4096 Mar 25 04:37 . [2023-03-25T04:46:44.536Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 25 04:46 .. [2023-03-25T04:46:44.536Z] drwxr-xr-x 2 root root 4096 Mar 25 04:37 cost [2023-03-25T04:46:44.536Z] -rw-r--r-- 1 root root 87 Mar 25 04:37 cost.csv [2023-03-25T04:46:44.536Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-25T04:46:44.536Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-25T04:46:44.536Z] total 16 [2023-03-25T04:46:44.536Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 04:37 . [2023-03-25T04:46:44.536Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 25 04:46 .. [2023-03-25T04:46:44.536Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 25 04:37 cost [2023-03-25T04:46:44.536Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 25 04:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:44.825Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:45.681Z] ---> package-listing.sh [2023-03-25T04:46:45.681Z] ++ facter osfamily [2023-03-25T04:46:45.681Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-25T04:46:45.940Z] + OS_FAMILY=debian [2023-03-25T04:46:45.940Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-25T04:46:45.940Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-25T04:46:45.940Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-25T04:46:45.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-25T04:46:45.940Z] + PACKAGES=/tmp/packages_start.txt [2023-03-25T04:46:45.940Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-25T04:46:45.940Z] + PACKAGES=/tmp/packages_end.txt [2023-03-25T04:46:45.940Z] + case "${OS_FAMILY}" in [2023-03-25T04:46:45.940Z] + dpkg -l [2023-03-25T04:46:45.940Z] + grep '^ii' [2023-03-25T04:46:45.940Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-25T04:46:45.940Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-25T04:46:45.940Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-25T04:46:45.940Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-25T04:46:45.940Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-25T04:46:45.940Z] + 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-03-25T04:46:45.951Z] 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-03-25T04:46:46.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-25T04:46:46.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-25T04:46:46.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-25T04:46:46.857Z] prd-ubuntu20.04-docker-8c-8g-5782 does not seem to be running inside a container [2023-03-25T04:46:46.886Z] $ 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-03-25T04:46:47.100Z] $ docker top 3de7ad6e28c17daaaf96f9cfa95d26705a28e3fa9adb3506b817f3ef2c0a2cc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-25T04:46:47.445Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-25T04:46:47.759Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-25T04:46:48.079Z] + ls /var/log/sa-host [2023-03-25T04:46:48.079Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-25T04:46:48.236Z] provisioning config files... [2023-03-25T04:46:48.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18033577496145497526tmp [Pipeline] { [Pipeline] echo [2023-03-25T04:46:48.270Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:48.567Z] ---> create-netrc.sh [Pipeline] } [2023-03-25T04:46:48.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:48.908Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-25T04:46:48.916Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:49.195Z] ---> sudo-logs.sh [2023-03-25T04:46:49.196Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-25T04:46:49.218Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:49.500Z] ---> job-cost.sh [2023-03-25T04:46:49.500Z] lf-activate-venv: SKIPPING [2023-03-25T04:46:49.500Z] DEBUG: total: 0.2199999988079071 [2023-03-25T04:46:49.500Z] INFO: Retrieving Stack Cost... [2023-03-25T04:46:49.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-25T04:46:50.327Z] INFO: Archiving Costs [Pipeline] echo [2023-03-25T04:46:50.338Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-25T04:46:50.623Z] ---> logs-deploy.sh [2023-03-25T04:46:50.623Z] lf-activate-venv: SKIPPING [2023-03-25T04:46:50.623Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/88 [2023-03-25T04:46:50.623Z] INFO: archiving workspace using pattern(s): [2023-03-25T04:46:51.564Z] Archives upload complete. [2023-03-25T04:46:51.564Z] INFO: archiving logs to Nexus