Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a922296995208ff0e4cc89e50973eb58c03687f 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-ssh6539764657193931651.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12271688748719103407.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10883981698681035702.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2146319119447787565.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-ssh8859127713092429910.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9906’ Running on prd-ubuntu20.04-docker-8c-8g-9908 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 4a922296995208ff0e4cc89e50973eb58c03687f (main) Commit message: "refactor!: consume device-sdk-go breaking changes (#422)" > 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 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 > git rev-list --no-walk 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T16:56:03.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T16:56:03.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T16:56:03.116Z] ========================================================= [2023-03-13T16:56:03.116Z] EdgeX Global Pipelines Version Info [2023-03-13T16:56:03.116Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:56:03.830Z] ------------------- [2023-03-13T16:56:03.830Z] stable info: [2023-03-13T16:56:03.830Z] ------------------- [2023-03-13T16:56:03.830Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T16:56:03.830Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T16:56:03.830Z] Message: update stable to v1.0.244 [2023-03-13T16:56:04.402Z] ------------------- [2023-03-13T16:56:04.402Z] experimental info: [2023-03-13T16:56:04.402Z] ------------------- [2023-03-13T16:56:04.402Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T16:56:04.402Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T16:56:04.402Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T16:56:04.578Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-13T16:56:04.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-13T16:56:04.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T16:56:04.604Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T16:56:04.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T16:56:04.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T16:56:04.628Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T16:56:04.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T16:56:04.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T16:56:04.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T16:56:04.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T16:56:04.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-13T16:56:04.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T16:56:04.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T16:56:04.698Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T16:56:04.706Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T16:56:04.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T16:56:04.736Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T16:56:04.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T16:56:04.764Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T16:56:04.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T16:56:04.790Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T16:56:04.801Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T16:56:04.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T16:56:04.825Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T16:56:04.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T16:56:04.849Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T16:56:04.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-13T16:56:04.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-13T16:56:04.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-13T16:56:04.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo [2023-03-13T16:56:04.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a92229 [Pipeline] echo [2023-03-13T16:56:04.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T16:56:04.972Z] provisioning config files... [2023-03-13T16:56:04.985Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1536853337221233557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:56:05.287Z] ---> docker-login.sh [2023-03-13T16:56:05.287Z] nexus3.edgexfoundry.org:10001 [2023-03-13T16:56:05.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:05.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:05.547Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:05.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:05.547Z] [2023-03-13T16:56:05.547Z] Login Succeeded [2023-03-13T16:56:05.547Z] nexus3.edgexfoundry.org:10002 [2023-03-13T16:56:05.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:05.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:05.808Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:05.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:05.808Z] [2023-03-13T16:56:05.808Z] Login Succeeded [2023-03-13T16:56:05.808Z] nexus3.edgexfoundry.org:10003 [2023-03-13T16:56:05.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:05.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:05.808Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:05.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:05.808Z] [2023-03-13T16:56:05.808Z] Login Succeeded [2023-03-13T16:56:05.808Z] nexus3.edgexfoundry.org:10004 [2023-03-13T16:56:05.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:06.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:06.068Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:06.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:06.068Z] [2023-03-13T16:56:06.068Z] Login Succeeded [2023-03-13T16:56:06.068Z] docker.io [2023-03-13T16:56:06.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:06.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:06.328Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:06.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:06.328Z] [2023-03-13T16:56:06.328Z] Login Succeeded [2023-03-13T16:56:06.328Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T16:56:06.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T16:56:06.710Z] + git rev-list -1 --merges 4a922296995208ff0e4cc89e50973eb58c03687f~1..4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo [2023-03-13T16:56:06.757Z] -----------> git rev-list -1 --merges 4a922296995208ff0e4cc89e50973eb58c03687f~1..4a922296995208ff0e4cc89e50973eb58c03687f 4a922296995208ff0e4cc89e50973eb58c03687f [false] [Pipeline] sh [2023-03-13T16:56:07.044Z] + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo [2023-03-13T16:56:07.062Z] ========================================================= [2023-03-13T16:56:07.062Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T16:56:07.062Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T16:56:07.403Z] + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] echo [2023-03-13T16:56:07.415Z] [semverPrep] GIT_COMMIT: 4a922296995208ff0e4cc89e50973eb58c03687f, Commit Message: refactor!: consume device-sdk-go breaking changes (#422) [Pipeline] echo [2023-03-13T16:56:07.425Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T16:56:07.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T16:56:07.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T16:56:07.760Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T16:56:07.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T16:56:07.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T16:56:07.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T16:56:07.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:56:08.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T16:56:08.102Z] [2023-03-13T16:56:08.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:56:08.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T16:56:08.408Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T16:56:08.408Z] b85a868b505f: Pulling fs layer [2023-03-13T16:56:08.408Z] e2be974225ed: Pulling fs layer [2023-03-13T16:56:08.408Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T16:56:08.408Z] 988bab9f4d93: Pulling fs layer [2023-03-13T16:56:08.408Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T16:56:08.408Z] 988bab9f4d93: Waiting [2023-03-13T16:56:08.408Z] eaf3925da568: Pulling fs layer [2023-03-13T16:56:08.408Z] bab4dde63d76: Pulling fs layer [2023-03-13T16:56:08.408Z] bde34c3a00c8: Pulling fs layer [2023-03-13T16:56:08.408Z] b352a97aabf1: Pulling fs layer [2023-03-13T16:56:08.408Z] 4872d77fe225: Pulling fs layer [2023-03-13T16:56:08.408Z] 1469e6f7b9e6: Waiting [2023-03-13T16:56:08.408Z] 5851b861e8e6: Pulling fs layer [2023-03-13T16:56:08.408Z] eaf3925da568: Waiting [2023-03-13T16:56:08.408Z] bde34c3a00c8: Waiting [2023-03-13T16:56:08.408Z] bab4dde63d76: Waiting [2023-03-13T16:56:08.408Z] b352a97aabf1: Waiting [2023-03-13T16:56:08.408Z] e2be974225ed: Verifying Checksum [2023-03-13T16:56:08.408Z] e2be974225ed: Download complete [2023-03-13T16:56:08.408Z] 988bab9f4d93: Verifying Checksum [2023-03-13T16:56:08.408Z] 988bab9f4d93: Download complete [2023-03-13T16:56:08.668Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T16:56:08.668Z] 1469e6f7b9e6: Download complete [2023-03-13T16:56:08.668Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T16:56:08.668Z] 339a4e72a1f5: Download complete [2023-03-13T16:56:08.668Z] eaf3925da568: Verifying Checksum [2023-03-13T16:56:08.668Z] eaf3925da568: Download complete [2023-03-13T16:56:08.668Z] bde34c3a00c8: Download complete [2023-03-13T16:56:08.668Z] b352a97aabf1: Download complete [2023-03-13T16:56:08.668Z] 4872d77fe225: Download complete [2023-03-13T16:56:08.668Z] b85a868b505f: Download complete [2023-03-13T16:56:08.668Z] 5851b861e8e6: Verifying Checksum [2023-03-13T16:56:08.668Z] 5851b861e8e6: Download complete [2023-03-13T16:56:08.928Z] bab4dde63d76: Verifying Checksum [2023-03-13T16:56:08.928Z] bab4dde63d76: Download complete [2023-03-13T16:56:09.891Z] b85a868b505f: Pull complete [2023-03-13T16:56:10.151Z] e2be974225ed: Pull complete [2023-03-13T16:56:10.732Z] 339a4e72a1f5: Pull complete [2023-03-13T16:56:10.732Z] 988bab9f4d93: Pull complete [2023-03-13T16:56:10.991Z] 1469e6f7b9e6: Pull complete [2023-03-13T16:56:10.991Z] eaf3925da568: Pull complete [2023-03-13T16:56:12.896Z] bab4dde63d76: Pull complete [2023-03-13T16:56:12.896Z] bde34c3a00c8: Pull complete [2023-03-13T16:56:12.896Z] b352a97aabf1: Pull complete [2023-03-13T16:56:12.896Z] 4872d77fe225: Pull complete [2023-03-13T16:56:13.154Z] 5851b861e8e6: Pull complete [2023-03-13T16:56:13.154Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T16:56:13.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T16:56:13.154Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T16:56:13.261Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T16:56:13.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T16:56:15.734Z] $ docker top 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b -eo pid,comm [2023-03-13T16:56:15.785Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T16:56:15.785Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T16:56:15.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T16:56:15.826Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T16:56:15.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T16:56:15.949Z] $ docker exec 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent [2023-03-13T16:56:16.064Z] SSH_AUTH_SOCK=/tmp/ssh-km81m7ng5l76/agent.31 [2023-03-13T16:56:16.064Z] SSH_AGENT_PID=37 [2023-03-13T16:56:16.072Z] Running ssh-add (command line suppressed) [2023-03-13T16:56:16.174Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2437811675875778414.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2437811675875778414.key) [2023-03-13T16:56:16.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T16:56:16.474Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T16:56:16.487Z] $ docker exec --env ******** --env ******** 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent -k [2023-03-13T16:56:16.579Z] unset SSH_AUTH_SOCK; [2023-03-13T16:56:16.579Z] unset SSH_AGENT_PID; [2023-03-13T16:56:16.580Z] echo Agent pid 37 killed; [2023-03-13T16:56:16.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T16:56:16.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T16:56:16.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T16:56:16.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T16:56:16.740Z] $ docker exec 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent [2023-03-13T16:56:16.850Z] SSH_AUTH_SOCK=/tmp/ssh-ARQP9Hu5PCyN/agent.69 [2023-03-13T16:56:16.850Z] SSH_AGENT_PID=75 [2023-03-13T16:56:16.856Z] Running ssh-add (command line suppressed) [2023-03-13T16:56:16.964Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16893929362078895942.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16893929362078895942.key) [2023-03-13T16:56:16.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T16:56:17.267Z] + git semver init [2023-03-13T16:56:17.527Z] 2023-03-13 16:56:17,439 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T16:56:17.527Z] 2023-03-13 16:56:17,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-13T16:56:17.527Z] 2023-03-13 16:56:17,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-13T16:56:17.527Z] 2023-03-13 16:56:17,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-13T16:56:18.465Z] 2023-03-13 16:56:18,271 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-13T16:56:18.465Z] 2023-03-13 16:56:18,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-13T16:56:18.465Z] 2023-03-13 16:56:18,271 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T16:56:18.465Z] 2023-03-13 16:56:18,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T16:56:18.465Z] 3.0.0-dev.16 [Pipeline] } [2023-03-13T16:56:18.477Z] $ docker exec --env ******** --env ******** 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b ssh-agent -k [2023-03-13T16:56:18.569Z] unset SSH_AUTH_SOCK; [2023-03-13T16:56:18.569Z] unset SSH_AGENT_PID; [2023-03-13T16:56:18.569Z] echo Agent pid 75 killed; [2023-03-13T16:56:18.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T16:56:18.872Z] + git semver [Pipeline] } [2023-03-13T16:56:19.147Z] $ docker stop --time=1 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b [2023-03-13T16:56:20.426Z] $ docker rm -f --volumes 168f671b29d65f3d831719f869c9cbe174385f6bdb896caa82a4699e207e3c2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T16:56:20.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T16:56:20.968Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T16:56:20.971Z] [edgeXSemver]: initialized semver on version 3.0.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-03-13T16:56:21.124Z] provisioning config files... [2023-03-13T16:56:21.133Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14367491791567795743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:56:21.429Z] ---> docker-login.sh [2023-03-13T16:56:21.429Z] nexus3.edgexfoundry.org:10001 [2023-03-13T16:56:21.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:21.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:21.429Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:21.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:21.429Z] [2023-03-13T16:56:21.429Z] Login Succeeded [2023-03-13T16:56:21.429Z] nexus3.edgexfoundry.org:10002 [2023-03-13T16:56:21.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:21.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:21.429Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:21.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:21.429Z] [2023-03-13T16:56:21.429Z] Login Succeeded [2023-03-13T16:56:21.429Z] nexus3.edgexfoundry.org:10003 [2023-03-13T16:56:21.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:21.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:21.688Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:21.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:21.688Z] [2023-03-13T16:56:21.688Z] Login Succeeded [2023-03-13T16:56:21.688Z] nexus3.edgexfoundry.org:10004 [2023-03-13T16:56:21.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:21.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:21.688Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:21.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:21.688Z] [2023-03-13T16:56:21.688Z] Login Succeeded [2023-03-13T16:56:21.688Z] docker.io [2023-03-13T16:56:21.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:56:21.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:56:21.948Z] Configure a credential helper to remove this warning. See [2023-03-13T16:56:21.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:56:21.948Z] [2023-03-13T16:56:21.948Z] Login Succeeded [2023-03-13T16:56:21.948Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T16:56:21.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T16:56:22.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T16:56:22.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T16:56:22.038Z] ========================================================= [2023-03-13T16:56:22.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T16:56:22.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:56:22.353Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T16:56:22.354Z] Sending build context to Docker daemon 6.413MB [2023-03-13T16:56:22.354Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T16:56:22.354Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T16:56:22.354Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T16:56:22.354Z] 213ec9aee27d: Pulling fs layer [2023-03-13T16:56:22.354Z] 4583459ba037: Pulling fs layer [2023-03-13T16:56:22.354Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T16:56:22.354Z] 53926ce57604: Pulling fs layer [2023-03-13T16:56:22.354Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T16:56:22.354Z] 22ff95d597cd: Pulling fs layer [2023-03-13T16:56:22.354Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T16:56:22.354Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T16:56:22.354Z] a7acece74701: Pulling fs layer [2023-03-13T16:56:22.354Z] 53926ce57604: Waiting [2023-03-13T16:56:22.354Z] 21b2b0c7a3f4: Waiting [2023-03-13T16:56:22.354Z] 22ff95d597cd: Waiting [2023-03-13T16:56:22.354Z] 96b7cbca73a9: Waiting [2023-03-13T16:56:22.354Z] a7acece74701: Waiting [2023-03-13T16:56:22.354Z] 12d6caf4c0d1: Waiting [2023-03-13T16:56:22.354Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T16:56:22.354Z] 93c1e223e6f2: Download complete [2023-03-13T16:56:22.354Z] 4583459ba037: Download complete [2023-03-13T16:56:22.354Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T16:56:22.354Z] 21b2b0c7a3f4: Download complete [2023-03-13T16:56:22.616Z] 22ff95d597cd: Download complete [2023-03-13T16:56:22.616Z] 213ec9aee27d: Verifying Checksum [2023-03-13T16:56:22.616Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T16:56:22.616Z] 12d6caf4c0d1: Download complete [2023-03-13T16:56:22.616Z] 213ec9aee27d: Pull complete [2023-03-13T16:56:22.880Z] 4583459ba037: Pull complete [2023-03-13T16:56:22.880Z] 93c1e223e6f2: Pull complete [2023-03-13T16:56:23.141Z] a7acece74701: Verifying Checksum [2023-03-13T16:56:23.141Z] a7acece74701: Download complete [2023-03-13T16:56:23.141Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T16:56:23.141Z] 96b7cbca73a9: Download complete [2023-03-13T16:56:23.414Z] 53926ce57604: Verifying Checksum [2023-03-13T16:56:23.414Z] 53926ce57604: Download complete [2023-03-13T16:56:27.606Z] 53926ce57604: Pull complete [2023-03-13T16:56:27.606Z] 21b2b0c7a3f4: Pull complete [2023-03-13T16:56:27.606Z] 22ff95d597cd: Pull complete [2023-03-13T16:56:27.606Z] 12d6caf4c0d1: Pull complete [2023-03-13T16:56:29.511Z] 96b7cbca73a9: Pull complete [2023-03-13T16:56:30.076Z] a7acece74701: Pull complete [2023-03-13T16:56:30.076Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T16:56:30.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T16:56:30.076Z] ---> db6d94c90886 [2023-03-13T16:56:30.076Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-13T16:56:34.265Z] ---> Running in b459bfc591a0 [2023-03-13T16:56:34.265Z] Removing intermediate container b459bfc591a0 [2023-03-13T16:56:34.265Z] ---> 7b282cc9ddb5 [2023-03-13T16:56:34.265Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T16:56:34.265Z] ---> Running in 8272cc1873e7 [2023-03-13T16:56:34.265Z] Removing intermediate container 8272cc1873e7 [2023-03-13T16:56:34.265Z] ---> a23711417940 [2023-03-13T16:56:34.265Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-13T16:56:34.265Z] ---> Running in 7b6be0929a2f [2023-03-13T16:56:34.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T16:56:34.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T16:56:34.782Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-03-13T16:56:34.782Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-03-13T16:56:34.782Z] (8/8) Installing openssh (9.0_p1-r2) [2023-03-13T16:56:34.782Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T16:56:34.782Z] OK: 217 MiB in 59 packages [2023-03-13T16:56:35.351Z] Removing intermediate container 7b6be0929a2f [2023-03-13T16:56:35.351Z] ---> 71c086fb9efb [2023-03-13T16:56:35.351Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-13T16:56:35.351Z] ---> Running in 86b09675e998 [2023-03-13T16:56:35.610Z] Removing intermediate container 86b09675e998 [2023-03-13T16:56:35.610Z] ---> 1f8c04922f89 [2023-03-13T16:56:35.610Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T16:56:35.610Z] ---> 9a372c73424c [2023-03-13T16:56:35.610Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T16:56:35.610Z] ---> Running in 649787e6c325 [2023-03-13T16:56:36.075Z] Still waiting to schedule task [2023-03-13T16:56:36.075Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9907’ [2023-03-13T16:57:07.693Z] Removing intermediate container 649787e6c325 [2023-03-13T16:57:07.693Z] ---> 6e93d486e430 [2023-03-13T16:57:07.693Z] Step 9/10 : COPY . . [2023-03-13T16:57:07.693Z] ---> f193fd0bfd0a [2023-03-13T16:57:07.693Z] Step 10/10 : RUN ${MAKE} [2023-03-13T16:57:07.693Z] ---> Running in b3c9eaaa3035 [2023-03-13T16:57:07.693Z] noop [2023-03-13T16:57:07.693Z] Removing intermediate container b3c9eaaa3035 [2023-03-13T16:57:07.693Z] ---> d6195b1f708d [2023-03-13T16:57:07.693Z] Successfully built d6195b1f708d [2023-03-13T16:57:07.693Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:57:07.998Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T16:57:07.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T16:57:08.073Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T16:57:08.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T16:57:08.427Z] $ docker top 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T16:57:08.765Z] + go version [2023-03-13T16:57:08.765Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T16:57:08.778Z] $ docker stop --time=1 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb [2023-03-13T16:57:10.026Z] $ docker rm -f --volumes 0743ad2d675f0d490809854b503ac784d636e6cf5cdf7c05b503d8b0ca839bfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:57:10.413Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T16:57:10.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T16:57:10.486Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T16:57:10.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T16:57:10.838Z] $ docker top 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T16:57:11.184Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-13T16:57:11.481Z] + make test [2023-03-13T16:57:11.481Z] go test ./... -coverprofile=coverage.out [2023-03-13T16:57:12.045Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-13T16:57:22.006Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-13T16:57:22.006Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.020s coverage: 48.0% of statements [2023-03-13T16:57:27.263Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T16:57:27.263Z] go vet ./... [2023-03-13T16:57:30.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T16:57:30.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T16:57:30.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T16:57:30.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T16:57:30.570Z] $ docker stop --time=1 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac [2023-03-13T16:57:33.104Z] $ docker rm -f --volumes 27d20d4c4d89aed8b95118b52b587827779ab49bf9d475c082e1ec5157bda6ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T16:57:33.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T16:57:33.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T16:57:34.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T16:57:34.355Z] + ls -al . [2023-03-13T16:57:34.355Z] total 180 [2023-03-13T16:57:34.355Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 16:57 . [2023-03-13T16:57:34.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 .. [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 16:56 .dockerignore [2023-03-13T16:57:34.355Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:57 .git [2023-03-13T16:57:34.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 .github [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 16:56 .gitignore [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:56 .golangci.yml [2023-03-13T16:57:34.355Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:56 .semver [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 16:56 Attribution.txt [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 16:56 CHANGELOG.md [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 16:56 Dockerfile [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:56 GOVERNANCE.md [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:56 Jenkinsfile [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:56 LICENSE [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 16:56 Makefile [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 16:56 OWNERS.md [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 16:56 README.md [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 16:56 VERSION [2023-03-13T16:57:34.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 bin [2023-03-13T16:57:34.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 cmd [2023-03-13T16:57:34.355Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 16:57 coverage.out [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 16:56 go.mod [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 16:56 go.sum [2023-03-13T16:57:34.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:56 internal [2023-03-13T16:57:34.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:56 simulator [2023-03-13T16:57:34.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:56 snap [2023-03-13T16:57:34.355Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:57:34.660Z] + 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=4a922296995208ff0e4cc89e50973eb58c03687f --label arch=amd64 --label version=3.0.0-dev.16 . [2023-03-13T16:57:34.660Z] Sending build context to Docker daemon 6.438MB [2023-03-13T16:57:34.660Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T16:57:34.660Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-13T16:57:34.660Z] ---> d6195b1f708d [2023-03-13T16:57:34.660Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-13T16:57:34.919Z] ---> Running in 5bb95ee42d50 [2023-03-13T16:57:34.919Z] Removing intermediate container 5bb95ee42d50 [2023-03-13T16:57:34.919Z] ---> 77cb44dfd84c [2023-03-13T16:57:34.919Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T16:57:34.919Z] ---> Running in 490ba6eccccd [2023-03-13T16:57:34.919Z] Removing intermediate container 490ba6eccccd [2023-03-13T16:57:34.919Z] ---> 1c49b5805328 [2023-03-13T16:57:34.919Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-13T16:57:34.919Z] ---> Running in 51a03bbad7f9 [2023-03-13T16:57:35.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T16:57:35.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T16:57:35.435Z] OK: 217 MiB in 59 packages [2023-03-13T16:57:35.693Z] Removing intermediate container 51a03bbad7f9 [2023-03-13T16:57:35.693Z] ---> 159393187bd3 [2023-03-13T16:57:35.693Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-13T16:57:35.693Z] ---> Running in 3f72b6c77ef4 [2023-03-13T16:57:35.952Z] Removing intermediate container 3f72b6c77ef4 [2023-03-13T16:57:35.952Z] ---> 0ca1654083b7 [2023-03-13T16:57:35.952Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-13T16:57:35.952Z] ---> 03f932bba1da [2023-03-13T16:57:35.952Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T16:57:35.952Z] ---> Running in 8e0870734b91 [2023-03-13T16:57:36.886Z] Removing intermediate container 8e0870734b91 [2023-03-13T16:57:36.886Z] ---> 3c61e2585054 [2023-03-13T16:57:36.886Z] Step 9/22 : COPY . . [2023-03-13T16:57:37.144Z] ---> c34e4d5055cb [2023-03-13T16:57:37.144Z] Step 10/22 : RUN ${MAKE} [2023-03-13T16:57:37.144Z] ---> Running in 9930de2ca92e [2023-03-13T16:57:37.403Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-13T16:57:59.325Z] Removing intermediate container 9930de2ca92e [2023-03-13T16:57:59.325Z] ---> 5cb7a1b3cd2a [2023-03-13T16:57:59.325Z] Step 11/22 : FROM alpine:3.14 [2023-03-13T16:57:59.325Z] 3.14: Pulling from library/alpine [2023-03-13T16:57:59.325Z] d261077062b2: Pulling fs layer [2023-03-13T16:57:59.325Z] d261077062b2: Verifying Checksum [2023-03-13T16:57:59.325Z] d261077062b2: Download complete [2023-03-13T16:57:59.325Z] d261077062b2: Pull complete [2023-03-13T16:57:59.325Z] Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 [2023-03-13T16:57:59.325Z] Status: Downloaded newer image for alpine:3.14 [2023-03-13T16:57:59.325Z] ---> 6dff1269bc79 [2023-03-13T16:57:59.325Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-13T16:57:59.325Z] ---> Running in 988fcf9aff7c [2023-03-13T16:57:59.325Z] Removing intermediate container 988fcf9aff7c [2023-03-13T16:57:59.325Z] ---> dd11349e9e4b [2023-03-13T16:57:59.325Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-13T16:57:59.325Z] ---> Running in e735a70fac07 [2023-03-13T16:57:59.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-03-13T16:57:59.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-03-13T16:57:59.325Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T16:57:59.325Z] Executing busybox-1.33.1-r8.trigger [2023-03-13T16:57:59.325Z] OK: 6 MiB in 15 packages [2023-03-13T16:57:59.325Z] Removing intermediate container e735a70fac07 [2023-03-13T16:57:59.325Z] ---> bccd7cc88ac4 [2023-03-13T16:57:59.325Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-13T16:57:59.325Z] ---> 83e9e3237f0d [2023-03-13T16:57:59.325Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-13T16:57:59.325Z] ---> 8a6937bd36e6 [2023-03-13T16:57:59.325Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-13T16:57:59.325Z] ---> a73986c748a9 [2023-03-13T16:57:59.325Z] Step 17/22 : EXPOSE 59901 [2023-03-13T16:57:59.325Z] ---> Running in 15c5dd08d49b [2023-03-13T16:57:59.325Z] Removing intermediate container 15c5dd08d49b [2023-03-13T16:57:59.325Z] ---> 4e5dfb2a9d72 [2023-03-13T16:57:59.325Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-13T16:57:59.325Z] ---> Running in 757353841a21 [2023-03-13T16:57:59.325Z] Removing intermediate container 757353841a21 [2023-03-13T16:57:59.325Z] ---> 66aff40bbcc7 [2023-03-13T16:57:59.325Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T16:57:59.325Z] ---> Running in 2c0f93207653 [2023-03-13T16:57:59.325Z] Removing intermediate container 2c0f93207653 [2023-03-13T16:57:59.325Z] ---> 37731d6691ca [2023-03-13T16:57:59.325Z] Step 20/22 : LABEL arch=amd64 [2023-03-13T16:57:59.325Z] ---> Running in 0a8ba17c17d1 [2023-03-13T16:57:59.325Z] Removing intermediate container 0a8ba17c17d1 [2023-03-13T16:57:59.325Z] ---> 5ca976a8ee80 [2023-03-13T16:57:59.325Z] Step 21/22 : LABEL git_sha=4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T16:57:59.325Z] ---> Running in edebb96971b1 [2023-03-13T16:57:59.585Z] Removing intermediate container edebb96971b1 [2023-03-13T16:57:59.585Z] ---> 422115ac0889 [2023-03-13T16:57:59.585Z] Step 22/22 : LABEL version=3.0.0-dev.16 [2023-03-13T16:57:59.585Z] ---> Running in a9ce5d1a2549 [2023-03-13T16:57:59.585Z] Removing intermediate container a9ce5d1a2549 [2023-03-13T16:57:59.585Z] ---> 3c7153744ea9 [2023-03-13T16:57:59.585Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T16:57:59.585Z] Successfully built 3c7153744ea9 [2023-03-13T16:57:59.585Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T16:57:59.699Z] provisioning config files... [2023-03-13T16:57:59.707Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2646968144695161571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:58:00.005Z] ---> docker-login.sh [2023-03-13T16:58:00.005Z] nexus3.edgexfoundry.org:10001 [2023-03-13T16:58:00.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:58:00.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:58:00.005Z] Configure a credential helper to remove this warning. See [2023-03-13T16:58:00.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:58:00.005Z] [2023-03-13T16:58:00.005Z] Login Succeeded [2023-03-13T16:58:00.005Z] nexus3.edgexfoundry.org:10002 [2023-03-13T16:58:00.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:58:00.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:58:00.005Z] Configure a credential helper to remove this warning. See [2023-03-13T16:58:00.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:58:00.005Z] [2023-03-13T16:58:00.005Z] Login Succeeded [2023-03-13T16:58:00.005Z] nexus3.edgexfoundry.org:10003 [2023-03-13T16:58:00.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:58:00.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:58:00.262Z] Configure a credential helper to remove this warning. See [2023-03-13T16:58:00.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:58:00.263Z] [2023-03-13T16:58:00.263Z] Login Succeeded [2023-03-13T16:58:00.263Z] nexus3.edgexfoundry.org:10004 [2023-03-13T16:58:00.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:58:00.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:58:00.263Z] Configure a credential helper to remove this warning. See [2023-03-13T16:58:00.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:58:00.263Z] [2023-03-13T16:58:00.263Z] Login Succeeded [2023-03-13T16:58:00.263Z] docker.io [2023-03-13T16:58:00.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:58:00.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:58:00.521Z] Configure a credential helper to remove this warning. See [2023-03-13T16:58:00.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:58:00.521Z] [2023-03-13T16:58:00.521Z] Login Succeeded [2023-03-13T16:58:00.521Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T16:58:00.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-13T16:58:00.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T16:58:00.585Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-13T16:58:00.585Z] 4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T16:58:00.585Z] latest [2023-03-13T16:58:00.585Z] 3.0.0-dev.16 [2023-03-13T16:58:00.585Z] 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T16:58:00.585Z] main [2023-03-13T16:58:00.585Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:00.914Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:01.229Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T16:58:01.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-13T16:58:01.229Z] 63514eeb0fae: Preparing [2023-03-13T16:58:01.229Z] 5e0b759ed0ab: Preparing [2023-03-13T16:58:01.229Z] b84de5216595: Preparing [2023-03-13T16:58:01.229Z] 6b0df32481c6: Preparing [2023-03-13T16:58:01.229Z] 625523cb9cce: Preparing [2023-03-13T16:58:01.229Z] 625523cb9cce: Layer already exists [2023-03-13T16:58:01.229Z] 63514eeb0fae: Pushed [2023-03-13T16:58:01.229Z] 5e0b759ed0ab: Pushed [2023-03-13T16:58:01.229Z] 6b0df32481c6: Pushed [2023-03-13T16:58:03.763Z] b84de5216595: Pushed [2023-03-13T16:58:03.763Z] 4a922296995208ff0e4cc89e50973eb58c03687f: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:04.088Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:04.392Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-13T16:58:04.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-13T16:58:04.392Z] 63514eeb0fae: Preparing [2023-03-13T16:58:04.392Z] 5e0b759ed0ab: Preparing [2023-03-13T16:58:04.392Z] b84de5216595: Preparing [2023-03-13T16:58:04.392Z] 6b0df32481c6: Preparing [2023-03-13T16:58:04.392Z] 625523cb9cce: Preparing [2023-03-13T16:58:04.392Z] 6b0df32481c6: Layer already exists [2023-03-13T16:58:04.392Z] 5e0b759ed0ab: Layer already exists [2023-03-13T16:58:04.392Z] 63514eeb0fae: Layer already exists [2023-03-13T16:58:04.392Z] 625523cb9cce: Layer already exists [2023-03-13T16:58:04.392Z] b84de5216595: Layer already exists [2023-03-13T16:58:04.392Z] latest: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:04.691Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:04.988Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 [2023-03-13T16:58:04.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-13T16:58:04.988Z] 63514eeb0fae: Preparing [2023-03-13T16:58:04.988Z] 5e0b759ed0ab: Preparing [2023-03-13T16:58:04.988Z] b84de5216595: Preparing [2023-03-13T16:58:04.988Z] 6b0df32481c6: Preparing [2023-03-13T16:58:04.988Z] 625523cb9cce: Preparing [2023-03-13T16:58:04.988Z] b84de5216595: Layer already exists [2023-03-13T16:58:04.988Z] 625523cb9cce: Layer already exists [2023-03-13T16:58:04.988Z] 63514eeb0fae: Layer already exists [2023-03-13T16:58:04.988Z] 6b0df32481c6: Layer already exists [2023-03-13T16:58:04.988Z] 5e0b759ed0ab: Layer already exists [2023-03-13T16:58:04.988Z] 3.0.0-dev.16: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:05.302Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:05.614Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T16:58:05.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-13T16:58:05.614Z] 63514eeb0fae: Preparing [2023-03-13T16:58:05.614Z] 5e0b759ed0ab: Preparing [2023-03-13T16:58:05.614Z] b84de5216595: Preparing [2023-03-13T16:58:05.614Z] 6b0df32481c6: Preparing [2023-03-13T16:58:05.614Z] 625523cb9cce: Preparing [2023-03-13T16:58:05.614Z] 5e0b759ed0ab: Layer already exists [2023-03-13T16:58:05.614Z] 625523cb9cce: Layer already exists [2023-03-13T16:58:05.614Z] 63514eeb0fae: Layer already exists [2023-03-13T16:58:05.614Z] b84de5216595: Layer already exists [2023-03-13T16:58:05.614Z] 6b0df32481c6: Layer already exists [2023-03-13T16:58:05.614Z] 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:05.930Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:06.244Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-13T16:58:06.244Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-13T16:58:06.244Z] 63514eeb0fae: Preparing [2023-03-13T16:58:06.244Z] 5e0b759ed0ab: Preparing [2023-03-13T16:58:06.244Z] b84de5216595: Preparing [2023-03-13T16:58:06.244Z] 6b0df32481c6: Preparing [2023-03-13T16:58:06.244Z] 625523cb9cce: Preparing [2023-03-13T16:58:06.244Z] 625523cb9cce: Layer already exists [2023-03-13T16:58:06.244Z] 6b0df32481c6: Layer already exists [2023-03-13T16:58:06.244Z] 63514eeb0fae: Layer already exists [2023-03-13T16:58:06.244Z] b84de5216595: Layer already exists [2023-03-13T16:58:06.244Z] 5e0b759ed0ab: Layer already exists [2023-03-13T16:58:06.244Z] main: digest: sha256:ecdfc2bac6c06879bc2757621a2512151830e93d37df80d2a19c928c26f1901a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-13T16:58:06.296Z] ===================================================== [Pipeline] echo [2023-03-13T16:58:06.306Z] taggedImages: [2023-03-13T16:58:06.306Z] - nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T16:58:06.306Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-13T16:58:06.306Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.16 [2023-03-13T16:58:06.306Z] - nexus3.edgexfoundry.org:10004/device-modbus:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T16:58:06.306Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:06.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T16:58:06.687Z] [2023-03-13T16:58:06.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:58:06.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T16:58:06.984Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T16:58:06.984Z] 5eb5b503b376: Pulling fs layer [2023-03-13T16:58:06.984Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T16:58:06.984Z] ec43610c2a17: Pulling fs layer [2023-03-13T16:58:06.984Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T16:58:06.984Z] 33b1e0a273af: Pulling fs layer [2023-03-13T16:58:06.984Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T16:58:06.984Z] 2f39f015ded8: Pulling fs layer [2023-03-13T16:58:06.984Z] 33b1e0a273af: Waiting [2023-03-13T16:58:06.984Z] 5d3b04190fa2: Waiting [2023-03-13T16:58:06.984Z] 2f39f015ded8: Waiting [2023-03-13T16:58:06.984Z] 3a2ae6a8a46f: Waiting [2023-03-13T16:58:06.984Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T16:58:06.984Z] 5c69ac0246d0: Download complete [2023-03-13T16:58:06.984Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T16:58:06.984Z] 3a2ae6a8a46f: Download complete [2023-03-13T16:58:07.245Z] 33b1e0a273af: Verifying Checksum [2023-03-13T16:58:07.245Z] 33b1e0a273af: Download complete [2023-03-13T16:58:07.245Z] 5d3b04190fa2: Download complete [2023-03-13T16:58:07.245Z] ec43610c2a17: Verifying Checksum [2023-03-13T16:58:07.245Z] 5eb5b503b376: Verifying Checksum [2023-03-13T16:58:07.245Z] 5eb5b503b376: Download complete [2023-03-13T16:58:07.809Z] 2f39f015ded8: Download complete [2023-03-13T16:58:08.376Z] 5eb5b503b376: Pull complete [2023-03-13T16:58:08.634Z] 5c69ac0246d0: Pull complete [2023-03-13T16:58:08.892Z] ec43610c2a17: Pull complete [2023-03-13T16:58:09.154Z] 3a2ae6a8a46f: Pull complete [2023-03-13T16:58:09.412Z] 33b1e0a273af: Pull complete [2023-03-13T16:58:09.412Z] 5d3b04190fa2: Pull complete [2023-03-13T16:58:13.590Z] 2f39f015ded8: Pull complete [2023-03-13T16:58:13.590Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T16:58:13.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T16:58:13.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T16:58:13.672Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T16:58:13.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T16:58:17.142Z] $ docker top 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:58:17.541Z] ---> job-cost.sh [2023-03-13T16:58:17.541Z] lf-activate-venv: SKIPPING [2023-03-13T16:58:17.541Z] INFO: No Stack... [2023-03-13T16:58:17.799Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T16:58:18.059Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T16:58:18.344Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-13T16:58:18.344Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T16:58:18.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [2023-03-13T16:58:18.362Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] did not exist. Created. [2023-03-13T16:58:18.362Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T16:58:18.666Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T16:58:18.699Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T16:58:18.705Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T16:58:18.723Z] $ docker stop --time=1 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b [2023-03-13T16:58:19.883Z] $ docker rm -f --volumes 4393b93fa93c6a4a1b4a338207c7adba97bdbe047784da05a972365ff64c1d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T16:59:15.314Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9911 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-13T16:59:15.324Z] Running in /w/workspace/device-modbus-go/82 [Pipeline] { [Pipeline] checkout [2023-03-13T16:59:15.369Z] Selected Git installation does not exist. Using Default [2023-03-13T16:59:15.369Z] The recommended git tool is: NONE [2023-03-13T16:59:22.571Z] using credential edgex-jenkins-ssh [2023-03-13T16:59:22.590Z] Cloning the remote Git repository [2023-03-13T16:59:22.651Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-13T16:59:22.744Z] > git init /w/workspace/device-modbus-go/82 # timeout=10 [2023-03-13T16:59:22.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-13T16:59:22.965Z] > git --version # timeout=10 [2023-03-13T16:59:22.997Z] > git --version # 'git version 2.25.1' [2023-03-13T16:59:23.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T16:59:23.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T16:59:24.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-13T16:59:24.349Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T16:59:25.437Z] Avoid second fetch [2023-03-13T16:59:25.437Z] Checking out Revision 4a922296995208ff0e4cc89e50973eb58c03687f (main) [2023-03-13T16:59:25.460Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T16:59:25.480Z] > git checkout -f 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 [2023-03-13T16:59:26.061Z] Commit message: "refactor!: consume device-sdk-go breaking changes (#422)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T16:59:26.947Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T16:59:26.947Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T16:59:26.947Z] Dload Upload Total Spent Left Speed [2023-03-13T16:59:26.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh [2023-03-13T16:59:27.586Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T16:59:27.931Z] + sudo tee /etc/docker/daemon.new [2023-03-13T16:59:27.931Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T16:59:27.931Z] { [2023-03-13T16:59:27.931Z] "registry-mirrors": [ [2023-03-13T16:59:27.931Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T16:59:27.931Z] ], [2023-03-13T16:59:27.931Z] "bip": "10.250.0.254/24", [2023-03-13T16:59:27.931Z] "hosts": [ [2023-03-13T16:59:27.931Z] "tcp://0.0.0.0:5555", [2023-03-13T16:59:27.931Z] "unix:///var/run/docker.sock" [2023-03-13T16:59:27.931Z] ], [2023-03-13T16:59:27.931Z] "mtu": 1458, [2023-03-13T16:59:27.931Z] "selinux-enabled": true, [2023-03-13T16:59:27.931Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T16:59:27.931Z] } [Pipeline] sh [2023-03-13T16:59:28.288Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T16:59:28.647Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T16:59:46.950Z] provisioning config files... [2023-03-13T16:59:46.982Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/82@tmp/config6143681903026513388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T16:59:47.361Z] ---> docker-login.sh [2023-03-13T16:59:47.361Z] nexus3.edgexfoundry.org:10001 [2023-03-13T16:59:47.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:59:47.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:59:47.962Z] Configure a credential helper to remove this warning. See [2023-03-13T16:59:47.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:59:47.962Z] [2023-03-13T16:59:47.962Z] Login Succeeded [2023-03-13T16:59:47.962Z] nexus3.edgexfoundry.org:10002 [2023-03-13T16:59:48.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:59:48.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:59:48.510Z] Configure a credential helper to remove this warning. See [2023-03-13T16:59:48.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:59:48.510Z] [2023-03-13T16:59:48.510Z] Login Succeeded [2023-03-13T16:59:48.510Z] nexus3.edgexfoundry.org:10003 [2023-03-13T16:59:48.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:59:48.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:59:48.788Z] Configure a credential helper to remove this warning. See [2023-03-13T16:59:48.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:59:48.788Z] [2023-03-13T16:59:48.788Z] Login Succeeded [2023-03-13T16:59:48.788Z] nexus3.edgexfoundry.org:10004 [2023-03-13T16:59:49.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:59:49.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:59:49.348Z] Configure a credential helper to remove this warning. See [2023-03-13T16:59:49.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:59:49.348Z] [2023-03-13T16:59:49.348Z] Login Succeeded [2023-03-13T16:59:49.348Z] docker.io [2023-03-13T16:59:49.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T16:59:49.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T16:59:49.897Z] Configure a credential helper to remove this warning. See [2023-03-13T16:59:49.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T16:59:49.897Z] [2023-03-13T16:59:49.897Z] Login Succeeded [2023-03-13T16:59:49.897Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T16:59:49.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T16:59:50.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T16:59:50.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T16:59:50.319Z] ========================================================= [2023-03-13T16:59:50.319Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T16:59:50.319Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T16:59:50.692Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T16:59:50.967Z] Sending build context to Docker daemon 3.345MB [2023-03-13T16:59:50.967Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T16:59:50.967Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T16:59:51.243Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T16:59:51.243Z] 9b18e9b68314: Pulling fs layer [2023-03-13T16:59:51.243Z] 35d82f9e3411: Pulling fs layer [2023-03-13T16:59:51.243Z] e16973657156: Pulling fs layer [2023-03-13T16:59:51.243Z] fc693d55d65f: Pulling fs layer [2023-03-13T16:59:51.243Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T16:59:51.243Z] dda99020689f: Pulling fs layer [2023-03-13T16:59:51.243Z] db1c61fa0a46: Pulling fs layer [2023-03-13T16:59:51.243Z] 891c053d2c06: Pulling fs layer [2023-03-13T16:59:51.243Z] 7e9fc2657dce: Waiting [2023-03-13T16:59:51.243Z] dda99020689f: Waiting [2023-03-13T16:59:51.243Z] db1c61fa0a46: Waiting [2023-03-13T16:59:51.243Z] 891c053d2c06: Waiting [2023-03-13T16:59:51.243Z] fc693d55d65f: Waiting [2023-03-13T16:59:51.243Z] e16973657156: Verifying Checksum [2023-03-13T16:59:51.243Z] e16973657156: Download complete [2023-03-13T16:59:51.243Z] 35d82f9e3411: Verifying Checksum [2023-03-13T16:59:51.243Z] 35d82f9e3411: Download complete [2023-03-13T16:59:51.243Z] 7e9fc2657dce: Download complete [2023-03-13T16:59:51.518Z] dda99020689f: Download complete [2023-03-13T16:59:51.518Z] 9b18e9b68314: Verifying Checksum [2023-03-13T16:59:51.518Z] 9b18e9b68314: Download complete [2023-03-13T16:59:52.528Z] 9b18e9b68314: Pull complete [2023-03-13T16:59:52.528Z] 891c053d2c06: Verifying Checksum [2023-03-13T16:59:52.528Z] 891c053d2c06: Download complete [2023-03-13T16:59:53.141Z] 35d82f9e3411: Pull complete [2023-03-13T16:59:53.414Z] e16973657156: Pull complete [2023-03-13T16:59:54.009Z] db1c61fa0a46: Verifying Checksum [2023-03-13T16:59:54.009Z] db1c61fa0a46: Download complete [2023-03-13T16:59:54.613Z] fc693d55d65f: Verifying Checksum [2023-03-13T16:59:54.613Z] fc693d55d65f: Download complete [2023-03-13T17:00:09.673Z] fc693d55d65f: Pull complete [2023-03-13T17:00:09.673Z] 7e9fc2657dce: Pull complete [2023-03-13T17:00:09.673Z] dda99020689f: Pull complete [2023-03-13T17:00:15.076Z] db1c61fa0a46: Pull complete [2023-03-13T17:00:16.510Z] 891c053d2c06: Pull complete [2023-03-13T17:00:16.510Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T17:00:16.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T17:00:16.510Z] ---> f96f9c87975a [2023-03-13T17:00:16.510Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:00:17.499Z] ---> Running in 68a23cb1ef01 [2023-03-13T17:00:20.866Z] Removing intermediate container 68a23cb1ef01 [2023-03-13T17:00:20.866Z] ---> 9c1e8061603b [2023-03-13T17:00:20.866Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:00:20.866Z] ---> Running in 3d8812d41e38 [2023-03-13T17:00:21.136Z] Removing intermediate container 3d8812d41e38 [2023-03-13T17:00:21.136Z] ---> 11c7d1161501 [2023-03-13T17:00:21.136Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-13T17:00:21.405Z] ---> Running in 98bb13c6aa9f [2023-03-13T17:00:22.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:00:23.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:00:24.091Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T17:00:24.091Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-03-13T17:00:24.091Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T17:00:24.366Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T17:00:24.366Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-03-13T17:00:24.366Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-03-13T17:00:24.366Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-03-13T17:00:24.366Z] (8/8) Installing openssh (9.0_p1-r2) [2023-03-13T17:00:24.366Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T17:00:24.366Z] OK: 228 MiB in 59 packages [2023-03-13T17:00:25.799Z] Removing intermediate container 98bb13c6aa9f [2023-03-13T17:00:25.799Z] ---> 23906a088476 [2023-03-13T17:00:25.799Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-13T17:00:25.799Z] ---> Running in 8029ec8b7971 [2023-03-13T17:00:26.069Z] Removing intermediate container 8029ec8b7971 [2023-03-13T17:00:26.069Z] ---> 6b9be2172ec8 [2023-03-13T17:00:26.069Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T17:00:26.668Z] ---> 6d6acd21f1ba [2023-03-13T17:00:26.668Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:00:26.944Z] ---> Running in b5f93ba75506 [2023-03-13T17:01:48.646Z] Removing intermediate container b5f93ba75506 [2023-03-13T17:01:48.646Z] ---> 6dd398f5d00c [2023-03-13T17:01:48.646Z] Step 9/10 : COPY . . [2023-03-13T17:01:48.646Z] ---> ebf38ca0d2cf [2023-03-13T17:01:48.646Z] Step 10/10 : RUN ${MAKE} [2023-03-13T17:01:48.646Z] ---> Running in 5c9bef72ae79 [2023-03-13T17:01:48.646Z] noop [2023-03-13T17:01:48.646Z] Removing intermediate container 5c9bef72ae79 [2023-03-13T17:01:48.646Z] ---> 3be301c22b5c [2023-03-13T17:01:48.646Z] Successfully built 3be301c22b5c [2023-03-13T17:01:48.646Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:01:49.019Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:01:49.020Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:01:49.240Z] prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container [2023-03-13T17:01:49.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:01:50.675Z] $ docker top 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:01:51.558Z] + go version [2023-03-13T17:01:51.558Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T17:01:51.585Z] $ docker stop --time=1 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 [2023-03-13T17:01:53.304Z] $ docker rm -f --volumes 6746b3a518eb84bd1c2d45a4dcf5a5d8d59772f049120146b4eb34efcce94866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:01:53.879Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T17:01:53.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:01:54.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container [2023-03-13T17:01:54.178Z] $ 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/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T17:01:55.530Z] $ docker top 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:01:56.395Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/82 [Pipeline] fileExists [Pipeline] sh [2023-03-13T17:01:57.072Z] + make test [2023-03-13T17:01:57.072Z] go test ./... -coverprofile=coverage.out [2023-03-13T17:01:58.766Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-13T17:03:35.506Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-13T17:03:35.506Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 48.0% of statements [2023-03-13T17:03:35.506Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T17:03:35.506Z] go vet ./... [2023-03-13T17:04:14.440Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T17:04:14.440Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T17:04:14.440Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T17:04:14.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T17:04:14.489Z] $ docker stop --time=1 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 [2023-03-13T17:04:16.323Z] $ docker rm -f --volumes 185c1acfcc0a6843ad3690b95cf5ef0a090d29f4e27bae32fa38efe2ef1caed7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:04:17.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T17:04:17.395Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T17:04:18.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T17:04:18.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T17:04:18.795Z] + ls -al . [2023-03-13T17:04:18.795Z] total 176 [2023-03-13T17:04:18.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 17:01 . [2023-03-13T17:04:18.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:59 .. [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 16:59 .dockerignore [2023-03-13T17:04:18.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 16:59 .git [2023-03-13T17:04:18.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 .github [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 16:59 .gitignore [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 16:59 .golangci.yml [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 16:59 Attribution.txt [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 16:59 CHANGELOG.md [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 16:59 Dockerfile [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 16:59 GOVERNANCE.md [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 16:59 Jenkinsfile [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 16:59 LICENSE [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 16:59 Makefile [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 16:59 OWNERS.md [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 16:59 README.md [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 16:56 VERSION [2023-03-13T17:04:18.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:59 bin [2023-03-13T17:04:18.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 cmd [2023-03-13T17:04:18.795Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 17:03 coverage.out [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 16:59 go.mod [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 16:59 go.sum [2023-03-13T17:04:18.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 16:59 internal [2023-03-13T17:04:18.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 16:59 simulator [2023-03-13T17:04:18.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 16:59 snap [2023-03-13T17:04:18.795Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:04:19.163Z] + 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=4a922296995208ff0e4cc89e50973eb58c03687f --label arch=arm64 --label version=3.0.0-dev.16 . [2023-03-13T17:04:19.432Z] Sending build context to Docker daemon 3.37MB [2023-03-13T17:04:19.702Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T17:04:19.702Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-13T17:04:19.702Z] ---> 3be301c22b5c [2023-03-13T17:04:19.702Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-13T17:04:19.973Z] ---> Running in dfcaec997183 [2023-03-13T17:04:20.242Z] Removing intermediate container dfcaec997183 [2023-03-13T17:04:20.242Z] ---> 86b4d658bf7c [2023-03-13T17:04:20.242Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T17:04:20.524Z] ---> Running in 5a57bcc7579b [2023-03-13T17:04:20.797Z] Removing intermediate container 5a57bcc7579b [2023-03-13T17:04:20.797Z] ---> 4fad2c2a84f7 [2023-03-13T17:04:20.797Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-13T17:04:21.066Z] ---> Running in 881f04274ca1 [2023-03-13T17:04:22.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:04:22.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:04:24.060Z] OK: 228 MiB in 59 packages [2023-03-13T17:04:25.481Z] Removing intermediate container 881f04274ca1 [2023-03-13T17:04:25.481Z] ---> 040ad7229973 [2023-03-13T17:04:25.481Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-13T17:04:25.481Z] ---> Running in d379a65371ed [2023-03-13T17:04:25.748Z] Removing intermediate container d379a65371ed [2023-03-13T17:04:25.748Z] ---> d60eff8a1687 [2023-03-13T17:04:25.748Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-13T17:04:26.336Z] ---> e1fc7e98bfa8 [2023-03-13T17:04:26.336Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T17:04:26.336Z] ---> Running in add8f57c3efc [2023-03-13T17:04:29.709Z] Removing intermediate container add8f57c3efc [2023-03-13T17:04:29.709Z] ---> 49ba697304ff [2023-03-13T17:04:29.709Z] Step 9/22 : COPY . . [2023-03-13T17:04:31.670Z] ---> 8e637dba3c56 [2023-03-13T17:04:31.670Z] Step 10/22 : RUN ${MAKE} [2023-03-13T17:04:31.670Z] ---> Running in 3d3b3e485c1c [2023-03-13T17:04:34.277Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-13T17:07:11.080Z] Removing intermediate container 3d3b3e485c1c [2023-03-13T17:07:11.080Z] ---> af8286f688ac [2023-03-13T17:07:11.080Z] Step 11/22 : FROM alpine:3.14 [2023-03-13T17:07:11.080Z] 3.14: Pulling from library/alpine [2023-03-13T17:07:11.080Z] 6f0e733d82e2: Pulling fs layer [2023-03-13T17:07:11.080Z] 6f0e733d82e2: Download complete [2023-03-13T17:07:11.080Z] 6f0e733d82e2: Pull complete [2023-03-13T17:07:11.080Z] Digest: sha256:fa26727c28837d1471c2f1524d297a0255c153b5d023d7badd1412be7e6e12a2 [2023-03-13T17:07:11.080Z] Status: Downloaded newer image for alpine:3.14 [2023-03-13T17:07:11.080Z] ---> bf97f6347a60 [2023-03-13T17:07:11.080Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-13T17:07:11.080Z] ---> Running in f3c85e1b0ee7 [2023-03-13T17:07:11.080Z] Removing intermediate container f3c85e1b0ee7 [2023-03-13T17:07:11.080Z] ---> cc90fda68d6c [2023-03-13T17:07:11.080Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-13T17:07:11.080Z] ---> Running in 578abde7bcd5 [2023-03-13T17:07:11.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-03-13T17:07:11.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-03-13T17:07:11.080Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-13T17:07:11.080Z] Executing busybox-1.33.1-r8.trigger [2023-03-13T17:07:11.080Z] OK: 6 MiB in 15 packages [2023-03-13T17:07:11.080Z] Removing intermediate container 578abde7bcd5 [2023-03-13T17:07:11.080Z] ---> 9184ea1cbe66 [2023-03-13T17:07:11.080Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-13T17:07:11.080Z] ---> 08adf22d52b8 [2023-03-13T17:07:11.080Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-13T17:07:11.080Z] ---> 086d31be20f8 [2023-03-13T17:07:11.080Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-13T17:07:11.080Z] ---> 535687e571a9 [2023-03-13T17:07:11.080Z] Step 17/22 : EXPOSE 59901 [2023-03-13T17:07:11.080Z] ---> Running in 8bd6dbbbfe5f [2023-03-13T17:07:11.080Z] Removing intermediate container 8bd6dbbbfe5f [2023-03-13T17:07:11.080Z] ---> f5a657f94ced [2023-03-13T17:07:11.080Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-13T17:07:11.080Z] ---> Running in 9d1be58a6f19 [2023-03-13T17:07:11.080Z] Removing intermediate container 9d1be58a6f19 [2023-03-13T17:07:11.080Z] ---> d95203cc479a [2023-03-13T17:07:11.080Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-13T17:07:11.080Z] ---> Running in 8499364d677b [2023-03-13T17:07:11.664Z] Removing intermediate container 8499364d677b [2023-03-13T17:07:11.664Z] ---> 54e6224b14cf [2023-03-13T17:07:11.664Z] Step 20/22 : LABEL arch=arm64 [2023-03-13T17:07:11.664Z] ---> Running in 75f653c710d2 [2023-03-13T17:07:11.931Z] Removing intermediate container 75f653c710d2 [2023-03-13T17:07:11.931Z] ---> 76c57721bda2 [2023-03-13T17:07:11.931Z] Step 21/22 : LABEL git_sha=4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T17:07:11.931Z] ---> Running in a17cbb2e6a8f [2023-03-13T17:07:12.198Z] Removing intermediate container a17cbb2e6a8f [2023-03-13T17:07:12.198Z] ---> d0f3c157f26b [2023-03-13T17:07:12.198Z] Step 22/22 : LABEL version=3.0.0-dev.16 [2023-03-13T17:07:12.465Z] ---> Running in f5adea60efdc [2023-03-13T17:07:12.733Z] Removing intermediate container f5adea60efdc [2023-03-13T17:07:12.733Z] ---> 2ad944b5fde6 [2023-03-13T17:07:12.733Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T17:07:12.733Z] Successfully built 2ad944b5fde6 [2023-03-13T17:07:12.733Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:07:12.830Z] provisioning config files... [2023-03-13T17:07:12.843Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/82@tmp/config6997457972792859120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:07:13.182Z] ---> docker-login.sh [2023-03-13T17:07:13.182Z] nexus3.edgexfoundry.org:10001 [2023-03-13T17:07:13.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:07:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:07:13.451Z] Configure a credential helper to remove this warning. See [2023-03-13T17:07:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:07:13.451Z] [2023-03-13T17:07:13.451Z] Login Succeeded [2023-03-13T17:07:13.451Z] nexus3.edgexfoundry.org:10002 [2023-03-13T17:07:13.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:07:13.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:07:13.721Z] Configure a credential helper to remove this warning. See [2023-03-13T17:07:13.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:07:13.721Z] [2023-03-13T17:07:13.721Z] Login Succeeded [2023-03-13T17:07:13.721Z] nexus3.edgexfoundry.org:10003 [2023-03-13T17:07:13.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:07:14.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:07:14.257Z] Configure a credential helper to remove this warning. See [2023-03-13T17:07:14.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:07:14.257Z] [2023-03-13T17:07:14.257Z] Login Succeeded [2023-03-13T17:07:14.257Z] nexus3.edgexfoundry.org:10004 [2023-03-13T17:07:14.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:07:14.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:07:14.525Z] Configure a credential helper to remove this warning. See [2023-03-13T17:07:14.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:07:14.525Z] [2023-03-13T17:07:14.525Z] Login Succeeded [2023-03-13T17:07:14.525Z] docker.io [2023-03-13T17:07:14.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T17:07:15.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T17:07:15.059Z] Configure a credential helper to remove this warning. See [2023-03-13T17:07:15.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T17:07:15.059Z] [2023-03-13T17:07:15.059Z] Login Succeeded [2023-03-13T17:07:15.059Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T17:07:15.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-13T17:07:15.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T17:07:15.125Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-13T17:07:15.125Z] 4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T17:07:15.125Z] latest [2023-03-13T17:07:15.125Z] 3.0.0-dev.16 [2023-03-13T17:07:15.125Z] 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T17:07:15.125Z] main [2023-03-13T17:07:15.125Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:15.485Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:15.823Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T17:07:15.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-13T17:07:15.823Z] bc1748d51c6e: Preparing [2023-03-13T17:07:15.823Z] 5f17d1857655: Preparing [2023-03-13T17:07:15.823Z] e47caf6e97b5: Preparing [2023-03-13T17:07:15.823Z] 19189320237b: Preparing [2023-03-13T17:07:15.823Z] c39af2d4cb8d: Preparing [2023-03-13T17:07:15.823Z] c39af2d4cb8d: Layer already exists [2023-03-13T17:07:16.089Z] 19189320237b: Pushed [2023-03-13T17:07:16.089Z] 5f17d1857655: Pushed [2023-03-13T17:07:16.089Z] bc1748d51c6e: Pushed [2023-03-13T17:07:21.430Z] e47caf6e97b5: Pushed [2023-03-13T17:07:21.430Z] 4a922296995208ff0e4cc89e50973eb58c03687f: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:21.800Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:22.153Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-13T17:07:22.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-13T17:07:22.153Z] bc1748d51c6e: Preparing [2023-03-13T17:07:22.153Z] 5f17d1857655: Preparing [2023-03-13T17:07:22.153Z] e47caf6e97b5: Preparing [2023-03-13T17:07:22.153Z] 19189320237b: Preparing [2023-03-13T17:07:22.153Z] c39af2d4cb8d: Preparing [2023-03-13T17:07:22.153Z] e47caf6e97b5: Layer already exists [2023-03-13T17:07:22.153Z] 5f17d1857655: Layer already exists [2023-03-13T17:07:22.153Z] c39af2d4cb8d: Layer already exists [2023-03-13T17:07:22.153Z] bc1748d51c6e: Layer already exists [2023-03-13T17:07:22.153Z] 19189320237b: Layer already exists [2023-03-13T17:07:22.153Z] latest: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:22.770Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:23.113Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 [2023-03-13T17:07:23.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-13T17:07:23.113Z] bc1748d51c6e: Preparing [2023-03-13T17:07:23.113Z] 5f17d1857655: Preparing [2023-03-13T17:07:23.113Z] e47caf6e97b5: Preparing [2023-03-13T17:07:23.113Z] 19189320237b: Preparing [2023-03-13T17:07:23.113Z] c39af2d4cb8d: Preparing [2023-03-13T17:07:23.113Z] c39af2d4cb8d: Layer already exists [2023-03-13T17:07:23.113Z] 19189320237b: Layer already exists [2023-03-13T17:07:23.113Z] bc1748d51c6e: Layer already exists [2023-03-13T17:07:23.113Z] 5f17d1857655: Layer already exists [2023-03-13T17:07:23.113Z] e47caf6e97b5: Layer already exists [2023-03-13T17:07:23.113Z] 3.0.0-dev.16: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:23.741Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:24.168Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T17:07:24.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-13T17:07:24.168Z] bc1748d51c6e: Preparing [2023-03-13T17:07:24.168Z] 5f17d1857655: Preparing [2023-03-13T17:07:24.168Z] e47caf6e97b5: Preparing [2023-03-13T17:07:24.168Z] 19189320237b: Preparing [2023-03-13T17:07:24.168Z] c39af2d4cb8d: Preparing [2023-03-13T17:07:24.168Z] 5f17d1857655: Layer already exists [2023-03-13T17:07:24.168Z] bc1748d51c6e: Layer already exists [2023-03-13T17:07:24.168Z] c39af2d4cb8d: Layer already exists [2023-03-13T17:07:24.168Z] 19189320237b: Layer already exists [2023-03-13T17:07:24.168Z] e47caf6e97b5: Layer already exists [2023-03-13T17:07:24.445Z] 4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:24.809Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:25.170Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-13T17:07:25.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-13T17:07:25.170Z] bc1748d51c6e: Preparing [2023-03-13T17:07:25.170Z] 5f17d1857655: Preparing [2023-03-13T17:07:25.170Z] e47caf6e97b5: Preparing [2023-03-13T17:07:25.170Z] 19189320237b: Preparing [2023-03-13T17:07:25.170Z] c39af2d4cb8d: Preparing [2023-03-13T17:07:25.170Z] bc1748d51c6e: Layer already exists [2023-03-13T17:07:25.170Z] 5f17d1857655: Layer already exists [2023-03-13T17:07:25.170Z] c39af2d4cb8d: Layer already exists [2023-03-13T17:07:25.170Z] 19189320237b: Layer already exists [2023-03-13T17:07:25.170Z] e47caf6e97b5: Layer already exists [2023-03-13T17:07:25.440Z] main: digest: sha256:c2be5ffade79f03fc70d5cceff4336e5eb8ff38d5c135c7c144ac00df3f9b8ac size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-13T17:07:25.485Z] ===================================================== [Pipeline] echo [2023-03-13T17:07:25.491Z] taggedImages: [2023-03-13T17:07:25.491Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f [2023-03-13T17:07:25.491Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-13T17:07:25.491Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.16 [2023-03-13T17:07:25.491Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a922296995208ff0e4cc89e50973eb58c03687f-3.0.0-dev.16 [2023-03-13T17:07:25.491Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:25.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:07:25.880Z] [2023-03-13T17:07:25.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:07:26.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:07:26.235Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T17:07:26.235Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T17:07:26.235Z] 04944245beec: Pulling fs layer [2023-03-13T17:07:26.235Z] 699f458cf7ca: Pulling fs layer [2023-03-13T17:07:26.235Z] 765212b225bb: Pulling fs layer [2023-03-13T17:07:26.235Z] f23df028b6ca: Pulling fs layer [2023-03-13T17:07:26.235Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T17:07:26.235Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T17:07:26.235Z] f23df028b6ca: Waiting [2023-03-13T17:07:26.235Z] 765212b225bb: Waiting [2023-03-13T17:07:26.235Z] d65c8cfc05b1: Waiting [2023-03-13T17:07:26.235Z] 2437ff75d9bd: Waiting [2023-03-13T17:07:26.504Z] 04944245beec: Verifying Checksum [2023-03-13T17:07:26.504Z] 04944245beec: Download complete [2023-03-13T17:07:26.504Z] 765212b225bb: Verifying Checksum [2023-03-13T17:07:26.504Z] 765212b225bb: Download complete [2023-03-13T17:07:26.774Z] f23df028b6ca: Verifying Checksum [2023-03-13T17:07:26.774Z] f23df028b6ca: Download complete [2023-03-13T17:07:26.774Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T17:07:26.774Z] d65c8cfc05b1: Download complete [2023-03-13T17:07:26.774Z] 699f458cf7ca: Verifying Checksum [2023-03-13T17:07:26.774Z] 699f458cf7ca: Download complete [2023-03-13T17:07:27.379Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T17:07:27.379Z] 8998bd30e6a1: Download complete [2023-03-13T17:07:29.960Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T17:07:29.960Z] 2437ff75d9bd: Download complete [2023-03-13T17:07:30.921Z] 8998bd30e6a1: Pull complete [2023-03-13T17:07:31.505Z] 04944245beec: Pull complete [2023-03-13T17:07:32.918Z] 699f458cf7ca: Pull complete [2023-03-13T17:07:32.918Z] 765212b225bb: Pull complete [2023-03-13T17:07:36.258Z] f23df028b6ca: Pull complete [2023-03-13T17:07:36.258Z] d65c8cfc05b1: Pull complete [2023-03-13T17:07:51.253Z] 2437ff75d9bd: Pull complete [2023-03-13T17:07:51.253Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T17:07:51.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T17:07:51.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:07:51.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-9911 does not seem to be running inside a container [2023-03-13T17:07:51.540Z] $ 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/82 -v /w/workspace/device-modbus-go/82:/w/workspace/device-modbus-go/82:rw,z -v /w/workspace/device-modbus-go/82@tmp:/w/workspace/device-modbus-go/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T17:07:54.571Z] $ docker top a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:07:55.425Z] ---> job-cost.sh [2023-03-13T17:07:55.425Z] lf-activate-venv: SKIPPING [2023-03-13T17:07:55.425Z] INFO: No Stack... [2023-03-13T17:07:55.693Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T17:07:56.661Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T17:07:57.311Z] + cut -d, -f6 [2023-03-13T17:07:57.311Z] + cat /w/workspace/device-modbus-go/82/archives/cost.csv [Pipeline] lock [2023-03-13T17:07:57.399Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [2023-03-13T17:07:57.403Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] did not exist. Created. [2023-03-13T17:07:57.403Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:07:58.082Z] /w/workspace/device-modbus-go/82@tmp/durable-fe421dc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T17:07:58.755Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T17:07:58.781Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T17:07:58.839Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T17:07:58.846Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T17:07:58.873Z] $ docker stop --time=1 a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 [2023-03-13T17:08:00.423Z] $ docker rm -f --volumes a623d5c11f85624a31a05f08a441490d001c9dfd512044869bfc872254d29ef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-13T17:08:00.790Z] provisioning config files... [2023-03-13T17:08:00.796Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6389984560505879661tmp [Pipeline] { [Pipeline] sh [2023-03-13T17:08:01.087Z] + set +x [2023-03-13T17:08:01.087Z] + bash -s -- [2023-03-13T17:08:01.087Z] + curl -s https://codecov.io/bash [2023-03-13T17:08:01.087Z] [2023-03-13T17:08:01.087Z] _____ _ [2023-03-13T17:08:01.087Z] / ____| | | [2023-03-13T17:08:01.087Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T17:08:01.087Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T17:08:01.087Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T17:08:01.087Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T17:08:01.087Z] Bash-1.0.6 [2023-03-13T17:08:01.087Z] [2023-03-13T17:08:01.087Z] [2023-03-13T17:08:01.087Z] ==> git version 2.25.1 found [2023-03-13T17:08:01.087Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-13T17:08:01.087Z] Release-Date: 2020-01-08 [2023-03-13T17:08:01.087Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-13T17:08:01.087Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T17:08:01.087Z] ==> Jenkins CI detected. [2023-03-13T17:08:01.087Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-13T17:08:01.087Z] project root: . [2023-03-13T17:08:01.087Z] --> token set from env [2023-03-13T17:08:01.087Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T17:08:01.087Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T17:08:01.087Z] ==> Python coveragepy not found [2023-03-13T17:08:01.087Z] ==> Searching for coverage reports in: [2023-03-13T17:08:01.087Z] + . [2023-03-13T17:08:01.087Z] -> Found 1 reports [2023-03-13T17:08:01.087Z] ==> Detecting git/mercurial file structure [2023-03-13T17:08:01.087Z] ==> Reading reports [2023-03-13T17:08:01.087Z] + ./coverage.out bytes=23736 [2023-03-13T17:08:01.087Z] ==> Appending adjustments [2023-03-13T17:08:01.087Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T17:08:01.347Z] + Found adjustments [2023-03-13T17:08:01.347Z] ==> Gzipping contents [2023-03-13T17:08:01.347Z] 4.0K /tmp/codecov.N2c9nF.gz [2023-03-13T17:08:01.347Z] ==> Uploading reports [2023-03-13T17:08:01.347Z] url: https://codecov.io [2023-03-13T17:08:01.347Z] query: branch=main&commit=4a922296995208ff0e4cc89e50973eb58c03687f&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-13T17:08:01.347Z] -> Pinging Codecov [2023-03-13T17:08:01.347Z] 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=4a922296995208ff0e4cc89e50973eb58c03687f&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-13T17:08:01.607Z] -> Uploading to [2023-03-13T17:08:01.607Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/55DBCA73C666E3227836607328DD7E49/4a922296995208ff0e4cc89e50973eb58c03687f/223daf76-da2f-4c16-8b70-3d7c6f3560b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T170801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a1e5127dac49e604e2c26c2039d9cf9695a3656ba30a7e5681e9420fdb13d8a [2023-03-13T17:08:01.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T17:08:01.607Z] Dload Upload Total Spent Left Speed [2023-03-13T17:08:01.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3940 0 0 100 3940 0 13089 --:--:-- --:--:-- --:--:-- 13133 [2023-03-13T17:08:01.866Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] } [2023-03-13T17:08:01.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-13T17:08:02.080Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-13T17:08:02.090Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:02.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T17:08:02.389Z] [2023-03-13T17:08:02.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:02.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T17:08:02.697Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-13T17:08:02.697Z] df9b9388f04a: Pulling fs layer [2023-03-13T17:08:02.697Z] 52dc419b0ee2: Pulling fs layer [2023-03-13T17:08:02.697Z] 25bc292e5bac: Pulling fs layer [2023-03-13T17:08:02.697Z] 114826534d7a: Pulling fs layer [2023-03-13T17:08:02.697Z] 4657fd5d0bcf: Pulling fs layer [2023-03-13T17:08:02.697Z] 6ad1cebc031e: Pulling fs layer [2023-03-13T17:08:02.697Z] 8a3aa393b2d8: Pulling fs layer [2023-03-13T17:08:02.697Z] 4657fd5d0bcf: Waiting [2023-03-13T17:08:02.697Z] 6ad1cebc031e: Waiting [2023-03-13T17:08:02.697Z] 114826534d7a: Waiting [2023-03-13T17:08:02.697Z] 25bc292e5bac: Verifying Checksum [2023-03-13T17:08:02.697Z] 25bc292e5bac: Download complete [2023-03-13T17:08:02.697Z] 52dc419b0ee2: Download complete [2023-03-13T17:08:02.697Z] 4657fd5d0bcf: Verifying Checksum [2023-03-13T17:08:02.697Z] 4657fd5d0bcf: Download complete [2023-03-13T17:08:02.697Z] df9b9388f04a: Download complete [2023-03-13T17:08:02.959Z] df9b9388f04a: Pull complete [2023-03-13T17:08:02.959Z] 6ad1cebc031e: Verifying Checksum [2023-03-13T17:08:02.959Z] 6ad1cebc031e: Download complete [2023-03-13T17:08:02.959Z] 52dc419b0ee2: Pull complete [2023-03-13T17:08:02.959Z] 25bc292e5bac: Pull complete [2023-03-13T17:08:03.525Z] 114826534d7a: Verifying Checksum [2023-03-13T17:08:03.525Z] 114826534d7a: Download complete [2023-03-13T17:08:03.525Z] 8a3aa393b2d8: Verifying Checksum [2023-03-13T17:08:03.525Z] 8a3aa393b2d8: Download complete [2023-03-13T17:08:06.804Z] 114826534d7a: Pull complete [2023-03-13T17:08:06.804Z] 4657fd5d0bcf: Pull complete [2023-03-13T17:08:07.062Z] 6ad1cebc031e: Pull complete [2023-03-13T17:08:09.585Z] 8a3aa393b2d8: Pull complete [2023-03-13T17:08:09.585Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-13T17:08:09.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T17:08:09.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:09.675Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:09.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-13T17:08:11.850Z] $ docker top b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-13T17:08:11.912Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-13T17:08:12.188Z] + set -o pipefail [2023-03-13T17:08:12.188Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-13T17:08:17.480Z] [2023-03-13T17:08:17.480Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-13T17:08:17.480Z] [2023-03-13T17:08:17.480Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/efe337fe-3614-4546-a6d0-1d2357d9f98c [2023-03-13T17:08:17.480Z] [2023-03-13T17:08:17.480Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-13T17:08:17.480Z] [2023-03-13T17:08:17.480Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-13T17:08:17.480Z] [2023-03-13T17:08:17.739Z] [2023-03-13T17:08:17.739Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-13T17:08:17.739Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-13T17:08:17.739Z] More details here: https://snyk.co/ue1NS [2023-03-13T17:08:17.739Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-13T17:08:17.739Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-13T17:08:17.762Z] $ docker stop --time=1 b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a [2023-03-13T17:08:19.873Z] $ docker rm -f --volumes b819806cd7323a495d7daeb0c3a2895ff24eeaf9b8315f3110b8f16ed09f187a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T17:08:20.532Z] + git log --format=format:%s -1 4a922296995208ff0e4cc89e50973eb58c03687f [Pipeline] sh [2023-03-13T17:08:20.822Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T17:08:20.822Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:21.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:08:21.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:21.190Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:21.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T17:08:21.618Z] $ docker top 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 -eo pid,comm [2023-03-13T17:08:21.665Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T17:08:21.665Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T17:08:21.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:08:21.701Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:08:21.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:08:21.816Z] $ docker exec 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 ssh-agent [2023-03-13T17:08:21.925Z] SSH_AUTH_SOCK=/tmp/ssh-kbJXIVYJ6Ero/agent.32 [2023-03-13T17:08:21.925Z] SSH_AGENT_PID=38 [2023-03-13T17:08:21.930Z] Running ssh-add (command line suppressed) [2023-03-13T17:08:22.026Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5393273403037832752.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5393273403037832752.key) [2023-03-13T17:08:22.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:08:22.321Z] + git semver tag [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,497 [run_tag] DEBUG tag force:False [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,498 [check_head_tag] DEBUG check head tag [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,499 [execute] INFO git cat-file --batch-check [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,503 [execute] INFO git cat-file --batch [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,519 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,519 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,520 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:08:22.580Z] 2023-03-13 17:08:22,525 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:22.580Z] 3.0.0-dev.16 [Pipeline] } [2023-03-13T17:08:22.592Z] $ docker exec --env ******** --env ******** 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 ssh-agent -k [2023-03-13T17:08:22.689Z] unset SSH_AUTH_SOCK; [2023-03-13T17:08:22.690Z] unset SSH_AGENT_PID; [2023-03-13T17:08:22.690Z] echo Agent pid 38 killed; [2023-03-13T17:08:22.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T17:08:23.005Z] + git semver [Pipeline] } [2023-03-13T17:08:23.280Z] $ docker stop --time=1 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 [2023-03-13T17:08:24.532Z] $ docker rm -f --volumes 8c0fe092ffc3d0f0f6f29429d8ae549ea1a2c6ef16c6c40f60a6b97accb67792 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:24.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T17:08:24.919Z] [2023-03-13T17:08:24.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:25.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T17:08:25.215Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-13T17:08:25.215Z] ab5ef0e58194: Pulling fs layer [2023-03-13T17:08:25.215Z] 9712f1f96733: Pulling fs layer [2023-03-13T17:08:25.215Z] 63f879dbbcfc: Pulling fs layer [2023-03-13T17:08:25.215Z] 0d9ebad4ef96: Pulling fs layer [2023-03-13T17:08:25.215Z] e9a5061849ea: Pulling fs layer [2023-03-13T17:08:25.215Z] d747dcd14b5f: Pulling fs layer [2023-03-13T17:08:25.215Z] 2de7ff778b66: Pulling fs layer [2023-03-13T17:08:25.215Z] d747dcd14b5f: Waiting [2023-03-13T17:08:25.215Z] 0d9ebad4ef96: Waiting [2023-03-13T17:08:25.215Z] e9a5061849ea: Waiting [2023-03-13T17:08:25.215Z] 2de7ff778b66: Waiting [2023-03-13T17:08:25.215Z] 9712f1f96733: Download complete [2023-03-13T17:08:25.820Z] 63f879dbbcfc: Verifying Checksum [2023-03-13T17:08:25.820Z] 63f879dbbcfc: Download complete [2023-03-13T17:08:26.082Z] e9a5061849ea: Verifying Checksum [2023-03-13T17:08:26.082Z] e9a5061849ea: Download complete [2023-03-13T17:08:26.082Z] ab5ef0e58194: Download complete [2023-03-13T17:08:26.082Z] 0d9ebad4ef96: Download complete [2023-03-13T17:08:26.082Z] 2de7ff778b66: Verifying Checksum [2023-03-13T17:08:26.082Z] 2de7ff778b66: Download complete [2023-03-13T17:08:28.605Z] ab5ef0e58194: Pull complete [2023-03-13T17:08:28.605Z] 9712f1f96733: Pull complete [2023-03-13T17:08:29.170Z] 63f879dbbcfc: Pull complete [2023-03-13T17:08:32.451Z] 0d9ebad4ef96: Pull complete [2023-03-13T17:08:32.451Z] e9a5061849ea: Pull complete [2023-03-13T17:08:32.451Z] d747dcd14b5f: Pull complete [2023-03-13T17:08:33.385Z] 2de7ff778b66: Pull complete [2023-03-13T17:08:33.385Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-13T17:08:33.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T17:08:33.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:33.465Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:33.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-13T17:08:38.199Z] $ docker top c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:08:38.262Z] provisioning config files... [2023-03-13T17:08:38.270Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18265486015718669203tmp [2023-03-13T17:08:38.280Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16078982904978647234tmp [2023-03-13T17:08:38.290Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5678865559903229369tmp [Pipeline] { [Pipeline] echo [2023-03-13T17:08:38.304Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:38.936Z] ---> sigul-configuration.sh [2023-03-13T17:08:38.936Z] gpg: directory `/root/.gnupg' created [2023-03-13T17:08:38.936Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-13T17:08:38.936Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-13T17:08:38.936Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-13T17:08:38.936Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-13T17:08:38.936Z] gpg: CAST5 encrypted data [2023-03-13T17:08:38.936Z] gpg: encrypted with 1 passphrase [2023-03-13T17:08:38.936Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-13T17:08:40.792Z] + mkdir /home/jenkins [2023-03-13T17:08:40.792Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-13T17:08:41.076Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-03-13T17:08:41.085Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:41.368Z] ---> sigul-install.sh [2023-03-13T17:08:41.368Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-13T17:08:41.653Z] + git tag --list [2023-03-13T17:08:41.653Z] 0.7.1 [2023-03-13T17:08:41.653Z] v1.0.0 [2023-03-13T17:08:41.653Z] v1.1.0 [2023-03-13T17:08:41.653Z] v1.1.1 [2023-03-13T17:08:41.653Z] v1.2.2 [2023-03-13T17:08:41.653Z] v1.3.0 [2023-03-13T17:08:41.653Z] v1.3.1 [2023-03-13T17:08:41.653Z] v2.0.0 [2023-03-13T17:08:41.653Z] v2.1.0 [2023-03-13T17:08:41.653Z] v2.1.1 [2023-03-13T17:08:41.653Z] v2.1.1-dev.1 [2023-03-13T17:08:41.653Z] v2.1.1-dev.2 [2023-03-13T17:08:41.653Z] v2.1.1-dev.3 [2023-03-13T17:08:41.653Z] v2.2.0 [2023-03-13T17:08:41.653Z] v2.2.1-dev.1 [2023-03-13T17:08:41.653Z] v2.2.1-dev.2 [2023-03-13T17:08:41.653Z] v2.2.1-dev.3 [2023-03-13T17:08:41.653Z] v2.2.1-dev.4 [2023-03-13T17:08:41.653Z] v2.2.1-dev.5 [2023-03-13T17:08:41.653Z] v2.2.1-dev.6 [2023-03-13T17:08:41.653Z] v2.2.1-dev.7 [2023-03-13T17:08:41.653Z] v2.3.0 [2023-03-13T17:08:41.653Z] v2.3.0-dev.10 [2023-03-13T17:08:41.653Z] v2.3.0-dev.11 [2023-03-13T17:08:41.653Z] v2.3.0-dev.12 [2023-03-13T17:08:41.653Z] v2.3.0-dev.13 [2023-03-13T17:08:41.653Z] v2.3.0-dev.14 [2023-03-13T17:08:41.653Z] v2.3.0-dev.15 [2023-03-13T17:08:41.653Z] v2.3.0-dev.16 [2023-03-13T17:08:41.653Z] v2.3.0-dev.17 [2023-03-13T17:08:41.653Z] v2.3.0-dev.18 [2023-03-13T17:08:41.653Z] v2.3.0-dev.19 [2023-03-13T17:08:41.653Z] v2.3.0-dev.20 [2023-03-13T17:08:41.653Z] v2.3.0-dev.21 [2023-03-13T17:08:41.653Z] v2.3.0-dev.22 [2023-03-13T17:08:41.653Z] v2.3.0-dev.23 [2023-03-13T17:08:41.653Z] v2.3.0-dev.24 [2023-03-13T17:08:41.653Z] v2.3.0-dev.25 [2023-03-13T17:08:41.653Z] v2.3.0-dev.7 [2023-03-13T17:08:41.653Z] v2.3.0-dev.8 [2023-03-13T17:08:41.653Z] v2.3.0-dev.9 [2023-03-13T17:08:41.653Z] v3.0.0-dev.1 [2023-03-13T17:08:41.653Z] v3.0.0-dev.10 [2023-03-13T17:08:41.653Z] v3.0.0-dev.11 [2023-03-13T17:08:41.653Z] v3.0.0-dev.12 [2023-03-13T17:08:41.653Z] v3.0.0-dev.13 [2023-03-13T17:08:41.653Z] v3.0.0-dev.14 [2023-03-13T17:08:41.653Z] v3.0.0-dev.15 [2023-03-13T17:08:41.653Z] v3.0.0-dev.16 [2023-03-13T17:08:41.653Z] v3.0.0-dev.2 [2023-03-13T17:08:41.653Z] v3.0.0-dev.3 [2023-03-13T17:08:41.653Z] v3.0.0-dev.4 [2023-03-13T17:08:41.653Z] v3.0.0-dev.5 [2023-03-13T17:08:41.653Z] v3.0.0-dev.6 [2023-03-13T17:08:41.653Z] v3.0.0-dev.7 [2023-03-13T17:08:41.653Z] v3.0.0-dev.8 [2023-03-13T17:08:41.653Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-13T17:08:41.933Z] + lftools sign git-tag v3.0.0-dev.16 [2023-03-13T17:08:42.500Z] Signing Git tag with Sigul... [2023-03-13T17:08:42.500Z] Signing v3.0.0-dev.16 [Pipeline] echo [2023-03-13T17:08:42.768Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:43.050Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-13T17:08:43.057Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-13T17:08:43.077Z] $ docker stop --time=1 c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be [2023-03-13T17:08:44.360Z] $ docker rm -f --volumes c31ae6b93c223bece79cc4309b572ab946f42b3e7b3cbe9e0e52c4502db917be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-13T17:08:44.752Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T17:08:44.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:45.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:08:45.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:45.109Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:45.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T17:08:45.486Z] $ docker top 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T17:08:45.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:08:45.577Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:08:45.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:08:45.697Z] $ docker exec 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f ssh-agent [2023-03-13T17:08:45.809Z] SSH_AUTH_SOCK=/tmp/ssh-ks2P6dwf9tGF/agent.31 [2023-03-13T17:08:45.809Z] SSH_AGENT_PID=37 [2023-03-13T17:08:45.814Z] Running ssh-add (command line suppressed) [2023-03-13T17:08:45.913Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15173987799255805929.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15173987799255805929.key) [2023-03-13T17:08:45.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:08:46.210Z] + git semver bump pre [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [bump_version] DEBUG bumped version:3.0.0-dev.17 [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,375 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,377 [execute] INFO git cat-file --batch-check [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,381 [execute] INFO git cat-file --batch [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:08:46.469Z] 2023-03-13 17:08:46,387 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:46.469Z] 3.0.0-dev.17 [Pipeline] } [2023-03-13T17:08:46.480Z] $ docker exec --env ******** --env ******** 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f ssh-agent -k [2023-03-13T17:08:46.578Z] unset SSH_AUTH_SOCK; [2023-03-13T17:08:46.578Z] unset SSH_AGENT_PID; [2023-03-13T17:08:46.578Z] echo Agent pid 37 killed; [2023-03-13T17:08:46.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T17:08:46.880Z] + git semver [Pipeline] } [2023-03-13T17:08:47.154Z] $ docker stop --time=1 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f [2023-03-13T17:08:48.412Z] $ docker rm -f --volumes 4f35b489e279acc7a42a7a833ac0e0f215fd1beb272f67161edaf9fd25963d2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T17:08:48.753Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T17:08:48.753Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:49.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T17:08:49.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:49.136Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:49.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T17:08:49.511Z] $ docker top fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T17:08:49.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T17:08:49.592Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T17:08:49.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T17:08:49.704Z] $ docker exec fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 ssh-agent [2023-03-13T17:08:49.810Z] SSH_AUTH_SOCK=/tmp/ssh-27EahzvonuYi/agent.32 [2023-03-13T17:08:49.810Z] SSH_AGENT_PID=38 [2023-03-13T17:08:49.814Z] Running ssh-add (command line suppressed) [2023-03-13T17:08:49.906Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2707698345367766611.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2707698345367766611.key) [2023-03-13T17:08:49.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T17:08:50.199Z] + git semver push [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,365 [run_push] DEBUG push [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,366 [execute] INFO git cat-file --batch-check [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,370 [execute] INFO git rev-list 0eb835d034137d8d1971072af4ce2f70f4793069 -- [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,371 [execute] DEBUG Popen(['git', 'rev-list', '0eb835d034137d8d1971072af4ce2f70f4793069', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,379 [execute] INFO git fetch -v origin [2023-03-13T17:08:50.457Z] 2023-03-13 17:08:50,379 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-13T17:08:51.023Z] 2023-03-13 17:08:50,899 [run_push] DEBUG no remote changes detected [2023-03-13T17:08:51.023Z] 2023-03-13 17:08:50,899 [execute] INFO git push origin semver [2023-03-13T17:08:51.023Z] 2023-03-13 17:08:50,899 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:08:51.958Z] 2023-03-13 17:08:51,690 [run_push] DEBUG push all version tags [2023-03-13T17:08:51.958Z] 2023-03-13 17:08:51,691 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-13T17:08:51.958Z] 2023-03-13 17:08:51,691 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-13T17:08:52.524Z] 2023-03-13 17:08:52,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-13T17:08:52.524Z] 3.0.0-dev.17 [Pipeline] } [2023-03-13T17:08:52.535Z] $ docker exec --env ******** --env ******** fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 ssh-agent -k [2023-03-13T17:08:52.632Z] unset SSH_AUTH_SOCK; [2023-03-13T17:08:52.632Z] unset SSH_AGENT_PID; [2023-03-13T17:08:52.632Z] echo Agent pid 38 killed; [2023-03-13T17:08:52.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T17:08:52.944Z] + git semver [Pipeline] } [2023-03-13T17:08:53.223Z] $ docker stop --time=1 fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 [2023-03-13T17:08:54.481Z] $ docker rm -f --volumes fb747908a1ce01c4ba7f0b2fac6fc20f2491bc8e2fb471dea71690ecc7d255a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-13T17:08:55.041Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-13T17:08:55.041Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-13T17:08:55.041Z] total 16 [2023-03-13T17:08:55.041Z] drwxr-xr-x 3 root root 4096 Mar 13 16:58 . [2023-03-13T17:08:55.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:08 .. [2023-03-13T17:08:55.041Z] drwxr-xr-x 2 root root 4096 Mar 13 16:58 cost [2023-03-13T17:08:55.041Z] -rw-r--r-- 1 root root 87 Mar 13 16:58 cost.csv [2023-03-13T17:08:55.041Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-13T17:08:55.041Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-13T17:08:55.041Z] total 16 [2023-03-13T17:08:55.041Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 16:58 . [2023-03-13T17:08:55.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 17:08 .. [2023-03-13T17:08:55.041Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 16:58 cost [2023-03-13T17:08:55.041Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 13 16:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:55.330Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:56.191Z] ---> package-listing.sh [2023-03-13T17:08:56.191Z] ++ facter osfamily [2023-03-13T17:08:56.191Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T17:08:56.450Z] + OS_FAMILY=debian [2023-03-13T17:08:56.450Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-13T17:08:56.450Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T17:08:56.450Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T17:08:56.450Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T17:08:56.450Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T17:08:56.450Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-13T17:08:56.450Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T17:08:56.450Z] + case "${OS_FAMILY}" in [2023-03-13T17:08:56.450Z] + dpkg -l [2023-03-13T17:08:56.450Z] + grep '^ii' [2023-03-13T17:08:56.450Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T17:08:56.450Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T17:08:56.450Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T17:08:56.450Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-13T17:08:56.450Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-13T17:08:56.450Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-03-13T17:08:56.461Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T17:08:56.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T17:08:57.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T17:08:57.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T17:08:57.366Z] prd-ubuntu20.04-docker-8c-8g-9908 does not seem to be running inside a container [2023-03-13T17:08:57.401Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T17:08:57.653Z] $ docker top eaad4f8b3615a3634ffffab0d8c8c4aba9bd662fd12d615c7e75a007d18f07fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T17:08:58.046Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T17:08:58.373Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T17:08:58.659Z] + ls /var/log/sa-host [2023-03-13T17:08:58.659Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T17:08:58.724Z] provisioning config files... [2023-03-13T17:08:58.731Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10402950316514977210tmp [Pipeline] { [Pipeline] echo [2023-03-13T17:08:58.742Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:59.021Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T17:08:59.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:59.343Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T17:08:59.351Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:59.633Z] ---> sudo-logs.sh [2023-03-13T17:08:59.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T17:08:59.666Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:08:59.949Z] ---> job-cost.sh [2023-03-13T17:08:59.949Z] lf-activate-venv: SKIPPING [2023-03-13T17:08:59.949Z] DEBUG: total: 0.2199999988079071 [2023-03-13T17:08:59.949Z] INFO: Retrieving Stack Cost... [2023-03-13T17:09:00.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T17:09:00.773Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T17:09:00.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T17:09:01.069Z] ---> logs-deploy.sh [2023-03-13T17:09:01.069Z] lf-activate-venv: SKIPPING [2023-03-13T17:09:01.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/82 [2023-03-13T17:09:01.069Z] INFO: archiving workspace using pattern(s): [2023-03-13T17:09:02.002Z] Archives upload complete. [2023-03-13T17:09:02.002Z] INFO: archiving logs to Nexus