Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3673e51062d5a24ca3a0eb46c133605be474e190 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-ssh14744377541065363292.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-ssh1446210853462220088.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-ssh7680353859250634838.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-ssh6519039751431411241.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-ssh5788360187489834858.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] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10303 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 3673e51062d5a24ca3a0eb46c133605be474e190 (main) Commit message: "refactor: Remove obsolete comments from config file (#515)" > 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 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 > git rev-list --no-walk 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T21:53:16.700Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T21:53:16.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T21:53:16.784Z] ========================================================= [2023-10-24T21:53:16.784Z] EdgeX Global Pipelines Version Info [2023-10-24T21:53:16.784Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:53:17.486Z] ------------------- [2023-10-24T21:53:17.486Z] stable info: [2023-10-24T21:53:17.486Z] ------------------- [2023-10-24T21:53:17.486Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T21:53:17.486Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T21:53:17.486Z] Message: update stable to v1.0.254 [2023-10-24T21:53:18.056Z] ------------------- [2023-10-24T21:53:18.056Z] experimental info: [2023-10-24T21:53:18.056Z] ------------------- [2023-10-24T21:53:18.056Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T21:53:18.056Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T21:53:18.056Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T21:53:18.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-24T21:53:18.234Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-24T21:53:18.252Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T21:53:18.266Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T21:53:18.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T21:53:18.293Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T21:53:18.306Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T21:53:18.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T21:53:18.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T21:53:18.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T21:53:18.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T21:53:18.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-24T21:53:18.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T21:53:18.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T21:53:18.437Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T21:53:18.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T21:53:18.477Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T21:53:18.492Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T21:53:18.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T21:53:18.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T21:53:18.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T21:53:18.549Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T21:53:18.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T21:53:18.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T21:53:18.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T21:53:18.624Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T21:53:18.640Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T21:53:18.655Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T21:53:18.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T21:53:18.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T21:53:18.701Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo [2023-10-24T21:53:18.714Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3673e51 [Pipeline] echo [2023-10-24T21:53:18.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T21:53:18.776Z] provisioning config files... [2023-10-24T21:53:18.791Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11836132586013255332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:53:19.092Z] ---> docker-login.sh [2023-10-24T21:53:19.092Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:53:19.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:19.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:19.351Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:19.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:19.351Z] [2023-10-24T21:53:19.351Z] Login Succeeded [2023-10-24T21:53:19.351Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:53:19.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:19.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:19.351Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:19.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:19.351Z] [2023-10-24T21:53:19.351Z] Login Succeeded [2023-10-24T21:53:19.351Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:53:19.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:19.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:19.611Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:19.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:19.611Z] [2023-10-24T21:53:19.611Z] Login Succeeded [2023-10-24T21:53:19.611Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:53:19.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:19.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:19.611Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:19.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:19.611Z] [2023-10-24T21:53:19.611Z] Login Succeeded [2023-10-24T21:53:19.611Z] docker.io [2023-10-24T21:53:19.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:19.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:19.878Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:19.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:19.878Z] [2023-10-24T21:53:19.878Z] Login Succeeded [2023-10-24T21:53:19.878Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:53:19.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T21:53:20.253Z] + git rev-list -1 --merges 3673e51062d5a24ca3a0eb46c133605be474e190~1..3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo [2023-10-24T21:53:20.303Z] -----------> git rev-list -1 --merges 3673e51062d5a24ca3a0eb46c133605be474e190~1..3673e51062d5a24ca3a0eb46c133605be474e190 3673e51062d5a24ca3a0eb46c133605be474e190 [false] [Pipeline] sh [2023-10-24T21:53:20.597Z] + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo [2023-10-24T21:53:20.611Z] ========================================================= [2023-10-24T21:53:20.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T21:53:20.611Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T21:53:20.949Z] + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo [2023-10-24T21:53:20.960Z] [semverPrep] GIT_COMMIT: 3673e51062d5a24ca3a0eb46c133605be474e190, Commit Message: refactor: Remove obsolete comments from config file (#515) [Pipeline] echo [2023-10-24T21:53:20.969Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T21:53:21.308Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T21:53:21.308Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T21:53:21.308Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T21:53:21.308Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T21:53:21.308Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T21:53:21.308Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T21:53:21.308Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:53:21.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:53:21.667Z] [2023-10-24T21:53:21.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:53:21.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:53:21.971Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T21:53:21.971Z] b85a868b505f: Pulling fs layer [2023-10-24T21:53:21.971Z] e2be974225ed: Pulling fs layer [2023-10-24T21:53:21.971Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T21:53:21.971Z] 988bab9f4d93: Pulling fs layer [2023-10-24T21:53:21.971Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T21:53:21.971Z] eaf3925da568: Pulling fs layer [2023-10-24T21:53:21.971Z] bab4dde63d76: Pulling fs layer [2023-10-24T21:53:21.971Z] bde34c3a00c8: Pulling fs layer [2023-10-24T21:53:21.971Z] b352a97aabf1: Pulling fs layer [2023-10-24T21:53:21.971Z] 4872d77fe225: Pulling fs layer [2023-10-24T21:53:21.971Z] 5851b861e8e6: Pulling fs layer [2023-10-24T21:53:21.971Z] b352a97aabf1: Waiting [2023-10-24T21:53:21.971Z] bde34c3a00c8: Waiting [2023-10-24T21:53:21.971Z] bab4dde63d76: Waiting [2023-10-24T21:53:21.971Z] 4872d77fe225: Waiting [2023-10-24T21:53:21.971Z] 5851b861e8e6: Waiting [2023-10-24T21:53:21.971Z] 988bab9f4d93: Waiting [2023-10-24T21:53:21.971Z] eaf3925da568: Waiting [2023-10-24T21:53:21.971Z] e2be974225ed: Verifying Checksum [2023-10-24T21:53:21.971Z] e2be974225ed: Download complete [2023-10-24T21:53:21.971Z] 988bab9f4d93: Download complete [2023-10-24T21:53:21.971Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T21:53:21.971Z] 1469e6f7b9e6: Download complete [2023-10-24T21:53:21.971Z] eaf3925da568: Verifying Checksum [2023-10-24T21:53:21.971Z] eaf3925da568: Download complete [2023-10-24T21:53:21.971Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T21:53:21.971Z] 339a4e72a1f5: Download complete [2023-10-24T21:53:22.257Z] bde34c3a00c8: Download complete [2023-10-24T21:53:22.257Z] b352a97aabf1: Download complete [2023-10-24T21:53:22.257Z] 4872d77fe225: Download complete [2023-10-24T21:53:22.257Z] 5851b861e8e6: Download complete [2023-10-24T21:53:22.257Z] b85a868b505f: Verifying Checksum [2023-10-24T21:53:22.257Z] b85a868b505f: Download complete [2023-10-24T21:53:22.520Z] bab4dde63d76: Verifying Checksum [2023-10-24T21:53:22.520Z] bab4dde63d76: Download complete [2023-10-24T21:53:23.459Z] b85a868b505f: Pull complete [2023-10-24T21:53:23.459Z] e2be974225ed: Pull complete [2023-10-24T21:53:24.026Z] 339a4e72a1f5: Pull complete [2023-10-24T21:53:24.026Z] 988bab9f4d93: Pull complete [2023-10-24T21:53:24.284Z] 1469e6f7b9e6: Pull complete [2023-10-24T21:53:24.284Z] eaf3925da568: Pull complete [2023-10-24T21:53:26.180Z] bab4dde63d76: Pull complete [2023-10-24T21:53:26.180Z] bde34c3a00c8: Pull complete [2023-10-24T21:53:26.180Z] b352a97aabf1: Pull complete [2023-10-24T21:53:26.180Z] 4872d77fe225: Pull complete [2023-10-24T21:53:26.180Z] 5851b861e8e6: Pull complete [2023-10-24T21:53:26.439Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T21:53:26.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T21:53:26.439Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:53:26.532Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T21:53:26.563Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T21:53:27.674Z] $ docker top 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 -eo pid,comm [2023-10-24T21:53:27.725Z] 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-10-24T21:53:27.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T21:53:27.764Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T21:53:27.764Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T21:53:27.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T21:53:27.874Z] $ docker exec 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent [2023-10-24T21:53:27.983Z] SSH_AUTH_SOCK=/tmp/ssh-5nlZ9JGYvhjl/agent.32 [2023-10-24T21:53:27.983Z] SSH_AGENT_PID=38 [2023-10-24T21:53:27.990Z] Running ssh-add (command line suppressed) [2023-10-24T21:53:28.102Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6666278949158903660.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6666278949158903660.key) [2023-10-24T21:53:28.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T21:53:28.400Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T21:53:28.415Z] $ docker exec --env ******** --env ******** 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent -k [2023-10-24T21:53:28.537Z] unset SSH_AUTH_SOCK; [2023-10-24T21:53:28.538Z] unset SSH_AGENT_PID; [2023-10-24T21:53:28.538Z] echo Agent pid 38 killed; [2023-10-24T21:53:28.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T21:53:28.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T21:53:28.580Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T21:53:28.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T21:53:28.722Z] $ docker exec 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent [2023-10-24T21:53:28.834Z] SSH_AUTH_SOCK=/tmp/ssh-nHFFYGt2K5pp/agent.70 [2023-10-24T21:53:28.834Z] SSH_AGENT_PID=76 [2023-10-24T21:53:28.839Z] Running ssh-add (command line suppressed) [2023-10-24T21:53:28.953Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6041103660962444003.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6041103660962444003.key) [2023-10-24T21:53:28.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T21:53:29.246Z] + git semver init [2023-10-24T21:53:29.504Z] 2023-10-24 21:53:29,450 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T21:53:29.504Z] 2023-10-24 21:53:29,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T21:53:29.504Z] 2023-10-24 21:53:29,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T21:53:29.504Z] 2023-10-24 21:53:29,452 [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-10-24T21:53:30.443Z] 2023-10-24 21:53:30,323 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-24T21:53:30.443Z] 2023-10-24 21:53:30,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-24T21:53:30.443Z] 2023-10-24 21:53:30,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T21:53:30.443Z] 2023-10-24 21:53:30,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T21:53:30.443Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T21:53:30.456Z] $ docker exec --env ******** --env ******** 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent -k [2023-10-24T21:53:30.566Z] unset SSH_AUTH_SOCK; [2023-10-24T21:53:30.567Z] unset SSH_AGENT_PID; [2023-10-24T21:53:30.567Z] echo Agent pid 76 killed; [2023-10-24T21:53:30.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T21:53:30.907Z] + git semver [Pipeline] } [2023-10-24T21:53:31.178Z] $ docker stop --time=1 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 [2023-10-24T21:53:32.512Z] $ docker rm -f --volumes 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T21:53:32.844Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T21:53:33.057Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T21:53:33.060Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [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-10-24T21:53:33.216Z] provisioning config files... [2023-10-24T21:53:33.224Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11851098302491634072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:53:33.523Z] ---> docker-login.sh [2023-10-24T21:53:33.523Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:53:33.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:33.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:33.523Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:33.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:33.523Z] [2023-10-24T21:53:33.523Z] Login Succeeded [2023-10-24T21:53:33.523Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:53:33.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:33.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:33.523Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:33.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:33.523Z] [2023-10-24T21:53:33.523Z] Login Succeeded [2023-10-24T21:53:33.523Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:53:33.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:33.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:33.781Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:33.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:33.781Z] [2023-10-24T21:53:33.782Z] Login Succeeded [2023-10-24T21:53:33.782Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:53:33.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:33.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:33.782Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:33.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:33.782Z] [2023-10-24T21:53:33.782Z] Login Succeeded [2023-10-24T21:53:33.782Z] docker.io [2023-10-24T21:53:34.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:53:34.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:53:34.040Z] Configure a credential helper to remove this warning. See [2023-10-24T21:53:34.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:53:34.040Z] [2023-10-24T21:53:34.040Z] Login Succeeded [2023-10-24T21:53:34.040Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:53:34.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T21:53:34.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:53:34.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:53:34.130Z] ========================================================= [2023-10-24T21:53:34.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T21:53:34.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:53:34.444Z] + 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-10-24T21:53:34.444Z] Sending build context to Docker daemon 6.496MB [2023-10-24T21:53:34.444Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:53:34.444Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T21:53:34.444Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T21:53:34.444Z] 7264a8db6415: Pulling fs layer [2023-10-24T21:53:34.444Z] c4d48a809fc2: Pulling fs layer [2023-10-24T21:53:34.444Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T21:53:34.444Z] ad3a456e5733: Pulling fs layer [2023-10-24T21:53:34.444Z] 33e27b845d1e: Pulling fs layer [2023-10-24T21:53:34.444Z] c68163c4e522: Pulling fs layer [2023-10-24T21:53:34.444Z] 50da416c3ac9: Pulling fs layer [2023-10-24T21:53:34.444Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T21:53:34.444Z] ad3a456e5733: Waiting [2023-10-24T21:53:34.444Z] c68163c4e522: Waiting [2023-10-24T21:53:34.444Z] 50da416c3ac9: Waiting [2023-10-24T21:53:34.444Z] 33e27b845d1e: Waiting [2023-10-24T21:53:34.444Z] 23d2d4c4bb30: Waiting [2023-10-24T21:53:34.444Z] c4d48a809fc2: Verifying Checksum [2023-10-24T21:53:34.444Z] c4d48a809fc2: Download complete [2023-10-24T21:53:34.444Z] ad3a456e5733: Verifying Checksum [2023-10-24T21:53:34.444Z] ad3a456e5733: Download complete [2023-10-24T21:53:34.444Z] 33e27b845d1e: Verifying Checksum [2023-10-24T21:53:34.444Z] 33e27b845d1e: Download complete [2023-10-24T21:53:34.703Z] 7264a8db6415: Verifying Checksum [2023-10-24T21:53:34.703Z] 7264a8db6415: Download complete [2023-10-24T21:53:34.703Z] c68163c4e522: Verifying Checksum [2023-10-24T21:53:34.703Z] c68163c4e522: Download complete [2023-10-24T21:53:34.703Z] 7264a8db6415: Pull complete [2023-10-24T21:53:34.963Z] c4d48a809fc2: Pull complete [2023-10-24T21:53:34.963Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T21:53:34.963Z] 23d2d4c4bb30: Download complete [2023-10-24T21:53:34.963Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T21:53:34.963Z] 4f1c88b9dad5: Download complete [2023-10-24T21:53:35.221Z] 50da416c3ac9: Verifying Checksum [2023-10-24T21:53:35.221Z] 50da416c3ac9: Download complete [2023-10-24T21:53:38.506Z] 4f1c88b9dad5: Pull complete [2023-10-24T21:53:38.506Z] ad3a456e5733: Pull complete [2023-10-24T21:53:38.506Z] 33e27b845d1e: Pull complete [2023-10-24T21:53:38.506Z] c68163c4e522: Pull complete [2023-10-24T21:53:40.401Z] 50da416c3ac9: Pull complete [2023-10-24T21:53:40.969Z] 23d2d4c4bb30: Pull complete [2023-10-24T21:53:40.969Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T21:53:40.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T21:53:40.969Z] ---> 0786185ac409 [2023-10-24T21:53:40.969Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:53:41.905Z] ---> Running in 7b937dcf1637 [2023-10-24T21:53:42.163Z] Removing intermediate container 7b937dcf1637 [2023-10-24T21:53:42.163Z] ---> 97988d03b00a [2023-10-24T21:53:42.163Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:53:42.163Z] ---> Running in 24cc911b9b4c [2023-10-24T21:53:42.163Z] Removing intermediate container 24cc911b9b4c [2023-10-24T21:53:42.163Z] ---> f84d432516fb [2023-10-24T21:53:42.163Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T21:53:42.163Z] ---> Running in 6d4f74bf7191 [2023-10-24T21:53:42.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:53:42.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:53:42.940Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T21:53:42.940Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T21:53:42.940Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T21:53:42.940Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:53:43.198Z] OK: 270 MiB in 60 packages [2023-10-24T21:53:43.457Z] Removing intermediate container 6d4f74bf7191 [2023-10-24T21:53:43.457Z] ---> 8e137a1140d8 [2023-10-24T21:53:43.457Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T21:53:43.457Z] ---> Running in 0a8c5a411c57 [2023-10-24T21:53:43.717Z] Removing intermediate container 0a8c5a411c57 [2023-10-24T21:53:43.717Z] ---> 082d5ad85d5f [2023-10-24T21:53:43.717Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T21:53:43.717Z] ---> b15a16f2c7d7 [2023-10-24T21:53:43.717Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:53:43.717Z] ---> Running in 748a88b5dd75 [2023-10-24T21:53:48.169Z] Still waiting to schedule task [2023-10-24T21:53:48.170Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T21:54:22.430Z] Removing intermediate container 748a88b5dd75 [2023-10-24T21:54:22.430Z] ---> 634a79d2f2e8 [2023-10-24T21:54:22.430Z] Step 9/10 : COPY . . [2023-10-24T21:54:22.430Z] ---> 4e1628ea6a3c [2023-10-24T21:54:22.430Z] Step 10/10 : RUN ${MAKE} [2023-10-24T21:54:22.430Z] ---> Running in 21b0ea856d5c [2023-10-24T21:54:22.430Z] noop [2023-10-24T21:54:22.430Z] Removing intermediate container 21b0ea856d5c [2023-10-24T21:54:22.430Z] ---> 457ef3032e4c [2023-10-24T21:54:22.430Z] Successfully built 457ef3032e4c [2023-10-24T21:54:22.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:54:22.745Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T21:54:22.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:54:22.819Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T21:54:22.851Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T21:54:23.183Z] $ docker top bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:54:23.519Z] + go version [2023-10-24T21:54:23.520Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T21:54:23.532Z] $ docker stop --time=1 bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 [2023-10-24T21:54:24.861Z] $ docker rm -f --volumes bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:54:25.261Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T21:54:25.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:54:25.336Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T21:54:25.368Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T21:54:25.668Z] $ docker top bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:54:26.006Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T21:54:26.297Z] + make test [2023-10-24T21:54:26.297Z] go test ./... -coverprofile=coverage.out [2023-10-24T21:54:27.230Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T21:54:37.193Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T21:54:37.193Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2023-10-24T21:54:43.741Z] go vet ./... [2023-10-24T21:54:47.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T21:54:47.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T21:54:47.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T21:54:47.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T21:54:47.948Z] $ docker stop --time=1 bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 [2023-10-24T21:54:49.703Z] $ docker rm -f --volumes bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T21:54:50.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T21:54:50.237Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T21:54:50.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T21:54:50.957Z] + ls -al . [2023-10-24T21:54:50.957Z] total 188 [2023-10-24T21:54:50.957Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 21:54 . [2023-10-24T21:54:50.957Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:53 .. [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:53 .dockerignore [2023-10-24T21:54:50.957Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:54 .git [2023-10-24T21:54:50.957Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 .github [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:53 .gitignore [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:53 .golangci.yml [2023-10-24T21:54:50.957Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:53 .semver [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:53 Attribution.txt [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:53 CHANGELOG.md [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:53 Dockerfile [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:53 GOVERNANCE.md [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:53 Jenkinsfile [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:53 LICENSE [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:53 Makefile [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:53 OWNERS.md [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:53 README.md [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:53 VERSION [2023-10-24T21:54:50.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 bin [2023-10-24T21:54:50.957Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 cmd [2023-10-24T21:54:50.957Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 21:54 coverage.out [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:53 go.mod [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:53 go.sum [2023-10-24T21:54:50.957Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 internal [2023-10-24T21:54:50.957Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 simulator [2023-10-24T21:54:50.957Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:54:51.264Z] + 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=3673e51062d5a24ca3a0eb46c133605be474e190 --label arch=amd64 --label version=3.1.0-dev.20 . [2023-10-24T21:54:51.265Z] Sending build context to Docker daemon 6.521MB [2023-10-24T21:54:51.265Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:54:51.265Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T21:54:51.265Z] ---> 457ef3032e4c [2023-10-24T21:54:51.265Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:54:51.265Z] ---> Running in a977eede4fae [2023-10-24T21:54:51.265Z] Removing intermediate container a977eede4fae [2023-10-24T21:54:51.265Z] ---> b9fbe6801938 [2023-10-24T21:54:51.265Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:54:51.522Z] ---> Running in 5e3e46558962 [2023-10-24T21:54:51.522Z] Removing intermediate container 5e3e46558962 [2023-10-24T21:54:51.522Z] ---> ba9e70baebfd [2023-10-24T21:54:51.522Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T21:54:51.522Z] ---> Running in b48f123562e2 [2023-10-24T21:54:51.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:54:51.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:54:52.039Z] OK: 270 MiB in 60 packages [2023-10-24T21:54:52.298Z] Removing intermediate container b48f123562e2 [2023-10-24T21:54:52.298Z] ---> 15f758cc8235 [2023-10-24T21:54:52.298Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T21:54:52.298Z] ---> Running in edad1c1c0601 [2023-10-24T21:54:52.556Z] Removing intermediate container edad1c1c0601 [2023-10-24T21:54:52.556Z] ---> 937cb07f64fb [2023-10-24T21:54:52.556Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T21:54:52.556Z] ---> 00d2533de0bc [2023-10-24T21:54:52.556Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:54:52.556Z] ---> Running in c5fc0eefdb7a [2023-10-24T21:54:53.120Z] Removing intermediate container c5fc0eefdb7a [2023-10-24T21:54:53.120Z] ---> d2d852e0cf93 [2023-10-24T21:54:53.120Z] Step 9/22 : COPY . . [2023-10-24T21:54:53.378Z] ---> 870c45d85335 [2023-10-24T21:54:53.378Z] Step 10/22 : RUN ${MAKE} [2023-10-24T21:54:53.378Z] ---> Running in 8118f3e4af7f [2023-10-24T21:54:53.638Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T21:55:11.822Z] Removing intermediate container 8118f3e4af7f [2023-10-24T21:55:11.822Z] ---> 3830adb98d45 [2023-10-24T21:55:11.822Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T21:55:11.822Z] 3.18: Pulling from library/alpine [2023-10-24T21:55:11.822Z] 96526aa774ef: Pulling fs layer [2023-10-24T21:55:11.822Z] 96526aa774ef: Verifying Checksum [2023-10-24T21:55:11.822Z] 96526aa774ef: Download complete [2023-10-24T21:55:11.822Z] 96526aa774ef: Pull complete [2023-10-24T21:55:11.822Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T21:55:11.822Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T21:55:11.822Z] ---> 8ca4688f4f35 [2023-10-24T21:55:11.822Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T21:55:11.822Z] ---> Running in ba75b6c95006 [2023-10-24T21:55:11.822Z] Removing intermediate container ba75b6c95006 [2023-10-24T21:55:11.822Z] ---> 87a28203a7b2 [2023-10-24T21:55:11.822Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T21:55:11.822Z] ---> Running in 1adb9c182fb6 [2023-10-24T21:55:11.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T21:55:11.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T21:55:12.144Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T21:55:12.144Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:55:12.144Z] OK: 7 MiB in 16 packages [2023-10-24T21:55:12.708Z] Removing intermediate container 1adb9c182fb6 [2023-10-24T21:55:12.708Z] ---> 35689239c622 [2023-10-24T21:55:12.708Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T21:55:12.965Z] ---> 6d7842c6a50d [2023-10-24T21:55:12.965Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T21:55:13.223Z] ---> 56d81ca75938 [2023-10-24T21:55:13.223Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T21:55:13.223Z] ---> 9d8e99b5bd84 [2023-10-24T21:55:13.223Z] Step 17/22 : EXPOSE 59901 [2023-10-24T21:55:13.223Z] ---> Running in c05728889239 [2023-10-24T21:55:13.223Z] Removing intermediate container c05728889239 [2023-10-24T21:55:13.223Z] ---> 71c8ff66160e [2023-10-24T21:55:13.223Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T21:55:13.223Z] ---> Running in 94510b34afb9 [2023-10-24T21:55:13.481Z] Removing intermediate container 94510b34afb9 [2023-10-24T21:55:13.481Z] ---> 07093b442fd7 [2023-10-24T21:55:13.481Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T21:55:13.481Z] ---> Running in 3a320f18fee5 [2023-10-24T21:55:13.481Z] Removing intermediate container 3a320f18fee5 [2023-10-24T21:55:13.481Z] ---> 22ac94522924 [2023-10-24T21:55:13.481Z] Step 20/22 : LABEL arch=amd64 [2023-10-24T21:55:13.481Z] ---> Running in fef391b814c6 [2023-10-24T21:55:13.481Z] Removing intermediate container fef391b814c6 [2023-10-24T21:55:13.481Z] ---> 4e9d4dc4e4c9 [2023-10-24T21:55:13.481Z] Step 21/22 : LABEL git_sha=3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T21:55:13.481Z] ---> Running in fa3d3696e20e [2023-10-24T21:55:13.740Z] Removing intermediate container fa3d3696e20e [2023-10-24T21:55:13.740Z] ---> 55edce9c9733 [2023-10-24T21:55:13.740Z] Step 22/22 : LABEL version=3.1.0-dev.20 [2023-10-24T21:55:13.740Z] ---> Running in c236b2b6866e [2023-10-24T21:55:13.740Z] Removing intermediate container c236b2b6866e [2023-10-24T21:55:13.740Z] ---> 7247c41e616d [2023-10-24T21:55:13.740Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T21:55:13.740Z] Successfully built 7247c41e616d [2023-10-24T21:55:13.740Z] 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-10-24T21:55:13.855Z] provisioning config files... [2023-10-24T21:55:13.864Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1315590483200692239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:55:14.160Z] ---> docker-login.sh [2023-10-24T21:55:14.160Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:55:14.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:55:14.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:55:14.160Z] Configure a credential helper to remove this warning. See [2023-10-24T21:55:14.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:55:14.160Z] [2023-10-24T21:55:14.160Z] Login Succeeded [2023-10-24T21:55:14.160Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:55:14.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:55:14.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:55:14.160Z] Configure a credential helper to remove this warning. See [2023-10-24T21:55:14.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:55:14.160Z] [2023-10-24T21:55:14.160Z] Login Succeeded [2023-10-24T21:55:14.160Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:55:14.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:55:14.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:55:14.418Z] Configure a credential helper to remove this warning. See [2023-10-24T21:55:14.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:55:14.418Z] [2023-10-24T21:55:14.418Z] Login Succeeded [2023-10-24T21:55:14.418Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:55:14.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:55:14.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:55:14.418Z] Configure a credential helper to remove this warning. See [2023-10-24T21:55:14.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:55:14.418Z] [2023-10-24T21:55:14.418Z] Login Succeeded [2023-10-24T21:55:14.418Z] docker.io [2023-10-24T21:55:14.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:55:14.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:55:14.936Z] Configure a credential helper to remove this warning. See [2023-10-24T21:55:14.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:55:14.936Z] [2023-10-24T21:55:14.936Z] Login Succeeded [2023-10-24T21:55:14.936Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:55:14.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T21:55:14.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:55:14.986Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-24T21:55:14.986Z] 3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T21:55:14.986Z] latest [2023-10-24T21:55:14.986Z] 3.1.0-dev.20 [2023-10-24T21:55:14.986Z] 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T21:55:14.986Z] main [2023-10-24T21:55:14.986Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:15.292Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:15.591Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T21:55:15.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T21:55:15.592Z] e51d84d3ee41: Preparing [2023-10-24T21:55:15.592Z] 996811ac938e: Preparing [2023-10-24T21:55:15.592Z] cdc6a44a1f39: Preparing [2023-10-24T21:55:15.592Z] e73c62071aaf: Preparing [2023-10-24T21:55:15.592Z] cc2447e1835a: Preparing [2023-10-24T21:55:15.592Z] cc2447e1835a: Layer already exists [2023-10-24T21:55:15.592Z] 996811ac938e: Pushed [2023-10-24T21:55:15.592Z] e73c62071aaf: Pushed [2023-10-24T21:55:15.592Z] e51d84d3ee41: Pushed [2023-10-24T21:55:18.121Z] cdc6a44a1f39: Pushed [2023-10-24T21:55:18.121Z] 3673e51062d5a24ca3a0eb46c133605be474e190: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:18.424Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:18.728Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T21:55:18.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T21:55:18.728Z] e51d84d3ee41: Preparing [2023-10-24T21:55:18.728Z] 996811ac938e: Preparing [2023-10-24T21:55:18.728Z] cdc6a44a1f39: Preparing [2023-10-24T21:55:18.728Z] e73c62071aaf: Preparing [2023-10-24T21:55:18.728Z] cc2447e1835a: Preparing [2023-10-24T21:55:18.728Z] e51d84d3ee41: Layer already exists [2023-10-24T21:55:18.728Z] e73c62071aaf: Layer already exists [2023-10-24T21:55:18.728Z] 996811ac938e: Layer already exists [2023-10-24T21:55:18.728Z] cc2447e1835a: Layer already exists [2023-10-24T21:55:18.728Z] cdc6a44a1f39: Layer already exists [2023-10-24T21:55:18.728Z] latest: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:19.035Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:19.335Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 [2023-10-24T21:55:19.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T21:55:19.335Z] e51d84d3ee41: Preparing [2023-10-24T21:55:19.335Z] 996811ac938e: Preparing [2023-10-24T21:55:19.335Z] cdc6a44a1f39: Preparing [2023-10-24T21:55:19.335Z] e73c62071aaf: Preparing [2023-10-24T21:55:19.335Z] cc2447e1835a: Preparing [2023-10-24T21:55:19.335Z] cdc6a44a1f39: Layer already exists [2023-10-24T21:55:19.335Z] e51d84d3ee41: Layer already exists [2023-10-24T21:55:19.335Z] e73c62071aaf: Layer already exists [2023-10-24T21:55:19.335Z] 996811ac938e: Layer already exists [2023-10-24T21:55:19.335Z] cc2447e1835a: Layer already exists [2023-10-24T21:55:19.335Z] 3.1.0-dev.20: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:19.646Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:19.953Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T21:55:19.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T21:55:19.953Z] e51d84d3ee41: Preparing [2023-10-24T21:55:19.953Z] 996811ac938e: Preparing [2023-10-24T21:55:19.953Z] cdc6a44a1f39: Preparing [2023-10-24T21:55:19.953Z] e73c62071aaf: Preparing [2023-10-24T21:55:19.953Z] cc2447e1835a: Preparing [2023-10-24T21:55:19.953Z] 996811ac938e: Layer already exists [2023-10-24T21:55:19.953Z] e51d84d3ee41: Layer already exists [2023-10-24T21:55:19.953Z] cc2447e1835a: Layer already exists [2023-10-24T21:55:19.953Z] e73c62071aaf: Layer already exists [2023-10-24T21:55:19.953Z] cdc6a44a1f39: Layer already exists [2023-10-24T21:55:19.953Z] 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:20.263Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:20.568Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-24T21:55:20.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T21:55:20.568Z] e51d84d3ee41: Preparing [2023-10-24T21:55:20.568Z] 996811ac938e: Preparing [2023-10-24T21:55:20.568Z] cdc6a44a1f39: Preparing [2023-10-24T21:55:20.568Z] e73c62071aaf: Preparing [2023-10-24T21:55:20.568Z] cc2447e1835a: Preparing [2023-10-24T21:55:20.568Z] 996811ac938e: Layer already exists [2023-10-24T21:55:20.568Z] cc2447e1835a: Layer already exists [2023-10-24T21:55:20.568Z] e51d84d3ee41: Layer already exists [2023-10-24T21:55:20.568Z] cdc6a44a1f39: Layer already exists [2023-10-24T21:55:20.568Z] e73c62071aaf: Layer already exists [2023-10-24T21:55:20.568Z] main: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T21:55:20.611Z] ===================================================== [Pipeline] echo [2023-10-24T21:55:20.621Z] taggedImages: [2023-10-24T21:55:20.621Z] - nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T21:55:20.621Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T21:55:20.621Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 [2023-10-24T21:55:20.621Z] - nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T21:55:20.621Z] - 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-10-24T21:55:20.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:55:20.992Z] [2023-10-24T21:55:20.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:55:21.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:55:21.283Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T21:55:21.283Z] 5eb5b503b376: Pulling fs layer [2023-10-24T21:55:21.283Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T21:55:21.283Z] ec43610c2a17: Pulling fs layer [2023-10-24T21:55:21.283Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T21:55:21.283Z] 33b1e0a273af: Pulling fs layer [2023-10-24T21:55:21.283Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T21:55:21.283Z] 2f39f015ded8: Pulling fs layer [2023-10-24T21:55:21.283Z] 33b1e0a273af: Waiting [2023-10-24T21:55:21.283Z] 3a2ae6a8a46f: Waiting [2023-10-24T21:55:21.283Z] 2f39f015ded8: Waiting [2023-10-24T21:55:21.283Z] 5c69ac0246d0: Download complete [2023-10-24T21:55:21.283Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T21:55:21.283Z] 3a2ae6a8a46f: Download complete [2023-10-24T21:55:21.283Z] 33b1e0a273af: Verifying Checksum [2023-10-24T21:55:21.283Z] 33b1e0a273af: Download complete [2023-10-24T21:55:21.283Z] 5d3b04190fa2: Download complete [2023-10-24T21:55:21.283Z] ec43610c2a17: Verifying Checksum [2023-10-24T21:55:21.283Z] ec43610c2a17: Download complete [2023-10-24T21:55:21.540Z] 5eb5b503b376: Verifying Checksum [2023-10-24T21:55:21.541Z] 5eb5b503b376: Download complete [2023-10-24T21:55:22.107Z] 2f39f015ded8: Download complete [2023-10-24T21:55:22.676Z] 5eb5b503b376: Pull complete [2023-10-24T21:55:22.676Z] 5c69ac0246d0: Pull complete [2023-10-24T21:55:23.243Z] ec43610c2a17: Pull complete [2023-10-24T21:55:23.243Z] 3a2ae6a8a46f: Pull complete [2023-10-24T21:55:23.500Z] 33b1e0a273af: Pull complete [2023-10-24T21:55:23.500Z] 5d3b04190fa2: Pull complete [2023-10-24T21:55:27.686Z] 2f39f015ded8: Pull complete [2023-10-24T21:55:27.686Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T21:55:27.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T21:55:27.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:55:28.041Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T21:55:28.075Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T21:55:29.140Z] $ docker top cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:55:29.514Z] ---> job-cost.sh [2023-10-24T21:55:29.514Z] lf-activate-venv: SKIPPING [2023-10-24T21:55:29.514Z] INFO: No Stack... [2023-10-24T21:55:29.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T21:55:30.339Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T21:55:30.623Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-24T21:55:30.623Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T21:55:30.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [2023-10-24T21:55:30.698Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] did not exist. Created. [2023-10-24T21:55:30.699Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T21:55:30.999Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T21:55:31.027Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T21:55:31.034Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T21:55:31.055Z] $ docker stop --time=1 cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 [2023-10-24T21:55:32.197Z] $ docker rm -f --volumes cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T21:56:55.148Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10305 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-10-24T21:56:55.161Z] Running in /w/workspace/device-modbus-go/134 [Pipeline] { [Pipeline] checkout [2023-10-24T21:56:55.210Z] Selected Git installation does not exist. Using Default [2023-10-24T21:56:55.210Z] The recommended git tool is: NONE [2023-10-24T21:57:02.308Z] using credential edgex-jenkins-ssh [2023-10-24T21:57:02.326Z] Cloning the remote Git repository [2023-10-24T21:57:02.388Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T21:57:02.506Z] > git init /w/workspace/device-modbus-go/134 # timeout=10 [2023-10-24T21:57:02.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T21:57:02.706Z] > git --version # timeout=10 [2023-10-24T21:57:02.729Z] > git --version # 'git version 2.25.1' [2023-10-24T21:57:02.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T21:57:02.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T21:57:06.716Z] Avoid second fetch [2023-10-24T21:57:06.717Z] Checking out Revision 3673e51062d5a24ca3a0eb46c133605be474e190 (main) [2023-10-24T21:57:05.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-24T21:57:05.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T21:57:06.739Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T21:57:06.815Z] > git checkout -f 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 [2023-10-24T21:57:07.438Z] Commit message: "refactor: Remove obsolete comments from config file (#515)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T21:57:08.365Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T21:57:08.365Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T21:57:08.365Z] Dload Upload Total Spent Left Speed [2023-10-24T21:57:08.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-10-24T21:57:09.125Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T21:57:09.466Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-10-24T21:57:09.466Z] [2023-10-24T21:57:09.466Z] { [2023-10-24T21:57:09.466Z] "registry-mirrors": [ [2023-10-24T21:57:09.466Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T21:57:09.466Z] ], [2023-10-24T21:57:09.466Z] "bip": "10.250.0.254/24", [2023-10-24T21:57:09.466Z] "hosts": [ [2023-10-24T21:57:09.466Z] "tcp://0.0.0.0:5555", [2023-10-24T21:57:09.466Z] "unix:///var/run/docker.sock" [2023-10-24T21:57:09.466Z] ], [2023-10-24T21:57:09.466Z] "mtu": 1458, [2023-10-24T21:57:09.466Z] "selinux-enabled": true, [2023-10-24T21:57:09.466Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T21:57:09.466Z] } [Pipeline] sh [2023-10-24T21:57:09.822Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T21:57:10.177Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T21:57:28.524Z] provisioning config files... [2023-10-24T21:57:28.556Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/134@tmp/config6935131450483354050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T21:57:28.943Z] ---> docker-login.sh [2023-10-24T21:57:28.943Z] nexus3.edgexfoundry.org:10001 [2023-10-24T21:57:29.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:57:32.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:57:32.911Z] Configure a credential helper to remove this warning. See [2023-10-24T21:57:32.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:57:32.911Z] [2023-10-24T21:57:32.911Z] Login Succeeded [2023-10-24T21:57:32.911Z] nexus3.edgexfoundry.org:10002 [2023-10-24T21:57:32.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:57:32.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:57:32.911Z] Configure a credential helper to remove this warning. See [2023-10-24T21:57:32.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:57:32.911Z] [2023-10-24T21:57:32.911Z] Login Succeeded [2023-10-24T21:57:32.911Z] nexus3.edgexfoundry.org:10003 [2023-10-24T21:57:33.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:57:33.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:57:33.456Z] Configure a credential helper to remove this warning. See [2023-10-24T21:57:33.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:57:33.456Z] [2023-10-24T21:57:33.456Z] Login Succeeded [2023-10-24T21:57:33.456Z] nexus3.edgexfoundry.org:10004 [2023-10-24T21:57:33.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:57:33.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:57:33.729Z] Configure a credential helper to remove this warning. See [2023-10-24T21:57:33.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:57:33.729Z] [2023-10-24T21:57:33.729Z] Login Succeeded [2023-10-24T21:57:33.729Z] docker.io [2023-10-24T21:57:34.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T21:57:34.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T21:57:34.274Z] Configure a credential helper to remove this warning. See [2023-10-24T21:57:34.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T21:57:34.274Z] [2023-10-24T21:57:34.274Z] Login Succeeded [2023-10-24T21:57:34.274Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T21:57:34.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T21:57:34.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:57:34.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T21:57:34.642Z] ========================================================= [2023-10-24T21:57:34.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T21:57:34.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:57:35.007Z] + 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-10-24T21:57:35.283Z] Sending build context to Docker daemon 3.363MB [2023-10-24T21:57:35.283Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T21:57:35.283Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T21:57:35.557Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T21:57:35.557Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T21:57:35.557Z] 5d54e960e981: Pulling fs layer [2023-10-24T21:57:35.557Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T21:57:35.557Z] f0e02332f6b5: Pulling fs layer [2023-10-24T21:57:35.557Z] cefa15bbcfad: Pulling fs layer [2023-10-24T21:57:35.557Z] 17808c966233: Pulling fs layer [2023-10-24T21:57:35.557Z] f0e02332f6b5: Waiting [2023-10-24T21:57:35.557Z] f4c1fc716caa: Pulling fs layer [2023-10-24T21:57:35.557Z] cefa15bbcfad: Waiting [2023-10-24T21:57:35.557Z] f4c1fc716caa: Waiting [2023-10-24T21:57:35.557Z] 17808c966233: Waiting [2023-10-24T21:57:35.557Z] 5d54e960e981: Verifying Checksum [2023-10-24T21:57:35.557Z] 5d54e960e981: Download complete [2023-10-24T21:57:35.557Z] f0e02332f6b5: Verifying Checksum [2023-10-24T21:57:35.557Z] f0e02332f6b5: Download complete [2023-10-24T21:57:35.836Z] cefa15bbcfad: Verifying Checksum [2023-10-24T21:57:35.836Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T21:57:35.836Z] 9fda8d8052c6: Download complete [2023-10-24T21:57:36.442Z] f4c1fc716caa: Verifying Checksum [2023-10-24T21:57:36.442Z] f4c1fc716caa: Download complete [2023-10-24T21:57:36.720Z] 9fda8d8052c6: Pull complete [2023-10-24T21:57:37.712Z] 5d54e960e981: Pull complete [2023-10-24T21:57:37.982Z] c4a7e357bf2a: Download complete [2023-10-24T21:57:38.968Z] 17808c966233: Verifying Checksum [2023-10-24T21:57:38.968Z] 17808c966233: Download complete [2023-10-24T21:57:51.401Z] c4a7e357bf2a: Pull complete [2023-10-24T21:57:51.676Z] f0e02332f6b5: Pull complete [2023-10-24T21:57:51.955Z] cefa15bbcfad: Pull complete [2023-10-24T21:58:02.122Z] 17808c966233: Pull complete [2023-10-24T21:58:03.095Z] f4c1fc716caa: Pull complete [2023-10-24T21:58:03.095Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T21:58:03.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T21:58:03.095Z] ---> ea914061e18c [2023-10-24T21:58:03.095Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T21:58:05.230Z] ---> Running in 63803fe9ed5e [2023-10-24T21:58:05.230Z] Removing intermediate container 63803fe9ed5e [2023-10-24T21:58:05.230Z] ---> a6ae123619cc [2023-10-24T21:58:05.230Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T21:58:05.517Z] ---> Running in a3e47d700e69 [2023-10-24T21:58:05.808Z] Removing intermediate container a3e47d700e69 [2023-10-24T21:58:05.808Z] ---> c267908306e6 [2023-10-24T21:58:05.808Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T21:58:05.808Z] ---> Running in 7898a2d1884d [2023-10-24T21:58:07.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T21:58:07.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T21:58:09.247Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T21:58:09.247Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T21:58:09.247Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T21:58:09.247Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T21:58:09.247Z] OK: 272 MiB in 60 packages [2023-10-24T21:58:10.698Z] Removing intermediate container 7898a2d1884d [2023-10-24T21:58:10.698Z] ---> 2a53e00021fb [2023-10-24T21:58:10.698Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T21:58:10.975Z] ---> Running in 56bd84b1033d [2023-10-24T21:58:11.244Z] Removing intermediate container 56bd84b1033d [2023-10-24T21:58:11.244Z] ---> 38768ce0fe3d [2023-10-24T21:58:11.244Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T21:58:11.847Z] ---> 16d3e562880d [2023-10-24T21:58:11.847Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T21:58:12.123Z] ---> Running in 72aecf9cba23 [2023-10-24T21:59:48.880Z] Removing intermediate container 72aecf9cba23 [2023-10-24T21:59:48.880Z] ---> 3bcb328f1390 [2023-10-24T21:59:48.880Z] Step 9/10 : COPY . . [2023-10-24T21:59:48.880Z] ---> 47a52d500fa1 [2023-10-24T21:59:48.880Z] Step 10/10 : RUN ${MAKE} [2023-10-24T21:59:48.880Z] ---> Running in e1380bb8901c [2023-10-24T21:59:48.880Z] noop [2023-10-24T21:59:49.149Z] Removing intermediate container e1380bb8901c [2023-10-24T21:59:49.149Z] ---> 682616b2189b [2023-10-24T21:59:49.149Z] Successfully built 682616b2189b [2023-10-24T21:59:49.149Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:59:49.510Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T21:59:49.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:59:49.754Z] prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container [2023-10-24T21:59:49.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@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-10-24T21:59:51.245Z] $ docker top 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:59:52.164Z] + go version [2023-10-24T21:59:52.164Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T21:59:52.189Z] $ docker stop --time=1 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a [2023-10-24T21:59:53.929Z] $ docker rm -f --volumes 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T21:59:54.531Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T21:59:54.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T21:59:54.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container [2023-10-24T21:59:54.814Z] $ 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/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@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-10-24T21:59:56.173Z] $ docker top ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T21:59:57.054Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/134 [Pipeline] fileExists [Pipeline] sh [2023-10-24T21:59:57.735Z] + make test [2023-10-24T21:59:57.735Z] go test ./... -coverprofile=coverage.out [2023-10-24T22:00:03.129Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T22:02:09.857Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T22:02:09.857Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.9% of statements [2023-10-24T22:02:09.857Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T22:02:09.857Z] go vet ./... [2023-10-24T22:02:36.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T22:02:36.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T22:02:36.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T22:02:36.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T22:02:36.610Z] $ docker stop --time=1 ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 [2023-10-24T22:02:40.001Z] $ docker rm -f --volumes ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:02:41.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T22:02:41.425Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T22:02:42.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T22:02:42.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T22:02:42.787Z] + ls -al . [2023-10-24T22:02:42.787Z] total 184 [2023-10-24T22:02:42.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:00 . [2023-10-24T22:02:42.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:57 .. [2023-10-24T22:02:42.787Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:57 .dockerignore [2023-10-24T22:02:42.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:57 .git [2023-10-24T22:02:42.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 .github [2023-10-24T22:02:42.787Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:57 .gitignore [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:57 .golangci.yml [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:57 Attribution.txt [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:57 CHANGELOG.md [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:57 Dockerfile [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:57 GOVERNANCE.md [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:57 Jenkinsfile [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:57 LICENSE [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:57 Makefile [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:57 OWNERS.md [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:57 README.md [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:53 VERSION [2023-10-24T22:02:42.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:57 bin [2023-10-24T22:02:42.788Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 cmd [2023-10-24T22:02:42.788Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 22:02 coverage.out [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:57 go.mod [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:57 go.sum [2023-10-24T22:02:42.788Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 internal [2023-10-24T22:02:42.788Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:57 simulator [2023-10-24T22:02:42.788Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:02:43.147Z] + 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=3673e51062d5a24ca3a0eb46c133605be474e190 --label arch=arm64 --label version=3.1.0-dev.20 . [2023-10-24T22:02:43.418Z] Sending build context to Docker daemon 3.388MB [2023-10-24T22:02:43.711Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T22:02:43.711Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T22:02:43.711Z] ---> 682616b2189b [2023-10-24T22:02:43.711Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T22:02:43.711Z] ---> Running in 559f38409b76 [2023-10-24T22:02:44.295Z] Removing intermediate container 559f38409b76 [2023-10-24T22:02:44.295Z] ---> 21fd42eed907 [2023-10-24T22:02:44.295Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T22:02:44.295Z] ---> Running in 3fac6a08d4fd [2023-10-24T22:02:44.563Z] Removing intermediate container 3fac6a08d4fd [2023-10-24T22:02:44.563Z] ---> cc7f17208b61 [2023-10-24T22:02:44.563Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T22:02:44.832Z] ---> Running in 15719b29a892 [2023-10-24T22:02:46.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:02:46.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:02:47.963Z] OK: 272 MiB in 60 packages [2023-10-24T22:02:48.936Z] Removing intermediate container 15719b29a892 [2023-10-24T22:02:48.936Z] ---> dde4f4dbc06f [2023-10-24T22:02:48.936Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T22:02:49.207Z] ---> Running in 6399a6169ccc [2023-10-24T22:02:49.475Z] Removing intermediate container 6399a6169ccc [2023-10-24T22:02:49.475Z] ---> 5512d84937d5 [2023-10-24T22:02:49.475Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T22:02:50.066Z] ---> d7f6a04b02da [2023-10-24T22:02:50.066Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T22:02:50.334Z] ---> Running in 62ffd82f154b [2023-10-24T22:02:52.944Z] Removing intermediate container 62ffd82f154b [2023-10-24T22:02:52.944Z] ---> a43724852a32 [2023-10-24T22:02:52.944Z] Step 9/22 : COPY . . [2023-10-24T22:02:53.910Z] ---> 66bfa088d2e0 [2023-10-24T22:02:53.910Z] Step 10/22 : RUN ${MAKE} [2023-10-24T22:02:53.910Z] ---> Running in f6e13d82661e [2023-10-24T22:02:55.323Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T22:05:02.107Z] Removing intermediate container f6e13d82661e [2023-10-24T22:05:02.107Z] ---> 1c2dfefd8959 [2023-10-24T22:05:02.107Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T22:05:02.107Z] 3.18: Pulling from library/alpine [2023-10-24T22:05:02.107Z] 579b34f0a95b: Pulling fs layer [2023-10-24T22:05:02.107Z] 579b34f0a95b: Verifying Checksum [2023-10-24T22:05:02.107Z] 579b34f0a95b: Download complete [2023-10-24T22:05:02.107Z] 579b34f0a95b: Pull complete [2023-10-24T22:05:02.107Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T22:05:02.107Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T22:05:02.107Z] ---> 3cc203321400 [2023-10-24T22:05:02.107Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T22:05:02.379Z] ---> Running in 3ca9c73eb496 [2023-10-24T22:05:02.654Z] Removing intermediate container 3ca9c73eb496 [2023-10-24T22:05:02.654Z] ---> 00a086e7a3ab [2023-10-24T22:05:02.654Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T22:05:02.926Z] ---> Running in 9762b275e195 [2023-10-24T22:05:04.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T22:05:04.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T22:05:06.622Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T22:05:06.622Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T22:05:06.622Z] OK: 8 MiB in 16 packages [2023-10-24T22:05:08.058Z] Removing intermediate container 9762b275e195 [2023-10-24T22:05:08.058Z] ---> e347e1c5f99d [2023-10-24T22:05:08.058Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T22:05:10.666Z] ---> 88b4788f6e60 [2023-10-24T22:05:10.666Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T22:05:10.952Z] ---> bbaada473328 [2023-10-24T22:05:10.952Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T22:05:11.546Z] ---> 42cde50e1727 [2023-10-24T22:05:11.546Z] Step 17/22 : EXPOSE 59901 [2023-10-24T22:05:11.546Z] ---> Running in b97fd437ceba [2023-10-24T22:05:11.823Z] Removing intermediate container b97fd437ceba [2023-10-24T22:05:11.823Z] ---> 4163ce18fbcd [2023-10-24T22:05:11.823Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T22:05:12.092Z] ---> Running in f2f37a9063c7 [2023-10-24T22:05:12.360Z] Removing intermediate container f2f37a9063c7 [2023-10-24T22:05:12.360Z] ---> b95a35f65450 [2023-10-24T22:05:12.360Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T22:05:12.360Z] ---> Running in 1ab94efee047 [2023-10-24T22:05:12.630Z] Removing intermediate container 1ab94efee047 [2023-10-24T22:05:12.630Z] ---> a22674ad84ef [2023-10-24T22:05:12.630Z] Step 20/22 : LABEL arch=arm64 [2023-10-24T22:05:12.896Z] ---> Running in 1d3e5d761f8c [2023-10-24T22:05:13.165Z] Removing intermediate container 1d3e5d761f8c [2023-10-24T22:05:13.165Z] ---> f8f24ee7c748 [2023-10-24T22:05:13.165Z] Step 21/22 : LABEL git_sha=3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T22:05:13.165Z] ---> Running in 914b6460a488 [2023-10-24T22:05:13.753Z] Removing intermediate container 914b6460a488 [2023-10-24T22:05:13.754Z] ---> 93b3629f88f8 [2023-10-24T22:05:13.754Z] Step 22/22 : LABEL version=3.1.0-dev.20 [2023-10-24T22:05:13.754Z] ---> Running in 8c4fd677c869 [2023-10-24T22:05:14.023Z] Removing intermediate container 8c4fd677c869 [2023-10-24T22:05:14.023Z] ---> 47335197e48b [2023-10-24T22:05:14.023Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T22:05:14.023Z] Successfully built 47335197e48b [2023-10-24T22:05:14.023Z] 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-10-24T22:05:14.151Z] provisioning config files... [2023-10-24T22:05:14.166Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/134@tmp/config3942651354074427788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:05:14.655Z] ---> docker-login.sh [2023-10-24T22:05:14.655Z] nexus3.edgexfoundry.org:10001 [2023-10-24T22:05:14.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:14.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:14.935Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:14.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:14.935Z] [2023-10-24T22:05:14.935Z] Login Succeeded [2023-10-24T22:05:14.935Z] nexus3.edgexfoundry.org:10002 [2023-10-24T22:05:15.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:15.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:15.486Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:15.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:15.486Z] [2023-10-24T22:05:15.486Z] Login Succeeded [2023-10-24T22:05:15.486Z] nexus3.edgexfoundry.org:10003 [2023-10-24T22:05:15.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:16.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:16.028Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:16.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:16.028Z] [2023-10-24T22:05:16.028Z] Login Succeeded [2023-10-24T22:05:16.028Z] nexus3.edgexfoundry.org:10004 [2023-10-24T22:05:16.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:16.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:16.579Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:16.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:16.579Z] [2023-10-24T22:05:16.579Z] Login Succeeded [2023-10-24T22:05:16.579Z] docker.io [2023-10-24T22:05:16.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T22:05:17.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T22:05:17.121Z] Configure a credential helper to remove this warning. See [2023-10-24T22:05:17.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T22:05:17.121Z] [2023-10-24T22:05:17.121Z] Login Succeeded [2023-10-24T22:05:17.121Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T22:05:17.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T22:05:17.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T22:05:17.199Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-24T22:05:17.199Z] 3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T22:05:17.199Z] latest [2023-10-24T22:05:17.199Z] 3.1.0-dev.20 [2023-10-24T22:05:17.199Z] 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T22:05:17.199Z] main [2023-10-24T22:05:17.199Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:17.545Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:17.901Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T22:05:17.901Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T22:05:17.901Z] 1cecc008b9e3: Preparing [2023-10-24T22:05:17.901Z] e42ae256046f: Preparing [2023-10-24T22:05:17.901Z] 58c094bcc2fc: Preparing [2023-10-24T22:05:17.901Z] a0986411e7bc: Preparing [2023-10-24T22:05:17.901Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:05:17.901Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:05:18.171Z] a0986411e7bc: Pushed [2023-10-24T22:05:18.171Z] 1cecc008b9e3: Pushed [2023-10-24T22:05:18.171Z] e42ae256046f: Pushed [2023-10-24T22:05:24.809Z] 58c094bcc2fc: Pushed [2023-10-24T22:05:24.809Z] 3673e51062d5a24ca3a0eb46c133605be474e190: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:25.167Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:25.522Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T22:05:25.522Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T22:05:25.522Z] 1cecc008b9e3: Preparing [2023-10-24T22:05:25.522Z] e42ae256046f: Preparing [2023-10-24T22:05:25.522Z] 58c094bcc2fc: Preparing [2023-10-24T22:05:25.522Z] a0986411e7bc: Preparing [2023-10-24T22:05:25.522Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:05:25.522Z] 1cecc008b9e3: Layer already exists [2023-10-24T22:05:25.522Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:05:25.522Z] 58c094bcc2fc: Layer already exists [2023-10-24T22:05:25.522Z] a0986411e7bc: Layer already exists [2023-10-24T22:05:25.522Z] e42ae256046f: Layer already exists [2023-10-24T22:05:25.794Z] latest: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:26.165Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:26.523Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 [2023-10-24T22:05:26.524Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T22:05:26.524Z] 1cecc008b9e3: Preparing [2023-10-24T22:05:26.524Z] e42ae256046f: Preparing [2023-10-24T22:05:26.524Z] 58c094bcc2fc: Preparing [2023-10-24T22:05:26.524Z] a0986411e7bc: Preparing [2023-10-24T22:05:26.524Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:05:26.524Z] 58c094bcc2fc: Layer already exists [2023-10-24T22:05:26.524Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:05:26.524Z] 1cecc008b9e3: Layer already exists [2023-10-24T22:05:26.524Z] e42ae256046f: Layer already exists [2023-10-24T22:05:26.524Z] a0986411e7bc: Layer already exists [2023-10-24T22:05:26.793Z] 3.1.0-dev.20: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:27.153Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:27.512Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T22:05:27.512Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T22:05:27.512Z] 1cecc008b9e3: Preparing [2023-10-24T22:05:27.512Z] e42ae256046f: Preparing [2023-10-24T22:05:27.512Z] 58c094bcc2fc: Preparing [2023-10-24T22:05:27.512Z] a0986411e7bc: Preparing [2023-10-24T22:05:27.512Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:05:27.512Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:05:27.512Z] a0986411e7bc: Layer already exists [2023-10-24T22:05:27.512Z] 1cecc008b9e3: Layer already exists [2023-10-24T22:05:27.512Z] 58c094bcc2fc: Layer already exists [2023-10-24T22:05:27.512Z] e42ae256046f: Layer already exists [2023-10-24T22:05:27.783Z] 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:28.134Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:28.475Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-24T22:05:28.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T22:05:28.475Z] 1cecc008b9e3: Preparing [2023-10-24T22:05:28.475Z] e42ae256046f: Preparing [2023-10-24T22:05:28.475Z] 58c094bcc2fc: Preparing [2023-10-24T22:05:28.475Z] a0986411e7bc: Preparing [2023-10-24T22:05:28.475Z] 5f4d9fc4d98d: Preparing [2023-10-24T22:05:28.475Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T22:05:28.475Z] a0986411e7bc: Layer already exists [2023-10-24T22:05:28.475Z] e42ae256046f: Layer already exists [2023-10-24T22:05:28.475Z] 1cecc008b9e3: Layer already exists [2023-10-24T22:05:28.475Z] 58c094bcc2fc: Layer already exists [2023-10-24T22:05:28.740Z] main: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T22:05:28.800Z] ===================================================== [Pipeline] echo [2023-10-24T22:05:28.809Z] taggedImages: [2023-10-24T22:05:28.809Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 [2023-10-24T22:05:28.809Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T22:05:28.809Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 [2023-10-24T22:05:28.809Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [2023-10-24T22:05:28.809Z] - 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-10-24T22:05:29.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:05:29.183Z] [2023-10-24T22:05:29.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:05:29.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:05:29.517Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T22:05:29.517Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T22:05:29.517Z] 04944245beec: Pulling fs layer [2023-10-24T22:05:29.517Z] 699f458cf7ca: Pulling fs layer [2023-10-24T22:05:29.517Z] 765212b225bb: Pulling fs layer [2023-10-24T22:05:29.517Z] f23df028b6ca: Pulling fs layer [2023-10-24T22:05:29.517Z] 765212b225bb: Waiting [2023-10-24T22:05:29.517Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T22:05:29.517Z] f23df028b6ca: Waiting [2023-10-24T22:05:29.517Z] d65c8cfc05b1: Waiting [2023-10-24T22:05:29.517Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T22:05:29.517Z] 2437ff75d9bd: Waiting [2023-10-24T22:05:29.787Z] 04944245beec: Verifying Checksum [2023-10-24T22:05:29.787Z] 04944245beec: Download complete [2023-10-24T22:05:29.787Z] 765212b225bb: Verifying Checksum [2023-10-24T22:05:29.787Z] 765212b225bb: Download complete [2023-10-24T22:05:29.787Z] f23df028b6ca: Verifying Checksum [2023-10-24T22:05:29.787Z] f23df028b6ca: Download complete [2023-10-24T22:05:29.787Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T22:05:29.787Z] d65c8cfc05b1: Download complete [2023-10-24T22:05:30.056Z] 699f458cf7ca: Verifying Checksum [2023-10-24T22:05:30.056Z] 699f458cf7ca: Download complete [2023-10-24T22:05:30.329Z] 8998bd30e6a1: Download complete [2023-10-24T22:05:32.917Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T22:05:32.917Z] 2437ff75d9bd: Download complete [2023-10-24T22:05:34.860Z] 8998bd30e6a1: Pull complete [2023-10-24T22:05:35.441Z] 04944245beec: Pull complete [2023-10-24T22:05:36.848Z] 699f458cf7ca: Pull complete [2023-10-24T22:05:37.115Z] 765212b225bb: Pull complete [2023-10-24T22:05:38.074Z] f23df028b6ca: Pull complete [2023-10-24T22:05:38.395Z] d65c8cfc05b1: Pull complete [2023-10-24T22:05:56.606Z] 2437ff75d9bd: Pull complete [2023-10-24T22:05:56.606Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T22:05:56.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T22:05:56.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:05:56.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container [2023-10-24T22:05:56.894Z] $ 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/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@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-10-24T22:06:00.188Z] $ docker top 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:06:01.057Z] ---> job-cost.sh [2023-10-24T22:06:01.057Z] lf-activate-venv: SKIPPING [2023-10-24T22:06:01.057Z] INFO: No Stack... [2023-10-24T22:06:01.668Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T22:06:02.253Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T22:06:02.898Z] + cat /w/workspace/device-modbus-go/134/archives/cost.csv [2023-10-24T22:06:02.898Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T22:06:02.970Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [2023-10-24T22:06:02.976Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] did not exist. Created. [2023-10-24T22:06:02.976Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T22:06:03.640Z] /w/workspace/device-modbus-go/134@tmp/durable-77a130b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T22:06:04.305Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T22:06:04.324Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T22:06:04.390Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T22:06:04.396Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T22:06:04.415Z] $ docker stop --time=1 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 [2023-10-24T22:06:05.984Z] $ docker rm -f --volumes 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 [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-10-24T22:06:06.385Z] provisioning config files... [2023-10-24T22:06:06.391Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9868057942754321524tmp [Pipeline] { [Pipeline] sh [2023-10-24T22:06:06.686Z] + set +x [2023-10-24T22:06:06.686Z] + + bash -s -- [2023-10-24T22:06:06.686Z] curl -s https://codecov.io/bash [2023-10-24T22:06:06.686Z] [2023-10-24T22:06:06.686Z] _____ _ [2023-10-24T22:06:06.686Z] / ____| | | [2023-10-24T22:06:06.686Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T22:06:06.686Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T22:06:06.686Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T22:06:06.686Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T22:06:06.686Z] Bash-1.0.6 [2023-10-24T22:06:06.686Z] [2023-10-24T22:06:06.686Z] [2023-10-24T22:06:06.686Z] ==> git version 2.25.1 found [2023-10-24T22:06:06.686Z] ==> 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-10-24T22:06:06.686Z] Release-Date: 2020-01-08 [2023-10-24T22:06:06.686Z] 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-10-24T22:06:06.686Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T22:06:06.686Z] ==> Jenkins CI detected. [2023-10-24T22:06:06.686Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T22:06:06.686Z] project root: . [2023-10-24T22:06:06.686Z] --> token set from env [2023-10-24T22:06:06.686Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T22:06:06.686Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T22:06:06.686Z] ==> Python coveragepy not found [2023-10-24T22:06:06.686Z] ==> Searching for coverage reports in: [2023-10-24T22:06:06.686Z] + . [2023-10-24T22:06:06.946Z] -> Found 1 reports [2023-10-24T22:06:06.946Z] ==> Detecting git/mercurial file structure [2023-10-24T22:06:06.946Z] ==> Reading reports [2023-10-24T22:06:06.946Z] + ./coverage.out bytes=24334 [2023-10-24T22:06:06.946Z] ==> Appending adjustments [2023-10-24T22:06:06.946Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T22:06:06.946Z] + Found adjustments [2023-10-24T22:06:06.946Z] ==> Gzipping contents [2023-10-24T22:06:06.946Z] 4.0K /tmp/codecov.5eW51Z.gz [2023-10-24T22:06:06.946Z] ==> Uploading reports [2023-10-24T22:06:06.946Z] url: https://codecov.io [2023-10-24T22:06:06.946Z] query: branch=main&commit=3673e51062d5a24ca3a0eb46c133605be474e190&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T22:06:06.946Z] -> Pinging Codecov [2023-10-24T22:06:06.946Z] 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=3673e51062d5a24ca3a0eb46c133605be474e190&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T22:06:07.207Z] -> Uploading to [2023-10-24T22:06:07.207Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/3673e51062d5a24ca3a0eb46c133605be474e190/ddefd78e-d463-4847-9507-11662fc6fad0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T220606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fcb916732142e19c485353c3ce9f9815f3691c20dfbe53d8839575f466a2962 [2023-10-24T22:06:07.207Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T22:06:07.207Z] Dload Upload Total Spent Left Speed [2023-10-24T22:06:07.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 12082 --:--:-- --:--:-- --:--:-- 12044 [2023-10-24T22:06:07.465Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } [2023-10-24T22:06:07.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T22:06:07.570Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T22:06:07.580Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:07.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:06:07.879Z] [2023-10-24T22:06:07.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:08.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:06:08.171Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T22:06:08.171Z] df9b9388f04a: Pulling fs layer [2023-10-24T22:06:08.171Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T22:06:08.171Z] 25bc292e5bac: Pulling fs layer [2023-10-24T22:06:08.171Z] 114826534d7a: Pulling fs layer [2023-10-24T22:06:08.171Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T22:06:08.171Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T22:06:08.171Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T22:06:08.171Z] 4657fd5d0bcf: Waiting [2023-10-24T22:06:08.171Z] 6ad1cebc031e: Waiting [2023-10-24T22:06:08.171Z] 8a3aa393b2d8: Waiting [2023-10-24T22:06:08.171Z] 114826534d7a: Waiting [2023-10-24T22:06:08.171Z] 25bc292e5bac: Verifying Checksum [2023-10-24T22:06:08.171Z] 25bc292e5bac: Download complete [2023-10-24T22:06:08.171Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T22:06:08.171Z] 52dc419b0ee2: Download complete [2023-10-24T22:06:08.171Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T22:06:08.171Z] 4657fd5d0bcf: Download complete [2023-10-24T22:06:08.171Z] df9b9388f04a: Verifying Checksum [2023-10-24T22:06:08.171Z] df9b9388f04a: Download complete [2023-10-24T22:06:08.438Z] df9b9388f04a: Pull complete [2023-10-24T22:06:08.438Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T22:06:08.438Z] 6ad1cebc031e: Download complete [2023-10-24T22:06:08.438Z] 52dc419b0ee2: Pull complete [2023-10-24T22:06:08.438Z] 25bc292e5bac: Pull complete [2023-10-24T22:06:09.004Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T22:06:09.004Z] 8a3aa393b2d8: Download complete [2023-10-24T22:06:09.004Z] 114826534d7a: Verifying Checksum [2023-10-24T22:06:09.004Z] 114826534d7a: Download complete [2023-10-24T22:06:12.289Z] 114826534d7a: Pull complete [2023-10-24T22:06:12.289Z] 4657fd5d0bcf: Pull complete [2023-10-24T22:06:12.547Z] 6ad1cebc031e: Pull complete [2023-10-24T22:06:15.071Z] 8a3aa393b2d8: Pull complete [2023-10-24T22:06:15.071Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T22:06:15.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T22:06:15.071Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:15.147Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:06:15.174Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T22:06:16.531Z] $ docker top ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T22:06:16.597Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-24T22:06:16.877Z] + set -o pipefail [2023-10-24T22:06:16.877Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/080d935e-77c4-4481-9b15-1ea79e874941 [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] [2023-10-24T22:06:29.345Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T22:06:29.345Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T22:06:29.345Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T22:06:29.355Z] $ docker stop --time=1 ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc [2023-10-24T22:06:31.252Z] $ docker rm -f --volumes ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc [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-10-24T22:06:32.029Z] + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] sh [2023-10-24T22:06:32.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:06:32.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:32.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:06:32.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:32.682Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:06:32.712Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:06:33.039Z] $ docker top 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:06:33.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:06:33.121Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:06:33.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:06:33.235Z] $ docker exec 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 ssh-agent [2023-10-24T22:06:33.331Z] SSH_AUTH_SOCK=/tmp/ssh-ZkRXAoDcsjxX/agent.32 [2023-10-24T22:06:33.331Z] SSH_AGENT_PID=38 [2023-10-24T22:06:33.335Z] Running ssh-add (command line suppressed) [2023-10-24T22:06:33.442Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13824738546433947675.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13824738546433947675.key) [2023-10-24T22:06:33.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:06:33.746Z] + git semver tag [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,905 [run_tag] DEBUG tag force:False [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,905 [check_head_tag] DEBUG check head tag [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,906 [execute] INFO git cat-file --batch-check [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,909 [execute] INFO git cat-file --batch [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,924 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,924 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,925 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:06:34.004Z] 2023-10-24 22:06:33,929 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:34.004Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T22:06:34.013Z] $ docker exec --env ******** --env ******** 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 ssh-agent -k [2023-10-24T22:06:34.106Z] unset SSH_AUTH_SOCK; [2023-10-24T22:06:34.107Z] unset SSH_AGENT_PID; [2023-10-24T22:06:34.108Z] echo Agent pid 38 killed; [2023-10-24T22:06:34.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:06:34.425Z] + git semver [Pipeline] } [2023-10-24T22:06:34.694Z] $ docker stop --time=1 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 [2023-10-24T22:06:35.988Z] $ docker rm -f --volumes 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:36.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:06:36.370Z] [2023-10-24T22:06:36.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:36.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:06:36.665Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T22:06:36.665Z] ab5ef0e58194: Pulling fs layer [2023-10-24T22:06:36.665Z] 9712f1f96733: Pulling fs layer [2023-10-24T22:06:36.665Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T22:06:36.665Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T22:06:36.665Z] e9a5061849ea: Pulling fs layer [2023-10-24T22:06:36.665Z] d747dcd14b5f: Pulling fs layer [2023-10-24T22:06:36.665Z] 2de7ff778b66: Pulling fs layer [2023-10-24T22:06:36.665Z] 0d9ebad4ef96: Waiting [2023-10-24T22:06:36.665Z] e9a5061849ea: Waiting [2023-10-24T22:06:36.665Z] 2de7ff778b66: Waiting [2023-10-24T22:06:36.665Z] d747dcd14b5f: Waiting [2023-10-24T22:06:36.924Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T22:06:36.924Z] 63f879dbbcfc: Download complete [2023-10-24T22:06:37.182Z] e9a5061849ea: Verifying Checksum [2023-10-24T22:06:37.182Z] e9a5061849ea: Download complete [2023-10-24T22:06:37.182Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T22:06:37.182Z] 0d9ebad4ef96: Download complete [2023-10-24T22:06:37.182Z] d747dcd14b5f: Download complete [2023-10-24T22:06:37.182Z] ab5ef0e58194: Verifying Checksum [2023-10-24T22:06:37.182Z] ab5ef0e58194: Download complete [2023-10-24T22:06:37.182Z] 2de7ff778b66: Verifying Checksum [2023-10-24T22:06:37.182Z] 2de7ff778b66: Download complete [2023-10-24T22:06:39.713Z] ab5ef0e58194: Pull complete [2023-10-24T22:06:39.713Z] 9712f1f96733: Pull complete [2023-10-24T22:06:40.276Z] 63f879dbbcfc: Pull complete [2023-10-24T22:06:44.448Z] 0d9ebad4ef96: Pull complete [2023-10-24T22:06:44.448Z] e9a5061849ea: Pull complete [2023-10-24T22:06:44.448Z] d747dcd14b5f: Pull complete [2023-10-24T22:06:45.012Z] 2de7ff778b66: Pull complete [2023-10-24T22:06:45.012Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T22:06:45.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T22:06:45.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:45.371Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:06:45.394Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T22:06:46.932Z] $ docker top aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:06:47.007Z] provisioning config files... [2023-10-24T22:06:47.012Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config217970747648173903tmp [2023-10-24T22:06:47.022Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9195690069356052887tmp [2023-10-24T22:06:47.031Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1889370955293600139tmp [Pipeline] { [Pipeline] echo [2023-10-24T22:06:47.047Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:06:47.333Z] ---> sigul-configuration.sh [2023-10-24T22:06:47.333Z] gpg: directory `/root/.gnupg' created [2023-10-24T22:06:47.333Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T22:06:47.333Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T22:06:47.333Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T22:06:47.333Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T22:06:47.333Z] gpg: CAST5 encrypted data [2023-10-24T22:06:47.333Z] gpg: encrypted with 1 passphrase [2023-10-24T22:06:47.333Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T22:06:47.621Z] + mkdir /home/jenkins [2023-10-24T22:06:47.622Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T22:06:47.906Z] + 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-10-24T22:06:47.914Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:06:48.196Z] ---> sigul-install.sh [2023-10-24T22:06:48.196Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T22:06:48.483Z] + git tag --list [2023-10-24T22:06:48.484Z] 0.7.1 [2023-10-24T22:06:48.484Z] v1.0.0 [2023-10-24T22:06:48.484Z] v1.1.0 [2023-10-24T22:06:48.484Z] v1.1.1 [2023-10-24T22:06:48.484Z] v1.2.2 [2023-10-24T22:06:48.484Z] v1.3.0 [2023-10-24T22:06:48.484Z] v1.3.1 [2023-10-24T22:06:48.484Z] v2.0.0 [2023-10-24T22:06:48.484Z] v2.1.0 [2023-10-24T22:06:48.484Z] v2.1.1 [2023-10-24T22:06:48.484Z] v2.2.0 [2023-10-24T22:06:48.484Z] v2.3.0 [2023-10-24T22:06:48.484Z] v3.0 [2023-10-24T22:06:48.484Z] v3.0.0 [2023-10-24T22:06:48.484Z] v3.1.0-dev.1 [2023-10-24T22:06:48.484Z] v3.1.0-dev.10 [2023-10-24T22:06:48.484Z] v3.1.0-dev.11 [2023-10-24T22:06:48.484Z] v3.1.0-dev.12 [2023-10-24T22:06:48.484Z] v3.1.0-dev.13 [2023-10-24T22:06:48.484Z] v3.1.0-dev.14 [2023-10-24T22:06:48.484Z] v3.1.0-dev.15 [2023-10-24T22:06:48.484Z] v3.1.0-dev.16 [2023-10-24T22:06:48.484Z] v3.1.0-dev.17 [2023-10-24T22:06:48.484Z] v3.1.0-dev.18 [2023-10-24T22:06:48.484Z] v3.1.0-dev.19 [2023-10-24T22:06:48.484Z] v3.1.0-dev.2 [2023-10-24T22:06:48.484Z] v3.1.0-dev.20 [2023-10-24T22:06:48.484Z] v3.1.0-dev.3 [2023-10-24T22:06:48.484Z] v3.1.0-dev.4 [2023-10-24T22:06:48.484Z] v3.1.0-dev.5 [2023-10-24T22:06:48.484Z] v3.1.0-dev.6 [2023-10-24T22:06:48.484Z] v3.1.0-dev.7 [2023-10-24T22:06:48.484Z] v3.1.0-dev.8 [2023-10-24T22:06:48.484Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T22:06:48.771Z] + lftools sign git-tag v3.1.0-dev.20 [2023-10-24T22:06:49.337Z] Signing Git tag with Sigul... [2023-10-24T22:06:49.337Z] Signing v3.1.0-dev.20 [Pipeline] echo [2023-10-24T22:06:49.603Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:06:49.883Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T22:06:49.890Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T22:06:49.911Z] $ docker stop --time=1 aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e [2023-10-24T22:06:51.189Z] $ docker rm -f --volumes aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T22:06:51.584Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:06:51.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:51.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:06:51.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:51.957Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:06:51.987Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:06:52.359Z] $ docker top c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:06:52.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:06:52.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:06:52.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:06:52.557Z] $ docker exec c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 ssh-agent [2023-10-24T22:06:52.657Z] SSH_AUTH_SOCK=/tmp/ssh-dNBzh8VFF4K2/agent.32 [2023-10-24T22:06:52.657Z] SSH_AGENT_PID=38 [2023-10-24T22:06:52.662Z] Running ssh-add (command line suppressed) [2023-10-24T22:06:52.775Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_523902134026910912.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_523902134026910912.key) [2023-10-24T22:06:52.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:06:53.075Z] + git semver bump pre [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [bump_version] DEBUG bumped version:3.1.0-dev.21 [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,251 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,253 [execute] INFO git cat-file --batch-check [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,259 [execute] INFO git cat-file --batch [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:06:53.334Z] 2023-10-24 22:06:53,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:53.334Z] 3.1.0-dev.21 [Pipeline] } [2023-10-24T22:06:53.344Z] $ docker exec --env ******** --env ******** c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 ssh-agent -k [2023-10-24T22:06:53.438Z] unset SSH_AUTH_SOCK; [2023-10-24T22:06:53.439Z] unset SSH_AGENT_PID; [2023-10-24T22:06:53.439Z] echo Agent pid 38 killed; [2023-10-24T22:06:53.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:06:53.754Z] + git semver [Pipeline] } [2023-10-24T22:06:54.024Z] $ docker stop --time=1 c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 [2023-10-24T22:06:55.306Z] $ docker rm -f --volumes c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T22:06:55.646Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T22:06:55.646Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:06:55.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T22:06:55.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:06:56.012Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:06:56.040Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T22:06:56.346Z] $ docker top f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T22:06:56.427Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T22:06:56.427Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T22:06:56.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T22:06:56.542Z] $ docker exec f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d ssh-agent [2023-10-24T22:06:56.654Z] SSH_AUTH_SOCK=/tmp/ssh-jWAMYY8uDGE8/agent.32 [2023-10-24T22:06:56.654Z] SSH_AGENT_PID=38 [2023-10-24T22:06:56.659Z] Running ssh-add (command line suppressed) [2023-10-24T22:06:56.759Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5544643895249734303.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5544643895249734303.key) [2023-10-24T22:06:56.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T22:06:57.062Z] + git semver push [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,254 [run_push] DEBUG push [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,254 [execute] INFO git cat-file --batch-check [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,259 [execute] INFO git rev-list d9f732f57eb4bd808fd4e9198d5e164e567bc66e -- [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,259 [execute] DEBUG Popen(['git', 'rev-list', 'd9f732f57eb4bd808fd4e9198d5e164e567bc66e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,269 [execute] INFO git fetch -v origin [2023-10-24T22:06:57.322Z] 2023-10-24 22:06:57,269 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T22:06:57.891Z] 2023-10-24 22:06:57,812 [run_push] DEBUG no remote changes detected [2023-10-24T22:06:57.891Z] 2023-10-24 22:06:57,812 [execute] INFO git push origin semver [2023-10-24T22:06:57.891Z] 2023-10-24 22:06:57,813 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T22:06:58.828Z] 2023-10-24 22:06:58,590 [run_push] DEBUG push all version tags [2023-10-24T22:06:58.828Z] 2023-10-24 22:06:58,590 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T22:06:58.828Z] 2023-10-24 22:06:58,591 [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-10-24T22:06:59.396Z] 2023-10-24 22:06:59,354 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T22:06:59.396Z] 3.1.0-dev.21 [Pipeline] } [2023-10-24T22:06:59.405Z] $ docker exec --env ******** --env ******** f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d ssh-agent -k [2023-10-24T22:06:59.507Z] unset SSH_AUTH_SOCK; [2023-10-24T22:06:59.509Z] unset SSH_AGENT_PID; [2023-10-24T22:06:59.510Z] echo Agent pid 38 killed; [2023-10-24T22:06:59.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T22:06:59.823Z] + git semver [Pipeline] } [2023-10-24T22:07:00.095Z] $ docker stop --time=1 f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d [2023-10-24T22:07:01.381Z] $ docker rm -f --volumes f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d [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-10-24T22:07:01.945Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-24T22:07:01.945Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T22:07:01.945Z] total 16 [2023-10-24T22:07:01.945Z] drwxr-xr-x 3 root root 4096 Oct 24 21:55 . [2023-10-24T22:07:01.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:06 .. [2023-10-24T22:07:01.945Z] drwxr-xr-x 2 root root 4096 Oct 24 21:55 cost [2023-10-24T22:07:01.945Z] -rw-r--r-- 1 root root 88 Oct 24 21:55 cost.csv [2023-10-24T22:07:01.945Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T22:07:01.945Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T22:07:01.945Z] total 16 [2023-10-24T22:07:01.945Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:55 . [2023-10-24T22:07:01.945Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:06 .. [2023-10-24T22:07:01.945Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:55 cost [2023-10-24T22:07:01.945Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 21:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:02.232Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:03.086Z] ---> package-listing.sh [2023-10-24T22:07:03.086Z] ++ facter osfamily [2023-10-24T22:07:03.086Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T22:07:03.345Z] + OS_FAMILY=debian [2023-10-24T22:07:03.345Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T22:07:03.345Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T22:07:03.345Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T22:07:03.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T22:07:03.345Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T22:07:03.345Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T22:07:03.345Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T22:07:03.345Z] + case "${OS_FAMILY}" in [2023-10-24T22:07:03.345Z] + dpkg -l [2023-10-24T22:07:03.345Z] + grep '^ii' [2023-10-24T22:07:03.345Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T22:07:03.345Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T22:07:03.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T22:07:03.345Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T22:07:03.345Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-24T22:07:03.345Z] + 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-10-24T22:07:03.357Z] 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-10-24T22:07:03.651Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T22:07:04.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T22:07:04.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T22:07:04.271Z] prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container [2023-10-24T22:07:04.316Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T22:07:04.556Z] $ docker top 55c78da265b922a10e86e40f854c28e11b0cfa80408072d9eb25fd06c94c6715 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T22:07:04.949Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T22:07:05.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T22:07:05.538Z] + ls /var/log/sa-host [2023-10-24T22:07:05.538Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T22:07:05.604Z] provisioning config files... [2023-10-24T22:07:05.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7311894477260540735tmp [Pipeline] { [Pipeline] echo [2023-10-24T22:07:05.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:05.903Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T22:07:05.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:06.232Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T22:07:06.239Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:06.522Z] ---> sudo-logs.sh [2023-10-24T22:07:06.522Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T22:07:06.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:06.830Z] ---> job-cost.sh [2023-10-24T22:07:06.830Z] lf-activate-venv: SKIPPING [2023-10-24T22:07:06.830Z] DEBUG: total: 0.2199999988079071 [2023-10-24T22:07:06.830Z] INFO: Retrieving Stack Cost... [2023-10-24T22:07:07.086Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T22:07:07.653Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T22:07:07.665Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T22:07:07.945Z] ---> logs-deploy.sh [2023-10-24T22:07:07.945Z] lf-activate-venv: SKIPPING [2023-10-24T22:07:07.945Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/134 [2023-10-24T22:07:07.945Z] INFO: archiving workspace using pattern(s): [2023-10-24T22:07:08.884Z] Archives upload complete. [2023-10-24T22:07:08.884Z] INFO: archiving logs to Nexus