Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b852e72d3920fd18aaf66b2a4a182781a557066 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-ssh3848236519468853689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14950829437068033973.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10788392563607233184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh14114723007472896318.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh17244987041159108316.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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:true] ========================================================= [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.17 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: true 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10766’ Running on prd-ubuntu20.04-docker-8c-8g-10772 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 6b852e72d3920fd18aaf66b2a4a182781a557066 (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 6b852e72d3920fd18aaf66b2a4a182781a557066 # timeout=10 Commit message: "Merge pull request #322 from jpwhitemn/enable-gosec-lint2" > git rev-list --no-walk 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T20:09:15.487Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T20:09:15.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T20:09:15.569Z] ========================================================= [2022-04-05T20:09:15.569Z] EdgeX Global Pipelines Version Info [2022-04-05T20:09:15.569Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:16.333Z] ------------------- [2022-04-05T20:09:16.333Z] stable info: [2022-04-05T20:09:16.333Z] ------------------- [2022-04-05T20:09:16.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T20:09:16.333Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:09:16.333Z] Message: update stable to v1.0.221 [2022-04-05T20:09:16.905Z] ------------------- [2022-04-05T20:09:16.905Z] experimental info: [2022-04-05T20:09:16.905Z] ------------------- [2022-04-05T20:09:16.905Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T20:09:16.905Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:09:16.905Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T20:09:17.017Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-05T20:09:17.030Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-05T20:09:17.045Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T20:09:17.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T20:09:17.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T20:09:17.086Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T20:09:17.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T20:09:17.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T20:09:17.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T20:09:17.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T20:09:17.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T20:09:17.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-05T20:09:17.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T20:09:17.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T20:09:17.231Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:09:17.248Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:09:17.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:09:17.273Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:09:17.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T20:09:17.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-04-05T20:09:17.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T20:09:17.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T20:09:17.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T20:09:17.369Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T20:09:17.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T20:09:17.403Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T20:09:17.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-05T20:09:17.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-05T20:09:17.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-05T20:09:17.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] echo [2022-04-05T20:09:17.487Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b852e7 [Pipeline] echo [2022-04-05T20:09:17.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:09:17.547Z] provisioning config files... [2022-04-05T20:09:17.562Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4855801837972743606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:17.869Z] ---> docker-login.sh [2022-04-05T20:09:17.869Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:18.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:18.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:18.130Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:18.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:18.130Z] [2022-04-05T20:09:18.130Z] Login Succeeded [2022-04-05T20:09:18.130Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:18.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:18.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:18.390Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:18.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:18.390Z] [2022-04-05T20:09:18.390Z] Login Succeeded [2022-04-05T20:09:18.390Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:18.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:18.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:18.390Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:18.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:18.390Z] [2022-04-05T20:09:18.390Z] Login Succeeded [2022-04-05T20:09:18.390Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:18.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:18.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:18.650Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:18.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:18.650Z] [2022-04-05T20:09:18.650Z] Login Succeeded [2022-04-05T20:09:18.650Z] docker.io [2022-04-05T20:09:18.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:18.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:18.910Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:18.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:18.910Z] [2022-04-05T20:09:18.910Z] Login Succeeded [2022-04-05T20:09:18.910Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:18.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T20:09:19.306Z] + git rev-list -1 --merges 6b852e72d3920fd18aaf66b2a4a182781a557066~1..6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] echo [2022-04-05T20:09:19.451Z] -----------> git rev-list -1 --merges 6b852e72d3920fd18aaf66b2a4a182781a557066~1..6b852e72d3920fd18aaf66b2a4a182781a557066 6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:09:19.451Z] 6b852e72d3920fd18aaf66b2a4a182781a557066 [false] [Pipeline] sh [2022-04-05T20:09:19.741Z] + git log --format=format:%s -1 6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] echo [2022-04-05T20:09:19.758Z] ========================================================= [2022-04-05T20:09:19.758Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T20:09:19.758Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:09:20.095Z] + git log --format=format:%s -1 6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] echo [2022-04-05T20:09:20.110Z] [semverPrep] GIT_COMMIT: 6b852e72d3920fd18aaf66b2a4a182781a557066, Commit Message: Merge pull request #322 from jpwhitemn/enable-gosec-lint2 [Pipeline] echo [2022-04-05T20:09:20.121Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T20:09:20.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:09:20.494Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T20:09:20.494Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T20:09:20.494Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T20:09:20.494Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T20:09:20.494Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T20:09:20.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:20.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:20.844Z] [2022-04-05T20:09:20.844Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:21.147Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:21.147Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T20:09:21.147Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T20:09:21.147Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T20:09:21.147Z] 4c7163046ea9: Pulling fs layer [2022-04-05T20:09:21.147Z] 0c2d73faf560: Pulling fs layer [2022-04-05T20:09:21.147Z] 3e5f54012d9b: Download complete [2022-04-05T20:09:21.148Z] a0d0a0d46f8b: Verifying Checksum [2022-04-05T20:09:21.148Z] a0d0a0d46f8b: Download complete [2022-04-05T20:09:21.148Z] 0c2d73faf560: Verifying Checksum [2022-04-05T20:09:21.148Z] 0c2d73faf560: Download complete [2022-04-05T20:09:21.148Z] 4c7163046ea9: Verifying Checksum [2022-04-05T20:09:21.148Z] 4c7163046ea9: Download complete [2022-04-05T20:09:21.407Z] a0d0a0d46f8b: Pull complete [2022-04-05T20:09:21.407Z] 3e5f54012d9b: Pull complete [2022-04-05T20:09:21.667Z] 4c7163046ea9: Pull complete [2022-04-05T20:09:21.928Z] 0c2d73faf560: Pull complete [2022-04-05T20:09:21.928Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T20:09:21.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:21.929Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T20:09:22.004Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:09:22.051Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:09:22.738Z] $ docker top bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:09:22.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:09:22.828Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:09:22.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:09:22.963Z] $ docker exec bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e ssh-agent [2022-04-05T20:09:23.082Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdFmBFH/agent.13 [2022-04-05T20:09:23.082Z] SSH_AGENT_PID=19 [2022-04-05T20:09:23.090Z] Running ssh-add (command line suppressed) [2022-04-05T20:09:23.207Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_543812680443677653.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_543812680443677653.key) [2022-04-05T20:09:23.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:09:23.503Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T20:09:23.528Z] $ docker exec --env ******** --env ******** bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e ssh-agent -k [2022-04-05T20:09:23.640Z] unset SSH_AUTH_SOCK; [2022-04-05T20:09:23.640Z] unset SSH_AGENT_PID; [2022-04-05T20:09:23.640Z] echo Agent pid 19 killed; [2022-04-05T20:09:23.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T20:09:23.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:09:23.672Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:09:23.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:09:23.816Z] $ docker exec bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e ssh-agent [2022-04-05T20:09:23.943Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpNkBcN/agent.53 [2022-04-05T20:09:23.943Z] SSH_AGENT_PID=59 [2022-04-05T20:09:23.948Z] Running ssh-add (command line suppressed) [2022-04-05T20:09:24.063Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2167933596152610678.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2167933596152610678.key) [2022-04-05T20:09:24.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:09:24.363Z] + git semver init [2022-04-05T20:09:24.363Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:09:24.363Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-05T20:09:24.363Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:09:24.363Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:09:24.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:09:24.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:09:24.363Z] # $SEMVER_BRANCH = main [2022-04-05T20:09:24.363Z] # $SEMVER_TEMP = /tmp/semver-897476702 [2022-04-05T20:09:24.363Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-05T20:09:25.305Z] # '/tmp/semver-897476702' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-05T20:09:25.306Z] # -> Force: false [2022-04-05T20:09:25.306Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-05T20:09:25.323Z] $ docker exec --env ******** --env ******** bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e ssh-agent -k [2022-04-05T20:09:25.435Z] unset SSH_AUTH_SOCK; [2022-04-05T20:09:25.435Z] unset SSH_AGENT_PID; [2022-04-05T20:09:25.435Z] echo Agent pid 59 killed; [2022-04-05T20:09:25.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:09:25.750Z] + git semver [Pipeline] } [2022-04-05T20:09:25.771Z] $ docker stop --time=1 bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e [2022-04-05T20:09:27.112Z] $ docker rm -f bc7d43d567c4e9a8d324b150892ab2ea190146e8d3be25d49c75fb8cca84ee0e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:09:27.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T20:09:27.717Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T20:09:27.721Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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-04-05T20:09:27.839Z] provisioning config files... [2022-04-05T20:09:27.849Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4796193326444907620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:28.148Z] ---> docker-login.sh [2022-04-05T20:09:28.149Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:28.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:28.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:28.149Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:28.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:28.149Z] [2022-04-05T20:09:28.149Z] Login Succeeded [2022-04-05T20:09:28.149Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:28.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:28.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:28.149Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:28.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:28.149Z] [2022-04-05T20:09:28.149Z] Login Succeeded [2022-04-05T20:09:28.408Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:28.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:28.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:28.408Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:28.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:28.408Z] [2022-04-05T20:09:28.408Z] Login Succeeded [2022-04-05T20:09:28.408Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:28.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:28.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:28.408Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:28.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:28.408Z] [2022-04-05T20:09:28.408Z] Login Succeeded [2022-04-05T20:09:28.668Z] docker.io [2022-04-05T20:09:28.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:28.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:28.967Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:28.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:28.967Z] [2022-04-05T20:09:28.967Z] Login Succeeded [2022-04-05T20:09:28.967Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:28.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:09:29.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:09:29.052Z] ========================================================= [2022-04-05T20:09:29.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T20:09:29.052Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:29.363Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:09:29.363Z] Sending build context to Docker daemon 5.743MB [2022-04-05T20:09:29.363Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:29.363Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-05T20:09:29.363Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T20:09:29.363Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T20:09:29.363Z] 666ba61612fd: Pulling fs layer [2022-04-05T20:09:29.363Z] 8ed8ca486205: Pulling fs layer [2022-04-05T20:09:29.363Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T20:09:29.363Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T20:09:29.363Z] 640e595b4fbd: Pulling fs layer [2022-04-05T20:09:29.363Z] 763cafe07f6e: Pulling fs layer [2022-04-05T20:09:29.363Z] 0c0b528cf693: Pulling fs layer [2022-04-05T20:09:29.363Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T20:09:29.363Z] 4fe6c5a15a65: Waiting [2022-04-05T20:09:29.363Z] 22a0e8bec74d: Waiting [2022-04-05T20:09:29.363Z] 640e595b4fbd: Waiting [2022-04-05T20:09:29.363Z] 763cafe07f6e: Waiting [2022-04-05T20:09:29.363Z] 10935f4eaf8b: Waiting [2022-04-05T20:09:29.363Z] 0c0b528cf693: Waiting [2022-04-05T20:09:29.363Z] 8ed8ca486205: Verifying Checksum [2022-04-05T20:09:29.363Z] 8ed8ca486205: Download complete [2022-04-05T20:09:29.363Z] 666ba61612fd: Download complete [2022-04-05T20:09:29.363Z] 22a0e8bec74d: Download complete [2022-04-05T20:09:29.623Z] 640e595b4fbd: Verifying Checksum [2022-04-05T20:09:29.623Z] 640e595b4fbd: Download complete [2022-04-05T20:09:29.623Z] 59bf1c3509f3: Verifying Checksum [2022-04-05T20:09:29.623Z] 59bf1c3509f3: Download complete [2022-04-05T20:09:29.623Z] 763cafe07f6e: Verifying Checksum [2022-04-05T20:09:29.623Z] 763cafe07f6e: Download complete [2022-04-05T20:09:29.623Z] 0c0b528cf693: Verifying Checksum [2022-04-05T20:09:29.623Z] 0c0b528cf693: Download complete [2022-04-05T20:09:29.623Z] 59bf1c3509f3: Pull complete [2022-04-05T20:09:29.883Z] 666ba61612fd: Pull complete [2022-04-05T20:09:29.883Z] 8ed8ca486205: Pull complete [2022-04-05T20:09:30.143Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T20:09:30.143Z] 10935f4eaf8b: Download complete [2022-04-05T20:09:30.143Z] 4fe6c5a15a65: Verifying Checksum [2022-04-05T20:09:30.143Z] 4fe6c5a15a65: Download complete [2022-04-05T20:09:34.359Z] 4fe6c5a15a65: Pull complete [2022-04-05T20:09:34.359Z] 22a0e8bec74d: Pull complete [2022-04-05T20:09:34.359Z] 640e595b4fbd: Pull complete [2022-04-05T20:09:34.359Z] 763cafe07f6e: Pull complete [2022-04-05T20:09:34.359Z] 0c0b528cf693: Pull complete [2022-04-05T20:09:36.259Z] 10935f4eaf8b: Pull complete [2022-04-05T20:09:36.259Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T20:09:36.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T20:09:36.259Z] ---> 99d49a6021b9 [2022-04-05T20:09:36.259Z] Step 3/10 : ARG MAKE='make build' [2022-04-05T20:09:37.200Z] ---> Running in 380145eebb48 [2022-04-05T20:09:37.459Z] Removing intermediate container 380145eebb48 [2022-04-05T20:09:37.459Z] ---> dc82e87a7e96 [2022-04-05T20:09:37.459Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:09:37.459Z] ---> Running in df123de788d5 [2022-04-05T20:09:38.035Z] Removing intermediate container df123de788d5 [2022-04-05T20:09:38.035Z] ---> 1bd389f608cf [2022-04-05T20:09:38.035Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-05T20:09:38.035Z] ---> Running in e2caa94330c1 [2022-04-05T20:09:38.294Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:39.234Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:39.493Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:09:39.493Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-05T20:09:39.754Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:09:39.754Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:09:39.754Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-05T20:09:40.015Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-05T20:09:40.015Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-05T20:09:40.015Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-05T20:09:40.276Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:09:40.276Z] OK: 226 MiB in 60 packages [2022-04-05T20:09:40.845Z] Removing intermediate container e2caa94330c1 [2022-04-05T20:09:40.845Z] ---> f7f3d3c87563 [2022-04-05T20:09:40.845Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-05T20:09:40.845Z] ---> Running in 5720f79ae3d3 [2022-04-05T20:09:40.845Z] Removing intermediate container 5720f79ae3d3 [2022-04-05T20:09:40.845Z] ---> bb1e39d57166 [2022-04-05T20:09:40.845Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-05T20:09:40.845Z] ---> 58117c5c4553 [2022-04-05T20:09:40.845Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:09:41.106Z] ---> Running in 56669c91127c [2022-04-05T20:09:42.799Z] Still waiting to schedule task [2022-04-05T20:09:42.800Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ [2022-04-05T20:10:03.060Z] Removing intermediate container 56669c91127c [2022-04-05T20:10:03.060Z] ---> df897f7754d6 [2022-04-05T20:10:03.060Z] Step 9/10 : COPY . . [2022-04-05T20:10:03.060Z] ---> c62b0f1480aa [2022-04-05T20:10:03.060Z] Step 10/10 : RUN ${MAKE} [2022-04-05T20:10:03.060Z] ---> Running in f26c4fff95d3 [2022-04-05T20:10:03.060Z] noop [2022-04-05T20:10:03.060Z] Removing intermediate container f26c4fff95d3 [2022-04-05T20:10:03.060Z] ---> 3d8082ccd785 [2022-04-05T20:10:03.060Z] Successfully built 3d8082ccd785 [2022-04-05T20:10:03.060Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:03.354Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:10:03.354Z] . [Pipeline] withDockerContainer [2022-04-05T20:10:03.431Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:10:03.470Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-05T20:10:03.842Z] $ docker top 1fdae0c11314b2c17d34be53b06fc9ed218cbe5d4a5e496f496bdb59adb0edb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:10:04.200Z] + go version [2022-04-05T20:10:04.200Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T20:10:04.217Z] $ docker stop --time=1 1fdae0c11314b2c17d34be53b06fc9ed218cbe5d4a5e496f496bdb59adb0edb2 [2022-04-05T20:10:05.525Z] $ docker rm -f 1fdae0c11314b2c17d34be53b06fc9ed218cbe5d4a5e496f496bdb59adb0edb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:05.939Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:10:05.939Z] . [Pipeline] withDockerContainer [2022-04-05T20:10:06.007Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:10:06.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T20:10:06.413Z] $ docker top ebeb28a9d02f146b2c9555eb74e00922677a7d82d8fe7707896c48db6de00ee3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:10:06.811Z] + make test [2022-04-05T20:10:06.811Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:10:07.091Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-05T20:10:13.660Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-05T20:10:13.660Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements [2022-04-05T20:10:18.937Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:10:21.476Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:10:21.476Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:10:21.476Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:10:22.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:10:22.076Z] $ docker stop --time=1 ebeb28a9d02f146b2c9555eb74e00922677a7d82d8fe7707896c48db6de00ee3 [2022-04-05T20:10:23.713Z] $ docker rm -f ebeb28a9d02f146b2c9555eb74e00922677a7d82d8fe7707896c48db6de00ee3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:10:24.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:10:24.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T20:10:24.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:10:25.010Z] + ls -al . [2022-04-05T20:10:25.010Z] total 192 [2022-04-05T20:10:25.010Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:10 . [2022-04-05T20:10:25.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 .. [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:09 .dockerignore [2022-04-05T20:10:25.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 .git [2022-04-05T20:10:25.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 .github [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 5 20:09 .gitignore [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:09 .golangci.yml [2022-04-05T20:10:25.010Z] drwx------ 3 jenkins jenkins 4096 Apr 5 20:09 .semver [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 8106 Apr 5 20:09 Attribution.txt [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 5 20:09 CHANGELOG.md [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 5 20:09 Dockerfile [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:09 GOVERNANCE.md [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 5 20:09 Jenkinsfile [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:09 LICENSE [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 1503 Apr 5 20:09 Makefile [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 5 20:09 OWNERS.md [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 5 20:09 README.md [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:10:25.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 bin [2022-04-05T20:10:25.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 cmd [2022-04-05T20:10:25.010Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 5 20:10 coverage.out [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 2974 Apr 5 20:09 go.mod [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 50753 Apr 5 20:09 go.sum [2022-04-05T20:10:25.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 internal [2022-04-05T20:10:25.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 simulator [2022-04-05T20:10:25.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 snap [2022-04-05T20:10:25.010Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 5 20:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:25.310Z] + 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=6b852e72d3920fd18aaf66b2a4a182781a557066 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-04-05T20:10:25.310Z] Sending build context to Docker daemon 5.768MB [2022-04-05T20:10:25.310Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:10:25.310Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-05T20:10:25.310Z] ---> 3d8082ccd785 [2022-04-05T20:10:25.310Z] Step 3/23 : ARG MAKE='make build' [2022-04-05T20:10:25.310Z] ---> Running in b81f31dd9c8c [2022-04-05T20:10:25.568Z] Removing intermediate container b81f31dd9c8c [2022-04-05T20:10:25.568Z] ---> 8e7a409bc24a [2022-04-05T20:10:25.568Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:25.568Z] ---> Running in 0203582fbd2f [2022-04-05T20:10:26.138Z] Removing intermediate container 0203582fbd2f [2022-04-05T20:10:26.138Z] ---> 433872541576 [2022-04-05T20:10:26.138Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-05T20:10:26.138Z] ---> Running in ff5a16c2df43 [2022-04-05T20:10:26.398Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:27.339Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:27.600Z] OK: 226 MiB in 60 packages [2022-04-05T20:10:27.860Z] Removing intermediate container ff5a16c2df43 [2022-04-05T20:10:27.860Z] ---> 7582e278e895 [2022-04-05T20:10:27.860Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-05T20:10:27.860Z] ---> Running in 8beb361d91bd [2022-04-05T20:10:27.860Z] Removing intermediate container 8beb361d91bd [2022-04-05T20:10:27.860Z] ---> 162a421df8ce [2022-04-05T20:10:27.860Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-05T20:10:28.120Z] ---> 2c2c21b6d04f [2022-04-05T20:10:28.120Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:10:28.120Z] ---> Running in ebfce9692bd9 [2022-04-05T20:10:28.686Z] Removing intermediate container ebfce9692bd9 [2022-04-05T20:10:28.686Z] ---> f244c430101d [2022-04-05T20:10:28.686Z] Step 9/23 : COPY . . [2022-04-05T20:10:28.949Z] ---> 738395fc4ac6 [2022-04-05T20:10:28.949Z] Step 10/23 : RUN ${MAKE} [2022-04-05T20:10:29.264Z] ---> Running in e9a08b7b248b [2022-04-05T20:10:29.264Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.8" -o cmd/device-modbus ./cmd [2022-04-05T20:10:37.393Z] Removing intermediate container e9a08b7b248b [2022-04-05T20:10:37.393Z] ---> e301a976967a [2022-04-05T20:10:37.393Z] Step 11/23 : FROM alpine:3.14 [2022-04-05T20:10:37.393Z] 3.14: Pulling from library/alpine [2022-04-05T20:10:37.393Z] 8663204ce13b: Pulling fs layer [2022-04-05T20:10:37.393Z] 8663204ce13b: Verifying Checksum [2022-04-05T20:10:37.393Z] 8663204ce13b: Download complete [2022-04-05T20:10:37.393Z] 8663204ce13b: Pull complete [2022-04-05T20:10:37.393Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:10:37.393Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:10:37.394Z] ---> e04c818066af [2022-04-05T20:10:37.394Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-05T20:10:37.394Z] ---> Running in 7dbd48f161c4 [2022-04-05T20:10:37.394Z] Removing intermediate container 7dbd48f161c4 [2022-04-05T20:10:37.394Z] ---> 8f39683a0178 [2022-04-05T20:10:37.394Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:37.394Z] ---> Running in 90a1e8807dcc [2022-04-05T20:10:37.965Z] Removing intermediate container 90a1e8807dcc [2022-04-05T20:10:37.965Z] ---> 3a01d25835ba [2022-04-05T20:10:37.965Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:10:38.226Z] ---> Running in 1f8d9de11c6b [2022-04-05T20:10:38.487Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:39.429Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:39.689Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:10:39.689Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:10:39.689Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:10:39.951Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:10:39.951Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:10:39.951Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:10:40.213Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:10:40.213Z] OK: 8 MiB in 20 packages [2022-04-05T20:10:40.473Z] Removing intermediate container 1f8d9de11c6b [2022-04-05T20:10:40.473Z] ---> b70e4d05ed64 [2022-04-05T20:10:40.473Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-05T20:10:41.046Z] ---> 56b0e6ea8bfb [2022-04-05T20:10:41.046Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-05T20:10:41.046Z] ---> 50c21f01e0b6 [2022-04-05T20:10:41.046Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-05T20:10:41.307Z] ---> 8327537c559f [2022-04-05T20:10:41.307Z] Step 18/23 : EXPOSE 59901 [2022-04-05T20:10:41.307Z] ---> Running in 0d51d4442f21 [2022-04-05T20:10:41.307Z] Removing intermediate container 0d51d4442f21 [2022-04-05T20:10:41.307Z] ---> 6afe6c0b69f5 [2022-04-05T20:10:41.307Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-05T20:10:41.307Z] ---> Running in adbda9b89c52 [2022-04-05T20:10:41.567Z] Removing intermediate container adbda9b89c52 [2022-04-05T20:10:41.567Z] ---> 61c85427c757 [2022-04-05T20:10:41.567Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:10:41.567Z] ---> Running in 5dec4a5d9055 [2022-04-05T20:10:41.567Z] Removing intermediate container 5dec4a5d9055 [2022-04-05T20:10:41.567Z] ---> 5c9647c96a93 [2022-04-05T20:10:41.567Z] Step 21/23 : LABEL arch=amd64 [2022-04-05T20:10:41.567Z] ---> Running in 30f928d6268d [2022-04-05T20:10:41.826Z] Removing intermediate container 30f928d6268d [2022-04-05T20:10:41.826Z] ---> 3f72e61929b1 [2022-04-05T20:10:41.826Z] Step 22/23 : LABEL git_sha=6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:10:41.826Z] ---> Running in d1e6b4794883 [2022-04-05T20:10:41.826Z] Removing intermediate container d1e6b4794883 [2022-04-05T20:10:41.826Z] ---> 0c7943843709 [2022-04-05T20:10:41.826Z] Step 23/23 : LABEL version=2.2.0-dev.8 [2022-04-05T20:10:41.826Z] ---> Running in ea925041d9ba [2022-04-05T20:10:42.085Z] Removing intermediate container ea925041d9ba [2022-04-05T20:10:42.085Z] ---> 28718ed1e757 [2022-04-05T20:10:42.085Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:10:42.085Z] Successfully built 28718ed1e757 [2022-04-05T20:10:42.085Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:10:42.176Z] provisioning config files... [2022-04-05T20:10:42.188Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6663704835818503098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:10:42.492Z] ---> docker-login.sh [2022-04-05T20:10:42.492Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:10:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:42.492Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:42.492Z] [2022-04-05T20:10:42.492Z] Login Succeeded [2022-04-05T20:10:42.492Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:10:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:42.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:42.753Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:42.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:42.753Z] [2022-04-05T20:10:42.753Z] Login Succeeded [2022-04-05T20:10:42.753Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:10:42.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:42.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:42.753Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:42.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:42.753Z] [2022-04-05T20:10:42.753Z] Login Succeeded [2022-04-05T20:10:42.753Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:10:43.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:43.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:43.013Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:43.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:43.013Z] [2022-04-05T20:10:43.013Z] Login Succeeded [2022-04-05T20:10:43.013Z] docker.io [2022-04-05T20:10:43.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:43.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:43.275Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:43.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:43.275Z] [2022-04-05T20:10:43.275Z] Login Succeeded [2022-04-05T20:10:43.275Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:10:43.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:10:43.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:10:43.326Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-05T20:10:43.326Z] 6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:10:43.326Z] latest [2022-04-05T20:10:43.326Z] 2.2.0-dev.8 [2022-04-05T20:10:43.326Z] 6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:10:43.326Z] main [2022-04-05T20:10:43.326Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:43.631Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:43.922Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:10:43.922Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-05T20:10:43.922Z] 5e4c8dcbe549: Preparing [2022-04-05T20:10:43.922Z] 1bb86e5381c6: Preparing [2022-04-05T20:10:43.922Z] eab6edfd6429: Preparing [2022-04-05T20:10:43.922Z] 1b3234e184df: Preparing [2022-04-05T20:10:43.922Z] f64a3a76a9ac: Preparing [2022-04-05T20:10:43.922Z] b541d28bf3b4: Preparing [2022-04-05T20:10:43.922Z] b541d28bf3b4: Waiting [2022-04-05T20:10:43.922Z] f64a3a76a9ac: Pushed [2022-04-05T20:10:43.922Z] 1bb86e5381c6: Pushed [2022-04-05T20:10:43.922Z] 5e4c8dcbe549: Pushed [2022-04-05T20:10:43.922Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:44.180Z] 1b3234e184df: Pushed [2022-04-05T20:10:45.564Z] eab6edfd6429: Pushed [2022-04-05T20:10:45.564Z] 6b852e72d3920fd18aaf66b2a4a182781a557066: digest: sha256:686eb6f6e33d9abaca65fc7bc1ef959104079f55a87201efd82e7d9a38e62011 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:45.865Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:46.160Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-05T20:10:46.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-05T20:10:46.160Z] 5e4c8dcbe549: Preparing [2022-04-05T20:10:46.160Z] 1bb86e5381c6: Preparing [2022-04-05T20:10:46.160Z] eab6edfd6429: Preparing [2022-04-05T20:10:46.160Z] 1b3234e184df: Preparing [2022-04-05T20:10:46.160Z] f64a3a76a9ac: Preparing [2022-04-05T20:10:46.160Z] b541d28bf3b4: Preparing [2022-04-05T20:10:46.160Z] b541d28bf3b4: Waiting [2022-04-05T20:10:46.160Z] eab6edfd6429: Layer already exists [2022-04-05T20:10:46.160Z] 5e4c8dcbe549: Layer already exists [2022-04-05T20:10:46.160Z] 1bb86e5381c6: Layer already exists [2022-04-05T20:10:46.160Z] f64a3a76a9ac: Layer already exists [2022-04-05T20:10:46.160Z] 1b3234e184df: Layer already exists [2022-04-05T20:10:46.160Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:46.160Z] latest: digest: sha256:686eb6f6e33d9abaca65fc7bc1ef959104079f55a87201efd82e7d9a38e62011 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:46.462Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:46.752Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.8 [2022-04-05T20:10:46.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-05T20:10:46.752Z] 5e4c8dcbe549: Preparing [2022-04-05T20:10:46.752Z] 1bb86e5381c6: Preparing [2022-04-05T20:10:46.752Z] eab6edfd6429: Preparing [2022-04-05T20:10:46.752Z] 1b3234e184df: Preparing [2022-04-05T20:10:46.752Z] f64a3a76a9ac: Preparing [2022-04-05T20:10:46.752Z] b541d28bf3b4: Preparing [2022-04-05T20:10:46.752Z] b541d28bf3b4: Waiting [2022-04-05T20:10:46.752Z] 1b3234e184df: Layer already exists [2022-04-05T20:10:46.752Z] f64a3a76a9ac: Layer already exists [2022-04-05T20:10:46.752Z] 1bb86e5381c6: Layer already exists [2022-04-05T20:10:46.752Z] 5e4c8dcbe549: Layer already exists [2022-04-05T20:10:46.752Z] eab6edfd6429: Layer already exists [2022-04-05T20:10:46.752Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:46.752Z] 2.2.0-dev.8: digest: sha256:686eb6f6e33d9abaca65fc7bc1ef959104079f55a87201efd82e7d9a38e62011 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:47.056Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:47.347Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:10:47.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-05T20:10:47.347Z] 5e4c8dcbe549: Preparing [2022-04-05T20:10:47.347Z] 1bb86e5381c6: Preparing [2022-04-05T20:10:47.347Z] eab6edfd6429: Preparing [2022-04-05T20:10:47.347Z] 1b3234e184df: Preparing [2022-04-05T20:10:47.347Z] f64a3a76a9ac: Preparing [2022-04-05T20:10:47.347Z] b541d28bf3b4: Preparing [2022-04-05T20:10:47.347Z] b541d28bf3b4: Waiting [2022-04-05T20:10:47.347Z] 1b3234e184df: Layer already exists [2022-04-05T20:10:47.347Z] eab6edfd6429: Layer already exists [2022-04-05T20:10:47.347Z] 5e4c8dcbe549: Layer already exists [2022-04-05T20:10:47.347Z] f64a3a76a9ac: Layer already exists [2022-04-05T20:10:47.347Z] 1bb86e5381c6: Layer already exists [2022-04-05T20:10:47.347Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:47.347Z] 6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8: digest: sha256:686eb6f6e33d9abaca65fc7bc1ef959104079f55a87201efd82e7d9a38e62011 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:47.651Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:47.944Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-05T20:10:47.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-05T20:10:47.945Z] 5e4c8dcbe549: Preparing [2022-04-05T20:10:47.945Z] 1bb86e5381c6: Preparing [2022-04-05T20:10:47.945Z] eab6edfd6429: Preparing [2022-04-05T20:10:47.945Z] 1b3234e184df: Preparing [2022-04-05T20:10:47.945Z] f64a3a76a9ac: Preparing [2022-04-05T20:10:47.945Z] b541d28bf3b4: Preparing [2022-04-05T20:10:47.945Z] b541d28bf3b4: Waiting [2022-04-05T20:10:47.945Z] 1bb86e5381c6: Layer already exists [2022-04-05T20:10:47.945Z] eab6edfd6429: Layer already exists [2022-04-05T20:10:47.945Z] f64a3a76a9ac: Layer already exists [2022-04-05T20:10:47.945Z] 5e4c8dcbe549: Layer already exists [2022-04-05T20:10:47.945Z] 1b3234e184df: Layer already exists [2022-04-05T20:10:47.945Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:47.945Z] main: digest: sha256:686eb6f6e33d9abaca65fc7bc1ef959104079f55a87201efd82e7d9a38e62011 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:10:47.975Z] ===================================================== [Pipeline] echo [2022-04-05T20:10:47.981Z] taggedImages: [2022-04-05T20:10:47.981Z] - nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:10:47.981Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-05T20:10:47.981Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.8 [2022-04-05T20:10:47.981Z] - nexus3.edgexfoundry.org:10004/device-modbus:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:10:47.981Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:48.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:48.379Z] [2022-04-05T20:10:48.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:48.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:48.680Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T20:10:48.680Z] 5eb5b503b376: Pulling fs layer [2022-04-05T20:10:48.680Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T20:10:48.680Z] ec43610c2a17: Pulling fs layer [2022-04-05T20:10:48.680Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T20:10:48.680Z] 33b1e0a273af: Pulling fs layer [2022-04-05T20:10:48.680Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T20:10:48.680Z] 2f39f015ded8: Pulling fs layer [2022-04-05T20:10:48.680Z] 3a2ae6a8a46f: Waiting [2022-04-05T20:10:48.680Z] 33b1e0a273af: Waiting [2022-04-05T20:10:48.680Z] 5d3b04190fa2: Waiting [2022-04-05T20:10:48.680Z] 5c69ac0246d0: Verifying Checksum [2022-04-05T20:10:48.680Z] 5c69ac0246d0: Download complete [2022-04-05T20:10:48.680Z] 3a2ae6a8a46f: Download complete [2022-04-05T20:10:48.680Z] 33b1e0a273af: Verifying Checksum [2022-04-05T20:10:48.680Z] 33b1e0a273af: Download complete [2022-04-05T20:10:48.680Z] ec43610c2a17: Verifying Checksum [2022-04-05T20:10:48.680Z] ec43610c2a17: Download complete [2022-04-05T20:10:48.680Z] 5d3b04190fa2: Verifying Checksum [2022-04-05T20:10:48.680Z] 5d3b04190fa2: Download complete [2022-04-05T20:10:48.939Z] 5eb5b503b376: Verifying Checksum [2022-04-05T20:10:48.939Z] 5eb5b503b376: Download complete [2022-04-05T20:10:49.504Z] 2f39f015ded8: Verifying Checksum [2022-04-05T20:10:49.504Z] 2f39f015ded8: Download complete [2022-04-05T20:10:50.078Z] 5eb5b503b376: Pull complete [2022-04-05T20:10:50.078Z] 5c69ac0246d0: Pull complete [2022-04-05T20:10:50.646Z] ec43610c2a17: Pull complete [2022-04-05T20:10:50.646Z] 3a2ae6a8a46f: Pull complete [2022-04-05T20:10:50.905Z] 33b1e0a273af: Pull complete [2022-04-05T20:10:50.905Z] 5d3b04190fa2: Pull complete [2022-04-05T20:10:55.099Z] 2f39f015ded8: Pull complete [2022-04-05T20:10:55.099Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T20:10:55.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:55.099Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T20:10:55.167Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:10:55.204Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:10:56.643Z] $ docker top 5010f7ef24505a56428052f43ca1ca2c9344f93b588c47186ba414e37d7bfd24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:10:57.069Z] ---> job-cost.sh [2022-04-05T20:10:57.069Z] lf-activate-venv: SKIPPING [2022-04-05T20:10:57.069Z] INFO: No Stack... [2022-04-05T20:10:57.379Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:10:57.966Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:10:58.256Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-05T20:10:58.256Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:10:58.270Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [2022-04-05T20:10:58.278Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] did not exist. Created. [2022-04-05T20:10:58.278Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:10:58.586Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T20:10:58.608Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:10:58.614Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:10:58.635Z] $ docker stop --time=1 5010f7ef24505a56428052f43ca1ca2c9344f93b588c47186ba414e37d7bfd24 [2022-04-05T20:10:59.810Z] $ docker rm -f 5010f7ef24505a56428052f43ca1ca2c9344f93b588c47186ba414e37d7bfd24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T20:12:51.632Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10776 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-05T20:12:51.646Z] Running in /w/workspace/device-modbus-go/26 [Pipeline] { [Pipeline] checkout [2022-04-05T20:12:52.075Z] Selected Git installation does not exist. Using Default [2022-04-05T20:12:52.075Z] The recommended git tool is: NONE [2022-04-05T20:13:01.573Z] using credential edgex-jenkins-ssh [2022-04-05T20:13:01.594Z] Cloning the remote Git repository [2022-04-05T20:13:01.792Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-05T20:13:01.960Z] > git init /w/workspace/device-modbus-go/26 # timeout=10 [2022-04-05T20:13:02.091Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-05T20:13:02.092Z] > git --version # timeout=10 [2022-04-05T20:13:02.125Z] > git --version # 'git version 2.25.1' [2022-04-05T20:13:02.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T20:13:02.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:13:03.676Z] Avoid second fetch [2022-04-05T20:13:03.676Z] Checking out Revision 6b852e72d3920fd18aaf66b2a4a182781a557066 (main) [2022-04-05T20:13:03.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-05T20:13:03.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:13:03.709Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T20:13:03.731Z] > git checkout -f 6b852e72d3920fd18aaf66b2a4a182781a557066 # timeout=10 [2022-04-05T20:13:08.241Z] Commit message: "Merge pull request #322 from jpwhitemn/enable-gosec-lint2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:13:09.112Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T20:13:09.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:13:09.112Z] Dload Upload Total Spent Left Speed [2022-04-05T20:13:09.112Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2022-04-05T20:13:09.670Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T20:13:10.026Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T20:13:10.026Z] + sudo tee /etc/docker/daemon.new [2022-04-05T20:13:10.026Z] { [2022-04-05T20:13:10.026Z] "registry-mirrors": [ [2022-04-05T20:13:10.026Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T20:13:10.026Z] ], [2022-04-05T20:13:10.026Z] "bip": "10.250.0.254/24", [2022-04-05T20:13:10.026Z] "hosts": [ [2022-04-05T20:13:10.026Z] "tcp://0.0.0.0:5555", [2022-04-05T20:13:10.026Z] "unix:///var/run/docker.sock" [2022-04-05T20:13:10.026Z] ], [2022-04-05T20:13:10.026Z] "mtu": 1458, [2022-04-05T20:13:10.026Z] "selinux-enabled": true, [2022-04-05T20:13:10.026Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T20:13:10.026Z] } [Pipeline] sh [2022-04-05T20:13:10.389Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T20:13:10.744Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:13:29.153Z] provisioning config files... [2022-04-05T20:13:29.184Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/26@tmp/config8852823538448338887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:13:29.615Z] ---> docker-login.sh [2022-04-05T20:13:29.615Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:13:30.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:13:30.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:13:30.831Z] Configure a credential helper to remove this warning. See [2022-04-05T20:13:30.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:13:30.831Z] [2022-04-05T20:13:30.831Z] Login Succeeded [2022-04-05T20:13:30.831Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:13:31.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:13:31.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:13:31.109Z] Configure a credential helper to remove this warning. See [2022-04-05T20:13:31.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:13:31.109Z] [2022-04-05T20:13:31.109Z] Login Succeeded [2022-04-05T20:13:31.109Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:13:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:13:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:13:31.718Z] Configure a credential helper to remove this warning. See [2022-04-05T20:13:31.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:13:31.718Z] [2022-04-05T20:13:31.718Z] Login Succeeded [2022-04-05T20:13:31.718Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:13:31.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:13:32.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:13:32.277Z] Configure a credential helper to remove this warning. See [2022-04-05T20:13:32.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:13:32.277Z] [2022-04-05T20:13:32.277Z] Login Succeeded [2022-04-05T20:13:32.277Z] docker.io [2022-04-05T20:13:32.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:13:33.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:13:33.153Z] Configure a credential helper to remove this warning. See [2022-04-05T20:13:33.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:13:33.153Z] [2022-04-05T20:13:33.153Z] Login Succeeded [2022-04-05T20:13:33.153Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:13:33.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:13:33.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:13:33.675Z] ========================================================= [2022-04-05T20:13:33.675Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T20:13:33.675Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:13:34.065Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:13:34.342Z] Sending build context to Docker daemon 3.015MB [2022-04-05T20:13:34.625Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:13:34.625Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-05T20:13:34.625Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T20:13:34.625Z] 9b3977197b4f: Pulling fs layer [2022-04-05T20:13:34.625Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T20:13:34.625Z] 94645a83ff95: Pulling fs layer [2022-04-05T20:13:34.625Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T20:13:34.625Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T20:13:34.625Z] f7c0051592d6: Pulling fs layer [2022-04-05T20:13:34.625Z] a227ed2f7395: Pulling fs layer [2022-04-05T20:13:34.625Z] 7b1c46037f91: Pulling fs layer [2022-04-05T20:13:34.625Z] f7c0051592d6: Waiting [2022-04-05T20:13:34.625Z] a227ed2f7395: Waiting [2022-04-05T20:13:34.625Z] 7b1c46037f91: Waiting [2022-04-05T20:13:34.625Z] 3f3a8bcf1eab: Waiting [2022-04-05T20:13:34.625Z] 0c92f367c5e7: Waiting [2022-04-05T20:13:34.907Z] 94645a83ff95: Verifying Checksum [2022-04-05T20:13:34.907Z] 94645a83ff95: Download complete [2022-04-05T20:13:34.907Z] 1a89e8eeedd5: Verifying Checksum [2022-04-05T20:13:34.907Z] 1a89e8eeedd5: Download complete [2022-04-05T20:13:34.907Z] 0c92f367c5e7: Verifying Checksum [2022-04-05T20:13:34.907Z] 0c92f367c5e7: Download complete [2022-04-05T20:13:34.907Z] f7c0051592d6: Verifying Checksum [2022-04-05T20:13:34.907Z] f7c0051592d6: Download complete [2022-04-05T20:13:34.907Z] 9b3977197b4f: Download complete [2022-04-05T20:13:34.907Z] a227ed2f7395: Verifying Checksum [2022-04-05T20:13:34.907Z] a227ed2f7395: Download complete [2022-04-05T20:13:35.517Z] 9b3977197b4f: Pull complete [2022-04-05T20:13:36.514Z] 1a89e8eeedd5: Pull complete [2022-04-05T20:13:36.514Z] 94645a83ff95: Pull complete [2022-04-05T20:13:37.115Z] 7b1c46037f91: Verifying Checksum [2022-04-05T20:13:37.115Z] 7b1c46037f91: Download complete [2022-04-05T20:13:37.717Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T20:13:37.717Z] 3f3a8bcf1eab: Download complete [2022-04-05T20:13:50.149Z] 3f3a8bcf1eab: Pull complete [2022-04-05T20:13:50.426Z] 0c92f367c5e7: Pull complete [2022-04-05T20:13:51.030Z] f7c0051592d6: Pull complete [2022-04-05T20:13:51.030Z] a227ed2f7395: Pull complete [2022-04-05T20:13:57.784Z] 7b1c46037f91: Pull complete [2022-04-05T20:13:57.784Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T20:13:57.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T20:13:57.784Z] ---> f79e39bc4007 [2022-04-05T20:13:57.784Z] Step 3/10 : ARG MAKE='make build' [2022-04-05T20:13:59.244Z] ---> Running in 08ad6230f10d [2022-04-05T20:13:59.518Z] Removing intermediate container 08ad6230f10d [2022-04-05T20:13:59.519Z] ---> dc9778598be4 [2022-04-05T20:13:59.519Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:13:59.519Z] ---> Running in 7e2ba582601c [2022-04-05T20:14:01.531Z] Removing intermediate container 7e2ba582601c [2022-04-05T20:14:01.531Z] ---> bc53b48b5e36 [2022-04-05T20:14:01.531Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-05T20:14:01.531Z] ---> Running in 6bd97ee1567d [2022-04-05T20:14:02.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:14:03.576Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:14:04.556Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:14:04.843Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-05T20:14:04.844Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:14:05.129Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:14:05.129Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-05T20:14:05.402Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-05T20:14:05.402Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-05T20:14:05.402Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-05T20:14:05.676Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:14:05.676Z] OK: 226 MiB in 60 packages [2022-04-05T20:14:07.149Z] Removing intermediate container 6bd97ee1567d [2022-04-05T20:14:07.149Z] ---> 253763273207 [2022-04-05T20:14:07.149Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-05T20:14:07.149Z] ---> Running in f0816534a5fa [2022-04-05T20:14:08.135Z] Removing intermediate container f0816534a5fa [2022-04-05T20:14:08.135Z] ---> cbf31848d355 [2022-04-05T20:14:08.135Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-05T20:14:08.731Z] ---> 6098a3f2f04e [2022-04-05T20:14:08.731Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:14:09.006Z] ---> Running in d01a68a0b741 [2022-04-05T20:15:30.829Z] Removing intermediate container d01a68a0b741 [2022-04-05T20:15:30.829Z] ---> 26f5375fd2ab [2022-04-05T20:15:30.829Z] Step 9/10 : COPY . . [2022-04-05T20:15:30.829Z] ---> b78eb591f7a5 [2022-04-05T20:15:30.829Z] Step 10/10 : RUN ${MAKE} [2022-04-05T20:15:30.829Z] ---> Running in d7f00b07863e [2022-04-05T20:15:30.829Z] noop [2022-04-05T20:15:30.829Z] Removing intermediate container d7f00b07863e [2022-04-05T20:15:30.829Z] ---> 2e5c9bb7ec30 [2022-04-05T20:15:30.829Z] Successfully built 2e5c9bb7ec30 [2022-04-05T20:15:30.829Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:31.182Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:15:31.183Z] . [Pipeline] withDockerContainer [2022-04-05T20:15:31.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-10776 does not seem to be running inside a container [2022-04-05T20:15:31.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/26 -v /w/workspace/device-modbus-go/26:/w/workspace/device-modbus-go/26:rw,z -v /w/workspace/device-modbus-go/26@tmp:/w/workspace/device-modbus-go/26@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 ******** ci-base-image-arm64 cat [2022-04-05T20:15:32.845Z] $ docker top 47cc357e10bebe3db94f1a45135af689a30f880ef9c78ab1c0dcdd0cead7357a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:15:33.766Z] + go version [2022-04-05T20:15:33.766Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T20:15:33.796Z] $ docker stop --time=1 47cc357e10bebe3db94f1a45135af689a30f880ef9c78ab1c0dcdd0cead7357a [2022-04-05T20:15:35.458Z] $ docker rm -f 47cc357e10bebe3db94f1a45135af689a30f880ef9c78ab1c0dcdd0cead7357a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:36.083Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:15:36.083Z] . [Pipeline] withDockerContainer [2022-04-05T20:15:36.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-10776 does not seem to be running inside a container [2022-04-05T20:15:36.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/26 -v /w/workspace/device-modbus-go/26:/w/workspace/device-modbus-go/26:rw,z -v /w/workspace/device-modbus-go/26@tmp:/w/workspace/device-modbus-go/26@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 ******** ci-base-image-arm64 cat [2022-04-05T20:15:37.731Z] $ docker top 4869806e00418defcb3b5d5dea6e592aeaa7bf522d2be5df42db0ebdf91167bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:15:38.674Z] + make test [2022-04-05T20:15:38.674Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:15:40.120Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-05T20:16:36.752Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-05T20:16:36.752Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 46.4% of statements [2022-04-05T20:16:36.752Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T20:16:36.752Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:16:58.971Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:16:58.971Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:16:58.971Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:17:01.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:17:01.650Z] $ docker stop --time=1 4869806e00418defcb3b5d5dea6e592aeaa7bf522d2be5df42db0ebdf91167bb [2022-04-05T20:17:03.547Z] $ docker rm -f 4869806e00418defcb3b5d5dea6e592aeaa7bf522d2be5df42db0ebdf91167bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:17:04.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:17:04.505Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T20:17:05.081Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:17:05.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:17:05.808Z] + ls -al . [2022-04-05T20:17:05.808Z] total 188 [2022-04-05T20:17:05.808Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:17 . [2022-04-05T20:17:05.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:13 .. [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 20:13 .dockerignore [2022-04-05T20:17:05.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:13 .git [2022-04-05T20:17:05.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:13 .github [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 5 20:13 .gitignore [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:13 .golangci.yml [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 8106 Apr 5 20:13 Attribution.txt [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 5 20:13 CHANGELOG.md [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 5 20:13 Dockerfile [2022-04-05T20:17:05.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:13 GOVERNANCE.md [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 5 20:13 Jenkinsfile [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:13 LICENSE [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 1503 Apr 5 20:13 Makefile [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 5 20:13 OWNERS.md [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 5 20:13 README.md [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:17:05.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:13 bin [2022-04-05T20:17:05.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:13 cmd [2022-04-05T20:17:05.809Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 5 20:16 coverage.out [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 2974 Apr 5 20:13 go.mod [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 50753 Apr 5 20:13 go.sum [2022-04-05T20:17:05.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:13 internal [2022-04-05T20:17:05.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:13 simulator [2022-04-05T20:17:05.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:13 snap [2022-04-05T20:17:05.809Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 5 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:06.163Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6b852e72d3920fd18aaf66b2a4a182781a557066 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-04-05T20:17:06.440Z] Sending build context to Docker daemon 3.04MB [2022-04-05T20:17:06.731Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:17:06.731Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-05T20:17:06.731Z] ---> 2e5c9bb7ec30 [2022-04-05T20:17:06.731Z] Step 3/23 : ARG MAKE='make build' [2022-04-05T20:17:06.731Z] ---> Running in 0bff672e834e [2022-04-05T20:17:07.009Z] Removing intermediate container 0bff672e834e [2022-04-05T20:17:07.009Z] ---> 15c156fb5fdd [2022-04-05T20:17:07.009Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:17:07.294Z] ---> Running in 9ccfa34f62ae [2022-04-05T20:17:09.287Z] Removing intermediate container 9ccfa34f62ae [2022-04-05T20:17:09.287Z] ---> ed03d006a66a [2022-04-05T20:17:09.287Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-05T20:17:09.287Z] ---> Running in 2780d0981398 [2022-04-05T20:17:10.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:17:11.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:17:12.251Z] OK: 226 MiB in 60 packages [2022-04-05T20:17:13.243Z] Removing intermediate container 2780d0981398 [2022-04-05T20:17:13.243Z] ---> d61a19999dbf [2022-04-05T20:17:13.243Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-05T20:17:13.243Z] ---> Running in 521d953f8b21 [2022-04-05T20:17:13.846Z] Removing intermediate container 521d953f8b21 [2022-04-05T20:17:13.846Z] ---> b2eb8f946610 [2022-04-05T20:17:13.846Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-05T20:17:14.447Z] ---> 7744a53cf3d4 [2022-04-05T20:17:14.447Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:17:14.447Z] ---> Running in 491d89181a59 [2022-04-05T20:17:17.081Z] Removing intermediate container 491d89181a59 [2022-04-05T20:17:17.081Z] ---> 88056926472b [2022-04-05T20:17:17.081Z] Step 9/23 : COPY . . [2022-04-05T20:17:17.688Z] ---> 49cb1db58b0a [2022-04-05T20:17:17.688Z] Step 10/23 : RUN ${MAKE} [2022-04-05T20:17:17.964Z] ---> Running in 3635e14f20d4 [2022-04-05T20:17:18.961Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.8" -o cmd/device-modbus ./cmd [2022-04-05T20:18:06.039Z] Removing intermediate container 3635e14f20d4 [2022-04-05T20:18:06.039Z] ---> 8171a47e46f9 [2022-04-05T20:18:06.039Z] Step 11/23 : FROM alpine:3.14 [2022-04-05T20:18:06.039Z] 3.14: Pulling from library/alpine [2022-04-05T20:18:06.039Z] 455c02918c45: Pulling fs layer [2022-04-05T20:18:06.039Z] 455c02918c45: Verifying Checksum [2022-04-05T20:18:06.039Z] 455c02918c45: Download complete [2022-04-05T20:18:06.039Z] 455c02918c45: Pull complete [2022-04-05T20:18:06.039Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:18:06.039Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:18:06.039Z] ---> ac73e934f311 [2022-04-05T20:18:06.039Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-05T20:18:06.039Z] ---> Running in 3c9350c8c5a4 [2022-04-05T20:18:06.039Z] Removing intermediate container 3c9350c8c5a4 [2022-04-05T20:18:06.039Z] ---> 9e2d4b301f34 [2022-04-05T20:18:06.039Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:18:06.313Z] ---> Running in 16955b4ae6af [2022-04-05T20:18:08.312Z] Removing intermediate container 16955b4ae6af [2022-04-05T20:18:08.312Z] ---> 033cd5b35803 [2022-04-05T20:18:08.312Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:18:08.312Z] ---> Running in 6dc940cef0cf [2022-04-05T20:18:08.910Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:09.888Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:10.879Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:18:10.879Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:18:11.153Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:18:11.153Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:18:11.153Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:18:11.432Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:18:11.432Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:18:11.432Z] OK: 8 MiB in 20 packages [2022-04-05T20:18:12.428Z] Removing intermediate container 6dc940cef0cf [2022-04-05T20:18:12.428Z] ---> a8d2d9aab0df [2022-04-05T20:18:12.428Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-05T20:18:13.410Z] ---> 77d4ac68a857 [2022-04-05T20:18:13.410Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-05T20:18:14.017Z] ---> 29ce125cd17a [2022-04-05T20:18:14.017Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-05T20:18:14.616Z] ---> 8ceba5d25deb [2022-04-05T20:18:14.616Z] Step 18/23 : EXPOSE 59901 [2022-04-05T20:18:14.894Z] ---> Running in 17690c97f952 [2022-04-05T20:18:15.167Z] Removing intermediate container 17690c97f952 [2022-04-05T20:18:15.167Z] ---> d5e5c12000c6 [2022-04-05T20:18:15.167Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-05T20:18:15.167Z] ---> Running in a54e7d1940d7 [2022-04-05T20:18:15.448Z] Removing intermediate container a54e7d1940d7 [2022-04-05T20:18:15.448Z] ---> 0b3dbc077594 [2022-04-05T20:18:15.448Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:18:15.448Z] ---> Running in 5f35267b84bd [2022-04-05T20:18:16.052Z] Removing intermediate container 5f35267b84bd [2022-04-05T20:18:16.052Z] ---> 4e1cc38f14d7 [2022-04-05T20:18:16.052Z] Step 21/23 : LABEL arch=arm64 [2022-04-05T20:18:16.052Z] ---> Running in c19a83ea6a29 [2022-04-05T20:18:16.329Z] Removing intermediate container c19a83ea6a29 [2022-04-05T20:18:16.329Z] ---> 435b9cd0cec0 [2022-04-05T20:18:16.329Z] Step 22/23 : LABEL git_sha=6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:18:16.329Z] ---> Running in aca5151961d6 [2022-04-05T20:18:16.610Z] Removing intermediate container aca5151961d6 [2022-04-05T20:18:16.610Z] ---> f4fcd98f0341 [2022-04-05T20:18:16.610Z] Step 23/23 : LABEL version=2.2.0-dev.8 [2022-04-05T20:18:16.887Z] ---> Running in a0fe54875992 [2022-04-05T20:18:17.166Z] Removing intermediate container a0fe54875992 [2022-04-05T20:18:17.166Z] ---> 5dc6e583312c [2022-04-05T20:18:17.166Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:18:17.166Z] Successfully built 5dc6e583312c [2022-04-05T20:18:17.166Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:18:17.267Z] provisioning config files... [2022-04-05T20:18:17.289Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/26@tmp/config877819680684448523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:17.653Z] ---> docker-login.sh [2022-04-05T20:18:17.653Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:18:17.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:17.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:17.927Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:17.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:17.927Z] [2022-04-05T20:18:17.927Z] Login Succeeded [2022-04-05T20:18:17.927Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:18:18.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:18.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:18.527Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:18.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:18.527Z] [2022-04-05T20:18:18.527Z] Login Succeeded [2022-04-05T20:18:18.527Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:18:19.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:19.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:19.127Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:19.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:19.127Z] [2022-04-05T20:18:19.127Z] Login Succeeded [2022-04-05T20:18:19.127Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:18:19.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:19.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:19.676Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:19.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:19.676Z] [2022-04-05T20:18:19.676Z] Login Succeeded [2022-04-05T20:18:19.676Z] docker.io [2022-04-05T20:18:19.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:20.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:20.548Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:20.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:20.548Z] [2022-04-05T20:18:20.548Z] Login Succeeded [2022-04-05T20:18:20.548Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:18:20.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:18:20.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:18:20.627Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-05T20:18:20.627Z] 6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:18:20.627Z] latest [2022-04-05T20:18:20.627Z] 2.2.0-dev.8 [2022-04-05T20:18:20.627Z] 6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:18:20.627Z] main [2022-04-05T20:18:20.627Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:20.980Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:21.338Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:18:21.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-05T20:18:21.338Z] 24b116fae24b: Preparing [2022-04-05T20:18:21.338Z] 01b6e3068ceb: Preparing [2022-04-05T20:18:21.338Z] 382323c9323c: Preparing [2022-04-05T20:18:21.338Z] 3fd001e546cd: Preparing [2022-04-05T20:18:21.338Z] 52d6ce5c2999: Preparing [2022-04-05T20:18:21.338Z] f73e7dbfee58: Preparing [2022-04-05T20:18:21.338Z] f73e7dbfee58: Waiting [2022-04-05T20:18:21.622Z] 52d6ce5c2999: Pushed [2022-04-05T20:18:21.622Z] 01b6e3068ceb: Pushed [2022-04-05T20:18:21.622Z] 24b116fae24b: Pushed [2022-04-05T20:18:21.622Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:22.223Z] 3fd001e546cd: Pushed [2022-04-05T20:18:24.864Z] 382323c9323c: Pushed [2022-04-05T20:18:24.864Z] 6b852e72d3920fd18aaf66b2a4a182781a557066: digest: sha256:ab49c84b4745e5074a43c0b44b25bcff466272ca44ba5854d41633211f789129 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:25.223Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:25.570Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-05T20:18:25.570Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-05T20:18:25.570Z] 24b116fae24b: Preparing [2022-04-05T20:18:25.570Z] 01b6e3068ceb: Preparing [2022-04-05T20:18:25.570Z] 382323c9323c: Preparing [2022-04-05T20:18:25.570Z] 3fd001e546cd: Preparing [2022-04-05T20:18:25.570Z] 52d6ce5c2999: Preparing [2022-04-05T20:18:25.571Z] f73e7dbfee58: Preparing [2022-04-05T20:18:25.571Z] f73e7dbfee58: Waiting [2022-04-05T20:18:25.571Z] 24b116fae24b: Layer already exists [2022-04-05T20:18:25.571Z] 3fd001e546cd: Layer already exists [2022-04-05T20:18:25.571Z] 52d6ce5c2999: Layer already exists [2022-04-05T20:18:25.571Z] 01b6e3068ceb: Layer already exists [2022-04-05T20:18:25.571Z] 382323c9323c: Layer already exists [2022-04-05T20:18:25.571Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:25.844Z] latest: digest: sha256:ab49c84b4745e5074a43c0b44b25bcff466272ca44ba5854d41633211f789129 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:26.205Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:26.567Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.8 [2022-04-05T20:18:26.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-05T20:18:26.567Z] 24b116fae24b: Preparing [2022-04-05T20:18:26.567Z] 01b6e3068ceb: Preparing [2022-04-05T20:18:26.567Z] 382323c9323c: Preparing [2022-04-05T20:18:26.567Z] 3fd001e546cd: Preparing [2022-04-05T20:18:26.567Z] 52d6ce5c2999: Preparing [2022-04-05T20:18:26.567Z] f73e7dbfee58: Preparing [2022-04-05T20:18:26.567Z] f73e7dbfee58: Waiting [2022-04-05T20:18:26.567Z] 3fd001e546cd: Layer already exists [2022-04-05T20:18:26.567Z] 52d6ce5c2999: Layer already exists [2022-04-05T20:18:26.567Z] 24b116fae24b: Layer already exists [2022-04-05T20:18:26.567Z] 382323c9323c: Layer already exists [2022-04-05T20:18:26.567Z] 01b6e3068ceb: Layer already exists [2022-04-05T20:18:26.841Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:26.841Z] 2.2.0-dev.8: digest: sha256:ab49c84b4745e5074a43c0b44b25bcff466272ca44ba5854d41633211f789129 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:27.200Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:27.556Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:18:27.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-05T20:18:27.556Z] 24b116fae24b: Preparing [2022-04-05T20:18:27.556Z] 01b6e3068ceb: Preparing [2022-04-05T20:18:27.556Z] 382323c9323c: Preparing [2022-04-05T20:18:27.556Z] 3fd001e546cd: Preparing [2022-04-05T20:18:27.556Z] 52d6ce5c2999: Preparing [2022-04-05T20:18:27.556Z] f73e7dbfee58: Preparing [2022-04-05T20:18:27.556Z] f73e7dbfee58: Waiting [2022-04-05T20:18:27.556Z] 01b6e3068ceb: Layer already exists [2022-04-05T20:18:27.556Z] 3fd001e546cd: Layer already exists [2022-04-05T20:18:27.556Z] 52d6ce5c2999: Layer already exists [2022-04-05T20:18:27.830Z] 382323c9323c: Layer already exists [2022-04-05T20:18:27.830Z] 24b116fae24b: Layer already exists [2022-04-05T20:18:27.830Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:27.830Z] 6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8: digest: sha256:ab49c84b4745e5074a43c0b44b25bcff466272ca44ba5854d41633211f789129 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:28.185Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:28.539Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-05T20:18:28.539Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-05T20:18:28.539Z] 24b116fae24b: Preparing [2022-04-05T20:18:28.539Z] 01b6e3068ceb: Preparing [2022-04-05T20:18:28.539Z] 382323c9323c: Preparing [2022-04-05T20:18:28.539Z] 3fd001e546cd: Preparing [2022-04-05T20:18:28.539Z] 52d6ce5c2999: Preparing [2022-04-05T20:18:28.539Z] f73e7dbfee58: Preparing [2022-04-05T20:18:28.539Z] f73e7dbfee58: Waiting [2022-04-05T20:18:28.539Z] 01b6e3068ceb: Layer already exists [2022-04-05T20:18:28.539Z] 3fd001e546cd: Layer already exists [2022-04-05T20:18:28.539Z] 52d6ce5c2999: Layer already exists [2022-04-05T20:18:28.539Z] 382323c9323c: Layer already exists [2022-04-05T20:18:28.539Z] 24b116fae24b: Layer already exists [2022-04-05T20:18:28.813Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:28.813Z] main: digest: sha256:ab49c84b4745e5074a43c0b44b25bcff466272ca44ba5854d41633211f789129 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:18:28.865Z] ===================================================== [Pipeline] echo [2022-04-05T20:18:28.875Z] taggedImages: [2022-04-05T20:18:28.875Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066 [2022-04-05T20:18:28.875Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-05T20:18:28.875Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.8 [2022-04-05T20:18:28.875Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6b852e72d3920fd18aaf66b2a4a182781a557066-2.2.0-dev.8 [2022-04-05T20:18:28.875Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:29.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:18:29.253Z] [2022-04-05T20:18:29.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:29.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:18:29.892Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T20:18:29.892Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T20:18:29.892Z] 04944245beec: Pulling fs layer [2022-04-05T20:18:29.892Z] 699f458cf7ca: Pulling fs layer [2022-04-05T20:18:29.892Z] 765212b225bb: Pulling fs layer [2022-04-05T20:18:29.892Z] f23df028b6ca: Pulling fs layer [2022-04-05T20:18:29.892Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T20:18:29.892Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T20:18:29.892Z] 765212b225bb: Waiting [2022-04-05T20:18:29.892Z] f23df028b6ca: Waiting [2022-04-05T20:18:29.892Z] d65c8cfc05b1: Waiting [2022-04-05T20:18:29.892Z] 2437ff75d9bd: Waiting [2022-04-05T20:18:29.892Z] 04944245beec: Download complete [2022-04-05T20:18:29.892Z] 765212b225bb: Verifying Checksum [2022-04-05T20:18:29.892Z] 765212b225bb: Download complete [2022-04-05T20:18:29.892Z] f23df028b6ca: Verifying Checksum [2022-04-05T20:18:29.892Z] f23df028b6ca: Download complete [2022-04-05T20:18:30.176Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T20:18:30.176Z] d65c8cfc05b1: Download complete [2022-04-05T20:18:30.176Z] 699f458cf7ca: Verifying Checksum [2022-04-05T20:18:30.176Z] 699f458cf7ca: Download complete [2022-04-05T20:18:30.454Z] 8998bd30e6a1: Download complete [2022-04-05T20:18:33.083Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T20:18:33.083Z] 2437ff75d9bd: Download complete [2022-04-05T20:18:35.078Z] 8998bd30e6a1: Pull complete [2022-04-05T20:18:35.679Z] 04944245beec: Pull complete [2022-04-05T20:18:37.128Z] 699f458cf7ca: Pull complete [2022-04-05T20:18:37.405Z] 765212b225bb: Pull complete [2022-04-05T20:18:38.390Z] f23df028b6ca: Pull complete [2022-04-05T20:18:38.390Z] d65c8cfc05b1: Pull complete [2022-04-05T20:18:53.508Z] 2437ff75d9bd: Pull complete [2022-04-05T20:18:53.508Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T20:18:53.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:18:53.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T20:18:53.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-10776 does not seem to be running inside a container [2022-04-05T20:18:53.876Z] $ 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/26 -v /w/workspace/device-modbus-go/26:/w/workspace/device-modbus-go/26:rw,z -v /w/workspace/device-modbus-go/26@tmp:/w/workspace/device-modbus-go/26@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:arm64 cat [2022-04-05T20:18:56.649Z] $ docker top e884ad2526e5e4719b11e00b6d8c9e3bdc476bf98ac2fb98c02c014724a06771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:57.638Z] ---> job-cost.sh [2022-04-05T20:18:57.638Z] lf-activate-venv: SKIPPING [2022-04-05T20:18:57.638Z] INFO: No Stack... [2022-04-05T20:18:58.237Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T20:18:58.839Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:18:59.514Z] + cat /w/workspace/device-modbus-go/26/archives/cost.csv [2022-04-05T20:18:59.514Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:18:59.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [2022-04-05T20:18:59.596Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] did not exist. Created. [2022-04-05T20:18:59.597Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:19:00.304Z] /w/workspace/device-modbus-go/26@tmp/durable-fc4be0bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T20:19:00.998Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T20:19:01.022Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T20:19:01.082Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:19:01.089Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:19:01.116Z] $ docker stop --time=1 e884ad2526e5e4719b11e00b6d8c9e3bdc476bf98ac2fb98c02c014724a06771 [2022-04-05T20:19:02.704Z] $ docker rm -f e884ad2526e5e4719b11e00b6d8c9e3bdc476bf98ac2fb98c02c014724a06771 [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-04-05T20:19:03.174Z] provisioning config files... [2022-04-05T20:19:03.184Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2942094779207869770tmp [Pipeline] { [Pipeline] sh [2022-04-05T20:19:03.484Z] + set +x [2022-04-05T20:19:03.484Z] + curl -s https://codecov.io/bash [2022-04-05T20:19:03.484Z] + bash -s -- [2022-04-05T20:19:03.484Z] [2022-04-05T20:19:03.484Z] _____ _ [2022-04-05T20:19:03.484Z] / ____| | | [2022-04-05T20:19:03.484Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T20:19:03.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T20:19:03.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T20:19:03.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T20:19:03.484Z] Bash-1.0.6 [2022-04-05T20:19:03.484Z] [2022-04-05T20:19:03.484Z] [2022-04-05T20:19:03.484Z] ==> git version 2.25.1 found [2022-04-05T20:19:03.484Z] ==> 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-04-05T20:19:03.484Z] Release-Date: 2020-01-08 [2022-04-05T20:19:03.484Z] 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-04-05T20:19:03.484Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T20:19:03.484Z] ==> Jenkins CI detected. [2022-04-05T20:19:03.484Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:19:03.485Z] project root: . [2022-04-05T20:19:03.485Z] --> token set from env [2022-04-05T20:19:03.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T20:19:03.485Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T20:19:03.485Z] ==> Python coveragepy not found [2022-04-05T20:19:03.485Z] ==> Searching for coverage reports in: [2022-04-05T20:19:03.485Z] + . [2022-04-05T20:19:03.485Z] -> Found 1 reports [2022-04-05T20:19:03.485Z] ==> Detecting git/mercurial file structure [2022-04-05T20:19:03.485Z] ==> Reading reports [2022-04-05T20:19:03.485Z] + ./coverage.out bytes=24065 [2022-04-05T20:19:03.485Z] ==> Appending adjustments [2022-04-05T20:19:03.485Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T20:19:03.745Z] + Found adjustments [2022-04-05T20:19:03.745Z] ==> Gzipping contents [2022-04-05T20:19:03.745Z] 4.0K /tmp/codecov.c9Zrip.gz [2022-04-05T20:19:03.745Z] ==> Uploading reports [2022-04-05T20:19:03.745Z] url: https://codecov.io [2022-04-05T20:19:03.745Z] query: branch=main&commit=6b852e72d3920fd18aaf66b2a4a182781a557066&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:19:03.745Z] -> Pinging Codecov [2022-04-05T20:19:03.745Z] 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=6b852e72d3920fd18aaf66b2a4a182781a557066&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:19:04.005Z] -> Uploading to [2022-04-05T20:19:04.005Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/55DBCA73C666E3227836607328DD7E49/6b852e72d3920fd18aaf66b2a4a182781a557066/f44d3390-d52d-4027-9925-426eec53a59c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a885f3a71febd1c7391309980ab9fdce66eb1676e6d0e0cde6c34d6009777ecc [2022-04-05T20:19:04.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:19:04.005Z] Dload Upload Total Spent Left Speed [2022-04-05T20:19:04.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 19567 --:--:-- --:--:-- --:--:-- 19567 [2022-04-05T20:19:04.265Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] } [2022-04-05T20:19:04.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-05T20:19:04.407Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-05T20:19:04.417Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:04.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:04.706Z] [2022-04-05T20:19:04.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:05.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:05.007Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-05T20:19:05.007Z] 188c0c94c7c5: Pulling fs layer [2022-04-05T20:19:05.007Z] 0ef7d3d256c8: Pulling fs layer [2022-04-05T20:19:05.007Z] de9db76c5a1d: Pulling fs layer [2022-04-05T20:19:05.007Z] 0eba1c9be4d2: Pulling fs layer [2022-04-05T20:19:05.007Z] 0d57e429df01: Pulling fs layer [2022-04-05T20:19:05.007Z] 4e4be7b47b0d: Pulling fs layer [2022-04-05T20:19:05.007Z] e1f770b5df2f: Pulling fs layer [2022-04-05T20:19:05.007Z] 85a0685a4137: Pulling fs layer [2022-04-05T20:19:05.007Z] e1f770b5df2f: Waiting [2022-04-05T20:19:05.007Z] 0d57e429df01: Waiting [2022-04-05T20:19:05.007Z] 4e4be7b47b0d: Waiting [2022-04-05T20:19:05.007Z] 85a0685a4137: Waiting [2022-04-05T20:19:05.007Z] 0eba1c9be4d2: Waiting [2022-04-05T20:19:05.007Z] de9db76c5a1d: Verifying Checksum [2022-04-05T20:19:05.007Z] de9db76c5a1d: Download complete [2022-04-05T20:19:05.007Z] 0ef7d3d256c8: Download complete [2022-04-05T20:19:05.007Z] 0d57e429df01: Download complete [2022-04-05T20:19:05.007Z] 188c0c94c7c5: Verifying Checksum [2022-04-05T20:19:05.007Z] 188c0c94c7c5: Download complete [2022-04-05T20:19:05.007Z] 4e4be7b47b0d: Download complete [2022-04-05T20:19:05.266Z] 188c0c94c7c5: Pull complete [2022-04-05T20:19:05.266Z] e1f770b5df2f: Verifying Checksum [2022-04-05T20:19:05.266Z] e1f770b5df2f: Download complete [2022-04-05T20:19:05.266Z] 0ef7d3d256c8: Pull complete [2022-04-05T20:19:05.527Z] de9db76c5a1d: Pull complete [2022-04-05T20:19:05.785Z] 0eba1c9be4d2: Verifying Checksum [2022-04-05T20:19:05.785Z] 0eba1c9be4d2: Download complete [2022-04-05T20:19:05.785Z] 85a0685a4137: Verifying Checksum [2022-04-05T20:19:05.785Z] 85a0685a4137: Download complete [2022-04-05T20:19:09.080Z] 0eba1c9be4d2: Pull complete [2022-04-05T20:19:09.080Z] 0d57e429df01: Pull complete [2022-04-05T20:19:09.080Z] 4e4be7b47b0d: Pull complete [2022-04-05T20:19:09.340Z] e1f770b5df2f: Pull complete [2022-04-05T20:19:12.632Z] 85a0685a4137: Pull complete [2022-04-05T20:19:12.632Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-05T20:19:12.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:12.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-05T20:19:12.698Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:12.743Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-05T20:19:14.391Z] $ docker top 75973fda976153d89f481b7cefdd44d668a79ec2839e0ae3debb6c30059d225c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-05T20:19:14.450Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-05T20:19:14.728Z] + set -o pipefail [2022-04-05T20:19:14.728Z] + snyk monitor '--org=edgex-jenkins' [2022-04-05T20:19:18.932Z] [2022-04-05T20:19:18.933Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-05T20:19:18.933Z] [2022-04-05T20:19:18.933Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/29ed751e-6f77-448e-9a51-e043c1483857 [2022-04-05T20:19:18.933Z] [2022-04-05T20:19:18.933Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-05T20:19:18.933Z] [2022-04-05T20:19:18.933Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-05T20:19:18.933Z] [2022-04-05T20:19:18.933Z] [Pipeline] } [2022-04-05T20:19:18.951Z] $ docker stop --time=1 75973fda976153d89f481b7cefdd44d668a79ec2839e0ae3debb6c30059d225c [2022-04-05T20:19:20.648Z] $ docker rm -f 75973fda976153d89f481b7cefdd44d668a79ec2839e0ae3debb6c30059d225c [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-04-05T20:19:21.317Z] + git log --format=format:%s -1 6b852e72d3920fd18aaf66b2a4a182781a557066 [Pipeline] sh [2022-04-05T20:19:21.618Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:19:21.618Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:21.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:19:21.921Z] . [Pipeline] withDockerContainer [2022-04-05T20:19:21.993Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:22.033Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:19:22.433Z] $ docker top 1fe4960671e080d3043766848e1bd6784f380da421c06d1457b0bf4dd0ac060b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:19:22.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:19:22.534Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:19:22.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:19:22.672Z] $ docker exec 1fe4960671e080d3043766848e1bd6784f380da421c06d1457b0bf4dd0ac060b ssh-agent [2022-04-05T20:19:22.786Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCILdeA/agent.14 [2022-04-05T20:19:22.786Z] SSH_AGENT_PID=20 [2022-04-05T20:19:22.792Z] Running ssh-add (command line suppressed) [2022-04-05T20:19:22.910Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8698248771765004233.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8698248771765004233.key) [2022-04-05T20:19:22.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:19:23.211Z] + git semver tag [2022-04-05T20:19:23.211Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:19:23.211Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-05T20:19:23.211Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:19:23.211Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:19:23.211Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:19:23.211Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:19:23.211Z] # $SEMVER_BRANCH = main [2022-04-05T20:19:23.211Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-05T20:19:23.211Z] # 6b852e72d3920fd18aaf66b2a4a182781a557066 HEAD [2022-04-05T20:19:23.211Z] # -> Force: false [2022-04-05T20:19:23.211Z] # a84e96fa47acf5204774b745946bdb639ea6fc42 refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-04-05T20:19:23.227Z] $ docker exec --env ******** --env ******** 1fe4960671e080d3043766848e1bd6784f380da421c06d1457b0bf4dd0ac060b ssh-agent -k [2022-04-05T20:19:23.343Z] unset SSH_AUTH_SOCK; [2022-04-05T20:19:23.343Z] unset SSH_AGENT_PID; [2022-04-05T20:19:23.343Z] echo Agent pid 20 killed; [2022-04-05T20:19:23.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:19:23.657Z] + git semver [Pipeline] } [2022-04-05T20:19:23.676Z] $ docker stop --time=1 1fe4960671e080d3043766848e1bd6784f380da421c06d1457b0bf4dd0ac060b [2022-04-05T20:19:24.996Z] $ docker rm -f 1fe4960671e080d3043766848e1bd6784f380da421c06d1457b0bf4dd0ac060b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:25.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:19:25.393Z] [2022-04-05T20:19:25.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:25.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:19:25.701Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-05T20:19:25.701Z] ab5ef0e58194: Pulling fs layer [2022-04-05T20:19:25.701Z] 9712f1f96733: Pulling fs layer [2022-04-05T20:19:25.701Z] 63f879dbbcfc: Pulling fs layer [2022-04-05T20:19:25.701Z] 0d9ebad4ef96: Pulling fs layer [2022-04-05T20:19:25.701Z] e9a5061849ea: Pulling fs layer [2022-04-05T20:19:25.701Z] 0d9ebad4ef96: Waiting [2022-04-05T20:19:25.701Z] d747dcd14b5f: Pulling fs layer [2022-04-05T20:19:25.701Z] 2de7ff778b66: Pulling fs layer [2022-04-05T20:19:25.701Z] e9a5061849ea: Waiting [2022-04-05T20:19:25.701Z] d747dcd14b5f: Waiting [2022-04-05T20:19:25.701Z] 2de7ff778b66: Waiting [2022-04-05T20:19:25.701Z] 9712f1f96733: Download complete [2022-04-05T20:19:25.961Z] 63f879dbbcfc: Verifying Checksum [2022-04-05T20:19:25.961Z] 63f879dbbcfc: Download complete [2022-04-05T20:19:25.961Z] e9a5061849ea: Verifying Checksum [2022-04-05T20:19:25.961Z] e9a5061849ea: Download complete [2022-04-05T20:19:26.220Z] d747dcd14b5f: Download complete [2022-04-05T20:19:26.220Z] 0d9ebad4ef96: Verifying Checksum [2022-04-05T20:19:26.220Z] 0d9ebad4ef96: Download complete [2022-04-05T20:19:26.220Z] 2de7ff778b66: Verifying Checksum [2022-04-05T20:19:26.220Z] 2de7ff778b66: Download complete [2022-04-05T20:19:26.220Z] ab5ef0e58194: Download complete [2022-04-05T20:19:29.539Z] ab5ef0e58194: Pull complete [2022-04-05T20:19:29.539Z] 9712f1f96733: Pull complete [2022-04-05T20:19:29.810Z] 63f879dbbcfc: Pull complete [2022-04-05T20:19:34.012Z] 0d9ebad4ef96: Pull complete [2022-04-05T20:19:34.012Z] e9a5061849ea: Pull complete [2022-04-05T20:19:34.012Z] d747dcd14b5f: Pull complete [2022-04-05T20:19:34.952Z] 2de7ff778b66: Pull complete [2022-04-05T20:19:34.952Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-05T20:19:34.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:19:34.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-05T20:19:35.020Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:35.061Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-05T20:19:37.002Z] $ docker top 05187bdd18bea6e8de0afe20fb19c39644d6056d40e29d501fe8186e7f865e64 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:19:37.085Z] provisioning config files... [2022-04-05T20:19:37.095Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6975625204990898688tmp [2022-04-05T20:19:37.107Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config783891327128869050tmp [2022-04-05T20:19:37.120Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1909191487230335213tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:19:37.136Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:37.422Z] ---> sigul-configuration.sh [2022-04-05T20:19:37.422Z] gpg: directory `/root/.gnupg' created [2022-04-05T20:19:37.422Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-05T20:19:37.422Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-05T20:19:37.422Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-05T20:19:37.422Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-05T20:19:37.422Z] gpg: CAST5 encrypted data [2022-04-05T20:19:37.422Z] gpg: encrypted with 1 passphrase [2022-04-05T20:19:37.422Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-05T20:19:37.716Z] + mkdir /home/jenkins [2022-04-05T20:19:37.716Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-05T20:19:38.009Z] + 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-04-05T20:19:38.021Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:38.313Z] ---> sigul-install.sh [2022-04-05T20:19:38.313Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-05T20:19:38.602Z] + git tag --list [2022-04-05T20:19:38.602Z] 0.7.1 [2022-04-05T20:19:38.602Z] v1.0.0 [2022-04-05T20:19:38.602Z] v1.1.0 [2022-04-05T20:19:38.602Z] v1.1.1 [2022-04-05T20:19:38.602Z] v1.2.2 [2022-04-05T20:19:38.602Z] v1.3.0 [2022-04-05T20:19:38.602Z] v1.3.1 [2022-04-05T20:19:38.602Z] v2.0.0 [2022-04-05T20:19:38.602Z] v2.0.1-dev.1 [2022-04-05T20:19:38.602Z] v2.0.1-dev.10 [2022-04-05T20:19:38.602Z] v2.0.1-dev.11 [2022-04-05T20:19:38.602Z] v2.0.1-dev.12 [2022-04-05T20:19:38.602Z] v2.0.1-dev.2 [2022-04-05T20:19:38.602Z] v2.0.1-dev.3 [2022-04-05T20:19:38.602Z] v2.0.1-dev.4 [2022-04-05T20:19:38.602Z] v2.0.1-dev.5 [2022-04-05T20:19:38.602Z] v2.0.1-dev.6 [2022-04-05T20:19:38.602Z] v2.0.1-dev.7 [2022-04-05T20:19:38.602Z] v2.0.1-dev.8 [2022-04-05T20:19:38.602Z] v2.0.1-dev.9 [2022-04-05T20:19:38.602Z] v2.1.0 [2022-04-05T20:19:38.602Z] v2.2.0-dev.1 [2022-04-05T20:19:38.602Z] v2.2.0-dev.2 [2022-04-05T20:19:38.602Z] v2.2.0-dev.3 [2022-04-05T20:19:38.602Z] v2.2.0-dev.4 [2022-04-05T20:19:38.602Z] v2.2.0-dev.5 [2022-04-05T20:19:38.602Z] v2.2.0-dev.6 [2022-04-05T20:19:38.602Z] v2.2.0-dev.7 [2022-04-05T20:19:38.602Z] v2.2.0-dev.8 [Pipeline] sh [2022-04-05T20:19:38.894Z] + lftools sign git-tag v2.2.0-dev.8 [2022-04-05T20:19:39.463Z] Signing Git tag with Sigul... [2022-04-05T20:19:39.463Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-04-05T20:19:39.733Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:40.021Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-05T20:19:40.029Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-05T20:19:40.053Z] $ docker stop --time=1 05187bdd18bea6e8de0afe20fb19c39644d6056d40e29d501fe8186e7f865e64 [2022-04-05T20:19:41.375Z] $ docker rm -f 05187bdd18bea6e8de0afe20fb19c39644d6056d40e29d501fe8186e7f865e64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-05T20:19:41.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:19:41.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:42.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:19:42.087Z] . [Pipeline] withDockerContainer [2022-04-05T20:19:42.154Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:42.194Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:19:42.565Z] $ docker top 28a1cfb5a0008cd74f48ac46a380838ebb29e37e3a7886536fb3664f54fa8e8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:19:42.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:19:42.657Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:19:42.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:19:42.787Z] $ docker exec 28a1cfb5a0008cd74f48ac46a380838ebb29e37e3a7886536fb3664f54fa8e8e ssh-agent [2022-04-05T20:19:42.911Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaBNlOh/agent.14 [2022-04-05T20:19:42.911Z] SSH_AGENT_PID=20 [2022-04-05T20:19:42.916Z] Running ssh-add (command line suppressed) [2022-04-05T20:19:43.035Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4396936235681031738.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4396936235681031738.key) [2022-04-05T20:19:43.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:19:43.342Z] + git semver bump pre [2022-04-05T20:19:43.342Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:19:43.342Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-05T20:19:43.342Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:19:43.342Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:19:43.342Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:19:43.342Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:19:43.342Z] # $SEMVER_BRANCH = main [2022-04-05T20:19:43.342Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-05T20:19:43.342Z] 2.2.0-dev.9 [Pipeline] } [2022-04-05T20:19:43.358Z] $ docker exec --env ******** --env ******** 28a1cfb5a0008cd74f48ac46a380838ebb29e37e3a7886536fb3664f54fa8e8e ssh-agent -k [2022-04-05T20:19:43.477Z] unset SSH_AUTH_SOCK; [2022-04-05T20:19:43.477Z] unset SSH_AGENT_PID; [2022-04-05T20:19:43.477Z] echo Agent pid 20 killed; [2022-04-05T20:19:43.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:19:43.795Z] + git semver [Pipeline] } [2022-04-05T20:19:43.815Z] $ docker stop --time=1 28a1cfb5a0008cd74f48ac46a380838ebb29e37e3a7886536fb3664f54fa8e8e [2022-04-05T20:19:45.099Z] $ docker rm -f 28a1cfb5a0008cd74f48ac46a380838ebb29e37e3a7886536fb3664f54fa8e8e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:19:45.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:19:45.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:45.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:19:45.743Z] . [Pipeline] withDockerContainer [2022-04-05T20:19:45.809Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:45.847Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:19:46.227Z] $ docker top 3a20eed0698ae9a51cb76246989b9c80bf4f4d6874350479905e8bac375bb929 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:19:46.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:19:46.317Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:19:46.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:19:46.443Z] $ docker exec 3a20eed0698ae9a51cb76246989b9c80bf4f4d6874350479905e8bac375bb929 ssh-agent [2022-04-05T20:19:46.554Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhDfNEJ/agent.14 [2022-04-05T20:19:46.554Z] SSH_AGENT_PID=20 [2022-04-05T20:19:46.559Z] Running ssh-add (command line suppressed) [2022-04-05T20:19:46.678Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_500060571225880067.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_500060571225880067.key) [2022-04-05T20:19:46.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:19:46.975Z] + git semver push [2022-04-05T20:19:46.975Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:19:46.975Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-05T20:19:46.975Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:19:46.975Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:19:46.975Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:19:46.975Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:19:46.975Z] # $SEMVER_BRANCH = main [2022-04-05T20:19:46.975Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-05T20:19:48.904Z] $ docker exec --env ******** --env ******** 3a20eed0698ae9a51cb76246989b9c80bf4f4d6874350479905e8bac375bb929 ssh-agent -k [2022-04-05T20:19:49.007Z] unset SSH_AUTH_SOCK; [2022-04-05T20:19:49.007Z] unset SSH_AGENT_PID; [2022-04-05T20:19:49.007Z] echo Agent pid 20 killed; [2022-04-05T20:19:49.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:19:49.334Z] + git semver [Pipeline] } [2022-04-05T20:19:49.354Z] $ docker stop --time=1 3a20eed0698ae9a51cb76246989b9c80bf4f4d6874350479905e8bac375bb929 [2022-04-05T20:19:50.648Z] $ docker rm -f 3a20eed0698ae9a51cb76246989b9c80bf4f4d6874350479905e8bac375bb929 [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-04-05T20:19:51.241Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-05T20:19:51.241Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-05T20:19:51.241Z] total 16 [2022-04-05T20:19:51.241Z] drwxr-xr-x 3 root root 4096 Apr 5 20:10 . [2022-04-05T20:19:51.241Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:19 .. [2022-04-05T20:19:51.241Z] drwxr-xr-x 2 root root 4096 Apr 5 20:10 cost [2022-04-05T20:19:51.241Z] -rw-r--r-- 1 root root 86 Apr 5 20:10 cost.csv [2022-04-05T20:19:51.241Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-05T20:19:51.241Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-05T20:19:51.241Z] total 16 [2022-04-05T20:19:51.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:10 . [2022-04-05T20:19:51.241Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 5 20:19 .. [2022-04-05T20:19:51.241Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:10 cost [2022-04-05T20:19:51.241Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 5 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:51.536Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:52.472Z] ---> package-listing.sh [2022-04-05T20:19:52.472Z] ++ facter osfamily [2022-04-05T20:19:52.472Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T20:19:52.472Z] + OS_FAMILY=debian [2022-04-05T20:19:52.472Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-05T20:19:52.472Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T20:19:52.472Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T20:19:52.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T20:19:52.472Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T20:19:52.472Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-05T20:19:52.472Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T20:19:52.472Z] + case "${OS_FAMILY}" in [2022-04-05T20:19:52.472Z] + dpkg -l [2022-04-05T20:19:52.472Z] + grep '^ii' [2022-04-05T20:19:52.472Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T20:19:52.472Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T20:19:52.472Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T20:19:52.472Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-05T20:19:52.472Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-05T20:19:52.472Z] + 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-04-05T20:19:52.485Z] 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-04-05T20:19:52.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:53.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:19:53.321Z] . [Pipeline] withDockerContainer [2022-04-05T20:19:53.390Z] prd-ubuntu20.04-docker-8c-8g-10772 does not seem to be running inside a container [2022-04-05T20:19:53.429Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:19:53.677Z] $ docker top a7fdb2605907ae259c0de785a8bda908b004c5596ad9b98a83d99faa814f4fba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:19:54.028Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T20:19:54.315Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T20:19:54.605Z] + ls /var/log/sa-host [2022-04-05T20:19:54.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:19:54.690Z] provisioning config files... [2022-04-05T20:19:54.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5749397074610912885tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:19:54.714Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:55.001Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T20:19:55.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:55.338Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T20:19:55.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:55.637Z] ---> sudo-logs.sh [2022-04-05T20:19:55.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T20:19:55.661Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:55.948Z] ---> job-cost.sh [2022-04-05T20:19:55.948Z] lf-activate-venv: SKIPPING [2022-04-05T20:19:55.948Z] DEBUG: total: 0.2199999988079071 [2022-04-05T20:19:55.948Z] INFO: Retrieving Stack Cost... [2022-04-05T20:19:56.208Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:19:56.779Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T20:19:56.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:57.083Z] ---> logs-deploy.sh [2022-04-05T20:19:57.083Z] lf-activate-venv: SKIPPING [2022-04-05T20:19:57.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/26 [2022-04-05T20:19:57.083Z] INFO: archiving workspace using pattern(s): [2022-04-05T20:19:58.025Z] Archives upload complete. [2022-04-05T20:19:58.025Z] INFO: archiving logs to Nexus