Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f 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-ssh7467781636149265439.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-ssh11968555415353994151.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-ssh5436531813707536683.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-ssh893271228138791148.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-ssh4376325984452736905.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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5947’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5948’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5953 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 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f (main) > 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 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 Commit message: "feat!: updates for common config (#413)" > git rev-list --no-walk d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:43:26.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:43:26.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:43:26.470Z] ========================================================= [2023-02-15T00:43:26.470Z] EdgeX Global Pipelines Version Info [2023-02-15T00:43:26.470Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:27.170Z] ------------------- [2023-02-15T00:43:27.170Z] stable info: [2023-02-15T00:43:27.170Z] ------------------- [2023-02-15T00:43:27.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:43:27.170Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:43:27.170Z] Message: update stable to v1.0.244 [2023-02-15T00:43:27.738Z] ------------------- [2023-02-15T00:43:27.738Z] experimental info: [2023-02-15T00:43:27.738Z] ------------------- [2023-02-15T00:43:27.738Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:43:27.738Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:43:27.738Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:43:27.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-15T00:43:27.912Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-15T00:43:27.927Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:43:27.940Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:43:27.952Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:43:27.967Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:43:27.976Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:43:27.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T00:43:27.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:43:28.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:43:28.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:43:28.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-15T00:43:28.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:43:28.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:43:28.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:43:28.155Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:43:28.165Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:43:28.181Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:43:28.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:43:28.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:43:28.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T00:43:28.246Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T00:43:28.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:43:28.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:43:28.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:43:28.299Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:43:28.310Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:43:28.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-15T00:43:28.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-15T00:43:28.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-15T00:43:28.364Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] echo [2023-02-15T00:43:28.382Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7c1c71 [Pipeline] echo [2023-02-15T00:43:28.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:43:28.440Z] provisioning config files... [2023-02-15T00:43:28.453Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11854324569404506466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:28.760Z] ---> docker-login.sh [2023-02-15T00:43:28.760Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:43:29.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:29.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:29.020Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:29.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:29.020Z] [2023-02-15T00:43:29.020Z] Login Succeeded [2023-02-15T00:43:29.020Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:43:29.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:29.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:29.279Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:29.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:29.279Z] [2023-02-15T00:43:29.279Z] Login Succeeded [2023-02-15T00:43:29.279Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:43:29.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:29.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:29.279Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:29.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:29.279Z] [2023-02-15T00:43:29.279Z] Login Succeeded [2023-02-15T00:43:29.279Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:43:29.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:29.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:29.538Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:29.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:29.538Z] [2023-02-15T00:43:29.538Z] Login Succeeded [2023-02-15T00:43:29.538Z] docker.io [2023-02-15T00:43:29.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:29.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:29.798Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:29.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:29.798Z] [2023-02-15T00:43:29.798Z] Login Succeeded [2023-02-15T00:43:29.798Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:43:29.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:43:30.323Z] + git rev-list -1 --merges a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f~1..a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] echo [2023-02-15T00:43:30.371Z] -----------> git rev-list -1 --merges a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f~1..a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [false] [Pipeline] sh [2023-02-15T00:43:30.653Z] + git log --format=format:%s -1 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] echo [2023-02-15T00:43:30.667Z] ========================================================= [2023-02-15T00:43:30.667Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:43:30.667Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:43:30.987Z] + git log --format=format:%s -1 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] echo [2023-02-15T00:43:30.998Z] [semverPrep] GIT_COMMIT: a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f, Commit Message: feat!: updates for common config (#413) [Pipeline] echo [2023-02-15T00:43:31.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:43:31.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:43:31.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:43:31.342Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:43:31.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:43:31.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:43:31.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:43:31.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:31.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:43:31.688Z] [2023-02-15T00:43:31.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:31.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:43:31.999Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:43:31.999Z] b85a868b505f: Pulling fs layer [2023-02-15T00:43:31.999Z] e2be974225ed: Pulling fs layer [2023-02-15T00:43:31.999Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:43:31.999Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:43:31.999Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:43:31.999Z] eaf3925da568: Pulling fs layer [2023-02-15T00:43:31.999Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:43:31.999Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:43:31.999Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:43:31.999Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:43:31.999Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:43:31.999Z] 1469e6f7b9e6: Waiting [2023-02-15T00:43:31.999Z] 988bab9f4d93: Waiting [2023-02-15T00:43:31.999Z] b352a97aabf1: Waiting [2023-02-15T00:43:31.999Z] 4872d77fe225: Waiting [2023-02-15T00:43:31.999Z] eaf3925da568: Waiting [2023-02-15T00:43:31.999Z] 5851b861e8e6: Waiting [2023-02-15T00:43:31.999Z] bab4dde63d76: Waiting [2023-02-15T00:43:31.999Z] bde34c3a00c8: Waiting [2023-02-15T00:43:31.999Z] e2be974225ed: Download complete [2023-02-15T00:43:31.999Z] 988bab9f4d93: Verifying Checksum [2023-02-15T00:43:31.999Z] 988bab9f4d93: Download complete [2023-02-15T00:43:32.290Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:43:32.290Z] 1469e6f7b9e6: Download complete [2023-02-15T00:43:32.290Z] eaf3925da568: Verifying Checksum [2023-02-15T00:43:32.290Z] eaf3925da568: Download complete [2023-02-15T00:43:32.932Z] b85a868b505f: Verifying Checksum [2023-02-15T00:43:32.932Z] b85a868b505f: Download complete [2023-02-15T00:43:33.211Z] bde34c3a00c8: Verifying Checksum [2023-02-15T00:43:33.211Z] bde34c3a00c8: Download complete [2023-02-15T00:43:33.211Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:43:33.211Z] 339a4e72a1f5: Download complete [2023-02-15T00:43:33.211Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:43:33.211Z] 4872d77fe225: Download complete [2023-02-15T00:43:33.211Z] b352a97aabf1: Download complete [2023-02-15T00:43:33.211Z] 5851b861e8e6: Download complete [2023-02-15T00:43:33.808Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:43:33.808Z] bab4dde63d76: Download complete [2023-02-15T00:43:34.375Z] b85a868b505f: Pull complete [2023-02-15T00:43:34.375Z] e2be974225ed: Pull complete [2023-02-15T00:43:34.944Z] 339a4e72a1f5: Pull complete [2023-02-15T00:43:34.944Z] 988bab9f4d93: Pull complete [2023-02-15T00:43:35.202Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:43:35.202Z] eaf3925da568: Pull complete [2023-02-15T00:43:37.106Z] bab4dde63d76: Pull complete [2023-02-15T00:43:37.106Z] bde34c3a00c8: Pull complete [2023-02-15T00:43:37.106Z] b352a97aabf1: Pull complete [2023-02-15T00:43:37.106Z] 4872d77fe225: Pull complete [2023-02-15T00:43:37.106Z] 5851b861e8e6: Pull complete [2023-02-15T00:43:37.106Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:43:37.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:43:37.106Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:43:37.193Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:43:37.205Z] $ 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-02-15T00:43:38.404Z] $ docker top 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 -eo pid,comm [2023-02-15T00:43:38.478Z] 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-02-15T00:43:38.478Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:43:38.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:43:38.506Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:43:38.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:43:38.606Z] $ docker exec 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 ssh-agent [2023-02-15T00:43:38.729Z] SSH_AUTH_SOCK=/tmp/ssh-whcNc9kgFtos/agent.21 [2023-02-15T00:43:38.729Z] SSH_AGENT_PID=38 [2023-02-15T00:43:38.735Z] Running ssh-add (command line suppressed) [2023-02-15T00:43:38.824Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5633396599938048494.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5633396599938048494.key) [2023-02-15T00:43:38.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:43:39.136Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:43:39.136Z] $ docker exec --env ******** --env ******** 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 ssh-agent -k [2023-02-15T00:43:39.238Z] unset SSH_AUTH_SOCK; [2023-02-15T00:43:39.238Z] unset SSH_AGENT_PID; [2023-02-15T00:43:39.239Z] echo Agent pid 38 killed; [2023-02-15T00:43:39.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:43:39.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:43:39.281Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:43:39.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:43:39.377Z] $ docker exec 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 ssh-agent [2023-02-15T00:43:39.499Z] SSH_AUTH_SOCK=/tmp/ssh-Q4PH8C601qT3/agent.70 [2023-02-15T00:43:39.499Z] SSH_AGENT_PID=76 [2023-02-15T00:43:39.503Z] Running ssh-add (command line suppressed) [2023-02-15T00:43:39.589Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3184585144868262256.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3184585144868262256.key) [2023-02-15T00:43:39.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:43:39.897Z] + git semver init [2023-02-15T00:43:40.155Z] 2023-02-15 00:43:40,057 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:43:40.155Z] 2023-02-15 00:43:40,058 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-15T00:43:40.155Z] 2023-02-15 00:43:40,059 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-15T00:43:40.155Z] 2023-02-15 00:43:40,059 [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-02-15T00:43:41.093Z] 2023-02-15 00:43:40,959 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-15T00:43:41.093Z] 2023-02-15 00:43:40,960 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-15T00:43:41.093Z] 2023-02-15 00:43:40,960 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:43:41.093Z] 2023-02-15 00:43:40,960 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:43:41.093Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T00:43:41.095Z] $ docker exec --env ******** --env ******** 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 ssh-agent -k [2023-02-15T00:43:41.192Z] unset SSH_AUTH_SOCK; [2023-02-15T00:43:41.192Z] unset SSH_AGENT_PID; [2023-02-15T00:43:41.192Z] echo Agent pid 76 killed; [2023-02-15T00:43:41.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:43:41.547Z] + git semver [Pipeline] } [2023-02-15T00:43:41.812Z] $ docker stop --time=1 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 [2023-02-15T00:43:43.126Z] $ docker rm -f --volumes 9e6d847e33f3ddefccfac4417644aae6636bef7eebfb138c968db8ae47e500b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:43:43.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:43:43.675Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:43:43.677Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:43:43.803Z] provisioning config files... [2023-02-15T00:43:43.812Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2155109772383326851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:43:44.105Z] ---> docker-login.sh [2023-02-15T00:43:44.105Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:43:44.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:44.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:44.105Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:44.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:44.105Z] [2023-02-15T00:43:44.105Z] Login Succeeded [2023-02-15T00:43:44.105Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:43:44.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:44.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:44.105Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:44.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:44.105Z] [2023-02-15T00:43:44.105Z] Login Succeeded [2023-02-15T00:43:44.105Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:43:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:44.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:44.363Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:44.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:44.363Z] [2023-02-15T00:43:44.363Z] Login Succeeded [2023-02-15T00:43:44.363Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:43:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:44.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:44.363Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:44.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:44.363Z] [2023-02-15T00:43:44.363Z] Login Succeeded [2023-02-15T00:43:44.363Z] docker.io [2023-02-15T00:43:44.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:43:44.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:43:44.622Z] Configure a credential helper to remove this warning. See [2023-02-15T00:43:44.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:43:44.622Z] [2023-02-15T00:43:44.622Z] Login Succeeded [2023-02-15T00:43:44.622Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:43:44.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:43:44.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:43:44.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:43:44.699Z] ========================================================= [2023-02-15T00:43:44.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:43:44.699Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:43:45.014Z] + 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-02-15T00:43:45.014Z] Sending build context to Docker daemon 6.346MB [2023-02-15T00:43:45.014Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:43:45.014Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T00:43:45.014Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:43:45.014Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:43:45.014Z] 4583459ba037: Pulling fs layer [2023-02-15T00:43:45.014Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:43:45.014Z] 53926ce57604: Pulling fs layer [2023-02-15T00:43:45.014Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:43:45.014Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:43:45.014Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:43:45.014Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:43:45.014Z] a7acece74701: Pulling fs layer [2023-02-15T00:43:45.014Z] 53926ce57604: Waiting [2023-02-15T00:43:45.014Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:43:45.014Z] 22ff95d597cd: Waiting [2023-02-15T00:43:45.014Z] a7acece74701: Waiting [2023-02-15T00:43:45.014Z] 12d6caf4c0d1: Waiting [2023-02-15T00:43:45.014Z] 96b7cbca73a9: Waiting [2023-02-15T00:43:45.014Z] 93c1e223e6f2: Download complete [2023-02-15T00:43:45.014Z] 4583459ba037: Download complete [2023-02-15T00:43:45.014Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T00:43:45.014Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:43:45.277Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:43:45.277Z] 22ff95d597cd: Download complete [2023-02-15T00:43:45.277Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:43:45.277Z] 213ec9aee27d: Download complete [2023-02-15T00:43:45.277Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T00:43:45.277Z] 12d6caf4c0d1: Download complete [2023-02-15T00:43:45.277Z] 213ec9aee27d: Pull complete [2023-02-15T00:43:45.554Z] 4583459ba037: Pull complete [2023-02-15T00:43:45.554Z] 93c1e223e6f2: Pull complete [2023-02-15T00:43:46.587Z] a7acece74701: Verifying Checksum [2023-02-15T00:43:46.587Z] a7acece74701: Download complete [2023-02-15T00:43:46.587Z] 53926ce57604: Verifying Checksum [2023-02-15T00:43:46.587Z] 53926ce57604: Download complete [2023-02-15T00:43:46.850Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:43:46.850Z] 96b7cbca73a9: Download complete [2023-02-15T00:43:51.104Z] 53926ce57604: Pull complete [2023-02-15T00:43:51.363Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:43:51.620Z] 22ff95d597cd: Pull complete [2023-02-15T00:43:51.880Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:43:53.775Z] 96b7cbca73a9: Pull complete [2023-02-15T00:43:54.340Z] a7acece74701: Pull complete [2023-02-15T00:43:54.340Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:43:54.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:43:54.340Z] ---> db6d94c90886 [2023-02-15T00:43:54.340Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:43:56.468Z] ---> Running in 0ed5c2ce47c1 [2023-02-15T00:43:56.468Z] Removing intermediate container 0ed5c2ce47c1 [2023-02-15T00:43:56.468Z] ---> 0c24e5fd5915 [2023-02-15T00:43:56.468Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:43:56.468Z] ---> Running in 64ccab3554fe [2023-02-15T00:43:56.468Z] Removing intermediate container 64ccab3554fe [2023-02-15T00:43:56.468Z] ---> 29078907b10f [2023-02-15T00:43:56.468Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-15T00:43:56.468Z] ---> Running in 87cd69f37cae [2023-02-15T00:43:56.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:43:56.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:43:57.505Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:43:57.505Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-15T00:43:57.505Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:43:57.505Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:43:57.505Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-15T00:43:57.824Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-15T00:43:57.824Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-15T00:43:57.824Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-15T00:43:57.824Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:43:57.824Z] OK: 217 MiB in 59 packages [2023-02-15T00:43:58.166Z] Removing intermediate container 87cd69f37cae [2023-02-15T00:43:58.166Z] ---> 697d7d10600d [2023-02-15T00:43:58.166Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-15T00:43:58.166Z] ---> Running in d272fbd7dc0c [2023-02-15T00:43:58.549Z] Removing intermediate container d272fbd7dc0c [2023-02-15T00:43:58.549Z] ---> 758a8788f42d [2023-02-15T00:43:58.549Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T00:43:58.549Z] ---> db982ca1991d [2023-02-15T00:43:58.549Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:43:58.549Z] ---> Running in 82c0f407dd6f [2023-02-15T00:43:58.765Z] Still waiting to schedule task [2023-02-15T00:43:58.766Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-8c-8g-5948’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-8c-8g-5958’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-8c-8g-5959’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5954’ is offline [2023-02-15T00:43:58.766Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5957’ is offline [2023-02-15T00:44:37.510Z] Removing intermediate container 82c0f407dd6f [2023-02-15T00:44:37.510Z] ---> d9e00009090f [2023-02-15T00:44:37.510Z] Step 9/10 : COPY . . [2023-02-15T00:44:37.510Z] ---> afd0f5febe93 [2023-02-15T00:44:37.510Z] Step 10/10 : RUN ${MAKE} [2023-02-15T00:44:37.510Z] ---> Running in cbb0d5f3b1df [2023-02-15T00:44:38.080Z] noop [2023-02-15T00:44:39.017Z] Removing intermediate container cbb0d5f3b1df [2023-02-15T00:44:39.017Z] ---> 12da082211a0 [2023-02-15T00:44:39.017Z] Successfully built 12da082211a0 [2023-02-15T00:44:39.017Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:39.325Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:44:39.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:44:39.396Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:44:39.440Z] $ 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-02-15T00:44:40.349Z] $ docker top 95292133937b7b1035098d1e7ae6c429a582da4f645898a38c9237efc4cb55ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:44:40.673Z] + go version [2023-02-15T00:44:40.673Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:44:40.691Z] $ docker stop --time=1 95292133937b7b1035098d1e7ae6c429a582da4f645898a38c9237efc4cb55ed [2023-02-15T00:44:41.981Z] $ docker rm -f --volumes 95292133937b7b1035098d1e7ae6c429a582da4f645898a38c9237efc4cb55ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:44:42.382Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:44:42.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:44:42.449Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:44:42.483Z] $ 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-02-15T00:44:42.808Z] $ docker top 2a539f36873ce26933447eb56ebcb70e99c3d18827efd2cbf14cd98c4a6756a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:44:43.135Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:44:43.426Z] + make test [2023-02-15T00:44:43.426Z] go test ./... -coverprofile=coverage.out [2023-02-15T00:44:43.752Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-15T00:44:53.760Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-15T00:44:53.760Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements [2023-02-15T00:45:00.323Z] 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-02-15T00:45:00.323Z] go vet ./... [2023-02-15T00:45:03.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:45:03.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:45:03.601Z] ./bin/test-attribution-txt.sh [2023-02-15T00:45:03.601Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:45:03.601Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:45:03.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:45:03.630Z] $ docker stop --time=1 2a539f36873ce26933447eb56ebcb70e99c3d18827efd2cbf14cd98c4a6756a3 [2023-02-15T00:45:06.319Z] $ docker rm -f --volumes 2a539f36873ce26933447eb56ebcb70e99c3d18827efd2cbf14cd98c4a6756a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:45:06.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:45:06.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:45:07.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:45:07.561Z] + ls -al . [2023-02-15T00:45:07.561Z] total 184 [2023-02-15T00:45:07.561Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:44 . [2023-02-15T00:45:07.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:43 .. [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 00:43 .dockerignore [2023-02-15T00:45:07.561Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:44 .git [2023-02-15T00:45:07.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:43 .github [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 00:43 .gitignore [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:43 .golangci.yml [2023-02-15T00:45:07.561Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:43 .semver [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 15 00:43 Attribution.txt [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 00:43 CHANGELOG.md [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 00:43 Dockerfile [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:43 GOVERNANCE.md [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:43 Jenkinsfile [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:43 LICENSE [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 00:43 Makefile [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 00:43 OWNERS.md [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 00:43 README.md [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 00:43 VERSION [2023-02-15T00:45:07.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:43 bin [2023-02-15T00:45:07.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:43 cmd [2023-02-15T00:45:07.561Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 00:44 coverage.out [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 00:43 go.mod [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 00:43 go.sum [2023-02-15T00:45:07.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:43 internal [2023-02-15T00:45:07.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:43 simulator [2023-02-15T00:45:07.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:43 snap [2023-02-15T00:45:07.561Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:07.926Z] + 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=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f --label arch=amd64 --label version=3.0.0-dev.10 . [2023-02-15T00:45:07.926Z] Sending build context to Docker daemon 6.37MB [2023-02-15T00:45:07.926Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:45:07.926Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-15T00:45:07.926Z] ---> 12da082211a0 [2023-02-15T00:45:07.926Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:45:08.494Z] ---> Running in faf97477d6fc [2023-02-15T00:45:08.494Z] Removing intermediate container faf97477d6fc [2023-02-15T00:45:08.494Z] ---> 0e0380d9c614 [2023-02-15T00:45:08.494Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:45:08.494Z] ---> Running in ae32f5bdce89 [2023-02-15T00:45:08.494Z] Removing intermediate container ae32f5bdce89 [2023-02-15T00:45:08.494Z] ---> 8232fa9049da [2023-02-15T00:45:08.494Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-15T00:45:08.494Z] ---> Running in b76679f032fd [2023-02-15T00:45:08.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:45:09.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:45:09.270Z] OK: 217 MiB in 59 packages [2023-02-15T00:45:09.535Z] Removing intermediate container b76679f032fd [2023-02-15T00:45:09.535Z] ---> 33af1bb10acc [2023-02-15T00:45:09.535Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-15T00:45:09.535Z] ---> Running in c2fe40d12618 [2023-02-15T00:45:09.802Z] Removing intermediate container c2fe40d12618 [2023-02-15T00:45:09.802Z] ---> dbaa6ff42930 [2023-02-15T00:45:09.802Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-15T00:45:09.802Z] ---> b76858c64f07 [2023-02-15T00:45:09.802Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:45:09.802Z] ---> Running in 43d04ebed9e7 [2023-02-15T00:45:10.736Z] Removing intermediate container 43d04ebed9e7 [2023-02-15T00:45:10.736Z] ---> 8a515e4df6d9 [2023-02-15T00:45:10.736Z] Step 9/22 : COPY . . [2023-02-15T00:45:11.303Z] ---> 7b3bdd65fcfb [2023-02-15T00:45:11.303Z] Step 10/22 : RUN ${MAKE} [2023-02-15T00:45:11.303Z] ---> Running in b8afa1d2c503 [2023-02-15T00:45:11.562Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-15T00:45:38.103Z] Removing intermediate container b8afa1d2c503 [2023-02-15T00:45:38.103Z] ---> ef49bbae1bb0 [2023-02-15T00:45:38.103Z] Step 11/22 : FROM alpine:3.14 [2023-02-15T00:45:38.103Z] 3.14: Pulling from library/alpine [2023-02-15T00:45:38.103Z] d261077062b2: Pulling fs layer [2023-02-15T00:45:38.103Z] d261077062b2: Verifying Checksum [2023-02-15T00:45:38.103Z] d261077062b2: Download complete [2023-02-15T00:45:38.103Z] d261077062b2: Pull complete [2023-02-15T00:45:38.103Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T00:45:38.103Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T00:45:38.103Z] ---> 6dff1269bc79 [2023-02-15T00:45:38.103Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-15T00:45:38.103Z] ---> Running in 7a7ff0363383 [2023-02-15T00:45:38.103Z] Removing intermediate container 7a7ff0363383 [2023-02-15T00:45:38.103Z] ---> 063bd881abd6 [2023-02-15T00:45:38.103Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:45:38.103Z] ---> Running in 9f2fdb2c6407 [2023-02-15T00:45:38.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:45:38.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:45:38.103Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:45:38.103Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T00:45:38.103Z] OK: 6 MiB in 15 packages [2023-02-15T00:45:38.103Z] Removing intermediate container 9f2fdb2c6407 [2023-02-15T00:45:38.103Z] ---> 93f8171ebcaa [2023-02-15T00:45:38.103Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-15T00:45:38.103Z] ---> 6535dcd7303a [2023-02-15T00:45:38.103Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-15T00:45:38.103Z] ---> 847a83573091 [2023-02-15T00:45:38.103Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-15T00:45:38.103Z] ---> bc555aa43109 [2023-02-15T00:45:38.103Z] Step 17/22 : EXPOSE 59901 [2023-02-15T00:45:38.103Z] ---> Running in 3a1897f5e5fd [2023-02-15T00:45:38.103Z] Removing intermediate container 3a1897f5e5fd [2023-02-15T00:45:38.103Z] ---> c7a6b8a7edd6 [2023-02-15T00:45:38.103Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-15T00:45:38.379Z] ---> Running in d9ddcb274d76 [2023-02-15T00:45:38.379Z] Removing intermediate container d9ddcb274d76 [2023-02-15T00:45:38.379Z] ---> 4c0ecf2e2839 [2023-02-15T00:45:38.379Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:45:38.379Z] ---> Running in 205689c2add3 [2023-02-15T00:45:38.379Z] Removing intermediate container 205689c2add3 [2023-02-15T00:45:38.379Z] ---> 8686a39cab2a [2023-02-15T00:45:38.379Z] Step 20/22 : LABEL arch=amd64 [2023-02-15T00:45:38.379Z] ---> Running in fed10079164a [2023-02-15T00:45:38.648Z] Removing intermediate container fed10079164a [2023-02-15T00:45:38.648Z] ---> 9436f20d624f [2023-02-15T00:45:38.648Z] Step 21/22 : LABEL git_sha=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:45:38.648Z] ---> Running in 6c8cc67d02f2 [2023-02-15T00:45:38.648Z] Removing intermediate container 6c8cc67d02f2 [2023-02-15T00:45:38.648Z] ---> d789b4556ee2 [2023-02-15T00:45:38.648Z] Step 22/22 : LABEL version=3.0.0-dev.10 [2023-02-15T00:45:38.648Z] ---> Running in 230cb09482e3 [2023-02-15T00:45:38.648Z] Removing intermediate container 230cb09482e3 [2023-02-15T00:45:38.648Z] ---> acd449eb20d9 [2023-02-15T00:45:38.648Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:45:38.648Z] Successfully built acd449eb20d9 [2023-02-15T00:45:38.648Z] 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-02-15T00:45:38.759Z] provisioning config files... [2023-02-15T00:45:38.776Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17750333706419956235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:45:39.092Z] ---> docker-login.sh [2023-02-15T00:45:39.092Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:45:39.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:45:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:45:39.092Z] Configure a credential helper to remove this warning. See [2023-02-15T00:45:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:45:39.092Z] [2023-02-15T00:45:39.092Z] Login Succeeded [2023-02-15T00:45:39.092Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:45:39.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:45:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:45:39.092Z] Configure a credential helper to remove this warning. See [2023-02-15T00:45:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:45:39.092Z] [2023-02-15T00:45:39.092Z] Login Succeeded [2023-02-15T00:45:39.092Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:45:39.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:45:39.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:45:39.349Z] Configure a credential helper to remove this warning. See [2023-02-15T00:45:39.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:45:39.349Z] [2023-02-15T00:45:39.349Z] Login Succeeded [2023-02-15T00:45:39.349Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:45:39.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:45:39.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:45:39.349Z] Configure a credential helper to remove this warning. See [2023-02-15T00:45:39.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:45:39.349Z] [2023-02-15T00:45:39.349Z] Login Succeeded [2023-02-15T00:45:39.349Z] docker.io [2023-02-15T00:45:39.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:45:39.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:45:39.607Z] Configure a credential helper to remove this warning. See [2023-02-15T00:45:39.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:45:39.607Z] [2023-02-15T00:45:39.607Z] Login Succeeded [2023-02-15T00:45:39.607Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:45:39.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:45:39.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:45:39.651Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-15T00:45:39.651Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:45:39.651Z] latest [2023-02-15T00:45:39.651Z] 3.0.0-dev.10 [2023-02-15T00:45:39.651Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:45:39.651Z] main [2023-02-15T00:45:39.651Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:39.967Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:40.269Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:45:40.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-15T00:45:40.269Z] c251d4298d94: Preparing [2023-02-15T00:45:40.269Z] 2053380e5c73: Preparing [2023-02-15T00:45:40.269Z] ff8a73d274d2: Preparing [2023-02-15T00:45:40.269Z] 5603599b5fd4: Preparing [2023-02-15T00:45:40.269Z] 625523cb9cce: Preparing [2023-02-15T00:45:40.269Z] 625523cb9cce: Layer already exists [2023-02-15T00:45:40.269Z] c251d4298d94: Pushed [2023-02-15T00:45:40.269Z] 2053380e5c73: Pushed [2023-02-15T00:45:40.269Z] 5603599b5fd4: Pushed [2023-02-15T00:45:42.833Z] ff8a73d274d2: Pushed [2023-02-15T00:45:42.833Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f: digest: sha256:b911b09ac7da068f416532df047fe9912b598a976be9185af558396731f6eead size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:43.408Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:43.734Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-15T00:45:43.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-15T00:45:43.734Z] c251d4298d94: Preparing [2023-02-15T00:45:43.734Z] 2053380e5c73: Preparing [2023-02-15T00:45:43.734Z] ff8a73d274d2: Preparing [2023-02-15T00:45:43.734Z] 5603599b5fd4: Preparing [2023-02-15T00:45:43.734Z] 625523cb9cce: Preparing [2023-02-15T00:45:43.734Z] 625523cb9cce: Layer already exists [2023-02-15T00:45:43.734Z] 2053380e5c73: Layer already exists [2023-02-15T00:45:43.734Z] c251d4298d94: Layer already exists [2023-02-15T00:45:43.734Z] 5603599b5fd4: Layer already exists [2023-02-15T00:45:43.734Z] ff8a73d274d2: Layer already exists [2023-02-15T00:45:43.734Z] latest: digest: sha256:b911b09ac7da068f416532df047fe9912b598a976be9185af558396731f6eead size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:44.062Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:44.377Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.10 [2023-02-15T00:45:44.377Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-15T00:45:44.377Z] c251d4298d94: Preparing [2023-02-15T00:45:44.377Z] 2053380e5c73: Preparing [2023-02-15T00:45:44.377Z] ff8a73d274d2: Preparing [2023-02-15T00:45:44.377Z] 5603599b5fd4: Preparing [2023-02-15T00:45:44.377Z] 625523cb9cce: Preparing [2023-02-15T00:45:44.377Z] ff8a73d274d2: Layer already exists [2023-02-15T00:45:44.377Z] 2053380e5c73: Layer already exists [2023-02-15T00:45:44.377Z] c251d4298d94: Layer already exists [2023-02-15T00:45:44.377Z] 625523cb9cce: Layer already exists [2023-02-15T00:45:44.377Z] 5603599b5fd4: Layer already exists [2023-02-15T00:45:44.377Z] 3.0.0-dev.10: digest: sha256:b911b09ac7da068f416532df047fe9912b598a976be9185af558396731f6eead size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:44.696Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:45.002Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:45:45.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-15T00:45:45.002Z] c251d4298d94: Preparing [2023-02-15T00:45:45.002Z] 2053380e5c73: Preparing [2023-02-15T00:45:45.002Z] ff8a73d274d2: Preparing [2023-02-15T00:45:45.002Z] 5603599b5fd4: Preparing [2023-02-15T00:45:45.002Z] 625523cb9cce: Preparing [2023-02-15T00:45:45.002Z] 625523cb9cce: Layer already exists [2023-02-15T00:45:45.002Z] 2053380e5c73: Layer already exists [2023-02-15T00:45:45.002Z] 5603599b5fd4: Layer already exists [2023-02-15T00:45:45.002Z] c251d4298d94: Layer already exists [2023-02-15T00:45:45.002Z] ff8a73d274d2: Layer already exists [2023-02-15T00:45:45.002Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10: digest: sha256:b911b09ac7da068f416532df047fe9912b598a976be9185af558396731f6eead size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:45.311Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:45.619Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-15T00:45:45.619Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-15T00:45:45.619Z] c251d4298d94: Preparing [2023-02-15T00:45:45.619Z] 2053380e5c73: Preparing [2023-02-15T00:45:45.619Z] ff8a73d274d2: Preparing [2023-02-15T00:45:45.619Z] 5603599b5fd4: Preparing [2023-02-15T00:45:45.619Z] 625523cb9cce: Preparing [2023-02-15T00:45:45.619Z] c251d4298d94: Layer already exists [2023-02-15T00:45:45.619Z] 5603599b5fd4: Layer already exists [2023-02-15T00:45:45.619Z] 2053380e5c73: Layer already exists [2023-02-15T00:45:45.620Z] 625523cb9cce: Layer already exists [2023-02-15T00:45:45.620Z] ff8a73d274d2: Layer already exists [2023-02-15T00:45:45.620Z] main: digest: sha256:b911b09ac7da068f416532df047fe9912b598a976be9185af558396731f6eead size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:45:45.664Z] ===================================================== [Pipeline] echo [2023-02-15T00:45:45.672Z] taggedImages: [2023-02-15T00:45:45.672Z] - nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:45:45.672Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-15T00:45:45.672Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.10 [2023-02-15T00:45:45.672Z] - nexus3.edgexfoundry.org:10004/device-modbus:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:45:45.672Z] - 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-02-15T00:45:46.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:45:46.043Z] [2023-02-15T00:45:46.043Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:45:46.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:45:46.340Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:45:46.340Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:45:46.340Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:45:46.340Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:45:46.340Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:45:46.340Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:45:46.340Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:45:46.340Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:45:46.340Z] 5d3b04190fa2: Waiting [2023-02-15T00:45:46.340Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:45:46.340Z] 2f39f015ded8: Waiting [2023-02-15T00:45:46.340Z] 33b1e0a273af: Waiting [2023-02-15T00:45:46.606Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T00:45:46.606Z] 5c69ac0246d0: Download complete [2023-02-15T00:45:46.606Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T00:45:46.877Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:45:46.877Z] 33b1e0a273af: Download complete [2023-02-15T00:45:46.877Z] 5d3b04190fa2: Download complete [2023-02-15T00:45:46.877Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:45:46.877Z] ec43610c2a17: Download complete [2023-02-15T00:45:47.140Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:45:47.140Z] 5eb5b503b376: Download complete [2023-02-15T00:45:47.707Z] 2f39f015ded8: Download complete [2023-02-15T00:45:48.674Z] 5eb5b503b376: Pull complete [2023-02-15T00:45:48.931Z] 5c69ac0246d0: Pull complete [2023-02-15T00:45:49.497Z] ec43610c2a17: Pull complete [2023-02-15T00:45:49.755Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:45:50.015Z] 33b1e0a273af: Pull complete [2023-02-15T00:45:50.015Z] 5d3b04190fa2: Pull complete [2023-02-15T00:45:55.329Z] 2f39f015ded8: Pull complete [2023-02-15T00:45:55.329Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:45:55.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:45:55.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:45:55.405Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:45:55.441Z] $ 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-02-15T00:46:01.719Z] $ docker top c3f07246fecd645c08659282905b78eff9d2585c5092c2c620c0b5f9603c8342 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:46:02.070Z] ---> job-cost.sh [2023-02-15T00:46:02.070Z] lf-activate-venv: SKIPPING [2023-02-15T00:46:02.070Z] INFO: No Stack... [2023-02-15T00:46:02.328Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:46:02.894Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:46:03.185Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-15T00:46:03.186Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:46:03.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [2023-02-15T00:46:03.202Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] did not exist. Created. [2023-02-15T00:46:03.202Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:46:03.497Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:46:03.530Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:46:03.542Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:46:03.564Z] $ docker stop --time=1 c3f07246fecd645c08659282905b78eff9d2585c5092c2c620c0b5f9603c8342 [2023-02-15T00:46:04.744Z] $ docker rm -f --volumes c3f07246fecd645c08659282905b78eff9d2585c5092c2c620c0b5f9603c8342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T00:46:11.465Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5964 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-02-15T00:46:11.476Z] Running in /w/workspace/device-modbus-go/76 [Pipeline] { [Pipeline] checkout [2023-02-15T00:46:11.545Z] Selected Git installation does not exist. Using Default [2023-02-15T00:46:11.545Z] The recommended git tool is: NONE [2023-02-15T00:46:19.166Z] using credential edgex-jenkins-ssh [2023-02-15T00:46:19.185Z] Cloning the remote Git repository [2023-02-15T00:46:19.257Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-15T00:46:19.365Z] > git init /w/workspace/device-modbus-go/76 # timeout=10 [2023-02-15T00:46:19.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-15T00:46:19.581Z] > git --version # timeout=10 [2023-02-15T00:46:19.611Z] > git --version # 'git version 2.25.1' [2023-02-15T00:46:19.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T00:46:19.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:46:21.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-15T00:46:21.289Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T00:46:22.514Z] Avoid second fetch [2023-02-15T00:46:22.515Z] Checking out Revision a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f (main) [2023-02-15T00:46:22.547Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T00:46:22.569Z] > git checkout -f a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 [2023-02-15T00:46:23.495Z] Commit message: "feat!: updates for common config (#413)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:46:24.595Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T00:46:24.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:46:24.595Z] Dload Upload Total Spent Left Speed [2023-02-15T00:46:24.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-02-15T00:46:25.250Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T00:46:25.589Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T00:46:25.589Z] + sudo tee /etc/docker/daemon.new [2023-02-15T00:46:25.589Z] { [2023-02-15T00:46:25.589Z] "registry-mirrors": [ [2023-02-15T00:46:25.589Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T00:46:25.589Z] ], [2023-02-15T00:46:25.589Z] "bip": "10.250.0.254/24", [2023-02-15T00:46:25.589Z] "hosts": [ [2023-02-15T00:46:25.589Z] "tcp://0.0.0.0:5555", [2023-02-15T00:46:25.589Z] "unix:///var/run/docker.sock" [2023-02-15T00:46:25.589Z] ], [2023-02-15T00:46:25.589Z] "mtu": 1458, [2023-02-15T00:46:25.589Z] "selinux-enabled": true, [2023-02-15T00:46:25.589Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T00:46:25.589Z] } [Pipeline] sh [2023-02-15T00:46:25.941Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T00:46:26.284Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:46:45.162Z] provisioning config files... [2023-02-15T00:46:45.202Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/76@tmp/config8768844031976902580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:46:45.604Z] ---> docker-login.sh [2023-02-15T00:46:45.604Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:46:46.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:46.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:46.483Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:46.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:46.483Z] [2023-02-15T00:46:46.483Z] Login Succeeded [2023-02-15T00:46:46.483Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:46:46.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:47.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:47.036Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:47.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:47.036Z] [2023-02-15T00:46:47.036Z] Login Succeeded [2023-02-15T00:46:47.036Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:46:47.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:47.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:47.314Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:47.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:47.314Z] [2023-02-15T00:46:47.314Z] Login Succeeded [2023-02-15T00:46:47.314Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:46:47.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:47.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:47.871Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:47.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:47.871Z] [2023-02-15T00:46:47.871Z] Login Succeeded [2023-02-15T00:46:47.871Z] docker.io [2023-02-15T00:46:48.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:46:48.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:46:48.436Z] Configure a credential helper to remove this warning. See [2023-02-15T00:46:48.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:46:48.436Z] [2023-02-15T00:46:48.436Z] Login Succeeded [2023-02-15T00:46:48.436Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:46:48.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:46:48.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:48.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:46:48.843Z] ========================================================= [2023-02-15T00:46:48.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T00:46:48.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:46:49.216Z] + 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-02-15T00:46:49.494Z] Sending build context to Docker daemon 3.302MB [2023-02-15T00:46:49.494Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:46:49.494Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T00:46:49.768Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T00:46:49.768Z] 9b18e9b68314: Pulling fs layer [2023-02-15T00:46:49.768Z] 35d82f9e3411: Pulling fs layer [2023-02-15T00:46:49.768Z] e16973657156: Pulling fs layer [2023-02-15T00:46:49.768Z] fc693d55d65f: Pulling fs layer [2023-02-15T00:46:49.768Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T00:46:49.768Z] dda99020689f: Pulling fs layer [2023-02-15T00:46:49.768Z] db1c61fa0a46: Pulling fs layer [2023-02-15T00:46:49.768Z] 891c053d2c06: Pulling fs layer [2023-02-15T00:46:49.768Z] dda99020689f: Waiting [2023-02-15T00:46:49.768Z] fc693d55d65f: Waiting [2023-02-15T00:46:49.768Z] 7e9fc2657dce: Waiting [2023-02-15T00:46:49.768Z] db1c61fa0a46: Waiting [2023-02-15T00:46:49.768Z] 891c053d2c06: Waiting [2023-02-15T00:46:49.768Z] e16973657156: Verifying Checksum [2023-02-15T00:46:49.768Z] e16973657156: Download complete [2023-02-15T00:46:49.768Z] 35d82f9e3411: Download complete [2023-02-15T00:46:50.047Z] 7e9fc2657dce: Download complete [2023-02-15T00:46:50.047Z] dda99020689f: Download complete [2023-02-15T00:46:50.047Z] 9b18e9b68314: Verifying Checksum [2023-02-15T00:46:50.047Z] 9b18e9b68314: Download complete [2023-02-15T00:46:51.051Z] 9b18e9b68314: Pull complete [2023-02-15T00:46:51.326Z] 891c053d2c06: Verifying Checksum [2023-02-15T00:46:51.326Z] 891c053d2c06: Download complete [2023-02-15T00:46:51.931Z] 35d82f9e3411: Pull complete [2023-02-15T00:46:52.207Z] e16973657156: Pull complete [2023-02-15T00:46:52.802Z] db1c61fa0a46: Verifying Checksum [2023-02-15T00:46:52.802Z] db1c61fa0a46: Download complete [2023-02-15T00:46:53.079Z] fc693d55d65f: Verifying Checksum [2023-02-15T00:46:53.079Z] fc693d55d65f: Download complete [2023-02-15T00:47:05.493Z] fc693d55d65f: Pull complete [2023-02-15T00:47:05.765Z] 7e9fc2657dce: Pull complete [2023-02-15T00:47:06.358Z] dda99020689f: Pull complete [2023-02-15T00:47:13.070Z] db1c61fa0a46: Pull complete [2023-02-15T00:47:14.511Z] 891c053d2c06: Pull complete [2023-02-15T00:47:14.511Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T00:47:14.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T00:47:14.511Z] ---> f96f9c87975a [2023-02-15T00:47:14.511Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:47:15.498Z] ---> Running in 30316a726f20 [2023-02-15T00:47:15.771Z] Removing intermediate container 30316a726f20 [2023-02-15T00:47:15.771Z] ---> 321055e987ca [2023-02-15T00:47:15.771Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:47:16.046Z] ---> Running in 979c3773bfe0 [2023-02-15T00:47:16.322Z] Removing intermediate container 979c3773bfe0 [2023-02-15T00:47:16.322Z] ---> cd0aed356807 [2023-02-15T00:47:16.322Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-15T00:47:16.597Z] ---> Running in ee8931635afc [2023-02-15T00:47:18.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:47:18.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:47:19.263Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T00:47:19.263Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-15T00:47:19.263Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T00:47:19.534Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T00:47:19.534Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-15T00:47:19.534Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-15T00:47:19.534Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-15T00:47:19.534Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-15T00:47:19.534Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T00:47:19.534Z] OK: 228 MiB in 59 packages [2023-02-15T00:47:20.975Z] Removing intermediate container ee8931635afc [2023-02-15T00:47:20.975Z] ---> 8a8f74ce0bb7 [2023-02-15T00:47:20.975Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-15T00:47:20.975Z] ---> Running in a2527614230f [2023-02-15T00:47:21.245Z] Removing intermediate container a2527614230f [2023-02-15T00:47:21.245Z] ---> ceab87bb7db5 [2023-02-15T00:47:21.245Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T00:47:21.835Z] ---> 4b92a570cbb8 [2023-02-15T00:47:21.835Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:47:21.835Z] ---> Running in 628895fd5114 [2023-02-15T00:48:44.496Z] Removing intermediate container 628895fd5114 [2023-02-15T00:48:44.496Z] ---> b844a3f36edb [2023-02-15T00:48:44.496Z] Step 9/10 : COPY . . [2023-02-15T00:48:44.496Z] ---> 8bc20a3f5a7b [2023-02-15T00:48:44.496Z] Step 10/10 : RUN ${MAKE} [2023-02-15T00:48:44.496Z] ---> Running in b90db0c2258a [2023-02-15T00:48:44.496Z] noop [2023-02-15T00:48:44.496Z] Removing intermediate container b90db0c2258a [2023-02-15T00:48:44.496Z] ---> 14168f2d50b2 [2023-02-15T00:48:44.496Z] Successfully built 14168f2d50b2 [2023-02-15T00:48:44.496Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:44.873Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:44.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:45.111Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2023-02-15T00:48:45.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/76 -v /w/workspace/device-modbus-go/76:/w/workspace/device-modbus-go/76:rw,z -v /w/workspace/device-modbus-go/76@tmp:/w/workspace/device-modbus-go/76@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-02-15T00:48:46.704Z] $ docker top 704fa7527801ee1d193df80dff5e851af4089ac2e3132010cb868803212415fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:47.620Z] + go version [2023-02-15T00:48:47.620Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T00:48:47.642Z] $ docker stop --time=1 704fa7527801ee1d193df80dff5e851af4089ac2e3132010cb868803212415fb [2023-02-15T00:48:49.394Z] $ docker rm -f --volumes 704fa7527801ee1d193df80dff5e851af4089ac2e3132010cb868803212415fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:48:49.977Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T00:48:49.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:48:50.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2023-02-15T00:48:50.365Z] $ 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/76 -v /w/workspace/device-modbus-go/76:/w/workspace/device-modbus-go/76:rw,z -v /w/workspace/device-modbus-go/76@tmp:/w/workspace/device-modbus-go/76@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-02-15T00:48:51.902Z] $ docker top 749940fa0c58afe40b8577161f175b1700f9053c8e07110c0057dbf48d824237 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:48:52.805Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/76 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:48:53.481Z] + make test [2023-02-15T00:48:53.481Z] go test ./... -coverprofile=coverage.out [2023-02-15T00:48:55.440Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-15T00:50:47.514Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-15T00:50:50.897Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 47.7% of statements [2023-02-15T00:50:51.166Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:50:51.166Z] go vet ./... [2023-02-15T00:51:23.464Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:51:23.464Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:51:23.464Z] ./bin/test-attribution-txt.sh [2023-02-15T00:51:23.464Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T00:51:23.464Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T00:51:23.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:51:23.496Z] $ docker stop --time=1 749940fa0c58afe40b8577161f175b1700f9053c8e07110c0057dbf48d824237 [2023-02-15T00:51:25.433Z] $ docker rm -f --volumes 749940fa0c58afe40b8577161f175b1700f9053c8e07110c0057dbf48d824237 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:51:26.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:51:26.526Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:51:27.203Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:51:27.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:51:27.931Z] + ls -al . [2023-02-15T00:51:27.931Z] total 180 [2023-02-15T00:51:27.931Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:48 . [2023-02-15T00:51:27.931Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:46 .. [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 00:46 .dockerignore [2023-02-15T00:51:27.931Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:46 .git [2023-02-15T00:51:27.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:46 .github [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 00:46 .gitignore [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 00:46 .golangci.yml [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 15 00:46 Attribution.txt [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 00:46 CHANGELOG.md [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 00:46 Dockerfile [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:46 GOVERNANCE.md [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 00:46 Jenkinsfile [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 00:46 LICENSE [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 00:46 Makefile [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 00:46 OWNERS.md [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 00:46 README.md [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 00:43 VERSION [2023-02-15T00:51:27.931Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:46 bin [2023-02-15T00:51:27.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:46 cmd [2023-02-15T00:51:27.931Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 00:50 coverage.out [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 00:46 go.mod [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 00:46 go.sum [2023-02-15T00:51:27.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:46 internal [2023-02-15T00:51:27.931Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:46 simulator [2023-02-15T00:51:27.931Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:46 snap [2023-02-15T00:51:27.931Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:51:28.293Z] + 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=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f --label arch=arm64 --label version=3.0.0-dev.10 . [2023-02-15T00:51:28.565Z] Sending build context to Docker daemon 3.326MB [2023-02-15T00:51:28.565Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:51:28.565Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-15T00:51:28.565Z] ---> 14168f2d50b2 [2023-02-15T00:51:28.565Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-15T00:51:28.837Z] ---> Running in 0cc298264823 [2023-02-15T00:51:29.109Z] Removing intermediate container 0cc298264823 [2023-02-15T00:51:29.109Z] ---> b7ec9e50e9ef [2023-02-15T00:51:29.109Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T00:51:29.109Z] ---> Running in 4bbb120879b3 [2023-02-15T00:51:29.702Z] Removing intermediate container 4bbb120879b3 [2023-02-15T00:51:29.702Z] ---> b6fe68f20b32 [2023-02-15T00:51:29.702Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-15T00:51:29.702Z] ---> Running in 6c8866b2bc9c [2023-02-15T00:51:30.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:51:31.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:51:32.733Z] OK: 228 MiB in 59 packages [2023-02-15T00:51:33.709Z] Removing intermediate container 6c8866b2bc9c [2023-02-15T00:51:33.709Z] ---> 861eaf5501e3 [2023-02-15T00:51:33.709Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-15T00:51:33.980Z] ---> Running in e87ef6a25401 [2023-02-15T00:51:34.252Z] Removing intermediate container e87ef6a25401 [2023-02-15T00:51:34.252Z] ---> 906ac43233ae [2023-02-15T00:51:34.252Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-15T00:51:34.845Z] ---> 5d2d2c86f4e4 [2023-02-15T00:51:34.845Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:51:35.116Z] ---> Running in f5f701a523de [2023-02-15T00:51:38.498Z] Removing intermediate container f5f701a523de [2023-02-15T00:51:38.498Z] ---> 05e27d0112ef [2023-02-15T00:51:38.498Z] Step 9/22 : COPY . . [2023-02-15T00:51:39.087Z] ---> 707a775ca707 [2023-02-15T00:51:39.087Z] Step 10/22 : RUN ${MAKE} [2023-02-15T00:51:39.087Z] ---> Running in dd9e1bae37c1 [2023-02-15T00:51:40.064Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-15T00:54:16.872Z] Removing intermediate container dd9e1bae37c1 [2023-02-15T00:54:16.872Z] ---> 7790b3c195ba [2023-02-15T00:54:16.872Z] Step 11/22 : FROM alpine:3.14 [2023-02-15T00:54:16.872Z] 3.14: Pulling from library/alpine [2023-02-15T00:54:16.872Z] 6f0e733d82e2: Pulling fs layer [2023-02-15T00:54:16.872Z] 6f0e733d82e2: Verifying Checksum [2023-02-15T00:54:16.872Z] 6f0e733d82e2: Download complete [2023-02-15T00:54:16.872Z] 6f0e733d82e2: Pull complete [2023-02-15T00:54:16.872Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T00:54:16.872Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T00:54:16.872Z] ---> bf97f6347a60 [2023-02-15T00:54:16.872Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-15T00:54:16.872Z] ---> Running in d1cce1299802 [2023-02-15T00:54:16.872Z] Removing intermediate container d1cce1299802 [2023-02-15T00:54:16.872Z] ---> 45715c11f6ae [2023-02-15T00:54:16.872Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-15T00:54:16.872Z] ---> Running in fe1678b90a69 [2023-02-15T00:54:16.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:54:16.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:54:16.872Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T00:54:16.872Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T00:54:16.872Z] OK: 6 MiB in 15 packages [2023-02-15T00:54:16.872Z] Removing intermediate container fe1678b90a69 [2023-02-15T00:54:16.872Z] ---> 768ee0df5379 [2023-02-15T00:54:16.872Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-15T00:54:16.872Z] ---> e850adce3af7 [2023-02-15T00:54:16.872Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-15T00:54:16.872Z] ---> b4168bae9e5e [2023-02-15T00:54:16.872Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-15T00:54:16.872Z] ---> e39fb8353811 [2023-02-15T00:54:16.872Z] Step 17/22 : EXPOSE 59901 [2023-02-15T00:54:16.872Z] ---> Running in 5d71bfdc49ef [2023-02-15T00:54:16.872Z] Removing intermediate container 5d71bfdc49ef [2023-02-15T00:54:16.872Z] ---> a3bba744b197 [2023-02-15T00:54:16.872Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-15T00:54:17.141Z] ---> Running in b26cf7020e93 [2023-02-15T00:54:17.412Z] Removing intermediate container b26cf7020e93 [2023-02-15T00:54:17.412Z] ---> 422a2aabb11e [2023-02-15T00:54:17.412Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T00:54:17.412Z] ---> Running in 5688a9f2bf3c [2023-02-15T00:54:17.680Z] Removing intermediate container 5688a9f2bf3c [2023-02-15T00:54:17.680Z] ---> 50dafe68059d [2023-02-15T00:54:17.680Z] Step 20/22 : LABEL arch=arm64 [2023-02-15T00:54:17.949Z] ---> Running in 369613e2b2cd [2023-02-15T00:54:18.218Z] Removing intermediate container 369613e2b2cd [2023-02-15T00:54:18.218Z] ---> 24ef4b2654a7 [2023-02-15T00:54:18.218Z] Step 21/22 : LABEL git_sha=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:54:18.218Z] ---> Running in 85843cd49010 [2023-02-15T00:54:18.490Z] Removing intermediate container 85843cd49010 [2023-02-15T00:54:18.490Z] ---> 3b23a3e2229b [2023-02-15T00:54:18.490Z] Step 22/22 : LABEL version=3.0.0-dev.10 [2023-02-15T00:54:18.761Z] ---> Running in aa884f1d7262 [2023-02-15T00:54:19.029Z] Removing intermediate container aa884f1d7262 [2023-02-15T00:54:19.029Z] ---> 6958925c15e5 [2023-02-15T00:54:19.029Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:54:19.029Z] Successfully built 6958925c15e5 [2023-02-15T00:54:19.029Z] 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-02-15T00:54:19.154Z] provisioning config files... [2023-02-15T00:54:19.172Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/76@tmp/config1448636858555963155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:19.524Z] ---> docker-login.sh [2023-02-15T00:54:19.524Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:54:19.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:19.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:19.794Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:19.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:19.794Z] [2023-02-15T00:54:19.794Z] Login Succeeded [2023-02-15T00:54:19.794Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:54:20.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:20.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:20.329Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:20.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:20.329Z] [2023-02-15T00:54:20.329Z] Login Succeeded [2023-02-15T00:54:20.329Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:54:20.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:20.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:20.598Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:20.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:20.598Z] [2023-02-15T00:54:20.598Z] Login Succeeded [2023-02-15T00:54:20.598Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:54:20.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:21.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:21.139Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:21.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:21.139Z] [2023-02-15T00:54:21.139Z] Login Succeeded [2023-02-15T00:54:21.139Z] docker.io [2023-02-15T00:54:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:21.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:21.679Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:21.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:21.679Z] [2023-02-15T00:54:21.679Z] Login Succeeded [2023-02-15T00:54:21.679Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:54:21.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:54:21.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:54:21.737Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-15T00:54:21.737Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:54:21.737Z] latest [2023-02-15T00:54:21.737Z] 3.0.0-dev.10 [2023-02-15T00:54:21.737Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:54:21.737Z] main [2023-02-15T00:54:21.737Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:22.092Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:22.445Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:54:22.445Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-15T00:54:23.409Z] 4d5bad1d4715: Preparing [2023-02-15T00:54:23.409Z] b03cb060302d: Preparing [2023-02-15T00:54:23.409Z] 66b2a791343c: Preparing [2023-02-15T00:54:23.409Z] 73390bee4509: Preparing [2023-02-15T00:54:23.409Z] c39af2d4cb8d: Preparing [2023-02-15T00:54:23.409Z] c39af2d4cb8d: Layer already exists [2023-02-15T00:54:23.409Z] 4d5bad1d4715: Pushed [2023-02-15T00:54:23.409Z] b03cb060302d: Pushed [2023-02-15T00:54:23.409Z] 73390bee4509: Pushed [2023-02-15T00:54:30.074Z] 66b2a791343c: Pushed [2023-02-15T00:54:30.074Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f: digest: sha256:a4037b77abbd8290f848499392f76c09b31ed17a7f22e39c7aeda7366f8b34b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:30.446Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:30.803Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-15T00:54:30.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-15T00:54:30.803Z] 4d5bad1d4715: Preparing [2023-02-15T00:54:30.803Z] b03cb060302d: Preparing [2023-02-15T00:54:30.803Z] 66b2a791343c: Preparing [2023-02-15T00:54:30.803Z] 73390bee4509: Preparing [2023-02-15T00:54:30.803Z] c39af2d4cb8d: Preparing [2023-02-15T00:54:30.803Z] b03cb060302d: Layer already exists [2023-02-15T00:54:30.803Z] 66b2a791343c: Layer already exists [2023-02-15T00:54:30.803Z] c39af2d4cb8d: Layer already exists [2023-02-15T00:54:30.803Z] 73390bee4509: Layer already exists [2023-02-15T00:54:30.803Z] 4d5bad1d4715: Layer already exists [2023-02-15T00:54:31.071Z] latest: digest: sha256:a4037b77abbd8290f848499392f76c09b31ed17a7f22e39c7aeda7366f8b34b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:31.423Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:31.774Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.10 [2023-02-15T00:54:31.774Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-15T00:54:31.774Z] 4d5bad1d4715: Preparing [2023-02-15T00:54:31.774Z] b03cb060302d: Preparing [2023-02-15T00:54:31.774Z] 66b2a791343c: Preparing [2023-02-15T00:54:31.774Z] 73390bee4509: Preparing [2023-02-15T00:54:31.774Z] c39af2d4cb8d: Preparing [2023-02-15T00:54:31.774Z] 4d5bad1d4715: Layer already exists [2023-02-15T00:54:31.774Z] b03cb060302d: Layer already exists [2023-02-15T00:54:31.774Z] c39af2d4cb8d: Layer already exists [2023-02-15T00:54:31.774Z] 73390bee4509: Layer already exists [2023-02-15T00:54:31.774Z] 66b2a791343c: Layer already exists [2023-02-15T00:54:32.042Z] 3.0.0-dev.10: digest: sha256:a4037b77abbd8290f848499392f76c09b31ed17a7f22e39c7aeda7366f8b34b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:32.394Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:32.737Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:54:32.737Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-15T00:54:32.737Z] 4d5bad1d4715: Preparing [2023-02-15T00:54:32.737Z] b03cb060302d: Preparing [2023-02-15T00:54:32.737Z] 66b2a791343c: Preparing [2023-02-15T00:54:32.737Z] 73390bee4509: Preparing [2023-02-15T00:54:32.737Z] c39af2d4cb8d: Preparing [2023-02-15T00:54:32.737Z] c39af2d4cb8d: Layer already exists [2023-02-15T00:54:32.737Z] 66b2a791343c: Layer already exists [2023-02-15T00:54:32.737Z] b03cb060302d: Layer already exists [2023-02-15T00:54:32.737Z] 73390bee4509: Layer already exists [2023-02-15T00:54:32.737Z] 4d5bad1d4715: Layer already exists [2023-02-15T00:54:33.005Z] a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10: digest: sha256:a4037b77abbd8290f848499392f76c09b31ed17a7f22e39c7aeda7366f8b34b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:33.365Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:33.715Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-15T00:54:33.715Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-15T00:54:33.715Z] 4d5bad1d4715: Preparing [2023-02-15T00:54:33.715Z] b03cb060302d: Preparing [2023-02-15T00:54:33.715Z] 66b2a791343c: Preparing [2023-02-15T00:54:33.715Z] 73390bee4509: Preparing [2023-02-15T00:54:33.715Z] c39af2d4cb8d: Preparing [2023-02-15T00:54:33.715Z] 73390bee4509: Layer already exists [2023-02-15T00:54:33.715Z] c39af2d4cb8d: Layer already exists [2023-02-15T00:54:33.715Z] 4d5bad1d4715: Layer already exists [2023-02-15T00:54:33.715Z] 66b2a791343c: Layer already exists [2023-02-15T00:54:33.715Z] b03cb060302d: Layer already exists [2023-02-15T00:54:33.984Z] main: digest: sha256:a4037b77abbd8290f848499392f76c09b31ed17a7f22e39c7aeda7366f8b34b2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T00:54:34.048Z] ===================================================== [Pipeline] echo [2023-02-15T00:54:34.058Z] taggedImages: [2023-02-15T00:54:34.058Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [2023-02-15T00:54:34.058Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-15T00:54:34.058Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.10 [2023-02-15T00:54:34.058Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f-3.0.0-dev.10 [2023-02-15T00:54:34.058Z] - 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-02-15T00:54:34.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:54:34.440Z] [2023-02-15T00:54:34.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:34.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:54:34.791Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:54:34.791Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:54:34.791Z] 04944245beec: Pulling fs layer [2023-02-15T00:54:34.791Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:54:34.791Z] 765212b225bb: Pulling fs layer [2023-02-15T00:54:35.066Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:54:35.067Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:54:35.067Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:54:35.067Z] f23df028b6ca: Waiting [2023-02-15T00:54:35.067Z] d65c8cfc05b1: Waiting [2023-02-15T00:54:35.067Z] 2437ff75d9bd: Waiting [2023-02-15T00:54:35.067Z] 765212b225bb: Waiting [2023-02-15T00:54:35.067Z] 04944245beec: Verifying Checksum [2023-02-15T00:54:35.067Z] 04944245beec: Download complete [2023-02-15T00:54:35.067Z] 765212b225bb: Download complete [2023-02-15T00:54:35.344Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:54:35.344Z] f23df028b6ca: Download complete [2023-02-15T00:54:35.621Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:54:35.621Z] d65c8cfc05b1: Download complete [2023-02-15T00:54:35.621Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:54:35.621Z] 699f458cf7ca: Download complete [2023-02-15T00:54:36.226Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T00:54:36.226Z] 8998bd30e6a1: Download complete [2023-02-15T00:54:38.819Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:54:38.819Z] 2437ff75d9bd: Download complete [2023-02-15T00:54:40.241Z] 8998bd30e6a1: Pull complete [2023-02-15T00:54:40.828Z] 04944245beec: Pull complete [2023-02-15T00:54:42.241Z] 699f458cf7ca: Pull complete [2023-02-15T00:54:42.509Z] 765212b225bb: Pull complete [2023-02-15T00:54:43.471Z] f23df028b6ca: Pull complete [2023-02-15T00:54:43.740Z] d65c8cfc05b1: Pull complete [2023-02-15T00:54:58.796Z] 2437ff75d9bd: Pull complete [2023-02-15T00:54:58.796Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:54:58.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:54:58.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:59.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container [2023-02-15T00:54:59.091Z] $ 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/76 -v /w/workspace/device-modbus-go/76:/w/workspace/device-modbus-go/76:rw,z -v /w/workspace/device-modbus-go/76@tmp:/w/workspace/device-modbus-go/76@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-02-15T00:55:02.087Z] $ docker top 839731f9714ac98fd7506a96a9626e037cbef4884044690022a8da8f7a8f129c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:55:03.045Z] ---> job-cost.sh [2023-02-15T00:55:03.045Z] lf-activate-venv: SKIPPING [2023-02-15T00:55:03.045Z] INFO: No Stack... [2023-02-15T00:55:04.039Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:55:05.017Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:55:05.699Z] + cut -d, -f6 [2023-02-15T00:55:05.699Z] + cat /w/workspace/device-modbus-go/76/archives/cost.csv [Pipeline] lock [2023-02-15T00:55:05.815Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [2023-02-15T00:55:05.827Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] did not exist. Created. [2023-02-15T00:55:05.828Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:55:06.506Z] /w/workspace/device-modbus-go/76@tmp/durable-be271f5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:55:07.181Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:55:07.210Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:55:07.274Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:55:07.281Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:55:07.298Z] $ docker stop --time=1 839731f9714ac98fd7506a96a9626e037cbef4884044690022a8da8f7a8f129c [2023-02-15T00:55:08.873Z] $ docker rm -f --volumes 839731f9714ac98fd7506a96a9626e037cbef4884044690022a8da8f7a8f129c [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-02-15T00:55:09.285Z] provisioning config files... [2023-02-15T00:55:09.292Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12740926348039487717tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:55:09.580Z] + set +x [2023-02-15T00:55:09.581Z] + curl -s https://codecov.io/bash [2023-02-15T00:55:09.581Z] + bash -s -- [2023-02-15T00:55:09.581Z] [2023-02-15T00:55:09.581Z] _____ _ [2023-02-15T00:55:09.581Z] / ____| | | [2023-02-15T00:55:09.581Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:55:09.581Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:55:09.581Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:55:09.581Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:55:09.581Z] Bash-1.0.6 [2023-02-15T00:55:09.581Z] [2023-02-15T00:55:09.581Z] [2023-02-15T00:55:09.581Z] ==> git version 2.25.1 found [2023-02-15T00:55:09.581Z] ==> 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-02-15T00:55:09.581Z] Release-Date: 2020-01-08 [2023-02-15T00:55:09.581Z] 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-02-15T00:55:09.581Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:55:09.581Z] ==> Jenkins CI detected. [2023-02-15T00:55:09.581Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-15T00:55:09.581Z] project root: . [2023-02-15T00:55:09.581Z] --> token set from env [2023-02-15T00:55:09.581Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:55:09.581Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:55:09.581Z] ==> Python coveragepy not found [2023-02-15T00:55:09.581Z] ==> Searching for coverage reports in: [2023-02-15T00:55:09.581Z] + . [2023-02-15T00:55:09.581Z] -> Found 1 reports [2023-02-15T00:55:09.581Z] ==> Detecting git/mercurial file structure [2023-02-15T00:55:09.581Z] ==> Reading reports [2023-02-15T00:55:09.581Z] + ./coverage.out bytes=23241 [2023-02-15T00:55:09.581Z] ==> Appending adjustments [2023-02-15T00:55:09.581Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:55:09.840Z] + Found adjustments [2023-02-15T00:55:09.840Z] ==> Gzipping contents [2023-02-15T00:55:09.840Z] 4.0K /tmp/codecov.KqL3in.gz [2023-02-15T00:55:09.840Z] ==> Uploading reports [2023-02-15T00:55:09.840Z] url: https://codecov.io [2023-02-15T00:55:09.840Z] query: branch=main&commit=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T00:55:09.840Z] -> Pinging Codecov [2023-02-15T00:55:09.840Z] 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=a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T00:55:09.840Z] -> Uploading to [2023-02-15T00:55:09.840Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/55DBCA73C666E3227836607328DD7E49/a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f/84edb7f8-5216-407c-b983-ae0e9133fb64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9941401fcb578f0be9a64ffc4692937f5f0d582721b160e548f86b972ceda6a0 [2023-02-15T00:55:09.840Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:55:09.840Z] Dload Upload Total Spent Left Speed [2023-02-15T00:55:10.407Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 12900 --:--:-- --:--:-- --:--:-- 12900 [2023-02-15T00:55:10.407Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] } [2023-02-15T00:55:10.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-15T00:55:10.515Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-15T00:55:10.572Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:10.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:55:10.863Z] [2023-02-15T00:55:10.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:11.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:55:11.166Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-15T00:55:11.166Z] df9b9388f04a: Pulling fs layer [2023-02-15T00:55:11.166Z] 52dc419b0ee2: Pulling fs layer [2023-02-15T00:55:11.166Z] 25bc292e5bac: Pulling fs layer [2023-02-15T00:55:11.166Z] 114826534d7a: Pulling fs layer [2023-02-15T00:55:11.166Z] 4657fd5d0bcf: Pulling fs layer [2023-02-15T00:55:11.166Z] 6ad1cebc031e: Pulling fs layer [2023-02-15T00:55:11.166Z] 8a3aa393b2d8: Pulling fs layer [2023-02-15T00:55:11.166Z] 114826534d7a: Waiting [2023-02-15T00:55:11.166Z] 4657fd5d0bcf: Waiting [2023-02-15T00:55:11.166Z] 6ad1cebc031e: Waiting [2023-02-15T00:55:11.166Z] 8a3aa393b2d8: Waiting [2023-02-15T00:55:11.166Z] 25bc292e5bac: Verifying Checksum [2023-02-15T00:55:11.166Z] 25bc292e5bac: Download complete [2023-02-15T00:55:11.166Z] 52dc419b0ee2: Download complete [2023-02-15T00:55:11.166Z] 4657fd5d0bcf: Verifying Checksum [2023-02-15T00:55:11.166Z] 4657fd5d0bcf: Download complete [2023-02-15T00:55:11.166Z] df9b9388f04a: Verifying Checksum [2023-02-15T00:55:11.166Z] df9b9388f04a: Download complete [2023-02-15T00:55:11.434Z] df9b9388f04a: Pull complete [2023-02-15T00:55:11.434Z] 52dc419b0ee2: Pull complete [2023-02-15T00:55:11.699Z] 6ad1cebc031e: Verifying Checksum [2023-02-15T00:55:11.699Z] 6ad1cebc031e: Download complete [2023-02-15T00:55:11.699Z] 25bc292e5bac: Pull complete [2023-02-15T00:55:12.641Z] 114826534d7a: Verifying Checksum [2023-02-15T00:55:12.641Z] 114826534d7a: Download complete [2023-02-15T00:55:12.899Z] 8a3aa393b2d8: Verifying Checksum [2023-02-15T00:55:12.899Z] 8a3aa393b2d8: Download complete [2023-02-15T00:55:16.184Z] 114826534d7a: Pull complete [2023-02-15T00:55:16.184Z] 4657fd5d0bcf: Pull complete [2023-02-15T00:55:16.184Z] 6ad1cebc031e: Pull complete [2023-02-15T00:55:18.732Z] 8a3aa393b2d8: Pull complete [2023-02-15T00:55:18.732Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-15T00:55:18.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T00:55:18.732Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:18.805Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:55:18.847Z] $ 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-02-15T00:55:23.385Z] $ docker top a2f8ae25686a8192520052d99b6b99bda30305dfe01749b86c71dc3644ab40ea -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-15T00:55:23.436Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-15T00:55:23.710Z] + set -o pipefail [2023-02-15T00:55:23.710Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/f70973dd-d228-4fde-8961-4abc51a57ce5 [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] [2023-02-15T00:55:29.001Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-15T00:55:29.001Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-15T00:55:29.001Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-15T00:55:29.020Z] $ docker stop --time=1 a2f8ae25686a8192520052d99b6b99bda30305dfe01749b86c71dc3644ab40ea [2023-02-15T00:55:32.827Z] $ docker rm -f --volumes a2f8ae25686a8192520052d99b6b99bda30305dfe01749b86c71dc3644ab40ea [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-02-15T00:55:33.577Z] + git log --format=format:%s -1 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f [Pipeline] sh [2023-02-15T00:55:33.878Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:55:33.878Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:34.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:55:34.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:34.257Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:55:34.299Z] $ 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-02-15T00:55:34.861Z] $ docker top 741256d6fb3d850c6bb0918bce37e0a049c25c81c1a0c127dbfa7074ebfdced6 -eo pid,comm [2023-02-15T00:55:34.902Z] 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-02-15T00:55:34.902Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:55:34.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:55:34.946Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:55:35.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:55:35.063Z] $ docker exec 741256d6fb3d850c6bb0918bce37e0a049c25c81c1a0c127dbfa7074ebfdced6 ssh-agent [2023-02-15T00:55:35.154Z] SSH_AUTH_SOCK=/tmp/ssh-CFa37fF5bXl0/agent.32 [2023-02-15T00:55:35.154Z] SSH_AGENT_PID=38 [2023-02-15T00:55:35.158Z] Running ssh-add (command line suppressed) [2023-02-15T00:55:35.261Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13591726469978849599.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13591726469978849599.key) [2023-02-15T00:55:35.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:55:35.551Z] + git semver tag [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,719 [run_tag] DEBUG tag force:False [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,719 [check_head_tag] DEBUG check head tag [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,720 [execute] INFO git cat-file --batch-check [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,724 [execute] INFO git cat-file --batch [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,741 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,741 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,741 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:55:35.808Z] 2023-02-15 00:55:35,746 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:35.808Z] 3.0.0-dev.10 [Pipeline] } [2023-02-15T00:55:35.828Z] $ docker exec --env ******** --env ******** 741256d6fb3d850c6bb0918bce37e0a049c25c81c1a0c127dbfa7074ebfdced6 ssh-agent -k [2023-02-15T00:55:35.926Z] unset SSH_AUTH_SOCK; [2023-02-15T00:55:35.927Z] unset SSH_AGENT_PID; [2023-02-15T00:55:35.927Z] echo Agent pid 38 killed; [2023-02-15T00:55:35.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:55:36.236Z] + git semver [Pipeline] } [2023-02-15T00:55:36.518Z] $ docker stop --time=1 741256d6fb3d850c6bb0918bce37e0a049c25c81c1a0c127dbfa7074ebfdced6 [2023-02-15T00:55:37.781Z] $ docker rm -f --volumes 741256d6fb3d850c6bb0918bce37e0a049c25c81c1a0c127dbfa7074ebfdced6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:38.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:55:38.163Z] [2023-02-15T00:55:38.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:38.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:55:38.467Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-15T00:55:38.467Z] ab5ef0e58194: Pulling fs layer [2023-02-15T00:55:38.467Z] 9712f1f96733: Pulling fs layer [2023-02-15T00:55:38.467Z] 63f879dbbcfc: Pulling fs layer [2023-02-15T00:55:38.467Z] 0d9ebad4ef96: Pulling fs layer [2023-02-15T00:55:38.467Z] e9a5061849ea: Pulling fs layer [2023-02-15T00:55:38.467Z] d747dcd14b5f: Pulling fs layer [2023-02-15T00:55:38.467Z] 2de7ff778b66: Pulling fs layer [2023-02-15T00:55:38.467Z] 0d9ebad4ef96: Waiting [2023-02-15T00:55:38.467Z] d747dcd14b5f: Waiting [2023-02-15T00:55:38.467Z] e9a5061849ea: Waiting [2023-02-15T00:55:38.467Z] 2de7ff778b66: Waiting [2023-02-15T00:55:38.467Z] 9712f1f96733: Verifying Checksum [2023-02-15T00:55:38.467Z] 9712f1f96733: Download complete [2023-02-15T00:55:39.470Z] 63f879dbbcfc: Verifying Checksum [2023-02-15T00:55:39.470Z] 63f879dbbcfc: Download complete [2023-02-15T00:55:39.470Z] e9a5061849ea: Verifying Checksum [2023-02-15T00:55:39.470Z] e9a5061849ea: Download complete [2023-02-15T00:55:39.470Z] d747dcd14b5f: Verifying Checksum [2023-02-15T00:55:39.470Z] d747dcd14b5f: Download complete [2023-02-15T00:55:39.758Z] 0d9ebad4ef96: Verifying Checksum [2023-02-15T00:55:39.758Z] 0d9ebad4ef96: Download complete [2023-02-15T00:55:40.020Z] ab5ef0e58194: Verifying Checksum [2023-02-15T00:55:40.020Z] ab5ef0e58194: Download complete [2023-02-15T00:55:40.020Z] 2de7ff778b66: Verifying Checksum [2023-02-15T00:55:40.020Z] 2de7ff778b66: Download complete [2023-02-15T00:55:42.544Z] ab5ef0e58194: Pull complete [2023-02-15T00:55:42.544Z] 9712f1f96733: Pull complete [2023-02-15T00:55:43.476Z] 63f879dbbcfc: Pull complete [2023-02-15T00:55:46.754Z] 0d9ebad4ef96: Pull complete [2023-02-15T00:55:47.012Z] e9a5061849ea: Pull complete [2023-02-15T00:55:47.012Z] d747dcd14b5f: Pull complete [2023-02-15T00:55:47.942Z] 2de7ff778b66: Pull complete [2023-02-15T00:55:47.942Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-15T00:55:47.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T00:55:47.942Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:48.012Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:55:48.046Z] $ 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-02-15T00:55:51.910Z] $ docker top dda064096a15c19e5d470dd275e0920d867d8a4157412018026be5d481eac903 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:55:51.970Z] provisioning config files... [2023-02-15T00:55:51.975Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14910197210305345779tmp [2023-02-15T00:55:51.985Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14699096852734449029tmp [2023-02-15T00:55:51.992Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5305779774450908305tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:55:52.006Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:55:52.288Z] ---> sigul-configuration.sh [2023-02-15T00:55:52.288Z] gpg: directory `/root/.gnupg' created [2023-02-15T00:55:52.288Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-15T00:55:52.288Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-15T00:55:52.288Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-15T00:55:52.288Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-15T00:55:52.288Z] gpg: CAST5 encrypted data [2023-02-15T00:55:52.288Z] gpg: encrypted with 1 passphrase [2023-02-15T00:55:52.288Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-15T00:55:52.576Z] + mkdir /home/jenkins [2023-02-15T00:55:52.576Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-15T00:55:52.871Z] + 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-02-15T00:55:52.895Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:55:53.181Z] ---> sigul-install.sh [2023-02-15T00:55:53.181Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-15T00:55:53.475Z] + git tag --list [2023-02-15T00:55:53.475Z] 0.7.1 [2023-02-15T00:55:53.475Z] v1.0.0 [2023-02-15T00:55:53.475Z] v1.1.0 [2023-02-15T00:55:53.475Z] v1.1.1 [2023-02-15T00:55:53.475Z] v1.2.2 [2023-02-15T00:55:53.475Z] v1.3.0 [2023-02-15T00:55:53.475Z] v1.3.1 [2023-02-15T00:55:53.475Z] v2.0.0 [2023-02-15T00:55:53.475Z] v2.1.0 [2023-02-15T00:55:53.475Z] v2.1.1 [2023-02-15T00:55:53.475Z] v2.1.1-dev.1 [2023-02-15T00:55:53.475Z] v2.1.1-dev.2 [2023-02-15T00:55:53.475Z] v2.1.1-dev.3 [2023-02-15T00:55:53.475Z] v2.2.0 [2023-02-15T00:55:53.475Z] v2.2.1-dev.1 [2023-02-15T00:55:53.475Z] v2.2.1-dev.2 [2023-02-15T00:55:53.475Z] v2.2.1-dev.3 [2023-02-15T00:55:53.475Z] v2.2.1-dev.4 [2023-02-15T00:55:53.475Z] v2.2.1-dev.5 [2023-02-15T00:55:53.475Z] v2.2.1-dev.6 [2023-02-15T00:55:53.475Z] v2.2.1-dev.7 [2023-02-15T00:55:53.475Z] v2.3.0 [2023-02-15T00:55:53.475Z] v2.3.0-dev.10 [2023-02-15T00:55:53.475Z] v2.3.0-dev.11 [2023-02-15T00:55:53.475Z] v2.3.0-dev.12 [2023-02-15T00:55:53.475Z] v2.3.0-dev.13 [2023-02-15T00:55:53.475Z] v2.3.0-dev.14 [2023-02-15T00:55:53.475Z] v2.3.0-dev.15 [2023-02-15T00:55:53.475Z] v2.3.0-dev.16 [2023-02-15T00:55:53.475Z] v2.3.0-dev.17 [2023-02-15T00:55:53.475Z] v2.3.0-dev.18 [2023-02-15T00:55:53.475Z] v2.3.0-dev.19 [2023-02-15T00:55:53.475Z] v2.3.0-dev.20 [2023-02-15T00:55:53.475Z] v2.3.0-dev.21 [2023-02-15T00:55:53.475Z] v2.3.0-dev.22 [2023-02-15T00:55:53.475Z] v2.3.0-dev.23 [2023-02-15T00:55:53.475Z] v2.3.0-dev.24 [2023-02-15T00:55:53.475Z] v2.3.0-dev.25 [2023-02-15T00:55:53.475Z] v2.3.0-dev.7 [2023-02-15T00:55:53.475Z] v2.3.0-dev.8 [2023-02-15T00:55:53.475Z] v2.3.0-dev.9 [2023-02-15T00:55:53.475Z] v3.0.0-dev.1 [2023-02-15T00:55:53.475Z] v3.0.0-dev.10 [2023-02-15T00:55:53.475Z] v3.0.0-dev.2 [2023-02-15T00:55:53.475Z] v3.0.0-dev.3 [2023-02-15T00:55:53.475Z] v3.0.0-dev.4 [2023-02-15T00:55:53.475Z] v3.0.0-dev.5 [2023-02-15T00:55:53.475Z] v3.0.0-dev.6 [2023-02-15T00:55:53.475Z] v3.0.0-dev.7 [2023-02-15T00:55:53.475Z] v3.0.0-dev.8 [2023-02-15T00:55:53.475Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-15T00:55:53.762Z] + lftools sign git-tag v3.0.0-dev.10 [2023-02-15T00:55:54.328Z] Signing Git tag with Sigul... [2023-02-15T00:55:54.328Z] Signing v3.0.0-dev.10 [Pipeline] echo [2023-02-15T00:55:54.595Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:55:54.878Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-15T00:55:54.885Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-15T00:55:54.912Z] $ docker stop --time=1 dda064096a15c19e5d470dd275e0920d867d8a4157412018026be5d481eac903 [2023-02-15T00:55:56.234Z] $ docker rm -f --volumes dda064096a15c19e5d470dd275e0920d867d8a4157412018026be5d481eac903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-15T00:55:56.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:55:56.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:56.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:55:56.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:57.011Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:55:57.052Z] $ 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-02-15T00:55:57.395Z] $ docker top 6a63097c658357d3cd25bd5964a3207dfb1a5e748d1c898bc02ddf4645f65a19 -eo pid,comm [2023-02-15T00:55:57.434Z] 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-02-15T00:55:57.434Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:55:57.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:55:57.567Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:55:57.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:55:57.691Z] $ docker exec 6a63097c658357d3cd25bd5964a3207dfb1a5e748d1c898bc02ddf4645f65a19 ssh-agent [2023-02-15T00:55:57.784Z] SSH_AUTH_SOCK=/tmp/ssh-4HGEfEfMWIYE/agent.32 [2023-02-15T00:55:57.784Z] SSH_AGENT_PID=38 [2023-02-15T00:55:57.789Z] Running ssh-add (command line suppressed) [2023-02-15T00:55:57.907Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13803997634560159331.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13803997634560159331.key) [2023-02-15T00:55:57.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:55:58.200Z] + git semver bump pre [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,386 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,386 [bump_version] DEBUG bumped version:3.0.0-dev.11 [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,386 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,386 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,386 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,388 [execute] INFO git cat-file --batch-check [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,393 [execute] INFO git cat-file --batch [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:55:58.459Z] 2023-02-15 00:55:58,400 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:55:58.459Z] 3.0.0-dev.11 [Pipeline] } [2023-02-15T00:55:58.481Z] $ docker exec --env ******** --env ******** 6a63097c658357d3cd25bd5964a3207dfb1a5e748d1c898bc02ddf4645f65a19 ssh-agent -k [2023-02-15T00:55:58.572Z] unset SSH_AUTH_SOCK; [2023-02-15T00:55:58.572Z] unset SSH_AGENT_PID; [2023-02-15T00:55:58.572Z] echo Agent pid 38 killed; [2023-02-15T00:55:58.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:55:58.881Z] + git semver [Pipeline] } [2023-02-15T00:55:59.163Z] $ docker stop --time=1 6a63097c658357d3cd25bd5964a3207dfb1a5e748d1c898bc02ddf4645f65a19 [2023-02-15T00:56:00.493Z] $ docker rm -f --volumes 6a63097c658357d3cd25bd5964a3207dfb1a5e748d1c898bc02ddf4645f65a19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:56:00.820Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:56:00.820Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:01.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:56:01.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:56:01.193Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:56:01.232Z] $ 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-02-15T00:56:01.552Z] $ docker top 72bf9deb5c13bfaab19410de971414702f1b5ace49c16c393868c719d6fabe2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:56:01.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:56:01.618Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:56:01.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:56:01.742Z] $ docker exec 72bf9deb5c13bfaab19410de971414702f1b5ace49c16c393868c719d6fabe2a ssh-agent [2023-02-15T00:56:01.819Z] SSH_AUTH_SOCK=/tmp/ssh-1VioI0DX284e/agent.32 [2023-02-15T00:56:01.819Z] SSH_AGENT_PID=38 [2023-02-15T00:56:01.824Z] Running ssh-add (command line suppressed) [2023-02-15T00:56:01.929Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2649971034092228793.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2649971034092228793.key) [2023-02-15T00:56:01.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:56:02.213Z] + git semver push [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,409 [run_push] DEBUG push [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,409 [execute] INFO git cat-file --batch-check [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,413 [execute] INFO git rev-list 51beba55e7b3f24c7d5fc147c748475b07eebaa8 -- [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,413 [execute] DEBUG Popen(['git', 'rev-list', '51beba55e7b3f24c7d5fc147c748475b07eebaa8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,422 [execute] INFO git fetch -v origin [2023-02-15T00:56:02.472Z] 2023-02-15 00:56:02,422 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-15T00:56:03.039Z] 2023-02-15 00:56:03,039 [run_push] DEBUG no remote changes detected [2023-02-15T00:56:03.039Z] 2023-02-15 00:56:03,039 [execute] INFO git push origin semver [2023-02-15T00:56:03.039Z] 2023-02-15 00:56:03,039 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:56:03.973Z] 2023-02-15 00:56:03,875 [run_push] DEBUG push all version tags [2023-02-15T00:56:03.973Z] 2023-02-15 00:56:03,875 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-15T00:56:03.973Z] 2023-02-15 00:56:03,876 [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-02-15T00:56:04.908Z] 2023-02-15 00:56:04,675 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-15T00:56:04.908Z] 3.0.0-dev.11 [Pipeline] } [2023-02-15T00:56:04.928Z] $ docker exec --env ******** --env ******** 72bf9deb5c13bfaab19410de971414702f1b5ace49c16c393868c719d6fabe2a ssh-agent -k [2023-02-15T00:56:05.027Z] unset SSH_AUTH_SOCK; [2023-02-15T00:56:05.027Z] unset SSH_AGENT_PID; [2023-02-15T00:56:05.028Z] echo Agent pid 38 killed; [2023-02-15T00:56:05.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:56:05.326Z] + git semver [Pipeline] } [2023-02-15T00:56:05.617Z] $ docker stop --time=1 72bf9deb5c13bfaab19410de971414702f1b5ace49c16c393868c719d6fabe2a [2023-02-15T00:56:06.875Z] $ docker rm -f --volumes 72bf9deb5c13bfaab19410de971414702f1b5ace49c16c393868c719d6fabe2a [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-02-15T00:56:07.408Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-15T00:56:07.408Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-15T00:56:07.408Z] total 16 [2023-02-15T00:56:07.408Z] drwxr-xr-x 3 root root 4096 Feb 15 00:46 . [2023-02-15T00:56:07.408Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:55 .. [2023-02-15T00:56:07.408Z] drwxr-xr-x 2 root root 4096 Feb 15 00:46 cost [2023-02-15T00:56:07.408Z] -rw-r--r-- 1 root root 87 Feb 15 00:46 cost.csv [2023-02-15T00:56:07.408Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-15T00:56:07.408Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-15T00:56:07.408Z] total 16 [2023-02-15T00:56:07.408Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:46 . [2023-02-15T00:56:07.408Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:55 .. [2023-02-15T00:56:07.408Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:46 cost [2023-02-15T00:56:07.408Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 15 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:07.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:08.558Z] ---> package-listing.sh [2023-02-15T00:56:08.558Z] ++ facter osfamily [2023-02-15T00:56:08.558Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:56:08.816Z] + OS_FAMILY=debian [2023-02-15T00:56:08.816Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-15T00:56:08.816Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:56:08.816Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:56:08.816Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:56:08.816Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:56:08.816Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-15T00:56:08.816Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:56:08.816Z] + case "${OS_FAMILY}" in [2023-02-15T00:56:08.816Z] + dpkg -l [2023-02-15T00:56:08.816Z] + grep '^ii' [2023-02-15T00:56:08.816Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:56:08.816Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:56:08.816Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:56:08.816Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-15T00:56:08.816Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-15T00:56:08.816Z] + 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-02-15T00:56:08.827Z] 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-02-15T00:56:09.101Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:09.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:56:09.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:56:09.737Z] prd-ubuntu20.04-docker-8c-8g-5953 does not seem to be running inside a container [2023-02-15T00:56:09.779Z] $ 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-02-15T00:56:09.975Z] $ docker top 6c1dbd5cedd933740cc2c7fb5f0055d0669005c7c200a6bfe282a8c93bc09fde -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:56:10.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:56:10.581Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:56:10.865Z] + ls /var/log/sa-host [2023-02-15T00:56:10.865Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:56:10.930Z] provisioning config files... [2023-02-15T00:56:10.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3897388041227912851tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:56:10.990Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:11.300Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:56:11.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:11.688Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:56:11.707Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:11.995Z] ---> sudo-logs.sh [2023-02-15T00:56:11.995Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:56:12.026Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:12.305Z] ---> job-cost.sh [2023-02-15T00:56:12.305Z] lf-activate-venv: SKIPPING [2023-02-15T00:56:12.305Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:56:12.305Z] INFO: Retrieving Stack Cost... [2023-02-15T00:56:12.574Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:56:13.139Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:56:13.152Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:56:13.434Z] ---> logs-deploy.sh [2023-02-15T00:56:13.434Z] lf-activate-venv: SKIPPING [2023-02-15T00:56:13.434Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/76 [2023-02-15T00:56:13.434Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:56:14.375Z] Archives upload complete. [2023-02-15T00:56:14.375Z] INFO: archiving logs to Nexus