Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 51bdb209bfe3268f564ccfe93ba09768b0d9e930 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-ssh7750679184535907139.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1793354276590017122.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17122976107674431523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6960437589073223305.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-ssh2627470221421204689.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6466 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 51bdb209bfe3268f564ccfe93ba09768b0d9e930 (main) Commit message: "Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > 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 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 > git rev-list --no-walk aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T03:16:11.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T03:16:11.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T03:16:11.417Z] ========================================================= [2023-09-19T03:16:11.417Z] EdgeX Global Pipelines Version Info [2023-09-19T03:16:11.417Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:16:12.127Z] ------------------- [2023-09-19T03:16:12.127Z] stable info: [2023-09-19T03:16:12.127Z] ------------------- [2023-09-19T03:16:12.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T03:16:12.127Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T03:16:12.127Z] Message: update stable to v1.0.254 [2023-09-19T03:16:12.696Z] ------------------- [2023-09-19T03:16:12.696Z] experimental info: [2023-09-19T03:16:12.696Z] ------------------- [2023-09-19T03:16:12.696Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T03:16:12.696Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T03:16:12.696Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T03:16:12.861Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-19T03:16:12.870Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-19T03:16:12.883Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T03:16:12.897Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T03:16:12.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T03:16:12.916Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T03:16:12.924Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T03:16:12.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T03:16:12.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T03:16:12.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T03:16:12.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T03:16:12.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-19T03:16:13.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T03:16:13.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T03:16:13.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T03:16:13.066Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T03:16:13.088Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T03:16:13.106Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T03:16:13.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T03:16:13.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T03:16:13.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T03:16:13.182Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T03:16:13.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T03:16:13.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T03:16:13.213Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T03:16:13.222Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T03:16:13.234Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T03:16:13.244Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-19T03:16:13.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-19T03:16:13.262Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-19T03:16:13.272Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo [2023-09-19T03:16:13.290Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51bdb20 [Pipeline] echo [2023-09-19T03:16:13.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:16:13.359Z] provisioning config files... [2023-09-19T03:16:13.371Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15056454000142928119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:16:13.668Z] ---> docker-login.sh [2023-09-19T03:16:13.668Z] nexus3.edgexfoundry.org:10001 [2023-09-19T03:16:13.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:13.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:13.929Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:13.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:13.929Z] [2023-09-19T03:16:13.929Z] Login Succeeded [2023-09-19T03:16:13.929Z] nexus3.edgexfoundry.org:10002 [2023-09-19T03:16:13.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:14.189Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:14.189Z] [2023-09-19T03:16:14.189Z] Login Succeeded [2023-09-19T03:16:14.189Z] nexus3.edgexfoundry.org:10003 [2023-09-19T03:16:14.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:14.189Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:14.189Z] [2023-09-19T03:16:14.189Z] Login Succeeded [2023-09-19T03:16:14.189Z] nexus3.edgexfoundry.org:10004 [2023-09-19T03:16:14.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:14.189Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:14.189Z] [2023-09-19T03:16:14.189Z] Login Succeeded [2023-09-19T03:16:14.189Z] docker.io [2023-09-19T03:16:14.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:14.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:14.707Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:14.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:14.707Z] [2023-09-19T03:16:14.707Z] Login Succeeded [2023-09-19T03:16:14.707Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T03:16:14.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T03:16:15.097Z] + git rev-list -1 --merges 51bdb209bfe3268f564ccfe93ba09768b0d9e930~1..51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo [2023-09-19T03:16:15.141Z] -----------> git rev-list -1 --merges 51bdb209bfe3268f564ccfe93ba09768b0d9e930~1..51bdb209bfe3268f564ccfe93ba09768b0d9e930 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:16:15.142Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [false] [Pipeline] sh [2023-09-19T03:16:15.432Z] + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo [2023-09-19T03:16:15.453Z] ========================================================= [2023-09-19T03:16:15.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T03:16:15.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T03:16:15.800Z] + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo [2023-09-19T03:16:15.810Z] [semverPrep] GIT_COMMIT: 51bdb209bfe3268f564ccfe93ba09768b0d9e930, Commit Message: Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo [2023-09-19T03:16:15.819Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T03:16:16.199Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T03:16:16.199Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T03:16:16.199Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T03:16:16.199Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T03:16:16.199Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T03:16:16.199Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T03:16:16.199Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:16:16.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:16:16.603Z] [2023-09-19T03:16:16.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:16:16.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:16:16.907Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T03:16:16.907Z] b85a868b505f: Pulling fs layer [2023-09-19T03:16:16.907Z] e2be974225ed: Pulling fs layer [2023-09-19T03:16:16.907Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T03:16:16.907Z] 988bab9f4d93: Pulling fs layer [2023-09-19T03:16:16.907Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T03:16:16.907Z] eaf3925da568: Pulling fs layer [2023-09-19T03:16:16.907Z] bab4dde63d76: Pulling fs layer [2023-09-19T03:16:16.907Z] bde34c3a00c8: Pulling fs layer [2023-09-19T03:16:16.907Z] b352a97aabf1: Pulling fs layer [2023-09-19T03:16:16.907Z] 4872d77fe225: Pulling fs layer [2023-09-19T03:16:16.907Z] 5851b861e8e6: Pulling fs layer [2023-09-19T03:16:16.907Z] 4872d77fe225: Waiting [2023-09-19T03:16:16.907Z] bde34c3a00c8: Waiting [2023-09-19T03:16:16.907Z] 988bab9f4d93: Waiting [2023-09-19T03:16:16.907Z] bab4dde63d76: Waiting [2023-09-19T03:16:16.907Z] 5851b861e8e6: Waiting [2023-09-19T03:16:16.907Z] 1469e6f7b9e6: Waiting [2023-09-19T03:16:16.908Z] b352a97aabf1: Waiting [2023-09-19T03:16:16.908Z] eaf3925da568: Waiting [2023-09-19T03:16:16.908Z] e2be974225ed: Download complete [2023-09-19T03:16:16.908Z] 988bab9f4d93: Verifying Checksum [2023-09-19T03:16:16.908Z] 988bab9f4d93: Download complete [2023-09-19T03:16:16.908Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T03:16:16.908Z] 1469e6f7b9e6: Download complete [2023-09-19T03:16:17.166Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T03:16:17.166Z] 339a4e72a1f5: Download complete [2023-09-19T03:16:17.166Z] eaf3925da568: Download complete [2023-09-19T03:16:17.166Z] bde34c3a00c8: Download complete [2023-09-19T03:16:17.166Z] b352a97aabf1: Download complete [2023-09-19T03:16:17.166Z] 4872d77fe225: Verifying Checksum [2023-09-19T03:16:17.166Z] 4872d77fe225: Download complete [2023-09-19T03:16:17.166Z] 5851b861e8e6: Download complete [2023-09-19T03:16:17.166Z] b85a868b505f: Verifying Checksum [2023-09-19T03:16:17.166Z] b85a868b505f: Download complete [2023-09-19T03:16:17.424Z] bab4dde63d76: Verifying Checksum [2023-09-19T03:16:17.424Z] bab4dde63d76: Download complete [2023-09-19T03:16:18.359Z] b85a868b505f: Pull complete [2023-09-19T03:16:18.359Z] e2be974225ed: Pull complete [2023-09-19T03:16:18.925Z] 339a4e72a1f5: Pull complete [2023-09-19T03:16:18.925Z] 988bab9f4d93: Pull complete [2023-09-19T03:16:19.183Z] 1469e6f7b9e6: Pull complete [2023-09-19T03:16:19.183Z] eaf3925da568: Pull complete [2023-09-19T03:16:21.085Z] bab4dde63d76: Pull complete [2023-09-19T03:16:21.085Z] bde34c3a00c8: Pull complete [2023-09-19T03:16:21.085Z] b352a97aabf1: Pull complete [2023-09-19T03:16:21.085Z] 4872d77fe225: Pull complete [2023-09-19T03:16:21.085Z] 5851b861e8e6: Pull complete [2023-09-19T03:16:21.085Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T03:16:21.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:16:21.085Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:16:21.183Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:16:21.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T03:16:24.362Z] $ docker top 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 -eo pid,comm [2023-09-19T03:16:24.411Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T03:16:24.411Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T03:16:24.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T03:16:24.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T03:16:24.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T03:16:24.570Z] $ docker exec 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent [2023-09-19T03:16:24.661Z] SSH_AUTH_SOCK=/tmp/ssh-ZKYdworhwYmS/agent.32 [2023-09-19T03:16:24.661Z] SSH_AGENT_PID=38 [2023-09-19T03:16:24.667Z] Running ssh-add (command line suppressed) [2023-09-19T03:16:24.775Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4436437441445226027.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4436437441445226027.key) [2023-09-19T03:16:24.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T03:16:25.071Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T03:16:25.093Z] $ docker exec --env ******** --env ******** 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent -k [2023-09-19T03:16:25.187Z] unset SSH_AUTH_SOCK; [2023-09-19T03:16:25.187Z] unset SSH_AGENT_PID; [2023-09-19T03:16:25.187Z] echo Agent pid 38 killed; [2023-09-19T03:16:25.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T03:16:25.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T03:16:25.218Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T03:16:25.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T03:16:25.350Z] $ docker exec 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent [2023-09-19T03:16:25.455Z] SSH_AUTH_SOCK=/tmp/ssh-8XHu3lyKVlK9/agent.72 [2023-09-19T03:16:25.455Z] SSH_AGENT_PID=79 [2023-09-19T03:16:25.460Z] Running ssh-add (command line suppressed) [2023-09-19T03:16:25.561Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3443101303609941499.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3443101303609941499.key) [2023-09-19T03:16:25.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T03:16:25.858Z] + git semver init [2023-09-19T03:16:26.118Z] 2023-09-19 03:16:26,041 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T03:16:26.118Z] 2023-09-19 03:16:26,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-19T03:16:26.118Z] 2023-09-19 03:16:26,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-19T03:16:26.118Z] 2023-09-19 03:16:26,043 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T03:16:27.057Z] 2023-09-19 03:16:26,907 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-19T03:16:27.057Z] 2023-09-19 03:16:26,908 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-19T03:16:27.057Z] 2023-09-19 03:16:26,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:16:27.057Z] 2023-09-19 03:16:26,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:16:27.057Z] 3.1.0-dev.10 [Pipeline] } [2023-09-19T03:16:27.071Z] $ docker exec --env ******** --env ******** 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent -k [2023-09-19T03:16:27.174Z] unset SSH_AUTH_SOCK; [2023-09-19T03:16:27.174Z] unset SSH_AGENT_PID; [2023-09-19T03:16:27.174Z] echo Agent pid 79 killed; [2023-09-19T03:16:27.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T03:16:27.491Z] + git semver [Pipeline] } [2023-09-19T03:16:27.764Z] $ docker stop --time=1 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 [2023-09-19T03:16:29.044Z] $ docker rm -f --volumes 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T03:16:29.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T03:16:29.575Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T03:16:29.578Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:16:29.717Z] provisioning config files... [2023-09-19T03:16:29.727Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15776696881290025931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:16:30.021Z] ---> docker-login.sh [2023-09-19T03:16:30.021Z] nexus3.edgexfoundry.org:10001 [2023-09-19T03:16:30.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:30.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:30.021Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:30.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:30.021Z] [2023-09-19T03:16:30.021Z] Login Succeeded [2023-09-19T03:16:30.021Z] nexus3.edgexfoundry.org:10002 [2023-09-19T03:16:30.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:30.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:30.021Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:30.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:30.021Z] [2023-09-19T03:16:30.021Z] Login Succeeded [2023-09-19T03:16:30.021Z] nexus3.edgexfoundry.org:10003 [2023-09-19T03:16:30.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:30.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:30.281Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:30.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:30.281Z] [2023-09-19T03:16:30.281Z] Login Succeeded [2023-09-19T03:16:30.281Z] nexus3.edgexfoundry.org:10004 [2023-09-19T03:16:30.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:30.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:30.281Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:30.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:30.281Z] [2023-09-19T03:16:30.281Z] Login Succeeded [2023-09-19T03:16:30.281Z] docker.io [2023-09-19T03:16:30.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:16:30.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:16:30.542Z] Configure a credential helper to remove this warning. See [2023-09-19T03:16:30.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:16:30.542Z] [2023-09-19T03:16:30.542Z] Login Succeeded [2023-09-19T03:16:30.542Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T03:16:30.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T03:16:30.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:16:30.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:16:30.678Z] ========================================================= [2023-09-19T03:16:30.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T03:16:30.678Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:16:30.989Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T03:16:30.989Z] Sending build context to Docker daemon 6.451MB [2023-09-19T03:16:30.989Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T03:16:30.989Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T03:16:30.989Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T03:16:30.989Z] 7264a8db6415: Pulling fs layer [2023-09-19T03:16:30.989Z] c4d48a809fc2: Pulling fs layer [2023-09-19T03:16:30.989Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T03:16:30.989Z] ad3a456e5733: Pulling fs layer [2023-09-19T03:16:30.989Z] 9e4f439ed901: Pulling fs layer [2023-09-19T03:16:30.989Z] feaf6a47b606: Pulling fs layer [2023-09-19T03:16:30.989Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T03:16:30.989Z] 8ac70367396e: Pulling fs layer [2023-09-19T03:16:30.989Z] 6db16350a2e2: Pulling fs layer [2023-09-19T03:16:30.989Z] 9250d5d63582: Pulling fs layer [2023-09-19T03:16:30.989Z] ad3a456e5733: Waiting [2023-09-19T03:16:30.989Z] 5e8b037d7d82: Waiting [2023-09-19T03:16:30.989Z] 9e4f439ed901: Waiting [2023-09-19T03:16:30.989Z] 8ac70367396e: Waiting [2023-09-19T03:16:30.989Z] feaf6a47b606: Waiting [2023-09-19T03:16:30.989Z] 6db16350a2e2: Waiting [2023-09-19T03:16:30.989Z] 9250d5d63582: Waiting [2023-09-19T03:16:30.989Z] c4d48a809fc2: Verifying Checksum [2023-09-19T03:16:30.989Z] c4d48a809fc2: Download complete [2023-09-19T03:16:30.989Z] ad3a456e5733: Verifying Checksum [2023-09-19T03:16:30.989Z] ad3a456e5733: Download complete [2023-09-19T03:16:30.989Z] 9e4f439ed901: Verifying Checksum [2023-09-19T03:16:30.989Z] 9e4f439ed901: Download complete [2023-09-19T03:16:30.989Z] 7264a8db6415: Verifying Checksum [2023-09-19T03:16:30.989Z] 7264a8db6415: Download complete [2023-09-19T03:16:31.248Z] feaf6a47b606: Verifying Checksum [2023-09-19T03:16:31.248Z] feaf6a47b606: Download complete [2023-09-19T03:16:31.248Z] 7264a8db6415: Pull complete [2023-09-19T03:16:31.506Z] c4d48a809fc2: Pull complete [2023-09-19T03:16:31.506Z] 8ac70367396e: Verifying Checksum [2023-09-19T03:16:31.506Z] 8ac70367396e: Download complete [2023-09-19T03:16:31.506Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T03:16:31.506Z] 4f1c88b9dad5: Download complete [2023-09-19T03:16:31.763Z] 6db16350a2e2: Verifying Checksum [2023-09-19T03:16:31.763Z] 6db16350a2e2: Download complete [2023-09-19T03:16:31.763Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T03:16:32.020Z] 9250d5d63582: Download complete [2023-09-19T03:16:34.589Z] 4f1c88b9dad5: Pull complete [2023-09-19T03:16:34.589Z] ad3a456e5733: Pull complete [2023-09-19T03:16:34.589Z] 9e4f439ed901: Pull complete [2023-09-19T03:16:34.589Z] feaf6a47b606: Pull complete [2023-09-19T03:16:36.977Z] 5e8b037d7d82: Pull complete [2023-09-19T03:16:37.236Z] 8ac70367396e: Pull complete [2023-09-19T03:16:37.494Z] 6db16350a2e2: Pull complete [2023-09-19T03:16:38.060Z] 9250d5d63582: Pull complete [2023-09-19T03:16:38.060Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T03:16:38.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T03:16:38.060Z] ---> fa269f55d9b9 [2023-09-19T03:16:38.060Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-19T03:16:42.245Z] ---> Running in 9ad2b1ca8132 [2023-09-19T03:16:42.245Z] Removing intermediate container 9ad2b1ca8132 [2023-09-19T03:16:42.245Z] ---> 3f0c676c637f [2023-09-19T03:16:42.245Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T03:16:42.504Z] ---> Running in b9faba9bc50b [2023-09-19T03:16:42.504Z] Removing intermediate container b9faba9bc50b [2023-09-19T03:16:42.504Z] ---> ed34c58f9545 [2023-09-19T03:16:42.504Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-19T03:16:42.504Z] ---> Running in 14134126b812 [2023-09-19T03:16:42.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T03:16:43.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T03:16:43.283Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-19T03:16:43.283Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-19T03:16:43.283Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-19T03:16:43.283Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T03:16:43.283Z] OK: 271 MiB in 64 packages [2023-09-19T03:16:43.851Z] Removing intermediate container 14134126b812 [2023-09-19T03:16:43.851Z] ---> 8f8eb8946d0f [2023-09-19T03:16:43.851Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-19T03:16:43.851Z] ---> Running in 565c36aa0cc6 [2023-09-19T03:16:43.851Z] Removing intermediate container 565c36aa0cc6 [2023-09-19T03:16:43.851Z] ---> ad6ff93a628f [2023-09-19T03:16:43.851Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T03:16:44.109Z] ---> e25e5205e883 [2023-09-19T03:16:44.109Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T03:16:44.109Z] ---> Running in ea1dfd53607d [2023-09-19T03:16:44.684Z] Still waiting to schedule task [2023-09-19T03:16:44.684Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-19T03:17:10.650Z] Removing intermediate container ea1dfd53607d [2023-09-19T03:17:10.650Z] ---> 5f6d7bd91084 [2023-09-19T03:17:10.650Z] Step 9/10 : COPY . . [2023-09-19T03:17:10.650Z] ---> 8730e493b652 [2023-09-19T03:17:10.650Z] Step 10/10 : RUN ${MAKE} [2023-09-19T03:17:10.650Z] ---> Running in c972bbb9c7ee [2023-09-19T03:17:10.650Z] noop [2023-09-19T03:17:10.650Z] Removing intermediate container c972bbb9c7ee [2023-09-19T03:17:10.650Z] ---> e94082564d89 [2023-09-19T03:17:10.650Z] Successfully built e94082564d89 [2023-09-19T03:17:10.650Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:17:10.968Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T03:17:10.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:17:11.035Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:17:11.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T03:17:11.418Z] $ docker top 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T03:17:11.751Z] + go version [2023-09-19T03:17:11.751Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T03:17:11.765Z] $ docker stop --time=1 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 [2023-09-19T03:17:13.026Z] $ docker rm -f --volumes 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:17:13.444Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T03:17:13.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:17:13.511Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:17:13.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T03:17:13.898Z] $ docker top bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T03:17:14.239Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-19T03:17:14.533Z] + make test [2023-09-19T03:17:14.533Z] go test ./... -coverprofile=coverage.out [2023-09-19T03:17:15.935Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-19T03:17:25.898Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-19T03:17:25.898Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-09-19T03:17:32.456Z] go vet ./... [2023-09-19T03:17:34.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T03:17:34.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T03:17:34.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T03:17:35.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T03:17:35.026Z] $ docker stop --time=1 bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 [2023-09-19T03:17:38.321Z] $ docker rm -f --volumes bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T03:17:38.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T03:17:38.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T03:17:39.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T03:17:39.768Z] + ls -al . [2023-09-19T03:17:39.768Z] total 192 [2023-09-19T03:17:39.768Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 03:17 . [2023-09-19T03:17:39.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:16 .. [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:16 .dockerignore [2023-09-19T03:17:39.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:17 .git [2023-09-19T03:17:39.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 .github [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:16 .gitignore [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:16 .golangci.yml [2023-09-19T03:17:39.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:16 .semver [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:16 Attribution.txt [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:16 CHANGELOG.md [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:16 Dockerfile [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:16 GOVERNANCE.md [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:16 Jenkinsfile [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:16 LICENSE [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:16 Makefile [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:16 OWNERS.md [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:16 README.md [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 03:16 VERSION [2023-09-19T03:17:39.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:16 bin [2023-09-19T03:17:39.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 cmd [2023-09-19T03:17:39.768Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:17 coverage.out [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:16 go.mod [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:16 go.sum [2023-09-19T03:17:39.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 internal [2023-09-19T03:17:39.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:16 simulator [2023-09-19T03:17:39.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:16 snap [2023-09-19T03:17:39.768Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:17:40.073Z] + 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=51bdb209bfe3268f564ccfe93ba09768b0d9e930 --label arch=amd64 --label version=3.1.0-dev.10 . [2023-09-19T03:17:40.073Z] Sending build context to Docker daemon 6.476MB [2023-09-19T03:17:40.073Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T03:17:40.073Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-19T03:17:40.073Z] ---> e94082564d89 [2023-09-19T03:17:40.073Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-19T03:17:40.331Z] ---> Running in c7f330fdac8d [2023-09-19T03:17:40.331Z] Removing intermediate container c7f330fdac8d [2023-09-19T03:17:40.331Z] ---> f14ec81e850f [2023-09-19T03:17:40.331Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T03:17:40.331Z] ---> Running in 5b6ae552a1f6 [2023-09-19T03:17:40.331Z] Removing intermediate container 5b6ae552a1f6 [2023-09-19T03:17:40.331Z] ---> a8f69bbc8ef8 [2023-09-19T03:17:40.331Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-19T03:17:40.331Z] ---> Running in 04a14200d97d [2023-09-19T03:17:40.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T03:17:40.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T03:17:40.848Z] OK: 271 MiB in 64 packages [2023-09-19T03:17:41.416Z] Removing intermediate container 04a14200d97d [2023-09-19T03:17:41.416Z] ---> 49ee14ab11f0 [2023-09-19T03:17:41.416Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-19T03:17:41.416Z] ---> Running in fb6c2e113750 [2023-09-19T03:17:41.416Z] Removing intermediate container fb6c2e113750 [2023-09-19T03:17:41.416Z] ---> 6d71b48e8a7a [2023-09-19T03:17:41.416Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-19T03:17:41.416Z] ---> 80bf4bf078d4 [2023-09-19T03:17:41.416Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T03:17:41.416Z] ---> Running in 08ae359e16c2 [2023-09-19T03:17:42.458Z] Removing intermediate container 08ae359e16c2 [2023-09-19T03:17:42.458Z] ---> 60f2bbe1ea7c [2023-09-19T03:17:42.458Z] Step 9/22 : COPY . . [2023-09-19T03:17:42.717Z] ---> a212cdc58a3d [2023-09-19T03:17:42.717Z] Step 10/22 : RUN ${MAKE} [2023-09-19T03:17:42.717Z] ---> Running in 753dba47a3c2 [2023-09-19T03:17:42.976Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-19T03:18:05.079Z] Removing intermediate container 753dba47a3c2 [2023-09-19T03:18:05.079Z] ---> 5b2dc3747488 [2023-09-19T03:18:05.079Z] Step 11/22 : FROM alpine:3.18 [2023-09-19T03:18:05.079Z] 3.18: Pulling from library/alpine [2023-09-19T03:18:05.079Z] 7264a8db6415: Already exists [2023-09-19T03:18:05.079Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T03:18:05.079Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T03:18:05.079Z] ---> 7e01a0d0a1dc [2023-09-19T03:18:05.079Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-19T03:18:05.079Z] ---> Running in 3812fafdd2e7 [2023-09-19T03:18:05.079Z] Removing intermediate container 3812fafdd2e7 [2023-09-19T03:18:05.079Z] ---> c17558ef5c13 [2023-09-19T03:18:05.079Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-19T03:18:05.079Z] ---> Running in dba5e349c17c [2023-09-19T03:18:05.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T03:18:05.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T03:18:05.079Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T03:18:05.079Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T03:18:05.079Z] OK: 7 MiB in 16 packages [2023-09-19T03:18:05.079Z] Removing intermediate container dba5e349c17c [2023-09-19T03:18:05.079Z] ---> fb65533e3941 [2023-09-19T03:18:05.079Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-19T03:18:05.079Z] ---> 5d4299230641 [2023-09-19T03:18:05.079Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-19T03:18:05.079Z] ---> 99b1b61c30f5 [2023-09-19T03:18:05.079Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-19T03:18:05.079Z] ---> 0b099b00526f [2023-09-19T03:18:05.079Z] Step 17/22 : EXPOSE 59901 [2023-09-19T03:18:05.079Z] ---> Running in 867d7333c2d3 [2023-09-19T03:18:05.080Z] Removing intermediate container 867d7333c2d3 [2023-09-19T03:18:05.080Z] ---> 1f0ed1b9ba4f [2023-09-19T03:18:05.080Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-19T03:18:05.080Z] ---> Running in 9c48f6feb058 [2023-09-19T03:18:05.080Z] Removing intermediate container 9c48f6feb058 [2023-09-19T03:18:05.080Z] ---> 7815d6920072 [2023-09-19T03:18:05.080Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T03:18:05.080Z] ---> Running in 1d6eb00cfa25 [2023-09-19T03:18:05.080Z] Removing intermediate container 1d6eb00cfa25 [2023-09-19T03:18:05.080Z] ---> 8a7e99f9c7d6 [2023-09-19T03:18:05.080Z] Step 20/22 : LABEL arch=amd64 [2023-09-19T03:18:05.080Z] ---> Running in 2449fd74acfe [2023-09-19T03:18:05.080Z] Removing intermediate container 2449fd74acfe [2023-09-19T03:18:05.080Z] ---> 8e96ab03708d [2023-09-19T03:18:05.080Z] Step 21/22 : LABEL git_sha=51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:18:05.080Z] ---> Running in 70ad84a13500 [2023-09-19T03:18:05.338Z] Removing intermediate container 70ad84a13500 [2023-09-19T03:18:05.338Z] ---> 98f8c9842e98 [2023-09-19T03:18:05.338Z] Step 22/22 : LABEL version=3.1.0-dev.10 [2023-09-19T03:18:05.338Z] ---> Running in e956cd243329 [2023-09-19T03:18:05.338Z] Removing intermediate container e956cd243329 [2023-09-19T03:18:05.338Z] ---> fe711d6905a2 [2023-09-19T03:18:05.338Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T03:18:05.338Z] Successfully built fe711d6905a2 [2023-09-19T03:18:05.338Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:18:05.446Z] provisioning config files... [2023-09-19T03:18:05.455Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11239247271092919713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:18:05.756Z] ---> docker-login.sh [2023-09-19T03:18:05.757Z] nexus3.edgexfoundry.org:10001 [2023-09-19T03:18:05.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:05.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:05.757Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:05.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:05.757Z] [2023-09-19T03:18:05.757Z] Login Succeeded [2023-09-19T03:18:05.757Z] nexus3.edgexfoundry.org:10002 [2023-09-19T03:18:05.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:05.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:05.757Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:05.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:05.757Z] [2023-09-19T03:18:05.757Z] Login Succeeded [2023-09-19T03:18:05.757Z] nexus3.edgexfoundry.org:10003 [2023-09-19T03:18:05.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:06.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:06.016Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:06.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:06.016Z] [2023-09-19T03:18:06.016Z] Login Succeeded [2023-09-19T03:18:06.016Z] nexus3.edgexfoundry.org:10004 [2023-09-19T03:18:06.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:06.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:06.016Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:06.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:06.016Z] [2023-09-19T03:18:06.016Z] Login Succeeded [2023-09-19T03:18:06.016Z] docker.io [2023-09-19T03:18:06.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:06.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:06.275Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:06.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:06.275Z] [2023-09-19T03:18:06.275Z] Login Succeeded [2023-09-19T03:18:06.275Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T03:18:06.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T03:18:06.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:18:06.331Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-19T03:18:06.331Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:18:06.331Z] latest [2023-09-19T03:18:06.331Z] 3.1.0-dev.10 [2023-09-19T03:18:06.331Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:18:06.331Z] main [2023-09-19T03:18:06.331Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:06.654Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:06.953Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:18:06.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-19T03:18:06.953Z] 0378d78c1c95: Preparing [2023-09-19T03:18:06.953Z] 5d97331c1207: Preparing [2023-09-19T03:18:06.953Z] 6acce4dfd5e3: Preparing [2023-09-19T03:18:06.953Z] 5fabe8fd5be2: Preparing [2023-09-19T03:18:06.953Z] 4693057ce236: Preparing [2023-09-19T03:18:06.953Z] 4693057ce236: Layer already exists [2023-09-19T03:18:06.953Z] 5fabe8fd5be2: Pushed [2023-09-19T03:18:06.953Z] 5d97331c1207: Pushed [2023-09-19T03:18:06.953Z] 0378d78c1c95: Pushed [2023-09-19T03:18:09.481Z] 6acce4dfd5e3: Pushed [2023-09-19T03:18:09.739Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:10.051Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:10.356Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-19T03:18:10.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-19T03:18:10.356Z] 0378d78c1c95: Preparing [2023-09-19T03:18:10.356Z] 5d97331c1207: Preparing [2023-09-19T03:18:10.356Z] 6acce4dfd5e3: Preparing [2023-09-19T03:18:10.356Z] 5fabe8fd5be2: Preparing [2023-09-19T03:18:10.356Z] 4693057ce236: Preparing [2023-09-19T03:18:10.356Z] 5d97331c1207: Layer already exists [2023-09-19T03:18:10.356Z] 5fabe8fd5be2: Layer already exists [2023-09-19T03:18:10.356Z] 0378d78c1c95: Layer already exists [2023-09-19T03:18:10.356Z] 4693057ce236: Layer already exists [2023-09-19T03:18:10.356Z] 6acce4dfd5e3: Layer already exists [2023-09-19T03:18:10.356Z] latest: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:10.660Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:10.969Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 [2023-09-19T03:18:10.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-19T03:18:10.969Z] 0378d78c1c95: Preparing [2023-09-19T03:18:10.969Z] 5d97331c1207: Preparing [2023-09-19T03:18:10.969Z] 6acce4dfd5e3: Preparing [2023-09-19T03:18:10.969Z] 5fabe8fd5be2: Preparing [2023-09-19T03:18:10.969Z] 4693057ce236: Preparing [2023-09-19T03:18:10.969Z] 0378d78c1c95: Layer already exists [2023-09-19T03:18:10.969Z] 5fabe8fd5be2: Layer already exists [2023-09-19T03:18:10.969Z] 6acce4dfd5e3: Layer already exists [2023-09-19T03:18:10.969Z] 4693057ce236: Layer already exists [2023-09-19T03:18:10.969Z] 5d97331c1207: Layer already exists [2023-09-19T03:18:10.969Z] 3.1.0-dev.10: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:11.276Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:11.588Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:18:11.588Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-19T03:18:11.588Z] 0378d78c1c95: Preparing [2023-09-19T03:18:11.588Z] 5d97331c1207: Preparing [2023-09-19T03:18:11.588Z] 6acce4dfd5e3: Preparing [2023-09-19T03:18:11.588Z] 5fabe8fd5be2: Preparing [2023-09-19T03:18:11.588Z] 4693057ce236: Preparing [2023-09-19T03:18:11.588Z] 0378d78c1c95: Layer already exists [2023-09-19T03:18:11.588Z] 6acce4dfd5e3: Layer already exists [2023-09-19T03:18:11.588Z] 5fabe8fd5be2: Layer already exists [2023-09-19T03:18:11.588Z] 5d97331c1207: Layer already exists [2023-09-19T03:18:11.588Z] 4693057ce236: Layer already exists [2023-09-19T03:18:11.588Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:11.913Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:12.222Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-19T03:18:12.222Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-19T03:18:12.222Z] 0378d78c1c95: Preparing [2023-09-19T03:18:12.222Z] 5d97331c1207: Preparing [2023-09-19T03:18:12.222Z] 6acce4dfd5e3: Preparing [2023-09-19T03:18:12.222Z] 5fabe8fd5be2: Preparing [2023-09-19T03:18:12.222Z] 4693057ce236: Preparing [2023-09-19T03:18:12.222Z] 5fabe8fd5be2: Layer already exists [2023-09-19T03:18:12.222Z] 0378d78c1c95: Layer already exists [2023-09-19T03:18:12.222Z] 6acce4dfd5e3: Layer already exists [2023-09-19T03:18:12.222Z] 4693057ce236: Layer already exists [2023-09-19T03:18:12.222Z] 5d97331c1207: Layer already exists [2023-09-19T03:18:12.222Z] main: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T03:18:12.262Z] ===================================================== [Pipeline] echo [2023-09-19T03:18:12.270Z] taggedImages: [2023-09-19T03:18:12.270Z] - nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:18:12.270Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-19T03:18:12.270Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 [2023-09-19T03:18:12.270Z] - nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:18:12.270Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:12.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T03:18:12.632Z] [2023-09-19T03:18:12.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:12.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T03:18:12.932Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T03:18:12.932Z] 5eb5b503b376: Pulling fs layer [2023-09-19T03:18:12.932Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T03:18:12.932Z] ec43610c2a17: Pulling fs layer [2023-09-19T03:18:12.932Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T03:18:12.932Z] 33b1e0a273af: Pulling fs layer [2023-09-19T03:18:12.932Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T03:18:12.932Z] 2f39f015ded8: Pulling fs layer [2023-09-19T03:18:12.932Z] 3a2ae6a8a46f: Waiting [2023-09-19T03:18:12.932Z] 5d3b04190fa2: Waiting [2023-09-19T03:18:12.932Z] 33b1e0a273af: Waiting [2023-09-19T03:18:12.932Z] 2f39f015ded8: Waiting [2023-09-19T03:18:12.932Z] 5c69ac0246d0: Verifying Checksum [2023-09-19T03:18:12.932Z] 5c69ac0246d0: Download complete [2023-09-19T03:18:12.932Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T03:18:12.932Z] 3a2ae6a8a46f: Download complete [2023-09-19T03:18:13.191Z] 33b1e0a273af: Verifying Checksum [2023-09-19T03:18:13.191Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T03:18:13.191Z] 5d3b04190fa2: Download complete [2023-09-19T03:18:13.191Z] ec43610c2a17: Verifying Checksum [2023-09-19T03:18:13.191Z] ec43610c2a17: Download complete [2023-09-19T03:18:13.191Z] 5eb5b503b376: Verifying Checksum [2023-09-19T03:18:13.191Z] 5eb5b503b376: Download complete [2023-09-19T03:18:13.757Z] 2f39f015ded8: Download complete [2023-09-19T03:18:14.694Z] 5eb5b503b376: Pull complete [2023-09-19T03:18:14.953Z] 5c69ac0246d0: Pull complete [2023-09-19T03:18:15.890Z] ec43610c2a17: Pull complete [2023-09-19T03:18:15.890Z] 3a2ae6a8a46f: Pull complete [2023-09-19T03:18:16.149Z] 33b1e0a273af: Pull complete [2023-09-19T03:18:16.149Z] 5d3b04190fa2: Pull complete [2023-09-19T03:18:18.107Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6468 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-19T03:18:18.118Z] Running in /w/workspace/device-modbus-go/124 [Pipeline] { [Pipeline] checkout [2023-09-19T03:18:18.147Z] Selected Git installation does not exist. Using Default [2023-09-19T03:18:18.147Z] The recommended git tool is: NONE [2023-09-19T03:18:20.334Z] 2f39f015ded8: Pull complete [2023-09-19T03:18:20.334Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T03:18:20.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T03:18:20.334Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:18:20.424Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:18:20.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T03:18:23.023Z] using credential edgex-jenkins-ssh [2023-09-19T03:18:23.041Z] Cloning the remote Git repository [2023-09-19T03:18:23.076Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-19T03:18:23.173Z] > git init /w/workspace/device-modbus-go/124 # timeout=10 [2023-09-19T03:18:23.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-19T03:18:23.305Z] > git --version # timeout=10 [2023-09-19T03:18:23.326Z] > git --version # 'git version 2.25.1' [2023-09-19T03:18:23.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T03:18:23.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T03:18:25.291Z] $ docker top 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:18:25.704Z] ---> job-cost.sh [2023-09-19T03:18:25.704Z] lf-activate-venv: SKIPPING [2023-09-19T03:18:25.704Z] INFO: No Stack... [2023-09-19T03:18:25.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T03:18:26.224Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T03:18:26.516Z] + cut -d, -f6 [2023-09-19T03:18:26.516Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock [2023-09-19T03:18:26.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [2023-09-19T03:18:26.533Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] did not exist. Created. [2023-09-19T03:18:26.533Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T03:18:26.840Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T03:18:26.863Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T03:18:26.870Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T03:18:26.893Z] $ docker stop --time=1 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 [2023-09-19T03:18:26.624Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-19T03:18:26.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T03:18:27.449Z] Avoid second fetch [2023-09-19T03:18:27.449Z] Checking out Revision 51bdb209bfe3268f564ccfe93ba09768b0d9e930 (main) [2023-09-19T03:18:27.986Z] Commit message: "Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" [2023-09-19T03:18:28.138Z] $ docker rm -f --volumes 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T03:18:28.286Z] [2023-09-19T03:18:28.286Z] GitHub has been notified of this commit’s build result [2023-09-19T03:18:28.286Z] [Pipeline] withEnv [Pipeline] { [2023-09-19T03:18:27.461Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T03:18:27.526Z] > git checkout -f 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T03:18:28.830Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T03:18:28.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T03:18:28.830Z] Dload Upload Total Spent Left Speed [2023-09-19T03:18:28.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-09-19T03:18:29.442Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T03:18:29.774Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T03:18:29.774Z] + sudo tee /etc/docker/daemon.new [2023-09-19T03:18:29.774Z] { [2023-09-19T03:18:29.774Z] "registry-mirrors": [ [2023-09-19T03:18:29.774Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T03:18:29.774Z] ], [2023-09-19T03:18:29.774Z] "bip": "10.250.0.254/24", [2023-09-19T03:18:29.774Z] "hosts": [ [2023-09-19T03:18:29.774Z] "tcp://0.0.0.0:5555", [2023-09-19T03:18:29.774Z] "unix:///var/run/docker.sock" [2023-09-19T03:18:29.774Z] ], [2023-09-19T03:18:29.774Z] "mtu": 1458, [2023-09-19T03:18:29.774Z] "selinux-enabled": true, [2023-09-19T03:18:29.774Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T03:18:29.774Z] } [Pipeline] sh [2023-09-19T03:18:30.102Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T03:18:30.428Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:18:48.684Z] provisioning config files... [2023-09-19T03:18:48.706Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/124@tmp/config10463828113386374203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:18:49.054Z] ---> docker-login.sh [2023-09-19T03:18:49.055Z] nexus3.edgexfoundry.org:10001 [2023-09-19T03:18:49.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:49.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:49.592Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:49.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:49.592Z] [2023-09-19T03:18:49.592Z] Login Succeeded [2023-09-19T03:18:49.592Z] nexus3.edgexfoundry.org:10002 [2023-09-19T03:18:49.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:49.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:49.862Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:49.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:49.862Z] [2023-09-19T03:18:49.862Z] Login Succeeded [2023-09-19T03:18:49.862Z] nexus3.edgexfoundry.org:10003 [2023-09-19T03:18:50.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:50.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:50.401Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:50.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:50.401Z] [2023-09-19T03:18:50.401Z] Login Succeeded [2023-09-19T03:18:50.401Z] nexus3.edgexfoundry.org:10004 [2023-09-19T03:18:50.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:50.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:50.672Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:50.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:50.672Z] [2023-09-19T03:18:50.672Z] Login Succeeded [2023-09-19T03:18:50.672Z] docker.io [2023-09-19T03:18:50.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:18:51.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:18:51.212Z] Configure a credential helper to remove this warning. See [2023-09-19T03:18:51.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:18:51.212Z] [2023-09-19T03:18:51.212Z] Login Succeeded [2023-09-19T03:18:51.212Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T03:18:51.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T03:18:51.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:18:51.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:18:51.491Z] ========================================================= [2023-09-19T03:18:51.491Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T03:18:51.491Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:18:51.842Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T03:18:52.114Z] Sending build context to Docker daemon 3.346MB [2023-09-19T03:18:52.114Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T03:18:52.114Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T03:18:54.059Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T03:18:54.059Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T03:18:54.059Z] 5d54e960e981: Pulling fs layer [2023-09-19T03:18:54.059Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T03:18:54.059Z] f0e02332f6b5: Pulling fs layer [2023-09-19T03:18:54.059Z] 66412af1f25a: Pulling fs layer [2023-09-19T03:18:54.059Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T03:18:54.059Z] 9a37bb91b891: Pulling fs layer [2023-09-19T03:18:54.059Z] a29adfc67d43: Pulling fs layer [2023-09-19T03:18:54.059Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T03:18:54.059Z] 1baf3a5c0e64: Waiting [2023-09-19T03:18:54.059Z] 9a37bb91b891: Waiting [2023-09-19T03:18:54.059Z] a29adfc67d43: Waiting [2023-09-19T03:18:54.059Z] d5de9f91c1a4: Waiting [2023-09-19T03:18:54.059Z] f0e02332f6b5: Waiting [2023-09-19T03:18:54.059Z] 66412af1f25a: Waiting [2023-09-19T03:18:54.059Z] 5d54e960e981: Verifying Checksum [2023-09-19T03:18:54.059Z] 5d54e960e981: Download complete [2023-09-19T03:18:54.059Z] f0e02332f6b5: Verifying Checksum [2023-09-19T03:18:54.059Z] f0e02332f6b5: Download complete [2023-09-19T03:18:54.059Z] 66412af1f25a: Verifying Checksum [2023-09-19T03:18:54.059Z] 66412af1f25a: Download complete [2023-09-19T03:18:54.059Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T03:18:54.059Z] 9fda8d8052c6: Download complete [2023-09-19T03:18:54.660Z] 9a37bb91b891: Verifying Checksum [2023-09-19T03:18:54.660Z] 9a37bb91b891: Download complete [2023-09-19T03:18:55.248Z] a29adfc67d43: Verifying Checksum [2023-09-19T03:18:55.248Z] a29adfc67d43: Download complete [2023-09-19T03:18:55.248Z] 9fda8d8052c6: Pull complete [2023-09-19T03:18:55.838Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T03:18:55.838Z] d5de9f91c1a4: Download complete [2023-09-19T03:18:55.838Z] 5d54e960e981: Pull complete [2023-09-19T03:18:56.117Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T03:18:56.117Z] c4a7e357bf2a: Download complete [2023-09-19T03:18:57.081Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T03:18:57.081Z] 1baf3a5c0e64: Download complete [2023-09-19T03:19:07.194Z] c4a7e357bf2a: Pull complete [2023-09-19T03:19:07.463Z] f0e02332f6b5: Pull complete [2023-09-19T03:19:07.463Z] 66412af1f25a: Pull complete [2023-09-19T03:19:15.721Z] 1baf3a5c0e64: Pull complete [2023-09-19T03:19:15.721Z] 9a37bb91b891: Pull complete [2023-09-19T03:19:17.138Z] a29adfc67d43: Pull complete [2023-09-19T03:19:20.481Z] d5de9f91c1a4: Pull complete [2023-09-19T03:19:20.481Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T03:19:20.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T03:19:20.481Z] ---> 746ca1b523b5 [2023-09-19T03:19:20.481Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-19T03:19:21.988Z] ---> Running in 704ab595b5f8 [2023-09-19T03:19:22.275Z] Removing intermediate container 704ab595b5f8 [2023-09-19T03:19:22.275Z] ---> 396ef555afa6 [2023-09-19T03:19:22.275Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T03:19:22.559Z] ---> Running in 7d1d8001cf24 [2023-09-19T03:19:22.831Z] Removing intermediate container 7d1d8001cf24 [2023-09-19T03:19:22.831Z] ---> 942ae824e098 [2023-09-19T03:19:22.831Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-19T03:19:22.831Z] ---> Running in f0b1972cb791 [2023-09-19T03:19:23.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T03:19:24.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T03:19:25.335Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-19T03:19:25.335Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-19T03:19:25.335Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-19T03:19:25.335Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T03:19:25.335Z] OK: 274 MiB in 64 packages [2023-09-19T03:19:26.745Z] Removing intermediate container f0b1972cb791 [2023-09-19T03:19:26.745Z] ---> 9bf833817375 [2023-09-19T03:19:26.745Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-19T03:19:26.745Z] ---> Running in 1525730e967f [2023-09-19T03:19:26.745Z] Removing intermediate container 1525730e967f [2023-09-19T03:19:26.745Z] ---> beabbcc6f5ba [2023-09-19T03:19:26.745Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T03:19:27.330Z] ---> 158668a1f88c [2023-09-19T03:19:27.330Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T03:19:27.330Z] ---> Running in 9ff7dd50ef02 [2023-09-19T03:20:35.211Z] Removing intermediate container 9ff7dd50ef02 [2023-09-19T03:20:35.211Z] ---> 0316a1b0a649 [2023-09-19T03:20:35.211Z] Step 9/10 : COPY . . [2023-09-19T03:20:35.211Z] ---> 8a102c91e8a4 [2023-09-19T03:20:35.211Z] Step 10/10 : RUN ${MAKE} [2023-09-19T03:20:35.211Z] ---> Running in 1903859528fe [2023-09-19T03:20:35.211Z] noop [2023-09-19T03:20:35.211Z] Removing intermediate container 1903859528fe [2023-09-19T03:20:35.211Z] ---> 10cd5ea7ff6d [2023-09-19T03:20:35.211Z] Successfully built 10cd5ea7ff6d [2023-09-19T03:20:35.211Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:20:35.569Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T03:20:35.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:20:35.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2023-09-19T03:20:35.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T03:20:37.019Z] $ docker top 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T03:20:37.850Z] + go version [2023-09-19T03:20:37.850Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T03:20:37.865Z] $ docker stop --time=1 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd [2023-09-19T03:20:41.233Z] $ docker rm -f --volumes 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:20:41.818Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T03:20:41.818Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:20:42.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2023-09-19T03:20:42.081Z] $ 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/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T03:20:43.319Z] $ docker top 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T03:20:43.841Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/124 [Pipeline] fileExists [Pipeline] sh [2023-09-19T03:20:44.506Z] + make test [2023-09-19T03:20:44.506Z] go test ./... -coverprofile=coverage.out [2023-09-19T03:20:48.762Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-19T03:22:25.415Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-19T03:22:25.415Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.9% of statements [2023-09-19T03:22:25.415Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T03:22:25.415Z] go vet ./... [2023-09-19T03:22:47.463Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T03:22:47.463Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T03:22:47.463Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T03:22:47.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T03:22:47.498Z] $ docker stop --time=1 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f [2023-09-19T03:22:49.255Z] $ docker rm -f --volumes 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T03:22:50.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T03:22:50.519Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T03:22:51.022Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T03:22:51.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T03:22:51.970Z] + ls -al . [2023-09-19T03:22:51.970Z] total 188 [2023-09-19T03:22:51.970Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 03:20 . [2023-09-19T03:22:51.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:18 .. [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:18 .dockerignore [2023-09-19T03:22:51.970Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:18 .git [2023-09-19T03:22:51.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 .github [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:18 .gitignore [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:18 .golangci.yml [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:18 Attribution.txt [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:18 CHANGELOG.md [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:18 Dockerfile [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:18 GOVERNANCE.md [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:18 Jenkinsfile [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:18 LICENSE [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:18 Makefile [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:18 OWNERS.md [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:18 README.md [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 03:16 VERSION [2023-09-19T03:22:51.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:18 bin [2023-09-19T03:22:51.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 cmd [2023-09-19T03:22:51.970Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:22 coverage.out [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:18 go.mod [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:18 go.sum [2023-09-19T03:22:51.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 internal [2023-09-19T03:22:51.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:18 simulator [2023-09-19T03:22:51.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:18 snap [2023-09-19T03:22:51.970Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:22:52.312Z] + 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=51bdb209bfe3268f564ccfe93ba09768b0d9e930 --label arch=arm64 --label version=3.1.0-dev.10 . [2023-09-19T03:22:52.581Z] Sending build context to Docker daemon 3.372MB [2023-09-19T03:22:52.581Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T03:22:52.581Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-19T03:22:52.581Z] ---> 10cd5ea7ff6d [2023-09-19T03:22:52.581Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-19T03:22:53.176Z] ---> Running in 1f528a53ab43 [2023-09-19T03:22:53.445Z] Removing intermediate container 1f528a53ab43 [2023-09-19T03:22:53.445Z] ---> 29a7b508a1fb [2023-09-19T03:22:53.445Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T03:22:53.445Z] ---> Running in b1a59ca7d485 [2023-09-19T03:22:53.731Z] Removing intermediate container b1a59ca7d485 [2023-09-19T03:22:53.731Z] ---> 7b860517e55f [2023-09-19T03:22:53.731Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-19T03:22:54.001Z] ---> Running in 073bf240307e [2023-09-19T03:22:56.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T03:22:57.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T03:22:58.125Z] OK: 274 MiB in 64 packages [2023-09-19T03:22:59.534Z] Removing intermediate container 073bf240307e [2023-09-19T03:22:59.534Z] ---> 34385934ec32 [2023-09-19T03:22:59.534Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-19T03:22:59.534Z] ---> Running in 9a1153cdfb5d [2023-09-19T03:22:59.801Z] Removing intermediate container 9a1153cdfb5d [2023-09-19T03:22:59.801Z] ---> 3c0cd3b4eb41 [2023-09-19T03:22:59.801Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-19T03:23:00.387Z] ---> fa0238b4c2cc [2023-09-19T03:23:00.387Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T03:23:00.387Z] ---> Running in a6b364e8a896 [2023-09-19T03:23:04.651Z] Removing intermediate container a6b364e8a896 [2023-09-19T03:23:04.651Z] ---> 6a789db5d042 [2023-09-19T03:23:04.651Z] Step 9/22 : COPY . . [2023-09-19T03:23:06.602Z] ---> 9ed2c98a359b [2023-09-19T03:23:06.602Z] Step 10/22 : RUN ${MAKE} [2023-09-19T03:23:06.602Z] ---> Running in b400ea88e72e [2023-09-19T03:23:08.017Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-19T03:24:59.745Z] Removing intermediate container b400ea88e72e [2023-09-19T03:24:59.745Z] ---> 5722eb806d6c [2023-09-19T03:24:59.745Z] Step 11/22 : FROM alpine:3.18 [2023-09-19T03:24:59.745Z] 3.18: Pulling from library/alpine [2023-09-19T03:24:59.745Z] 9fda8d8052c6: Already exists [2023-09-19T03:24:59.745Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T03:24:59.745Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T03:24:59.745Z] ---> f6648c04cd6c [2023-09-19T03:24:59.745Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-19T03:24:59.745Z] ---> Running in 56e22b65dbaa [2023-09-19T03:24:59.745Z] Removing intermediate container 56e22b65dbaa [2023-09-19T03:24:59.745Z] ---> eb5465acc027 [2023-09-19T03:24:59.745Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-19T03:24:59.745Z] ---> Running in f0eccb1bcdb0 [2023-09-19T03:24:59.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T03:24:59.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T03:24:59.745Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T03:24:59.745Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T03:24:59.745Z] OK: 8 MiB in 16 packages [2023-09-19T03:25:00.012Z] Removing intermediate container f0eccb1bcdb0 [2023-09-19T03:25:00.012Z] ---> 06a8c517baa3 [2023-09-19T03:25:00.012Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-19T03:25:01.419Z] ---> f6f25a7942d1 [2023-09-19T03:25:01.420Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-19T03:25:01.689Z] ---> 00ee7ac12c8f [2023-09-19T03:25:01.689Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-19T03:25:02.274Z] ---> 5480e200d5b7 [2023-09-19T03:25:02.274Z] Step 17/22 : EXPOSE 59901 [2023-09-19T03:25:02.274Z] ---> Running in 019b6e41d733 [2023-09-19T03:25:02.541Z] Removing intermediate container 019b6e41d733 [2023-09-19T03:25:02.541Z] ---> 74edaaca5d76 [2023-09-19T03:25:02.541Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-19T03:25:02.810Z] ---> Running in 048bfb7ec3ed [2023-09-19T03:25:02.810Z] Removing intermediate container 048bfb7ec3ed [2023-09-19T03:25:02.810Z] ---> 3b690c29772d [2023-09-19T03:25:02.810Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T03:25:03.076Z] ---> Running in f2c7d1d75719 [2023-09-19T03:25:03.342Z] Removing intermediate container f2c7d1d75719 [2023-09-19T03:25:03.342Z] ---> 520ea0b79852 [2023-09-19T03:25:03.342Z] Step 20/22 : LABEL arch=arm64 [2023-09-19T03:25:03.342Z] ---> Running in 89e1b3c1c3dc [2023-09-19T03:25:03.609Z] Removing intermediate container 89e1b3c1c3dc [2023-09-19T03:25:03.609Z] ---> 42512f9c27ce [2023-09-19T03:25:03.609Z] Step 21/22 : LABEL git_sha=51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:25:03.609Z] ---> Running in 8c920281c542 [2023-09-19T03:25:03.876Z] Removing intermediate container 8c920281c542 [2023-09-19T03:25:03.876Z] ---> 46138459f43b [2023-09-19T03:25:03.876Z] Step 22/22 : LABEL version=3.1.0-dev.10 [2023-09-19T03:25:04.144Z] ---> Running in 46702af3281d [2023-09-19T03:25:04.410Z] Removing intermediate container 46702af3281d [2023-09-19T03:25:04.410Z] ---> 86e5ef061fa7 [2023-09-19T03:25:04.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T03:25:04.410Z] Successfully built 86e5ef061fa7 [2023-09-19T03:25:04.410Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:25:04.516Z] provisioning config files... [2023-09-19T03:25:04.530Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/124@tmp/config2214458440800229082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:25:04.861Z] ---> docker-login.sh [2023-09-19T03:25:04.861Z] nexus3.edgexfoundry.org:10001 [2023-09-19T03:25:04.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:25:05.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:25:05.129Z] Configure a credential helper to remove this warning. See [2023-09-19T03:25:05.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:25:05.129Z] [2023-09-19T03:25:05.129Z] Login Succeeded [2023-09-19T03:25:05.129Z] nexus3.edgexfoundry.org:10002 [2023-09-19T03:25:05.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:25:05.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:25:05.397Z] Configure a credential helper to remove this warning. See [2023-09-19T03:25:05.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:25:05.397Z] [2023-09-19T03:25:05.397Z] Login Succeeded [2023-09-19T03:25:05.397Z] nexus3.edgexfoundry.org:10003 [2023-09-19T03:25:05.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:25:05.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:25:05.931Z] Configure a credential helper to remove this warning. See [2023-09-19T03:25:05.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:25:05.931Z] [2023-09-19T03:25:05.931Z] Login Succeeded [2023-09-19T03:25:05.931Z] nexus3.edgexfoundry.org:10004 [2023-09-19T03:25:05.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:25:06.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:25:06.200Z] Configure a credential helper to remove this warning. See [2023-09-19T03:25:06.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:25:06.200Z] [2023-09-19T03:25:06.200Z] Login Succeeded [2023-09-19T03:25:06.200Z] docker.io [2023-09-19T03:25:06.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T03:25:06.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T03:25:06.733Z] Configure a credential helper to remove this warning. See [2023-09-19T03:25:06.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T03:25:06.733Z] [2023-09-19T03:25:06.733Z] Login Succeeded [2023-09-19T03:25:06.733Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T03:25:06.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T03:25:06.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T03:25:06.813Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-19T03:25:06.813Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:25:06.813Z] latest [2023-09-19T03:25:06.813Z] 3.1.0-dev.10 [2023-09-19T03:25:06.813Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:25:06.813Z] main [2023-09-19T03:25:06.813Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:07.178Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:07.521Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:25:07.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-19T03:25:07.521Z] 6f0ef025ce85: Preparing [2023-09-19T03:25:07.521Z] 89a69713b7be: Preparing [2023-09-19T03:25:07.521Z] cb55026ab65a: Preparing [2023-09-19T03:25:07.521Z] 41e059b3e48d: Preparing [2023-09-19T03:25:07.521Z] b2191e2be29d: Preparing [2023-09-19T03:25:07.521Z] b2191e2be29d: Layer already exists [2023-09-19T03:25:07.787Z] 6f0ef025ce85: Pushed [2023-09-19T03:25:07.787Z] 89a69713b7be: Pushed [2023-09-19T03:25:07.787Z] 41e059b3e48d: Pushed [2023-09-19T03:25:14.422Z] cb55026ab65a: Pushed [2023-09-19T03:25:14.422Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:14.828Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:15.182Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-19T03:25:15.182Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-19T03:25:15.182Z] 6f0ef025ce85: Preparing [2023-09-19T03:25:15.182Z] 89a69713b7be: Preparing [2023-09-19T03:25:15.182Z] cb55026ab65a: Preparing [2023-09-19T03:25:15.182Z] 41e059b3e48d: Preparing [2023-09-19T03:25:15.182Z] b2191e2be29d: Preparing [2023-09-19T03:25:15.182Z] 41e059b3e48d: Layer already exists [2023-09-19T03:25:15.182Z] b2191e2be29d: Layer already exists [2023-09-19T03:25:15.182Z] 6f0ef025ce85: Layer already exists [2023-09-19T03:25:15.182Z] 89a69713b7be: Layer already exists [2023-09-19T03:25:15.182Z] cb55026ab65a: Layer already exists [2023-09-19T03:25:15.182Z] latest: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:15.534Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:15.879Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 [2023-09-19T03:25:15.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-19T03:25:15.879Z] 6f0ef025ce85: Preparing [2023-09-19T03:25:15.879Z] 89a69713b7be: Preparing [2023-09-19T03:25:15.879Z] cb55026ab65a: Preparing [2023-09-19T03:25:15.879Z] 41e059b3e48d: Preparing [2023-09-19T03:25:15.879Z] b2191e2be29d: Preparing [2023-09-19T03:25:15.879Z] cb55026ab65a: Layer already exists [2023-09-19T03:25:15.879Z] 89a69713b7be: Layer already exists [2023-09-19T03:25:15.879Z] 6f0ef025ce85: Layer already exists [2023-09-19T03:25:15.879Z] b2191e2be29d: Layer already exists [2023-09-19T03:25:15.879Z] 41e059b3e48d: Layer already exists [2023-09-19T03:25:15.879Z] 3.1.0-dev.10: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:16.498Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:16.834Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:25:16.834Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-19T03:25:16.834Z] 6f0ef025ce85: Preparing [2023-09-19T03:25:16.834Z] 89a69713b7be: Preparing [2023-09-19T03:25:16.834Z] cb55026ab65a: Preparing [2023-09-19T03:25:16.834Z] 41e059b3e48d: Preparing [2023-09-19T03:25:16.834Z] b2191e2be29d: Preparing [2023-09-19T03:25:16.834Z] 89a69713b7be: Layer already exists [2023-09-19T03:25:16.834Z] cb55026ab65a: Layer already exists [2023-09-19T03:25:16.834Z] 6f0ef025ce85: Layer already exists [2023-09-19T03:25:16.834Z] b2191e2be29d: Layer already exists [2023-09-19T03:25:16.834Z] 41e059b3e48d: Layer already exists [2023-09-19T03:25:16.834Z] 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:17.169Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:17.499Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-19T03:25:17.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-19T03:25:17.499Z] 6f0ef025ce85: Preparing [2023-09-19T03:25:17.499Z] 89a69713b7be: Preparing [2023-09-19T03:25:17.499Z] cb55026ab65a: Preparing [2023-09-19T03:25:17.499Z] 41e059b3e48d: Preparing [2023-09-19T03:25:17.499Z] b2191e2be29d: Preparing [2023-09-19T03:25:17.499Z] b2191e2be29d: Layer already exists [2023-09-19T03:25:17.499Z] 41e059b3e48d: Layer already exists [2023-09-19T03:25:17.499Z] 6f0ef025ce85: Layer already exists [2023-09-19T03:25:17.499Z] cb55026ab65a: Layer already exists [2023-09-19T03:25:17.499Z] 89a69713b7be: Layer already exists [2023-09-19T03:25:17.499Z] main: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-19T03:25:17.554Z] ===================================================== [Pipeline] echo [2023-09-19T03:25:17.564Z] taggedImages: [2023-09-19T03:25:17.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [2023-09-19T03:25:17.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-19T03:25:17.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 [2023-09-19T03:25:17.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [2023-09-19T03:25:17.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:17.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T03:25:17.930Z] [2023-09-19T03:25:17.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:18.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T03:25:18.267Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T03:25:18.267Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T03:25:18.267Z] 04944245beec: Pulling fs layer [2023-09-19T03:25:18.267Z] 699f458cf7ca: Pulling fs layer [2023-09-19T03:25:18.267Z] 765212b225bb: Pulling fs layer [2023-09-19T03:25:18.267Z] f23df028b6ca: Pulling fs layer [2023-09-19T03:25:18.267Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T03:25:18.267Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T03:25:18.267Z] 765212b225bb: Waiting [2023-09-19T03:25:18.267Z] f23df028b6ca: Waiting [2023-09-19T03:25:18.267Z] d65c8cfc05b1: Waiting [2023-09-19T03:25:18.267Z] 2437ff75d9bd: Waiting [2023-09-19T03:25:18.536Z] 04944245beec: Verifying Checksum [2023-09-19T03:25:18.536Z] 04944245beec: Download complete [2023-09-19T03:25:18.536Z] 765212b225bb: Verifying Checksum [2023-09-19T03:25:18.536Z] 765212b225bb: Download complete [2023-09-19T03:25:18.536Z] f23df028b6ca: Verifying Checksum [2023-09-19T03:25:18.536Z] f23df028b6ca: Download complete [2023-09-19T03:25:18.536Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T03:25:18.536Z] d65c8cfc05b1: Download complete [2023-09-19T03:25:18.805Z] 699f458cf7ca: Download complete [2023-09-19T03:25:19.072Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T03:25:19.072Z] 8998bd30e6a1: Download complete [2023-09-19T03:25:21.655Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T03:25:21.655Z] 2437ff75d9bd: Download complete [2023-09-19T03:25:23.063Z] 8998bd30e6a1: Pull complete [2023-09-19T03:25:23.330Z] 04944245beec: Pull complete [2023-09-19T03:25:24.736Z] 699f458cf7ca: Pull complete [2023-09-19T03:25:25.003Z] 765212b225bb: Pull complete [2023-09-19T03:25:25.587Z] f23df028b6ca: Pull complete [2023-09-19T03:25:25.855Z] d65c8cfc05b1: Pull complete [2023-09-19T03:25:40.857Z] 2437ff75d9bd: Pull complete [2023-09-19T03:25:40.857Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T03:25:40.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T03:25:40.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:25:41.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container [2023-09-19T03:25:41.102Z] $ 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/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T03:25:43.553Z] $ docker top afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:25:44.066Z] ---> job-cost.sh [2023-09-19T03:25:44.332Z] lf-activate-venv: SKIPPING [2023-09-19T03:25:44.332Z] INFO: No Stack... [2023-09-19T03:25:44.598Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T03:25:45.553Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T03:25:46.185Z] + cat /w/workspace/device-modbus-go/124/archives/cost.csv [2023-09-19T03:25:46.185Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T03:25:46.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [2023-09-19T03:25:46.257Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] did not exist. Created. [2023-09-19T03:25:46.258Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T03:25:46.596Z] /w/workspace/device-modbus-go/124@tmp/durable-262fbdc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T03:25:47.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T03:25:47.268Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T03:25:47.324Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T03:25:47.331Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T03:25:47.349Z] $ docker stop --time=1 afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda [2023-09-19T03:25:48.816Z] $ docker rm -f --volumes afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-19T03:25:50.281Z] provisioning config files... [2023-09-19T03:25:50.287Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13359503999561165248tmp [Pipeline] { [Pipeline] sh [2023-09-19T03:25:50.583Z] + set +x [2023-09-19T03:25:50.583Z] + curl -s https://codecov.io/bash [2023-09-19T03:25:50.583Z] + bash -s -- [2023-09-19T03:25:50.583Z] [2023-09-19T03:25:50.583Z] _____ _ [2023-09-19T03:25:50.583Z] / ____| | | [2023-09-19T03:25:50.583Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T03:25:50.583Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T03:25:50.583Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T03:25:50.583Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T03:25:50.583Z] Bash-1.0.6 [2023-09-19T03:25:50.583Z] [2023-09-19T03:25:50.583Z] [2023-09-19T03:25:50.583Z] ==> git version 2.25.1 found [2023-09-19T03:25:50.583Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-19T03:25:50.583Z] Release-Date: 2020-01-08 [2023-09-19T03:25:50.583Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T03:25:50.583Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T03:25:50.583Z] ==> Jenkins CI detected. [2023-09-19T03:25:50.583Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-19T03:25:50.583Z] project root: . [2023-09-19T03:25:50.583Z] --> token set from env [2023-09-19T03:25:50.583Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T03:25:50.583Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T03:25:50.583Z] ==> Python coveragepy not found [2023-09-19T03:25:50.583Z] ==> Searching for coverage reports in: [2023-09-19T03:25:50.583Z] + . [2023-09-19T03:25:50.583Z] -> Found 1 reports [2023-09-19T03:25:50.583Z] ==> Detecting git/mercurial file structure [2023-09-19T03:25:50.583Z] ==> Reading reports [2023-09-19T03:25:50.583Z] + ./coverage.out bytes=24334 [2023-09-19T03:25:50.583Z] ==> Appending adjustments [2023-09-19T03:25:50.583Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T03:25:50.842Z] + Found adjustments [2023-09-19T03:25:50.842Z] ==> Gzipping contents [2023-09-19T03:25:50.842Z] 4.0K /tmp/codecov.YDlfCy.gz [2023-09-19T03:25:50.842Z] ==> Uploading reports [2023-09-19T03:25:50.842Z] url: https://codecov.io [2023-09-19T03:25:50.842Z] query: branch=main&commit=51bdb209bfe3268f564ccfe93ba09768b0d9e930&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T03:25:50.842Z] -> Pinging Codecov [2023-09-19T03:25:50.842Z] 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=51bdb209bfe3268f564ccfe93ba09768b0d9e930&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T03:25:50.842Z] -> Uploading to [2023-09-19T03:25:50.842Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/55DBCA73C666E3227836607328DD7E49/51bdb209bfe3268f564ccfe93ba09768b0d9e930/c09327e6-8fe5-4ebd-96d6-3bcd9743eacc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T032550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91a8b988c1e885a26e6d8cf8e28bca2f4967e515518171e2645c982bf1e71b86 [2023-09-19T03:25:50.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T03:25:50.842Z] Dload Upload Total Spent Left Speed [2023-09-19T03:25:51.105Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21138 --:--:-- --:--:-- --:--:-- 21251 [2023-09-19T03:25:51.105Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } [2023-09-19T03:25:51.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-19T03:25:51.297Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-19T03:25:51.305Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:51.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T03:25:51.600Z] [2023-09-19T03:25:51.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:25:51.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T03:25:51.896Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-19T03:25:51.896Z] df9b9388f04a: Pulling fs layer [2023-09-19T03:25:51.896Z] 52dc419b0ee2: Pulling fs layer [2023-09-19T03:25:51.896Z] 25bc292e5bac: Pulling fs layer [2023-09-19T03:25:51.896Z] 114826534d7a: Pulling fs layer [2023-09-19T03:25:51.896Z] 4657fd5d0bcf: Pulling fs layer [2023-09-19T03:25:51.896Z] 6ad1cebc031e: Pulling fs layer [2023-09-19T03:25:51.896Z] 8a3aa393b2d8: Pulling fs layer [2023-09-19T03:25:51.896Z] 4657fd5d0bcf: Waiting [2023-09-19T03:25:51.896Z] 6ad1cebc031e: Waiting [2023-09-19T03:25:51.896Z] 8a3aa393b2d8: Waiting [2023-09-19T03:25:51.896Z] 114826534d7a: Waiting [2023-09-19T03:25:51.896Z] 25bc292e5bac: Verifying Checksum [2023-09-19T03:25:51.896Z] 25bc292e5bac: Download complete [2023-09-19T03:25:51.896Z] 52dc419b0ee2: Verifying Checksum [2023-09-19T03:25:51.896Z] 52dc419b0ee2: Download complete [2023-09-19T03:25:51.896Z] 4657fd5d0bcf: Verifying Checksum [2023-09-19T03:25:51.896Z] 4657fd5d0bcf: Download complete [2023-09-19T03:25:51.896Z] df9b9388f04a: Download complete [2023-09-19T03:25:52.153Z] 6ad1cebc031e: Verifying Checksum [2023-09-19T03:25:52.153Z] 6ad1cebc031e: Download complete [2023-09-19T03:25:52.153Z] df9b9388f04a: Pull complete [2023-09-19T03:25:52.153Z] 52dc419b0ee2: Pull complete [2023-09-19T03:25:52.153Z] 25bc292e5bac: Pull complete [2023-09-19T03:25:52.721Z] 114826534d7a: Verifying Checksum [2023-09-19T03:25:52.721Z] 114826534d7a: Download complete [2023-09-19T03:25:52.721Z] 8a3aa393b2d8: Verifying Checksum [2023-09-19T03:25:52.721Z] 8a3aa393b2d8: Download complete [2023-09-19T03:25:56.001Z] 114826534d7a: Pull complete [2023-09-19T03:25:56.001Z] 4657fd5d0bcf: Pull complete [2023-09-19T03:25:56.259Z] 6ad1cebc031e: Pull complete [2023-09-19T03:25:58.785Z] 8a3aa393b2d8: Pull complete [2023-09-19T03:25:58.785Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-19T03:25:58.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T03:25:58.785Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:25:58.872Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:25:58.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-19T03:26:03.416Z] $ docker top afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-19T03:26:03.478Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-19T03:26:03.757Z] + set -o pipefail [2023-09-19T03:26:03.757Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/7ceb003e-4e63-453d-a618-911074f6e135 [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] [2023-09-19T03:26:09.031Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-19T03:26:09.031Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-19T03:26:09.031Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-19T03:26:09.040Z] $ docker stop --time=1 afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef [2023-09-19T03:26:12.386Z] $ docker rm -f --volumes afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T03:26:13.101Z] + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] sh [2023-09-19T03:26:13.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T03:26:13.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:13.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:26:13.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:26:13.778Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:26:13.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T03:26:14.242Z] $ docker top be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 -eo pid,comm [2023-09-19T03:26:14.288Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T03:26:14.288Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T03:26:14.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T03:26:14.321Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T03:26:14.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T03:26:14.430Z] $ docker exec be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 ssh-agent [2023-09-19T03:26:14.549Z] SSH_AUTH_SOCK=/tmp/ssh-BsBGGxhApotW/agent.32 [2023-09-19T03:26:14.549Z] SSH_AGENT_PID=38 [2023-09-19T03:26:14.554Z] Running ssh-add (command line suppressed) [2023-09-19T03:26:14.655Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17790596990562166486.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17790596990562166486.key) [2023-09-19T03:26:14.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T03:26:14.954Z] + git semver tag [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,101 [run_tag] DEBUG tag force:False [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,101 [check_head_tag] DEBUG check head tag [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,101 [execute] INFO git cat-file --batch-check [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,104 [execute] INFO git cat-file --batch [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,115 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,115 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T03:26:15.214Z] 2023-09-19 03:26:15,118 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:15.214Z] 3.1.0-dev.10 [Pipeline] } [2023-09-19T03:26:15.220Z] $ docker exec --env ******** --env ******** be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 ssh-agent -k [2023-09-19T03:26:15.302Z] unset SSH_AUTH_SOCK; [2023-09-19T03:26:15.303Z] unset SSH_AGENT_PID; [2023-09-19T03:26:15.303Z] echo Agent pid 38 killed; [2023-09-19T03:26:15.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T03:26:15.624Z] + git semver [Pipeline] } [2023-09-19T03:26:15.892Z] $ docker stop --time=1 be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 [2023-09-19T03:26:17.160Z] $ docker rm -f --volumes be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:17.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T03:26:17.560Z] [2023-09-19T03:26:17.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:17.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T03:26:17.862Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-19T03:26:17.862Z] ab5ef0e58194: Pulling fs layer [2023-09-19T03:26:17.862Z] 9712f1f96733: Pulling fs layer [2023-09-19T03:26:17.862Z] 63f879dbbcfc: Pulling fs layer [2023-09-19T03:26:17.862Z] 0d9ebad4ef96: Pulling fs layer [2023-09-19T03:26:17.862Z] e9a5061849ea: Pulling fs layer [2023-09-19T03:26:17.862Z] d747dcd14b5f: Pulling fs layer [2023-09-19T03:26:17.862Z] 2de7ff778b66: Pulling fs layer [2023-09-19T03:26:17.862Z] 0d9ebad4ef96: Waiting [2023-09-19T03:26:17.862Z] d747dcd14b5f: Waiting [2023-09-19T03:26:17.862Z] 2de7ff778b66: Waiting [2023-09-19T03:26:17.862Z] e9a5061849ea: Waiting [2023-09-19T03:26:17.862Z] 9712f1f96733: Verifying Checksum [2023-09-19T03:26:17.862Z] 9712f1f96733: Download complete [2023-09-19T03:26:18.121Z] 63f879dbbcfc: Verifying Checksum [2023-09-19T03:26:18.121Z] 63f879dbbcfc: Download complete [2023-09-19T03:26:18.379Z] e9a5061849ea: Verifying Checksum [2023-09-19T03:26:18.379Z] e9a5061849ea: Download complete [2023-09-19T03:26:18.379Z] d747dcd14b5f: Verifying Checksum [2023-09-19T03:26:18.379Z] d747dcd14b5f: Download complete [2023-09-19T03:26:18.379Z] ab5ef0e58194: Verifying Checksum [2023-09-19T03:26:18.379Z] ab5ef0e58194: Download complete [2023-09-19T03:26:18.379Z] 0d9ebad4ef96: Verifying Checksum [2023-09-19T03:26:18.379Z] 0d9ebad4ef96: Download complete [2023-09-19T03:26:18.379Z] 2de7ff778b66: Verifying Checksum [2023-09-19T03:26:18.379Z] 2de7ff778b66: Download complete [2023-09-19T03:26:20.904Z] ab5ef0e58194: Pull complete [2023-09-19T03:26:20.904Z] 9712f1f96733: Pull complete [2023-09-19T03:26:21.836Z] 63f879dbbcfc: Pull complete [2023-09-19T03:26:26.019Z] 0d9ebad4ef96: Pull complete [2023-09-19T03:26:26.019Z] e9a5061849ea: Pull complete [2023-09-19T03:26:26.019Z] d747dcd14b5f: Pull complete [2023-09-19T03:26:26.585Z] 2de7ff778b66: Pull complete [2023-09-19T03:26:26.585Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-19T03:26:26.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T03:26:26.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:26:26.661Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:26:26.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-19T03:26:31.166Z] $ docker top 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:26:31.236Z] provisioning config files... [2023-09-19T03:26:31.241Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3384646506145864602tmp [2023-09-19T03:26:31.250Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8480297513667934326tmp [2023-09-19T03:26:31.259Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7891499716684346239tmp [Pipeline] { [Pipeline] echo [2023-09-19T03:26:31.270Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:31.549Z] ---> sigul-configuration.sh [2023-09-19T03:26:31.549Z] gpg: directory `/root/.gnupg' created [2023-09-19T03:26:31.549Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-19T03:26:31.549Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-19T03:26:31.549Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-19T03:26:31.549Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-19T03:26:31.549Z] gpg: CAST5 encrypted data [2023-09-19T03:26:31.549Z] gpg: encrypted with 1 passphrase [2023-09-19T03:26:31.549Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-19T03:26:31.835Z] + mkdir /home/jenkins [2023-09-19T03:26:31.835Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-19T03:26:32.117Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-19T03:26:32.125Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:32.405Z] ---> sigul-install.sh [2023-09-19T03:26:32.405Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-19T03:26:32.688Z] + git tag --list [2023-09-19T03:26:32.688Z] 0.7.1 [2023-09-19T03:26:32.688Z] v1.0.0 [2023-09-19T03:26:32.688Z] v1.1.0 [2023-09-19T03:26:32.688Z] v1.1.1 [2023-09-19T03:26:32.688Z] v1.2.2 [2023-09-19T03:26:32.688Z] v1.3.0 [2023-09-19T03:26:32.688Z] v1.3.1 [2023-09-19T03:26:32.688Z] v2.0.0 [2023-09-19T03:26:32.688Z] v2.1.0 [2023-09-19T03:26:32.688Z] v2.1.1 [2023-09-19T03:26:32.688Z] v2.2.0 [2023-09-19T03:26:32.688Z] v2.3.0 [2023-09-19T03:26:32.688Z] v3.0 [2023-09-19T03:26:32.688Z] v3.0.0 [2023-09-19T03:26:32.688Z] v3.1.0-dev.1 [2023-09-19T03:26:32.688Z] v3.1.0-dev.10 [2023-09-19T03:26:32.688Z] v3.1.0-dev.2 [2023-09-19T03:26:32.688Z] v3.1.0-dev.3 [2023-09-19T03:26:32.688Z] v3.1.0-dev.4 [2023-09-19T03:26:32.688Z] v3.1.0-dev.5 [2023-09-19T03:26:32.688Z] v3.1.0-dev.6 [2023-09-19T03:26:32.688Z] v3.1.0-dev.7 [2023-09-19T03:26:32.688Z] v3.1.0-dev.8 [2023-09-19T03:26:32.688Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-19T03:26:32.975Z] + lftools sign git-tag v3.1.0-dev.10 [2023-09-19T03:26:33.543Z] Signing Git tag with Sigul... [2023-09-19T03:26:33.543Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-09-19T03:26:33.812Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:34.099Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-19T03:26:34.105Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-19T03:26:34.122Z] $ docker stop --time=1 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd [2023-09-19T03:26:35.386Z] $ docker rm -f --volumes 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-19T03:26:35.810Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T03:26:35.810Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:36.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:26:36.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:26:36.186Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:26:36.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T03:26:36.542Z] $ docker top 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T03:26:36.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T03:26:36.629Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T03:26:36.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T03:26:36.749Z] $ docker exec 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db ssh-agent [2023-09-19T03:26:36.853Z] SSH_AUTH_SOCK=/tmp/ssh-hqnq3EEkbQc5/agent.33 [2023-09-19T03:26:36.853Z] SSH_AGENT_PID=39 [2023-09-19T03:26:36.858Z] Running ssh-add (command line suppressed) [2023-09-19T03:26:36.958Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2033754143882328955.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2033754143882328955.key) [2023-09-19T03:26:36.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T03:26:37.262Z] + git semver bump pre [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,422 [execute] INFO git cat-file --batch-check [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,427 [execute] INFO git cat-file --batch [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T03:26:37.521Z] 2023-09-19 03:26:37,432 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:37.521Z] 3.1.0-dev.11 [Pipeline] } [2023-09-19T03:26:37.529Z] $ docker exec --env ******** --env ******** 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db ssh-agent -k [2023-09-19T03:26:37.616Z] unset SSH_AUTH_SOCK; [2023-09-19T03:26:37.616Z] unset SSH_AGENT_PID; [2023-09-19T03:26:37.616Z] echo Agent pid 39 killed; [2023-09-19T03:26:37.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T03:26:37.937Z] + git semver [Pipeline] } [2023-09-19T03:26:38.206Z] $ docker stop --time=1 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db [2023-09-19T03:26:39.498Z] $ docker rm -f --volumes 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T03:26:39.849Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T03:26:39.849Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:40.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T03:26:40.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:26:40.213Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:26:40.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T03:26:40.545Z] $ docker top 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 -eo pid,comm [2023-09-19T03:26:40.589Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T03:26:40.589Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T03:26:40.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T03:26:40.624Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T03:26:40.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T03:26:40.723Z] $ docker exec 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 ssh-agent [2023-09-19T03:26:40.828Z] SSH_AUTH_SOCK=/tmp/ssh-On1JIoVQcXqz/agent.32 [2023-09-19T03:26:40.828Z] SSH_AGENT_PID=38 [2023-09-19T03:26:40.833Z] Running ssh-add (command line suppressed) [2023-09-19T03:26:40.922Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5408397025365290416.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5408397025365290416.key) [2023-09-19T03:26:40.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T03:26:41.223Z] + git semver push [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,393 [run_push] DEBUG push [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,393 [execute] INFO git cat-file --batch-check [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,397 [execute] INFO git rev-list 584330c460ab83c1d28679dc13827830bc2e9330 -- [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,397 [execute] DEBUG Popen(['git', 'rev-list', '584330c460ab83c1d28679dc13827830bc2e9330', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,427 [execute] INFO git fetch -v origin [2023-09-19T03:26:41.482Z] 2023-09-19 03:26:41,427 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-19T03:26:42.050Z] 2023-09-19 03:26:41,912 [run_push] DEBUG no remote changes detected [2023-09-19T03:26:42.050Z] 2023-09-19 03:26:41,912 [execute] INFO git push origin semver [2023-09-19T03:26:42.050Z] 2023-09-19 03:26:41,912 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T03:26:42.986Z] 2023-09-19 03:26:42,639 [run_push] DEBUG push all version tags [2023-09-19T03:26:42.986Z] 2023-09-19 03:26:42,639 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-19T03:26:42.986Z] 2023-09-19 03:26:42,640 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T03:26:43.555Z] 2023-09-19 03:26:43,443 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-19T03:26:43.555Z] 3.1.0-dev.11 [Pipeline] } [2023-09-19T03:26:43.560Z] $ docker exec --env ******** --env ******** 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 ssh-agent -k [2023-09-19T03:26:43.668Z] unset SSH_AUTH_SOCK; [2023-09-19T03:26:43.672Z] unset SSH_AGENT_PID; [2023-09-19T03:26:43.673Z] echo Agent pid 38 killed; [2023-09-19T03:26:43.683Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T03:26:43.987Z] + git semver [Pipeline] } [2023-09-19T03:26:44.254Z] $ docker stop --time=1 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 [2023-09-19T03:26:45.498Z] $ docker rm -f --volumes 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-19T03:26:46.080Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-19T03:26:46.080Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-19T03:26:46.080Z] total 16 [2023-09-19T03:26:46.080Z] drwxr-xr-x 3 root root 4096 Sep 19 03:18 . [2023-09-19T03:26:46.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:26 .. [2023-09-19T03:26:46.080Z] drwxr-xr-x 2 root root 4096 Sep 19 03:18 cost [2023-09-19T03:26:46.080Z] -rw-r--r-- 1 root root 88 Sep 19 03:18 cost.csv [2023-09-19T03:26:46.080Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-19T03:26:46.080Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-19T03:26:46.080Z] total 16 [2023-09-19T03:26:46.080Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:18 . [2023-09-19T03:26:46.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:26 .. [2023-09-19T03:26:46.080Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 03:18 cost [2023-09-19T03:26:46.080Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 19 03:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:46.372Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:47.233Z] ---> package-listing.sh [2023-09-19T03:26:47.233Z] ++ facter osfamily [2023-09-19T03:26:47.233Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T03:26:47.492Z] + OS_FAMILY=debian [2023-09-19T03:26:47.492Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-19T03:26:47.492Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T03:26:47.492Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T03:26:47.492Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T03:26:47.492Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T03:26:47.492Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-19T03:26:47.492Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T03:26:47.492Z] + case "${OS_FAMILY}" in [2023-09-19T03:26:47.492Z] + dpkg -l [2023-09-19T03:26:47.492Z] + grep '^ii' [2023-09-19T03:26:47.492Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T03:26:47.492Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T03:26:47.492Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T03:26:47.492Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-19T03:26:47.492Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-19T03:26:47.492Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-09-19T03:26:47.502Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T03:26:47.777Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T03:26:48.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T03:26:48.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T03:26:48.395Z] prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container [2023-09-19T03:26:48.420Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T03:26:48.622Z] $ docker top 6e10e7a40a2de5806896e97ce7adcccb98c2fc3296ded18118234d847953a4f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T03:26:48.970Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T03:26:49.314Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T03:26:49.610Z] + ls /var/log/sa-host [2023-09-19T03:26:49.610Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T03:26:49.761Z] provisioning config files... [2023-09-19T03:26:49.782Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17177189645585199303tmp [Pipeline] { [Pipeline] echo [2023-09-19T03:26:49.822Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:50.129Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T03:26:50.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:50.469Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T03:26:50.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:50.755Z] ---> sudo-logs.sh [2023-09-19T03:26:50.755Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T03:26:50.782Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:51.066Z] ---> job-cost.sh [2023-09-19T03:26:51.066Z] lf-activate-venv: SKIPPING [2023-09-19T03:26:51.066Z] DEBUG: total: 0.2199999988079071 [2023-09-19T03:26:51.066Z] INFO: Retrieving Stack Cost... [2023-09-19T03:26:51.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T03:26:51.893Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T03:26:51.905Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T03:26:52.189Z] ---> logs-deploy.sh [2023-09-19T03:26:52.189Z] lf-activate-venv: SKIPPING [2023-09-19T03:26:52.189Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/124 [2023-09-19T03:26:52.189Z] INFO: archiving workspace using pattern(s): [2023-09-19T03:26:53.126Z] Archives upload complete. [2023-09-19T03:26:53.126Z] INFO: archiving logs to Nexus