Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9122622c7a3d7137d535c6a9496be9c9c3374114 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-ssh16011906216745383879.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-ssh8483921876245376754.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-ssh16281197397405197748.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-ssh4209679315041779858.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-ssh4409695208326332535.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-10876’ Running on prd-ubuntu20.04-docker-8c-8g-10938 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 9122622c7a3d7137d535c6a9496be9c9c3374114 (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 9122622c7a3d7137d535c6a9496be9c9c3374114 # timeout=10 Commit message: "Merge pull request #325 from bnevis-i/add-spiffe" > git rev-list --no-walk 6b852e72d3920fd18aaf66b2a4a182781a557066 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T03:37:25.701Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T03:37:25.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T03:37:25.769Z] ========================================================= [2022-04-06T03:37:25.770Z] EdgeX Global Pipelines Version Info [2022-04-06T03:37:25.770Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:37:26.553Z] ------------------- [2022-04-06T03:37:26.553Z] stable info: [2022-04-06T03:37:26.553Z] ------------------- [2022-04-06T03:37:26.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T03:37:26.553Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:37:26.553Z] Message: update stable to v1.0.221 [2022-04-06T03:37:27.125Z] ------------------- [2022-04-06T03:37:27.125Z] experimental info: [2022-04-06T03:37:27.125Z] ------------------- [2022-04-06T03:37:27.125Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T03:37:27.125Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:37:27.125Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T03:37:27.247Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-06T03:37:27.256Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-06T03:37:27.264Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T03:37:27.275Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T03:37:27.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T03:37:27.295Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T03:37:27.304Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T03:37:27.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T03:37:27.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T03:37:27.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T03:37:27.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T03:37:27.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-06T03:37:27.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T03:37:27.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T03:37:27.412Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:37:27.429Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:37:27.443Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:37:27.457Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:37:27.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T03:37:27.483Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-04-06T03:37:27.499Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T03:37:27.515Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T03:37:27.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T03:37:27.550Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T03:37:27.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T03:37:27.576Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T03:37:27.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-06T03:37:27.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-06T03:37:27.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-06T03:37:27.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] echo [2022-04-06T03:37:27.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9122622 [Pipeline] echo [2022-04-06T03:37:27.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:37:27.714Z] provisioning config files... [2022-04-06T03:37:27.729Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6614613824492510607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:37:28.115Z] ---> docker-login.sh [2022-04-06T03:37:28.116Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:37:28.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:28.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:28.640Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:28.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:28.640Z] [2022-04-06T03:37:28.640Z] Login Succeeded [2022-04-06T03:37:28.640Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:37:28.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:28.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:28.640Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:28.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:28.640Z] [2022-04-06T03:37:28.640Z] Login Succeeded [2022-04-06T03:37:28.640Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:37:28.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:28.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:28.901Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:28.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:28.901Z] [2022-04-06T03:37:28.901Z] Login Succeeded [2022-04-06T03:37:28.901Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:37:28.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:28.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:28.901Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:28.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:28.901Z] [2022-04-06T03:37:28.901Z] Login Succeeded [2022-04-06T03:37:28.901Z] docker.io [2022-04-06T03:37:29.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:29.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:29.426Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:29.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:29.426Z] [2022-04-06T03:37:29.426Z] Login Succeeded [2022-04-06T03:37:29.426Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:37:29.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T03:37:29.813Z] + git rev-list -1 --merges 9122622c7a3d7137d535c6a9496be9c9c3374114~1..9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] echo [2022-04-06T03:37:29.844Z] -----------> git rev-list -1 --merges 9122622c7a3d7137d535c6a9496be9c9c3374114~1..9122622c7a3d7137d535c6a9496be9c9c3374114 9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:37:29.844Z] 9122622c7a3d7137d535c6a9496be9c9c3374114 [false] [Pipeline] sh [2022-04-06T03:37:30.139Z] + git log --format=format:%s -1 9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] echo [2022-04-06T03:37:30.158Z] ========================================================= [2022-04-06T03:37:30.158Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T03:37:30.158Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:37:30.517Z] + git log --format=format:%s -1 9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] echo [2022-04-06T03:37:30.531Z] [semverPrep] GIT_COMMIT: 9122622c7a3d7137d535c6a9496be9c9c3374114, Commit Message: Merge pull request #325 from bnevis-i/add-spiffe [Pipeline] echo [2022-04-06T03:37:30.543Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T03:37:30.975Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:37:30.975Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T03:37:30.975Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T03:37:30.975Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T03:37:30.975Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T03:37:30.975Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T03:37:30.975Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:37:31.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:37:31.415Z] [2022-04-06T03:37:31.415Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:37:31.721Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:37:31.721Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T03:37:31.721Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T03:37:31.721Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T03:37:31.721Z] 4c7163046ea9: Pulling fs layer [2022-04-06T03:37:31.721Z] 0c2d73faf560: Pulling fs layer [2022-04-06T03:37:31.721Z] 0c2d73faf560: Waiting [2022-04-06T03:37:31.721Z] 3e5f54012d9b: Download complete [2022-04-06T03:37:31.721Z] a0d0a0d46f8b: Download complete [2022-04-06T03:37:31.981Z] 0c2d73faf560: Verifying Checksum [2022-04-06T03:37:31.981Z] 0c2d73faf560: Download complete [2022-04-06T03:37:31.981Z] 4c7163046ea9: Verifying Checksum [2022-04-06T03:37:31.981Z] 4c7163046ea9: Download complete [2022-04-06T03:37:31.981Z] a0d0a0d46f8b: Pull complete [2022-04-06T03:37:31.981Z] 3e5f54012d9b: Pull complete [2022-04-06T03:37:32.553Z] 4c7163046ea9: Pull complete [2022-04-06T03:37:32.553Z] 0c2d73faf560: Pull complete [2022-04-06T03:37:32.553Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T03:37:32.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:37:32.553Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T03:37:32.630Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:37:32.685Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T03:37:33.399Z] $ docker top f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:37:33.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:37:33.503Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:37:33.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:37:33.654Z] $ docker exec f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b ssh-agent [2022-04-06T03:37:33.763Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAnnIgA/agent.14 [2022-04-06T03:37:33.763Z] SSH_AGENT_PID=20 [2022-04-06T03:37:33.771Z] Running ssh-add (command line suppressed) [2022-04-06T03:37:33.909Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5205054877518460093.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5205054877518460093.key) [2022-04-06T03:37:33.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:37:34.206Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T03:37:34.239Z] $ docker exec --env ******** --env ******** f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b ssh-agent -k [2022-04-06T03:37:34.360Z] unset SSH_AUTH_SOCK; [2022-04-06T03:37:34.361Z] unset SSH_AGENT_PID; [2022-04-06T03:37:34.361Z] echo Agent pid 20 killed; [2022-04-06T03:37:34.364Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T03:37:34.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:37:34.391Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:37:34.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:37:34.553Z] $ docker exec f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b ssh-agent [2022-04-06T03:37:34.670Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBPpiE/agent.53 [2022-04-06T03:37:34.670Z] SSH_AGENT_PID=59 [2022-04-06T03:37:34.675Z] Running ssh-add (command line suppressed) [2022-04-06T03:37:34.807Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1016774926554857654.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1016774926554857654.key) [2022-04-06T03:37:34.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:37:35.102Z] + git semver init [2022-04-06T03:37:35.102Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:37:35.102Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-06T03:37:35.102Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:37:35.102Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:37:35.102Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:37:35.102Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:37:35.102Z] # $SEMVER_BRANCH = main [2022-04-06T03:37:35.102Z] # $SEMVER_TEMP = /tmp/semver-937092861 [2022-04-06T03:37:35.102Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-06T03:37:36.046Z] # '/tmp/semver-937092861' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-06T03:37:36.046Z] # -> Force: false [2022-04-06T03:37:36.046Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-06T03:37:36.067Z] $ docker exec --env ******** --env ******** f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b ssh-agent -k [2022-04-06T03:37:36.172Z] unset SSH_AUTH_SOCK; [2022-04-06T03:37:36.173Z] unset SSH_AGENT_PID; [2022-04-06T03:37:36.173Z] echo Agent pid 59 killed; [2022-04-06T03:37:36.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:37:36.490Z] + git semver [Pipeline] } [2022-04-06T03:37:36.513Z] $ docker stop --time=1 f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b [2022-04-06T03:37:37.885Z] $ docker rm -f f24a178758b76b00f08a57918105eb38b75b2f5139d8b4a6f476e099da282d0b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:37:38.237Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T03:37:38.496Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T03:37:38.500Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-06T03:37:38.659Z] provisioning config files... [2022-04-06T03:37:38.669Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1455829280830459573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:37:38.779Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10937 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-06T03:37:38.791Z] Running in /w/workspace/device-modbus-go/27 [Pipeline] { [Pipeline] checkout [2022-04-06T03:37:38.960Z] Selected Git installation does not exist. Using Default [2022-04-06T03:37:38.960Z] The recommended git tool is: NONE [2022-04-06T03:37:38.971Z] ---> docker-login.sh [2022-04-06T03:37:38.971Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:37:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:38.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:38.971Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:38.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:38.971Z] [2022-04-06T03:37:38.971Z] Login Succeeded [2022-04-06T03:37:38.971Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:37:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:39.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:39.232Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:39.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:39.232Z] [2022-04-06T03:37:39.232Z] Login Succeeded [2022-04-06T03:37:39.232Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:37:39.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:39.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:39.232Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:39.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:39.232Z] [2022-04-06T03:37:39.232Z] Login Succeeded [2022-04-06T03:37:39.232Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:37:39.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:39.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:39.493Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:39.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:39.493Z] [2022-04-06T03:37:39.493Z] Login Succeeded [2022-04-06T03:37:39.493Z] docker.io [2022-04-06T03:37:39.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:37:39.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:37:39.752Z] Configure a credential helper to remove this warning. See [2022-04-06T03:37:39.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:37:39.752Z] [2022-04-06T03:37:39.752Z] Login Succeeded [2022-04-06T03:37:39.752Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:37:39.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T03:37:39.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:37:39.843Z] ========================================================= [2022-04-06T03:37:39.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T03:37:39.843Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:37:40.161Z] + 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-06T03:37:40.161Z] Sending build context to Docker daemon 5.746MB [2022-04-06T03:37:40.161Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:37:40.161Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-06T03:37:40.161Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T03:37:40.161Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T03:37:40.161Z] 666ba61612fd: Pulling fs layer [2022-04-06T03:37:40.161Z] 8ed8ca486205: Pulling fs layer [2022-04-06T03:37:40.161Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T03:37:40.161Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T03:37:40.161Z] 640e595b4fbd: Pulling fs layer [2022-04-06T03:37:40.161Z] 763cafe07f6e: Pulling fs layer [2022-04-06T03:37:40.161Z] 0c0b528cf693: Pulling fs layer [2022-04-06T03:37:40.161Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T03:37:40.161Z] 4fe6c5a15a65: Waiting [2022-04-06T03:37:40.161Z] 22a0e8bec74d: Waiting [2022-04-06T03:37:40.161Z] 640e595b4fbd: Waiting [2022-04-06T03:37:40.161Z] 763cafe07f6e: Waiting [2022-04-06T03:37:40.161Z] 0c0b528cf693: Waiting [2022-04-06T03:37:40.161Z] 10935f4eaf8b: Waiting [2022-04-06T03:37:40.161Z] 8ed8ca486205: Verifying Checksum [2022-04-06T03:37:40.161Z] 8ed8ca486205: Download complete [2022-04-06T03:37:40.161Z] 666ba61612fd: Verifying Checksum [2022-04-06T03:37:40.161Z] 666ba61612fd: Download complete [2022-04-06T03:37:40.421Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T03:37:40.421Z] 22a0e8bec74d: Download complete [2022-04-06T03:37:40.421Z] 640e595b4fbd: Verifying Checksum [2022-04-06T03:37:40.421Z] 640e595b4fbd: Download complete [2022-04-06T03:37:40.421Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T03:37:40.421Z] 59bf1c3509f3: Download complete [2022-04-06T03:37:40.421Z] 763cafe07f6e: Verifying Checksum [2022-04-06T03:37:40.421Z] 763cafe07f6e: Download complete [2022-04-06T03:37:40.421Z] 0c0b528cf693: Verifying Checksum [2022-04-06T03:37:40.421Z] 0c0b528cf693: Download complete [2022-04-06T03:37:40.421Z] 59bf1c3509f3: Pull complete [2022-04-06T03:37:40.685Z] 666ba61612fd: Pull complete [2022-04-06T03:37:40.685Z] 8ed8ca486205: Pull complete [2022-04-06T03:37:40.960Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T03:37:40.960Z] 10935f4eaf8b: Download complete [2022-04-06T03:37:41.221Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T03:37:41.221Z] 4fe6c5a15a65: Download complete [2022-04-06T03:37:43.275Z] using credential edgex-jenkins-ssh [2022-04-06T03:37:43.295Z] Cloning the remote Git repository [2022-04-06T03:37:43.341Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-06T03:37:43.411Z] > git init /w/workspace/device-modbus-go/27 # timeout=10 [2022-04-06T03:37:43.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-06T03:37:43.544Z] > git --version # timeout=10 [2022-04-06T03:37:43.575Z] > git --version # 'git version 2.25.1' [2022-04-06T03:37:43.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:37:43.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:37:44.786Z] Avoid second fetch [2022-04-06T03:37:44.786Z] Checking out Revision 9122622c7a3d7137d535c6a9496be9c9c3374114 (main) [2022-04-06T03:37:44.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-06T03:37:44.761Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:37:44.806Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T03:37:44.829Z] > git checkout -f 9122622c7a3d7137d535c6a9496be9c9c3374114 # timeout=10 [2022-04-06T03:37:45.419Z] 4fe6c5a15a65: Pull complete [2022-04-06T03:37:45.419Z] 22a0e8bec74d: Pull complete [2022-04-06T03:37:45.419Z] 640e595b4fbd: Pull complete [2022-04-06T03:37:45.419Z] 763cafe07f6e: Pull complete [2022-04-06T03:37:45.678Z] 0c0b528cf693: Pull complete [2022-04-06T03:37:48.219Z] 10935f4eaf8b: Pull complete [2022-04-06T03:37:48.219Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T03:37:48.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T03:37:48.219Z] ---> 99d49a6021b9 [2022-04-06T03:37:48.219Z] Step 3/10 : ARG MAKE='make build' [2022-04-06T03:37:49.077Z] Commit message: "Merge pull request #325 from bnevis-i/add-spiffe" [2022-04-06T03:37:49.156Z] ---> Running in 417d8160eea2 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:37:49.469Z] Removing intermediate container 417d8160eea2 [2022-04-06T03:37:49.469Z] ---> 5b79ff975053 [2022-04-06T03:37:49.469Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:37:49.469Z] ---> Running in d70ae4c0ed97 [2022-04-06T03:37:50.036Z] Removing intermediate container d70ae4c0ed97 [2022-04-06T03:37:50.036Z] ---> 0b1255289c36 [2022-04-06T03:37:50.036Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-06T03:37:50.036Z] ---> Running in 168e47c770e6 [2022-04-06T03:37:50.056Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T03:37:50.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T03:37:50.056Z] Dload Upload Total Spent Left Speed [2022-04-06T03:37:50.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50395 [Pipeline] sh [2022-04-06T03:37:50.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:37:50.587Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T03:37:50.936Z] + sudo tee /etc/docker/daemon.new [2022-04-06T03:37:50.936Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T03:37:50.936Z] { [2022-04-06T03:37:50.936Z] "registry-mirrors": [ [2022-04-06T03:37:50.936Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T03:37:50.936Z] ], [2022-04-06T03:37:50.936Z] "bip": "10.250.0.254/24", [2022-04-06T03:37:50.936Z] "hosts": [ [2022-04-06T03:37:50.936Z] "tcp://0.0.0.0:5555", [2022-04-06T03:37:50.936Z] "unix:///var/run/docker.sock" [2022-04-06T03:37:50.936Z] ], [2022-04-06T03:37:50.936Z] "mtu": 1458, [2022-04-06T03:37:50.936Z] "selinux-enabled": true, [2022-04-06T03:37:50.936Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T03:37:50.936Z] } [Pipeline] sh [2022-04-06T03:37:51.239Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:37:51.292Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T03:37:51.514Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:37:51.515Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-06T03:37:51.515Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:37:51.637Z] + sudo service docker restart [2022-04-06T03:37:51.776Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:37:51.776Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-06T03:37:51.776Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-06T03:37:52.038Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-06T03:37:52.038Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-06T03:37:52.300Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:37:52.300Z] OK: 226 MiB in 60 packages [2022-04-06T03:37:52.561Z] Removing intermediate container 168e47c770e6 [2022-04-06T03:37:52.561Z] ---> 924752f96f39 [2022-04-06T03:37:52.561Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-06T03:37:52.561Z] ---> Running in a8cc449bc688 [2022-04-06T03:37:52.821Z] Removing intermediate container a8cc449bc688 [2022-04-06T03:37:52.821Z] ---> 95ed31ed0983 [2022-04-06T03:37:52.821Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-06T03:37:52.821Z] ---> e22488b8d738 [2022-04-06T03:37:52.821Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:37:52.821Z] ---> Running in 03e87f121e26 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:38:10.012Z] provisioning config files... [2022-04-06T03:38:10.040Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config4556265444529076815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:38:10.409Z] ---> docker-login.sh [2022-04-06T03:38:10.409Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:38:10.938Z] Removing intermediate container 03e87f121e26 [2022-04-06T03:38:10.938Z] ---> 5feac6ec4654 [2022-04-06T03:38:10.938Z] Step 9/10 : COPY . . [2022-04-06T03:38:10.938Z] ---> aef1ca8f8ad6 [2022-04-06T03:38:10.938Z] Step 10/10 : RUN ${MAKE} [2022-04-06T03:38:10.938Z] ---> Running in 3d506b77d6fc [2022-04-06T03:38:10.938Z] noop [2022-04-06T03:38:10.938Z] Removing intermediate container 3d506b77d6fc [2022-04-06T03:38:10.938Z] ---> a5a29e361516 [2022-04-06T03:38:10.938Z] Successfully built a5a29e361516 [2022-04-06T03:38:10.938Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:38:11.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:38:11.245Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:38:11.245Z] . [Pipeline] withDockerContainer [2022-04-06T03:38:11.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:38:11.287Z] Configure a credential helper to remove this warning. See [2022-04-06T03:38:11.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:38:11.287Z] [2022-04-06T03:38:11.287Z] Login Succeeded [2022-04-06T03:38:11.287Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:38:11.333Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:38:11.373Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-06T03:38:11.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:38:11.765Z] $ docker top 2ddde937584228c0109aeb0392fc01576c775880491ba53facdfda0f7eb2f5dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:38:11.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:38:11.846Z] Configure a credential helper to remove this warning. See [2022-04-06T03:38:11.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:38:11.846Z] [2022-04-06T03:38:11.846Z] Login Succeeded [2022-04-06T03:38:11.846Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:38:12.117Z] + go version [2022-04-06T03:38:12.117Z] go version go1.17.6 linux/amd64 [2022-04-06T03:38:12.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:38:12.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:38:12.121Z] Configure a credential helper to remove this warning. See [2022-04-06T03:38:12.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:38:12.121Z] [2022-04-06T03:38:12.121Z] Login Succeeded [2022-04-06T03:38:12.121Z] nexus3.edgexfoundry.org:10004 [Pipeline] } [2022-04-06T03:38:12.134Z] $ docker stop --time=1 2ddde937584228c0109aeb0392fc01576c775880491ba53facdfda0f7eb2f5dd [2022-04-06T03:38:12.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:38:12.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:38:12.727Z] Configure a credential helper to remove this warning. See [2022-04-06T03:38:12.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:38:12.727Z] [2022-04-06T03:38:12.727Z] Login Succeeded [2022-04-06T03:38:12.727Z] docker.io [2022-04-06T03:38:12.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:38:13.484Z] $ docker rm -f 2ddde937584228c0109aeb0392fc01576c775880491ba53facdfda0f7eb2f5dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2022-04-06T03:38:13.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:38:13.596Z] Configure a credential helper to remove this warning. See [2022-04-06T03:38:13.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:38:13.596Z] [2022-04-06T03:38:13.596Z] Login Succeeded [2022-04-06T03:38:13.596Z] ---> docker-login.sh ends [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [2022-04-06T03:38:13.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:38:13.956Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:38:13.956Z] . [Pipeline] withDockerContainer [2022-04-06T03:38:14.019Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:38:14.059Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-06T03:38:14.424Z] $ docker top beef7e5ff4df5bd6674a044452583c3347cb89d3a1edc65d1acae5f484f4fe29 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] echo [2022-04-06T03:38:14.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [Pipeline] echo [2022-04-06T03:38:14.545Z] ========================================================= [2022-04-06T03:38:14.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T03:38:14.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:38:14.796Z] + make test [2022-04-06T03:38:14.796Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T03:38:14.987Z] + 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-06T03:38:15.054Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-06T03:38:15.264Z] Sending build context to Docker daemon 3.01MB [2022-04-06T03:38:15.264Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:38:15.264Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-06T03:38:15.541Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T03:38:15.541Z] 9b3977197b4f: Pulling fs layer [2022-04-06T03:38:15.541Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T03:38:15.541Z] 94645a83ff95: Pulling fs layer [2022-04-06T03:38:15.541Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T03:38:15.541Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T03:38:15.541Z] f7c0051592d6: Pulling fs layer [2022-04-06T03:38:15.541Z] a227ed2f7395: Pulling fs layer [2022-04-06T03:38:15.541Z] 7b1c46037f91: Pulling fs layer [2022-04-06T03:38:15.541Z] f7c0051592d6: Waiting [2022-04-06T03:38:15.541Z] a227ed2f7395: Waiting [2022-04-06T03:38:15.541Z] 7b1c46037f91: Waiting [2022-04-06T03:38:15.541Z] 3f3a8bcf1eab: Waiting [2022-04-06T03:38:15.541Z] 0c92f367c5e7: Waiting [2022-04-06T03:38:15.541Z] 94645a83ff95: Download complete [2022-04-06T03:38:15.541Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T03:38:15.541Z] 1a89e8eeedd5: Download complete [2022-04-06T03:38:15.541Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T03:38:15.541Z] 0c92f367c5e7: Download complete [2022-04-06T03:38:15.541Z] f7c0051592d6: Verifying Checksum [2022-04-06T03:38:15.541Z] f7c0051592d6: Download complete [2022-04-06T03:38:15.541Z] 9b3977197b4f: Download complete [2022-04-06T03:38:15.541Z] a227ed2f7395: Verifying Checksum [2022-04-06T03:38:15.541Z] a227ed2f7395: Download complete [2022-04-06T03:38:16.143Z] 9b3977197b4f: Pull complete [2022-04-06T03:38:16.758Z] 1a89e8eeedd5: Pull complete [2022-04-06T03:38:17.037Z] 94645a83ff95: Pull complete [2022-04-06T03:38:17.638Z] 7b1c46037f91: Verifying Checksum [2022-04-06T03:38:17.638Z] 7b1c46037f91: Download complete [2022-04-06T03:38:18.235Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T03:38:18.235Z] 3f3a8bcf1eab: Download complete [2022-04-06T03:38:25.030Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-06T03:38:25.030Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 46.4% of statements [2022-04-06T03:38:30.649Z] 3f3a8bcf1eab: Pull complete [2022-04-06T03:38:30.649Z] 0c92f367c5e7: Pull complete [2022-04-06T03:38:30.649Z] f7c0051592d6: Pull complete [2022-04-06T03:38:30.649Z] a227ed2f7395: Pull complete [2022-04-06T03:38:31.602Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:38:35.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:38:35.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:38:35.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T03:38:35.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T03:38:35.826Z] $ docker stop --time=1 beef7e5ff4df5bd6674a044452583c3347cb89d3a1edc65d1acae5f484f4fe29 [2022-04-06T03:38:37.381Z] 7b1c46037f91: Pull complete [2022-04-06T03:38:37.381Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T03:38:37.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T03:38:37.381Z] ---> f79e39bc4007 [2022-04-06T03:38:37.381Z] Step 3/10 : ARG MAKE='make build' [2022-04-06T03:38:37.772Z] $ docker rm -f beef7e5ff4df5bd6674a044452583c3347cb89d3a1edc65d1acae5f484f4fe29 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:38:38.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T03:38:38.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2022-04-06T03:38:38.373Z] ---> Running in ad50014341bb [2022-04-06T03:38:38.653Z] Removing intermediate container ad50014341bb [2022-04-06T03:38:38.653Z] ---> be593fa5f8e8 [2022-04-06T03:38:38.653Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:38:38.653Z] ---> Running in 802330ff0ada [Pipeline] sh [2022-04-06T03:38:39.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T03:38:39.565Z] + ls -al . [2022-04-06T03:38:39.565Z] total 180 [2022-04-06T03:38:39.565Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 03:38 . [2022-04-06T03:38:39.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 .. [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:37 .dockerignore [2022-04-06T03:38:39.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:37 .git [2022-04-06T03:38:39.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 .github [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 6 03:37 .gitignore [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:37 .golangci.yml [2022-04-06T03:38:39.565Z] drwx------ 3 jenkins jenkins 4096 Apr 6 03:37 .semver [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 6 03:37 Attribution.txt [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 6 03:37 CHANGELOG.md [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 6 03:37 Dockerfile [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:37 GOVERNANCE.md [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 6 03:37 Jenkinsfile [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:37 LICENSE [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 03:37 Makefile [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 6 03:37 OWNERS.md [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 6 03:37 README.md [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 03:37 VERSION [2022-04-06T03:38:39.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 bin [2022-04-06T03:38:39.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 cmd [2022-04-06T03:38:39.565Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 6 03:38 coverage.out [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 6 03:37 go.mod [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 6 03:37 go.sum [2022-04-06T03:38:39.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 internal [2022-04-06T03:38:39.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 simulator [2022-04-06T03:38:39.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 snap [2022-04-06T03:38:39.565Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 6 03:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:38:39.866Z] + 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=9122622c7a3d7137d535c6a9496be9c9c3374114 --label arch=amd64 --label version=2.2.0-dev.9 . [2022-04-06T03:38:39.866Z] Sending build context to Docker daemon 5.771MB [2022-04-06T03:38:39.866Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:38:39.867Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-06T03:38:39.867Z] ---> a5a29e361516 [2022-04-06T03:38:39.867Z] Step 3/23 : ARG MAKE='make build' [2022-04-06T03:38:39.867Z] ---> Running in f106d29f7004 [2022-04-06T03:38:40.128Z] Removing intermediate container f106d29f7004 [2022-04-06T03:38:40.128Z] ---> 580e6c85832d [2022-04-06T03:38:40.128Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:38:40.128Z] ---> Running in 41c5dd39edc3 [2022-04-06T03:38:40.625Z] Removing intermediate container 802330ff0ada [2022-04-06T03:38:40.625Z] ---> aeab866ab698 [2022-04-06T03:38:40.625Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-06T03:38:40.625Z] ---> Running in dccd27eb430d [2022-04-06T03:38:40.697Z] Removing intermediate container 41c5dd39edc3 [2022-04-06T03:38:40.698Z] ---> 91ac1127de92 [2022-04-06T03:38:40.698Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-06T03:38:40.698Z] ---> Running in dda68b735407 [2022-04-06T03:38:40.963Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:38:41.216Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:38:41.916Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:38:42.176Z] OK: 226 MiB in 60 packages [2022-04-06T03:38:42.196Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:38:42.438Z] Removing intermediate container dda68b735407 [2022-04-06T03:38:42.438Z] ---> 04485cbc0834 [2022-04-06T03:38:42.438Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-06T03:38:42.438Z] ---> Running in 5a8e8734715c [2022-04-06T03:38:42.701Z] Removing intermediate container 5a8e8734715c [2022-04-06T03:38:42.701Z] ---> add0ce847adf [2022-04-06T03:38:42.701Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-06T03:38:42.701Z] ---> 135dbc3e171d [2022-04-06T03:38:42.701Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:38:42.701Z] ---> Running in 29ec36768adf [2022-04-06T03:38:43.189Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:38:43.189Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-06T03:38:43.189Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:38:43.461Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:38:43.461Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-06T03:38:43.461Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-06T03:38:43.643Z] Removing intermediate container 29ec36768adf [2022-04-06T03:38:43.643Z] ---> 03019ae9f062 [2022-04-06T03:38:43.643Z] Step 9/23 : COPY . . [2022-04-06T03:38:43.733Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-06T03:38:43.733Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-06T03:38:43.733Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:38:43.906Z] ---> f898e45dbe8d [2022-04-06T03:38:43.906Z] Step 10/23 : RUN ${MAKE} [2022-04-06T03:38:43.906Z] ---> Running in 7374d2b88a26 [2022-04-06T03:38:44.012Z] OK: 226 MiB in 60 packages [2022-04-06T03:38:44.165Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.9" -o cmd/device-modbus ./cmd [2022-04-06T03:38:44.999Z] Removing intermediate container dccd27eb430d [2022-04-06T03:38:44.999Z] ---> 9c8aa2274426 [2022-04-06T03:38:44.999Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-06T03:38:44.999Z] ---> Running in ceb0e4cb89eb [2022-04-06T03:38:45.270Z] Removing intermediate container ceb0e4cb89eb [2022-04-06T03:38:45.270Z] ---> 81a485323d69 [2022-04-06T03:38:45.270Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-06T03:38:45.865Z] ---> e74e73c0531a [2022-04-06T03:38:45.865Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:38:45.865Z] ---> Running in d3df87b03a44 [2022-04-06T03:38:56.374Z] Removing intermediate container 7374d2b88a26 [2022-04-06T03:38:56.374Z] ---> 735570f91057 [2022-04-06T03:38:56.374Z] Step 11/23 : FROM alpine:3.14 [2022-04-06T03:38:56.374Z] 3.14: Pulling from library/alpine [2022-04-06T03:38:56.374Z] 8663204ce13b: Pulling fs layer [2022-04-06T03:38:56.374Z] 8663204ce13b: Verifying Checksum [2022-04-06T03:38:56.374Z] 8663204ce13b: Download complete [2022-04-06T03:38:56.633Z] 8663204ce13b: Pull complete [2022-04-06T03:38:56.633Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T03:38:56.633Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T03:38:56.633Z] ---> e04c818066af [2022-04-06T03:38:56.633Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-06T03:38:56.633Z] ---> Running in 91bc6c64e80e [2022-04-06T03:38:56.633Z] Removing intermediate container 91bc6c64e80e [2022-04-06T03:38:56.633Z] ---> c244c9d057d4 [2022-04-06T03:38:56.633Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:38:56.892Z] ---> Running in 84fed4e59cc4 [2022-04-06T03:38:57.460Z] Removing intermediate container 84fed4e59cc4 [2022-04-06T03:38:57.460Z] ---> 0b84c7d2a7f8 [2022-04-06T03:38:57.460Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T03:38:57.460Z] ---> Running in 6a01c039938d [2022-04-06T03:38:57.720Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:38:58.289Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:38:58.859Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T03:38:58.859Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T03:38:58.859Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T03:38:58.859Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T03:38:59.121Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T03:38:59.121Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T03:38:59.121Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T03:38:59.121Z] OK: 8 MiB in 20 packages [2022-04-06T03:39:00.067Z] Removing intermediate container 6a01c039938d [2022-04-06T03:39:00.068Z] ---> b51c844a2404 [2022-04-06T03:39:00.068Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-06T03:39:00.327Z] ---> 3b492882820c [2022-04-06T03:39:00.327Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-06T03:39:00.588Z] ---> d5736f48e78c [2022-04-06T03:39:00.588Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-06T03:39:00.588Z] ---> f0fa0b7c1fc0 [2022-04-06T03:39:00.588Z] Step 18/23 : EXPOSE 59901 [2022-04-06T03:39:00.847Z] ---> Running in 18bfea195175 [2022-04-06T03:39:00.847Z] Removing intermediate container 18bfea195175 [2022-04-06T03:39:00.847Z] ---> b8865e974057 [2022-04-06T03:39:00.847Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-06T03:39:00.847Z] ---> Running in b94673d78d80 [2022-04-06T03:39:01.108Z] Removing intermediate container b94673d78d80 [2022-04-06T03:39:01.108Z] ---> c58b79da6487 [2022-04-06T03:39:01.108Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T03:39:01.108Z] ---> Running in b75aee45b162 [2022-04-06T03:39:01.108Z] Removing intermediate container b75aee45b162 [2022-04-06T03:39:01.108Z] ---> 8abc5bb6ec90 [2022-04-06T03:39:01.108Z] Step 21/23 : LABEL arch=amd64 [2022-04-06T03:39:01.368Z] ---> Running in 4181150c4722 [2022-04-06T03:39:01.368Z] Removing intermediate container 4181150c4722 [2022-04-06T03:39:01.368Z] ---> 20dcc076bba8 [2022-04-06T03:39:01.368Z] Step 22/23 : LABEL git_sha=9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:39:01.368Z] ---> Running in ac94bd849064 [2022-04-06T03:39:01.627Z] Removing intermediate container ac94bd849064 [2022-04-06T03:39:01.627Z] ---> 8dd6e359eaf0 [2022-04-06T03:39:01.627Z] Step 23/23 : LABEL version=2.2.0-dev.9 [2022-04-06T03:39:01.627Z] ---> Running in 217d808692a6 [2022-04-06T03:39:01.627Z] Removing intermediate container 217d808692a6 [2022-04-06T03:39:01.627Z] ---> f8bbd0b1646d [2022-04-06T03:39:01.627Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T03:39:01.627Z] Successfully built f8bbd0b1646d [2022-04-06T03:39:01.627Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:39:01.696Z] provisioning config files... [2022-04-06T03:39:01.705Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config938026233915029917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:39:02.006Z] ---> docker-login.sh [2022-04-06T03:39:02.006Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:39:02.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:39:02.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:39:02.006Z] Configure a credential helper to remove this warning. See [2022-04-06T03:39:02.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:39:02.006Z] [2022-04-06T03:39:02.006Z] Login Succeeded [2022-04-06T03:39:02.006Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:39:02.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:39:02.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:39:02.006Z] Configure a credential helper to remove this warning. See [2022-04-06T03:39:02.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:39:02.006Z] [2022-04-06T03:39:02.006Z] Login Succeeded [2022-04-06T03:39:02.006Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:39:02.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:39:02.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:39:02.266Z] Configure a credential helper to remove this warning. See [2022-04-06T03:39:02.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:39:02.266Z] [2022-04-06T03:39:02.266Z] Login Succeeded [2022-04-06T03:39:02.266Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:39:02.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:39:02.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:39:02.266Z] Configure a credential helper to remove this warning. See [2022-04-06T03:39:02.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:39:02.266Z] [2022-04-06T03:39:02.266Z] Login Succeeded [2022-04-06T03:39:02.266Z] docker.io [2022-04-06T03:39:02.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:39:02.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:39:02.784Z] Configure a credential helper to remove this warning. See [2022-04-06T03:39:02.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:39:02.784Z] [2022-04-06T03:39:02.784Z] Login Succeeded [2022-04-06T03:39:02.784Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:39:02.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T03:39:02.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:39:02.862Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-06T03:39:02.862Z] 9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:39:02.862Z] latest [2022-04-06T03:39:02.862Z] 2.2.0-dev.9 [2022-04-06T03:39:02.862Z] 9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:39:02.862Z] main [2022-04-06T03:39:02.862Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:03.196Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:03.488Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:39:03.488Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-06T03:39:03.488Z] 5823373f55df: Preparing [2022-04-06T03:39:03.488Z] e65798f8ecb9: Preparing [2022-04-06T03:39:03.488Z] db390941c8aa: Preparing [2022-04-06T03:39:03.488Z] 2ce76a7725f4: Preparing [2022-04-06T03:39:03.488Z] 126943e36c02: Preparing [2022-04-06T03:39:03.488Z] b541d28bf3b4: Preparing [2022-04-06T03:39:03.488Z] b541d28bf3b4: Waiting [2022-04-06T03:39:03.488Z] e65798f8ecb9: Pushed [2022-04-06T03:39:03.488Z] 126943e36c02: Pushed [2022-04-06T03:39:03.488Z] 5823373f55df: Pushed [2022-04-06T03:39:03.488Z] b541d28bf3b4: Layer already exists [2022-04-06T03:39:03.748Z] 2ce76a7725f4: Pushed [2022-04-06T03:39:05.654Z] db390941c8aa: Pushed [2022-04-06T03:39:05.654Z] 9122622c7a3d7137d535c6a9496be9c9c3374114: digest: sha256:b1ea021410382861610e6b5a2787256d643070c96a3de6336938df20a863932d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:05.948Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:06.243Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-06T03:39:06.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-06T03:39:06.243Z] 5823373f55df: Preparing [2022-04-06T03:39:06.243Z] e65798f8ecb9: Preparing [2022-04-06T03:39:06.243Z] db390941c8aa: Preparing [2022-04-06T03:39:06.243Z] 2ce76a7725f4: Preparing [2022-04-06T03:39:06.243Z] 126943e36c02: Preparing [2022-04-06T03:39:06.243Z] b541d28bf3b4: Preparing [2022-04-06T03:39:06.243Z] e65798f8ecb9: Layer already exists [2022-04-06T03:39:06.243Z] 2ce76a7725f4: Layer already exists [2022-04-06T03:39:06.243Z] 126943e36c02: Layer already exists [2022-04-06T03:39:06.243Z] db390941c8aa: Layer already exists [2022-04-06T03:39:06.243Z] 5823373f55df: Layer already exists [2022-04-06T03:39:06.243Z] b541d28bf3b4: Layer already exists [2022-04-06T03:39:06.243Z] latest: digest: sha256:b1ea021410382861610e6b5a2787256d643070c96a3de6336938df20a863932d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:06.539Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:06.831Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.9 [2022-04-06T03:39:06.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-06T03:39:06.832Z] 5823373f55df: Preparing [2022-04-06T03:39:06.832Z] e65798f8ecb9: Preparing [2022-04-06T03:39:06.832Z] db390941c8aa: Preparing [2022-04-06T03:39:06.832Z] 2ce76a7725f4: Preparing [2022-04-06T03:39:06.832Z] 126943e36c02: Preparing [2022-04-06T03:39:06.832Z] b541d28bf3b4: Preparing [2022-04-06T03:39:06.832Z] b541d28bf3b4: Waiting [2022-04-06T03:39:06.832Z] 2ce76a7725f4: Layer already exists [2022-04-06T03:39:06.832Z] 126943e36c02: Layer already exists [2022-04-06T03:39:06.832Z] e65798f8ecb9: Layer already exists [2022-04-06T03:39:06.832Z] db390941c8aa: Layer already exists [2022-04-06T03:39:06.832Z] 5823373f55df: Layer already exists [2022-04-06T03:39:06.832Z] b541d28bf3b4: Layer already exists [2022-04-06T03:39:06.832Z] 2.2.0-dev.9: digest: sha256:b1ea021410382861610e6b5a2787256d643070c96a3de6336938df20a863932d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:07.127Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:07.428Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:39:07.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-06T03:39:07.428Z] 5823373f55df: Preparing [2022-04-06T03:39:07.428Z] e65798f8ecb9: Preparing [2022-04-06T03:39:07.428Z] db390941c8aa: Preparing [2022-04-06T03:39:07.428Z] 2ce76a7725f4: Preparing [2022-04-06T03:39:07.428Z] 126943e36c02: Preparing [2022-04-06T03:39:07.428Z] b541d28bf3b4: Preparing [2022-04-06T03:39:07.428Z] b541d28bf3b4: Waiting [2022-04-06T03:39:07.428Z] e65798f8ecb9: Layer already exists [2022-04-06T03:39:07.428Z] 2ce76a7725f4: Layer already exists [2022-04-06T03:39:07.428Z] 5823373f55df: Layer already exists [2022-04-06T03:39:07.428Z] 126943e36c02: Layer already exists [2022-04-06T03:39:07.428Z] db390941c8aa: Layer already exists [2022-04-06T03:39:07.428Z] b541d28bf3b4: Layer already exists [2022-04-06T03:39:07.428Z] 9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9: digest: sha256:b1ea021410382861610e6b5a2787256d643070c96a3de6336938df20a863932d size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:07.725Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:08.032Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-06T03:39:08.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-06T03:39:08.032Z] 5823373f55df: Preparing [2022-04-06T03:39:08.032Z] e65798f8ecb9: Preparing [2022-04-06T03:39:08.032Z] db390941c8aa: Preparing [2022-04-06T03:39:08.032Z] 2ce76a7725f4: Preparing [2022-04-06T03:39:08.032Z] 126943e36c02: Preparing [2022-04-06T03:39:08.032Z] b541d28bf3b4: Preparing [2022-04-06T03:39:08.032Z] b541d28bf3b4: Waiting [2022-04-06T03:39:08.032Z] db390941c8aa: Layer already exists [2022-04-06T03:39:08.032Z] 126943e36c02: Layer already exists [2022-04-06T03:39:08.032Z] 5823373f55df: Layer already exists [2022-04-06T03:39:08.032Z] e65798f8ecb9: Layer already exists [2022-04-06T03:39:08.032Z] 2ce76a7725f4: Layer already exists [2022-04-06T03:39:08.032Z] b541d28bf3b4: Layer already exists [2022-04-06T03:39:08.032Z] main: digest: sha256:b1ea021410382861610e6b5a2787256d643070c96a3de6336938df20a863932d size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T03:39:08.072Z] ===================================================== [Pipeline] echo [2022-04-06T03:39:08.082Z] taggedImages: [2022-04-06T03:39:08.082Z] - nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:39:08.082Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-06T03:39:08.082Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.9 [2022-04-06T03:39:08.082Z] - nexus3.edgexfoundry.org:10004/device-modbus:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:39:08.082Z] - 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-06T03:39:08.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:39:08.498Z] [2022-04-06T03:39:08.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:08.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:39:08.802Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T03:39:08.802Z] 5eb5b503b376: Pulling fs layer [2022-04-06T03:39:08.802Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T03:39:08.802Z] ec43610c2a17: Pulling fs layer [2022-04-06T03:39:08.802Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T03:39:08.802Z] 33b1e0a273af: Pulling fs layer [2022-04-06T03:39:08.802Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T03:39:08.802Z] 2f39f015ded8: Pulling fs layer [2022-04-06T03:39:08.802Z] 33b1e0a273af: Waiting [2022-04-06T03:39:08.802Z] 3a2ae6a8a46f: Waiting [2022-04-06T03:39:08.802Z] 5d3b04190fa2: Waiting [2022-04-06T03:39:08.802Z] 2f39f015ded8: Waiting [2022-04-06T03:39:08.802Z] 5c69ac0246d0: Verifying Checksum [2022-04-06T03:39:08.802Z] 5c69ac0246d0: Download complete [2022-04-06T03:39:08.802Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T03:39:08.802Z] 3a2ae6a8a46f: Download complete [2022-04-06T03:39:08.802Z] 33b1e0a273af: Verifying Checksum [2022-04-06T03:39:08.802Z] 33b1e0a273af: Download complete [2022-04-06T03:39:08.802Z] ec43610c2a17: Verifying Checksum [2022-04-06T03:39:08.802Z] ec43610c2a17: Download complete [2022-04-06T03:39:08.802Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T03:39:08.802Z] 5d3b04190fa2: Download complete [2022-04-06T03:39:09.063Z] 5eb5b503b376: Verifying Checksum [2022-04-06T03:39:09.063Z] 5eb5b503b376: Download complete [2022-04-06T03:39:09.632Z] 2f39f015ded8: Download complete [2022-04-06T03:39:10.201Z] 5eb5b503b376: Pull complete [2022-04-06T03:39:10.460Z] 5c69ac0246d0: Pull complete [2022-04-06T03:39:11.028Z] ec43610c2a17: Pull complete [2022-04-06T03:39:11.028Z] 3a2ae6a8a46f: Pull complete [2022-04-06T03:39:11.286Z] 33b1e0a273af: Pull complete [2022-04-06T03:39:11.286Z] 5d3b04190fa2: Pull complete [2022-04-06T03:39:15.630Z] 2f39f015ded8: Pull complete [2022-04-06T03:39:15.630Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T03:39:15.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:39:15.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T03:39:15.697Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:39:15.738Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T03:39:17.576Z] $ docker top 8ce8093e5469e3ca781922981c8d3a5dff9de837481e5c466577a39788f41954 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:39:17.992Z] ---> job-cost.sh [2022-04-06T03:39:17.992Z] lf-activate-venv: SKIPPING [2022-04-06T03:39:17.992Z] INFO: No Stack... [2022-04-06T03:39:18.252Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:39:18.823Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:39:19.118Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-06T03:39:19.118Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T03:39:19.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [2022-04-06T03:39:19.140Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] did not exist. Created. [2022-04-06T03:39:19.140Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:39:19.438Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T03:39:19.471Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:39:19.478Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:39:19.506Z] $ docker stop --time=1 8ce8093e5469e3ca781922981c8d3a5dff9de837481e5c466577a39788f41954 [2022-04-06T03:39:20.668Z] $ docker rm -f 8ce8093e5469e3ca781922981c8d3a5dff9de837481e5c466577a39788f41954 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T03:39:32.884Z] Removing intermediate container d3df87b03a44 [2022-04-06T03:39:32.885Z] ---> 16bcff2ffcc7 [2022-04-06T03:39:32.885Z] Step 9/10 : COPY . . [2022-04-06T03:39:32.885Z] ---> 7cd5f7467b30 [2022-04-06T03:39:32.885Z] Step 10/10 : RUN ${MAKE} [2022-04-06T03:39:32.885Z] ---> Running in d1c4b187593d [2022-04-06T03:39:33.158Z] noop [2022-04-06T03:39:33.755Z] Removing intermediate container d1c4b187593d [2022-04-06T03:39:33.755Z] ---> ae68bfc59a80 [2022-04-06T03:39:33.755Z] Successfully built ae68bfc59a80 [2022-04-06T03:39:33.755Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:34.110Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:39:34.110Z] . [Pipeline] withDockerContainer [2022-04-06T03:39:34.367Z] prd-ubuntu20.04-docker-arm64-4c-16g-10937 does not seem to be running inside a container [2022-04-06T03:39:34.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-arm64 cat [2022-04-06T03:39:35.791Z] $ docker top 6c6a412e723ea87c1435840eb9992d820eebea177bff4015c91a4c30adf0d65c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:39:36.706Z] + go version [2022-04-06T03:39:36.706Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T03:39:36.739Z] $ docker stop --time=1 6c6a412e723ea87c1435840eb9992d820eebea177bff4015c91a4c30adf0d65c [2022-04-06T03:39:38.442Z] $ docker rm -f 6c6a412e723ea87c1435840eb9992d820eebea177bff4015c91a4c30adf0d65c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:39:39.096Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:39:39.096Z] . [Pipeline] withDockerContainer [2022-04-06T03:39:39.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-10937 does not seem to be running inside a container [2022-04-06T03:39:39.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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 ******** ci-base-image-arm64 cat [2022-04-06T03:39:40.679Z] $ docker top 4c6f57a9e091311fedfefd1ca6bd7cebcc080482bef7d6f1d2c4e28de5888191 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T03:39:41.603Z] + make test [2022-04-06T03:39:41.603Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T03:39:43.592Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-06T03:41:05.418Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-06T03:41:05.418Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 46.4% of statements [2022-04-06T03:41:05.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T03:41:05.418Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:41:32.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:41:32.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:41:32.270Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T03:41:35.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T03:41:35.702Z] $ docker stop --time=1 4c6f57a9e091311fedfefd1ca6bd7cebcc080482bef7d6f1d2c4e28de5888191 [2022-04-06T03:41:37.521Z] $ docker rm -f 4c6f57a9e091311fedfefd1ca6bd7cebcc080482bef7d6f1d2c4e28de5888191 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:41:38.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T03:41:38.627Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T03:41:39.217Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:41:39.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T03:41:39.955Z] + ls -al . [2022-04-06T03:41:39.955Z] total 176 [2022-04-06T03:41:39.955Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 03:41 . [2022-04-06T03:41:39.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 .. [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:37 .dockerignore [2022-04-06T03:41:39.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:37 .git [2022-04-06T03:41:39.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 .github [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 6 03:37 .gitignore [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:37 .golangci.yml [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 6 03:37 Attribution.txt [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 6 03:37 CHANGELOG.md [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 6 03:37 Dockerfile [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:37 GOVERNANCE.md [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 6 03:37 Jenkinsfile [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:37 LICENSE [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 03:37 Makefile [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 6 03:37 OWNERS.md [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 6 03:37 README.md [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 03:37 VERSION [2022-04-06T03:41:39.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 bin [2022-04-06T03:41:39.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 cmd [2022-04-06T03:41:39.955Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 6 03:41 coverage.out [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 6 03:37 go.mod [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 6 03:37 go.sum [2022-04-06T03:41:39.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 internal [2022-04-06T03:41:39.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 simulator [2022-04-06T03:41:39.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 snap [2022-04-06T03:41:39.955Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 6 03:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:41:40.304Z] + 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=9122622c7a3d7137d535c6a9496be9c9c3374114 --label arch=arm64 --label version=2.2.0-dev.9 . [2022-04-06T03:41:40.576Z] Sending build context to Docker daemon 3.035MB [2022-04-06T03:41:40.576Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:41:40.576Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-06T03:41:40.576Z] ---> ae68bfc59a80 [2022-04-06T03:41:40.576Z] Step 3/23 : ARG MAKE='make build' [2022-04-06T03:41:40.852Z] ---> Running in 59c26465c40e [2022-04-06T03:41:41.125Z] Removing intermediate container 59c26465c40e [2022-04-06T03:41:41.125Z] ---> a277e38a28e9 [2022-04-06T03:41:41.125Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:41:41.125Z] ---> Running in c3accbe75cbc [2022-04-06T03:41:43.109Z] Removing intermediate container c3accbe75cbc [2022-04-06T03:41:43.109Z] ---> 06b0909a5689 [2022-04-06T03:41:43.109Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-06T03:41:43.109Z] ---> Running in d99c54ca0114 [2022-04-06T03:41:44.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:41:44.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:41:45.669Z] OK: 226 MiB in 60 packages [2022-04-06T03:41:46.669Z] Removing intermediate container d99c54ca0114 [2022-04-06T03:41:46.669Z] ---> 53b33f817b5b [2022-04-06T03:41:46.669Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-06T03:41:46.669Z] ---> Running in fc87d6267f92 [2022-04-06T03:41:46.945Z] Removing intermediate container fc87d6267f92 [2022-04-06T03:41:46.945Z] ---> c07e156e7208 [2022-04-06T03:41:46.945Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-06T03:41:47.544Z] ---> a91674be7611 [2022-04-06T03:41:47.544Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:41:47.544Z] ---> Running in cd32f2d8fd6b [2022-04-06T03:41:49.529Z] Removing intermediate container cd32f2d8fd6b [2022-04-06T03:41:49.529Z] ---> 4aab87fd20de [2022-04-06T03:41:49.529Z] Step 9/23 : COPY . . [2022-04-06T03:41:50.514Z] ---> 3d5a50907135 [2022-04-06T03:41:50.514Z] Step 10/23 : RUN ${MAKE} [2022-04-06T03:41:50.514Z] ---> Running in ffbf5a420087 [2022-04-06T03:41:51.501Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.9" -o cmd/device-modbus ./cmd [2022-04-06T03:43:13.332Z] Removing intermediate container ffbf5a420087 [2022-04-06T03:43:13.332Z] ---> 36d490abb3f0 [2022-04-06T03:43:13.332Z] Step 11/23 : FROM alpine:3.14 [2022-04-06T03:43:13.332Z] 3.14: Pulling from library/alpine [2022-04-06T03:43:13.332Z] 455c02918c45: Pulling fs layer [2022-04-06T03:43:13.332Z] 455c02918c45: Verifying Checksum [2022-04-06T03:43:13.332Z] 455c02918c45: Download complete [2022-04-06T03:43:13.332Z] 455c02918c45: Pull complete [2022-04-06T03:43:13.333Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T03:43:13.333Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T03:43:13.333Z] ---> ac73e934f311 [2022-04-06T03:43:13.333Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-06T03:43:13.333Z] ---> Running in 8fb2b3310fa6 [2022-04-06T03:43:13.606Z] Removing intermediate container 8fb2b3310fa6 [2022-04-06T03:43:13.606Z] ---> 1848d03399a5 [2022-04-06T03:43:13.606Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:43:13.606Z] ---> Running in 50accc19895d [2022-04-06T03:43:15.596Z] Removing intermediate container 50accc19895d [2022-04-06T03:43:15.596Z] ---> e94aa85ec939 [2022-04-06T03:43:15.596Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T03:43:15.596Z] ---> Running in ab646ce51e57 [2022-04-06T03:43:16.196Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:43:17.184Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:43:18.170Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T03:43:18.170Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T03:43:18.170Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T03:43:18.444Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T03:43:18.743Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T03:43:18.743Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T03:43:18.743Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T03:43:18.743Z] OK: 8 MiB in 20 packages [2022-04-06T03:43:19.781Z] Removing intermediate container ab646ce51e57 [2022-04-06T03:43:19.781Z] ---> 33e62ef1d3f8 [2022-04-06T03:43:19.781Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-06T03:43:21.217Z] ---> 3f8acbb4c622 [2022-04-06T03:43:21.217Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-06T03:43:21.814Z] ---> d4788591194c [2022-04-06T03:43:21.814Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-06T03:43:22.420Z] ---> c04cb7962abc [2022-04-06T03:43:22.420Z] Step 18/23 : EXPOSE 59901 [2022-04-06T03:43:22.420Z] ---> Running in 5110e0f2db6c [2022-04-06T03:43:22.699Z] Removing intermediate container 5110e0f2db6c [2022-04-06T03:43:22.699Z] ---> 32a6f71bd0b6 [2022-04-06T03:43:22.699Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-06T03:43:22.978Z] ---> Running in 14b2fef3f96c [2022-04-06T03:43:23.252Z] Removing intermediate container 14b2fef3f96c [2022-04-06T03:43:23.252Z] ---> edfeeb4dff04 [2022-04-06T03:43:23.252Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T03:43:23.252Z] ---> Running in 2c370faa088d [2022-04-06T03:43:23.529Z] Removing intermediate container 2c370faa088d [2022-04-06T03:43:23.529Z] ---> 18890a5bffbb [2022-04-06T03:43:23.529Z] Step 21/23 : LABEL arch=arm64 [2022-04-06T03:43:23.529Z] ---> Running in 8d2d874a4993 [2022-04-06T03:43:24.129Z] Removing intermediate container 8d2d874a4993 [2022-04-06T03:43:24.129Z] ---> 0fc61976e2b2 [2022-04-06T03:43:24.129Z] Step 22/23 : LABEL git_sha=9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:43:24.129Z] ---> Running in 20018ce39566 [2022-04-06T03:43:24.404Z] Removing intermediate container 20018ce39566 [2022-04-06T03:43:24.404Z] ---> f74787caa11d [2022-04-06T03:43:24.404Z] Step 23/23 : LABEL version=2.2.0-dev.9 [2022-04-06T03:43:24.404Z] ---> Running in 0617f70557ca [2022-04-06T03:43:24.677Z] Removing intermediate container 0617f70557ca [2022-04-06T03:43:24.677Z] ---> dd79a196d0ad [2022-04-06T03:43:24.677Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T03:43:24.951Z] Successfully built dd79a196d0ad [2022-04-06T03:43:24.951Z] 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-06T03:43:25.065Z] provisioning config files... [2022-04-06T03:43:25.086Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/27@tmp/config4579260676927414795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:43:25.444Z] ---> docker-login.sh [2022-04-06T03:43:25.444Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:43:25.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:43:25.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:43:25.718Z] Configure a credential helper to remove this warning. See [2022-04-06T03:43:25.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:43:25.718Z] [2022-04-06T03:43:25.995Z] Login Succeeded [2022-04-06T03:43:25.995Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:43:26.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:43:26.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:43:26.542Z] Configure a credential helper to remove this warning. See [2022-04-06T03:43:26.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:43:26.542Z] [2022-04-06T03:43:26.542Z] Login Succeeded [2022-04-06T03:43:26.542Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:43:26.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:43:27.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:43:27.092Z] Configure a credential helper to remove this warning. See [2022-04-06T03:43:27.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:43:27.092Z] [2022-04-06T03:43:27.092Z] Login Succeeded [2022-04-06T03:43:27.092Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:43:27.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:43:27.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:43:27.640Z] Configure a credential helper to remove this warning. See [2022-04-06T03:43:27.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:43:27.640Z] [2022-04-06T03:43:27.640Z] Login Succeeded [2022-04-06T03:43:27.640Z] docker.io [2022-04-06T03:43:27.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:43:28.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:43:28.510Z] Configure a credential helper to remove this warning. See [2022-04-06T03:43:28.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:43:28.510Z] [2022-04-06T03:43:28.510Z] Login Succeeded [2022-04-06T03:43:28.510Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:43:28.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T03:43:28.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:43:28.576Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-06T03:43:28.576Z] 9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:43:28.576Z] latest [2022-04-06T03:43:28.576Z] 2.2.0-dev.9 [2022-04-06T03:43:28.576Z] 9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:43:28.576Z] main [2022-04-06T03:43:28.576Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:28.923Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:29.272Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:43:29.272Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-06T03:43:29.272Z] 9b95e1d45bc5: Preparing [2022-04-06T03:43:29.272Z] b84b084aa9cc: Preparing [2022-04-06T03:43:29.272Z] 9542ddbadde9: Preparing [2022-04-06T03:43:29.272Z] 798c0db4ac3f: Preparing [2022-04-06T03:43:29.272Z] 6acb003eaac8: Preparing [2022-04-06T03:43:29.272Z] f73e7dbfee58: Preparing [2022-04-06T03:43:29.272Z] f73e7dbfee58: Waiting [2022-04-06T03:43:29.557Z] 6acb003eaac8: Pushed [2022-04-06T03:43:29.557Z] 9b95e1d45bc5: Pushed [2022-04-06T03:43:29.557Z] b84b084aa9cc: Pushed [2022-04-06T03:43:29.557Z] f73e7dbfee58: Layer already exists [2022-04-06T03:43:30.152Z] 798c0db4ac3f: Pushed [2022-04-06T03:43:35.541Z] 9542ddbadde9: Pushed [2022-04-06T03:43:35.541Z] 9122622c7a3d7137d535c6a9496be9c9c3374114: digest: sha256:69f6c6d87ce4910989c966467596984dbbb87d31f6f813a90bf3cc5b79924702 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:35.898Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:36.238Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-06T03:43:36.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-06T03:43:36.238Z] 9b95e1d45bc5: Preparing [2022-04-06T03:43:36.238Z] b84b084aa9cc: Preparing [2022-04-06T03:43:36.238Z] 9542ddbadde9: Preparing [2022-04-06T03:43:36.238Z] 798c0db4ac3f: Preparing [2022-04-06T03:43:36.238Z] 6acb003eaac8: Preparing [2022-04-06T03:43:36.238Z] f73e7dbfee58: Preparing [2022-04-06T03:43:36.238Z] f73e7dbfee58: Waiting [2022-04-06T03:43:36.238Z] 9542ddbadde9: Layer already exists [2022-04-06T03:43:36.238Z] 9b95e1d45bc5: Layer already exists [2022-04-06T03:43:36.238Z] 798c0db4ac3f: Layer already exists [2022-04-06T03:43:36.238Z] 6acb003eaac8: Layer already exists [2022-04-06T03:43:36.238Z] b84b084aa9cc: Layer already exists [2022-04-06T03:43:36.509Z] f73e7dbfee58: Layer already exists [2022-04-06T03:43:36.509Z] latest: digest: sha256:69f6c6d87ce4910989c966467596984dbbb87d31f6f813a90bf3cc5b79924702 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:36.856Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:37.199Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.9 [2022-04-06T03:43:37.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-06T03:43:37.199Z] 9b95e1d45bc5: Preparing [2022-04-06T03:43:37.199Z] b84b084aa9cc: Preparing [2022-04-06T03:43:37.199Z] 9542ddbadde9: Preparing [2022-04-06T03:43:37.199Z] 798c0db4ac3f: Preparing [2022-04-06T03:43:37.199Z] 6acb003eaac8: Preparing [2022-04-06T03:43:37.199Z] f73e7dbfee58: Preparing [2022-04-06T03:43:37.199Z] b84b084aa9cc: Layer already exists [2022-04-06T03:43:37.199Z] 798c0db4ac3f: Layer already exists [2022-04-06T03:43:37.199Z] 9b95e1d45bc5: Layer already exists [2022-04-06T03:43:37.199Z] 9542ddbadde9: Layer already exists [2022-04-06T03:43:37.199Z] 6acb003eaac8: Layer already exists [2022-04-06T03:43:37.472Z] f73e7dbfee58: Layer already exists [2022-04-06T03:43:37.472Z] 2.2.0-dev.9: digest: sha256:69f6c6d87ce4910989c966467596984dbbb87d31f6f813a90bf3cc5b79924702 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:37.824Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:38.165Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:43:38.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-06T03:43:38.165Z] 9b95e1d45bc5: Preparing [2022-04-06T03:43:38.166Z] b84b084aa9cc: Preparing [2022-04-06T03:43:38.166Z] 9542ddbadde9: Preparing [2022-04-06T03:43:38.166Z] 798c0db4ac3f: Preparing [2022-04-06T03:43:38.166Z] 6acb003eaac8: Preparing [2022-04-06T03:43:38.166Z] f73e7dbfee58: Preparing [2022-04-06T03:43:38.166Z] f73e7dbfee58: Waiting [2022-04-06T03:43:38.166Z] 9b95e1d45bc5: Layer already exists [2022-04-06T03:43:38.166Z] 798c0db4ac3f: Layer already exists [2022-04-06T03:43:38.166Z] 9542ddbadde9: Layer already exists [2022-04-06T03:43:38.166Z] 6acb003eaac8: Layer already exists [2022-04-06T03:43:38.166Z] b84b084aa9cc: Layer already exists [2022-04-06T03:43:38.437Z] f73e7dbfee58: Layer already exists [2022-04-06T03:43:38.437Z] 9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9: digest: sha256:69f6c6d87ce4910989c966467596984dbbb87d31f6f813a90bf3cc5b79924702 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:38.813Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:39.174Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-06T03:43:39.174Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-06T03:43:39.174Z] 9b95e1d45bc5: Preparing [2022-04-06T03:43:39.174Z] b84b084aa9cc: Preparing [2022-04-06T03:43:39.174Z] 9542ddbadde9: Preparing [2022-04-06T03:43:39.174Z] 798c0db4ac3f: Preparing [2022-04-06T03:43:39.174Z] 6acb003eaac8: Preparing [2022-04-06T03:43:39.174Z] f73e7dbfee58: Preparing [2022-04-06T03:43:39.174Z] f73e7dbfee58: Waiting [2022-04-06T03:43:39.445Z] b84b084aa9cc: Layer already exists [2022-04-06T03:43:39.445Z] 9b95e1d45bc5: Layer already exists [2022-04-06T03:43:39.445Z] 798c0db4ac3f: Layer already exists [2022-04-06T03:43:39.445Z] 6acb003eaac8: Layer already exists [2022-04-06T03:43:39.445Z] 9542ddbadde9: Layer already exists [2022-04-06T03:43:39.445Z] f73e7dbfee58: Layer already exists [2022-04-06T03:43:39.445Z] main: digest: sha256:69f6c6d87ce4910989c966467596984dbbb87d31f6f813a90bf3cc5b79924702 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T03:43:39.500Z] ===================================================== [Pipeline] echo [2022-04-06T03:43:39.510Z] taggedImages: [2022-04-06T03:43:39.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114 [2022-04-06T03:43:39.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-06T03:43:39.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.9 [2022-04-06T03:43:39.510Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9122622c7a3d7137d535c6a9496be9c9c3374114-2.2.0-dev.9 [2022-04-06T03:43:39.510Z] - 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-06T03:43:39.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:43:39.906Z] [2022-04-06T03:43:39.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:43:40.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:43:40.537Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T03:43:40.537Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T03:43:40.537Z] 04944245beec: Pulling fs layer [2022-04-06T03:43:40.537Z] 699f458cf7ca: Pulling fs layer [2022-04-06T03:43:40.537Z] 765212b225bb: Pulling fs layer [2022-04-06T03:43:40.537Z] f23df028b6ca: Pulling fs layer [2022-04-06T03:43:40.537Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T03:43:40.537Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T03:43:40.537Z] 765212b225bb: Waiting [2022-04-06T03:43:40.537Z] f23df028b6ca: Waiting [2022-04-06T03:43:40.537Z] d65c8cfc05b1: Waiting [2022-04-06T03:43:40.537Z] 2437ff75d9bd: Waiting [2022-04-06T03:43:40.537Z] 04944245beec: Download complete [2022-04-06T03:43:40.537Z] 765212b225bb: Verifying Checksum [2022-04-06T03:43:40.537Z] 765212b225bb: Download complete [2022-04-06T03:43:40.537Z] f23df028b6ca: Verifying Checksum [2022-04-06T03:43:40.537Z] f23df028b6ca: Download complete [2022-04-06T03:43:40.810Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T03:43:40.810Z] d65c8cfc05b1: Download complete [2022-04-06T03:43:40.810Z] 699f458cf7ca: Verifying Checksum [2022-04-06T03:43:40.810Z] 699f458cf7ca: Download complete [2022-04-06T03:43:41.084Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T03:43:41.084Z] 8998bd30e6a1: Download complete [2022-04-06T03:43:43.715Z] 2437ff75d9bd: Download complete [2022-04-06T03:43:45.692Z] 8998bd30e6a1: Pull complete [2022-04-06T03:43:45.968Z] 04944245beec: Pull complete [2022-04-06T03:43:47.411Z] 699f458cf7ca: Pull complete [2022-04-06T03:43:47.684Z] 765212b225bb: Pull complete [2022-04-06T03:43:48.664Z] f23df028b6ca: Pull complete [2022-04-06T03:43:48.939Z] d65c8cfc05b1: Pull complete [2022-04-06T03:44:04.030Z] 2437ff75d9bd: Pull complete [2022-04-06T03:44:04.031Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T03:44:04.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:44:04.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T03:44:04.305Z] prd-ubuntu20.04-docker-arm64-4c-16g-10937 does not seem to be running inside a container [2022-04-06T03:44:04.397Z] $ 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/27 -v /w/workspace/device-modbus-go/27:/w/workspace/device-modbus-go/27:rw,z -v /w/workspace/device-modbus-go/27@tmp:/w/workspace/device-modbus-go/27@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:arm64 cat [2022-04-06T03:44:07.363Z] $ docker top e0a6a746ee4b49347004b9dcf454d930439f71217d30baa3eb56a8b74b1d0ada -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:44:08.348Z] ---> job-cost.sh [2022-04-06T03:44:08.348Z] lf-activate-venv: SKIPPING [2022-04-06T03:44:08.348Z] INFO: No Stack... [2022-04-06T03:44:08.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T03:44:09.929Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:44:10.605Z] + + cat /w/workspace/device-modbus-go/27/archives/cost.csvcut [2022-04-06T03:44:10.605Z] -d, -f6 [Pipeline] lock [2022-04-06T03:44:10.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [2022-04-06T03:44:10.683Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] did not exist. Created. [2022-04-06T03:44:10.683Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:44:11.433Z] /w/workspace/device-modbus-go/27@tmp/durable-c2dfa0a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T03:44:12.120Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T03:44:12.147Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T03:44:12.202Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:44:12.210Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:44:12.231Z] $ docker stop --time=1 e0a6a746ee4b49347004b9dcf454d930439f71217d30baa3eb56a8b74b1d0ada [2022-04-06T03:44:13.787Z] $ docker rm -f e0a6a746ee4b49347004b9dcf454d930439f71217d30baa3eb56a8b74b1d0ada [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-06T03:44:14.320Z] provisioning config files... [2022-04-06T03:44:14.328Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6778895706243195737tmp [Pipeline] { [Pipeline] sh [2022-04-06T03:44:14.621Z] + set +x [2022-04-06T03:44:14.621Z] + curl -s https://codecov.io/bash [2022-04-06T03:44:14.621Z] + bash -s -- [2022-04-06T03:44:14.621Z] [2022-04-06T03:44:14.621Z] _____ _ [2022-04-06T03:44:14.621Z] / ____| | | [2022-04-06T03:44:14.621Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T03:44:14.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T03:44:14.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T03:44:14.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T03:44:14.621Z] Bash-1.0.6 [2022-04-06T03:44:14.621Z] [2022-04-06T03:44:14.621Z] [2022-04-06T03:44:14.621Z] ==> git version 2.25.1 found [2022-04-06T03:44:14.621Z] ==> 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-06T03:44:14.621Z] Release-Date: 2020-01-08 [2022-04-06T03:44:14.621Z] 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-06T03:44:14.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T03:44:14.621Z] ==> Jenkins CI detected. [2022-04-06T03:44:14.621Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:44:14.621Z] project root: . [2022-04-06T03:44:14.621Z] --> token set from env [2022-04-06T03:44:14.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T03:44:14.621Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T03:44:14.621Z] ==> Python coveragepy not found [2022-04-06T03:44:14.621Z] ==> Searching for coverage reports in: [2022-04-06T03:44:14.621Z] + . [2022-04-06T03:44:14.881Z] -> Found 1 reports [2022-04-06T03:44:14.881Z] ==> Detecting git/mercurial file structure [2022-04-06T03:44:14.881Z] ==> Reading reports [2022-04-06T03:44:14.881Z] + ./coverage.out bytes=24065 [2022-04-06T03:44:14.881Z] ==> Appending adjustments [2022-04-06T03:44:14.881Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T03:44:14.881Z] + Found adjustments [2022-04-06T03:44:14.881Z] ==> Gzipping contents [2022-04-06T03:44:14.881Z] 4.0K /tmp/codecov.2hHLfQ.gz [2022-04-06T03:44:14.881Z] ==> Uploading reports [2022-04-06T03:44:14.881Z] url: https://codecov.io [2022-04-06T03:44:14.881Z] query: branch=main&commit=9122622c7a3d7137d535c6a9496be9c9c3374114&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T03:44:14.881Z] -> Pinging Codecov [2022-04-06T03:44:14.881Z] 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=9122622c7a3d7137d535c6a9496be9c9c3374114&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T03:44:15.143Z] -> Uploading to [2022-04-06T03:44:15.143Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/55DBCA73C666E3227836607328DD7E49/9122622c7a3d7137d535c6a9496be9c9c3374114/4c9d138f-ff11-4c56-b9d2-9bb7500e9bbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T034414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76dc5b610b4cfb3efe3b82254477fafbe2c9360d3685acd40843f36b46531126 [2022-04-06T03:44:15.143Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T03:44:15.143Z] Dload Upload Total Spent Left Speed [2022-04-06T03:44:15.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4005 0 0 100 4005 0 17042 --:--:-- --:--:-- --:--:-- 17042 [2022-04-06T03:44:15.404Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] } [2022-04-06T03:44:15.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-06T03:44:15.764Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-06T03:44:15.774Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:16.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T03:44:16.069Z] [2022-04-06T03:44:16.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:16.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T03:44:16.372Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-06T03:44:16.372Z] 188c0c94c7c5: Pulling fs layer [2022-04-06T03:44:16.372Z] 0ef7d3d256c8: Pulling fs layer [2022-04-06T03:44:16.372Z] de9db76c5a1d: Pulling fs layer [2022-04-06T03:44:16.372Z] 0eba1c9be4d2: Pulling fs layer [2022-04-06T03:44:16.372Z] 0d57e429df01: Pulling fs layer [2022-04-06T03:44:16.372Z] 4e4be7b47b0d: Pulling fs layer [2022-04-06T03:44:16.372Z] e1f770b5df2f: Pulling fs layer [2022-04-06T03:44:16.372Z] 85a0685a4137: Pulling fs layer [2022-04-06T03:44:16.372Z] 0eba1c9be4d2: Waiting [2022-04-06T03:44:16.372Z] 0d57e429df01: Waiting [2022-04-06T03:44:16.372Z] 4e4be7b47b0d: Waiting [2022-04-06T03:44:16.372Z] e1f770b5df2f: Waiting [2022-04-06T03:44:16.372Z] 85a0685a4137: Waiting [2022-04-06T03:44:16.372Z] de9db76c5a1d: Verifying Checksum [2022-04-06T03:44:16.372Z] de9db76c5a1d: Download complete [2022-04-06T03:44:16.372Z] 0ef7d3d256c8: Verifying Checksum [2022-04-06T03:44:16.372Z] 0ef7d3d256c8: Download complete [2022-04-06T03:44:16.372Z] 0d57e429df01: Verifying Checksum [2022-04-06T03:44:16.372Z] 0d57e429df01: Download complete [2022-04-06T03:44:16.372Z] 4e4be7b47b0d: Download complete [2022-04-06T03:44:16.372Z] 188c0c94c7c5: Verifying Checksum [2022-04-06T03:44:16.372Z] 188c0c94c7c5: Download complete [2022-04-06T03:44:16.636Z] e1f770b5df2f: Verifying Checksum [2022-04-06T03:44:16.636Z] e1f770b5df2f: Download complete [2022-04-06T03:44:16.636Z] 188c0c94c7c5: Pull complete [2022-04-06T03:44:16.897Z] 0ef7d3d256c8: Pull complete [2022-04-06T03:44:16.897Z] de9db76c5a1d: Pull complete [2022-04-06T03:44:17.157Z] 0eba1c9be4d2: Download complete [2022-04-06T03:44:17.415Z] 85a0685a4137: Verifying Checksum [2022-04-06T03:44:17.415Z] 85a0685a4137: Download complete [2022-04-06T03:44:20.705Z] 0eba1c9be4d2: Pull complete [2022-04-06T03:44:20.705Z] 0d57e429df01: Pull complete [2022-04-06T03:44:20.705Z] 4e4be7b47b0d: Pull complete [2022-04-06T03:44:20.965Z] e1f770b5df2f: Pull complete [2022-04-06T03:44:24.267Z] 85a0685a4137: Pull complete [2022-04-06T03:44:24.267Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-06T03:44:24.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T03:44:24.267Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-06T03:44:24.350Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:44:24.396Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-06T03:44:27.944Z] $ docker top 71a50474dafe71686df0606cac1f05fe10db4e8fe44901a62cdf30041ccbe00e -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-06T03:44:28.013Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-06T03:44:28.298Z] + set -o pipefail [2022-04-06T03:44:28.298Z] + snyk monitor '--org=edgex-jenkins' [2022-04-06T03:44:34.877Z] [2022-04-06T03:44:34.877Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-06T03:44:34.877Z] [2022-04-06T03:44:34.878Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/23f5777c-d427-4871-a830-6b32a61a9af1 [2022-04-06T03:44:34.878Z] [2022-04-06T03:44:34.878Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-06T03:44:34.878Z] [2022-04-06T03:44:34.878Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-06T03:44:34.878Z] [2022-04-06T03:44:35.138Z] [Pipeline] } [2022-04-06T03:44:35.156Z] $ docker stop --time=1 71a50474dafe71686df0606cac1f05fe10db4e8fe44901a62cdf30041ccbe00e [2022-04-06T03:44:37.271Z] $ docker rm -f 71a50474dafe71686df0606cac1f05fe10db4e8fe44901a62cdf30041ccbe00e [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-06T03:44:38.019Z] + git log --format=format:%s -1 9122622c7a3d7137d535c6a9496be9c9c3374114 [Pipeline] sh [2022-04-06T03:44:38.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:44:38.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:38.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:44:38.612Z] . [Pipeline] withDockerContainer [2022-04-06T03:44:38.676Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:44:38.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T03:44:39.131Z] $ docker top 8ecd9e279bc45c67affd53f8cfcc043ab4f61e9aee3d15e72a237a8e5db4e327 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:44:39.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:44:39.223Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:44:39.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:44:39.366Z] $ docker exec 8ecd9e279bc45c67affd53f8cfcc043ab4f61e9aee3d15e72a237a8e5db4e327 ssh-agent [2022-04-06T03:44:39.480Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHmGLnf/agent.13 [2022-04-06T03:44:39.480Z] SSH_AGENT_PID=20 [2022-04-06T03:44:39.486Z] Running ssh-add (command line suppressed) [2022-04-06T03:44:39.603Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7498534593816199973.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7498534593816199973.key) [2022-04-06T03:44:39.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:44:39.906Z] + git semver tag [2022-04-06T03:44:39.906Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:44:39.906Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-06T03:44:39.906Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:44:39.906Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:44:39.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:44:39.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:44:39.906Z] # $SEMVER_BRANCH = main [2022-04-06T03:44:39.907Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-06T03:44:39.907Z] # 9122622c7a3d7137d535c6a9496be9c9c3374114 HEAD [2022-04-06T03:44:39.907Z] # -> Force: false [2022-04-06T03:44:39.907Z] # 5a7ac2d759c8e743673f100f2858f2803db5ce8b refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-04-06T03:44:39.924Z] $ docker exec --env ******** --env ******** 8ecd9e279bc45c67affd53f8cfcc043ab4f61e9aee3d15e72a237a8e5db4e327 ssh-agent -k [2022-04-06T03:44:40.038Z] unset SSH_AUTH_SOCK; [2022-04-06T03:44:40.039Z] unset SSH_AGENT_PID; [2022-04-06T03:44:40.039Z] echo Agent pid 20 killed; [2022-04-06T03:44:40.046Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:44:40.359Z] + git semver [Pipeline] } [2022-04-06T03:44:40.379Z] $ docker stop --time=1 8ecd9e279bc45c67affd53f8cfcc043ab4f61e9aee3d15e72a237a8e5db4e327 [2022-04-06T03:44:41.786Z] $ docker rm -f 8ecd9e279bc45c67affd53f8cfcc043ab4f61e9aee3d15e72a237a8e5db4e327 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:42.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T03:44:42.188Z] [2022-04-06T03:44:42.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:42.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T03:44:42.488Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-06T03:44:42.488Z] ab5ef0e58194: Pulling fs layer [2022-04-06T03:44:42.488Z] 9712f1f96733: Pulling fs layer [2022-04-06T03:44:42.488Z] 63f879dbbcfc: Pulling fs layer [2022-04-06T03:44:42.488Z] 0d9ebad4ef96: Pulling fs layer [2022-04-06T03:44:42.488Z] e9a5061849ea: Pulling fs layer [2022-04-06T03:44:42.488Z] d747dcd14b5f: Pulling fs layer [2022-04-06T03:44:42.488Z] 2de7ff778b66: Pulling fs layer [2022-04-06T03:44:42.488Z] e9a5061849ea: Waiting [2022-04-06T03:44:42.488Z] d747dcd14b5f: Waiting [2022-04-06T03:44:42.488Z] 2de7ff778b66: Waiting [2022-04-06T03:44:42.488Z] 0d9ebad4ef96: Waiting [2022-04-06T03:44:42.488Z] 9712f1f96733: Download complete [2022-04-06T03:44:43.063Z] 63f879dbbcfc: Verifying Checksum [2022-04-06T03:44:43.063Z] 63f879dbbcfc: Download complete [2022-04-06T03:44:43.063Z] e9a5061849ea: Verifying Checksum [2022-04-06T03:44:43.063Z] e9a5061849ea: Download complete [2022-04-06T03:44:43.063Z] d747dcd14b5f: Verifying Checksum [2022-04-06T03:44:43.063Z] d747dcd14b5f: Download complete [2022-04-06T03:44:43.322Z] 0d9ebad4ef96: Verifying Checksum [2022-04-06T03:44:43.322Z] 0d9ebad4ef96: Download complete [2022-04-06T03:44:43.322Z] ab5ef0e58194: Verifying Checksum [2022-04-06T03:44:43.322Z] ab5ef0e58194: Download complete [2022-04-06T03:44:43.322Z] 2de7ff778b66: Verifying Checksum [2022-04-06T03:44:43.322Z] 2de7ff778b66: Download complete [2022-04-06T03:44:46.616Z] ab5ef0e58194: Pull complete [2022-04-06T03:44:46.616Z] 9712f1f96733: Pull complete [2022-04-06T03:44:47.181Z] 63f879dbbcfc: Pull complete [2022-04-06T03:44:51.374Z] 0d9ebad4ef96: Pull complete [2022-04-06T03:44:51.374Z] e9a5061849ea: Pull complete [2022-04-06T03:44:51.374Z] d747dcd14b5f: Pull complete [2022-04-06T03:44:52.311Z] 2de7ff778b66: Pull complete [2022-04-06T03:44:52.311Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-06T03:44:52.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T03:44:52.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-06T03:44:52.386Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:44:52.432Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-06T03:44:54.672Z] $ docker top 86bebac20b9984cc3e9045bcaaa741b69d26614043243a7b45d611e356579c11 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:44:54.751Z] provisioning config files... [2022-04-06T03:44:54.761Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5309706103679021597tmp [2022-04-06T03:44:54.772Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6411859618010093725tmp [2022-04-06T03:44:54.783Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7428671734843245074tmp [Pipeline] { [Pipeline] echo [2022-04-06T03:44:54.804Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:44:55.099Z] ---> sigul-configuration.sh [2022-04-06T03:44:55.099Z] gpg: directory `/root/.gnupg' created [2022-04-06T03:44:55.099Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-06T03:44:55.099Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-06T03:44:55.099Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-06T03:44:55.099Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-06T03:44:55.099Z] gpg: CAST5 encrypted data [2022-04-06T03:44:55.099Z] gpg: encrypted with 1 passphrase [2022-04-06T03:44:55.099Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-06T03:44:55.390Z] + mkdir /home/jenkins [2022-04-06T03:44:55.390Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-06T03:44:55.676Z] + 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-06T03:44:55.686Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:44:55.973Z] ---> sigul-install.sh [2022-04-06T03:44:55.973Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-06T03:44:56.263Z] + git tag --list [2022-04-06T03:44:56.263Z] 0.7.1 [2022-04-06T03:44:56.263Z] v1.0.0 [2022-04-06T03:44:56.263Z] v1.1.0 [2022-04-06T03:44:56.263Z] v1.1.1 [2022-04-06T03:44:56.263Z] v1.2.2 [2022-04-06T03:44:56.263Z] v1.3.0 [2022-04-06T03:44:56.263Z] v1.3.1 [2022-04-06T03:44:56.263Z] v2.0.0 [2022-04-06T03:44:56.263Z] v2.0.1-dev.1 [2022-04-06T03:44:56.263Z] v2.0.1-dev.10 [2022-04-06T03:44:56.263Z] v2.0.1-dev.11 [2022-04-06T03:44:56.263Z] v2.0.1-dev.12 [2022-04-06T03:44:56.263Z] v2.0.1-dev.2 [2022-04-06T03:44:56.263Z] v2.0.1-dev.3 [2022-04-06T03:44:56.263Z] v2.0.1-dev.4 [2022-04-06T03:44:56.263Z] v2.0.1-dev.5 [2022-04-06T03:44:56.263Z] v2.0.1-dev.6 [2022-04-06T03:44:56.263Z] v2.0.1-dev.7 [2022-04-06T03:44:56.263Z] v2.0.1-dev.8 [2022-04-06T03:44:56.263Z] v2.0.1-dev.9 [2022-04-06T03:44:56.263Z] v2.1.0 [2022-04-06T03:44:56.263Z] v2.2.0-dev.1 [2022-04-06T03:44:56.263Z] v2.2.0-dev.2 [2022-04-06T03:44:56.263Z] v2.2.0-dev.3 [2022-04-06T03:44:56.263Z] v2.2.0-dev.4 [2022-04-06T03:44:56.263Z] v2.2.0-dev.5 [2022-04-06T03:44:56.263Z] v2.2.0-dev.6 [2022-04-06T03:44:56.263Z] v2.2.0-dev.7 [2022-04-06T03:44:56.263Z] v2.2.0-dev.8 [2022-04-06T03:44:56.263Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-06T03:44:56.552Z] + lftools sign git-tag v2.2.0-dev.9 [2022-04-06T03:44:57.124Z] Signing Git tag with Sigul... [2022-04-06T03:44:57.124Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-04-06T03:44:57.392Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:44:57.681Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-06T03:44:57.689Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-06T03:44:57.717Z] $ docker stop --time=1 86bebac20b9984cc3e9045bcaaa741b69d26614043243a7b45d611e356579c11 [2022-04-06T03:44:59.006Z] $ docker rm -f 86bebac20b9984cc3e9045bcaaa741b69d26614043243a7b45d611e356579c11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-06T03:44:59.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:44:59.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:44:59.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:44:59.723Z] . [Pipeline] withDockerContainer [2022-04-06T03:44:59.790Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:44:59.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T03:45:00.213Z] $ docker top 76c4aa61875e1f4c4942b301186bc42faa313526cad12127e76fb4589f23c2b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:45:00.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:45:00.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:45:00.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:45:00.453Z] $ docker exec 76c4aa61875e1f4c4942b301186bc42faa313526cad12127e76fb4589f23c2b5 ssh-agent [2022-04-06T03:45:00.579Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLCKpJB/agent.13 [2022-04-06T03:45:00.579Z] SSH_AGENT_PID=19 [2022-04-06T03:45:00.584Z] Running ssh-add (command line suppressed) [2022-04-06T03:45:00.701Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4581375074274966834.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4581375074274966834.key) [2022-04-06T03:45:00.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:45:01.004Z] + git semver bump pre [2022-04-06T03:45:01.004Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:45:01.004Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-06T03:45:01.004Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:45:01.004Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:45:01.004Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:45:01.004Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:45:01.004Z] # $SEMVER_BRANCH = main [2022-04-06T03:45:01.004Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-06T03:45:01.004Z] 2.2.0-dev.10 [Pipeline] } [2022-04-06T03:45:01.019Z] $ docker exec --env ******** --env ******** 76c4aa61875e1f4c4942b301186bc42faa313526cad12127e76fb4589f23c2b5 ssh-agent -k [2022-04-06T03:45:01.130Z] unset SSH_AUTH_SOCK; [2022-04-06T03:45:01.130Z] unset SSH_AGENT_PID; [2022-04-06T03:45:01.130Z] echo Agent pid 19 killed; [2022-04-06T03:45:01.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:45:01.447Z] + git semver [Pipeline] } [2022-04-06T03:45:01.472Z] $ docker stop --time=1 76c4aa61875e1f4c4942b301186bc42faa313526cad12127e76fb4589f23c2b5 [2022-04-06T03:45:02.785Z] $ docker rm -f 76c4aa61875e1f4c4942b301186bc42faa313526cad12127e76fb4589f23c2b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:45:03.122Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:45:03.122Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:45:03.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:45:03.412Z] . [Pipeline] withDockerContainer [2022-04-06T03:45:03.475Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:45:03.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T03:45:03.870Z] $ docker top e4daada2cf975b5d10ebccefdc36a6169ef5e1c01768c4581d8b06d7ecca52dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:45:03.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:45:03.951Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:45:04.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:45:04.091Z] $ docker exec e4daada2cf975b5d10ebccefdc36a6169ef5e1c01768c4581d8b06d7ecca52dd ssh-agent [2022-04-06T03:45:04.197Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFAaNin/agent.14 [2022-04-06T03:45:04.197Z] SSH_AGENT_PID=20 [2022-04-06T03:45:04.202Z] Running ssh-add (command line suppressed) [2022-04-06T03:45:04.306Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3533998980427695750.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3533998980427695750.key) [2022-04-06T03:45:04.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:45:04.604Z] + git semver push [2022-04-06T03:45:04.604Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:45:04.604Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-06T03:45:04.604Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:45:04.604Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:45:04.604Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:45:04.604Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:45:04.604Z] # $SEMVER_BRANCH = main [2022-04-06T03:45:04.604Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-06T03:45:06.007Z] $ docker exec --env ******** --env ******** e4daada2cf975b5d10ebccefdc36a6169ef5e1c01768c4581d8b06d7ecca52dd ssh-agent -k [2022-04-06T03:45:06.108Z] unset SSH_AUTH_SOCK; [2022-04-06T03:45:06.108Z] unset SSH_AGENT_PID; [2022-04-06T03:45:06.108Z] echo Agent pid 20 killed; [2022-04-06T03:45:06.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:45:06.422Z] + git semver [Pipeline] } [2022-04-06T03:45:06.441Z] $ docker stop --time=1 e4daada2cf975b5d10ebccefdc36a6169ef5e1c01768c4581d8b06d7ecca52dd [2022-04-06T03:45:07.725Z] $ docker rm -f e4daada2cf975b5d10ebccefdc36a6169ef5e1c01768c4581d8b06d7ecca52dd [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-06T03:45:08.373Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-06T03:45:08.373Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-06T03:45:08.373Z] total 16 [2022-04-06T03:45:08.373Z] drwxr-xr-x 3 root root 4096 Apr 6 03:39 . [2022-04-06T03:45:08.373Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:44 .. [2022-04-06T03:45:08.373Z] drwxr-xr-x 2 root root 4096 Apr 6 03:39 cost [2022-04-06T03:45:08.373Z] -rw-r--r-- 1 root root 86 Apr 6 03:39 cost.csv [2022-04-06T03:45:08.373Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-06T03:45:08.373Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-06T03:45:08.373Z] total 16 [2022-04-06T03:45:08.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 03:39 . [2022-04-06T03:45:08.373Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:44 .. [2022-04-06T03:45:08.373Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 03:39 cost [2022-04-06T03:45:08.373Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 6 03:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:08.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:09.578Z] ---> package-listing.sh [2022-04-06T03:45:09.578Z] ++ facter osfamily [2022-04-06T03:45:09.578Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T03:45:09.839Z] + OS_FAMILY=debian [2022-04-06T03:45:09.839Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-06T03:45:09.839Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T03:45:09.839Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T03:45:09.839Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T03:45:09.839Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T03:45:09.839Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-06T03:45:09.839Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T03:45:09.839Z] + case "${OS_FAMILY}" in [2022-04-06T03:45:09.839Z] + dpkg -l [2022-04-06T03:45:09.839Z] + grep '^ii' [2022-04-06T03:45:09.839Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T03:45:09.839Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T03:45:09.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T03:45:09.839Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-06T03:45:09.839Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-06T03:45:09.839Z] + 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-06T03:45:09.851Z] 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-06T03:45:10.130Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:45:10.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:45:10.685Z] . [Pipeline] withDockerContainer [2022-04-06T03:45:10.747Z] prd-ubuntu20.04-docker-8c-8g-10938 does not seem to be running inside a container [2022-04-06T03:45:10.785Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T03:45:10.996Z] $ docker top c7a7b04261bf162610cbb753d087fd79528457bf96cab4931d893cc1ae8cf022 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:45:11.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T03:45:11.626Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T03:45:11.914Z] + ls /var/log/sa-host [2022-04-06T03:45:11.914Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:45:12.127Z] provisioning config files... [2022-04-06T03:45:12.137Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2900672259295128584tmp [Pipeline] { [Pipeline] echo [2022-04-06T03:45:12.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:12.438Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T03:45:12.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:12.807Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T03:45:12.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:13.102Z] ---> sudo-logs.sh [2022-04-06T03:45:13.102Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T03:45:13.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:13.423Z] ---> job-cost.sh [2022-04-06T03:45:13.423Z] lf-activate-venv: SKIPPING [2022-04-06T03:45:13.423Z] DEBUG: total: 0.2199999988079071 [2022-04-06T03:45:13.423Z] INFO: Retrieving Stack Cost... [2022-04-06T03:45:13.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:45:14.255Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T03:45:14.268Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:45:14.554Z] ---> logs-deploy.sh [2022-04-06T03:45:14.554Z] lf-activate-venv: SKIPPING [2022-04-06T03:45:14.554Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/27 [2022-04-06T03:45:14.554Z] INFO: archiving workspace using pattern(s): [2022-04-06T03:45:15.496Z] Archives upload complete. [2022-04-06T03:45:15.496Z] INFO: archiving logs to Nexus