Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4f8d58e38c56fa084baf69a7312e6a371ed19c6 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-ssh6174648436358352838.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-ssh1030239780912703400.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-ssh6060243982009517519.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-ssh11772429596832084995.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-ssh12036244554085208090.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9118 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 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 (main) Commit message: "Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > 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 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 > git rev-list --no-walk e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-12T07:15:08.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-12T07:15:08.359Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-12T07:15:08.383Z] ========================================================= [2023-10-12T07:15:08.383Z] EdgeX Global Pipelines Version Info [2023-10-12T07:15:08.383Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:15:09.104Z] ------------------- [2023-10-12T07:15:09.105Z] stable info: [2023-10-12T07:15:09.105Z] ------------------- [2023-10-12T07:15:09.105Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-12T07:15:09.105Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T07:15:09.105Z] Message: update stable to v1.0.254 [2023-10-12T07:15:09.675Z] ------------------- [2023-10-12T07:15:09.675Z] experimental info: [2023-10-12T07:15:09.675Z] ------------------- [2023-10-12T07:15:09.675Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-12T07:15:09.675Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T07:15:09.675Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-12T07:15:09.824Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-12T07:15:09.835Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-12T07:15:09.852Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-12T07:15:09.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-12T07:15:09.882Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-12T07:15:09.898Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-12T07:15:09.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-12T07:15:09.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-12T07:15:09.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-12T07:15:09.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-12T07:15:09.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-12T07:15:10.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-12T07:15:10.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-12T07:15:10.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-12T07:15:10.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T07:15:10.059Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T07:15:10.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T07:15:10.088Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T07:15:10.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-12T07:15:10.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-12T07:15:10.132Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-12T07:15:10.150Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-12T07:15:10.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-12T07:15:10.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-12T07:15:10.192Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-12T07:15:10.213Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-12T07:15:10.225Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-12T07:15:10.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-12T07:15:10.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-12T07:15:10.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-12T07:15:10.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo [2023-10-12T07:15:10.334Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4f8d58 [Pipeline] echo [2023-10-12T07:15:10.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:15:10.417Z] provisioning config files... [2023-10-12T07:15:10.434Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16266742027659266164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:15:10.736Z] ---> docker-login.sh [2023-10-12T07:15:10.736Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:15:10.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:10.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:10.997Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:10.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:10.997Z] [2023-10-12T07:15:10.997Z] Login Succeeded [2023-10-12T07:15:10.997Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:15:11.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:11.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:11.256Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:11.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:11.256Z] [2023-10-12T07:15:11.256Z] Login Succeeded [2023-10-12T07:15:11.256Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:15:11.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:11.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:11.256Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:11.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:11.256Z] [2023-10-12T07:15:11.256Z] Login Succeeded [2023-10-12T07:15:11.256Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:15:11.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:11.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:11.515Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:11.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:11.515Z] [2023-10-12T07:15:11.515Z] Login Succeeded [2023-10-12T07:15:11.515Z] docker.io [2023-10-12T07:15:11.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:11.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:11.775Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:11.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:11.775Z] [2023-10-12T07:15:11.775Z] Login Succeeded [2023-10-12T07:15:11.775Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:15:11.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-12T07:15:12.186Z] + git rev-list -1 --merges c4f8d58e38c56fa084baf69a7312e6a371ed19c6~1..c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo [2023-10-12T07:15:12.234Z] -----------> git rev-list -1 --merges c4f8d58e38c56fa084baf69a7312e6a371ed19c6~1..c4f8d58e38c56fa084baf69a7312e6a371ed19c6 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:15:12.234Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [false] [Pipeline] sh [2023-10-12T07:15:12.517Z] + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo [2023-10-12T07:15:12.532Z] ========================================================= [2023-10-12T07:15:12.532Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-12T07:15:12.532Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:15:12.861Z] + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo [2023-10-12T07:15:12.872Z] [semverPrep] GIT_COMMIT: c4f8d58e38c56fa084baf69a7312e6a371ed19c6, Commit Message: Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo [2023-10-12T07:15:12.881Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-12T07:15:13.248Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:15:13.248Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-12T07:15:13.248Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-12T07:15:13.248Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-12T07:15:13.248Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-12T07:15:13.248Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-12T07:15:13.248Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:15:13.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:15:13.662Z] [2023-10-12T07:15:13.662Z] 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-12T07:15:13.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:15:13.958Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-12T07:15:13.958Z] b85a868b505f: Pulling fs layer [2023-10-12T07:15:13.958Z] e2be974225ed: Pulling fs layer [2023-10-12T07:15:13.958Z] 339a4e72a1f5: Pulling fs layer [2023-10-12T07:15:13.958Z] 988bab9f4d93: Pulling fs layer [2023-10-12T07:15:13.958Z] 1469e6f7b9e6: Pulling fs layer [2023-10-12T07:15:13.958Z] eaf3925da568: Pulling fs layer [2023-10-12T07:15:13.958Z] bab4dde63d76: Pulling fs layer [2023-10-12T07:15:13.958Z] bde34c3a00c8: Pulling fs layer [2023-10-12T07:15:13.958Z] b352a97aabf1: Pulling fs layer [2023-10-12T07:15:13.958Z] 4872d77fe225: Pulling fs layer [2023-10-12T07:15:13.958Z] 5851b861e8e6: Pulling fs layer [2023-10-12T07:15:13.958Z] bde34c3a00c8: Waiting [2023-10-12T07:15:13.958Z] b352a97aabf1: Waiting [2023-10-12T07:15:13.958Z] 4872d77fe225: Waiting [2023-10-12T07:15:13.958Z] 5851b861e8e6: Waiting [2023-10-12T07:15:13.958Z] eaf3925da568: Waiting [2023-10-12T07:15:13.958Z] 988bab9f4d93: Waiting [2023-10-12T07:15:13.959Z] bab4dde63d76: Waiting [2023-10-12T07:15:13.959Z] 1469e6f7b9e6: Waiting [2023-10-12T07:15:13.959Z] e2be974225ed: Verifying Checksum [2023-10-12T07:15:13.959Z] e2be974225ed: Download complete [2023-10-12T07:15:13.959Z] 988bab9f4d93: Verifying Checksum [2023-10-12T07:15:13.959Z] 988bab9f4d93: Download complete [2023-10-12T07:15:14.218Z] 1469e6f7b9e6: Verifying Checksum [2023-10-12T07:15:14.218Z] 1469e6f7b9e6: Download complete [2023-10-12T07:15:14.218Z] eaf3925da568: Download complete [2023-10-12T07:15:14.218Z] 339a4e72a1f5: Verifying Checksum [2023-10-12T07:15:14.218Z] 339a4e72a1f5: Download complete [2023-10-12T07:15:14.218Z] bde34c3a00c8: Verifying Checksum [2023-10-12T07:15:14.218Z] bde34c3a00c8: Download complete [2023-10-12T07:15:14.218Z] b352a97aabf1: Download complete [2023-10-12T07:15:14.218Z] 4872d77fe225: Download complete [2023-10-12T07:15:14.218Z] 5851b861e8e6: Verifying Checksum [2023-10-12T07:15:14.218Z] 5851b861e8e6: Download complete [2023-10-12T07:15:14.218Z] b85a868b505f: Verifying Checksum [2023-10-12T07:15:14.218Z] b85a868b505f: Download complete [2023-10-12T07:15:14.478Z] bab4dde63d76: Verifying Checksum [2023-10-12T07:15:14.478Z] bab4dde63d76: Download complete [2023-10-12T07:15:15.924Z] b85a868b505f: Pull complete [2023-10-12T07:15:15.924Z] e2be974225ed: Pull complete [2023-10-12T07:15:16.495Z] 339a4e72a1f5: Pull complete [2023-10-12T07:15:16.495Z] 988bab9f4d93: Pull complete [2023-10-12T07:15:17.445Z] 1469e6f7b9e6: Pull complete [2023-10-12T07:15:17.445Z] eaf3925da568: Pull complete [2023-10-12T07:15:19.353Z] bab4dde63d76: Pull complete [2023-10-12T07:15:19.353Z] bde34c3a00c8: Pull complete [2023-10-12T07:15:19.353Z] b352a97aabf1: Pull complete [2023-10-12T07:15:19.353Z] 4872d77fe225: Pull complete [2023-10-12T07:15:19.613Z] 5851b861e8e6: Pull complete [2023-10-12T07:15:19.613Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-12T07:15:19.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:15:19.613Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:15:19.717Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:15:19.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:15:24.184Z] $ docker top e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b -eo pid,comm [2023-10-12T07:15:24.237Z] 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-12T07:15:24.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:15:24.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:15:24.267Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:15:24.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:15:24.382Z] $ docker exec e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent [2023-10-12T07:15:24.507Z] SSH_AUTH_SOCK=/tmp/ssh-30wbOtvRiW77/agent.32 [2023-10-12T07:15:24.507Z] SSH_AGENT_PID=38 [2023-10-12T07:15:24.512Z] Running ssh-add (command line suppressed) [2023-10-12T07:15:24.614Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8356308202806197713.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8356308202806197713.key) [2023-10-12T07:15:24.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:15:24.912Z] + git tag --points-at HEAD [Pipeline] } [2023-10-12T07:15:24.932Z] $ docker exec --env ******** --env ******** e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent -k [2023-10-12T07:15:25.030Z] unset SSH_AUTH_SOCK; [2023-10-12T07:15:25.030Z] unset SSH_AGENT_PID; [2023-10-12T07:15:25.030Z] echo Agent pid 38 killed; [2023-10-12T07:15:25.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-12T07:15:25.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:15:25.068Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:15:25.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:15:25.202Z] $ docker exec e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent [2023-10-12T07:15:25.314Z] SSH_AUTH_SOCK=/tmp/ssh-j0t6s2GeWe5B/agent.71 [2023-10-12T07:15:25.314Z] SSH_AGENT_PID=77 [2023-10-12T07:15:25.320Z] Running ssh-add (command line suppressed) [2023-10-12T07:15:25.436Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8212021913775115360.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8212021913775115360.key) [2023-10-12T07:15:25.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:15:25.739Z] + git semver init [2023-10-12T07:15:25.999Z] 2023-10-12 07:15:25,924 [run_init] DEBUG init version:0.0.0 force:False [2023-10-12T07:15:25.999Z] 2023-10-12 07:15:25,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-12T07:15:25.999Z] 2023-10-12 07:15:25,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-12T07:15:25.999Z] 2023-10-12 07:15:25,925 [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-12T07:15:26.941Z] 2023-10-12 07:15:26,834 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-12T07:15:26.941Z] 2023-10-12 07:15:26,835 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-12T07:15:26.941Z] 2023-10-12 07:15:26,835 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:15:26.941Z] 2023-10-12 07:15:26,835 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:15:26.941Z] 3.1.0-dev.16 [Pipeline] } [2023-10-12T07:15:26.953Z] $ docker exec --env ******** --env ******** e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent -k [2023-10-12T07:15:27.058Z] unset SSH_AUTH_SOCK; [2023-10-12T07:15:27.058Z] unset SSH_AGENT_PID; [2023-10-12T07:15:27.059Z] echo Agent pid 77 killed; [2023-10-12T07:15:27.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:15:27.378Z] + git semver [Pipeline] } [2023-10-12T07:15:27.654Z] $ docker stop --time=1 e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b [2023-10-12T07:15:28.953Z] $ docker rm -f --volumes e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:15:29.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-12T07:15:29.527Z] Stashed 1 file(s) [Pipeline] echo [2023-10-12T07:15:29.529Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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-12T07:15:29.674Z] provisioning config files... [2023-10-12T07:15:29.683Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18343000754138221202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:15:29.977Z] ---> docker-login.sh [2023-10-12T07:15:29.977Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:15:29.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:29.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:29.978Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:29.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:29.978Z] [2023-10-12T07:15:29.978Z] Login Succeeded [2023-10-12T07:15:29.978Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:15:29.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:29.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:29.978Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:29.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:29.978Z] [2023-10-12T07:15:29.978Z] Login Succeeded [2023-10-12T07:15:29.978Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:15:30.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:30.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:30.238Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:30.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:30.238Z] [2023-10-12T07:15:30.238Z] Login Succeeded [2023-10-12T07:15:30.238Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:15:30.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:30.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:30.238Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:30.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:30.238Z] [2023-10-12T07:15:30.238Z] Login Succeeded [2023-10-12T07:15:30.238Z] docker.io [2023-10-12T07:15:30.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:15:30.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:15:30.497Z] Configure a credential helper to remove this warning. See [2023-10-12T07:15:30.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:15:30.497Z] [2023-10-12T07:15:30.497Z] Login Succeeded [2023-10-12T07:15:30.497Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:15:30.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T07:15:30.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:15:30.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:15:30.604Z] ========================================================= [2023-10-12T07:15:30.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-12T07:15:30.604Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:15:30.906Z] + 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-12T07:15:30.907Z] Sending build context to Docker daemon 6.5MB [2023-10-12T07:15:30.907Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:15:30.907Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T07:15:30.907Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-12T07:15:30.907Z] 7264a8db6415: Pulling fs layer [2023-10-12T07:15:30.907Z] c4d48a809fc2: Pulling fs layer [2023-10-12T07:15:30.907Z] 4f1c88b9dad5: Pulling fs layer [2023-10-12T07:15:30.907Z] ad3a456e5733: Pulling fs layer [2023-10-12T07:15:30.907Z] 33e27b845d1e: Pulling fs layer [2023-10-12T07:15:30.907Z] c68163c4e522: Pulling fs layer [2023-10-12T07:15:30.907Z] 50da416c3ac9: Pulling fs layer [2023-10-12T07:15:30.907Z] 23d2d4c4bb30: Pulling fs layer [2023-10-12T07:15:30.907Z] ad3a456e5733: Waiting [2023-10-12T07:15:30.907Z] 33e27b845d1e: Waiting [2023-10-12T07:15:30.907Z] c68163c4e522: Waiting [2023-10-12T07:15:30.907Z] 50da416c3ac9: Waiting [2023-10-12T07:15:30.907Z] 23d2d4c4bb30: Waiting [2023-10-12T07:15:30.907Z] c4d48a809fc2: Download complete [2023-10-12T07:15:30.907Z] ad3a456e5733: Verifying Checksum [2023-10-12T07:15:30.907Z] ad3a456e5733: Download complete [2023-10-12T07:15:30.907Z] 33e27b845d1e: Verifying Checksum [2023-10-12T07:15:30.907Z] 33e27b845d1e: Download complete [2023-10-12T07:15:30.907Z] 7264a8db6415: Verifying Checksum [2023-10-12T07:15:30.907Z] 7264a8db6415: Download complete [2023-10-12T07:15:31.166Z] c68163c4e522: Verifying Checksum [2023-10-12T07:15:31.166Z] c68163c4e522: Download complete [2023-10-12T07:15:31.166Z] 7264a8db6415: Pull complete [2023-10-12T07:15:31.166Z] 23d2d4c4bb30: Verifying Checksum [2023-10-12T07:15:31.166Z] 23d2d4c4bb30: Download complete [2023-10-12T07:15:31.425Z] c4d48a809fc2: Pull complete [2023-10-12T07:15:31.425Z] 4f1c88b9dad5: Verifying Checksum [2023-10-12T07:15:31.425Z] 4f1c88b9dad5: Download complete [2023-10-12T07:15:31.994Z] 50da416c3ac9: Verifying Checksum [2023-10-12T07:15:31.994Z] 50da416c3ac9: Download complete [2023-10-12T07:15:35.281Z] 4f1c88b9dad5: Pull complete [2023-10-12T07:15:35.281Z] ad3a456e5733: Pull complete [2023-10-12T07:15:35.281Z] 33e27b845d1e: Pull complete [2023-10-12T07:15:35.540Z] c68163c4e522: Pull complete [2023-10-12T07:15:38.068Z] 50da416c3ac9: Pull complete [2023-10-12T07:15:38.327Z] 23d2d4c4bb30: Pull complete [2023-10-12T07:15:38.327Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-12T07:15:38.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-12T07:15:38.327Z] ---> 0786185ac409 [2023-10-12T07:15:38.327Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:15:44.644Z] Still waiting to schedule task [2023-10-12T07:15:44.644Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-12T07:15:46.467Z] ---> Running in e50957fb51b8 [2023-10-12T07:15:46.467Z] Removing intermediate container e50957fb51b8 [2023-10-12T07:15:46.467Z] ---> 3e31d2f03486 [2023-10-12T07:15:46.467Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:15:46.467Z] ---> Running in a0afc9ad28a1 [2023-10-12T07:15:46.467Z] Removing intermediate container a0afc9ad28a1 [2023-10-12T07:15:46.467Z] ---> 85ec3555875a [2023-10-12T07:15:46.467Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-12T07:15:46.467Z] ---> Running in b0fff1d7a175 [2023-10-12T07:15:46.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:15:46.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:15:46.467Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-12T07:15:46.467Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-12T07:15:46.467Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-12T07:15:46.467Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:15:46.467Z] OK: 270 MiB in 60 packages [2023-10-12T07:15:47.406Z] Removing intermediate container b0fff1d7a175 [2023-10-12T07:15:47.406Z] ---> e7ecf81bb37f [2023-10-12T07:15:47.406Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-12T07:15:47.406Z] ---> Running in a235d60d6842 [2023-10-12T07:15:47.406Z] Removing intermediate container a235d60d6842 [2023-10-12T07:15:47.406Z] ---> 7a24f6e90baf [2023-10-12T07:15:47.406Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T07:15:47.406Z] ---> c218a0f4313c [2023-10-12T07:15:47.406Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:15:47.666Z] ---> Running in a5dbad372c5f [2023-10-12T07:17:09.251Z] Removing intermediate container a5dbad372c5f [2023-10-12T07:17:09.251Z] ---> 04ed1b565821 [2023-10-12T07:17:09.251Z] Step 9/10 : COPY . . [2023-10-12T07:17:09.251Z] ---> 42c72676bbd8 [2023-10-12T07:17:09.251Z] Step 10/10 : RUN ${MAKE} [2023-10-12T07:17:09.251Z] ---> Running in ffcaeeb111a1 [2023-10-12T07:17:09.251Z] noop [2023-10-12T07:17:09.251Z] Removing intermediate container ffcaeeb111a1 [2023-10-12T07:17:09.251Z] ---> 7d7bdb54e89e [2023-10-12T07:17:09.251Z] Successfully built 7d7bdb54e89e [2023-10-12T07:17:09.251Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:17:09.571Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T07:17:09.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:17:09.649Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:17:09.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T07:17:10.041Z] $ docker top 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:17:10.391Z] + go version [2023-10-12T07:17:10.391Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-12T07:17:10.403Z] $ docker stop --time=1 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a [2023-10-12T07:17:11.691Z] $ docker rm -f --volumes 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:17:12.090Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T07:17:12.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:17:12.165Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:17:12.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T07:17:12.560Z] $ docker top b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:17:12.907Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-12T07:17:13.203Z] + make test [2023-10-12T07:17:13.203Z] go test ./... -coverprofile=coverage.out [2023-10-12T07:17:14.580Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-12T07:17:19.692Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9119 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-10-12T07:17:19.704Z] Running in /w/workspace/device-modbus-go/130 [Pipeline] { [Pipeline] checkout [2023-10-12T07:17:19.739Z] Selected Git installation does not exist. Using Default [2023-10-12T07:17:19.739Z] The recommended git tool is: NONE [2023-10-12T07:17:24.712Z] using credential edgex-jenkins-ssh [2023-10-12T07:17:24.728Z] Cloning the remote Git repository [2023-10-12T07:17:24.770Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-12T07:17:24.856Z] > git init /w/workspace/device-modbus-go/130 # timeout=10 [2023-10-12T07:17:25.002Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-12T07:17:25.003Z] > git --version # timeout=10 [2023-10-12T07:17:25.022Z] > git --version # 'git version 2.25.1' [2023-10-12T07:17:25.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T07:17:25.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T07:17:26.769Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-12T07:17:26.769Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements [2023-10-12T07:17:27.107Z] Avoid second fetch [2023-10-12T07:17:27.107Z] Checking out Revision c4f8d58e38c56fa084baf69a7312e6a371ed19c6 (main) [2023-10-12T07:17:26.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-12T07:17:26.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T07:17:27.124Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T07:17:27.607Z] Commit message: "Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:17:27.187Z] > git checkout -f c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 [2023-10-12T07:17:28.703Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-12T07:17:28.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T07:17:28.703Z] Dload Upload Total Spent Left Speed [2023-10-12T07:17:28.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-10-12T07:17:29.288Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-12T07:17:29.624Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-12T07:17:29.625Z] + sudo tee /etc/docker/daemon.new [2023-10-12T07:17:29.625Z] { [2023-10-12T07:17:29.625Z] "registry-mirrors": [ [2023-10-12T07:17:29.625Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-12T07:17:29.625Z] ], [2023-10-12T07:17:29.625Z] "bip": "10.250.0.254/24", [2023-10-12T07:17:29.625Z] "hosts": [ [2023-10-12T07:17:29.625Z] "tcp://0.0.0.0:5555", [2023-10-12T07:17:29.625Z] "unix:///var/run/docker.sock" [2023-10-12T07:17:29.625Z] ], [2023-10-12T07:17:29.625Z] "mtu": 1458, [2023-10-12T07:17:29.625Z] "selinux-enabled": true, [2023-10-12T07:17:29.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-12T07:17:29.625Z] } [Pipeline] sh [2023-10-12T07:17:29.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-12T07:17:30.267Z] + sudo service docker restart [2023-10-12T07:17:32.034Z] go vet ./... [2023-10-12T07:17:36.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T07:17:36.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T07:17:36.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T07:17:36.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T07:17:36.241Z] $ docker stop --time=1 b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 [2023-10-12T07:17:40.613Z] $ docker rm -f --volumes b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:17:41.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T07:17:41.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-12T07:17:41.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T07:17:42.084Z] + ls -al . [2023-10-12T07:17:42.084Z] total 192 [2023-10-12T07:17:42.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 07:17 . [2023-10-12T07:17:42.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:15 .. [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 07:15 .dockerignore [2023-10-12T07:17:42.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:17 .git [2023-10-12T07:17:42.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 .github [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 07:15 .gitignore [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:15 .golangci.yml [2023-10-12T07:17:42.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:15 .semver [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 07:15 Attribution.txt [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 07:15 CHANGELOG.md [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 07:15 Dockerfile [2023-10-12T07:17:42.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:15 GOVERNANCE.md [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 07:15 Jenkinsfile [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:15 LICENSE [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 07:15 Makefile [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 07:15 OWNERS.md [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 07:15 README.md [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 07:15 VERSION [2023-10-12T07:17:42.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:15 bin [2023-10-12T07:17:42.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 cmd [2023-10-12T07:17:42.085Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 07:17 coverage.out [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 07:15 go.mod [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 07:15 go.sum [2023-10-12T07:17:42.085Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 internal [2023-10-12T07:17:42.085Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:15 simulator [2023-10-12T07:17:42.085Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:15 snap [2023-10-12T07:17:42.085Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:17:42.439Z] + 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 --label arch=amd64 --label version=3.1.0-dev.16 . [2023-10-12T07:17:42.440Z] Sending build context to Docker daemon 6.525MB [2023-10-12T07:17:42.440Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:17:42.440Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-12T07:17:42.440Z] ---> 7d7bdb54e89e [2023-10-12T07:17:42.440Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:17:42.704Z] ---> Running in 1d4464497e7b [2023-10-12T07:17:42.704Z] Removing intermediate container 1d4464497e7b [2023-10-12T07:17:42.704Z] ---> 2c5d5bb2846f [2023-10-12T07:17:42.704Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:17:42.704Z] ---> Running in 27e61f9e6fb4 [2023-10-12T07:17:42.704Z] Removing intermediate container 27e61f9e6fb4 [2023-10-12T07:17:42.704Z] ---> c4df36caf391 [2023-10-12T07:17:42.704Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-12T07:17:42.962Z] ---> Running in b1255d5a2a3d [2023-10-12T07:17:43.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:17:43.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:17:43.789Z] OK: 270 MiB in 60 packages [2023-10-12T07:17:44.048Z] Removing intermediate container b1255d5a2a3d [2023-10-12T07:17:44.048Z] ---> a3388dbc59c9 [2023-10-12T07:17:44.048Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-12T07:17:44.048Z] ---> Running in e6393517ecfe [2023-10-12T07:17:44.048Z] Removing intermediate container e6393517ecfe [2023-10-12T07:17:44.048Z] ---> af1b9fed0c0a [2023-10-12T07:17:44.048Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-12T07:17:44.048Z] ---> 61833c0e8389 [2023-10-12T07:17:44.048Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:17:44.307Z] ---> Running in 1b24fb7c330b [2023-10-12T07:17:44.875Z] Removing intermediate container 1b24fb7c330b [2023-10-12T07:17:44.875Z] ---> e9b6bc7333c9 [2023-10-12T07:17:44.875Z] Step 9/22 : COPY . . [2023-10-12T07:17:45.443Z] ---> 0ced1520ccce [2023-10-12T07:17:45.443Z] Step 10/22 : RUN ${MAKE} [2023-10-12T07:17:45.443Z] ---> Running in 34b1a8ca226f [2023-10-12T07:17:45.702Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:17:48.491Z] provisioning config files... [2023-10-12T07:17:48.515Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/130@tmp/config8400900242668259346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:17:48.862Z] ---> docker-login.sh [2023-10-12T07:17:48.862Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:17:49.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:17:49.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:17:49.401Z] Configure a credential helper to remove this warning. See [2023-10-12T07:17:49.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:17:49.401Z] [2023-10-12T07:17:49.401Z] Login Succeeded [2023-10-12T07:17:49.401Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:17:49.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:17:49.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:17:49.669Z] Configure a credential helper to remove this warning. See [2023-10-12T07:17:49.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:17:49.669Z] [2023-10-12T07:17:49.669Z] Login Succeeded [2023-10-12T07:17:49.938Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:17:49.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:17:50.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:17:50.213Z] Configure a credential helper to remove this warning. See [2023-10-12T07:17:50.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:17:50.213Z] [2023-10-12T07:17:50.213Z] Login Succeeded [2023-10-12T07:17:50.213Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:17:50.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:17:50.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:17:50.484Z] Configure a credential helper to remove this warning. See [2023-10-12T07:17:50.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:17:50.484Z] [2023-10-12T07:17:50.484Z] Login Succeeded [2023-10-12T07:17:50.484Z] docker.io [2023-10-12T07:17:50.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:17:51.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:17:51.021Z] Configure a credential helper to remove this warning. See [2023-10-12T07:17:51.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:17:51.021Z] [2023-10-12T07:17:51.021Z] Login Succeeded [2023-10-12T07:17:51.021Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:17:51.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T07:17:51.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:17:51.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:17:51.299Z] ========================================================= [2023-10-12T07:17:51.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-12T07:17:51.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:17:51.656Z] + 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-12T07:17:51.926Z] Sending build context to Docker daemon 3.374MB [2023-10-12T07:17:51.926Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:17:51.926Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-12T07:17:52.200Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-12T07:17:52.200Z] 9fda8d8052c6: Pulling fs layer [2023-10-12T07:17:52.200Z] 5d54e960e981: Pulling fs layer [2023-10-12T07:17:52.200Z] c4a7e357bf2a: Pulling fs layer [2023-10-12T07:17:52.200Z] f0e02332f6b5: Pulling fs layer [2023-10-12T07:17:52.200Z] cefa15bbcfad: Pulling fs layer [2023-10-12T07:17:52.200Z] 17808c966233: Pulling fs layer [2023-10-12T07:17:52.200Z] f4c1fc716caa: Pulling fs layer [2023-10-12T07:17:52.200Z] cefa15bbcfad: Waiting [2023-10-12T07:17:52.200Z] f4c1fc716caa: Waiting [2023-10-12T07:17:52.200Z] f0e02332f6b5: Waiting [2023-10-12T07:17:52.200Z] 17808c966233: Waiting [2023-10-12T07:17:52.200Z] 5d54e960e981: Verifying Checksum [2023-10-12T07:17:52.200Z] 5d54e960e981: Download complete [2023-10-12T07:17:52.200Z] f0e02332f6b5: Verifying Checksum [2023-10-12T07:17:52.200Z] f0e02332f6b5: Download complete [2023-10-12T07:17:52.200Z] cefa15bbcfad: Verifying Checksum [2023-10-12T07:17:52.200Z] cefa15bbcfad: Download complete [2023-10-12T07:17:52.200Z] 9fda8d8052c6: Verifying Checksum [2023-10-12T07:17:52.200Z] 9fda8d8052c6: Download complete [2023-10-12T07:17:52.796Z] f4c1fc716caa: Verifying Checksum [2023-10-12T07:17:52.796Z] f4c1fc716caa: Download complete [2023-10-12T07:17:53.066Z] 9fda8d8052c6: Pull complete [2023-10-12T07:17:53.661Z] 5d54e960e981: Pull complete [2023-10-12T07:17:53.951Z] c4a7e357bf2a: Download complete [2023-10-12T07:17:54.916Z] 17808c966233: Verifying Checksum [2023-10-12T07:17:54.916Z] 17808c966233: Download complete [2023-10-12T07:18:07.244Z] c4a7e357bf2a: Pull complete [2023-10-12T07:18:07.244Z] f0e02332f6b5: Pull complete [2023-10-12T07:18:07.244Z] cefa15bbcfad: Pull complete [2023-10-12T07:18:12.313Z] Removing intermediate container 34b1a8ca226f [2023-10-12T07:18:12.313Z] ---> 460bfd35e17f [2023-10-12T07:18:12.313Z] Step 11/22 : FROM alpine:3.18 [2023-10-12T07:18:12.313Z] 3.18: Pulling from library/alpine [2023-10-12T07:18:12.313Z] 96526aa774ef: Pulling fs layer [2023-10-12T07:18:12.313Z] 96526aa774ef: Verifying Checksum [2023-10-12T07:18:12.313Z] 96526aa774ef: Download complete [2023-10-12T07:18:12.313Z] 96526aa774ef: Pull complete [2023-10-12T07:18:12.313Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T07:18:12.313Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T07:18:12.313Z] ---> 8ca4688f4f35 [2023-10-12T07:18:12.313Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-12T07:18:12.313Z] ---> Running in b747515fc80e [2023-10-12T07:18:12.313Z] Removing intermediate container b747515fc80e [2023-10-12T07:18:12.313Z] ---> c8f8f314cb37 [2023-10-12T07:18:12.313Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-12T07:18:12.313Z] ---> Running in f0a1b32f7817 [2023-10-12T07:18:12.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T07:18:12.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T07:18:12.313Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T07:18:12.313Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:18:12.313Z] OK: 7 MiB in 16 packages [2023-10-12T07:18:12.313Z] Removing intermediate container f0a1b32f7817 [2023-10-12T07:18:12.313Z] ---> 7309b71f48ca [2023-10-12T07:18:12.313Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-12T07:18:12.313Z] ---> 994f36212a34 [2023-10-12T07:18:12.313Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-12T07:18:12.313Z] ---> a6eb2476ce39 [2023-10-12T07:18:12.313Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-12T07:18:12.572Z] ---> c7b4be6486f0 [2023-10-12T07:18:12.572Z] Step 17/22 : EXPOSE 59901 [2023-10-12T07:18:12.572Z] ---> Running in d80bbffba0e7 [2023-10-12T07:18:12.572Z] Removing intermediate container d80bbffba0e7 [2023-10-12T07:18:12.572Z] ---> 0ef06ab93f5d [2023-10-12T07:18:12.572Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-12T07:18:12.572Z] ---> Running in 382d11e87957 [2023-10-12T07:18:12.572Z] Removing intermediate container 382d11e87957 [2023-10-12T07:18:12.572Z] ---> 77011c64f131 [2023-10-12T07:18:12.572Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-12T07:18:12.572Z] ---> Running in 20344c5688bb [2023-10-12T07:18:12.830Z] Removing intermediate container 20344c5688bb [2023-10-12T07:18:12.830Z] ---> 9cc66b08d2be [2023-10-12T07:18:12.830Z] Step 20/22 : LABEL arch=amd64 [2023-10-12T07:18:12.830Z] ---> Running in c4e3277809c3 [2023-10-12T07:18:12.830Z] Removing intermediate container c4e3277809c3 [2023-10-12T07:18:12.830Z] ---> 7cc091c6aa70 [2023-10-12T07:18:12.830Z] Step 21/22 : LABEL git_sha=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:18:12.830Z] ---> Running in 51ac8a8b5d44 [2023-10-12T07:18:12.830Z] Removing intermediate container 51ac8a8b5d44 [2023-10-12T07:18:12.830Z] ---> 6b1ca7642ea0 [2023-10-12T07:18:12.830Z] Step 22/22 : LABEL version=3.1.0-dev.16 [2023-10-12T07:18:13.088Z] ---> Running in c55d1f78f8eb [2023-10-12T07:18:13.088Z] Removing intermediate container c55d1f78f8eb [2023-10-12T07:18:13.088Z] ---> 0b85b33e9577 [2023-10-12T07:18:13.088Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T07:18:13.088Z] Successfully built 0b85b33e9577 [2023-10-12T07:18:13.088Z] 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-12T07:18:13.192Z] provisioning config files... [2023-10-12T07:18:13.200Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16084560161871521304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:18:13.493Z] ---> docker-login.sh [2023-10-12T07:18:13.493Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:18:13.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:18:13.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:18:13.493Z] Configure a credential helper to remove this warning. See [2023-10-12T07:18:13.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:18:13.493Z] [2023-10-12T07:18:13.493Z] Login Succeeded [2023-10-12T07:18:13.493Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:18:13.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:18:13.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:18:13.493Z] Configure a credential helper to remove this warning. See [2023-10-12T07:18:13.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:18:13.493Z] [2023-10-12T07:18:13.493Z] Login Succeeded [2023-10-12T07:18:13.493Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:18:13.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:18:13.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:18:13.752Z] Configure a credential helper to remove this warning. See [2023-10-12T07:18:13.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:18:13.752Z] [2023-10-12T07:18:13.752Z] Login Succeeded [2023-10-12T07:18:13.752Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:18:13.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:18:13.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:18:13.752Z] Configure a credential helper to remove this warning. See [2023-10-12T07:18:13.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:18:13.752Z] [2023-10-12T07:18:13.752Z] Login Succeeded [2023-10-12T07:18:13.752Z] docker.io [2023-10-12T07:18:14.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:18:14.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:18:14.270Z] Configure a credential helper to remove this warning. See [2023-10-12T07:18:14.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:18:14.270Z] [2023-10-12T07:18:14.270Z] Login Succeeded [2023-10-12T07:18:14.270Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:18:14.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:18:14.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:18:14.345Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-12T07:18:14.345Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:18:14.345Z] latest [2023-10-12T07:18:14.345Z] 3.1.0-dev.16 [2023-10-12T07:18:14.345Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:18:14.345Z] main [2023-10-12T07:18:14.345Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:14.679Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:14.981Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:18:14.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-12T07:18:14.981Z] 1b34665bfc49: Preparing [2023-10-12T07:18:14.981Z] d278bf69afbd: Preparing [2023-10-12T07:18:14.981Z] 31d4f3b1b94e: Preparing [2023-10-12T07:18:14.981Z] 8ac895f587b2: Preparing [2023-10-12T07:18:14.981Z] cc2447e1835a: Preparing [2023-10-12T07:18:14.981Z] cc2447e1835a: Layer already exists [2023-10-12T07:18:14.981Z] 1b34665bfc49: Pushed [2023-10-12T07:18:14.981Z] 8ac895f587b2: Pushed [2023-10-12T07:18:14.981Z] d278bf69afbd: Pushed [2023-10-12T07:18:15.560Z] 17808c966233: Pull complete [2023-10-12T07:18:17.512Z] f4c1fc716caa: Pull complete [2023-10-12T07:18:17.512Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-12T07:18:17.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-12T07:18:17.512Z] ---> ea914061e18c [2023-10-12T07:18:17.512Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:18:18.265Z] 31d4f3b1b94e: Pushed [2023-10-12T07:18:18.266Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:18.585Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:18.896Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-12T07:18:18.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-12T07:18:18.896Z] 1b34665bfc49: Preparing [2023-10-12T07:18:18.896Z] d278bf69afbd: Preparing [2023-10-12T07:18:18.896Z] 31d4f3b1b94e: Preparing [2023-10-12T07:18:18.896Z] 8ac895f587b2: Preparing [2023-10-12T07:18:18.896Z] cc2447e1835a: Preparing [2023-10-12T07:18:18.896Z] 8ac895f587b2: Layer already exists [2023-10-12T07:18:18.896Z] cc2447e1835a: Layer already exists [2023-10-12T07:18:18.896Z] 31d4f3b1b94e: Layer already exists [2023-10-12T07:18:18.896Z] 1b34665bfc49: Layer already exists [2023-10-12T07:18:18.896Z] d278bf69afbd: Layer already exists [2023-10-12T07:18:18.896Z] latest: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [2023-10-12T07:18:18.924Z] ---> Running in a98198fdfb37 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:19.193Z] Removing intermediate container a98198fdfb37 [2023-10-12T07:18:19.193Z] ---> 950327324ce1 [2023-10-12T07:18:19.193Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:18:19.193Z] ---> Running in 78552640766a [2023-10-12T07:18:19.236Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:19.551Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 [2023-10-12T07:18:19.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-12T07:18:19.552Z] 1b34665bfc49: Preparing [2023-10-12T07:18:19.552Z] d278bf69afbd: Preparing [2023-10-12T07:18:19.552Z] 31d4f3b1b94e: Preparing [2023-10-12T07:18:19.552Z] 8ac895f587b2: Preparing [2023-10-12T07:18:19.552Z] cc2447e1835a: Preparing [2023-10-12T07:18:19.552Z] cc2447e1835a: Layer already exists [2023-10-12T07:18:19.552Z] 8ac895f587b2: Layer already exists [2023-10-12T07:18:19.552Z] 31d4f3b1b94e: Layer already exists [2023-10-12T07:18:19.552Z] d278bf69afbd: Layer already exists [2023-10-12T07:18:19.552Z] 1b34665bfc49: Layer already exists [2023-10-12T07:18:19.552Z] 3.1.0-dev.16: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:19.780Z] Removing intermediate container 78552640766a [2023-10-12T07:18:19.780Z] ---> 20238671fb87 [2023-10-12T07:18:19.780Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-12T07:18:19.780Z] ---> Running in f94eb6a71da6 [2023-10-12T07:18:19.872Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:20.179Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:18:20.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-12T07:18:20.179Z] 1b34665bfc49: Preparing [2023-10-12T07:18:20.179Z] d278bf69afbd: Preparing [2023-10-12T07:18:20.179Z] 31d4f3b1b94e: Preparing [2023-10-12T07:18:20.179Z] 8ac895f587b2: Preparing [2023-10-12T07:18:20.179Z] cc2447e1835a: Preparing [2023-10-12T07:18:20.179Z] cc2447e1835a: Layer already exists [2023-10-12T07:18:20.179Z] d278bf69afbd: Layer already exists [2023-10-12T07:18:20.179Z] 1b34665bfc49: Layer already exists [2023-10-12T07:18:20.179Z] 31d4f3b1b94e: Layer already exists [2023-10-12T07:18:20.179Z] 8ac895f587b2: Layer already exists [2023-10-12T07:18:20.179Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:20.488Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:20.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:18:20.800Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-12T07:18:20.800Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-12T07:18:20.800Z] 1b34665bfc49: Preparing [2023-10-12T07:18:20.800Z] d278bf69afbd: Preparing [2023-10-12T07:18:20.800Z] 31d4f3b1b94e: Preparing [2023-10-12T07:18:20.800Z] 8ac895f587b2: Preparing [2023-10-12T07:18:20.800Z] cc2447e1835a: Preparing [2023-10-12T07:18:20.800Z] 1b34665bfc49: Layer already exists [2023-10-12T07:18:20.800Z] cc2447e1835a: Layer already exists [2023-10-12T07:18:20.800Z] d278bf69afbd: Layer already exists [2023-10-12T07:18:20.800Z] 31d4f3b1b94e: Layer already exists [2023-10-12T07:18:20.800Z] 8ac895f587b2: Layer already exists [2023-10-12T07:18:20.800Z] main: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:18:20.849Z] ===================================================== [Pipeline] echo [2023-10-12T07:18:20.857Z] taggedImages: [2023-10-12T07:18:20.857Z] - nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:18:20.857Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-12T07:18:20.857Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 [2023-10-12T07:18:20.857Z] - nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:18:20.857Z] - 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-12T07:18:21.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:18:21.227Z] [2023-10-12T07:18:21.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:18:21.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:18:21.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:18:21.535Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-12T07:18:21.535Z] 5eb5b503b376: Pulling fs layer [2023-10-12T07:18:21.535Z] 5c69ac0246d0: Pulling fs layer [2023-10-12T07:18:21.535Z] ec43610c2a17: Pulling fs layer [2023-10-12T07:18:21.535Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-12T07:18:21.535Z] 33b1e0a273af: Pulling fs layer [2023-10-12T07:18:21.535Z] 5d3b04190fa2: Pulling fs layer [2023-10-12T07:18:21.535Z] 2f39f015ded8: Pulling fs layer [2023-10-12T07:18:21.535Z] 5d3b04190fa2: Waiting [2023-10-12T07:18:21.535Z] 2f39f015ded8: Waiting [2023-10-12T07:18:21.535Z] 3a2ae6a8a46f: Waiting [2023-10-12T07:18:21.535Z] 33b1e0a273af: Waiting [2023-10-12T07:18:21.535Z] 5c69ac0246d0: Verifying Checksum [2023-10-12T07:18:21.535Z] 5c69ac0246d0: Download complete [2023-10-12T07:18:21.535Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-12T07:18:21.535Z] 3a2ae6a8a46f: Download complete [2023-10-12T07:18:21.535Z] 33b1e0a273af: Verifying Checksum [2023-10-12T07:18:21.535Z] 33b1e0a273af: Download complete [2023-10-12T07:18:21.535Z] 5d3b04190fa2: Verifying Checksum [2023-10-12T07:18:21.535Z] 5d3b04190fa2: Download complete [2023-10-12T07:18:21.794Z] ec43610c2a17: Verifying Checksum [2023-10-12T07:18:21.794Z] ec43610c2a17: Download complete [2023-10-12T07:18:21.794Z] 5eb5b503b376: Verifying Checksum [2023-10-12T07:18:21.794Z] 5eb5b503b376: Download complete [2023-10-12T07:18:22.283Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-12T07:18:22.283Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-12T07:18:22.283Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-12T07:18:22.283Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:18:22.283Z] OK: 272 MiB in 60 packages [2023-10-12T07:18:22.361Z] 2f39f015ded8: Download complete [2023-10-12T07:18:23.297Z] 5eb5b503b376: Pull complete [2023-10-12T07:18:23.297Z] 5c69ac0246d0: Pull complete [2023-10-12T07:18:23.862Z] ec43610c2a17: Pull complete [2023-10-12T07:18:23.862Z] 3a2ae6a8a46f: Pull complete [2023-10-12T07:18:24.121Z] 33b1e0a273af: Pull complete [2023-10-12T07:18:24.121Z] 5d3b04190fa2: Pull complete [2023-10-12T07:18:27.630Z] Removing intermediate container f94eb6a71da6 [2023-10-12T07:18:27.630Z] ---> 8924d0ec3ce6 [2023-10-12T07:18:27.630Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-12T07:18:27.630Z] ---> Running in 5333c156abdb [2023-10-12T07:18:27.630Z] Removing intermediate container 5333c156abdb [2023-10-12T07:18:27.630Z] ---> a3f159938ce6 [2023-10-12T07:18:27.630Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-12T07:18:27.630Z] ---> 5d72f58639e2 [2023-10-12T07:18:27.630Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:18:27.899Z] ---> Running in c4d6947e4b04 [2023-10-12T07:18:29.388Z] 2f39f015ded8: Pull complete [2023-10-12T07:18:29.388Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-12T07:18:29.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:18:29.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:18:29.478Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:18:29.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T07:18:36.594Z] $ docker top 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:18:36.985Z] ---> job-cost.sh [2023-10-12T07:18:36.985Z] lf-activate-venv: SKIPPING [2023-10-12T07:18:36.985Z] INFO: No Stack... [2023-10-12T07:18:37.244Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T07:18:37.813Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T07:18:38.109Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-12T07:18:38.109Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T07:18:38.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [2023-10-12T07:18:38.129Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] did not exist. Created. [2023-10-12T07:18:38.129Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T07:18:38.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-12T07:18:38.457Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T07:18:38.463Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T07:18:38.480Z] $ docker stop --time=1 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae [2023-10-12T07:18:39.622Z] $ docker rm -f --volumes 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-12T07:20:19.687Z] Removing intermediate container c4d6947e4b04 [2023-10-12T07:20:19.687Z] ---> 0a29ca592d27 [2023-10-12T07:20:19.687Z] Step 9/10 : COPY . . [2023-10-12T07:20:19.687Z] ---> e722d3c193ad [2023-10-12T07:20:19.687Z] Step 10/10 : RUN ${MAKE} [2023-10-12T07:20:19.687Z] ---> Running in 5b52f95d7812 [2023-10-12T07:20:19.687Z] noop [2023-10-12T07:20:19.687Z] Removing intermediate container 5b52f95d7812 [2023-10-12T07:20:19.687Z] ---> 6a02cc469b31 [2023-10-12T07:20:19.687Z] Successfully built 6a02cc469b31 [2023-10-12T07:20:19.687Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:20:20.031Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T07:20:20.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:20:20.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container [2023-10-12T07:20:20.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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-12T07:20:21.506Z] $ docker top 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:20:22.332Z] + go version [2023-10-12T07:20:22.332Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-12T07:20:22.352Z] $ docker stop --time=1 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 [2023-10-12T07:20:23.986Z] $ docker rm -f --volumes 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:20:24.521Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T07:20:24.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:20:24.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container [2023-10-12T07:20:24.780Z] $ 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/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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-12T07:20:25.922Z] $ docker top ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:20:26.430Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/130 [Pipeline] fileExists [Pipeline] sh [2023-10-12T07:20:26.777Z] + make test [2023-10-12T07:20:27.046Z] go test ./... -coverprofile=coverage.out [2023-10-12T07:20:31.300Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-12T07:22:07.929Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-12T07:22:07.929Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 47.9% of statements [2023-10-12T07:22:07.929Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-12T07:22:07.929Z] go vet ./... [2023-10-12T07:22:18.017Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T07:22:18.017Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T07:22:18.017Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T07:22:18.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T07:22:18.051Z] $ docker stop --time=1 ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a [2023-10-12T07:22:20.188Z] $ docker rm -f --volumes ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:22:21.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T07:22:21.358Z] Warning: overwriting stash ‘coverage-report’ [2023-10-12T07:22:21.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T07:22:22.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T07:22:22.548Z] + ls -al . [2023-10-12T07:22:22.548Z] total 188 [2023-10-12T07:22:22.548Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 07:20 . [2023-10-12T07:22:22.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:17 .. [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 07:17 .dockerignore [2023-10-12T07:22:22.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:17 .git [2023-10-12T07:22:22.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 .github [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 07:17 .gitignore [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:17 .golangci.yml [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 07:17 Attribution.txt [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 07:17 CHANGELOG.md [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 07:17 Dockerfile [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:17 GOVERNANCE.md [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 07:17 Jenkinsfile [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:17 LICENSE [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 07:17 Makefile [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 07:17 OWNERS.md [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 07:17 README.md [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 07:15 VERSION [2023-10-12T07:22:22.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:17 bin [2023-10-12T07:22:22.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 cmd [2023-10-12T07:22:22.548Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 07:21 coverage.out [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 07:17 go.mod [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 07:17 go.sum [2023-10-12T07:22:22.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 internal [2023-10-12T07:22:22.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:17 simulator [2023-10-12T07:22:22.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:17 snap [2023-10-12T07:22:22.548Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:22:22.887Z] + 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 --label arch=arm64 --label version=3.1.0-dev.16 . [2023-10-12T07:22:23.158Z] Sending build context to Docker daemon 3.399MB [2023-10-12T07:22:23.158Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T07:22:23.158Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-12T07:22:23.158Z] ---> 6a02cc469b31 [2023-10-12T07:22:23.158Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-12T07:22:23.424Z] ---> Running in 7ed127df123e [2023-10-12T07:22:23.694Z] Removing intermediate container 7ed127df123e [2023-10-12T07:22:23.694Z] ---> 67a9f7a0bd93 [2023-10-12T07:22:23.694Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T07:22:23.694Z] ---> Running in 3dd598b2b03d [2023-10-12T07:22:24.283Z] Removing intermediate container 3dd598b2b03d [2023-10-12T07:22:24.283Z] ---> 31c63643d122 [2023-10-12T07:22:24.283Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-12T07:22:24.283Z] ---> Running in 23a462106474 [2023-10-12T07:22:25.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:22:25.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:22:26.922Z] OK: 272 MiB in 60 packages [2023-10-12T07:22:31.178Z] Removing intermediate container 23a462106474 [2023-10-12T07:22:31.178Z] ---> c303667af9e4 [2023-10-12T07:22:31.178Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-12T07:22:31.178Z] ---> Running in 4d2df2d3ebb9 [2023-10-12T07:22:31.444Z] Removing intermediate container 4d2df2d3ebb9 [2023-10-12T07:22:31.444Z] ---> a6edea1398b7 [2023-10-12T07:22:31.444Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-12T07:22:32.027Z] ---> dfb9e130f682 [2023-10-12T07:22:32.027Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T07:22:32.027Z] ---> Running in e154976453a5 [2023-10-12T07:22:36.323Z] Removing intermediate container e154976453a5 [2023-10-12T07:22:36.323Z] ---> e4efd963af62 [2023-10-12T07:22:36.323Z] Step 9/22 : COPY . . [2023-10-12T07:22:36.908Z] ---> d830c697f63f [2023-10-12T07:22:36.908Z] Step 10/22 : RUN ${MAKE} [2023-10-12T07:22:37.177Z] ---> Running in 250ec789f6a6 [2023-10-12T07:22:39.147Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-12T07:24:31.037Z] Removing intermediate container 250ec789f6a6 [2023-10-12T07:24:31.037Z] ---> 0b66a81202c3 [2023-10-12T07:24:31.037Z] Step 11/22 : FROM alpine:3.18 [2023-10-12T07:24:31.037Z] 3.18: Pulling from library/alpine [2023-10-12T07:24:31.037Z] 579b34f0a95b: Pulling fs layer [2023-10-12T07:24:31.037Z] 579b34f0a95b: Verifying Checksum [2023-10-12T07:24:31.037Z] 579b34f0a95b: Download complete [2023-10-12T07:24:31.037Z] 579b34f0a95b: Pull complete [2023-10-12T07:24:31.037Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T07:24:31.037Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T07:24:31.037Z] ---> 3cc203321400 [2023-10-12T07:24:31.037Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-12T07:24:31.037Z] ---> Running in c5d1f7f4a7a0 [2023-10-12T07:24:31.037Z] Removing intermediate container c5d1f7f4a7a0 [2023-10-12T07:24:31.037Z] ---> e75bdff43232 [2023-10-12T07:24:31.037Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-12T07:24:31.037Z] ---> Running in 2a32c929b633 [2023-10-12T07:24:31.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T07:24:31.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T07:24:31.037Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T07:24:31.037Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T07:24:31.037Z] OK: 8 MiB in 16 packages [2023-10-12T07:24:31.037Z] Removing intermediate container 2a32c929b633 [2023-10-12T07:24:31.037Z] ---> c8b36da1025e [2023-10-12T07:24:31.037Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-12T07:24:31.037Z] ---> 6ef84189ee51 [2023-10-12T07:24:31.037Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-12T07:24:31.037Z] ---> f8d1669185be [2023-10-12T07:24:31.037Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-12T07:24:31.037Z] ---> 479933814eeb [2023-10-12T07:24:31.037Z] Step 17/22 : EXPOSE 59901 [2023-10-12T07:24:31.037Z] ---> Running in d6340d7ab951 [2023-10-12T07:24:31.313Z] Removing intermediate container d6340d7ab951 [2023-10-12T07:24:31.313Z] ---> afc780b1ae2a [2023-10-12T07:24:31.313Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-12T07:24:31.313Z] ---> Running in c25d4bfb0ed4 [2023-10-12T07:24:31.589Z] Removing intermediate container c25d4bfb0ed4 [2023-10-12T07:24:31.589Z] ---> 61b6b6854691 [2023-10-12T07:24:31.589Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-12T07:24:31.868Z] ---> Running in ecd89dc050b8 [2023-10-12T07:24:32.150Z] Removing intermediate container ecd89dc050b8 [2023-10-12T07:24:32.150Z] ---> e17f4007aa1a [2023-10-12T07:24:32.150Z] Step 20/22 : LABEL arch=arm64 [2023-10-12T07:24:32.150Z] ---> Running in 83fa2000a549 [2023-10-12T07:24:32.420Z] Removing intermediate container 83fa2000a549 [2023-10-12T07:24:32.420Z] ---> 9ebec36e7b8d [2023-10-12T07:24:32.420Z] Step 21/22 : LABEL git_sha=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:24:32.420Z] ---> Running in ad6fbd1cf986 [2023-10-12T07:24:32.699Z] Removing intermediate container ad6fbd1cf986 [2023-10-12T07:24:32.699Z] ---> 93b33152b40e [2023-10-12T07:24:32.699Z] Step 22/22 : LABEL version=3.1.0-dev.16 [2023-10-12T07:24:32.699Z] ---> Running in 2dd6a2aa31a3 [2023-10-12T07:24:33.290Z] Removing intermediate container 2dd6a2aa31a3 [2023-10-12T07:24:33.291Z] ---> ecae5731e669 [2023-10-12T07:24:33.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T07:24:33.291Z] Successfully built ecae5731e669 [2023-10-12T07:24:33.291Z] 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-12T07:24:33.417Z] provisioning config files... [2023-10-12T07:24:33.431Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/130@tmp/config7880003826628148277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:24:33.766Z] ---> docker-login.sh [2023-10-12T07:24:33.766Z] nexus3.edgexfoundry.org:10001 [2023-10-12T07:24:33.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:24:34.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:24:34.031Z] Configure a credential helper to remove this warning. See [2023-10-12T07:24:34.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:24:34.031Z] [2023-10-12T07:24:34.031Z] Login Succeeded [2023-10-12T07:24:34.031Z] nexus3.edgexfoundry.org:10002 [2023-10-12T07:24:34.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:24:34.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:24:34.298Z] Configure a credential helper to remove this warning. See [2023-10-12T07:24:34.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:24:34.298Z] [2023-10-12T07:24:34.298Z] Login Succeeded [2023-10-12T07:24:34.298Z] nexus3.edgexfoundry.org:10003 [2023-10-12T07:24:34.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:24:34.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:24:34.832Z] Configure a credential helper to remove this warning. See [2023-10-12T07:24:34.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:24:34.832Z] [2023-10-12T07:24:34.832Z] Login Succeeded [2023-10-12T07:24:34.832Z] nexus3.edgexfoundry.org:10004 [2023-10-12T07:24:35.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:24:35.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:24:35.098Z] Configure a credential helper to remove this warning. See [2023-10-12T07:24:35.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:24:35.098Z] [2023-10-12T07:24:35.098Z] Login Succeeded [2023-10-12T07:24:35.098Z] docker.io [2023-10-12T07:24:35.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T07:24:35.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T07:24:35.629Z] Configure a credential helper to remove this warning. See [2023-10-12T07:24:35.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T07:24:35.630Z] [2023-10-12T07:24:35.630Z] Login Succeeded [2023-10-12T07:24:35.630Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T07:24:35.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:24:35.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T07:24:35.693Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-12T07:24:35.693Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:24:35.693Z] latest [2023-10-12T07:24:35.693Z] 3.1.0-dev.16 [2023-10-12T07:24:35.693Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:24:35.693Z] main [2023-10-12T07:24:35.693Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:36.026Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:36.353Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:24:36.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-12T07:24:36.353Z] 19ef4935747c: Preparing [2023-10-12T07:24:36.353Z] a1a1dc5b7bd0: Preparing [2023-10-12T07:24:36.353Z] 494733444ec8: Preparing [2023-10-12T07:24:36.353Z] 320df9e37701: Preparing [2023-10-12T07:24:36.353Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:24:36.353Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:24:36.618Z] 19ef4935747c: Pushed [2023-10-12T07:24:36.618Z] 320df9e37701: Pushed [2023-10-12T07:24:36.618Z] a1a1dc5b7bd0: Pushed [2023-10-12T07:24:43.231Z] 494733444ec8: Pushed [2023-10-12T07:24:44.182Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:44.515Z] + 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-12T07:24:44.844Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-12T07:24:44.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-12T07:24:44.844Z] 19ef4935747c: Preparing [2023-10-12T07:24:44.844Z] a1a1dc5b7bd0: Preparing [2023-10-12T07:24:44.844Z] 494733444ec8: Preparing [2023-10-12T07:24:44.844Z] 320df9e37701: Preparing [2023-10-12T07:24:44.844Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:24:44.844Z] 494733444ec8: Layer already exists [2023-10-12T07:24:44.844Z] 19ef4935747c: Layer already exists [2023-10-12T07:24:44.844Z] a1a1dc5b7bd0: Layer already exists [2023-10-12T07:24:44.844Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:24:44.844Z] 320df9e37701: Layer already exists [2023-10-12T07:24:44.844Z] latest: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:45.185Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:45.521Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 [2023-10-12T07:24:45.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-12T07:24:45.521Z] 19ef4935747c: Preparing [2023-10-12T07:24:45.521Z] a1a1dc5b7bd0: Preparing [2023-10-12T07:24:45.521Z] 494733444ec8: Preparing [2023-10-12T07:24:45.521Z] 320df9e37701: Preparing [2023-10-12T07:24:45.521Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:24:45.521Z] 494733444ec8: Layer already exists [2023-10-12T07:24:45.521Z] 19ef4935747c: Layer already exists [2023-10-12T07:24:45.521Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:24:45.521Z] 320df9e37701: Layer already exists [2023-10-12T07:24:45.521Z] a1a1dc5b7bd0: Layer already exists [2023-10-12T07:24:45.521Z] 3.1.0-dev.16: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:45.869Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:46.197Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:24:46.198Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-12T07:24:46.198Z] 19ef4935747c: Preparing [2023-10-12T07:24:46.198Z] a1a1dc5b7bd0: Preparing [2023-10-12T07:24:46.198Z] 494733444ec8: Preparing [2023-10-12T07:24:46.198Z] 320df9e37701: Preparing [2023-10-12T07:24:46.198Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:24:46.198Z] 320df9e37701: Layer already exists [2023-10-12T07:24:46.198Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:24:46.198Z] 494733444ec8: Layer already exists [2023-10-12T07:24:46.198Z] 19ef4935747c: Layer already exists [2023-10-12T07:24:46.198Z] a1a1dc5b7bd0: Layer already exists [2023-10-12T07:24:46.198Z] c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:46.533Z] + 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-12T07:24:46.878Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-12T07:24:46.878Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-12T07:24:46.878Z] 19ef4935747c: Preparing [2023-10-12T07:24:46.878Z] a1a1dc5b7bd0: Preparing [2023-10-12T07:24:46.878Z] 494733444ec8: Preparing [2023-10-12T07:24:46.878Z] 320df9e37701: Preparing [2023-10-12T07:24:46.878Z] 5f4d9fc4d98d: Preparing [2023-10-12T07:24:46.878Z] 5f4d9fc4d98d: Layer already exists [2023-10-12T07:24:46.878Z] 320df9e37701: Layer already exists [2023-10-12T07:24:46.878Z] 19ef4935747c: Layer already exists [2023-10-12T07:24:46.878Z] a1a1dc5b7bd0: Layer already exists [2023-10-12T07:24:46.878Z] 494733444ec8: Layer already exists [2023-10-12T07:24:46.878Z] main: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-12T07:24:46.931Z] ===================================================== [Pipeline] echo [2023-10-12T07:24:46.941Z] taggedImages: [2023-10-12T07:24:46.941Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [2023-10-12T07:24:46.941Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-12T07:24:46.941Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 [2023-10-12T07:24:46.941Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [2023-10-12T07:24:46.941Z] - 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-12T07:24:47.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:24:47.296Z] [2023-10-12T07:24:47.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:24:47.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:24:47.627Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-12T07:24:47.627Z] 8998bd30e6a1: Pulling fs layer [2023-10-12T07:24:47.627Z] 04944245beec: Pulling fs layer [2023-10-12T07:24:47.627Z] 699f458cf7ca: Pulling fs layer [2023-10-12T07:24:47.627Z] 765212b225bb: Pulling fs layer [2023-10-12T07:24:47.627Z] f23df028b6ca: Pulling fs layer [2023-10-12T07:24:47.627Z] 765212b225bb: Waiting [2023-10-12T07:24:47.627Z] d65c8cfc05b1: Pulling fs layer [2023-10-12T07:24:47.627Z] 2437ff75d9bd: Pulling fs layer [2023-10-12T07:24:47.627Z] d65c8cfc05b1: Waiting [2023-10-12T07:24:47.627Z] 2437ff75d9bd: Waiting [2023-10-12T07:24:47.896Z] 04944245beec: Verifying Checksum [2023-10-12T07:24:47.896Z] 04944245beec: Download complete [2023-10-12T07:24:47.896Z] 765212b225bb: Verifying Checksum [2023-10-12T07:24:47.896Z] 765212b225bb: Download complete [2023-10-12T07:24:47.896Z] f23df028b6ca: Verifying Checksum [2023-10-12T07:24:47.896Z] f23df028b6ca: Download complete [2023-10-12T07:24:47.896Z] d65c8cfc05b1: Verifying Checksum [2023-10-12T07:24:47.896Z] d65c8cfc05b1: Download complete [2023-10-12T07:24:47.896Z] 699f458cf7ca: Verifying Checksum [2023-10-12T07:24:47.896Z] 699f458cf7ca: Download complete [2023-10-12T07:24:48.476Z] 8998bd30e6a1: Download complete [2023-10-12T07:24:51.052Z] 2437ff75d9bd: Verifying Checksum [2023-10-12T07:24:51.052Z] 2437ff75d9bd: Download complete [2023-10-12T07:24:52.988Z] 8998bd30e6a1: Pull complete [2023-10-12T07:24:53.256Z] 04944245beec: Pull complete [2023-10-12T07:24:57.500Z] 699f458cf7ca: Pull complete [2023-10-12T07:24:57.500Z] 765212b225bb: Pull complete [2023-10-12T07:24:58.083Z] f23df028b6ca: Pull complete [2023-10-12T07:24:58.083Z] d65c8cfc05b1: Pull complete [2023-10-12T07:25:16.258Z] 2437ff75d9bd: Pull complete [2023-10-12T07:25:16.258Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-12T07:25:16.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T07:25:16.258Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:25:16.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container [2023-10-12T07:25:16.505Z] $ 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/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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-12T07:25:19.077Z] $ docker top 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:25:19.882Z] ---> job-cost.sh [2023-10-12T07:25:19.882Z] lf-activate-venv: SKIPPING [2023-10-12T07:25:19.882Z] INFO: No Stack... [2023-10-12T07:25:20.145Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-12T07:25:21.099Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T07:25:21.730Z] + + catcut /w/workspace/device-modbus-go/130/archives/cost.csv -d, [2023-10-12T07:25:21.730Z] -f6 [Pipeline] lock [2023-10-12T07:25:21.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [2023-10-12T07:25:21.770Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] did not exist. Created. [2023-10-12T07:25:21.770Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T07:25:22.426Z] /w/workspace/device-modbus-go/130@tmp/durable-7dd3a22f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-12T07:25:23.071Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-12T07:25:23.091Z] Warning: overwriting stash ‘stack-cost’ [2023-10-12T07:25:23.142Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T07:25:23.148Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T07:25:23.167Z] $ docker stop --time=1 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb [2023-10-12T07:25:25.550Z] $ docker rm -f --volumes 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb [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-12T07:25:25.952Z] provisioning config files... [2023-10-12T07:25:25.959Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3468260463970520217tmp [Pipeline] { [Pipeline] sh [2023-10-12T07:25:26.251Z] + set +x [2023-10-12T07:25:26.251Z] + curl -s https://codecov.io/bash [2023-10-12T07:25:26.251Z] + bash -s -- [2023-10-12T07:25:26.251Z] [2023-10-12T07:25:26.251Z] _____ _ [2023-10-12T07:25:26.251Z] / ____| | | [2023-10-12T07:25:26.251Z] | | ___ __| | ___ ___ _____ __ [2023-10-12T07:25:26.251Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-12T07:25:26.251Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-12T07:25:26.251Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-12T07:25:26.251Z] Bash-1.0.6 [2023-10-12T07:25:26.251Z] [2023-10-12T07:25:26.251Z] [2023-10-12T07:25:26.251Z] ==> git version 2.25.1 found [2023-10-12T07:25:26.251Z] ==> 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-12T07:25:26.251Z] Release-Date: 2020-01-08 [2023-10-12T07:25:26.251Z] 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-12T07:25:26.251Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-12T07:25:26.251Z] ==> Jenkins CI detected. [2023-10-12T07:25:26.251Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-12T07:25:26.251Z] project root: . [2023-10-12T07:25:26.251Z] --> token set from env [2023-10-12T07:25:26.251Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-12T07:25:26.251Z] ==> Running gcov in . (disable via -X gcov) [2023-10-12T07:25:26.251Z] ==> Python coveragepy not found [2023-10-12T07:25:26.251Z] ==> Searching for coverage reports in: [2023-10-12T07:25:26.251Z] + . [2023-10-12T07:25:26.251Z] -> Found 1 reports [2023-10-12T07:25:26.510Z] ==> Detecting git/mercurial file structure [2023-10-12T07:25:26.510Z] ==> Reading reports [2023-10-12T07:25:26.510Z] + ./coverage.out bytes=24334 [2023-10-12T07:25:26.510Z] ==> Appending adjustments [2023-10-12T07:25:26.510Z] https://docs.codecov.io/docs/fixing-reports [2023-10-12T07:25:26.510Z] + Found adjustments [2023-10-12T07:25:26.510Z] ==> Gzipping contents [2023-10-12T07:25:26.510Z] 4.0K /tmp/codecov.RjCM2s.gz [2023-10-12T07:25:26.510Z] ==> Uploading reports [2023-10-12T07:25:26.510Z] url: https://codecov.io [2023-10-12T07:25:26.510Z] query: branch=main&commit=c4f8d58e38c56fa084baf69a7312e6a371ed19c6&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-12T07:25:26.510Z] -> Pinging Codecov [2023-10-12T07:25:26.510Z] 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-12T07:25:26.769Z] -> Uploading to [2023-10-12T07:25:26.769Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-12/55DBCA73C666E3227836607328DD7E49/c4f8d58e38c56fa084baf69a7312e6a371ed19c6/5e50fe65-c895-4c14-ac58-d71602a086a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T072526Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2958fe0903f3e6726c873a8e6b314f17d9b753d0fbc8cd349127b5213068db98 [2023-10-12T07:25:26.769Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T07:25:26.769Z] Dload Upload Total Spent Left Speed [2023-10-12T07:25:27.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 13380 --:--:-- --:--:-- --:--:-- 13380 [2023-10-12T07:25:27.028Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } [2023-10-12T07:25:27.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-12T07:25:27.258Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-12T07:25:27.273Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:25:27.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:25:27.572Z] [2023-10-12T07:25:27.572Z] 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-12T07:25:27.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:25:27.871Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-12T07:25:27.871Z] df9b9388f04a: Pulling fs layer [2023-10-12T07:25:27.871Z] 52dc419b0ee2: Pulling fs layer [2023-10-12T07:25:27.871Z] 25bc292e5bac: Pulling fs layer [2023-10-12T07:25:27.871Z] 114826534d7a: Pulling fs layer [2023-10-12T07:25:27.871Z] 4657fd5d0bcf: Pulling fs layer [2023-10-12T07:25:27.871Z] 6ad1cebc031e: Pulling fs layer [2023-10-12T07:25:27.871Z] 8a3aa393b2d8: Pulling fs layer [2023-10-12T07:25:27.871Z] 6ad1cebc031e: Waiting [2023-10-12T07:25:27.871Z] 8a3aa393b2d8: Waiting [2023-10-12T07:25:27.871Z] 4657fd5d0bcf: Waiting [2023-10-12T07:25:27.871Z] 25bc292e5bac: Verifying Checksum [2023-10-12T07:25:27.871Z] 25bc292e5bac: Download complete [2023-10-12T07:25:27.871Z] 52dc419b0ee2: Download complete [2023-10-12T07:25:27.871Z] 4657fd5d0bcf: Verifying Checksum [2023-10-12T07:25:27.871Z] 4657fd5d0bcf: Download complete [2023-10-12T07:25:27.871Z] df9b9388f04a: Download complete [2023-10-12T07:25:28.129Z] df9b9388f04a: Pull complete [2023-10-12T07:25:28.129Z] 6ad1cebc031e: Verifying Checksum [2023-10-12T07:25:28.130Z] 6ad1cebc031e: Download complete [2023-10-12T07:25:28.130Z] 52dc419b0ee2: Pull complete [2023-10-12T07:25:28.389Z] 25bc292e5bac: Pull complete [2023-10-12T07:25:28.647Z] 114826534d7a: Verifying Checksum [2023-10-12T07:25:28.647Z] 114826534d7a: Download complete [2023-10-12T07:25:28.911Z] 8a3aa393b2d8: Verifying Checksum [2023-10-12T07:25:28.911Z] 8a3aa393b2d8: Download complete [2023-10-12T07:25:32.194Z] 114826534d7a: Pull complete [2023-10-12T07:25:32.453Z] 4657fd5d0bcf: Pull complete [2023-10-12T07:25:32.712Z] 6ad1cebc031e: Pull complete [2023-10-12T07:25:35.990Z] 8a3aa393b2d8: Pull complete [2023-10-12T07:25:35.990Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-12T07:25:35.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-12T07:25:35.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:25:36.068Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:25:36.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-12T07:25:43.683Z] $ docker top 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-12T07:25:43.790Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-12T07:25:44.079Z] + set -o pipefail [2023-10-12T07:25:44.079Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/dc8c463f-6b62-4b28-81c3-1f0daf3bb8eb [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] [2023-10-12T07:25:52.199Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-12T07:25:52.199Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-12T07:25:52.199Z] More details here: https://snyk.co/ue1NS [2023-10-12T07:25:52.199Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-12T07:25:52.199Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-12T07:25:52.187Z] $ docker stop --time=1 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c [2023-10-12T07:25:56.578Z] $ docker rm -f --volumes 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c [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-12T07:25:57.360Z] + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] sh [2023-10-12T07:25:57.652Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:25:57.652Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:25:57.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:25:57.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:25:58.016Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:25:58.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:25:58.530Z] $ docker top 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b -eo pid,comm [2023-10-12T07:25:58.603Z] 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-12T07:25:58.603Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:25:58.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:25:58.640Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:25:58.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:25:58.739Z] $ docker exec 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b ssh-agent [2023-10-12T07:25:58.862Z] SSH_AUTH_SOCK=/tmp/ssh-hxZBGSF0AE3p/agent.32 [2023-10-12T07:25:58.862Z] SSH_AGENT_PID=38 [2023-10-12T07:25:58.867Z] Running ssh-add (command line suppressed) [2023-10-12T07:25:58.956Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13662313711763519456.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13662313711763519456.key) [2023-10-12T07:25:58.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:25:59.280Z] + git semver tag [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,450 [run_tag] DEBUG tag force:False [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,450 [check_head_tag] DEBUG check head tag [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,451 [execute] INFO git cat-file --batch-check [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,457 [execute] INFO git cat-file --batch [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,470 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,470 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,470 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-12T07:25:59.539Z] 2023-10-12 07:25:59,475 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:25:59.539Z] 3.1.0-dev.16 [Pipeline] } [2023-10-12T07:25:59.526Z] $ docker exec --env ******** --env ******** 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b ssh-agent -k [2023-10-12T07:25:59.634Z] unset SSH_AUTH_SOCK; [2023-10-12T07:25:59.635Z] unset SSH_AGENT_PID; [2023-10-12T07:25:59.635Z] echo Agent pid 38 killed; [2023-10-12T07:25:59.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:25:59.971Z] + git semver [Pipeline] } [2023-10-12T07:26:00.222Z] $ docker stop --time=1 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b [2023-10-12T07:26:01.483Z] $ docker rm -f --volumes 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:26:01.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:26:01.904Z] [2023-10-12T07:26:01.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:26:02.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:26:02.200Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-12T07:26:02.200Z] ab5ef0e58194: Pulling fs layer [2023-10-12T07:26:02.200Z] 9712f1f96733: Pulling fs layer [2023-10-12T07:26:02.200Z] 63f879dbbcfc: Pulling fs layer [2023-10-12T07:26:02.200Z] 0d9ebad4ef96: Pulling fs layer [2023-10-12T07:26:02.200Z] e9a5061849ea: Pulling fs layer [2023-10-12T07:26:02.200Z] d747dcd14b5f: Pulling fs layer [2023-10-12T07:26:02.200Z] 2de7ff778b66: Pulling fs layer [2023-10-12T07:26:02.200Z] 0d9ebad4ef96: Waiting [2023-10-12T07:26:02.200Z] e9a5061849ea: Waiting [2023-10-12T07:26:02.200Z] 2de7ff778b66: Waiting [2023-10-12T07:26:02.200Z] d747dcd14b5f: Waiting [2023-10-12T07:26:02.200Z] 9712f1f96733: Verifying Checksum [2023-10-12T07:26:02.200Z] 9712f1f96733: Download complete [2023-10-12T07:26:02.460Z] 63f879dbbcfc: Verifying Checksum [2023-10-12T07:26:02.460Z] 63f879dbbcfc: Download complete [2023-10-12T07:26:02.719Z] 0d9ebad4ef96: Verifying Checksum [2023-10-12T07:26:02.720Z] 0d9ebad4ef96: Download complete [2023-10-12T07:26:02.720Z] e9a5061849ea: Verifying Checksum [2023-10-12T07:26:02.720Z] e9a5061849ea: Download complete [2023-10-12T07:26:02.720Z] d747dcd14b5f: Verifying Checksum [2023-10-12T07:26:02.720Z] d747dcd14b5f: Download complete [2023-10-12T07:26:02.720Z] ab5ef0e58194: Verifying Checksum [2023-10-12T07:26:02.720Z] ab5ef0e58194: Download complete [2023-10-12T07:26:02.977Z] 2de7ff778b66: Verifying Checksum [2023-10-12T07:26:02.977Z] 2de7ff778b66: Download complete [2023-10-12T07:26:05.507Z] ab5ef0e58194: Pull complete [2023-10-12T07:26:05.507Z] 9712f1f96733: Pull complete [2023-10-12T07:26:06.072Z] 63f879dbbcfc: Pull complete [2023-10-12T07:26:10.250Z] 0d9ebad4ef96: Pull complete [2023-10-12T07:26:10.508Z] e9a5061849ea: Pull complete [2023-10-12T07:26:10.508Z] d747dcd14b5f: Pull complete [2023-10-12T07:26:11.445Z] 2de7ff778b66: Pull complete [2023-10-12T07:26:11.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-12T07:26:11.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-12T07:26:11.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:26:11.788Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:26:11.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-12T07:26:21.350Z] $ docker top d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:26:21.441Z] provisioning config files... [2023-10-12T07:26:21.449Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8375087622526001492tmp [2023-10-12T07:26:21.459Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2970781132348321725tmp [2023-10-12T07:26:21.467Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10733859945240186049tmp [Pipeline] { [Pipeline] echo [2023-10-12T07:26:21.483Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:21.767Z] ---> sigul-configuration.sh [2023-10-12T07:26:21.767Z] gpg: directory `/root/.gnupg' created [2023-10-12T07:26:21.767Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-12T07:26:21.767Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-12T07:26:21.767Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-12T07:26:21.767Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-12T07:26:21.767Z] gpg: CAST5 encrypted data [2023-10-12T07:26:21.767Z] gpg: encrypted with 1 passphrase [2023-10-12T07:26:21.767Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-12T07:26:22.052Z] + mkdir /home/jenkins [2023-10-12T07:26:22.052Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-12T07:26:22.339Z] + 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-12T07:26:22.347Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:22.632Z] ---> sigul-install.sh [2023-10-12T07:26:22.632Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-12T07:26:22.916Z] + git tag --list [2023-10-12T07:26:22.916Z] 0.7.1 [2023-10-12T07:26:22.916Z] v1.0.0 [2023-10-12T07:26:22.916Z] v1.1.0 [2023-10-12T07:26:22.916Z] v1.1.1 [2023-10-12T07:26:22.916Z] v1.2.2 [2023-10-12T07:26:22.916Z] v1.3.0 [2023-10-12T07:26:22.916Z] v1.3.1 [2023-10-12T07:26:22.916Z] v2.0.0 [2023-10-12T07:26:22.916Z] v2.1.0 [2023-10-12T07:26:22.916Z] v2.1.1 [2023-10-12T07:26:22.916Z] v2.2.0 [2023-10-12T07:26:22.916Z] v2.3.0 [2023-10-12T07:26:22.916Z] v3.0 [2023-10-12T07:26:22.916Z] v3.0.0 [2023-10-12T07:26:22.916Z] v3.1.0-dev.1 [2023-10-12T07:26:22.916Z] v3.1.0-dev.10 [2023-10-12T07:26:22.916Z] v3.1.0-dev.11 [2023-10-12T07:26:22.916Z] v3.1.0-dev.12 [2023-10-12T07:26:22.916Z] v3.1.0-dev.13 [2023-10-12T07:26:22.916Z] v3.1.0-dev.14 [2023-10-12T07:26:22.916Z] v3.1.0-dev.15 [2023-10-12T07:26:22.916Z] v3.1.0-dev.16 [2023-10-12T07:26:22.916Z] v3.1.0-dev.2 [2023-10-12T07:26:22.916Z] v3.1.0-dev.3 [2023-10-12T07:26:22.916Z] v3.1.0-dev.4 [2023-10-12T07:26:22.916Z] v3.1.0-dev.5 [2023-10-12T07:26:22.916Z] v3.1.0-dev.6 [2023-10-12T07:26:22.916Z] v3.1.0-dev.7 [2023-10-12T07:26:22.916Z] v3.1.0-dev.8 [2023-10-12T07:26:22.916Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-12T07:26:23.203Z] + lftools sign git-tag v3.1.0-dev.16 [2023-10-12T07:26:23.771Z] Signing Git tag with Sigul... [2023-10-12T07:26:23.771Z] Signing v3.1.0-dev.16 [Pipeline] echo [2023-10-12T07:26:25.158Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:25.459Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-12T07:26:25.466Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-12T07:26:25.470Z] $ docker stop --time=1 d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd [2023-10-12T07:26:26.798Z] $ docker rm -f --volumes d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-12T07:26:27.218Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:26:27.218Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:26:27.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:26:27.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:26:27.585Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:26:27.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:26:27.951Z] $ docker top fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 -eo pid,comm [2023-10-12T07:26:28.019Z] 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-12T07:26:28.019Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:26:28.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:26:28.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:26:28.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:26:28.141Z] $ docker exec fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 ssh-agent [2023-10-12T07:26:28.286Z] SSH_AUTH_SOCK=/tmp/ssh-8Dpt5xLjeVIH/agent.33 [2023-10-12T07:26:28.286Z] SSH_AGENT_PID=39 [2023-10-12T07:26:28.291Z] Running ssh-add (command line suppressed) [2023-10-12T07:26:28.374Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2330061418411170820.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2330061418411170820.key) [2023-10-12T07:26:28.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:26:28.687Z] + git semver bump pre [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,842 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,842 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,842 [bump_version] DEBUG bumped version:3.1.0-dev.17 [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,842 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,842 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,843 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,845 [execute] INFO git cat-file --batch-check [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,845 [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-12T07:26:28.946Z] 2023-10-12 07:26:28,850 [execute] INFO git cat-file --batch [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T07:26:28.946Z] 2023-10-12 07:26:28,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:26:28.946Z] 3.1.0-dev.17 [Pipeline] } [2023-10-12T07:26:28.937Z] $ docker exec --env ******** --env ******** fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 ssh-agent -k [2023-10-12T07:26:29.042Z] unset SSH_AUTH_SOCK; [2023-10-12T07:26:29.042Z] unset SSH_AGENT_PID; [2023-10-12T07:26:29.042Z] echo Agent pid 39 killed; [2023-10-12T07:26:29.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:26:29.376Z] + git semver [Pipeline] } [2023-10-12T07:26:29.630Z] $ docker stop --time=1 fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 [2023-10-12T07:26:30.904Z] $ docker rm -f --volumes fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T07:26:31.269Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T07:26:31.269Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:26:31.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T07:26:31.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:26:31.634Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:26:31.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T07:26:31.997Z] $ docker top c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T07:26:32.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T07:26:32.158Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T07:26:32.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T07:26:32.264Z] $ docker exec c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d ssh-agent [2023-10-12T07:26:32.401Z] SSH_AUTH_SOCK=/tmp/ssh-m2ggWaVjxtjv/agent.32 [2023-10-12T07:26:32.401Z] SSH_AGENT_PID=38 [2023-10-12T07:26:32.422Z] Running ssh-add (command line suppressed) [2023-10-12T07:26:32.517Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417367251137428637.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417367251137428637.key) [2023-10-12T07:26:32.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T07:26:32.906Z] + git semver push [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,040 [run_push] DEBUG push [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,041 [execute] INFO git cat-file --batch-check [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,041 [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-12T07:26:33.176Z] 2023-10-12 07:26:33,045 [execute] INFO git rev-list b97a99540d19da650e2f30a83cc1af5a113df31e -- [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,046 [execute] DEBUG Popen(['git', 'rev-list', 'b97a99540d19da650e2f30a83cc1af5a113df31e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,055 [execute] INFO git fetch -v origin [2023-10-12T07:26:33.176Z] 2023-10-12 07:26:33,055 [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-12T07:26:33.749Z] 2023-10-12 07:26:33,620 [run_push] DEBUG no remote changes detected [2023-10-12T07:26:33.749Z] 2023-10-12 07:26:33,620 [execute] INFO git push origin semver [2023-10-12T07:26:33.749Z] 2023-10-12 07:26:33,621 [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-12T07:26:34.687Z] 2023-10-12 07:26:34,400 [run_push] DEBUG push all version tags [2023-10-12T07:26:34.687Z] 2023-10-12 07:26:34,400 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-12T07:26:34.687Z] 2023-10-12 07:26:34,401 [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-12T07:26:35.256Z] 2023-10-12 07:26:35,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-12T07:26:35.256Z] 3.1.0-dev.17 [Pipeline] } [2023-10-12T07:26:35.246Z] $ docker exec --env ******** --env ******** c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d ssh-agent -k [2023-10-12T07:26:35.342Z] unset SSH_AUTH_SOCK; [2023-10-12T07:26:35.344Z] unset SSH_AGENT_PID; [2023-10-12T07:26:35.345Z] echo Agent pid 38 killed; [2023-10-12T07:26:35.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T07:26:35.675Z] + git semver [Pipeline] } [2023-10-12T07:26:35.930Z] $ docker stop --time=1 c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d [2023-10-12T07:26:37.201Z] $ docker rm -f --volumes c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d [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-12T07:26:37.826Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-12T07:26:37.826Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-12T07:26:37.826Z] total 16 [2023-10-12T07:26:37.826Z] drwxr-xr-x 3 root root 4096 Oct 12 07:18 . [2023-10-12T07:26:37.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:26 .. [2023-10-12T07:26:37.826Z] drwxr-xr-x 2 root root 4096 Oct 12 07:18 cost [2023-10-12T07:26:37.826Z] -rw-r--r-- 1 root root 88 Oct 12 07:18 cost.csv [2023-10-12T07:26:37.826Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-12T07:26:37.826Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-12T07:26:37.826Z] total 16 [2023-10-12T07:26:37.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:18 . [2023-10-12T07:26:37.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:26 .. [2023-10-12T07:26:37.826Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 07:18 cost [2023-10-12T07:26:37.826Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 12 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:38.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:38.976Z] ---> package-listing.sh [2023-10-12T07:26:38.976Z] ++ facter osfamily [2023-10-12T07:26:38.976Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-12T07:26:39.235Z] + OS_FAMILY=debian [2023-10-12T07:26:39.235Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-12T07:26:39.235Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-12T07:26:39.235Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-12T07:26:39.235Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-12T07:26:39.235Z] + PACKAGES=/tmp/packages_start.txt [2023-10-12T07:26:39.235Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-12T07:26:39.235Z] + PACKAGES=/tmp/packages_end.txt [2023-10-12T07:26:39.235Z] + case "${OS_FAMILY}" in [2023-10-12T07:26:39.235Z] + dpkg -l [2023-10-12T07:26:39.235Z] + grep '^ii' [2023-10-12T07:26:39.235Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-12T07:26:39.235Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-12T07:26:39.235Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-12T07:26:39.235Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-12T07:26:39.235Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-12T07:26:39.235Z] + 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-12T07:26:39.244Z] 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-12T07:26:39.521Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T07:26:40.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T07:26:40.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T07:26:40.152Z] prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container [2023-10-12T07:26:40.163Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T07:26:40.404Z] $ docker top 69e830d5daf3453e6f4691e892503c4459428f01807b422f0d74442490dcfe11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T07:26:40.765Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-12T07:26:41.046Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-12T07:26:41.328Z] + ls /var/log/sa-host [2023-10-12T07:26:41.328Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T07:26:41.487Z] provisioning config files... [2023-10-12T07:26:41.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10788646264600422374tmp [Pipeline] { [Pipeline] echo [2023-10-12T07:26:41.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:41.788Z] ---> create-netrc.sh [Pipeline] } [2023-10-12T07:26:41.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:42.116Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-12T07:26:42.125Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:42.410Z] ---> sudo-logs.sh [2023-10-12T07:26:42.410Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-12T07:26:42.437Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:42.719Z] ---> job-cost.sh [2023-10-12T07:26:42.719Z] lf-activate-venv: SKIPPING [2023-10-12T07:26:42.719Z] DEBUG: total: 0.2199999988079071 [2023-10-12T07:26:42.719Z] INFO: Retrieving Stack Cost... [2023-10-12T07:26:42.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T07:26:43.545Z] INFO: Archiving Costs [Pipeline] echo [2023-10-12T07:26:43.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T07:26:43.834Z] ---> logs-deploy.sh [2023-10-12T07:26:43.835Z] lf-activate-venv: SKIPPING [2023-10-12T07:26:43.835Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/130 [2023-10-12T07:26:43.835Z] INFO: archiving workspace using pattern(s): [2023-10-12T07:26:44.772Z] Archives upload complete. [2023-10-12T07:26:45.030Z] INFO: archiving logs to Nexus