Started by upstream project "edgexfoundry/cd-management/release" build number 123 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 251be81c94d6bf2c69d06494166ea5d98cfe24ab 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-ssh12366587394207589435.key Verifying host key using known hosts file > 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-ssh3287651205753735338.key Verifying host key using known hosts file > 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-ssh8919366671677573457.key Verifying host key using known hosts file > 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-ssh13393629564273956847.key Verifying host key using known hosts file > 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-ssh14232963197209199983.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118869 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab (main) Commit message: "build: Update to use released SDK (#391)" > 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 > git rev-list --no-walk 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-10T00:05:49.849Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-10T00:05:49.890Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T00:05:49.904Z] ========================================================= [2022-11-10T00:05:49.904Z] EdgeX Global Pipelines Version Info [2022-11-10T00:05:49.904Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:05:50.618Z] ------------------- [2022-11-10T00:05:50.619Z] stable info: [2022-11-10T00:05:50.619Z] ------------------- [2022-11-10T00:05:50.619Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-10T00:05:50.619Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T00:05:50.619Z] Message: update stable to v1.0.244 [2022-11-10T00:05:51.190Z] ------------------- [2022-11-10T00:05:51.190Z] experimental info: [2022-11-10T00:05:51.190Z] ------------------- [2022-11-10T00:05:51.190Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-10T00:05:51.190Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T00:05:51.190Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-10T00:05:51.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-10T00:05:51.350Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-10T00:05:51.360Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-10T00:05:51.375Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-10T00:05:51.387Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-10T00:05:51.398Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-10T00:05:51.409Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-10T00:05:51.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-10T00:05:51.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-10T00:05:51.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-10T00:05:51.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-10T00:05:51.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-10T00:05:51.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-10T00:05:51.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-10T00:05:51.506Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T00:05:51.517Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T00:05:51.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T00:05:51.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T00:05:51.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-10T00:05:51.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-10T00:05:51.578Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-10T00:05:51.589Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-10T00:05:51.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-10T00:05:51.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-10T00:05:51.625Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-10T00:05:51.674Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-10T00:05:51.686Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-10T00:05:51.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-10T00:05:51.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-10T00:05:51.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-10T00:05:51.732Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-10T00:05:51.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 251be81 [Pipeline] echo [2022-11-10T00:05:51.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:05:51.802Z] provisioning config files... [2022-11-10T00:05:51.815Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7277402409330398434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:05:52.117Z] ---> docker-login.sh [2022-11-10T00:05:52.117Z] nexus3.edgexfoundry.org:10001 [2022-11-10T00:05:52.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:05:52.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:05:52.378Z] Configure a credential helper to remove this warning. See [2022-11-10T00:05:52.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:05:52.378Z] [2022-11-10T00:05:52.378Z] Login Succeeded [2022-11-10T00:05:52.378Z] nexus3.edgexfoundry.org:10002 [2022-11-10T00:05:52.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:05:52.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:05:52.379Z] Configure a credential helper to remove this warning. See [2022-11-10T00:05:52.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:05:52.379Z] [2022-11-10T00:05:52.379Z] Login Succeeded [2022-11-10T00:05:52.379Z] nexus3.edgexfoundry.org:10003 [2022-11-10T00:05:52.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:05:52.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:05:52.639Z] Configure a credential helper to remove this warning. See [2022-11-10T00:05:52.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:05:52.639Z] [2022-11-10T00:05:52.639Z] Login Succeeded [2022-11-10T00:05:52.639Z] nexus3.edgexfoundry.org:10004 [2022-11-10T00:05:52.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:05:52.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:05:52.639Z] Configure a credential helper to remove this warning. See [2022-11-10T00:05:52.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:05:52.639Z] [2022-11-10T00:05:52.639Z] Login Succeeded [2022-11-10T00:05:52.639Z] docker.io [2022-11-10T00:05:52.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:05:53.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:05:53.172Z] Configure a credential helper to remove this warning. See [2022-11-10T00:05:53.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:05:53.172Z] [2022-11-10T00:05:53.172Z] Login Succeeded [2022-11-10T00:05:53.172Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T00:05:53.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-10T00:05:53.540Z] + git rev-list -1 --merges 251be81c94d6bf2c69d06494166ea5d98cfe24ab~1..251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-10T00:05:53.573Z] -----------> git rev-list -1 --merges 251be81c94d6bf2c69d06494166ea5d98cfe24ab~1..251be81c94d6bf2c69d06494166ea5d98cfe24ab 251be81c94d6bf2c69d06494166ea5d98cfe24ab [false] [Pipeline] sh [2022-11-10T00:05:53.861Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-10T00:05:53.876Z] ========================================================= [2022-11-10T00:05:53.876Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-11-10T00:05:53.876Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T00:05:54.196Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-10T00:05:54.209Z] [semverPrep] GIT_COMMIT: 251be81c94d6bf2c69d06494166ea5d98cfe24ab, Commit Message: build: Update to use released SDK (#391) [Pipeline] echo [2022-11-10T00:05:54.219Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-10T00:05:54.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T00:05:54.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-10T00:05:54.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-10T00:05:54.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-10T00:05:54.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-10T00:05:54.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-10T00:05:54.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:05:55.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:05:55.072Z] [2022-11-10T00:05:55.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:05:55.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:05:55.372Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-10T00:05:55.372Z] b85a868b505f: Pulling fs layer [2022-11-10T00:05:55.372Z] e2be974225ed: Pulling fs layer [2022-11-10T00:05:55.372Z] 339a4e72a1f5: Pulling fs layer [2022-11-10T00:05:55.372Z] 988bab9f4d93: Pulling fs layer [2022-11-10T00:05:55.372Z] 1469e6f7b9e6: Pulling fs layer [2022-11-10T00:05:55.372Z] eaf3925da568: Pulling fs layer [2022-11-10T00:05:55.372Z] bab4dde63d76: Pulling fs layer [2022-11-10T00:05:55.372Z] 988bab9f4d93: Waiting [2022-11-10T00:05:55.372Z] 1469e6f7b9e6: Waiting [2022-11-10T00:05:55.372Z] eaf3925da568: Waiting [2022-11-10T00:05:55.372Z] bde34c3a00c8: Pulling fs layer [2022-11-10T00:05:55.372Z] b352a97aabf1: Pulling fs layer [2022-11-10T00:05:55.372Z] bde34c3a00c8: Waiting [2022-11-10T00:05:55.372Z] 4872d77fe225: Pulling fs layer [2022-11-10T00:05:55.372Z] 5851b861e8e6: Pulling fs layer [2022-11-10T00:05:55.372Z] 4872d77fe225: Waiting [2022-11-10T00:05:55.372Z] b352a97aabf1: Waiting [2022-11-10T00:05:55.372Z] 5851b861e8e6: Waiting [2022-11-10T00:05:55.372Z] e2be974225ed: Download complete [2022-11-10T00:05:55.372Z] 988bab9f4d93: Download complete [2022-11-10T00:05:55.632Z] 339a4e72a1f5: Verifying Checksum [2022-11-10T00:05:55.632Z] 339a4e72a1f5: Download complete [2022-11-10T00:05:55.632Z] 1469e6f7b9e6: Verifying Checksum [2022-11-10T00:05:55.632Z] 1469e6f7b9e6: Download complete [2022-11-10T00:05:55.632Z] eaf3925da568: Verifying Checksum [2022-11-10T00:05:55.632Z] eaf3925da568: Download complete [2022-11-10T00:05:55.632Z] bde34c3a00c8: Verifying Checksum [2022-11-10T00:05:55.632Z] bde34c3a00c8: Download complete [2022-11-10T00:05:55.632Z] b352a97aabf1: Download complete [2022-11-10T00:05:55.632Z] 4872d77fe225: Download complete [2022-11-10T00:05:55.632Z] 5851b861e8e6: Verifying Checksum [2022-11-10T00:05:55.632Z] 5851b861e8e6: Download complete [2022-11-10T00:05:55.632Z] b85a868b505f: Verifying Checksum [2022-11-10T00:05:55.632Z] b85a868b505f: Download complete [2022-11-10T00:05:55.891Z] bab4dde63d76: Verifying Checksum [2022-11-10T00:05:55.891Z] bab4dde63d76: Download complete [2022-11-10T00:05:57.796Z] b85a868b505f: Pull complete [2022-11-10T00:05:57.796Z] e2be974225ed: Pull complete [2022-11-10T00:05:58.365Z] 339a4e72a1f5: Pull complete [2022-11-10T00:05:58.365Z] 988bab9f4d93: Pull complete [2022-11-10T00:05:58.624Z] 1469e6f7b9e6: Pull complete [2022-11-10T00:05:58.624Z] eaf3925da568: Pull complete [2022-11-10T00:06:00.536Z] bab4dde63d76: Pull complete [2022-11-10T00:06:00.536Z] bde34c3a00c8: Pull complete [2022-11-10T00:06:00.536Z] b352a97aabf1: Pull complete [2022-11-10T00:06:00.808Z] 4872d77fe225: Pull complete [2022-11-10T00:06:00.808Z] 5851b861e8e6: Pull complete [2022-11-10T00:06:00.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-10T00:06:00.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:06:00.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:06:00.901Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:06:00.923Z] $ 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 [2022-11-10T00:06:02.192Z] $ docker top 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 -eo pid,comm [2022-11-10T00:06:02.265Z] 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). [2022-11-10T00:06:02.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-10T00:06:02.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T00:06:02.298Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T00:06:02.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T00:06:02.418Z] $ docker exec 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 ssh-agent [2022-11-10T00:06:02.538Z] SSH_AUTH_SOCK=/tmp/ssh-M8Darz4CT2Kw/agent.31 [2022-11-10T00:06:02.538Z] SSH_AGENT_PID=37 [2022-11-10T00:06:02.545Z] Running ssh-add (command line suppressed) [2022-11-10T00:06:02.636Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9067674666338506570.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9067674666338506570.key) [2022-11-10T00:06:02.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T00:06:02.949Z] + git tag --points-at 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [2022-11-10T00:06:02.951Z] $ docker exec --env ******** --env ******** 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 ssh-agent -k [2022-11-10T00:06:03.055Z] unset SSH_AUTH_SOCK; [2022-11-10T00:06:03.056Z] unset SSH_AGENT_PID; [2022-11-10T00:06:03.056Z] echo Agent pid 37 killed; [2022-11-10T00:06:03.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-11-10T00:06:03.102Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.0|v2.3.0-dev.25' [Pipeline] sshagent [2022-11-10T00:06:03.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T00:06:03.118Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T00:06:03.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T00:06:03.235Z] $ docker exec 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 ssh-agent [2022-11-10T00:06:03.363Z] SSH_AUTH_SOCK=/tmp/ssh-aOk7nxlMj3Xu/agent.69 [2022-11-10T00:06:03.363Z] SSH_AGENT_PID=75 [2022-11-10T00:06:03.369Z] Running ssh-add (command line suppressed) [2022-11-10T00:06:03.493Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12990298526542892977.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12990298526542892977.key) [2022-11-10T00:06:03.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T00:06:03.823Z] + git semver init [2022-11-10T00:06:04.083Z] 2022-11-10 00:06:04,012 [run_init] DEBUG init version:0.0.0 force:False [2022-11-10T00:06:04.083Z] 2022-11-10 00:06:04,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-10T00:06:04.083Z] 2022-11-10 00:06:04,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-10T00:06:04.083Z] 2022-11-10 00:06:04,014 [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) [2022-11-10T00:06:05.025Z] 2022-11-10 00:06:04,890 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-11-10T00:06:05.025Z] 2022-11-10 00:06:04,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-11-10T00:06:05.025Z] 2022-11-10 00:06:04,891 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-10T00:06:05.025Z] 2022-11-10 00:06:04,891 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-10T00:06:05.025Z] 2.3.0 [Pipeline] } [2022-11-10T00:06:05.029Z] $ docker exec --env ******** --env ******** 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 ssh-agent -k [2022-11-10T00:06:05.125Z] unset SSH_AUTH_SOCK; [2022-11-10T00:06:05.125Z] unset SSH_AGENT_PID; [2022-11-10T00:06:05.125Z] echo Agent pid 75 killed; [2022-11-10T00:06:05.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T00:06:05.471Z] + git semver [Pipeline] } [2022-11-10T00:06:05.737Z] $ docker stop --time=1 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 [2022-11-10T00:06:07.111Z] $ docker rm -f 43f878437de0ddc8dcb8e1bdc34c6188a84ecc47f0e9a930cc2ea7b2913f59e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T00:06:07.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-10T00:06:07.653Z] Stashed 1 file(s) [Pipeline] echo [2022-11-10T00:06:07.655Z] [edgeXSemver]: initialized semver on version 2.3.0 [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] sh [2022-11-10T00:06:08.076Z] + git checkout 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:06:08.076Z] HEAD is now at 251be81 build: Update to use released SDK (#391) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:06:08.096Z] provisioning config files... [2022-11-10T00:06:08.105Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12732569246234834588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:06:08.401Z] ---> docker-login.sh [2022-11-10T00:06:08.402Z] nexus3.edgexfoundry.org:10001 [2022-11-10T00:06:08.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:06:08.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:06:08.402Z] Configure a credential helper to remove this warning. See [2022-11-10T00:06:08.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:06:08.402Z] [2022-11-10T00:06:08.402Z] Login Succeeded [2022-11-10T00:06:08.402Z] nexus3.edgexfoundry.org:10002 [2022-11-10T00:06:08.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:06:08.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:06:08.402Z] Configure a credential helper to remove this warning. See [2022-11-10T00:06:08.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:06:08.402Z] [2022-11-10T00:06:08.402Z] Login Succeeded [2022-11-10T00:06:08.402Z] nexus3.edgexfoundry.org:10003 [2022-11-10T00:06:08.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:06:08.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:06:08.662Z] Configure a credential helper to remove this warning. See [2022-11-10T00:06:08.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:06:08.662Z] [2022-11-10T00:06:08.662Z] Login Succeeded [2022-11-10T00:06:08.662Z] nexus3.edgexfoundry.org:10004 [2022-11-10T00:06:08.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:06:08.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:06:08.662Z] Configure a credential helper to remove this warning. See [2022-11-10T00:06:08.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:06:08.662Z] [2022-11-10T00:06:08.662Z] Login Succeeded [2022-11-10T00:06:08.662Z] docker.io [2022-11-10T00:06:08.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:06:09.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:06:09.182Z] Configure a credential helper to remove this warning. See [2022-11-10T00:06:09.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:06:09.182Z] [2022-11-10T00:06:09.182Z] Login Succeeded [2022-11-10T00:06:09.182Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T00:06:09.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T00:06:09.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:06:09.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:06:09.265Z] ========================================================= [2022-11-10T00:06:09.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-10T00:06:09.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:06:09.564Z] + 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 . [2022-11-10T00:06:09.564Z] Sending build context to Docker daemon 6.251MB [2022-11-10T00:06:09.564Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T00:06:09.564Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-10T00:06:09.564Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-10T00:06:09.564Z] 213ec9aee27d: Pulling fs layer [2022-11-10T00:06:09.564Z] 4583459ba037: Pulling fs layer [2022-11-10T00:06:09.564Z] 93c1e223e6f2: Pulling fs layer [2022-11-10T00:06:09.564Z] 53926ce57604: Pulling fs layer [2022-11-10T00:06:09.564Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-10T00:06:09.564Z] 22ff95d597cd: Pulling fs layer [2022-11-10T00:06:09.564Z] 12d6caf4c0d1: Pulling fs layer [2022-11-10T00:06:09.564Z] 96b7cbca73a9: Pulling fs layer [2022-11-10T00:06:09.564Z] a7acece74701: Pulling fs layer [2022-11-10T00:06:09.564Z] 53926ce57604: Waiting [2022-11-10T00:06:09.564Z] 12d6caf4c0d1: Waiting [2022-11-10T00:06:09.564Z] 21b2b0c7a3f4: Waiting [2022-11-10T00:06:09.564Z] 96b7cbca73a9: Waiting [2022-11-10T00:06:09.564Z] 22ff95d597cd: Waiting [2022-11-10T00:06:09.564Z] a7acece74701: Waiting [2022-11-10T00:06:09.564Z] 93c1e223e6f2: Verifying Checksum [2022-11-10T00:06:09.564Z] 93c1e223e6f2: Download complete [2022-11-10T00:06:09.564Z] 4583459ba037: Verifying Checksum [2022-11-10T00:06:09.564Z] 4583459ba037: Download complete [2022-11-10T00:06:09.564Z] 21b2b0c7a3f4: Download complete [2022-11-10T00:06:09.825Z] 22ff95d597cd: Verifying Checksum [2022-11-10T00:06:09.825Z] 22ff95d597cd: Download complete [2022-11-10T00:06:09.825Z] 213ec9aee27d: Verifying Checksum [2022-11-10T00:06:09.825Z] 213ec9aee27d: Download complete [2022-11-10T00:06:09.825Z] 12d6caf4c0d1: Download complete [2022-11-10T00:06:09.825Z] 213ec9aee27d: Pull complete [2022-11-10T00:06:10.093Z] 4583459ba037: Pull complete [2022-11-10T00:06:10.093Z] 93c1e223e6f2: Pull complete [2022-11-10T00:06:10.355Z] a7acece74701: Verifying Checksum [2022-11-10T00:06:10.355Z] a7acece74701: Download complete [2022-11-10T00:06:10.355Z] 96b7cbca73a9: Verifying Checksum [2022-11-10T00:06:10.355Z] 96b7cbca73a9: Download complete [2022-11-10T00:06:10.612Z] 53926ce57604: Verifying Checksum [2022-11-10T00:06:10.612Z] 53926ce57604: Download complete [2022-11-10T00:06:14.798Z] 53926ce57604: Pull complete [2022-11-10T00:06:14.798Z] 21b2b0c7a3f4: Pull complete [2022-11-10T00:06:14.798Z] 22ff95d597cd: Pull complete [2022-11-10T00:06:14.798Z] 12d6caf4c0d1: Pull complete [2022-11-10T00:06:17.335Z] 96b7cbca73a9: Pull complete [2022-11-10T00:06:17.902Z] a7acece74701: Pull complete [2022-11-10T00:06:17.902Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-10T00:06:17.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-10T00:06:17.902Z] ---> db6d94c90886 [2022-11-10T00:06:17.902Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-10T00:06:21.195Z] ---> Running in 639cbce52391 [2022-11-10T00:06:21.195Z] Removing intermediate container 639cbce52391 [2022-11-10T00:06:21.195Z] ---> f40d6dc3ed71 [2022-11-10T00:06:21.195Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T00:06:21.195Z] ---> Running in bc1bd06b5314 [2022-11-10T00:06:21.195Z] Removing intermediate container bc1bd06b5314 [2022-11-10T00:06:21.195Z] ---> a7290f06b291 [2022-11-10T00:06:21.196Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-10T00:06:21.196Z] ---> Running in 57266bd18fc7 [2022-11-10T00:06:21.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T00:06:21.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T00:06:21.715Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-10T00:06:21.715Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-10T00:06:21.715Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-10T00:06:21.973Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-10T00:06:21.974Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-10T00:06:21.974Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-10T00:06:21.974Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-10T00:06:21.974Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-10T00:06:21.974Z] Executing busybox-1.35.0-r17.trigger [2022-11-10T00:06:21.974Z] OK: 217 MiB in 59 packages [2022-11-10T00:06:22.540Z] Removing intermediate container 57266bd18fc7 [2022-11-10T00:06:22.540Z] ---> be73ded9c69e [2022-11-10T00:06:22.540Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-10T00:06:22.540Z] ---> Running in 9dbb730c484a [2022-11-10T00:06:22.540Z] Removing intermediate container 9dbb730c484a [2022-11-10T00:06:22.540Z] ---> 02e8db55a1c9 [2022-11-10T00:06:22.540Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-10T00:06:22.765Z] Still waiting to schedule task [2022-11-10T00:06:22.765Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-10T00:06:22.799Z] ---> 86545e569e86 [2022-11-10T00:06:22.799Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T00:06:22.799Z] ---> Running in 4d83728b5929 [2022-11-10T00:06:44.754Z] Removing intermediate container 4d83728b5929 [2022-11-10T00:06:44.754Z] ---> d4cce576eddb [2022-11-10T00:06:44.754Z] Step 9/10 : COPY . . [2022-11-10T00:06:44.754Z] ---> e59e5f5de8b5 [2022-11-10T00:06:44.754Z] Step 10/10 : RUN ${MAKE} [2022-11-10T00:06:44.754Z] ---> Running in 650374ce09c1 [2022-11-10T00:06:44.754Z] noop [2022-11-10T00:06:44.754Z] Removing intermediate container 650374ce09c1 [2022-11-10T00:06:44.754Z] ---> 815b72238d5d [2022-11-10T00:06:44.754Z] Successfully built 815b72238d5d [2022-11-10T00:06:44.754Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:06:45.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T00:06:45.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:06:45.139Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:06:45.177Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T00:06:45.615Z] $ docker top 08f464a3875f3837422404e1bcd60550fd319e101781aa9c6ee5746e7908a8e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T00:06:45.953Z] + go version [2022-11-10T00:06:45.953Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-10T00:06:45.968Z] $ docker stop --time=1 08f464a3875f3837422404e1bcd60550fd319e101781aa9c6ee5746e7908a8e1 [2022-11-10T00:06:47.259Z] $ docker rm -f 08f464a3875f3837422404e1bcd60550fd319e101781aa9c6ee5746e7908a8e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:06:47.671Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T00:06:47.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:06:47.746Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:06:47.785Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T00:06:48.145Z] $ docker top 150540a8490d698c8c2dd4a550f80fc33fc4d1a7565454c1710d2fcf3278ad7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T00:06:48.494Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-10T00:06:48.786Z] + make test [2022-11-10T00:06:48.787Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-10T00:06:49.045Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-10T00:06:59.010Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-10T00:06:59.010Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-11-10T00:07:07.120Z] 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." [2022-11-10T00:07:07.120Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-10T00:07:10.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-10T00:07:10.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-10T00:07:10.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-10T00:07:10.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-10T00:07:10.439Z] $ docker stop --time=1 150540a8490d698c8c2dd4a550f80fc33fc4d1a7565454c1710d2fcf3278ad7e [2022-11-10T00:07:12.336Z] $ docker rm -f 150540a8490d698c8c2dd4a550f80fc33fc4d1a7565454c1710d2fcf3278ad7e [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T00:07:12.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-10T00:07:12.833Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-10T00:07:13.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-10T00:07:13.523Z] + ls -al . [2022-11-10T00:07:13.523Z] total 196 [2022-11-10T00:07:13.523Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 00:06 . [2022-11-10T00:07:13.523Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 00:05 .. [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 00:05 .dockerignore [2022-11-10T00:07:13.523Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 00:06 .git [2022-11-10T00:07:13.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:05 .github [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 10 00:05 .gitignore [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 00:05 .golangci.yml [2022-11-10T00:07:13.523Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 00:06 .semver [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 10 00:05 Attribution.txt [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 10 00:05 CHANGELOG.md [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 10 00:05 Dockerfile [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 00:05 GOVERNANCE.md [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 00:05 Jenkinsfile [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 00:05 LICENSE [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 10 00:05 Makefile [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 10 00:05 OWNERS.md [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 10 00:05 README.md [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 00:06 VERSION [2022-11-10T00:07:13.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 00:05 bin [2022-11-10T00:07:13.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:05 cmd [2022-11-10T00:07:13.523Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 10 00:06 coverage.out [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 10 00:05 go.mod [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 45211 Nov 10 00:05 go.sum [2022-11-10T00:07:13.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:05 internal [2022-11-10T00:07:13.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 00:05 simulator [2022-11-10T00:07:13.523Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 00:05 snap [2022-11-10T00:07:13.523Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 10 00:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:13.822Z] + 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab --label arch=amd64 --label version=2.3.0 . [2022-11-10T00:07:13.822Z] Sending build context to Docker daemon 6.275MB [2022-11-10T00:07:13.822Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T00:07:13.822Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-10T00:07:13.822Z] ---> 815b72238d5d [2022-11-10T00:07:13.822Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-10T00:07:13.822Z] ---> Running in a2e6d768fe03 [2022-11-10T00:07:14.080Z] Removing intermediate container a2e6d768fe03 [2022-11-10T00:07:14.080Z] ---> 4a3ebf638469 [2022-11-10T00:07:14.080Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T00:07:14.080Z] ---> Running in 99f38fcf9d6f [2022-11-10T00:07:14.080Z] Removing intermediate container 99f38fcf9d6f [2022-11-10T00:07:14.080Z] ---> c0e85be10329 [2022-11-10T00:07:14.080Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-10T00:07:14.080Z] ---> Running in ae8901256f3f [2022-11-10T00:07:14.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T00:07:14.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T00:07:14.909Z] OK: 217 MiB in 59 packages [2022-11-10T00:07:15.483Z] Removing intermediate container ae8901256f3f [2022-11-10T00:07:15.483Z] ---> 4cab23208c24 [2022-11-10T00:07:15.483Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-10T00:07:15.483Z] ---> Running in 8efb1cdb1603 [2022-11-10T00:07:15.483Z] Removing intermediate container 8efb1cdb1603 [2022-11-10T00:07:15.483Z] ---> 4066d95888a0 [2022-11-10T00:07:15.483Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-10T00:07:15.483Z] ---> 974ccb6d8f3e [2022-11-10T00:07:15.483Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T00:07:15.743Z] ---> Running in 5c7b20c4b349 [2022-11-10T00:07:16.315Z] Removing intermediate container 5c7b20c4b349 [2022-11-10T00:07:16.315Z] ---> 0be7a23dd18c [2022-11-10T00:07:16.315Z] Step 9/22 : COPY . . [2022-11-10T00:07:16.886Z] ---> 2fe00bdc9482 [2022-11-10T00:07:16.886Z] Step 10/22 : RUN ${MAKE} [2022-11-10T00:07:16.886Z] ---> Running in fe05aad14391 [2022-11-10T00:07:17.146Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-10T00:07:39.219Z] Removing intermediate container fe05aad14391 [2022-11-10T00:07:39.219Z] ---> 86917d2f4d81 [2022-11-10T00:07:39.219Z] Step 11/22 : FROM alpine:3.14 [2022-11-10T00:07:39.219Z] 3.14: Pulling from library/alpine [2022-11-10T00:07:39.219Z] c7ed990a2339: Pulling fs layer [2022-11-10T00:07:39.219Z] c7ed990a2339: Verifying Checksum [2022-11-10T00:07:39.219Z] c7ed990a2339: Download complete [2022-11-10T00:07:39.219Z] c7ed990a2339: Pull complete [2022-11-10T00:07:39.219Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-10T00:07:39.219Z] Status: Downloaded newer image for alpine:3.14 [2022-11-10T00:07:39.219Z] ---> dd53f409bf0b [2022-11-10T00:07:39.219Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-10T00:07:39.479Z] ---> Running in dc2ddf57e6d8 [2022-11-10T00:07:39.479Z] Removing intermediate container dc2ddf57e6d8 [2022-11-10T00:07:39.479Z] ---> 1bb241bf5dd5 [2022-11-10T00:07:39.479Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-10T00:07:39.737Z] ---> Running in e1d69930d4ef [2022-11-10T00:07:39.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-10T00:07:39.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-10T00:07:40.256Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-10T00:07:40.256Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-10T00:07:40.256Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-10T00:07:40.256Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-10T00:07:40.256Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-10T00:07:40.256Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-10T00:07:40.256Z] Executing busybox-1.33.1-r8.trigger [2022-11-10T00:07:40.256Z] OK: 8 MiB in 20 packages [2022-11-10T00:07:40.826Z] Removing intermediate container e1d69930d4ef [2022-11-10T00:07:40.826Z] ---> 7640c2f532bd [2022-11-10T00:07:40.826Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-10T00:07:41.398Z] ---> 25f131f3f15a [2022-11-10T00:07:41.398Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-10T00:07:41.656Z] ---> 963e936d70c1 [2022-11-10T00:07:41.656Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-10T00:07:41.656Z] ---> 1d49a4b54460 [2022-11-10T00:07:41.656Z] Step 17/22 : EXPOSE 59901 [2022-11-10T00:07:41.915Z] ---> Running in 082bd26f6bbb [2022-11-10T00:07:41.915Z] Removing intermediate container 082bd26f6bbb [2022-11-10T00:07:41.915Z] ---> f9eae91a273e [2022-11-10T00:07:41.915Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-10T00:07:41.915Z] ---> Running in 6b167f9b5f92 [2022-11-10T00:07:41.915Z] Removing intermediate container 6b167f9b5f92 [2022-11-10T00:07:41.915Z] ---> 7866e0aed72c [2022-11-10T00:07:41.915Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-10T00:07:42.174Z] ---> Running in dbe6609e3414 [2022-11-10T00:07:42.174Z] Removing intermediate container dbe6609e3414 [2022-11-10T00:07:42.174Z] ---> bdda74503193 [2022-11-10T00:07:42.174Z] Step 20/22 : LABEL arch=amd64 [2022-11-10T00:07:42.174Z] ---> Running in cefd48000578 [2022-11-10T00:07:42.433Z] Removing intermediate container cefd48000578 [2022-11-10T00:07:42.433Z] ---> abe073082952 [2022-11-10T00:07:42.433Z] Step 21/22 : LABEL git_sha=251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:07:42.433Z] ---> Running in 2389e757c80f [2022-11-10T00:07:42.433Z] Removing intermediate container 2389e757c80f [2022-11-10T00:07:42.433Z] ---> 07867ee448f6 [2022-11-10T00:07:42.433Z] Step 22/22 : LABEL version=2.3.0 [2022-11-10T00:07:42.433Z] ---> Running in 229223080a30 [2022-11-10T00:07:42.691Z] Removing intermediate container 229223080a30 [2022-11-10T00:07:42.691Z] ---> efeed3171c9d [2022-11-10T00:07:42.691Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-10T00:07:42.691Z] Successfully built efeed3171c9d [2022-11-10T00:07:42.691Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:07:42.786Z] provisioning config files... [2022-11-10T00:07:42.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9632194766837430886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:07:43.094Z] ---> docker-login.sh [2022-11-10T00:07:43.094Z] nexus3.edgexfoundry.org:10001 [2022-11-10T00:07:43.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:07:43.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:07:43.094Z] Configure a credential helper to remove this warning. See [2022-11-10T00:07:43.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:07:43.094Z] [2022-11-10T00:07:43.094Z] Login Succeeded [2022-11-10T00:07:43.094Z] nexus3.edgexfoundry.org:10002 [2022-11-10T00:07:43.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:07:43.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:07:43.094Z] Configure a credential helper to remove this warning. See [2022-11-10T00:07:43.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:07:43.094Z] [2022-11-10T00:07:43.094Z] Login Succeeded [2022-11-10T00:07:43.094Z] nexus3.edgexfoundry.org:10003 [2022-11-10T00:07:43.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:07:43.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:07:43.353Z] Configure a credential helper to remove this warning. See [2022-11-10T00:07:43.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:07:43.353Z] [2022-11-10T00:07:43.353Z] Login Succeeded [2022-11-10T00:07:43.353Z] nexus3.edgexfoundry.org:10004 [2022-11-10T00:07:43.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:07:43.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:07:43.353Z] Configure a credential helper to remove this warning. See [2022-11-10T00:07:43.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:07:43.353Z] [2022-11-10T00:07:43.353Z] Login Succeeded [2022-11-10T00:07:43.353Z] docker.io [2022-11-10T00:07:43.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:07:43.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:07:43.871Z] Configure a credential helper to remove this warning. See [2022-11-10T00:07:43.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:07:43.871Z] [2022-11-10T00:07:43.871Z] Login Succeeded [2022-11-10T00:07:43.871Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T00:07:43.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-10T00:07:43.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:07:43.924Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-11-10T00:07:43.924Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:07:43.924Z] latest [2022-11-10T00:07:43.924Z] 2.3.0 [2022-11-10T00:07:43.924Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:07:43.924Z] main [2022-11-10T00:07:43.924Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:44.227Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:44.527Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:07:44.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-10T00:07:44.527Z] 526d546b38b5: Preparing [2022-11-10T00:07:44.527Z] 72d2e7c3b280: Preparing [2022-11-10T00:07:44.527Z] a46164755932: Preparing [2022-11-10T00:07:44.527Z] b19e53ebe8ad: Preparing [2022-11-10T00:07:44.527Z] 63493a9ab2d4: Preparing [2022-11-10T00:07:44.527Z] 63493a9ab2d4: Layer already exists [2022-11-10T00:07:44.527Z] 526d546b38b5: Pushed [2022-11-10T00:07:44.527Z] 72d2e7c3b280: Pushed [2022-11-10T00:07:44.786Z] b19e53ebe8ad: Pushed [2022-11-10T00:07:47.319Z] a46164755932: Pushed [2022-11-10T00:07:47.579Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab: digest: sha256:eb0522b6ba26a872337dfde7ee265bc6fad14355046d2c2196ece9b8be134312 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:47.887Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:48.195Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-10T00:07:48.196Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-10T00:07:48.196Z] 526d546b38b5: Preparing [2022-11-10T00:07:48.196Z] 72d2e7c3b280: Preparing [2022-11-10T00:07:48.196Z] a46164755932: Preparing [2022-11-10T00:07:48.196Z] b19e53ebe8ad: Preparing [2022-11-10T00:07:48.196Z] 63493a9ab2d4: Preparing [2022-11-10T00:07:48.196Z] 72d2e7c3b280: Layer already exists [2022-11-10T00:07:48.196Z] 526d546b38b5: Layer already exists [2022-11-10T00:07:48.196Z] a46164755932: Layer already exists [2022-11-10T00:07:48.196Z] b19e53ebe8ad: Layer already exists [2022-11-10T00:07:48.196Z] 63493a9ab2d4: Layer already exists [2022-11-10T00:07:48.196Z] latest: digest: sha256:eb0522b6ba26a872337dfde7ee265bc6fad14355046d2c2196ece9b8be134312 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:48.515Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:48.825Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0 [2022-11-10T00:07:48.825Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-10T00:07:48.825Z] 526d546b38b5: Preparing [2022-11-10T00:07:48.825Z] 72d2e7c3b280: Preparing [2022-11-10T00:07:48.825Z] a46164755932: Preparing [2022-11-10T00:07:48.825Z] b19e53ebe8ad: Preparing [2022-11-10T00:07:48.825Z] 63493a9ab2d4: Preparing [2022-11-10T00:07:48.825Z] b19e53ebe8ad: Layer already exists [2022-11-10T00:07:48.825Z] 63493a9ab2d4: Layer already exists [2022-11-10T00:07:48.825Z] 72d2e7c3b280: Layer already exists [2022-11-10T00:07:48.825Z] 526d546b38b5: Layer already exists [2022-11-10T00:07:48.825Z] a46164755932: Layer already exists [2022-11-10T00:07:48.825Z] 2.3.0: digest: sha256:eb0522b6ba26a872337dfde7ee265bc6fad14355046d2c2196ece9b8be134312 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:49.148Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:49.459Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:07:49.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-10T00:07:49.459Z] 526d546b38b5: Preparing [2022-11-10T00:07:49.459Z] 72d2e7c3b280: Preparing [2022-11-10T00:07:49.459Z] a46164755932: Preparing [2022-11-10T00:07:49.459Z] b19e53ebe8ad: Preparing [2022-11-10T00:07:49.459Z] 63493a9ab2d4: Preparing [2022-11-10T00:07:49.459Z] 63493a9ab2d4: Layer already exists [2022-11-10T00:07:49.459Z] 526d546b38b5: Layer already exists [2022-11-10T00:07:49.459Z] 72d2e7c3b280: Layer already exists [2022-11-10T00:07:49.460Z] a46164755932: Layer already exists [2022-11-10T00:07:49.460Z] b19e53ebe8ad: Layer already exists [2022-11-10T00:07:49.460Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0: digest: sha256:eb0522b6ba26a872337dfde7ee265bc6fad14355046d2c2196ece9b8be134312 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:49.778Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:50.095Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-11-10T00:07:50.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-10T00:07:50.096Z] 526d546b38b5: Preparing [2022-11-10T00:07:50.096Z] 72d2e7c3b280: Preparing [2022-11-10T00:07:50.096Z] a46164755932: Preparing [2022-11-10T00:07:50.096Z] b19e53ebe8ad: Preparing [2022-11-10T00:07:50.096Z] 63493a9ab2d4: Preparing [2022-11-10T00:07:50.096Z] 526d546b38b5: Layer already exists [2022-11-10T00:07:50.096Z] 63493a9ab2d4: Layer already exists [2022-11-10T00:07:50.096Z] 72d2e7c3b280: Layer already exists [2022-11-10T00:07:50.096Z] a46164755932: Layer already exists [2022-11-10T00:07:50.096Z] b19e53ebe8ad: Layer already exists [2022-11-10T00:07:50.096Z] main: digest: sha256:eb0522b6ba26a872337dfde7ee265bc6fad14355046d2c2196ece9b8be134312 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-10T00:07:50.149Z] ===================================================== [Pipeline] echo [2022-11-10T00:07:50.160Z] taggedImages: [2022-11-10T00:07:50.160Z] - nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:07:50.160Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-10T00:07:50.160Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0 [2022-11-10T00:07:50.160Z] - nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:07:50.160Z] - 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 [2022-11-10T00:07:50.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T00:07:50.553Z] [2022-11-10T00:07:50.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:07:50.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T00:07:50.853Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-10T00:07:50.853Z] 5eb5b503b376: Pulling fs layer [2022-11-10T00:07:50.853Z] 5c69ac0246d0: Pulling fs layer [2022-11-10T00:07:50.853Z] ec43610c2a17: Pulling fs layer [2022-11-10T00:07:50.853Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-10T00:07:50.853Z] 33b1e0a273af: Pulling fs layer [2022-11-10T00:07:50.853Z] 5d3b04190fa2: Pulling fs layer [2022-11-10T00:07:50.853Z] 3a2ae6a8a46f: Waiting [2022-11-10T00:07:50.853Z] 33b1e0a273af: Waiting [2022-11-10T00:07:50.853Z] 2f39f015ded8: Pulling fs layer [2022-11-10T00:07:50.853Z] 5d3b04190fa2: Waiting [2022-11-10T00:07:50.853Z] 5c69ac0246d0: Download complete [2022-11-10T00:07:50.853Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-10T00:07:50.853Z] 3a2ae6a8a46f: Download complete [2022-11-10T00:07:51.113Z] 33b1e0a273af: Verifying Checksum [2022-11-10T00:07:51.113Z] 33b1e0a273af: Download complete [2022-11-10T00:07:51.113Z] 5d3b04190fa2: Download complete [2022-11-10T00:07:51.113Z] ec43610c2a17: Verifying Checksum [2022-11-10T00:07:51.113Z] ec43610c2a17: Download complete [2022-11-10T00:07:51.113Z] 5eb5b503b376: Verifying Checksum [2022-11-10T00:07:51.113Z] 5eb5b503b376: Download complete [2022-11-10T00:07:51.679Z] 2f39f015ded8: Download complete [2022-11-10T00:07:51.698Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118870 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-11-10T00:07:51.711Z] Running in /w/workspace/device-modbus-go/66 [Pipeline] { [Pipeline] checkout [2022-11-10T00:07:51.742Z] Selected Git installation does not exist. Using Default [2022-11-10T00:07:51.742Z] The recommended git tool is: NONE [2022-11-10T00:07:52.612Z] 5eb5b503b376: Pull complete [2022-11-10T00:07:52.612Z] 5c69ac0246d0: Pull complete [2022-11-10T00:07:53.178Z] ec43610c2a17: Pull complete [2022-11-10T00:07:53.178Z] 3a2ae6a8a46f: Pull complete [2022-11-10T00:07:53.438Z] 33b1e0a273af: Pull complete [2022-11-10T00:07:53.438Z] 5d3b04190fa2: Pull complete [2022-11-10T00:07:56.599Z] using credential edgex-jenkins-ssh [2022-11-10T00:07:56.614Z] Cloning the remote Git repository [2022-11-10T00:07:56.648Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-10T00:07:57.617Z] 2f39f015ded8: Pull complete [2022-11-10T00:07:57.617Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-10T00:07:57.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T00:07:57.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:07:57.694Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:07:57.727Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T00:07:56.724Z] > git init /w/workspace/device-modbus-go/66 # timeout=10 [2022-11-10T00:07:56.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-10T00:07:56.871Z] > git --version # timeout=10 [2022-11-10T00:07:56.891Z] > git --version # 'git version 2.25.1' [2022-11-10T00:07:56.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T00:07:56.939Z] Verifying host key using known hosts file [2022-11-10T00:07:57.115Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-10T00:07:57.128Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T00:07:59.098Z] Avoid second fetch [2022-11-10T00:07:59.098Z] Checking out Revision 251be81c94d6bf2c69d06494166ea5d98cfe24ab (main) [2022-11-10T00:07:58.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-10T00:07:58.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T00:07:59.101Z] > git config core.sparsecheckout # timeout=10 [2022-11-10T00:07:59.118Z] > git checkout -f 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 [2022-11-10T00:07:59.346Z] $ docker top 7f8271a3fd2ba63d9f5fe4afa5d54185900041f614bc27312f0cadb30dce5b7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:07:59.587Z] Commit message: "build: Update to use released SDK (#391)" [2022-11-10T00:07:59.741Z] ---> job-cost.sh [2022-11-10T00:07:59.741Z] lf-activate-venv: SKIPPING [2022-11-10T00:07:59.741Z] INFO: No Stack... [2022-11-10T00:07:59.987Z] [2022-11-10T00:07:59.987Z] GitHub has been notified of this commit’s build result [2022-11-10T00:07:59.987Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T00:08:00.310Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T00:08:00.527Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-10T00:08:00.527Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-10T00:08:00.527Z] Dload Upload Total Spent Left Speed [2022-11-10T00:08:00.527Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 [2022-11-10T00:08:00.568Z] INFO: Archiving Costs [Pipeline] sh [2022-11-10T00:08:00.853Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-11-10T00:08:00.853Z] + cut -d, -f6 [Pipeline] lock [2022-11-10T00:08:00.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [2022-11-10T00:08:00.875Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] did not exist. Created. [2022-11-10T00:08:00.875Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2022-11-10T00:08:01.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-10T00:08:01.235Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-10T00:08:01.307Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T00:08:01.313Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T00:08:01.339Z] $ docker stop --time=1 7f8271a3fd2ba63d9f5fe4afa5d54185900041f614bc27312f0cadb30dce5b7e [2022-11-10T00:08:01.550Z] + sudo tee /etc/docker/daemon.new [2022-11-10T00:08:01.550Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-10T00:08:01.550Z] { [2022-11-10T00:08:01.550Z] "registry-mirrors": [ [2022-11-10T00:08:01.550Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-10T00:08:01.550Z] ], [2022-11-10T00:08:01.550Z] "bip": "10.250.0.254/24", [2022-11-10T00:08:01.550Z] "hosts": [ [2022-11-10T00:08:01.550Z] "tcp://0.0.0.0:5555", [2022-11-10T00:08:01.550Z] "unix:///var/run/docker.sock" [2022-11-10T00:08:01.550Z] ], [2022-11-10T00:08:01.550Z] "mtu": 1458, [2022-11-10T00:08:01.550Z] "selinux-enabled": true, [2022-11-10T00:08:01.550Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-10T00:08:01.550Z] } [2022-11-10T00:08:02.511Z] $ docker rm -f 7f8271a3fd2ba63d9f5fe4afa5d54185900041f614bc27312f0cadb30dce5b7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-10T00:08:02.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-10T00:08:03.204Z] + sudo service docker restart [Pipeline] sh [2022-11-10T00:08:21.746Z] + git checkout 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:08:21.746Z] HEAD is now at 251be81 build: Update to use released SDK (#391) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:08:21.774Z] provisioning config files... [2022-11-10T00:08:21.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/66@tmp/config16338395524360630149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:08:22.129Z] ---> docker-login.sh [2022-11-10T00:08:22.129Z] nexus3.edgexfoundry.org:10001 [2022-11-10T00:08:22.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:08:22.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:08:22.666Z] Configure a credential helper to remove this warning. See [2022-11-10T00:08:22.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:08:22.666Z] [2022-11-10T00:08:22.666Z] Login Succeeded [2022-11-10T00:08:22.666Z] nexus3.edgexfoundry.org:10002 [2022-11-10T00:08:22.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:08:22.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:08:22.933Z] Configure a credential helper to remove this warning. See [2022-11-10T00:08:22.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:08:22.933Z] [2022-11-10T00:08:22.933Z] Login Succeeded [2022-11-10T00:08:22.933Z] nexus3.edgexfoundry.org:10003 [2022-11-10T00:08:23.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:08:23.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:08:23.201Z] Configure a credential helper to remove this warning. See [2022-11-10T00:08:23.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:08:23.201Z] [2022-11-10T00:08:23.201Z] Login Succeeded [2022-11-10T00:08:23.201Z] nexus3.edgexfoundry.org:10004 [2022-11-10T00:08:23.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:08:23.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:08:23.737Z] Configure a credential helper to remove this warning. See [2022-11-10T00:08:23.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:08:23.737Z] [2022-11-10T00:08:23.737Z] Login Succeeded [2022-11-10T00:08:23.737Z] docker.io [2022-11-10T00:08:23.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:08:24.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:08:24.320Z] Configure a credential helper to remove this warning. See [2022-11-10T00:08:24.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:08:24.320Z] [2022-11-10T00:08:24.320Z] Login Succeeded [2022-11-10T00:08:24.320Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T00:08:24.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T00:08:24.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:08:24.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:08:24.492Z] ========================================================= [2022-11-10T00:08:24.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-10T00:08:24.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:08:24.824Z] + 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 . [2022-11-10T00:08:25.091Z] Sending build context to Docker daemon 3.256MB [2022-11-10T00:08:25.091Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T00:08:25.091Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-10T00:08:25.092Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-10T00:08:25.092Z] 9b18e9b68314: Pulling fs layer [2022-11-10T00:08:25.092Z] 35d82f9e3411: Pulling fs layer [2022-11-10T00:08:25.092Z] e16973657156: Pulling fs layer [2022-11-10T00:08:25.092Z] fc693d55d65f: Pulling fs layer [2022-11-10T00:08:25.092Z] 7e9fc2657dce: Pulling fs layer [2022-11-10T00:08:25.092Z] dda99020689f: Pulling fs layer [2022-11-10T00:08:25.092Z] db1c61fa0a46: Pulling fs layer [2022-11-10T00:08:25.092Z] 891c053d2c06: Pulling fs layer [2022-11-10T00:08:25.092Z] fc693d55d65f: Waiting [2022-11-10T00:08:25.092Z] 7e9fc2657dce: Waiting [2022-11-10T00:08:25.092Z] dda99020689f: Waiting [2022-11-10T00:08:25.092Z] db1c61fa0a46: Waiting [2022-11-10T00:08:25.092Z] 891c053d2c06: Waiting [2022-11-10T00:08:25.360Z] e16973657156: Verifying Checksum [2022-11-10T00:08:25.360Z] e16973657156: Download complete [2022-11-10T00:08:25.360Z] 35d82f9e3411: Verifying Checksum [2022-11-10T00:08:25.360Z] 35d82f9e3411: Download complete [2022-11-10T00:08:25.360Z] 7e9fc2657dce: Verifying Checksum [2022-11-10T00:08:25.360Z] 7e9fc2657dce: Download complete [2022-11-10T00:08:25.360Z] dda99020689f: Verifying Checksum [2022-11-10T00:08:25.360Z] dda99020689f: Download complete [2022-11-10T00:08:25.360Z] 9b18e9b68314: Verifying Checksum [2022-11-10T00:08:25.360Z] 9b18e9b68314: Download complete [2022-11-10T00:08:25.959Z] 9b18e9b68314: Pull complete [2022-11-10T00:08:26.232Z] 891c053d2c06: Verifying Checksum [2022-11-10T00:08:26.232Z] 891c053d2c06: Download complete [2022-11-10T00:08:27.663Z] db1c61fa0a46: Verifying Checksum [2022-11-10T00:08:27.663Z] db1c61fa0a46: Download complete [2022-11-10T00:08:27.663Z] 35d82f9e3411: Pull complete [2022-11-10T00:08:27.931Z] e16973657156: Pull complete [2022-11-10T00:08:28.199Z] fc693d55d65f: Verifying Checksum [2022-11-10T00:08:28.199Z] fc693d55d65f: Download complete [2022-11-10T00:08:40.533Z] fc693d55d65f: Pull complete [2022-11-10T00:08:40.533Z] 7e9fc2657dce: Pull complete [2022-11-10T00:08:40.533Z] dda99020689f: Pull complete [2022-11-10T00:08:45.888Z] db1c61fa0a46: Pull complete [2022-11-10T00:08:47.849Z] 891c053d2c06: Pull complete [2022-11-10T00:08:47.849Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-10T00:08:47.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-10T00:08:47.849Z] ---> f96f9c87975a [2022-11-10T00:08:47.849Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-10T00:08:49.275Z] ---> Running in 96387638bec2 [2022-11-10T00:08:49.543Z] Removing intermediate container 96387638bec2 [2022-11-10T00:08:49.543Z] ---> 0f7658ef37b4 [2022-11-10T00:08:49.543Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T00:08:49.543Z] ---> Running in 45899bfd4560 [2022-11-10T00:08:49.809Z] Removing intermediate container 45899bfd4560 [2022-11-10T00:08:49.809Z] ---> d86b1d62b904 [2022-11-10T00:08:49.809Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-10T00:08:50.077Z] ---> Running in 50cc3698de7e [2022-11-10T00:08:51.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T00:08:51.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T00:08:52.267Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-10T00:08:52.267Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-10T00:08:52.267Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-10T00:08:52.267Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-10T00:08:52.267Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-10T00:08:52.532Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-10T00:08:52.532Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-10T00:08:52.532Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-10T00:08:52.532Z] Executing busybox-1.35.0-r17.trigger [2022-11-10T00:08:52.532Z] OK: 228 MiB in 59 packages [2022-11-10T00:08:53.497Z] Removing intermediate container 50cc3698de7e [2022-11-10T00:08:53.497Z] ---> 05ec443150ab [2022-11-10T00:08:53.497Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-10T00:08:53.497Z] ---> Running in 1111a75b3759 [2022-11-10T00:08:53.763Z] Removing intermediate container 1111a75b3759 [2022-11-10T00:08:53.763Z] ---> 3f477df743aa [2022-11-10T00:08:53.763Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-10T00:08:54.028Z] ---> d32e9aaa519c [2022-11-10T00:08:54.028Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T00:08:54.295Z] ---> Running in d16aaca8c9ee [2022-11-10T00:09:50.786Z] Removing intermediate container d16aaca8c9ee [2022-11-10T00:09:50.786Z] ---> 8605da6e3252 [2022-11-10T00:09:50.786Z] Step 9/10 : COPY . . [2022-11-10T00:09:50.786Z] ---> 760b5f82a2ac [2022-11-10T00:09:50.786Z] Step 10/10 : RUN ${MAKE} [2022-11-10T00:09:50.786Z] ---> Running in da7a7cf4ae8a [2022-11-10T00:09:50.786Z] noop [2022-11-10T00:09:50.786Z] Removing intermediate container da7a7cf4ae8a [2022-11-10T00:09:50.786Z] ---> 7332f5ad9be6 [2022-11-10T00:09:50.786Z] Successfully built 7332f5ad9be6 [2022-11-10T00:09:50.786Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:09:51.137Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T00:09:51.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:09:51.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-118870 does not seem to be running inside a container [2022-11-10T00:09:51.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/66 -v /w/workspace/device-modbus-go/66:/w/workspace/device-modbus-go/66:rw,z -v /w/workspace/device-modbus-go/66@tmp:/w/workspace/device-modbus-go/66@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-10T00:09:52.476Z] $ docker top 8188f46f3807d6a6d9bbb83440e0c513799fc0ed4ef62b1e338d646ad9f38403 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T00:09:53.284Z] + go version [2022-11-10T00:09:53.284Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-10T00:09:53.314Z] $ docker stop --time=1 8188f46f3807d6a6d9bbb83440e0c513799fc0ed4ef62b1e338d646ad9f38403 [2022-11-10T00:09:54.886Z] $ docker rm -f 8188f46f3807d6a6d9bbb83440e0c513799fc0ed4ef62b1e338d646ad9f38403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:09:55.419Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T00:09:55.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:09:55.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-118870 does not seem to be running inside a container [2022-11-10T00:09:55.666Z] $ 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/66 -v /w/workspace/device-modbus-go/66:/w/workspace/device-modbus-go/66:rw,z -v /w/workspace/device-modbus-go/66@tmp:/w/workspace/device-modbus-go/66@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-10T00:09:56.767Z] $ docker top 7b76b3ef9b10d9b67d2772e4a2a032a4df78a60c23dd66c2e68808a8700464ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T00:09:57.252Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/66 [Pipeline] fileExists [Pipeline] sh [2022-11-10T00:09:57.588Z] + make test [2022-11-10T00:09:57.589Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-10T00:09:59.541Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-10T00:11:21.170Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-10T00:11:21.170Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements [2022-11-10T00:11:21.170Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-10T00:11:21.170Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-10T00:11:39.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-10T00:11:39.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-10T00:11:39.392Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-10T00:11:39.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-10T00:11:39.437Z] $ docker stop --time=1 7b76b3ef9b10d9b67d2772e4a2a032a4df78a60c23dd66c2e68808a8700464ca [2022-11-10T00:11:41.978Z] $ docker rm -f 7b76b3ef9b10d9b67d2772e4a2a032a4df78a60c23dd66c2e68808a8700464ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T00:11:42.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-10T00:11:42.839Z] Warning: overwriting stash ‘coverage-report’ [2022-11-10T00:11:43.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T00:11:43.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-10T00:11:43.884Z] + ls -al . [2022-11-10T00:11:43.884Z] total 192 [2022-11-10T00:11:43.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 00:09 . [2022-11-10T00:11:43.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 00:07 .. [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 00:07 .dockerignore [2022-11-10T00:11:43.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 00:08 .git [2022-11-10T00:11:43.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:07 .github [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 10 00:07 .gitignore [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 00:07 .golangci.yml [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 10 00:07 Attribution.txt [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 10 00:07 CHANGELOG.md [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 10 00:07 Dockerfile [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 00:07 GOVERNANCE.md [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 00:07 Jenkinsfile [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 00:07 LICENSE [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 10 00:07 Makefile [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 10 00:07 OWNERS.md [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 10 00:07 README.md [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 00:06 VERSION [2022-11-10T00:11:43.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 00:07 bin [2022-11-10T00:11:43.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:07 cmd [2022-11-10T00:11:43.884Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 10 00:11 coverage.out [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 10 00:07 go.mod [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 45211 Nov 10 00:07 go.sum [2022-11-10T00:11:43.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 00:07 internal [2022-11-10T00:11:43.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 00:07 simulator [2022-11-10T00:11:43.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 00:07 snap [2022-11-10T00:11:43.884Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 10 00:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:11:44.214Z] + 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab --label arch=arm64 --label version=2.3.0 . [2022-11-10T00:11:44.482Z] Sending build context to Docker daemon 3.28MB [2022-11-10T00:11:44.482Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T00:11:44.482Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-10T00:11:44.482Z] ---> 7332f5ad9be6 [2022-11-10T00:11:44.482Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-10T00:11:44.482Z] ---> Running in 770d5544fffe [2022-11-10T00:11:44.754Z] Removing intermediate container 770d5544fffe [2022-11-10T00:11:44.754Z] ---> 3fb2e2baaa59 [2022-11-10T00:11:44.754Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T00:11:44.754Z] ---> Running in 15897feddba6 [2022-11-10T00:11:45.020Z] Removing intermediate container 15897feddba6 [2022-11-10T00:11:45.020Z] ---> 6f924c8fbe31 [2022-11-10T00:11:45.020Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-10T00:11:45.288Z] ---> Running in a9c2d0625b1b [2022-11-10T00:11:46.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T00:11:46.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T00:11:47.473Z] OK: 228 MiB in 59 packages [2022-11-10T00:11:48.053Z] Removing intermediate container a9c2d0625b1b [2022-11-10T00:11:48.053Z] ---> 045f53af074c [2022-11-10T00:11:48.053Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-10T00:11:48.053Z] ---> Running in 816000b824c9 [2022-11-10T00:11:48.318Z] Removing intermediate container 816000b824c9 [2022-11-10T00:11:48.318Z] ---> 3074992c0b41 [2022-11-10T00:11:48.318Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-10T00:11:48.901Z] ---> cb6575453747 [2022-11-10T00:11:48.901Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T00:11:48.901Z] ---> Running in 49dd3b40a720 [2022-11-10T00:11:50.845Z] Removing intermediate container 49dd3b40a720 [2022-11-10T00:11:50.845Z] ---> af860231b18d [2022-11-10T00:11:50.845Z] Step 9/22 : COPY . . [2022-11-10T00:11:51.427Z] ---> 504e24163fe9 [2022-11-10T00:11:51.427Z] Step 10/22 : RUN ${MAKE} [2022-11-10T00:11:51.427Z] ---> Running in 5e83ca5ea269 [2022-11-10T00:11:52.383Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-10T00:14:29.089Z] Removing intermediate container 5e83ca5ea269 [2022-11-10T00:14:29.089Z] ---> 11d6523068c9 [2022-11-10T00:14:29.089Z] Step 11/22 : FROM alpine:3.14 [2022-11-10T00:14:29.089Z] 3.14: Pulling from library/alpine [2022-11-10T00:14:29.089Z] 90cda3b7c325: Pulling fs layer [2022-11-10T00:14:29.089Z] 90cda3b7c325: Verifying Checksum [2022-11-10T00:14:29.089Z] 90cda3b7c325: Download complete [2022-11-10T00:14:29.089Z] 90cda3b7c325: Pull complete [2022-11-10T00:14:29.089Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-10T00:14:29.089Z] Status: Downloaded newer image for alpine:3.14 [2022-11-10T00:14:29.089Z] ---> 376ba31ae3da [2022-11-10T00:14:29.089Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-10T00:14:29.089Z] ---> Running in 46efb3aa5f23 [2022-11-10T00:14:29.089Z] Removing intermediate container 46efb3aa5f23 [2022-11-10T00:14:29.089Z] ---> 655de584b672 [2022-11-10T00:14:29.089Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-10T00:14:29.089Z] ---> Running in a0b1ca893367 [2022-11-10T00:14:29.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-10T00:14:29.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-10T00:14:29.089Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-10T00:14:29.089Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-10T00:14:29.089Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-10T00:14:29.089Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-10T00:14:29.089Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-10T00:14:29.089Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-10T00:14:29.089Z] Executing busybox-1.33.1-r8.trigger [2022-11-10T00:14:29.089Z] OK: 8 MiB in 20 packages [2022-11-10T00:14:29.089Z] Removing intermediate container a0b1ca893367 [2022-11-10T00:14:29.089Z] ---> 619dbd06af28 [2022-11-10T00:14:29.089Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-10T00:14:29.089Z] ---> be565ad77d42 [2022-11-10T00:14:29.089Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-10T00:14:29.673Z] ---> cc8e349fc995 [2022-11-10T00:14:29.673Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-10T00:14:30.258Z] ---> 77116e47360d [2022-11-10T00:14:30.258Z] Step 17/22 : EXPOSE 59901 [2022-11-10T00:14:30.258Z] ---> Running in 926443d2af59 [2022-11-10T00:14:30.526Z] Removing intermediate container 926443d2af59 [2022-11-10T00:14:30.526Z] ---> 444e68347ac8 [2022-11-10T00:14:30.526Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-10T00:14:30.526Z] ---> Running in 71305886cfaa [2022-11-10T00:14:30.794Z] Removing intermediate container 71305886cfaa [2022-11-10T00:14:30.794Z] ---> 6d085c05d836 [2022-11-10T00:14:30.794Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-10T00:14:30.794Z] ---> Running in eed87c74780a [2022-11-10T00:14:31.063Z] Removing intermediate container eed87c74780a [2022-11-10T00:14:31.063Z] ---> 273fc897b070 [2022-11-10T00:14:31.063Z] Step 20/22 : LABEL arch=arm64 [2022-11-10T00:14:31.332Z] ---> Running in 9782ad37b923 [2022-11-10T00:14:31.602Z] Removing intermediate container 9782ad37b923 [2022-11-10T00:14:31.602Z] ---> ad4d4bbac8b7 [2022-11-10T00:14:31.602Z] Step 21/22 : LABEL git_sha=251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:14:31.602Z] ---> Running in fb7d01b31fa5 [2022-11-10T00:14:31.870Z] Removing intermediate container fb7d01b31fa5 [2022-11-10T00:14:31.870Z] ---> 30e373328074 [2022-11-10T00:14:31.870Z] Step 22/22 : LABEL version=2.3.0 [2022-11-10T00:14:31.870Z] ---> Running in 6e2911885900 [2022-11-10T00:14:32.138Z] Removing intermediate container 6e2911885900 [2022-11-10T00:14:32.138Z] ---> 7ef1fbb65348 [2022-11-10T00:14:32.138Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-10T00:14:32.138Z] Successfully built 7ef1fbb65348 [2022-11-10T00:14:32.138Z] 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 [2022-11-10T00:14:32.253Z] provisioning config files... [2022-11-10T00:14:32.268Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/66@tmp/config2481199108381075027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:14:32.597Z] ---> docker-login.sh [2022-11-10T00:14:32.597Z] nexus3.edgexfoundry.org:10001 [2022-11-10T00:14:32.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:14:32.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:14:32.865Z] Configure a credential helper to remove this warning. See [2022-11-10T00:14:32.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:14:32.865Z] [2022-11-10T00:14:32.865Z] Login Succeeded [2022-11-10T00:14:32.865Z] nexus3.edgexfoundry.org:10002 [2022-11-10T00:14:33.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:14:33.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:14:33.136Z] Configure a credential helper to remove this warning. See [2022-11-10T00:14:33.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:14:33.136Z] [2022-11-10T00:14:33.136Z] Login Succeeded [2022-11-10T00:14:33.136Z] nexus3.edgexfoundry.org:10003 [2022-11-10T00:14:33.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:14:33.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:14:33.676Z] Configure a credential helper to remove this warning. See [2022-11-10T00:14:33.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:14:33.676Z] [2022-11-10T00:14:33.676Z] Login Succeeded [2022-11-10T00:14:33.676Z] nexus3.edgexfoundry.org:10004 [2022-11-10T00:14:33.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:14:33.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:14:33.943Z] Configure a credential helper to remove this warning. See [2022-11-10T00:14:33.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:14:33.943Z] [2022-11-10T00:14:33.943Z] Login Succeeded [2022-11-10T00:14:33.943Z] docker.io [2022-11-10T00:14:34.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T00:14:34.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T00:14:34.789Z] Configure a credential helper to remove this warning. See [2022-11-10T00:14:34.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T00:14:34.789Z] [2022-11-10T00:14:34.789Z] Login Succeeded [2022-11-10T00:14:34.789Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T00:14:34.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-10T00:14:34.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T00:14:34.843Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-11-10T00:14:34.843Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:14:34.843Z] latest [2022-11-10T00:14:34.843Z] 2.3.0 [2022-11-10T00:14:34.843Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:14:34.843Z] main [2022-11-10T00:14:34.843Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:35.173Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:35.514Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:14:35.514Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-10T00:14:35.514Z] e0db9c3f77f1: Preparing [2022-11-10T00:14:35.514Z] 790a35069b43: Preparing [2022-11-10T00:14:35.514Z] 784af74875be: Preparing [2022-11-10T00:14:35.514Z] 04353f352ca6: Preparing [2022-11-10T00:14:35.514Z] 28c3ef001483: Preparing [2022-11-10T00:14:35.514Z] 28c3ef001483: Layer already exists [2022-11-10T00:14:35.785Z] 790a35069b43: Pushed [2022-11-10T00:14:35.785Z] e0db9c3f77f1: Pushed [2022-11-10T00:14:36.376Z] 04353f352ca6: Pushed [2022-11-10T00:14:40.620Z] 784af74875be: Pushed [2022-11-10T00:14:40.887Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab: digest: sha256:21d6d596b5568a47064664067066550ff2858bc6df6ebf45378e3e6ed2599a96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:41.222Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:41.561Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-10T00:14:41.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-10T00:14:41.561Z] e0db9c3f77f1: Preparing [2022-11-10T00:14:41.561Z] 790a35069b43: Preparing [2022-11-10T00:14:41.561Z] 784af74875be: Preparing [2022-11-10T00:14:41.561Z] 04353f352ca6: Preparing [2022-11-10T00:14:41.561Z] 28c3ef001483: Preparing [2022-11-10T00:14:41.561Z] 790a35069b43: Layer already exists [2022-11-10T00:14:41.561Z] 28c3ef001483: Layer already exists [2022-11-10T00:14:41.561Z] 784af74875be: Layer already exists [2022-11-10T00:14:41.561Z] e0db9c3f77f1: Layer already exists [2022-11-10T00:14:41.561Z] 04353f352ca6: Layer already exists [2022-11-10T00:14:41.561Z] latest: digest: sha256:21d6d596b5568a47064664067066550ff2858bc6df6ebf45378e3e6ed2599a96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:42.160Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:42.497Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0 [2022-11-10T00:14:42.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-10T00:14:42.497Z] e0db9c3f77f1: Preparing [2022-11-10T00:14:42.497Z] 790a35069b43: Preparing [2022-11-10T00:14:42.497Z] 784af74875be: Preparing [2022-11-10T00:14:42.497Z] 04353f352ca6: Preparing [2022-11-10T00:14:42.497Z] 28c3ef001483: Preparing [2022-11-10T00:14:42.497Z] 28c3ef001483: Layer already exists [2022-11-10T00:14:42.497Z] e0db9c3f77f1: Layer already exists [2022-11-10T00:14:42.497Z] 04353f352ca6: Layer already exists [2022-11-10T00:14:42.497Z] 784af74875be: Layer already exists [2022-11-10T00:14:42.497Z] 790a35069b43: Layer already exists [2022-11-10T00:14:42.497Z] 2.3.0: digest: sha256:21d6d596b5568a47064664067066550ff2858bc6df6ebf45378e3e6ed2599a96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:42.830Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:43.161Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:14:43.161Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-10T00:14:43.161Z] e0db9c3f77f1: Preparing [2022-11-10T00:14:43.161Z] 790a35069b43: Preparing [2022-11-10T00:14:43.161Z] 784af74875be: Preparing [2022-11-10T00:14:43.161Z] 04353f352ca6: Preparing [2022-11-10T00:14:43.161Z] 28c3ef001483: Preparing [2022-11-10T00:14:43.161Z] 28c3ef001483: Layer already exists [2022-11-10T00:14:43.161Z] 784af74875be: Layer already exists [2022-11-10T00:14:43.161Z] 04353f352ca6: Layer already exists [2022-11-10T00:14:43.161Z] e0db9c3f77f1: Layer already exists [2022-11-10T00:14:43.161Z] 790a35069b43: Layer already exists [2022-11-10T00:14:43.161Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0: digest: sha256:21d6d596b5568a47064664067066550ff2858bc6df6ebf45378e3e6ed2599a96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:43.498Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:43.829Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-11-10T00:14:43.829Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-10T00:14:43.829Z] e0db9c3f77f1: Preparing [2022-11-10T00:14:43.829Z] 790a35069b43: Preparing [2022-11-10T00:14:43.829Z] 784af74875be: Preparing [2022-11-10T00:14:43.829Z] 04353f352ca6: Preparing [2022-11-10T00:14:43.829Z] 28c3ef001483: Preparing [2022-11-10T00:14:43.829Z] 784af74875be: Layer already exists [2022-11-10T00:14:43.829Z] 790a35069b43: Layer already exists [2022-11-10T00:14:43.829Z] 04353f352ca6: Layer already exists [2022-11-10T00:14:43.829Z] e0db9c3f77f1: Layer already exists [2022-11-10T00:14:43.829Z] 28c3ef001483: Layer already exists [2022-11-10T00:14:43.829Z] main: digest: sha256:21d6d596b5568a47064664067066550ff2858bc6df6ebf45378e3e6ed2599a96 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-10T00:14:44.147Z] ===================================================== [Pipeline] echo [2022-11-10T00:14:44.155Z] taggedImages: [2022-11-10T00:14:44.155Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-10T00:14:44.155Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-10T00:14:44.155Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0 [2022-11-10T00:14:44.155Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0 [2022-11-10T00:14:44.155Z] - 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 [2022-11-10T00:14:44.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T00:14:44.499Z] [2022-11-10T00:14:44.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:14:44.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T00:14:44.823Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-10T00:14:44.823Z] 8998bd30e6a1: Pulling fs layer [2022-11-10T00:14:44.823Z] 04944245beec: Pulling fs layer [2022-11-10T00:14:44.823Z] 699f458cf7ca: Pulling fs layer [2022-11-10T00:14:44.823Z] 765212b225bb: Pulling fs layer [2022-11-10T00:14:44.823Z] f23df028b6ca: Pulling fs layer [2022-11-10T00:14:44.823Z] d65c8cfc05b1: Pulling fs layer [2022-11-10T00:14:44.823Z] 2437ff75d9bd: Pulling fs layer [2022-11-10T00:14:44.823Z] f23df028b6ca: Waiting [2022-11-10T00:14:44.823Z] d65c8cfc05b1: Waiting [2022-11-10T00:14:44.823Z] 765212b225bb: Waiting [2022-11-10T00:14:45.093Z] 04944245beec: Verifying Checksum [2022-11-10T00:14:45.093Z] 04944245beec: Download complete [2022-11-10T00:14:45.093Z] 765212b225bb: Download complete [2022-11-10T00:14:45.093Z] f23df028b6ca: Verifying Checksum [2022-11-10T00:14:45.093Z] f23df028b6ca: Download complete [2022-11-10T00:14:45.093Z] d65c8cfc05b1: Verifying Checksum [2022-11-10T00:14:45.093Z] d65c8cfc05b1: Download complete [2022-11-10T00:14:45.372Z] 699f458cf7ca: Verifying Checksum [2022-11-10T00:14:45.372Z] 699f458cf7ca: Download complete [2022-11-10T00:14:45.640Z] 8998bd30e6a1: Verifying Checksum [2022-11-10T00:14:45.640Z] 8998bd30e6a1: Download complete [2022-11-10T00:14:48.227Z] 2437ff75d9bd: Verifying Checksum [2022-11-10T00:14:48.227Z] 2437ff75d9bd: Download complete [2022-11-10T00:14:49.643Z] 8998bd30e6a1: Pull complete [2022-11-10T00:14:49.911Z] 04944245beec: Pull complete [2022-11-10T00:14:51.318Z] 699f458cf7ca: Pull complete [2022-11-10T00:14:51.585Z] 765212b225bb: Pull complete [2022-11-10T00:14:52.166Z] f23df028b6ca: Pull complete [2022-11-10T00:14:52.434Z] d65c8cfc05b1: Pull complete [2022-11-10T00:15:07.435Z] 2437ff75d9bd: Pull complete [2022-11-10T00:15:07.435Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-10T00:15:07.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T00:15:07.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:15:07.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-118870 does not seem to be running inside a container [2022-11-10T00:15:07.678Z] $ 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/66 -v /w/workspace/device-modbus-go/66:/w/workspace/device-modbus-go/66:rw,z -v /w/workspace/device-modbus-go/66@tmp:/w/workspace/device-modbus-go/66@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-10T00:15:10.271Z] $ docker top 5e67d27a6a08526f018e5fc2c9a175d558c817d5da9a8f8f9baf7744eb69c994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:15:11.082Z] ---> job-cost.sh [2022-11-10T00:15:11.082Z] lf-activate-venv: SKIPPING [2022-11-10T00:15:11.082Z] INFO: No Stack... [2022-11-10T00:15:11.350Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-10T00:15:12.306Z] INFO: Archiving Costs [Pipeline] sh [2022-11-10T00:15:12.620Z] + cut -d, -f6 [2022-11-10T00:15:12.620Z] + cat /w/workspace/device-modbus-go/66/archives/cost.csv [Pipeline] lock [2022-11-10T00:15:12.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [2022-11-10T00:15:12.956Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] did not exist. Created. [2022-11-10T00:15:12.956Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-10T00:15:13.663Z] /w/workspace/device-modbus-go/66@tmp/durable-45615e43/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-10T00:15:14.029Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-10T00:15:14.056Z] Warning: overwriting stash ‘stack-cost’ [2022-11-10T00:15:14.109Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T00:15:14.119Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T00:15:14.153Z] $ docker stop --time=1 5e67d27a6a08526f018e5fc2c9a175d558c817d5da9a8f8f9baf7744eb69c994 [2022-11-10T00:15:15.633Z] $ docker rm -f 5e67d27a6a08526f018e5fc2c9a175d558c817d5da9a8f8f9baf7744eb69c994 [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 [2022-11-10T00:15:16.000Z] provisioning config files... [2022-11-10T00:15:16.008Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17529316437219965445tmp [Pipeline] { [Pipeline] sh [2022-11-10T00:15:16.294Z] + set +x [2022-11-10T00:15:16.294Z] + bash -s -- [2022-11-10T00:15:16.294Z] + curl -s https://codecov.io/bash [2022-11-10T00:15:16.294Z] [2022-11-10T00:15:16.294Z] _____ _ [2022-11-10T00:15:16.294Z] / ____| | | [2022-11-10T00:15:16.294Z] | | ___ __| | ___ ___ _____ __ [2022-11-10T00:15:16.294Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-10T00:15:16.294Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-10T00:15:16.294Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-10T00:15:16.294Z] Bash-1.0.6 [2022-11-10T00:15:16.294Z] [2022-11-10T00:15:16.294Z] [2022-11-10T00:15:16.294Z] ==> git version 2.25.1 found [2022-11-10T00:15:16.294Z] ==> 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 [2022-11-10T00:15:16.294Z] Release-Date: 2020-01-08 [2022-11-10T00:15:16.294Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-10T00:15:16.294Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-10T00:15:16.294Z] ==> Jenkins CI detected. [2022-11-10T00:15:16.294Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-11-10T00:15:16.294Z] project root: . [2022-11-10T00:15:16.294Z] --> token set from env [2022-11-10T00:15:16.294Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-10T00:15:16.294Z] ==> Running gcov in . (disable via -X gcov) [2022-11-10T00:15:16.294Z] ==> Python coveragepy not found [2022-11-10T00:15:16.294Z] ==> Searching for coverage reports in: [2022-11-10T00:15:16.294Z] + . [2022-11-10T00:15:16.294Z] -> Found 1 reports [2022-11-10T00:15:16.294Z] ==> Detecting git/mercurial file structure [2022-11-10T00:15:16.294Z] ==> Reading reports [2022-11-10T00:15:16.553Z] + ./coverage.out bytes=23241 [2022-11-10T00:15:16.553Z] ==> Appending adjustments [2022-11-10T00:15:16.553Z] https://docs.codecov.io/docs/fixing-reports [2022-11-10T00:15:16.553Z] + Found adjustments [2022-11-10T00:15:16.553Z] ==> Gzipping contents [2022-11-10T00:15:16.553Z] 4.0K /tmp/codecov.OUpru8.gz [2022-11-10T00:15:16.553Z] ==> Uploading reports [2022-11-10T00:15:16.553Z] url: https://codecov.io [2022-11-10T00:15:16.553Z] query: branch=main&commit=251be81c94d6bf2c69d06494166ea5d98cfe24ab&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-10T00:15:16.553Z] -> Pinging Codecov [2022-11-10T00:15:16.553Z] 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-10T00:15:17.120Z] -> Uploading to [2022-11-10T00:15:17.120Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-10/55DBCA73C666E3227836607328DD7E49/251be81c94d6bf2c69d06494166ea5d98cfe24ab/f97fa0e4-f6bf-417f-abb6-b559776d6ee2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221110T001516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb759c8526e71577b91d1de0d42b628340317c34418adb4cd55db75bc196bb84 [2022-11-10T00:15:17.120Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-10T00:15:17.120Z] Dload Upload Total Spent Left Speed [2022-11-10T00:15:17.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 14555 --:--:-- --:--:-- --:--:-- 14555 [2022-11-10T00:15:17.379Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [2022-11-10T00:15:17.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-10T00:15:17.630Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-10T00:15:17.641Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:17.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-10T00:15:17.934Z] [2022-11-10T00:15:17.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:18.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-10T00:15:18.231Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-10T00:15:18.231Z] df9b9388f04a: Pulling fs layer [2022-11-10T00:15:18.231Z] 52dc419b0ee2: Pulling fs layer [2022-11-10T00:15:18.231Z] 25bc292e5bac: Pulling fs layer [2022-11-10T00:15:18.231Z] 114826534d7a: Pulling fs layer [2022-11-10T00:15:18.231Z] 4657fd5d0bcf: Pulling fs layer [2022-11-10T00:15:18.231Z] 6ad1cebc031e: Pulling fs layer [2022-11-10T00:15:18.231Z] 4657fd5d0bcf: Waiting [2022-11-10T00:15:18.231Z] 114826534d7a: Waiting [2022-11-10T00:15:18.231Z] 8a3aa393b2d8: Pulling fs layer [2022-11-10T00:15:18.231Z] 6ad1cebc031e: Waiting [2022-11-10T00:15:18.231Z] 25bc292e5bac: Verifying Checksum [2022-11-10T00:15:18.231Z] 25bc292e5bac: Download complete [2022-11-10T00:15:18.231Z] 52dc419b0ee2: Download complete [2022-11-10T00:15:18.231Z] 4657fd5d0bcf: Verifying Checksum [2022-11-10T00:15:18.231Z] 4657fd5d0bcf: Download complete [2022-11-10T00:15:18.231Z] df9b9388f04a: Verifying Checksum [2022-11-10T00:15:18.231Z] df9b9388f04a: Download complete [2022-11-10T00:15:18.495Z] df9b9388f04a: Pull complete [2022-11-10T00:15:18.495Z] 52dc419b0ee2: Pull complete [2022-11-10T00:15:18.495Z] 6ad1cebc031e: Verifying Checksum [2022-11-10T00:15:18.495Z] 6ad1cebc031e: Download complete [2022-11-10T00:15:18.495Z] 25bc292e5bac: Pull complete [2022-11-10T00:15:19.067Z] 114826534d7a: Verifying Checksum [2022-11-10T00:15:19.067Z] 114826534d7a: Download complete [2022-11-10T00:15:19.067Z] 8a3aa393b2d8: Verifying Checksum [2022-11-10T00:15:19.067Z] 8a3aa393b2d8: Download complete [2022-11-10T00:15:23.251Z] 114826534d7a: Pull complete [2022-11-10T00:15:23.251Z] 4657fd5d0bcf: Pull complete [2022-11-10T00:15:23.251Z] 6ad1cebc031e: Pull complete [2022-11-10T00:15:25.780Z] 8a3aa393b2d8: Pull complete [2022-11-10T00:15:25.780Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-10T00:15:25.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-10T00:15:25.780Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:15:25.866Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:15:25.907Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-10T00:15:27.960Z] $ docker top 499df6e9a522d45fa2e5c948351d9c8031db30777da68e7fe3595ea818a63f5b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-10T00:15:28.016Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-11-10T00:15:28.293Z] + set -o pipefail [2022-11-10T00:15:28.293Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9c463c30-8467-431d-a7e3-5a3d508323cb [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] [2022-11-10T00:15:34.864Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-10T00:15:34.864Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-10T00:15:34.864Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-10T00:15:34.886Z] $ docker stop --time=1 499df6e9a522d45fa2e5c948351d9c8031db30777da68e7fe3595ea818a63f5b [2022-11-10T00:15:37.162Z] $ docker rm -f 499df6e9a522d45fa2e5c948351d9c8031db30777da68e7fe3595ea818a63f5b [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 [2022-11-10T00:15:37.811Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] sh [2022-11-10T00:15:38.101Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T00:15:38.101Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:38.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:15:38.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:15:38.465Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:15:38.504Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-10T00:15:38.902Z] $ docker top 045df48017954b58f67c801408a11cbc65e9f3e399f05df7e9c79ae8b1954c84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T00:15:38.967Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.25' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T00:15:39.256Z] + git semver [Pipeline] } [2022-11-10T00:15:39.536Z] $ docker stop --time=1 045df48017954b58f67c801408a11cbc65e9f3e399f05df7e9c79ae8b1954c84 [2022-11-10T00:15:40.862Z] $ docker rm -f 045df48017954b58f67c801408a11cbc65e9f3e399f05df7e9c79ae8b1954c84 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:41.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-10T00:15:41.223Z] [2022-11-10T00:15:41.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:41.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-10T00:15:41.516Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-10T00:15:41.516Z] ab5ef0e58194: Pulling fs layer [2022-11-10T00:15:41.516Z] 9712f1f96733: Pulling fs layer [2022-11-10T00:15:41.516Z] 63f879dbbcfc: Pulling fs layer [2022-11-10T00:15:41.516Z] 0d9ebad4ef96: Pulling fs layer [2022-11-10T00:15:41.516Z] e9a5061849ea: Pulling fs layer [2022-11-10T00:15:41.516Z] d747dcd14b5f: Pulling fs layer [2022-11-10T00:15:41.516Z] 2de7ff778b66: Pulling fs layer [2022-11-10T00:15:41.516Z] 0d9ebad4ef96: Waiting [2022-11-10T00:15:41.516Z] e9a5061849ea: Waiting [2022-11-10T00:15:41.516Z] d747dcd14b5f: Waiting [2022-11-10T00:15:41.516Z] 2de7ff778b66: Waiting [2022-11-10T00:15:41.516Z] 9712f1f96733: Download complete [2022-11-10T00:15:42.092Z] 63f879dbbcfc: Verifying Checksum [2022-11-10T00:15:42.092Z] 63f879dbbcfc: Download complete [2022-11-10T00:15:42.092Z] ab5ef0e58194: Verifying Checksum [2022-11-10T00:15:42.092Z] ab5ef0e58194: Download complete [2022-11-10T00:15:42.092Z] e9a5061849ea: Verifying Checksum [2022-11-10T00:15:42.092Z] e9a5061849ea: Download complete [2022-11-10T00:15:42.092Z] d747dcd14b5f: Verifying Checksum [2022-11-10T00:15:42.092Z] d747dcd14b5f: Download complete [2022-11-10T00:15:42.349Z] 0d9ebad4ef96: Verifying Checksum [2022-11-10T00:15:42.349Z] 0d9ebad4ef96: Download complete [2022-11-10T00:15:42.349Z] 2de7ff778b66: Verifying Checksum [2022-11-10T00:15:42.349Z] 2de7ff778b66: Download complete [2022-11-10T00:15:44.880Z] ab5ef0e58194: Pull complete [2022-11-10T00:15:44.880Z] 9712f1f96733: Pull complete [2022-11-10T00:15:45.817Z] 63f879dbbcfc: Pull complete [2022-11-10T00:15:49.100Z] 0d9ebad4ef96: Pull complete [2022-11-10T00:15:49.360Z] e9a5061849ea: Pull complete [2022-11-10T00:15:49.360Z] d747dcd14b5f: Pull complete [2022-11-10T00:15:50.295Z] 2de7ff778b66: Pull complete [2022-11-10T00:15:50.295Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-10T00:15:50.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-10T00:15:50.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:15:50.378Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:15:50.418Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-10T00:15:52.546Z] $ docker top 0a37c1d057f77660503725e3c0dfaa257adf1725e591551808326b1ec9ee6f60 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:15:52.611Z] provisioning config files... [2022-11-10T00:15:52.617Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10625125636869458302tmp [2022-11-10T00:15:52.627Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12221300593360167230tmp [2022-11-10T00:15:52.636Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4139150460115703827tmp [Pipeline] { [Pipeline] echo [2022-11-10T00:15:52.652Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:15:52.933Z] ---> sigul-configuration.sh [2022-11-10T00:15:52.933Z] gpg: directory `/root/.gnupg' created [2022-11-10T00:15:52.933Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-10T00:15:52.933Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-10T00:15:52.933Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-10T00:15:52.933Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-10T00:15:52.933Z] gpg: CAST5 encrypted data [2022-11-10T00:15:52.933Z] gpg: encrypted with 1 passphrase [2022-11-10T00:15:52.933Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-10T00:15:53.216Z] + mkdir /home/jenkins [2022-11-10T00:15:53.217Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-10T00:15:53.501Z] + 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 [2022-11-10T00:15:53.509Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:15:53.793Z] ---> sigul-install.sh [2022-11-10T00:15:53.794Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-10T00:15:54.082Z] + git tag --list [2022-11-10T00:15:54.082Z] 0.7.1 [2022-11-10T00:15:54.082Z] v1.0.0 [2022-11-10T00:15:54.082Z] v1.1.0 [2022-11-10T00:15:54.082Z] v1.1.1 [2022-11-10T00:15:54.082Z] v1.2.2 [2022-11-10T00:15:54.082Z] v1.3.0 [2022-11-10T00:15:54.082Z] v1.3.1 [2022-11-10T00:15:54.082Z] v2.0.0 [2022-11-10T00:15:54.082Z] v2.1.0 [2022-11-10T00:15:54.082Z] v2.1.1 [2022-11-10T00:15:54.082Z] v2.1.1-dev.1 [2022-11-10T00:15:54.082Z] v2.1.1-dev.2 [2022-11-10T00:15:54.082Z] v2.1.1-dev.3 [2022-11-10T00:15:54.082Z] v2.2.0 [2022-11-10T00:15:54.082Z] v2.2.1-dev.1 [2022-11-10T00:15:54.082Z] v2.2.1-dev.2 [2022-11-10T00:15:54.082Z] v2.2.1-dev.3 [2022-11-10T00:15:54.082Z] v2.2.1-dev.4 [2022-11-10T00:15:54.082Z] v2.2.1-dev.5 [2022-11-10T00:15:54.082Z] v2.2.1-dev.6 [2022-11-10T00:15:54.082Z] v2.2.1-dev.7 [2022-11-10T00:15:54.082Z] v2.3.0 [2022-11-10T00:15:54.082Z] v2.3.0-dev.10 [2022-11-10T00:15:54.082Z] v2.3.0-dev.11 [2022-11-10T00:15:54.082Z] v2.3.0-dev.12 [2022-11-10T00:15:54.082Z] v2.3.0-dev.13 [2022-11-10T00:15:54.082Z] v2.3.0-dev.14 [2022-11-10T00:15:54.082Z] v2.3.0-dev.15 [2022-11-10T00:15:54.082Z] v2.3.0-dev.16 [2022-11-10T00:15:54.082Z] v2.3.0-dev.17 [2022-11-10T00:15:54.082Z] v2.3.0-dev.18 [2022-11-10T00:15:54.082Z] v2.3.0-dev.19 [2022-11-10T00:15:54.082Z] v2.3.0-dev.20 [2022-11-10T00:15:54.082Z] v2.3.0-dev.21 [2022-11-10T00:15:54.082Z] v2.3.0-dev.22 [2022-11-10T00:15:54.082Z] v2.3.0-dev.23 [2022-11-10T00:15:54.082Z] v2.3.0-dev.24 [2022-11-10T00:15:54.082Z] v2.3.0-dev.25 [2022-11-10T00:15:54.082Z] v2.3.0-dev.7 [2022-11-10T00:15:54.082Z] v2.3.0-dev.8 [2022-11-10T00:15:54.082Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-10T00:15:54.367Z] + lftools sign git-tag v2.3.0 [2022-11-10T00:15:54.934Z] Signing Git tag with Sigul... [2022-11-10T00:15:54.934Z] Signing v2.3.0 [Pipeline] echo [2022-11-10T00:15:55.202Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:15:55.485Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-10T00:15:55.492Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-10T00:15:55.520Z] $ docker stop --time=1 0a37c1d057f77660503725e3c0dfaa257adf1725e591551808326b1ec9ee6f60 [2022-11-10T00:15:56.864Z] $ docker rm -f 0a37c1d057f77660503725e3c0dfaa257adf1725e591551808326b1ec9ee6f60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-10T00:15:57.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T00:15:57.240Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:15:57.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:15:57.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:15:57.602Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:15:57.640Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-10T00:15:58.005Z] $ docker top c0f67bbf7c2f6f796aa8311e7247874af1e80fdd37706d5b1d08534c4f45d112 -eo pid,comm [2022-11-10T00:15:58.042Z] 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). [2022-11-10T00:15:58.042Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T00:15:58.072Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.25' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T00:15:58.363Z] + git semver [Pipeline] } [2022-11-10T00:15:58.643Z] $ docker stop --time=1 c0f67bbf7c2f6f796aa8311e7247874af1e80fdd37706d5b1d08534c4f45d112 [2022-11-10T00:15:59.954Z] $ docker rm -f c0f67bbf7c2f6f796aa8311e7247874af1e80fdd37706d5b1d08534c4f45d112 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T00:16:00.286Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T00:16:00.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:16:00.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T00:16:00.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:16:00.650Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:16:00.695Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-10T00:16:01.100Z] $ docker top fc4e22b9db217e47fc75fab04040fb3aca1bc7367b680d52ad93badfa79f143b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T00:16:01.175Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.25' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T00:16:01.472Z] + git semver [Pipeline] } [2022-11-10T00:16:01.759Z] $ docker stop --time=1 fc4e22b9db217e47fc75fab04040fb3aca1bc7367b680d52ad93badfa79f143b [2022-11-10T00:16:03.075Z] $ docker rm -f fc4e22b9db217e47fc75fab04040fb3aca1bc7367b680d52ad93badfa79f143b [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 [2022-11-10T00:16:03.650Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-11-10T00:16:03.651Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-10T00:16:03.651Z] total 16 [2022-11-10T00:16:03.651Z] drwxr-xr-x 3 root root 4096 Nov 10 00:08 . [2022-11-10T00:16:03.651Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 00:15 .. [2022-11-10T00:16:03.651Z] drwxr-xr-x 2 root root 4096 Nov 10 00:08 cost [2022-11-10T00:16:03.651Z] -rw-r--r-- 1 root root 87 Nov 10 00:08 cost.csv [2022-11-10T00:16:03.651Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-10T00:16:03.651Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-10T00:16:03.651Z] total 16 [2022-11-10T00:16:03.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 00:08 . [2022-11-10T00:16:03.651Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 00:15 .. [2022-11-10T00:16:03.651Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 00:08 cost [2022-11-10T00:16:03.651Z] -rw-r--r-- 1 jenkins jenkins 87 Nov 10 00:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:03.944Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:04.805Z] ---> package-listing.sh [2022-11-10T00:16:04.805Z] ++ facter osfamily [2022-11-10T00:16:04.805Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-10T00:16:05.063Z] + OS_FAMILY=debian [2022-11-10T00:16:05.063Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-11-10T00:16:05.063Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-10T00:16:05.063Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-10T00:16:05.063Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-10T00:16:05.063Z] + PACKAGES=/tmp/packages_start.txt [2022-11-10T00:16:05.064Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-10T00:16:05.064Z] + PACKAGES=/tmp/packages_end.txt [2022-11-10T00:16:05.064Z] + case "${OS_FAMILY}" in [2022-11-10T00:16:05.064Z] + dpkg -l [2022-11-10T00:16:05.064Z] + grep '^ii' [2022-11-10T00:16:05.064Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-10T00:16:05.064Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-10T00:16:05.064Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-10T00:16:05.064Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-10T00:16:05.064Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-11-10T00:16:05.064Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-11-10T00:16:05.074Z] 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 [2022-11-10T00:16:05.350Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T00:16:05.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T00:16:05.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T00:16:05.983Z] prd-ubuntu20.04-docker-8c-8g-118869 does not seem to be running inside a container [2022-11-10T00:16:06.024Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T00:16:06.269Z] $ docker top e4b69d4eacedc1aac1038206de0d4d02f77e9f6676a1f33f37fb69e931f23790 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T00:16:06.601Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-10T00:16:06.886Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-10T00:16:07.170Z] + ls /var/log/sa-host [2022-11-10T00:16:07.171Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T00:16:07.328Z] provisioning config files... [2022-11-10T00:16:07.335Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11490132089171814844tmp [Pipeline] { [Pipeline] echo [2022-11-10T00:16:07.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:07.629Z] ---> create-netrc.sh [Pipeline] } [2022-11-10T00:16:07.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:07.960Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-10T00:16:07.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:08.250Z] ---> sudo-logs.sh [2022-11-10T00:16:08.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-10T00:16:08.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:08.561Z] ---> job-cost.sh [2022-11-10T00:16:08.561Z] lf-activate-venv: SKIPPING [2022-11-10T00:16:08.561Z] DEBUG: total: 0.2199999988079071 [2022-11-10T00:16:08.561Z] INFO: Retrieving Stack Cost... [2022-11-10T00:16:08.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T00:16:09.457Z] INFO: Archiving Costs [Pipeline] echo [2022-11-10T00:16:09.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T00:16:09.860Z] ---> logs-deploy.sh [2022-11-10T00:16:09.860Z] lf-activate-venv: SKIPPING [2022-11-10T00:16:09.860Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/66 [2022-11-10T00:16:09.860Z] INFO: archiving workspace using pattern(s): [2022-11-10T00:16:10.812Z] Archives upload complete. [2022-11-10T00:16:10.812Z] INFO: archiving logs to Nexus