Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 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-ssh757043840553207774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh164666091498670243.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2788322049600223654.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8083259748134719398.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1665584562382006224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29357 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373)" > git rev-list --no-walk 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-15T22:13:27.383Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-15T22:13:27.422Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-15T22:13:27.436Z] ========================================================= [2022-09-15T22:13:27.436Z] EdgeX Global Pipelines Version Info [2022-09-15T22:13:27.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:13:28.223Z] ------------------- [2022-09-15T22:13:28.223Z] stable info: [2022-09-15T22:13:28.223Z] ------------------- [2022-09-15T22:13:28.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-15T22:13:28.223Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T22:13:28.223Z] Message: update stable to v1.0.239 [2022-09-15T22:13:28.796Z] ------------------- [2022-09-15T22:13:28.797Z] experimental info: [2022-09-15T22:13:28.797Z] ------------------- [2022-09-15T22:13:28.797Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-15T22:13:28.797Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-15T22:13:28.797Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-15T22:13:29.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-15T22:13:29.073Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-15T22:13:29.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-15T22:13:29.099Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-15T22:13:29.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-15T22:13:29.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-15T22:13:29.131Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-15T22:13:29.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-15T22:13:29.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-15T22:13:29.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-15T22:13:29.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-15T22:13:29.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-15T22:13:29.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-15T22:13:29.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-15T22:13:29.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T22:13:29.236Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-15T22:13:29.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T22:13:29.259Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-15T22:13:29.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-15T22:13:29.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-15T22:13:29.294Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-15T22:13:29.308Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-15T22:13:29.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-15T22:13:29.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-15T22:13:29.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-15T22:13:29.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-15T22:13:29.364Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-15T22:13:29.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-15T22:13:29.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-15T22:13:29.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-15T22:13:29.404Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo [2022-09-15T22:13:29.413Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53d947d [Pipeline] echo [2022-09-15T22:13:29.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:13:29.468Z] provisioning config files... [2022-09-15T22:13:29.484Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config437574722236375686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:13:29.784Z] ---> docker-login.sh [2022-09-15T22:13:29.784Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:13:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:30.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:30.044Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:30.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:30.044Z] [2022-09-15T22:13:30.044Z] Login Succeeded [2022-09-15T22:13:30.044Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:13:30.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:30.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:30.305Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:30.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:30.305Z] [2022-09-15T22:13:30.305Z] Login Succeeded [2022-09-15T22:13:30.305Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:13:30.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:30.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:30.305Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:30.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:30.305Z] [2022-09-15T22:13:30.305Z] Login Succeeded [2022-09-15T22:13:30.566Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:13:30.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:30.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:30.566Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:30.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:30.566Z] [2022-09-15T22:13:30.566Z] Login Succeeded [2022-09-15T22:13:30.566Z] docker.io [2022-09-15T22:13:30.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:31.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:31.138Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:31.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:31.138Z] [2022-09-15T22:13:31.138Z] Login Succeeded [2022-09-15T22:13:31.138Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:13:31.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-15T22:13:31.533Z] + git rev-list -1 --merges 53d947db5a4f9528d63bb92e74d3c6e84cd7a675~1..53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo [2022-09-15T22:13:31.575Z] -----------> git rev-list -1 --merges 53d947db5a4f9528d63bb92e74d3c6e84cd7a675~1..53d947db5a4f9528d63bb92e74d3c6e84cd7a675 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [false] [Pipeline] sh [2022-09-15T22:13:31.892Z] + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo [2022-09-15T22:13:31.909Z] ========================================================= [2022-09-15T22:13:31.909Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-15T22:13:31.909Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:13:32.248Z] + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo [2022-09-15T22:13:32.259Z] [semverPrep] GIT_COMMIT: 53d947db5a4f9528d63bb92e74d3c6e84cd7a675, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373) [Pipeline] echo [2022-09-15T22:13:32.270Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-15T22:13:32.620Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:13:32.620Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-15T22:13:32.620Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-15T22:13:32.620Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-15T22:13:32.620Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-15T22:13:32.620Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-15T22:13:32.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:13:32.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:13:32.975Z] [2022-09-15T22:13:32.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:13:33.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:13:33.281Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-15T22:13:33.281Z] b85a868b505f: Pulling fs layer [2022-09-15T22:13:33.281Z] e2be974225ed: Pulling fs layer [2022-09-15T22:13:33.281Z] 339a4e72a1f5: Pulling fs layer [2022-09-15T22:13:33.281Z] 988bab9f4d93: Pulling fs layer [2022-09-15T22:13:33.281Z] 1469e6f7b9e6: Pulling fs layer [2022-09-15T22:13:33.281Z] eaf3925da568: Pulling fs layer [2022-09-15T22:13:33.281Z] bab4dde63d76: Pulling fs layer [2022-09-15T22:13:33.281Z] bde34c3a00c8: Pulling fs layer [2022-09-15T22:13:33.281Z] b352a97aabf1: Pulling fs layer [2022-09-15T22:13:33.281Z] 4872d77fe225: Pulling fs layer [2022-09-15T22:13:33.281Z] 5851b861e8e6: Pulling fs layer [2022-09-15T22:13:33.281Z] bab4dde63d76: Waiting [2022-09-15T22:13:33.281Z] bde34c3a00c8: Waiting [2022-09-15T22:13:33.281Z] 4872d77fe225: Waiting [2022-09-15T22:13:33.281Z] b352a97aabf1: Waiting [2022-09-15T22:13:33.281Z] 988bab9f4d93: Waiting [2022-09-15T22:13:33.281Z] eaf3925da568: Waiting [2022-09-15T22:13:33.281Z] 988bab9f4d93: Verifying Checksum [2022-09-15T22:13:33.281Z] 988bab9f4d93: Download complete [2022-09-15T22:13:33.544Z] 1469e6f7b9e6: Verifying Checksum [2022-09-15T22:13:33.544Z] 1469e6f7b9e6: Download complete [2022-09-15T22:13:33.544Z] eaf3925da568: Download complete [2022-09-15T22:13:33.544Z] 339a4e72a1f5: Verifying Checksum [2022-09-15T22:13:33.544Z] 339a4e72a1f5: Download complete [2022-09-15T22:13:33.544Z] bde34c3a00c8: Verifying Checksum [2022-09-15T22:13:33.544Z] bde34c3a00c8: Download complete [2022-09-15T22:13:33.808Z] b85a868b505f: Verifying Checksum [2022-09-15T22:13:33.808Z] b85a868b505f: Download complete [2022-09-15T22:13:33.808Z] b352a97aabf1: Verifying Checksum [2022-09-15T22:13:33.808Z] b352a97aabf1: Download complete [2022-09-15T22:13:33.808Z] 4872d77fe225: Download complete [2022-09-15T22:13:33.808Z] 5851b861e8e6: Download complete [2022-09-15T22:13:34.069Z] bab4dde63d76: Download complete [2022-09-15T22:13:35.009Z] b85a868b505f: Pull complete [2022-09-15T22:13:35.268Z] e2be974225ed: Pull complete [2022-09-15T22:13:35.840Z] 339a4e72a1f5: Pull complete [2022-09-15T22:13:35.841Z] 988bab9f4d93: Pull complete [2022-09-15T22:13:36.414Z] 1469e6f7b9e6: Pull complete [2022-09-15T22:13:36.414Z] eaf3925da568: Pull complete [2022-09-15T22:13:38.329Z] bab4dde63d76: Pull complete [2022-09-15T22:13:38.594Z] bde34c3a00c8: Pull complete [2022-09-15T22:13:38.594Z] b352a97aabf1: Pull complete [2022-09-15T22:13:38.855Z] 4872d77fe225: Pull complete [2022-09-15T22:13:38.855Z] 5851b861e8e6: Pull complete [2022-09-15T22:13:38.855Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-15T22:13:38.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:13:38.855Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:13:38.955Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:13:38.983Z] $ 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-09-15T22:13:41.116Z] $ docker top f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 -eo pid,comm [2022-09-15T22:13:41.199Z] 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-09-15T22:13:41.199Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:13:41.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:13:41.230Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:13:41.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:13:41.352Z] $ docker exec f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent [2022-09-15T22:13:41.491Z] SSH_AUTH_SOCK=/tmp/ssh-Vq0p7xUABymf/agent.34 [2022-09-15T22:13:41.491Z] SSH_AGENT_PID=40 [2022-09-15T22:13:41.498Z] Running ssh-add (command line suppressed) [2022-09-15T22:13:41.623Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3770621594477078032.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3770621594477078032.key) [2022-09-15T22:13:41.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:13:41.941Z] + git tag --points-at HEAD [Pipeline] } [2022-09-15T22:13:41.948Z] $ docker exec --env ******** --env ******** f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent -k [2022-09-15T22:13:42.065Z] unset SSH_AUTH_SOCK; [2022-09-15T22:13:42.065Z] unset SSH_AGENT_PID; [2022-09-15T22:13:42.065Z] echo Agent pid 40 killed; [2022-09-15T22:13:42.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-15T22:13:42.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:13:42.109Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:13:42.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:13:42.236Z] $ docker exec f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent [2022-09-15T22:13:42.379Z] SSH_AUTH_SOCK=/tmp/ssh-1SB4Tlb56u3K/agent.73 [2022-09-15T22:13:42.379Z] SSH_AGENT_PID=79 [2022-09-15T22:13:42.387Z] Running ssh-add (command line suppressed) [2022-09-15T22:13:42.488Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_124651305106214036.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_124651305106214036.key) [2022-09-15T22:13:42.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:13:42.821Z] + git semver init [2022-09-15T22:13:43.083Z] 2022-09-15 22:13:42,988 [run_init] DEBUG init version:0.0.0 force:False [2022-09-15T22:13:43.083Z] 2022-09-15 22:13:42,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-09-15T22:13:43.083Z] 2022-09-15 22:13:42,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-09-15T22:13:43.083Z] 2022-09-15 22:13:42,990 [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-09-15T22:13:44.026Z] 2022-09-15 22:13:43,860 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-09-15T22:13:44.026Z] 2022-09-15 22:13:43,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-09-15T22:13:44.026Z] 2022-09-15 22:13:43,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:13:44.026Z] 2022-09-15 22:13:43,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:13:44.026Z] 2.3.0-dev.12 [Pipeline] } [2022-09-15T22:13:44.028Z] $ docker exec --env ******** --env ******** f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent -k [2022-09-15T22:13:44.146Z] unset SSH_AUTH_SOCK; [2022-09-15T22:13:44.147Z] unset SSH_AGENT_PID; [2022-09-15T22:13:44.147Z] echo Agent pid 79 killed; [2022-09-15T22:13:44.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:13:44.479Z] + git semver [Pipeline] } [2022-09-15T22:13:44.746Z] $ docker stop --time=1 f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 [2022-09-15T22:13:46.066Z] $ docker rm -f f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:13:46.438Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-15T22:13:46.730Z] Stashed 1 file(s) [Pipeline] echo [2022-09-15T22:13:46.733Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:13:46.909Z] provisioning config files... [2022-09-15T22:13:46.923Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8221913375782701684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:13:47.223Z] ---> docker-login.sh [2022-09-15T22:13:47.223Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:13:47.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:47.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:47.223Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:47.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:47.223Z] [2022-09-15T22:13:47.223Z] Login Succeeded [2022-09-15T22:13:47.223Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:13:47.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:47.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:47.482Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:47.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:47.482Z] [2022-09-15T22:13:47.482Z] Login Succeeded [2022-09-15T22:13:47.482Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:13:47.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:47.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:47.482Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:47.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:47.482Z] [2022-09-15T22:13:47.482Z] Login Succeeded [2022-09-15T22:13:47.482Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:13:47.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:47.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:47.742Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:47.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:47.742Z] [2022-09-15T22:13:47.742Z] Login Succeeded [2022-09-15T22:13:47.742Z] docker.io [2022-09-15T22:13:47.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:13:48.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:13:48.315Z] Configure a credential helper to remove this warning. See [2022-09-15T22:13:48.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:13:48.315Z] [2022-09-15T22:13:48.315Z] Login Succeeded [2022-09-15T22:13:48.315Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:13:48.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T22:13:48.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:13:48.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:13:48.411Z] ========================================================= [2022-09-15T22:13:48.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-15T22:13:48.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:13:48.733Z] + 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-09-15T22:13:48.733Z] Sending build context to Docker daemon 6.11MB [2022-09-15T22:13:48.733Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:13:48.733Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-15T22:13:48.733Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-15T22:13:48.733Z] 2408cc74d12b: Pulling fs layer [2022-09-15T22:13:48.733Z] ea60b727a1ce: Pulling fs layer [2022-09-15T22:13:48.733Z] 30c4a7721957: Pulling fs layer [2022-09-15T22:13:48.733Z] 370296b7ddb6: Pulling fs layer [2022-09-15T22:13:48.733Z] 7c6cee850709: Pulling fs layer [2022-09-15T22:13:48.733Z] 39a5fcdaea64: Pulling fs layer [2022-09-15T22:13:48.733Z] d94ebbe4e438: Pulling fs layer [2022-09-15T22:13:48.733Z] bcfd1f05c69d: Pulling fs layer [2022-09-15T22:13:48.733Z] 59ccb84bbe0f: Pulling fs layer [2022-09-15T22:13:48.733Z] 39a5fcdaea64: Waiting [2022-09-15T22:13:48.733Z] d94ebbe4e438: Waiting [2022-09-15T22:13:48.733Z] bcfd1f05c69d: Waiting [2022-09-15T22:13:48.733Z] 59ccb84bbe0f: Waiting [2022-09-15T22:13:48.733Z] 7c6cee850709: Waiting [2022-09-15T22:13:48.733Z] 370296b7ddb6: Waiting [2022-09-15T22:13:48.733Z] 30c4a7721957: Verifying Checksum [2022-09-15T22:13:48.733Z] 30c4a7721957: Download complete [2022-09-15T22:13:48.733Z] ea60b727a1ce: Download complete [2022-09-15T22:13:49.001Z] 7c6cee850709: Verifying Checksum [2022-09-15T22:13:49.001Z] 7c6cee850709: Download complete [2022-09-15T22:13:49.001Z] 39a5fcdaea64: Download complete [2022-09-15T22:13:49.001Z] 2408cc74d12b: Verifying Checksum [2022-09-15T22:13:49.001Z] 2408cc74d12b: Download complete [2022-09-15T22:13:49.001Z] d94ebbe4e438: Verifying Checksum [2022-09-15T22:13:49.001Z] d94ebbe4e438: Download complete [2022-09-15T22:13:49.001Z] 2408cc74d12b: Pull complete [2022-09-15T22:13:49.270Z] ea60b727a1ce: Pull complete [2022-09-15T22:13:49.270Z] 30c4a7721957: Pull complete [2022-09-15T22:13:49.876Z] 59ccb84bbe0f: Verifying Checksum [2022-09-15T22:13:49.876Z] 59ccb84bbe0f: Download complete [2022-09-15T22:13:50.141Z] 370296b7ddb6: Verifying Checksum [2022-09-15T22:13:50.141Z] 370296b7ddb6: Download complete [2022-09-15T22:13:50.141Z] bcfd1f05c69d: Verifying Checksum [2022-09-15T22:13:50.141Z] bcfd1f05c69d: Download complete [2022-09-15T22:13:54.344Z] 370296b7ddb6: Pull complete [2022-09-15T22:13:54.604Z] 7c6cee850709: Pull complete [2022-09-15T22:13:54.604Z] 39a5fcdaea64: Pull complete [2022-09-15T22:13:54.863Z] d94ebbe4e438: Pull complete [2022-09-15T22:13:57.400Z] bcfd1f05c69d: Pull complete [2022-09-15T22:13:57.969Z] 59ccb84bbe0f: Pull complete [2022-09-15T22:13:57.969Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-15T22:13:57.969Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-15T22:13:57.969Z] ---> a4fb48ad2a94 [2022-09-15T22:13:57.969Z] Step 3/10 : ARG MAKE='make build' [2022-09-15T22:14:01.267Z] ---> Running in 44904553f568 [2022-09-15T22:14:01.267Z] Removing intermediate container 44904553f568 [2022-09-15T22:14:01.267Z] ---> 113b0f36ba04 [2022-09-15T22:14:01.267Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:14:01.267Z] ---> Running in 0b9ae14d2d0c [2022-09-15T22:14:01.531Z] Removing intermediate container 0b9ae14d2d0c [2022-09-15T22:14:01.531Z] ---> 439de5b8b0ca [2022-09-15T22:14:01.531Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-15T22:14:01.798Z] ---> Running in 2e30ce278a56 [2022-09-15T22:14:01.859Z] Still waiting to schedule task [2022-09-15T22:14:01.859Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-15T22:14:02.060Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:14:03.001Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:14:03.001Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-15T22:14:03.262Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-15T22:14:03.262Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-15T22:14:03.523Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-15T22:14:03.523Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-15T22:14:03.523Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-15T22:14:03.784Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-15T22:14:03.784Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-15T22:14:03.784Z] Executing busybox-1.35.0-r13.trigger [2022-09-15T22:14:03.784Z] OK: 217 MiB in 59 packages [2022-09-15T22:14:04.380Z] Removing intermediate container 2e30ce278a56 [2022-09-15T22:14:04.380Z] ---> 8fb12aae5406 [2022-09-15T22:14:04.380Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-15T22:14:04.380Z] ---> Running in c1eb60dbede2 [2022-09-15T22:14:04.380Z] Removing intermediate container c1eb60dbede2 [2022-09-15T22:14:04.380Z] ---> 2f671e09ff25 [2022-09-15T22:14:04.380Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-15T22:14:04.640Z] ---> 4998d4d9f2fb [2022-09-15T22:14:04.640Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:14:04.640Z] ---> Running in f3967d0bd4c5 [2022-09-15T22:14:22.775Z] Removing intermediate container f3967d0bd4c5 [2022-09-15T22:14:22.775Z] ---> 922f931f71ba [2022-09-15T22:14:22.775Z] Step 9/10 : COPY . . [2022-09-15T22:14:23.035Z] ---> b35fd46c0e2d [2022-09-15T22:14:23.035Z] Step 10/10 : RUN ${MAKE} [2022-09-15T22:14:23.035Z] ---> Running in 16da05f209cf [2022-09-15T22:14:23.296Z] noop [2022-09-15T22:14:23.556Z] Removing intermediate container 16da05f209cf [2022-09-15T22:14:23.556Z] ---> 52ab669539bb [2022-09-15T22:14:23.556Z] Successfully built 52ab669539bb [2022-09-15T22:14:23.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:23.879Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T22:14:23.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:14:23.961Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:14:24.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-15T22:14:24.416Z] $ docker top 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:14:24.786Z] + go version [2022-09-15T22:14:24.787Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-15T22:14:24.817Z] $ docker stop --time=1 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf [2022-09-15T22:14:26.121Z] $ docker rm -f 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:26.613Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-15T22:14:26.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:14:26.699Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:14:26.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-15T22:14:27.124Z] $ docker top f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:14:27.486Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-15T22:14:27.786Z] + make test [2022-09-15T22:14:27.786Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-15T22:14:28.044Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-15T22:14:38.030Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-15T22:14:38.030Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2022-09-15T22:14:44.601Z] 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-09-15T22:14:44.601Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T22:14:48.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T22:14:48.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T22:14:48.798Z] ./bin/test-attribution-txt.sh [2022-09-15T22:14:48.798Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-15T22:14:48.798Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-15T22:14:48.798Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-15T22:14:48.812Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T22:14:48.832Z] $ docker stop --time=1 f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 [2022-09-15T22:14:50.767Z] $ docker rm -f f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:14:51.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T22:14:51.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-15T22:14:51.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T22:14:52.002Z] + ls -al . [2022-09-15T22:14:52.002Z] total 188 [2022-09-15T22:14:52.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:14 . [2022-09-15T22:14:52.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 .. [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:13 .dockerignore [2022-09-15T22:14:52.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:14 .git [2022-09-15T22:14:52.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 .github [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 15 22:13 .gitignore [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:13 .golangci.yml [2022-09-15T22:14:52.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:13 .semver [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 15 22:13 Attribution.txt [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 15 22:13 CHANGELOG.md [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 15 22:13 Dockerfile [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:13 GOVERNANCE.md [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 22:13 Jenkinsfile [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:13 LICENSE [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 15 22:13 Makefile [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 15 22:13 OWNERS.md [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 15 22:13 README.md [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION [2022-09-15T22:14:52.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 bin [2022-09-15T22:14:52.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 cmd [2022-09-15T22:14:52.002Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 15 22:14 coverage.out [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 3572 Sep 15 22:13 go.mod [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 37058 Sep 15 22:13 go.sum [2022-09-15T22:14:52.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 internal [2022-09-15T22:14:52.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 simulator [2022-09-15T22:14:52.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 snap [2022-09-15T22:14:52.002Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 15 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:14:52.314Z] + 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 --label arch=amd64 --label version=2.3.0-dev.12 . [2022-09-15T22:14:52.314Z] Sending build context to Docker daemon 6.134MB [2022-09-15T22:14:52.314Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:14:52.314Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-15T22:14:52.314Z] ---> 52ab669539bb [2022-09-15T22:14:52.314Z] Step 3/23 : ARG MAKE='make build' [2022-09-15T22:14:52.573Z] ---> Running in 5126d21f680f [2022-09-15T22:14:52.573Z] Removing intermediate container 5126d21f680f [2022-09-15T22:14:52.573Z] ---> 1ee17f1d9688 [2022-09-15T22:14:52.573Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:14:52.573Z] ---> Running in 6e62f50774ce [2022-09-15T22:14:53.143Z] Removing intermediate container 6e62f50774ce [2022-09-15T22:14:53.143Z] ---> 19b1d830c62b [2022-09-15T22:14:53.143Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-15T22:14:53.402Z] ---> Running in 62730cf7780f [2022-09-15T22:14:53.662Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:14:54.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:14:54.862Z] OK: 217 MiB in 59 packages [2022-09-15T22:14:55.123Z] Removing intermediate container 62730cf7780f [2022-09-15T22:14:55.123Z] ---> 81b985ddf5a3 [2022-09-15T22:14:55.123Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-15T22:14:55.123Z] ---> Running in 186c1a1e607c [2022-09-15T22:14:55.123Z] Removing intermediate container 186c1a1e607c [2022-09-15T22:14:55.123Z] ---> 80ab3df43737 [2022-09-15T22:14:55.123Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-15T22:14:55.382Z] ---> 983721c6e722 [2022-09-15T22:14:55.382Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:14:55.382Z] ---> Running in 96bd29a76ea4 [2022-09-15T22:14:55.951Z] Removing intermediate container 96bd29a76ea4 [2022-09-15T22:14:55.951Z] ---> 605c48eceb35 [2022-09-15T22:14:55.951Z] Step 9/23 : COPY . . [2022-09-15T22:14:56.522Z] ---> d777b75c24a9 [2022-09-15T22:14:56.522Z] Step 10/23 : RUN ${MAKE} [2022-09-15T22:14:56.522Z] ---> Running in b681e88c4444 [2022-09-15T22:14:56.780Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-15T22:15:18.747Z] Removing intermediate container b681e88c4444 [2022-09-15T22:15:18.747Z] ---> dcc1eb07d1a1 [2022-09-15T22:15:18.747Z] Step 11/23 : FROM alpine:3.14 [2022-09-15T22:15:18.747Z] 3.14: Pulling from library/alpine [2022-09-15T22:15:18.747Z] c7ed990a2339: Pulling fs layer [2022-09-15T22:15:18.747Z] c7ed990a2339: Verifying Checksum [2022-09-15T22:15:18.747Z] c7ed990a2339: Download complete [2022-09-15T22:15:18.747Z] c7ed990a2339: Pull complete [2022-09-15T22:15:18.747Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-15T22:15:18.747Z] Status: Downloaded newer image for alpine:3.14 [2022-09-15T22:15:18.747Z] ---> dd53f409bf0b [2022-09-15T22:15:18.747Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-15T22:15:18.747Z] ---> Running in e3bc6b7d8f09 [2022-09-15T22:15:18.747Z] Removing intermediate container e3bc6b7d8f09 [2022-09-15T22:15:18.747Z] ---> fc3b2d429993 [2022-09-15T22:15:18.747Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:15:18.747Z] ---> Running in e85d65463fec [2022-09-15T22:15:19.006Z] Removing intermediate container e85d65463fec [2022-09-15T22:15:19.006Z] ---> da49c563a911 [2022-09-15T22:15:19.006Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T22:15:19.006Z] ---> Running in 47462fe3f3e0 [2022-09-15T22:15:19.265Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-15T22:15:20.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-15T22:15:20.465Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T22:15:20.465Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-15T22:15:20.731Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T22:15:20.731Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-15T22:15:20.731Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T22:15:20.991Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T22:15:20.991Z] Executing busybox-1.33.1-r8.trigger [2022-09-15T22:15:20.991Z] OK: 8 MiB in 20 packages [2022-09-15T22:15:21.557Z] Removing intermediate container 47462fe3f3e0 [2022-09-15T22:15:21.557Z] ---> c242af0bc4c2 [2022-09-15T22:15:21.557Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-15T22:15:22.126Z] ---> d7e0fee43d96 [2022-09-15T22:15:22.126Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-15T22:15:22.126Z] ---> 1cef5609f975 [2022-09-15T22:15:22.126Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-15T22:15:22.385Z] ---> 02c061bfcfd6 [2022-09-15T22:15:22.385Z] Step 18/23 : EXPOSE 59901 [2022-09-15T22:15:22.385Z] ---> Running in 545903d6b20c [2022-09-15T22:15:22.644Z] Removing intermediate container 545903d6b20c [2022-09-15T22:15:22.644Z] ---> abf64b50704f [2022-09-15T22:15:22.644Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-15T22:15:22.644Z] ---> Running in f50c1a5baa07 [2022-09-15T22:15:22.644Z] Removing intermediate container f50c1a5baa07 [2022-09-15T22:15:22.644Z] ---> c8c6b5fcbbdd [2022-09-15T22:15:22.644Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-15T22:15:22.644Z] ---> Running in d94c9aea3fbc [2022-09-15T22:15:22.902Z] Removing intermediate container d94c9aea3fbc [2022-09-15T22:15:22.902Z] ---> 31d03e759545 [2022-09-15T22:15:22.902Z] Step 21/23 : LABEL arch=amd64 [2022-09-15T22:15:22.902Z] ---> Running in cb19259654a7 [2022-09-15T22:15:22.902Z] Removing intermediate container cb19259654a7 [2022-09-15T22:15:22.902Z] ---> 25f0139ae48f [2022-09-15T22:15:22.902Z] Step 22/23 : LABEL git_sha=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:15:22.902Z] ---> Running in c5979bd5938a [2022-09-15T22:15:23.160Z] Removing intermediate container c5979bd5938a [2022-09-15T22:15:23.160Z] ---> e2755e1f9a3b [2022-09-15T22:15:23.160Z] Step 23/23 : LABEL version=2.3.0-dev.12 [2022-09-15T22:15:23.160Z] ---> Running in 7a5561b3500e [2022-09-15T22:15:23.160Z] Removing intermediate container 7a5561b3500e [2022-09-15T22:15:23.160Z] ---> e9f270bf8f6a [2022-09-15T22:15:23.160Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T22:15:23.160Z] Successfully built e9f270bf8f6a [2022-09-15T22:15:23.160Z] 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-09-15T22:15:23.242Z] provisioning config files... [2022-09-15T22:15:23.250Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1056611807235795758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:23.549Z] ---> docker-login.sh [2022-09-15T22:15:23.549Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:15:23.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:15:23.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:15:23.549Z] Configure a credential helper to remove this warning. See [2022-09-15T22:15:23.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:15:23.549Z] [2022-09-15T22:15:23.549Z] Login Succeeded [2022-09-15T22:15:23.549Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:15:23.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:15:23.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:15:23.809Z] Configure a credential helper to remove this warning. See [2022-09-15T22:15:23.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:15:23.809Z] [2022-09-15T22:15:23.809Z] Login Succeeded [2022-09-15T22:15:23.809Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:15:23.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:15:23.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:15:23.809Z] Configure a credential helper to remove this warning. See [2022-09-15T22:15:23.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:15:23.809Z] [2022-09-15T22:15:23.809Z] Login Succeeded [2022-09-15T22:15:23.809Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:15:24.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:15:24.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:15:24.073Z] Configure a credential helper to remove this warning. See [2022-09-15T22:15:24.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:15:24.073Z] [2022-09-15T22:15:24.073Z] Login Succeeded [2022-09-15T22:15:24.073Z] docker.io [2022-09-15T22:15:24.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:15:24.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:15:24.340Z] Configure a credential helper to remove this warning. See [2022-09-15T22:15:24.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:15:24.340Z] [2022-09-15T22:15:24.340Z] Login Succeeded [2022-09-15T22:15:24.340Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:15:24.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:15:24.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:15:24.401Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-09-15T22:15:24.401Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:15:24.401Z] latest [2022-09-15T22:15:24.401Z] 2.3.0-dev.12 [2022-09-15T22:15:24.401Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:15:24.401Z] main [2022-09-15T22:15:24.401Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:24.723Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:25.048Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:15:25.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-09-15T22:15:25.048Z] 2233064876e2: Preparing [2022-09-15T22:15:25.048Z] 913e49ab66f5: Preparing [2022-09-15T22:15:25.048Z] 4c328debcbb7: Preparing [2022-09-15T22:15:25.048Z] 2bbae20b9681: Preparing [2022-09-15T22:15:25.048Z] 23d23ee92b1a: Preparing [2022-09-15T22:15:25.048Z] 63493a9ab2d4: Preparing [2022-09-15T22:15:25.048Z] 63493a9ab2d4: Waiting [2022-09-15T22:15:25.048Z] 2233064876e2: Pushed [2022-09-15T22:15:25.048Z] 23d23ee92b1a: Pushed [2022-09-15T22:15:25.048Z] 913e49ab66f5: Pushed [2022-09-15T22:15:25.048Z] 63493a9ab2d4: Layer already exists [2022-09-15T22:15:25.313Z] 2bbae20b9681: Pushed [2022-09-15T22:15:27.852Z] 4c328debcbb7: Pushed [2022-09-15T22:15:27.852Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:28.171Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:28.478Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-09-15T22:15:28.478Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-09-15T22:15:28.478Z] 2233064876e2: Preparing [2022-09-15T22:15:28.478Z] 913e49ab66f5: Preparing [2022-09-15T22:15:28.478Z] 4c328debcbb7: Preparing [2022-09-15T22:15:28.478Z] 2bbae20b9681: Preparing [2022-09-15T22:15:28.478Z] 23d23ee92b1a: Preparing [2022-09-15T22:15:28.478Z] 63493a9ab2d4: Preparing [2022-09-15T22:15:28.478Z] 63493a9ab2d4: Waiting [2022-09-15T22:15:28.478Z] 4c328debcbb7: Layer already exists [2022-09-15T22:15:28.478Z] 2bbae20b9681: Layer already exists [2022-09-15T22:15:28.478Z] 2233064876e2: Layer already exists [2022-09-15T22:15:28.478Z] 913e49ab66f5: Layer already exists [2022-09-15T22:15:28.478Z] 23d23ee92b1a: Layer already exists [2022-09-15T22:15:28.478Z] 63493a9ab2d4: Layer already exists [2022-09-15T22:15:28.478Z] latest: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:28.790Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:29.101Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 [2022-09-15T22:15:29.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-09-15T22:15:29.101Z] 2233064876e2: Preparing [2022-09-15T22:15:29.101Z] 913e49ab66f5: Preparing [2022-09-15T22:15:29.101Z] 4c328debcbb7: Preparing [2022-09-15T22:15:29.101Z] 2bbae20b9681: Preparing [2022-09-15T22:15:29.101Z] 23d23ee92b1a: Preparing [2022-09-15T22:15:29.101Z] 63493a9ab2d4: Preparing [2022-09-15T22:15:29.101Z] 63493a9ab2d4: Waiting [2022-09-15T22:15:29.101Z] 23d23ee92b1a: Layer already exists [2022-09-15T22:15:29.101Z] 4c328debcbb7: Layer already exists [2022-09-15T22:15:29.101Z] 2bbae20b9681: Layer already exists [2022-09-15T22:15:29.101Z] 2233064876e2: Layer already exists [2022-09-15T22:15:29.101Z] 913e49ab66f5: Layer already exists [2022-09-15T22:15:29.101Z] 63493a9ab2d4: Layer already exists [2022-09-15T22:15:29.101Z] 2.3.0-dev.12: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:29.418Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:29.728Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:15:29.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-09-15T22:15:29.728Z] 2233064876e2: Preparing [2022-09-15T22:15:29.728Z] 913e49ab66f5: Preparing [2022-09-15T22:15:29.728Z] 4c328debcbb7: Preparing [2022-09-15T22:15:29.728Z] 2bbae20b9681: Preparing [2022-09-15T22:15:29.728Z] 23d23ee92b1a: Preparing [2022-09-15T22:15:29.728Z] 63493a9ab2d4: Preparing [2022-09-15T22:15:29.728Z] 63493a9ab2d4: Waiting [2022-09-15T22:15:29.728Z] 913e49ab66f5: Layer already exists [2022-09-15T22:15:29.728Z] 2233064876e2: Layer already exists [2022-09-15T22:15:29.728Z] 4c328debcbb7: Layer already exists [2022-09-15T22:15:29.728Z] 2bbae20b9681: Layer already exists [2022-09-15T22:15:29.728Z] 23d23ee92b1a: Layer already exists [2022-09-15T22:15:29.728Z] 63493a9ab2d4: Layer already exists [2022-09-15T22:15:29.728Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:30.084Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:30.451Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-09-15T22:15:30.451Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-09-15T22:15:30.451Z] 2233064876e2: Preparing [2022-09-15T22:15:30.451Z] 913e49ab66f5: Preparing [2022-09-15T22:15:30.451Z] 4c328debcbb7: Preparing [2022-09-15T22:15:30.451Z] 2bbae20b9681: Preparing [2022-09-15T22:15:30.451Z] 23d23ee92b1a: Preparing [2022-09-15T22:15:30.451Z] 63493a9ab2d4: Preparing [2022-09-15T22:15:30.451Z] 63493a9ab2d4: Waiting [2022-09-15T22:15:30.451Z] 2bbae20b9681: Layer already exists [2022-09-15T22:15:30.451Z] 913e49ab66f5: Layer already exists [2022-09-15T22:15:30.451Z] 4c328debcbb7: Layer already exists [2022-09-15T22:15:30.451Z] 23d23ee92b1a: Layer already exists [2022-09-15T22:15:30.451Z] 2233064876e2: Layer already exists [2022-09-15T22:15:30.451Z] 63493a9ab2d4: Layer already exists [2022-09-15T22:15:30.451Z] main: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:15:30.503Z] ===================================================== [Pipeline] echo [2022-09-15T22:15:30.513Z] taggedImages: [2022-09-15T22:15:30.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:15:30.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-09-15T22:15:30.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 [2022-09-15T22:15:30.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:15:30.513Z] - 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-09-15T22:15:30.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:15:30.888Z] [2022-09-15T22:15:30.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:15:31.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:15:31.192Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-15T22:15:31.192Z] 5eb5b503b376: Pulling fs layer [2022-09-15T22:15:31.192Z] 5c69ac0246d0: Pulling fs layer [2022-09-15T22:15:31.192Z] ec43610c2a17: Pulling fs layer [2022-09-15T22:15:31.192Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-15T22:15:31.192Z] 33b1e0a273af: Pulling fs layer [2022-09-15T22:15:31.192Z] 5d3b04190fa2: Pulling fs layer [2022-09-15T22:15:31.192Z] 2f39f015ded8: Pulling fs layer [2022-09-15T22:15:31.192Z] 3a2ae6a8a46f: Waiting [2022-09-15T22:15:31.192Z] 33b1e0a273af: Waiting [2022-09-15T22:15:31.192Z] 5d3b04190fa2: Waiting [2022-09-15T22:15:31.192Z] 2f39f015ded8: Waiting [2022-09-15T22:15:31.192Z] 5c69ac0246d0: Download complete [2022-09-15T22:15:31.192Z] 3a2ae6a8a46f: Download complete [2022-09-15T22:15:31.458Z] 33b1e0a273af: Verifying Checksum [2022-09-15T22:15:31.458Z] 33b1e0a273af: Download complete [2022-09-15T22:15:31.458Z] 5d3b04190fa2: Verifying Checksum [2022-09-15T22:15:31.458Z] 5d3b04190fa2: Download complete [2022-09-15T22:15:31.458Z] ec43610c2a17: Download complete [2022-09-15T22:15:31.458Z] 5eb5b503b376: Verifying Checksum [2022-09-15T22:15:31.458Z] 5eb5b503b376: Download complete [2022-09-15T22:15:32.029Z] 2f39f015ded8: Verifying Checksum [2022-09-15T22:15:32.029Z] 2f39f015ded8: Download complete [2022-09-15T22:15:32.990Z] 5eb5b503b376: Pull complete [2022-09-15T22:15:33.253Z] 5c69ac0246d0: Pull complete [2022-09-15T22:15:33.822Z] ec43610c2a17: Pull complete [2022-09-15T22:15:33.822Z] 3a2ae6a8a46f: Pull complete [2022-09-15T22:15:34.082Z] 33b1e0a273af: Pull complete [2022-09-15T22:15:34.082Z] 5d3b04190fa2: Pull complete [2022-09-15T22:15:39.356Z] 2f39f015ded8: Pull complete [2022-09-15T22:15:39.356Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-15T22:15:39.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:15:39.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:15:39.449Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:15:39.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-15T22:15:41.510Z] $ docker top 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:15:41.868Z] ---> job-cost.sh [2022-09-15T22:15:41.868Z] lf-activate-venv: SKIPPING [2022-09-15T22:15:41.868Z] INFO: No Stack... [2022-09-15T22:15:42.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T22:15:42.697Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T22:15:42.986Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-09-15T22:15:42.986Z] + cut -d, -f6 [Pipeline] lock [2022-09-15T22:15:43.000Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [2022-09-15T22:15:43.008Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] did not exist. Created. [2022-09-15T22:15:43.008Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T22:15:43.307Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-15T22:15:43.338Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T22:15:43.344Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T22:15:43.371Z] $ docker stop --time=1 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 [2022-09-15T22:15:44.554Z] $ docker rm -f 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-15T22:24:32.107Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29624 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-09-15T22:24:32.122Z] Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout [2022-09-15T22:24:32.161Z] Selected Git installation does not exist. Using Default [2022-09-15T22:24:32.161Z] The recommended git tool is: NONE [2022-09-15T22:24:38.827Z] using credential edgex-jenkins-ssh [2022-09-15T22:24:38.846Z] Cloning the remote Git repository [2022-09-15T22:24:38.911Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-15T22:24:39.007Z] > git init /w/workspace/device-modbus-go/51 # timeout=10 [2022-09-15T22:24:39.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-15T22:24:39.120Z] > git --version # timeout=10 [2022-09-15T22:24:39.145Z] > git --version # 'git version 2.25.1' [2022-09-15T22:24:39.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-15T22:24:39.331Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T22:24:40.659Z] Avoid second fetch [2022-09-15T22:24:40.659Z] Checking out Revision 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (main) [2022-09-15T22:24:40.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-15T22:24:40.634Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-15T22:24:40.689Z] > git config core.sparsecheckout # timeout=10 [2022-09-15T22:24:40.719Z] > git checkout -f 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 [2022-09-15T22:24:45.266Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:24:46.176Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-15T22:24:46.176Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T22:24:46.176Z] Dload Upload Total Spent Left Speed [2022-09-15T22:24:46.176Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh [2022-09-15T22:24:46.866Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-15T22:24:47.219Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-15T22:24:47.219Z] + sudo tee /etc/docker/daemon.new [2022-09-15T22:24:47.219Z] { [2022-09-15T22:24:47.219Z] "registry-mirrors": [ [2022-09-15T22:24:47.219Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-15T22:24:47.219Z] ], [2022-09-15T22:24:47.219Z] "bip": "10.250.0.254/24", [2022-09-15T22:24:47.219Z] "hosts": [ [2022-09-15T22:24:47.219Z] "tcp://0.0.0.0:5555", [2022-09-15T22:24:47.219Z] "unix:///var/run/docker.sock" [2022-09-15T22:24:47.219Z] ], [2022-09-15T22:24:47.219Z] "mtu": 1458, [2022-09-15T22:24:47.219Z] "selinux-enabled": true, [2022-09-15T22:24:47.220Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-15T22:24:47.220Z] } [Pipeline] sh [2022-09-15T22:24:47.575Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-15T22:24:47.924Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:25:06.336Z] provisioning config files... [2022-09-15T22:25:06.363Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config5805772685424665910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:25:06.737Z] ---> docker-login.sh [2022-09-15T22:25:06.737Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:25:07.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:25:07.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:25:07.618Z] Configure a credential helper to remove this warning. See [2022-09-15T22:25:07.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:25:07.618Z] [2022-09-15T22:25:07.618Z] Login Succeeded [2022-09-15T22:25:07.618Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:25:08.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:25:08.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:25:08.224Z] Configure a credential helper to remove this warning. See [2022-09-15T22:25:08.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:25:08.224Z] [2022-09-15T22:25:08.224Z] Login Succeeded [2022-09-15T22:25:08.224Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:25:08.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:25:08.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:25:08.831Z] Configure a credential helper to remove this warning. See [2022-09-15T22:25:08.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:25:08.831Z] [2022-09-15T22:25:08.831Z] Login Succeeded [2022-09-15T22:25:08.831Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:25:09.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:25:09.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:25:09.386Z] Configure a credential helper to remove this warning. See [2022-09-15T22:25:09.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:25:09.386Z] [2022-09-15T22:25:09.386Z] Login Succeeded [2022-09-15T22:25:09.386Z] docker.io [2022-09-15T22:25:09.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:25:10.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:25:10.264Z] Configure a credential helper to remove this warning. See [2022-09-15T22:25:10.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:25:10.264Z] [2022-09-15T22:25:10.264Z] Login Succeeded [2022-09-15T22:25:10.264Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:25:10.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-15T22:25:10.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:25:10.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:25:10.954Z] ========================================================= [2022-09-15T22:25:10.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-15T22:25:10.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:25:11.340Z] + 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-09-15T22:25:11.627Z] Sending build context to Docker daemon 3.174MB [2022-09-15T22:25:11.908Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:25:11.908Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-15T22:25:11.908Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-15T22:25:11.908Z] b3c136eddcbf: Pulling fs layer [2022-09-15T22:25:11.908Z] c0a3192eca97: Pulling fs layer [2022-09-15T22:25:11.908Z] a050256f5b6f: Pulling fs layer [2022-09-15T22:25:11.908Z] 656be50a0ddc: Pulling fs layer [2022-09-15T22:25:11.908Z] 2bbca73fdf42: Pulling fs layer [2022-09-15T22:25:11.908Z] 46d945488cbd: Pulling fs layer [2022-09-15T22:25:11.908Z] 8a5474983e97: Pulling fs layer [2022-09-15T22:25:11.908Z] 329c88fbcd65: Pulling fs layer [2022-09-15T22:25:11.908Z] 2bbca73fdf42: Waiting [2022-09-15T22:25:11.908Z] 46d945488cbd: Waiting [2022-09-15T22:25:11.908Z] 8a5474983e97: Waiting [2022-09-15T22:25:11.908Z] 329c88fbcd65: Waiting [2022-09-15T22:25:11.908Z] 656be50a0ddc: Waiting [2022-09-15T22:25:11.908Z] a050256f5b6f: Download complete [2022-09-15T22:25:12.193Z] c0a3192eca97: Verifying Checksum [2022-09-15T22:25:12.193Z] c0a3192eca97: Download complete [2022-09-15T22:25:12.193Z] 2bbca73fdf42: Download complete [2022-09-15T22:25:12.193Z] 46d945488cbd: Verifying Checksum [2022-09-15T22:25:12.193Z] 46d945488cbd: Download complete [2022-09-15T22:25:12.193Z] b3c136eddcbf: Verifying Checksum [2022-09-15T22:25:12.193Z] b3c136eddcbf: Download complete [2022-09-15T22:25:13.218Z] b3c136eddcbf: Pull complete [2022-09-15T22:25:13.515Z] c0a3192eca97: Pull complete [2022-09-15T22:25:13.806Z] 329c88fbcd65: Verifying Checksum [2022-09-15T22:25:13.806Z] 329c88fbcd65: Download complete [2022-09-15T22:25:14.095Z] a050256f5b6f: Pull complete [2022-09-15T22:25:16.158Z] 8a5474983e97: Download complete [2022-09-15T22:25:16.770Z] 656be50a0ddc: Verifying Checksum [2022-09-15T22:25:16.770Z] 656be50a0ddc: Download complete [2022-09-15T22:25:32.054Z] 656be50a0ddc: Pull complete [2022-09-15T22:25:32.054Z] 2bbca73fdf42: Pull complete [2022-09-15T22:25:32.054Z] 46d945488cbd: Pull complete [2022-09-15T22:25:38.781Z] 8a5474983e97: Pull complete [2022-09-15T22:25:39.767Z] 329c88fbcd65: Pull complete [2022-09-15T22:25:39.767Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-15T22:25:39.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-15T22:25:39.767Z] ---> ff4287adb874 [2022-09-15T22:25:39.767Z] Step 3/10 : ARG MAKE='make build' [2022-09-15T22:25:41.763Z] ---> Running in 630cf86bd444 [2022-09-15T22:25:41.763Z] Removing intermediate container 630cf86bd444 [2022-09-15T22:25:41.763Z] ---> 5a0d739efeb6 [2022-09-15T22:25:41.763Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:25:41.763Z] ---> Running in 14c5a3aa2f24 [2022-09-15T22:25:43.738Z] Removing intermediate container 14c5a3aa2f24 [2022-09-15T22:25:43.738Z] ---> 231dbecd84ce [2022-09-15T22:25:43.738Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-15T22:25:43.738Z] ---> Running in ffa27bdcb071 [2022-09-15T22:25:45.181Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:25:45.774Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:25:46.752Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-15T22:25:47.023Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-15T22:25:47.023Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-15T22:25:47.297Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-15T22:25:47.297Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-15T22:25:47.568Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-15T22:25:47.568Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-15T22:25:47.568Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-15T22:25:47.844Z] Executing busybox-1.35.0-r13.trigger [2022-09-15T22:25:47.844Z] OK: 228 MiB in 59 packages [2022-09-15T22:25:48.831Z] Removing intermediate container ffa27bdcb071 [2022-09-15T22:25:48.831Z] ---> 1961218f4807 [2022-09-15T22:25:48.831Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-15T22:25:48.831Z] ---> Running in 755f8d83c0c5 [2022-09-15T22:25:49.103Z] Removing intermediate container 755f8d83c0c5 [2022-09-15T22:25:49.103Z] ---> 741edefd843e [2022-09-15T22:25:49.103Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-15T22:25:49.704Z] ---> 9b63d5ca4920 [2022-09-15T22:25:49.704Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:25:49.704Z] ---> Running in 49c07d7d364a [2022-09-15T22:26:46.271Z] Removing intermediate container 49c07d7d364a [2022-09-15T22:26:46.271Z] ---> ee8ddb993d08 [2022-09-15T22:26:46.271Z] Step 9/10 : COPY . . [2022-09-15T22:26:46.271Z] ---> ab2aa9d59367 [2022-09-15T22:26:46.271Z] Step 10/10 : RUN ${MAKE} [2022-09-15T22:26:46.271Z] ---> Running in c00872391aa9 [2022-09-15T22:26:46.271Z] noop [2022-09-15T22:26:46.271Z] Removing intermediate container c00872391aa9 [2022-09-15T22:26:46.271Z] ---> 68f82d1a3f93 [2022-09-15T22:26:46.271Z] Successfully built 68f82d1a3f93 [2022-09-15T22:26:46.271Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:26:46.661Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T22:26:46.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:26:46.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container [2022-09-15T22:26:47.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-15T22:26:48.565Z] $ docker top 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:26:49.541Z] + go version [2022-09-15T22:26:49.541Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-15T22:26:49.573Z] $ docker stop --time=1 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d [2022-09-15T22:26:51.321Z] $ docker rm -f 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:26:51.998Z] + docker inspect -f . ci-base-image-arm64 [2022-09-15T22:26:51.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:26:52.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container [2022-09-15T22:26:52.390Z] $ 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/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-15T22:26:53.841Z] $ docker top 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:26:54.814Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/51 [Pipeline] fileExists [Pipeline] sh [2022-09-15T22:26:55.519Z] + make test [2022-09-15T22:26:55.519Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-15T22:26:57.510Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-15T22:28:34.508Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-15T22:28:38.854Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements [2022-09-15T22:28:38.854Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-15T22:28:38.855Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-15T22:29:05.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-15T22:29:05.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-15T22:29:05.737Z] ./bin/test-attribution-txt.sh [2022-09-15T22:29:05.737Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-15T22:29:05.737Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-15T22:29:05.737Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-15T22:29:05.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-15T22:29:05.782Z] $ docker stop --time=1 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b [2022-09-15T22:29:07.747Z] $ docker rm -f 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:29:08.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-15T22:29:08.930Z] Warning: overwriting stash ‘coverage-report’ [2022-09-15T22:29:09.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-15T22:29:10.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-15T22:29:10.556Z] + ls -al . [2022-09-15T22:29:10.556Z] total 184 [2022-09-15T22:29:10.556Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:26 . [2022-09-15T22:29:10.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 .. [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:24 .dockerignore [2022-09-15T22:29:10.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:24 .git [2022-09-15T22:29:10.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 .github [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 15 22:24 .gitignore [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:24 .golangci.yml [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 15 22:24 Attribution.txt [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 15 22:24 CHANGELOG.md [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 15 22:24 Dockerfile [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:24 GOVERNANCE.md [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 22:24 Jenkinsfile [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:24 LICENSE [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 15 22:24 Makefile [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 15 22:24 OWNERS.md [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 15 22:24 README.md [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION [2022-09-15T22:29:10.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 bin [2022-09-15T22:29:10.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 cmd [2022-09-15T22:29:10.556Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 15 22:28 coverage.out [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 3572 Sep 15 22:24 go.mod [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 37058 Sep 15 22:24 go.sum [2022-09-15T22:29:10.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 internal [2022-09-15T22:29:10.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 simulator [2022-09-15T22:29:10.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 snap [2022-09-15T22:29:10.556Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 15 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:29:11.038Z] + 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 --label arch=arm64 --label version=2.3.0-dev.12 . [2022-09-15T22:29:11.666Z] Sending build context to Docker daemon 3.198MB [2022-09-15T22:29:11.666Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-15T22:29:11.666Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-15T22:29:11.666Z] ---> 68f82d1a3f93 [2022-09-15T22:29:11.666Z] Step 3/23 : ARG MAKE='make build' [2022-09-15T22:29:11.666Z] ---> Running in c63e8387f25a [2022-09-15T22:29:12.265Z] Removing intermediate container c63e8387f25a [2022-09-15T22:29:12.265Z] ---> 2111bf79f9c6 [2022-09-15T22:29:12.265Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:29:12.265Z] ---> Running in 531dc3c5f070 [2022-09-15T22:29:14.262Z] Removing intermediate container 531dc3c5f070 [2022-09-15T22:29:14.262Z] ---> 0cf29a1d0bd0 [2022-09-15T22:29:14.262Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-15T22:29:14.262Z] ---> Running in aba60c73ee6c [2022-09-15T22:29:15.251Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:29:16.236Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:29:17.682Z] OK: 228 MiB in 59 packages [2022-09-15T22:29:18.675Z] Removing intermediate container aba60c73ee6c [2022-09-15T22:29:18.675Z] ---> f4904183d8f1 [2022-09-15T22:29:18.675Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-15T22:29:18.675Z] ---> Running in 98d517cd475a [2022-09-15T22:29:19.279Z] Removing intermediate container 98d517cd475a [2022-09-15T22:29:19.279Z] ---> 5dc2b03e5931 [2022-09-15T22:29:19.279Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-15T22:29:19.890Z] ---> 95e8b28c481c [2022-09-15T22:29:19.890Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-15T22:29:19.890Z] ---> Running in 43f7e78a05f0 [2022-09-15T22:29:22.530Z] Removing intermediate container 43f7e78a05f0 [2022-09-15T22:29:22.530Z] ---> be872cd74c99 [2022-09-15T22:29:22.530Z] Step 9/23 : COPY . . [2022-09-15T22:29:23.133Z] ---> 63ea61a2cf28 [2022-09-15T22:29:23.133Z] Step 10/23 : RUN ${MAKE} [2022-09-15T22:29:23.416Z] ---> Running in 0f4f187b04b3 [2022-09-15T22:29:24.401Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-15T22:32:01.390Z] Removing intermediate container 0f4f187b04b3 [2022-09-15T22:32:01.390Z] ---> 0b22938f95fe [2022-09-15T22:32:01.390Z] Step 11/23 : FROM alpine:3.14 [2022-09-15T22:32:01.390Z] 3.14: Pulling from library/alpine [2022-09-15T22:32:01.390Z] 90cda3b7c325: Pulling fs layer [2022-09-15T22:32:01.390Z] 90cda3b7c325: Verifying Checksum [2022-09-15T22:32:01.390Z] 90cda3b7c325: Download complete [2022-09-15T22:32:01.390Z] 90cda3b7c325: Pull complete [2022-09-15T22:32:01.390Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-15T22:32:01.390Z] Status: Downloaded newer image for alpine:3.14 [2022-09-15T22:32:01.390Z] ---> 376ba31ae3da [2022-09-15T22:32:01.390Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-15T22:32:01.667Z] ---> Running in a1ea9a73b28a [2022-09-15T22:32:01.953Z] Removing intermediate container a1ea9a73b28a [2022-09-15T22:32:01.953Z] ---> 317400921745 [2022-09-15T22:32:01.953Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-15T22:32:01.953Z] ---> Running in 47f497daf609 [2022-09-15T22:32:03.935Z] Removing intermediate container 47f497daf609 [2022-09-15T22:32:03.935Z] ---> 311d2de5d456 [2022-09-15T22:32:03.935Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-15T22:32:03.935Z] ---> Running in aed1c95bb71e [2022-09-15T22:32:04.914Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-15T22:32:05.898Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-15T22:32:06.878Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-15T22:32:06.878Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-15T22:32:07.152Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-15T22:32:07.152Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-15T22:32:07.426Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-15T22:32:07.426Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-15T22:32:07.426Z] Executing busybox-1.33.1-r8.trigger [2022-09-15T22:32:07.698Z] OK: 8 MiB in 20 packages [2022-09-15T22:32:08.685Z] Removing intermediate container aed1c95bb71e [2022-09-15T22:32:08.685Z] ---> 911eb3869217 [2022-09-15T22:32:08.685Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-15T22:32:10.129Z] ---> 4824a7e892b1 [2022-09-15T22:32:10.129Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-15T22:32:10.729Z] ---> 2c63d2d7af40 [2022-09-15T22:32:10.729Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-15T22:32:11.727Z] ---> 8cb167c7a4cd [2022-09-15T22:32:11.727Z] Step 18/23 : EXPOSE 59901 [2022-09-15T22:32:11.727Z] ---> Running in 3cbf3cc14214 [2022-09-15T22:32:12.002Z] Removing intermediate container 3cbf3cc14214 [2022-09-15T22:32:12.002Z] ---> 6a426bf1062f [2022-09-15T22:32:12.002Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-15T22:32:12.002Z] ---> Running in b80895803523 [2022-09-15T22:32:12.605Z] Removing intermediate container b80895803523 [2022-09-15T22:32:12.605Z] ---> 274f13810aae [2022-09-15T22:32:12.605Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-15T22:32:12.605Z] ---> Running in 4203146139dc [2022-09-15T22:32:12.885Z] Removing intermediate container 4203146139dc [2022-09-15T22:32:12.885Z] ---> bd6170357d68 [2022-09-15T22:32:12.885Z] Step 21/23 : LABEL arch=arm64 [2022-09-15T22:32:12.885Z] ---> Running in ab48a759635e [2022-09-15T22:32:13.488Z] Removing intermediate container ab48a759635e [2022-09-15T22:32:13.488Z] ---> 3a36c7e40161 [2022-09-15T22:32:13.488Z] Step 22/23 : LABEL git_sha=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:32:13.488Z] ---> Running in c91813a06965 [2022-09-15T22:32:13.770Z] Removing intermediate container c91813a06965 [2022-09-15T22:32:13.770Z] ---> e2e39c57168c [2022-09-15T22:32:13.770Z] Step 23/23 : LABEL version=2.3.0-dev.12 [2022-09-15T22:32:14.048Z] ---> Running in fbf1afe3eab8 [2022-09-15T22:32:14.323Z] Removing intermediate container fbf1afe3eab8 [2022-09-15T22:32:14.323Z] ---> af4b7cb1de7a [2022-09-15T22:32:14.323Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-15T22:32:14.323Z] Successfully built af4b7cb1de7a [2022-09-15T22:32:14.323Z] 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-09-15T22:32:14.446Z] provisioning config files... [2022-09-15T22:32:14.468Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config462201027425881941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:32:14.844Z] ---> docker-login.sh [2022-09-15T22:32:14.844Z] nexus3.edgexfoundry.org:10001 [2022-09-15T22:32:15.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:32:15.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:32:15.393Z] Configure a credential helper to remove this warning. See [2022-09-15T22:32:15.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:32:15.393Z] [2022-09-15T22:32:15.393Z] Login Succeeded [2022-09-15T22:32:15.393Z] nexus3.edgexfoundry.org:10002 [2022-09-15T22:32:15.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:32:15.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:32:15.942Z] Configure a credential helper to remove this warning. See [2022-09-15T22:32:15.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:32:15.942Z] [2022-09-15T22:32:15.942Z] Login Succeeded [2022-09-15T22:32:15.942Z] nexus3.edgexfoundry.org:10003 [2022-09-15T22:32:16.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:32:16.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:32:16.541Z] Configure a credential helper to remove this warning. See [2022-09-15T22:32:16.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:32:16.541Z] [2022-09-15T22:32:16.541Z] Login Succeeded [2022-09-15T22:32:16.541Z] nexus3.edgexfoundry.org:10004 [2022-09-15T22:32:17.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:32:17.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:32:17.143Z] Configure a credential helper to remove this warning. See [2022-09-15T22:32:17.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:32:17.143Z] [2022-09-15T22:32:17.143Z] Login Succeeded [2022-09-15T22:32:17.143Z] docker.io [2022-09-15T22:32:17.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-15T22:32:18.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-15T22:32:18.022Z] Configure a credential helper to remove this warning. See [2022-09-15T22:32:18.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-15T22:32:18.022Z] [2022-09-15T22:32:18.022Z] Login Succeeded [2022-09-15T22:32:18.022Z] ---> docker-login.sh ends [Pipeline] } [2022-09-15T22:32:18.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:32:18.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-15T22:32:18.101Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-09-15T22:32:18.101Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:32:18.101Z] latest [2022-09-15T22:32:18.101Z] 2.3.0-dev.12 [2022-09-15T22:32:18.101Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:32:18.101Z] main [2022-09-15T22:32:18.101Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:18.479Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:18.843Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:32:18.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-09-15T22:32:18.844Z] b49ae3b75dcb: Preparing [2022-09-15T22:32:18.844Z] 7c3dfcc4f028: Preparing [2022-09-15T22:32:18.844Z] 45fa71d5f8c2: Preparing [2022-09-15T22:32:18.844Z] 5e311ca96562: Preparing [2022-09-15T22:32:18.844Z] c19e1387cca7: Preparing [2022-09-15T22:32:18.844Z] 28c3ef001483: Preparing [2022-09-15T22:32:18.844Z] 28c3ef001483: Waiting [2022-09-15T22:32:19.116Z] 7c3dfcc4f028: Pushed [2022-09-15T22:32:19.116Z] c19e1387cca7: Pushed [2022-09-15T22:32:19.116Z] b49ae3b75dcb: Pushed [2022-09-15T22:32:19.116Z] 28c3ef001483: Layer already exists [2022-09-15T22:32:20.097Z] 5e311ca96562: Pushed [2022-09-15T22:32:25.495Z] 45fa71d5f8c2: Pushed [2022-09-15T22:32:25.495Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:25.900Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:26.282Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-09-15T22:32:26.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-09-15T22:32:26.282Z] b49ae3b75dcb: Preparing [2022-09-15T22:32:26.282Z] 7c3dfcc4f028: Preparing [2022-09-15T22:32:26.282Z] 45fa71d5f8c2: Preparing [2022-09-15T22:32:26.282Z] 5e311ca96562: Preparing [2022-09-15T22:32:26.282Z] c19e1387cca7: Preparing [2022-09-15T22:32:26.283Z] 28c3ef001483: Preparing [2022-09-15T22:32:26.283Z] 28c3ef001483: Waiting [2022-09-15T22:32:26.557Z] c19e1387cca7: Layer already exists [2022-09-15T22:32:26.557Z] b49ae3b75dcb: Layer already exists [2022-09-15T22:32:26.557Z] 5e311ca96562: Layer already exists [2022-09-15T22:32:26.557Z] 45fa71d5f8c2: Layer already exists [2022-09-15T22:32:26.557Z] 7c3dfcc4f028: Layer already exists [2022-09-15T22:32:26.557Z] 28c3ef001483: Layer already exists [2022-09-15T22:32:26.557Z] latest: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:26.933Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:27.357Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 [2022-09-15T22:32:27.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-09-15T22:32:27.357Z] b49ae3b75dcb: Preparing [2022-09-15T22:32:27.357Z] 7c3dfcc4f028: Preparing [2022-09-15T22:32:27.357Z] 45fa71d5f8c2: Preparing [2022-09-15T22:32:27.357Z] 5e311ca96562: Preparing [2022-09-15T22:32:27.357Z] c19e1387cca7: Preparing [2022-09-15T22:32:27.357Z] 28c3ef001483: Preparing [2022-09-15T22:32:27.357Z] 28c3ef001483: Waiting [2022-09-15T22:32:27.646Z] c19e1387cca7: Layer already exists [2022-09-15T22:32:27.646Z] b49ae3b75dcb: Layer already exists [2022-09-15T22:32:27.646Z] 7c3dfcc4f028: Layer already exists [2022-09-15T22:32:27.646Z] 45fa71d5f8c2: Layer already exists [2022-09-15T22:32:27.646Z] 5e311ca96562: Layer already exists [2022-09-15T22:32:27.646Z] 28c3ef001483: Layer already exists [2022-09-15T22:32:27.646Z] 2.3.0-dev.12: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:28.106Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:28.509Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:32:28.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-09-15T22:32:28.509Z] b49ae3b75dcb: Preparing [2022-09-15T22:32:28.509Z] 7c3dfcc4f028: Preparing [2022-09-15T22:32:28.509Z] 45fa71d5f8c2: Preparing [2022-09-15T22:32:28.509Z] 5e311ca96562: Preparing [2022-09-15T22:32:28.509Z] c19e1387cca7: Preparing [2022-09-15T22:32:28.509Z] 28c3ef001483: Preparing [2022-09-15T22:32:28.509Z] 28c3ef001483: Waiting [2022-09-15T22:32:28.788Z] b49ae3b75dcb: Layer already exists [2022-09-15T22:32:28.788Z] 7c3dfcc4f028: Layer already exists [2022-09-15T22:32:28.788Z] 5e311ca96562: Layer already exists [2022-09-15T22:32:28.788Z] c19e1387cca7: Layer already exists [2022-09-15T22:32:28.788Z] 45fa71d5f8c2: Layer already exists [2022-09-15T22:32:28.788Z] 28c3ef001483: Layer already exists [2022-09-15T22:32:28.788Z] 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:29.170Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:29.543Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-09-15T22:32:29.543Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-09-15T22:32:29.543Z] b49ae3b75dcb: Preparing [2022-09-15T22:32:29.543Z] 7c3dfcc4f028: Preparing [2022-09-15T22:32:29.543Z] 45fa71d5f8c2: Preparing [2022-09-15T22:32:29.543Z] 5e311ca96562: Preparing [2022-09-15T22:32:29.543Z] c19e1387cca7: Preparing [2022-09-15T22:32:29.543Z] 28c3ef001483: Preparing [2022-09-15T22:32:29.543Z] 28c3ef001483: Waiting [2022-09-15T22:32:29.817Z] 45fa71d5f8c2: Layer already exists [2022-09-15T22:32:29.817Z] c19e1387cca7: Layer already exists [2022-09-15T22:32:29.817Z] 5e311ca96562: Layer already exists [2022-09-15T22:32:29.817Z] b49ae3b75dcb: Layer already exists [2022-09-15T22:32:29.817Z] 7c3dfcc4f028: Layer already exists [2022-09-15T22:32:29.817Z] 28c3ef001483: Layer already exists [2022-09-15T22:32:29.817Z] main: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-09-15T22:32:29.880Z] ===================================================== [Pipeline] echo [2022-09-15T22:32:29.889Z] taggedImages: [2022-09-15T22:32:29.889Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [2022-09-15T22:32:29.889Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-09-15T22:32:29.889Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 [2022-09-15T22:32:29.889Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [2022-09-15T22:32:29.889Z] - 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-09-15T22:32:30.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:32:30.274Z] [2022-09-15T22:32:30.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:32:30.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:32:30.924Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-15T22:32:30.924Z] 8998bd30e6a1: Pulling fs layer [2022-09-15T22:32:30.924Z] 04944245beec: Pulling fs layer [2022-09-15T22:32:30.924Z] 699f458cf7ca: Pulling fs layer [2022-09-15T22:32:30.924Z] 765212b225bb: Pulling fs layer [2022-09-15T22:32:30.924Z] f23df028b6ca: Pulling fs layer [2022-09-15T22:32:30.924Z] d65c8cfc05b1: Pulling fs layer [2022-09-15T22:32:30.924Z] 2437ff75d9bd: Pulling fs layer [2022-09-15T22:32:30.924Z] f23df028b6ca: Waiting [2022-09-15T22:32:30.924Z] d65c8cfc05b1: Waiting [2022-09-15T22:32:30.924Z] 2437ff75d9bd: Waiting [2022-09-15T22:32:30.924Z] 765212b225bb: Waiting [2022-09-15T22:32:30.924Z] 04944245beec: Verifying Checksum [2022-09-15T22:32:30.924Z] 04944245beec: Download complete [2022-09-15T22:32:30.924Z] 765212b225bb: Verifying Checksum [2022-09-15T22:32:30.924Z] 765212b225bb: Download complete [2022-09-15T22:32:31.209Z] f23df028b6ca: Download complete [2022-09-15T22:32:31.209Z] d65c8cfc05b1: Verifying Checksum [2022-09-15T22:32:31.209Z] d65c8cfc05b1: Download complete [2022-09-15T22:32:31.209Z] 699f458cf7ca: Verifying Checksum [2022-09-15T22:32:31.209Z] 699f458cf7ca: Download complete [2022-09-15T22:32:31.825Z] 8998bd30e6a1: Verifying Checksum [2022-09-15T22:32:31.825Z] 8998bd30e6a1: Download complete [2022-09-15T22:32:34.471Z] 2437ff75d9bd: Verifying Checksum [2022-09-15T22:32:34.471Z] 2437ff75d9bd: Download complete [2022-09-15T22:32:36.452Z] 8998bd30e6a1: Pull complete [2022-09-15T22:32:37.068Z] 04944245beec: Pull complete [2022-09-15T22:32:38.531Z] 699f458cf7ca: Pull complete [2022-09-15T22:32:38.807Z] 765212b225bb: Pull complete [2022-09-15T22:32:39.792Z] f23df028b6ca: Pull complete [2022-09-15T22:32:40.068Z] d65c8cfc05b1: Pull complete [2022-09-15T22:32:55.178Z] 2437ff75d9bd: Pull complete [2022-09-15T22:32:55.453Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-15T22:32:55.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-15T22:32:55.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:32:55.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container [2022-09-15T22:32:55.833Z] $ 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/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-15T22:32:58.821Z] $ docker top 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:32:59.781Z] ---> job-cost.sh [2022-09-15T22:32:59.782Z] lf-activate-venv: SKIPPING [2022-09-15T22:32:59.782Z] INFO: No Stack... [2022-09-15T22:33:00.374Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-15T22:33:00.970Z] INFO: Archiving Costs [Pipeline] sh [2022-09-15T22:33:01.631Z] + + catcut /w/workspace/device-modbus-go/51/archives/cost.csv -d, [2022-09-15T22:33:01.631Z] -f6 [Pipeline] lock [2022-09-15T22:33:01.701Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [2022-09-15T22:33:01.709Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] did not exist. Created. [2022-09-15T22:33:01.709Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-15T22:33:02.396Z] /w/workspace/device-modbus-go/51@tmp/durable-5c608771/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-15T22:33:03.070Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-15T22:33:03.099Z] Warning: overwriting stash ‘stack-cost’ [2022-09-15T22:33:03.146Z] Stashed 1 file(s) [Pipeline] } [2022-09-15T22:33:03.153Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-15T22:33:03.176Z] $ docker stop --time=1 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb [2022-09-15T22:33:04.717Z] $ docker rm -f 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb [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-09-15T22:33:05.151Z] provisioning config files... [2022-09-15T22:33:05.159Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config345374773664227415tmp [Pipeline] { [Pipeline] sh [2022-09-15T22:33:05.452Z] + set +x [2022-09-15T22:33:05.452Z] + + curl -s https://codecov.io/bash [2022-09-15T22:33:05.452Z] bash -s -- [2022-09-15T22:33:05.452Z] [2022-09-15T22:33:05.452Z] _____ _ [2022-09-15T22:33:05.452Z] / ____| | | [2022-09-15T22:33:05.452Z] | | ___ __| | ___ ___ _____ __ [2022-09-15T22:33:05.452Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-15T22:33:05.452Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-15T22:33:05.452Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-15T22:33:05.452Z] Bash-1.0.6 [2022-09-15T22:33:05.452Z] [2022-09-15T22:33:05.452Z] [2022-09-15T22:33:05.452Z] ==> git version 2.25.1 found [2022-09-15T22:33:05.452Z] ==> 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-09-15T22:33:05.452Z] Release-Date: 2020-01-08 [2022-09-15T22:33:05.452Z] 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-09-15T22:33:05.452Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-15T22:33:05.452Z] ==> Jenkins CI detected. [2022-09-15T22:33:05.452Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-09-15T22:33:05.452Z] project root: . [2022-09-15T22:33:05.452Z] --> token set from env [2022-09-15T22:33:05.452Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-15T22:33:05.452Z] ==> Running gcov in . (disable via -X gcov) [2022-09-15T22:33:05.452Z] ==> Python coveragepy not found [2022-09-15T22:33:05.452Z] ==> Searching for coverage reports in: [2022-09-15T22:33:05.452Z] + . [2022-09-15T22:33:05.452Z] -> Found 1 reports [2022-09-15T22:33:05.452Z] ==> Detecting git/mercurial file structure [2022-09-15T22:33:05.452Z] ==> Reading reports [2022-09-15T22:33:05.452Z] + ./coverage.out bytes=23241 [2022-09-15T22:33:05.452Z] ==> Appending adjustments [2022-09-15T22:33:05.452Z] https://docs.codecov.io/docs/fixing-reports [2022-09-15T22:33:05.711Z] + Found adjustments [2022-09-15T22:33:05.711Z] ==> Gzipping contents [2022-09-15T22:33:05.711Z] 4.0K /tmp/codecov.xFOxni.gz [2022-09-15T22:33:05.711Z] ==> Uploading reports [2022-09-15T22:33:05.711Z] url: https://codecov.io [2022-09-15T22:33:05.711Z] query: branch=main&commit=53d947db5a4f9528d63bb92e74d3c6e84cd7a675&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-15T22:33:05.711Z] -> Pinging Codecov [2022-09-15T22:33:05.711Z] 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-15T22:33:05.970Z] -> Uploading to [2022-09-15T22:33:05.971Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-15/55DBCA73C666E3227836607328DD7E49/53d947db5a4f9528d63bb92e74d3c6e84cd7a675/724d5e11-364a-41d0-a8e5-0617beb04e4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T223305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2bedda5e8f77cf1365a8c28e38a28352b7c005f64bb12a061f1d1907d4e6339 [2022-09-15T22:33:05.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-15T22:33:05.971Z] Dload Upload Total Spent Left Speed [2022-09-15T22:33:06.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16969 --:--:-- --:--:-- --:--:-- 16969 [2022-09-15T22:33:06.231Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } [2022-09-15T22:33:06.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-15T22:33:06.360Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-15T22:33:06.378Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:06.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:33:06.685Z] [2022-09-15T22:33:06.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:07.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:33:07.000Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-15T22:33:07.000Z] df9b9388f04a: Pulling fs layer [2022-09-15T22:33:07.000Z] 52dc419b0ee2: Pulling fs layer [2022-09-15T22:33:07.000Z] 25bc292e5bac: Pulling fs layer [2022-09-15T22:33:07.000Z] 114826534d7a: Pulling fs layer [2022-09-15T22:33:07.000Z] 4657fd5d0bcf: Pulling fs layer [2022-09-15T22:33:07.000Z] 6ad1cebc031e: Pulling fs layer [2022-09-15T22:33:07.000Z] 8a3aa393b2d8: Pulling fs layer [2022-09-15T22:33:07.000Z] 114826534d7a: Waiting [2022-09-15T22:33:07.001Z] 4657fd5d0bcf: Waiting [2022-09-15T22:33:07.001Z] 6ad1cebc031e: Waiting [2022-09-15T22:33:07.001Z] 8a3aa393b2d8: Waiting [2022-09-15T22:33:07.001Z] 25bc292e5bac: Verifying Checksum [2022-09-15T22:33:07.001Z] 25bc292e5bac: Download complete [2022-09-15T22:33:07.001Z] 52dc419b0ee2: Verifying Checksum [2022-09-15T22:33:07.001Z] 52dc419b0ee2: Download complete [2022-09-15T22:33:07.001Z] 4657fd5d0bcf: Verifying Checksum [2022-09-15T22:33:07.001Z] 4657fd5d0bcf: Download complete [2022-09-15T22:33:07.001Z] df9b9388f04a: Verifying Checksum [2022-09-15T22:33:07.001Z] df9b9388f04a: Download complete [2022-09-15T22:33:07.269Z] df9b9388f04a: Pull complete [2022-09-15T22:33:07.270Z] 6ad1cebc031e: Download complete [2022-09-15T22:33:07.270Z] 52dc419b0ee2: Pull complete [2022-09-15T22:33:07.533Z] 25bc292e5bac: Pull complete [2022-09-15T22:33:07.793Z] 114826534d7a: Verifying Checksum [2022-09-15T22:33:07.793Z] 114826534d7a: Download complete [2022-09-15T22:33:08.057Z] 8a3aa393b2d8: Verifying Checksum [2022-09-15T22:33:08.057Z] 8a3aa393b2d8: Download complete [2022-09-15T22:33:11.353Z] 114826534d7a: Pull complete [2022-09-15T22:33:11.353Z] 4657fd5d0bcf: Pull complete [2022-09-15T22:33:11.919Z] 6ad1cebc031e: Pull complete [2022-09-15T22:33:14.454Z] 8a3aa393b2d8: Pull complete [2022-09-15T22:33:14.454Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-15T22:33:14.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-15T22:33:14.454Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:33:14.548Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:33:14.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-09-15T22:33:16.692Z] $ docker top c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-15T22:33:16.749Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-09-15T22:33:17.028Z] + set -o pipefail [2022-09-15T22:33:17.028Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-09-15T22:33:22.303Z] [2022-09-15T22:33:22.303Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-09-15T22:33:22.303Z] [2022-09-15T22:33:22.303Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/8e21a9a0-7861-4db1-b409-27b7b639ceba [2022-09-15T22:33:22.303Z] [2022-09-15T22:33:22.303Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-09-15T22:33:22.303Z] [2022-09-15T22:33:22.303Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-15T22:33:22.303Z] [2022-09-15T22:33:22.564Z] [Pipeline] } [2022-09-15T22:33:22.595Z] $ docker stop --time=1 c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 [2022-09-15T22:33:25.305Z] $ docker rm -f c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 [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-09-15T22:33:26.006Z] + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] sh [2022-09-15T22:33:26.308Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:33:26.308Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:26.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:33:26.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:33:26.694Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:33:26.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-15T22:33:27.186Z] $ docker top 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:33:27.269Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:33:27.269Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:33:27.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:33:27.422Z] $ docker exec 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d ssh-agent [2022-09-15T22:33:27.533Z] SSH_AUTH_SOCK=/tmp/ssh-8ieM8C2Qrc3W/agent.35 [2022-09-15T22:33:27.533Z] SSH_AGENT_PID=41 [2022-09-15T22:33:27.538Z] Running ssh-add (command line suppressed) [2022-09-15T22:33:27.666Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_307848884300966214.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_307848884300966214.key) [2022-09-15T22:33:27.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:33:27.948Z] + git semver tag [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,155 [run_tag] DEBUG tag force:False [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,155 [check_head_tag] DEBUG check head tag [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,155 [execute] INFO git cat-file --batch-check [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,159 [execute] INFO git cat-file --batch [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,171 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,171 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,172 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:33:28.209Z] 2022-09-15 22:33:28,177 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:28.209Z] 2.3.0-dev.12 [Pipeline] } [2022-09-15T22:33:28.237Z] $ docker exec --env ******** --env ******** 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d ssh-agent -k [2022-09-15T22:33:28.351Z] unset SSH_AUTH_SOCK; [2022-09-15T22:33:28.352Z] unset SSH_AGENT_PID; [2022-09-15T22:33:28.352Z] echo Agent pid 41 killed; [2022-09-15T22:33:28.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:33:28.649Z] + git semver [Pipeline] } [2022-09-15T22:33:28.943Z] $ docker stop --time=1 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d [2022-09-15T22:33:30.245Z] $ docker rm -f 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:30.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:33:30.631Z] [2022-09-15T22:33:30.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:30.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:33:30.941Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-15T22:33:30.941Z] ab5ef0e58194: Pulling fs layer [2022-09-15T22:33:30.941Z] 9712f1f96733: Pulling fs layer [2022-09-15T22:33:30.941Z] 63f879dbbcfc: Pulling fs layer [2022-09-15T22:33:30.941Z] 0d9ebad4ef96: Pulling fs layer [2022-09-15T22:33:30.941Z] e9a5061849ea: Pulling fs layer [2022-09-15T22:33:30.941Z] d747dcd14b5f: Pulling fs layer [2022-09-15T22:33:30.941Z] 2de7ff778b66: Pulling fs layer [2022-09-15T22:33:30.941Z] 0d9ebad4ef96: Waiting [2022-09-15T22:33:30.941Z] e9a5061849ea: Waiting [2022-09-15T22:33:30.941Z] d747dcd14b5f: Waiting [2022-09-15T22:33:30.941Z] 2de7ff778b66: Waiting [2022-09-15T22:33:30.941Z] 9712f1f96733: Verifying Checksum [2022-09-15T22:33:30.941Z] 9712f1f96733: Download complete [2022-09-15T22:33:31.517Z] 63f879dbbcfc: Verifying Checksum [2022-09-15T22:33:31.517Z] 63f879dbbcfc: Download complete [2022-09-15T22:33:31.517Z] e9a5061849ea: Verifying Checksum [2022-09-15T22:33:31.517Z] e9a5061849ea: Download complete [2022-09-15T22:33:31.517Z] d747dcd14b5f: Verifying Checksum [2022-09-15T22:33:31.517Z] d747dcd14b5f: Download complete [2022-09-15T22:33:31.776Z] 0d9ebad4ef96: Verifying Checksum [2022-09-15T22:33:31.776Z] 0d9ebad4ef96: Download complete [2022-09-15T22:33:31.776Z] ab5ef0e58194: Verifying Checksum [2022-09-15T22:33:31.776Z] ab5ef0e58194: Download complete [2022-09-15T22:33:31.776Z] 2de7ff778b66: Verifying Checksum [2022-09-15T22:33:31.776Z] 2de7ff778b66: Download complete [2022-09-15T22:33:35.065Z] ab5ef0e58194: Pull complete [2022-09-15T22:33:35.065Z] 9712f1f96733: Pull complete [2022-09-15T22:33:35.323Z] 63f879dbbcfc: Pull complete [2022-09-15T22:33:39.511Z] 0d9ebad4ef96: Pull complete [2022-09-15T22:33:39.511Z] e9a5061849ea: Pull complete [2022-09-15T22:33:39.511Z] d747dcd14b5f: Pull complete [2022-09-15T22:33:40.445Z] 2de7ff778b66: Pull complete [2022-09-15T22:33:40.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-15T22:33:40.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-15T22:33:40.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:33:40.533Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:33:40.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-09-15T22:33:43.097Z] $ docker top bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:33:43.162Z] provisioning config files... [2022-09-15T22:33:43.169Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2008662379939402803tmp [2022-09-15T22:33:43.181Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3704316211435293577tmp [2022-09-15T22:33:43.192Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1245583953774573354tmp [Pipeline] { [Pipeline] echo [2022-09-15T22:33:43.206Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:33:43.491Z] ---> sigul-configuration.sh [2022-09-15T22:33:43.491Z] gpg: directory `/root/.gnupg' created [2022-09-15T22:33:43.491Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-15T22:33:43.491Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-15T22:33:43.491Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-15T22:33:43.491Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-15T22:33:43.491Z] gpg: CAST5 encrypted data [2022-09-15T22:33:43.491Z] gpg: encrypted with 1 passphrase [2022-09-15T22:33:43.491Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-15T22:33:43.777Z] + mkdir /home/jenkins [2022-09-15T22:33:43.777Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-15T22:33:44.059Z] + 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-09-15T22:33:44.069Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:33:44.356Z] ---> sigul-install.sh [2022-09-15T22:33:44.356Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-15T22:33:44.643Z] + git tag --list [2022-09-15T22:33:44.643Z] 0.7.1 [2022-09-15T22:33:44.643Z] v1.0.0 [2022-09-15T22:33:44.643Z] v1.1.0 [2022-09-15T22:33:44.643Z] v1.1.1 [2022-09-15T22:33:44.643Z] v1.2.2 [2022-09-15T22:33:44.643Z] v1.3.0 [2022-09-15T22:33:44.643Z] v1.3.1 [2022-09-15T22:33:44.643Z] v2.0.0 [2022-09-15T22:33:44.643Z] v2.1.0 [2022-09-15T22:33:44.643Z] v2.1.1 [2022-09-15T22:33:44.643Z] v2.1.1-dev.1 [2022-09-15T22:33:44.643Z] v2.1.1-dev.2 [2022-09-15T22:33:44.643Z] v2.1.1-dev.3 [2022-09-15T22:33:44.643Z] v2.2.0 [2022-09-15T22:33:44.643Z] v2.2.1-dev.1 [2022-09-15T22:33:44.643Z] v2.2.1-dev.2 [2022-09-15T22:33:44.643Z] v2.2.1-dev.3 [2022-09-15T22:33:44.643Z] v2.2.1-dev.4 [2022-09-15T22:33:44.643Z] v2.2.1-dev.5 [2022-09-15T22:33:44.643Z] v2.2.1-dev.6 [2022-09-15T22:33:44.643Z] v2.2.1-dev.7 [2022-09-15T22:33:44.643Z] v2.3.0-dev.10 [2022-09-15T22:33:44.643Z] v2.3.0-dev.11 [2022-09-15T22:33:44.643Z] v2.3.0-dev.12 [2022-09-15T22:33:44.643Z] v2.3.0-dev.7 [2022-09-15T22:33:44.643Z] v2.3.0-dev.8 [2022-09-15T22:33:44.643Z] v2.3.0-dev.9 [Pipeline] sh [2022-09-15T22:33:44.927Z] + lftools sign git-tag v2.3.0-dev.12 [2022-09-15T22:33:45.497Z] Signing Git tag with Sigul... [2022-09-15T22:33:45.497Z] Signing v2.3.0-dev.12 [Pipeline] echo [2022-09-15T22:33:46.078Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:33:46.362Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-15T22:33:46.370Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-15T22:33:46.414Z] $ docker stop --time=1 bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 [2022-09-15T22:33:47.765Z] $ docker rm -f bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-15T22:33:48.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:33:48.162Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:48.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:33:48.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:33:48.552Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:33:48.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-15T22:33:49.025Z] $ docker top 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:33:49.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:33:49.112Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:33:49.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:33:49.263Z] $ docker exec 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 ssh-agent [2022-09-15T22:33:49.387Z] SSH_AUTH_SOCK=/tmp/ssh-SBW75hctgYEi/agent.32 [2022-09-15T22:33:49.387Z] SSH_AGENT_PID=39 [2022-09-15T22:33:49.392Z] Running ssh-add (command line suppressed) [2022-09-15T22:33:49.528Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3022958614181038388.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3022958614181038388.key) [2022-09-15T22:33:49.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:33:49.817Z] + git semver bump pre [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [bump_version] DEBUG bumped version:2.3.0-dev.13 [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,052 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,055 [execute] INFO git cat-file --batch-check [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,064 [execute] INFO git cat-file --batch [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T22:33:50.080Z] 2022-09-15 22:33:50,070 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:50.080Z] 2.3.0-dev.13 [Pipeline] } [2022-09-15T22:33:50.110Z] $ docker exec --env ******** --env ******** 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 ssh-agent -k [2022-09-15T22:33:50.212Z] unset SSH_AUTH_SOCK; [2022-09-15T22:33:50.212Z] unset SSH_AGENT_PID; [2022-09-15T22:33:50.212Z] echo Agent pid 39 killed; [2022-09-15T22:33:50.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:33:50.513Z] + git semver [Pipeline] } [2022-09-15T22:33:50.808Z] $ docker stop --time=1 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 [2022-09-15T22:33:52.116Z] $ docker rm -f 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-15T22:33:52.448Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-15T22:33:52.448Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:33:52.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-15T22:33:52.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:33:52.821Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:33:52.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-15T22:33:53.267Z] $ docker top 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-15T22:33:53.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-15T22:33:53.342Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-15T22:33:53.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-15T22:33:53.476Z] $ docker exec 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 ssh-agent [2022-09-15T22:33:53.573Z] SSH_AUTH_SOCK=/tmp/ssh-W3EUCAwVyycM/agent.33 [2022-09-15T22:33:53.573Z] SSH_AGENT_PID=40 [2022-09-15T22:33:53.579Z] Running ssh-add (command line suppressed) [2022-09-15T22:33:53.705Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2852918328429234806.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2852918328429234806.key) [2022-09-15T22:33:53.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-15T22:33:53.989Z] + git semver push [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,184 [run_push] DEBUG push [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,185 [execute] INFO git cat-file --batch-check [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,189 [execute] INFO git rev-list a2cb130cdac6502881ca4dd96170b05abe49d1b8 -- [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,190 [execute] DEBUG Popen(['git', 'rev-list', 'a2cb130cdac6502881ca4dd96170b05abe49d1b8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:33:54.248Z] 2022-09-15 22:33:54,197 [execute] INFO git fetch -v origin [2022-09-15T22:33:54.249Z] 2022-09-15 22:33:54,197 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-15T22:33:54.819Z] 2022-09-15 22:33:54,753 [run_push] DEBUG no remote changes detected [2022-09-15T22:33:54.819Z] 2022-09-15 22:33:54,754 [execute] INFO git push origin semver [2022-09-15T22:33:54.819Z] 2022-09-15 22:33:54,754 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:33:55.759Z] 2022-09-15 22:33:55,529 [run_push] DEBUG push all version tags [2022-09-15T22:33:55.759Z] 2022-09-15 22:33:55,530 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-15T22:33:55.759Z] 2022-09-15 22:33:55,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-15T22:33:56.328Z] 2022-09-15 22:33:56,326 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-09-15T22:33:56.328Z] 2.3.0-dev.13 [Pipeline] } [2022-09-15T22:33:56.358Z] $ docker exec --env ******** --env ******** 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 ssh-agent -k [2022-09-15T22:33:56.463Z] unset SSH_AUTH_SOCK; [2022-09-15T22:33:56.463Z] unset SSH_AGENT_PID; [2022-09-15T22:33:56.463Z] echo Agent pid 40 killed; [2022-09-15T22:33:56.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-15T22:33:56.758Z] + git semver [Pipeline] } [2022-09-15T22:33:57.050Z] $ docker stop --time=1 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 [2022-09-15T22:33:58.331Z] $ docker rm -f 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 [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-09-15T22:33:58.847Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-09-15T22:33:58.847Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-09-15T22:33:58.847Z] total 16 [2022-09-15T22:33:58.847Z] drwxr-xr-x 3 root root 4096 Sep 15 22:15 . [2022-09-15T22:33:58.847Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. [2022-09-15T22:33:58.847Z] drwxr-xr-x 2 root root 4096 Sep 15 22:15 cost [2022-09-15T22:33:58.847Z] -rw-r--r-- 1 root root 87 Sep 15 22:15 cost.csv [2022-09-15T22:33:58.847Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-09-15T22:33:58.847Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-09-15T22:33:58.847Z] total 16 [2022-09-15T22:33:58.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:15 . [2022-09-15T22:33:58.847Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. [2022-09-15T22:33:58.847Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:15 cost [2022-09-15T22:33:58.847Z] -rw-r--r-- 1 jenkins jenkins 87 Sep 15 22:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:33:59.140Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:00.000Z] ---> package-listing.sh [2022-09-15T22:34:00.000Z] ++ facter osfamily [2022-09-15T22:34:00.000Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-15T22:34:00.259Z] + OS_FAMILY=debian [2022-09-15T22:34:00.259Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-09-15T22:34:00.259Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-15T22:34:00.259Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-15T22:34:00.259Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-15T22:34:00.259Z] + PACKAGES=/tmp/packages_start.txt [2022-09-15T22:34:00.259Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-09-15T22:34:00.259Z] + PACKAGES=/tmp/packages_end.txt [2022-09-15T22:34:00.259Z] + case "${OS_FAMILY}" in [2022-09-15T22:34:00.259Z] + dpkg -l [2022-09-15T22:34:00.259Z] + grep '^ii' [2022-09-15T22:34:00.259Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-15T22:34:00.259Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-15T22:34:00.259Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-15T22:34:00.259Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-09-15T22:34:00.259Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-09-15T22:34:00.259Z] + 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-09-15T22:34:00.271Z] 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-09-15T22:34:00.548Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-15T22:34:01.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-15T22:34:01.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-15T22:34:01.183Z] prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container [2022-09-15T22:34:01.249Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-15T22:34:01.474Z] $ docker top 5d2edc39c53435bb50e530d056ee0079f34ed7ee0d546b4c891c7cf9b0985b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-15T22:34:01.807Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-15T22:34:02.094Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-15T22:34:02.380Z] + ls /var/log/sa-host [2022-09-15T22:34:02.380Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-15T22:34:02.450Z] provisioning config files... [2022-09-15T22:34:02.459Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3392465464945623429tmp [Pipeline] { [Pipeline] echo [2022-09-15T22:34:02.473Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:02.758Z] ---> create-netrc.sh [Pipeline] } [2022-09-15T22:34:02.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:03.088Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-15T22:34:03.098Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:03.382Z] ---> sudo-logs.sh [2022-09-15T22:34:03.382Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-15T22:34:03.406Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:03.687Z] ---> job-cost.sh [2022-09-15T22:34:03.687Z] lf-activate-venv: SKIPPING [2022-09-15T22:34:03.687Z] DEBUG: total: 0.2199999988079071 [2022-09-15T22:34:03.687Z] INFO: Retrieving Stack Cost... [2022-09-15T22:34:03.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-15T22:34:04.517Z] INFO: Archiving Costs [Pipeline] echo [2022-09-15T22:34:04.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-15T22:34:04.812Z] ---> logs-deploy.sh [2022-09-15T22:34:04.812Z] lf-activate-venv: SKIPPING [2022-09-15T22:34:04.812Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/51 [2022-09-15T22:34:04.812Z] INFO: archiving workspace using pattern(s): [2022-09-15T22:34:05.750Z] Archives upload complete. [2022-09-15T22:34:05.751Z] INFO: archiving logs to Nexus