Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f4ca74df0424dae884c5f6599910fb97153f1e42 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-ssh1338223315851571955.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-ssh18276590226717934511.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-ssh9016980415500108251.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-ssh16035838715634920288.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-ssh14611389087796512952.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 Running on prd-ubuntu20.04-docker-8c-8g-19479 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 f4ca74df0424dae884c5f6599910fb97153f1e42 (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 f4ca74df0424dae884c5f6599910fb97153f1e42 # timeout=10 Commit message: "Merge pull request #327 from farshidtz/snap-appstream" > git rev-list --no-walk 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T10:18:17.767Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T10:18:17.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T10:18:17.831Z] ========================================================= [2022-04-11T10:18:17.831Z] EdgeX Global Pipelines Version Info [2022-04-11T10:18:17.831Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:18:18.594Z] ------------------- [2022-04-11T10:18:18.594Z] stable info: [2022-04-11T10:18:18.594Z] ------------------- [2022-04-11T10:18:18.594Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T10:18:18.594Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T10:18:18.594Z] Message: update stable to v1.0.221 [2022-04-11T10:18:19.167Z] ------------------- [2022-04-11T10:18:19.167Z] experimental info: [2022-04-11T10:18:19.167Z] ------------------- [2022-04-11T10:18:19.167Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T10:18:19.167Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T10:18:19.167Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T10:18:19.296Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-11T10:18:19.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-11T10:18:19.329Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T10:18:19.341Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T10:18:19.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T10:18:19.372Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T10:18:19.387Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T10:18:19.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T10:18:19.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T10:18:19.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T10:18:19.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T10:18:19.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-11T10:18:19.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T10:18:19.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T10:18:19.493Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T10:18:19.508Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T10:18:19.525Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T10:18:19.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T10:18:19.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T10:18:19.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-04-11T10:18:19.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T10:18:19.602Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T10:18:19.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T10:18:19.636Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T10:18:19.653Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T10:18:19.667Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T10:18:19.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-11T10:18:19.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-11T10:18:19.696Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-11T10:18:19.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo [2022-04-11T10:18:19.722Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4ca74d [Pipeline] echo [2022-04-11T10:18:19.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T10:18:19.781Z] provisioning config files... [2022-04-11T10:18:19.794Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5712932188847588855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:18:20.124Z] ---> docker-login.sh [2022-04-11T10:18:20.124Z] nexus3.edgexfoundry.org:10001 [2022-04-11T10:18:20.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:20.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:20.387Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:20.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:20.387Z] [2022-04-11T10:18:20.387Z] Login Succeeded [2022-04-11T10:18:20.387Z] nexus3.edgexfoundry.org:10002 [2022-04-11T10:18:20.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:20.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:20.647Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:20.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:20.647Z] [2022-04-11T10:18:20.647Z] Login Succeeded [2022-04-11T10:18:20.647Z] nexus3.edgexfoundry.org:10003 [2022-04-11T10:18:20.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:20.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:20.907Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:20.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:20.907Z] [2022-04-11T10:18:20.907Z] Login Succeeded [2022-04-11T10:18:20.907Z] nexus3.edgexfoundry.org:10004 [2022-04-11T10:18:20.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:20.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:20.907Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:20.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:20.907Z] [2022-04-11T10:18:20.907Z] Login Succeeded [2022-04-11T10:18:20.907Z] docker.io [2022-04-11T10:18:21.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:21.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:21.430Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:21.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:21.430Z] [2022-04-11T10:18:21.430Z] Login Succeeded [2022-04-11T10:18:21.430Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T10:18:21.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T10:18:21.825Z] + git rev-list -1 --merges f4ca74df0424dae884c5f6599910fb97153f1e42~1..f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo [2022-04-11T10:18:21.949Z] -----------> git rev-list -1 --merges f4ca74df0424dae884c5f6599910fb97153f1e42~1..f4ca74df0424dae884c5f6599910fb97153f1e42 f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:18:21.949Z] f4ca74df0424dae884c5f6599910fb97153f1e42 [false] [Pipeline] sh [2022-04-11T10:18:22.241Z] + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo [2022-04-11T10:18:22.255Z] ========================================================= [2022-04-11T10:18:22.255Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T10:18:22.255Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T10:18:22.610Z] + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo [2022-04-11T10:18:22.622Z] [semverPrep] GIT_COMMIT: f4ca74df0424dae884c5f6599910fb97153f1e42, Commit Message: Merge pull request #327 from farshidtz/snap-appstream [Pipeline] echo [2022-04-11T10:18:22.630Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T10:18:23.077Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T10:18:23.077Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T10:18:23.077Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T10:18:23.077Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T10:18:23.077Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T10:18:23.077Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T10:18:23.077Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:18:23.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:18:23.488Z] [2022-04-11T10:18:23.488Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:18:23.792Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:18:23.792Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T10:18:23.792Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T10:18:23.792Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T10:18:23.792Z] 4c7163046ea9: Pulling fs layer [2022-04-11T10:18:23.792Z] 0c2d73faf560: Pulling fs layer [2022-04-11T10:18:23.792Z] 0c2d73faf560: Waiting [2022-04-11T10:18:23.792Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T10:18:23.792Z] 3e5f54012d9b: Download complete [2022-04-11T10:18:23.792Z] a0d0a0d46f8b: Verifying Checksum [2022-04-11T10:18:23.792Z] a0d0a0d46f8b: Download complete [2022-04-11T10:18:23.792Z] 4c7163046ea9: Verifying Checksum [2022-04-11T10:18:23.792Z] 4c7163046ea9: Download complete [2022-04-11T10:18:23.792Z] 0c2d73faf560: Verifying Checksum [2022-04-11T10:18:23.792Z] 0c2d73faf560: Download complete [2022-04-11T10:18:24.054Z] a0d0a0d46f8b: Pull complete [2022-04-11T10:18:24.055Z] 3e5f54012d9b: Pull complete [2022-04-11T10:18:24.314Z] 4c7163046ea9: Pull complete [2022-04-11T10:18:24.574Z] 0c2d73faf560: Pull complete [2022-04-11T10:18:24.574Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T10:18:24.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:18:24.574Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T10:18:24.655Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:18:24.688Z] $ 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-11T10:18:25.359Z] $ docker top e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T10:18:25.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T10:18:25.476Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T10:18:25.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T10:18:25.618Z] $ docker exec e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent [2022-04-11T10:18:25.762Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfjhif/agent.13 [2022-04-11T10:18:25.762Z] SSH_AGENT_PID=19 [2022-04-11T10:18:25.772Z] Running ssh-add (command line suppressed) [2022-04-11T10:18:25.882Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4697114413665625733.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4697114413665625733.key) [2022-04-11T10:18:25.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T10:18:26.208Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T10:18:26.222Z] $ docker exec --env ******** --env ******** e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent -k [2022-04-11T10:18:26.361Z] unset SSH_AUTH_SOCK; [2022-04-11T10:18:26.362Z] unset SSH_AGENT_PID; [2022-04-11T10:18:26.362Z] echo Agent pid 19 killed; [2022-04-11T10:18:26.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T10:18:26.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T10:18:26.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T10:18:26.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T10:18:26.544Z] $ docker exec e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent [2022-04-11T10:18:26.692Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDKkFml/agent.52 [2022-04-11T10:18:26.692Z] SSH_AGENT_PID=59 [2022-04-11T10:18:26.699Z] Running ssh-add (command line suppressed) [2022-04-11T10:18:26.799Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_812581157005432142.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_812581157005432142.key) [2022-04-11T10:18:26.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T10:18:27.116Z] + git semver init [2022-04-11T10:18:27.116Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T10:18:27.116Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-11T10:18:27.116Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:18:27.116Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T10:18:27.116Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T10:18:27.116Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T10:18:27.116Z] # $SEMVER_BRANCH = main [2022-04-11T10:18:27.116Z] # $SEMVER_TEMP = /tmp/semver-621323507 [2022-04-11T10:18:27.116Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-11T10:18:28.061Z] # '/tmp/semver-621323507' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-11T10:18:28.061Z] # -> Force: false [2022-04-11T10:18:28.061Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-11T10:18:28.069Z] $ docker exec --env ******** --env ******** e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent -k [2022-04-11T10:18:28.183Z] unset SSH_AUTH_SOCK; [2022-04-11T10:18:28.183Z] unset SSH_AGENT_PID; [2022-04-11T10:18:28.183Z] echo Agent pid 59 killed; [2022-04-11T10:18:28.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T10:18:28.514Z] + git semver [Pipeline] } [2022-04-11T10:18:28.525Z] $ docker stop --time=1 e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 [2022-04-11T10:18:29.881Z] $ docker rm -f e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T10:18:30.256Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T10:18:30.501Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T10:18:30.505Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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-11T10:18:30.623Z] provisioning config files... [2022-04-11T10:18:30.635Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4392661734766911229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:18:30.943Z] ---> docker-login.sh [2022-04-11T10:18:30.943Z] nexus3.edgexfoundry.org:10001 [2022-04-11T10:18:30.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:30.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:30.943Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:30.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:30.943Z] [2022-04-11T10:18:30.943Z] Login Succeeded [2022-04-11T10:18:30.943Z] nexus3.edgexfoundry.org:10002 [2022-04-11T10:18:30.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:31.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:31.204Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:31.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:31.204Z] [2022-04-11T10:18:31.204Z] Login Succeeded [2022-04-11T10:18:31.204Z] nexus3.edgexfoundry.org:10003 [2022-04-11T10:18:31.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:31.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:31.204Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:31.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:31.204Z] [2022-04-11T10:18:31.204Z] Login Succeeded [2022-04-11T10:18:31.204Z] nexus3.edgexfoundry.org:10004 [2022-04-11T10:18:31.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:31.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:31.465Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:31.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:31.465Z] [2022-04-11T10:18:31.465Z] Login Succeeded [2022-04-11T10:18:31.465Z] docker.io [2022-04-11T10:18:31.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:18:31.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:18:31.727Z] Configure a credential helper to remove this warning. See [2022-04-11T10:18:31.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:18:31.727Z] [2022-04-11T10:18:31.727Z] Login Succeeded [2022-04-11T10:18:31.727Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T10:18:31.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T10:18:31.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T10:18:31.815Z] ========================================================= [2022-04-11T10:18:31.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T10:18:31.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:18:32.127Z] + 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-11T10:18:32.127Z] Sending build context to Docker daemon 5.777MB [2022-04-11T10:18:32.127Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T10:18:32.127Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-11T10:18:32.127Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T10:18:32.127Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T10:18:32.127Z] 666ba61612fd: Pulling fs layer [2022-04-11T10:18:32.127Z] 8ed8ca486205: Pulling fs layer [2022-04-11T10:18:32.127Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T10:18:32.127Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T10:18:32.127Z] 640e595b4fbd: Pulling fs layer [2022-04-11T10:18:32.127Z] 763cafe07f6e: Pulling fs layer [2022-04-11T10:18:32.127Z] 0c0b528cf693: Pulling fs layer [2022-04-11T10:18:32.127Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T10:18:32.127Z] 4fe6c5a15a65: Waiting [2022-04-11T10:18:32.127Z] 640e595b4fbd: Waiting [2022-04-11T10:18:32.127Z] 22a0e8bec74d: Waiting [2022-04-11T10:18:32.127Z] 763cafe07f6e: Waiting [2022-04-11T10:18:32.127Z] 0c0b528cf693: Waiting [2022-04-11T10:18:32.127Z] 10935f4eaf8b: Waiting [2022-04-11T10:18:32.127Z] 8ed8ca486205: Download complete [2022-04-11T10:18:32.127Z] 666ba61612fd: Verifying Checksum [2022-04-11T10:18:32.127Z] 666ba61612fd: Download complete [2022-04-11T10:18:32.127Z] 22a0e8bec74d: Verifying Checksum [2022-04-11T10:18:32.127Z] 22a0e8bec74d: Download complete [2022-04-11T10:18:32.389Z] 640e595b4fbd: Download complete [2022-04-11T10:18:32.389Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T10:18:32.389Z] 59bf1c3509f3: Download complete [2022-04-11T10:18:32.389Z] 763cafe07f6e: Verifying Checksum [2022-04-11T10:18:32.389Z] 763cafe07f6e: Download complete [2022-04-11T10:18:32.389Z] 0c0b528cf693: Verifying Checksum [2022-04-11T10:18:32.389Z] 0c0b528cf693: Download complete [2022-04-11T10:18:32.389Z] 59bf1c3509f3: Pull complete [2022-04-11T10:18:32.650Z] 666ba61612fd: Pull complete [2022-04-11T10:18:32.650Z] 8ed8ca486205: Pull complete [2022-04-11T10:18:32.911Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T10:18:32.911Z] 10935f4eaf8b: Download complete [2022-04-11T10:18:32.911Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T10:18:32.911Z] 4fe6c5a15a65: Download complete [2022-04-11T10:18:37.121Z] 4fe6c5a15a65: Pull complete [2022-04-11T10:18:37.121Z] 22a0e8bec74d: Pull complete [2022-04-11T10:18:37.121Z] 640e595b4fbd: Pull complete [2022-04-11T10:18:37.121Z] 763cafe07f6e: Pull complete [2022-04-11T10:18:37.121Z] 0c0b528cf693: Pull complete [2022-04-11T10:18:39.664Z] 10935f4eaf8b: Pull complete [2022-04-11T10:18:39.664Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T10:18:39.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T10:18:39.664Z] ---> 99d49a6021b9 [2022-04-11T10:18:39.664Z] Step 3/10 : ARG MAKE='make build' [2022-04-11T10:18:40.612Z] ---> Running in f702173e35dd [2022-04-11T10:18:40.612Z] Removing intermediate container f702173e35dd [2022-04-11T10:18:40.612Z] ---> bccf0bc7daa7 [2022-04-11T10:18:40.612Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:18:40.874Z] ---> Running in 7225f7da3624 [2022-04-11T10:18:41.446Z] Removing intermediate container 7225f7da3624 [2022-04-11T10:18:41.446Z] ---> aa566ab3b0ae [2022-04-11T10:18:41.446Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T10:18:41.446Z] ---> Running in bf7a7a67b6f9 [2022-04-11T10:18:41.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T10:18:42.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T10:18:42.916Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T10:18:42.916Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-11T10:18:43.177Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T10:18:43.177Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T10:18:43.453Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-11T10:18:43.453Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-11T10:18:43.453Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-11T10:18:43.715Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-11T10:18:43.715Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T10:18:43.715Z] OK: 226 MiB in 60 packages [2022-04-11T10:18:43.975Z] Removing intermediate container bf7a7a67b6f9 [2022-04-11T10:18:43.975Z] ---> 5f3aaa1b6165 [2022-04-11T10:18:43.975Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-11T10:18:44.236Z] ---> Running in 5c6c8fe24b40 [2022-04-11T10:18:44.236Z] Removing intermediate container 5c6c8fe24b40 [2022-04-11T10:18:44.236Z] ---> d0bff52f4ab3 [2022-04-11T10:18:44.236Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-11T10:18:44.496Z] ---> 6e858cc9d73f [2022-04-11T10:18:44.496Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T10:18:44.496Z] ---> Running in 0eb54b6f7b30 [2022-04-11T10:18:45.591Z] Still waiting to schedule task [2022-04-11T10:18:45.592Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-11T10:19:02.619Z] Removing intermediate container 0eb54b6f7b30 [2022-04-11T10:19:02.619Z] ---> 5d87486daa90 [2022-04-11T10:19:02.619Z] Step 9/10 : COPY . . [2022-04-11T10:19:02.619Z] ---> 0935dac6c8a4 [2022-04-11T10:19:02.619Z] Step 10/10 : RUN ${MAKE} [2022-04-11T10:19:02.619Z] ---> Running in e9bb52a703a9 [2022-04-11T10:19:02.619Z] noop [2022-04-11T10:19:02.619Z] Removing intermediate container e9bb52a703a9 [2022-04-11T10:19:02.619Z] ---> c7d6730126b1 [2022-04-11T10:19:02.619Z] Successfully built c7d6730126b1 [2022-04-11T10:19:02.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:19:02.923Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T10:19:02.923Z] . [Pipeline] withDockerContainer [2022-04-11T10:19:02.998Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:19:03.037Z] $ 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-11T10:19:03.437Z] $ docker top 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T10:19:03.800Z] + go version [2022-04-11T10:19:03.800Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T10:19:03.816Z] $ docker stop --time=1 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c [2022-04-11T10:19:05.079Z] $ docker rm -f 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:19:05.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T10:19:05.529Z] . [Pipeline] withDockerContainer [2022-04-11T10:19:05.602Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:19:05.642Z] $ 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-11T10:19:06.267Z] $ docker top 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T10:19:06.642Z] + make test [2022-04-11T10:19:06.642Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T10:19:06.902Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-11T10:19:17.002Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-11T10:19:17.002Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 46.4% of statements [2022-04-11T10:19:23.606Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T10:19:27.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T10:19:27.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T10:19:27.809Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T10:19:27.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T10:19:27.837Z] $ docker stop --time=1 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 [2022-04-11T10:19:29.483Z] $ docker rm -f 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T10:19:29.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T10:19:29.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T10:19:30.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T10:19:31.271Z] + ls -al . [2022-04-11T10:19:31.271Z] total 180 [2022-04-11T10:19:31.271Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 10:19 . [2022-04-11T10:19:31.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 .. [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 10:18 .dockerignore [2022-04-11T10:19:31.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:18 .git [2022-04-11T10:19:31.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 .github [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 11 10:18 .gitignore [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 10:18 .golangci.yml [2022-04-11T10:19:31.271Z] drwx------ 3 jenkins jenkins 4096 Apr 11 10:18 .semver [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 11 10:18 Attribution.txt [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 11 10:18 CHANGELOG.md [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 11 10:18 Dockerfile [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 10:18 GOVERNANCE.md [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 11 10:18 Jenkinsfile [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:18 LICENSE [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 11 10:18 Makefile [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 11 10:18 OWNERS.md [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 11 10:18 README.md [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 10:18 VERSION [2022-04-11T10:19:31.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 bin [2022-04-11T10:19:31.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 cmd [2022-04-11T10:19:31.271Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 11 10:19 coverage.out [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 11 10:18 go.mod [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 11 10:18 go.sum [2022-04-11T10:19:31.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 internal [2022-04-11T10:19:31.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 simulator [2022-04-11T10:19:31.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 snap [2022-04-11T10:19:31.271Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 11 10:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:19:31.569Z] + 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=f4ca74df0424dae884c5f6599910fb97153f1e42 --label arch=amd64 --label version=2.2.0-dev.11 . [2022-04-11T10:19:31.569Z] Sending build context to Docker daemon 5.802MB [2022-04-11T10:19:31.569Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T10:19:31.569Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-11T10:19:31.569Z] ---> c7d6730126b1 [2022-04-11T10:19:31.569Z] Step 3/23 : ARG MAKE='make build' [2022-04-11T10:19:31.569Z] ---> Running in 44e51cd1ecab [2022-04-11T10:19:31.829Z] Removing intermediate container 44e51cd1ecab [2022-04-11T10:19:31.829Z] ---> 8fc0b638ec05 [2022-04-11T10:19:31.829Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:19:31.829Z] ---> Running in ecd2234c4d8f [2022-04-11T10:19:32.401Z] Removing intermediate container ecd2234c4d8f [2022-04-11T10:19:32.401Z] ---> 7d0af8d2e5e6 [2022-04-11T10:19:32.401Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T10:19:32.401Z] ---> Running in edf587c270f9 [2022-04-11T10:19:32.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T10:19:33.604Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T10:19:33.864Z] OK: 226 MiB in 60 packages [2022-04-11T10:19:34.126Z] Removing intermediate container edf587c270f9 [2022-04-11T10:19:34.126Z] ---> bc2c82e8003b [2022-04-11T10:19:34.126Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-11T10:19:34.126Z] ---> Running in 5c9471a532bb [2022-04-11T10:19:34.126Z] Removing intermediate container 5c9471a532bb [2022-04-11T10:19:34.126Z] ---> ed030d36e1ae [2022-04-11T10:19:34.126Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-11T10:19:34.386Z] ---> 713979303ce8 [2022-04-11T10:19:34.386Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T10:19:34.386Z] ---> Running in 20a04056fefc [2022-04-11T10:19:34.956Z] Removing intermediate container 20a04056fefc [2022-04-11T10:19:34.956Z] ---> 6ab384ea450f [2022-04-11T10:19:34.956Z] Step 9/23 : COPY . . [2022-04-11T10:19:35.216Z] ---> 28aab4707bfc [2022-04-11T10:19:35.216Z] Step 10/23 : RUN ${MAKE} [2022-04-11T10:19:35.477Z] ---> Running in 0ed826db034f [2022-04-11T10:19:35.736Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-11T10:19:53.851Z] Removing intermediate container 0ed826db034f [2022-04-11T10:19:53.851Z] ---> 3701acc1d645 [2022-04-11T10:19:53.851Z] Step 11/23 : FROM alpine:3.14 [2022-04-11T10:19:54.422Z] 3.14: Pulling from library/alpine [2022-04-11T10:19:54.422Z] 8663204ce13b: Pulling fs layer [2022-04-11T10:19:54.682Z] 8663204ce13b: Verifying Checksum [2022-04-11T10:19:54.682Z] 8663204ce13b: Download complete [2022-04-11T10:19:54.682Z] 8663204ce13b: Pull complete [2022-04-11T10:19:54.941Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T10:19:54.941Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T10:19:54.941Z] ---> e04c818066af [2022-04-11T10:19:54.941Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-11T10:19:54.941Z] ---> Running in a76fee84ad9f [2022-04-11T10:19:54.941Z] Removing intermediate container a76fee84ad9f [2022-04-11T10:19:54.941Z] ---> a1776d437f50 [2022-04-11T10:19:54.941Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:19:54.941Z] ---> Running in 6cf4b89c198f [2022-04-11T10:19:55.510Z] Removing intermediate container 6cf4b89c198f [2022-04-11T10:19:55.510Z] ---> bd14c7d9b847 [2022-04-11T10:19:55.510Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T10:19:55.510Z] ---> Running in 334e474ac9f7 [2022-04-11T10:19:55.770Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T10:19:56.712Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T10:19:56.973Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T10:19:56.973Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T10:19:57.235Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T10:19:57.235Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T10:19:57.235Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T10:19:57.496Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T10:19:57.496Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T10:19:57.496Z] OK: 8 MiB in 20 packages [2022-04-11T10:19:57.759Z] Removing intermediate container 334e474ac9f7 [2022-04-11T10:19:57.759Z] ---> c43ac9c9076b [2022-04-11T10:19:57.759Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-11T10:19:58.330Z] ---> d1177056726d [2022-04-11T10:19:58.330Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-11T10:19:58.593Z] ---> a0216c70fc3b [2022-04-11T10:19:58.593Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-11T10:19:58.593Z] ---> ca05b979e134 [2022-04-11T10:19:58.593Z] Step 18/23 : EXPOSE 59901 [2022-04-11T10:19:58.593Z] ---> Running in 6e63d6489fb1 [2022-04-11T10:19:58.854Z] Removing intermediate container 6e63d6489fb1 [2022-04-11T10:19:58.854Z] ---> b33f1d2a1f50 [2022-04-11T10:19:58.854Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-11T10:19:58.854Z] ---> Running in d7a8e4a2838b [2022-04-11T10:19:58.854Z] Removing intermediate container d7a8e4a2838b [2022-04-11T10:19:58.854Z] ---> 688cf6c2ef81 [2022-04-11T10:19:58.854Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T10:19:58.854Z] ---> Running in fa793c6e866c [2022-04-11T10:19:59.114Z] Removing intermediate container fa793c6e866c [2022-04-11T10:19:59.114Z] ---> 14946d492cad [2022-04-11T10:19:59.114Z] Step 21/23 : LABEL arch=amd64 [2022-04-11T10:19:59.114Z] ---> Running in 156e5f2243d7 [2022-04-11T10:19:59.114Z] Removing intermediate container 156e5f2243d7 [2022-04-11T10:19:59.114Z] ---> facd7239012b [2022-04-11T10:19:59.114Z] Step 22/23 : LABEL git_sha=f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:19:59.114Z] ---> Running in 8a799aa26900 [2022-04-11T10:19:59.114Z] Removing intermediate container 8a799aa26900 [2022-04-11T10:19:59.114Z] ---> d9b62a535174 [2022-04-11T10:19:59.114Z] Step 23/23 : LABEL version=2.2.0-dev.11 [2022-04-11T10:19:59.375Z] ---> Running in 735ce24ede9c [2022-04-11T10:19:59.375Z] Removing intermediate container 735ce24ede9c [2022-04-11T10:19:59.375Z] ---> 6d7c95e6064b [2022-04-11T10:19:59.375Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T10:19:59.375Z] Successfully built 6d7c95e6064b [2022-04-11T10:19:59.375Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T10:19:59.475Z] provisioning config files... [2022-04-11T10:19:59.485Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3144526847936572573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:19:59.783Z] ---> docker-login.sh [2022-04-11T10:19:59.783Z] nexus3.edgexfoundry.org:10001 [2022-04-11T10:19:59.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:19:59.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:19:59.783Z] Configure a credential helper to remove this warning. See [2022-04-11T10:19:59.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:19:59.783Z] [2022-04-11T10:19:59.783Z] Login Succeeded [2022-04-11T10:19:59.783Z] nexus3.edgexfoundry.org:10002 [2022-04-11T10:19:59.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:00.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:00.044Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:00.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:00.044Z] [2022-04-11T10:20:00.044Z] Login Succeeded [2022-04-11T10:20:00.044Z] nexus3.edgexfoundry.org:10003 [2022-04-11T10:20:00.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:00.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:00.044Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:00.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:00.044Z] [2022-04-11T10:20:00.044Z] Login Succeeded [2022-04-11T10:20:00.044Z] nexus3.edgexfoundry.org:10004 [2022-04-11T10:20:00.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:00.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:00.306Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:00.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:00.306Z] [2022-04-11T10:20:00.306Z] Login Succeeded [2022-04-11T10:20:00.306Z] docker.io [2022-04-11T10:20:00.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:00.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:00.877Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:00.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:00.877Z] [2022-04-11T10:20:00.877Z] Login Succeeded [2022-04-11T10:20:00.877Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T10:20:00.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T10:20:00.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T10:20:00.947Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-11T10:20:00.947Z] f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:20:00.947Z] latest [2022-04-11T10:20:00.947Z] 2.2.0-dev.11 [2022-04-11T10:20:00.947Z] f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:20:00.947Z] main [2022-04-11T10:20:00.947Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:01.268Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:01.567Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:20:01.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-11T10:20:01.567Z] 8beb3d337ea3: Preparing [2022-04-11T10:20:01.567Z] 3c517be0bd9f: Preparing [2022-04-11T10:20:01.567Z] 29569c66481a: Preparing [2022-04-11T10:20:01.567Z] 44d5f6accad3: Preparing [2022-04-11T10:20:01.567Z] d740bdc0d33d: Preparing [2022-04-11T10:20:01.567Z] b541d28bf3b4: Preparing [2022-04-11T10:20:01.567Z] b541d28bf3b4: Waiting [2022-04-11T10:20:01.567Z] 8beb3d337ea3: Pushed [2022-04-11T10:20:01.567Z] d740bdc0d33d: Pushed [2022-04-11T10:20:01.567Z] 3c517be0bd9f: Pushed [2022-04-11T10:20:01.567Z] b541d28bf3b4: Layer already exists [2022-04-11T10:20:01.828Z] 44d5f6accad3: Pushed [2022-04-11T10:20:04.373Z] 29569c66481a: Pushed [2022-04-11T10:20:04.373Z] f4ca74df0424dae884c5f6599910fb97153f1e42: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:04.675Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:04.969Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-11T10:20:04.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-11T10:20:04.969Z] 8beb3d337ea3: Preparing [2022-04-11T10:20:04.969Z] 3c517be0bd9f: Preparing [2022-04-11T10:20:04.969Z] 29569c66481a: Preparing [2022-04-11T10:20:04.969Z] 44d5f6accad3: Preparing [2022-04-11T10:20:04.969Z] d740bdc0d33d: Preparing [2022-04-11T10:20:04.969Z] b541d28bf3b4: Preparing [2022-04-11T10:20:04.969Z] b541d28bf3b4: Waiting [2022-04-11T10:20:04.969Z] 3c517be0bd9f: Layer already exists [2022-04-11T10:20:04.969Z] 44d5f6accad3: Layer already exists [2022-04-11T10:20:04.969Z] 29569c66481a: Layer already exists [2022-04-11T10:20:04.969Z] d740bdc0d33d: Layer already exists [2022-04-11T10:20:04.969Z] 8beb3d337ea3: Layer already exists [2022-04-11T10:20:04.969Z] b541d28bf3b4: Layer already exists [2022-04-11T10:20:04.969Z] latest: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:05.268Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:05.566Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 [2022-04-11T10:20:05.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-11T10:20:05.566Z] 8beb3d337ea3: Preparing [2022-04-11T10:20:05.566Z] 3c517be0bd9f: Preparing [2022-04-11T10:20:05.566Z] 29569c66481a: Preparing [2022-04-11T10:20:05.566Z] 44d5f6accad3: Preparing [2022-04-11T10:20:05.566Z] d740bdc0d33d: Preparing [2022-04-11T10:20:05.566Z] b541d28bf3b4: Preparing [2022-04-11T10:20:05.566Z] 3c517be0bd9f: Layer already exists [2022-04-11T10:20:05.566Z] 8beb3d337ea3: Layer already exists [2022-04-11T10:20:05.566Z] 44d5f6accad3: Layer already exists [2022-04-11T10:20:05.566Z] d740bdc0d33d: Layer already exists [2022-04-11T10:20:05.566Z] 29569c66481a: Layer already exists [2022-04-11T10:20:05.566Z] b541d28bf3b4: Layer already exists [2022-04-11T10:20:05.566Z] 2.2.0-dev.11: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:05.867Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:06.160Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:20:06.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-11T10:20:06.160Z] 8beb3d337ea3: Preparing [2022-04-11T10:20:06.160Z] 3c517be0bd9f: Preparing [2022-04-11T10:20:06.160Z] 29569c66481a: Preparing [2022-04-11T10:20:06.160Z] 44d5f6accad3: Preparing [2022-04-11T10:20:06.160Z] d740bdc0d33d: Preparing [2022-04-11T10:20:06.160Z] b541d28bf3b4: Preparing [2022-04-11T10:20:06.160Z] b541d28bf3b4: Waiting [2022-04-11T10:20:06.160Z] 29569c66481a: Layer already exists [2022-04-11T10:20:06.160Z] 8beb3d337ea3: Layer already exists [2022-04-11T10:20:06.160Z] 3c517be0bd9f: Layer already exists [2022-04-11T10:20:06.160Z] d740bdc0d33d: Layer already exists [2022-04-11T10:20:06.160Z] 44d5f6accad3: Layer already exists [2022-04-11T10:20:06.160Z] b541d28bf3b4: Layer already exists [2022-04-11T10:20:06.160Z] f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:06.463Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:06.757Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-11T10:20:06.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-11T10:20:06.757Z] 8beb3d337ea3: Preparing [2022-04-11T10:20:06.757Z] 3c517be0bd9f: Preparing [2022-04-11T10:20:06.757Z] 29569c66481a: Preparing [2022-04-11T10:20:06.757Z] 44d5f6accad3: Preparing [2022-04-11T10:20:06.757Z] d740bdc0d33d: Preparing [2022-04-11T10:20:06.757Z] b541d28bf3b4: Preparing [2022-04-11T10:20:06.757Z] b541d28bf3b4: Waiting [2022-04-11T10:20:06.757Z] 29569c66481a: Layer already exists [2022-04-11T10:20:06.757Z] 8beb3d337ea3: Layer already exists [2022-04-11T10:20:06.757Z] d740bdc0d33d: Layer already exists [2022-04-11T10:20:06.757Z] 44d5f6accad3: Layer already exists [2022-04-11T10:20:06.757Z] 3c517be0bd9f: Layer already exists [2022-04-11T10:20:06.757Z] b541d28bf3b4: Layer already exists [2022-04-11T10:20:06.757Z] main: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T10:20:06.796Z] ===================================================== [Pipeline] echo [2022-04-11T10:20:06.809Z] taggedImages: [2022-04-11T10:20:06.809Z] - nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:20:06.809Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-11T10:20:06.809Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 [2022-04-11T10:20:06.809Z] - nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:20:06.809Z] - 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-11T10:20:07.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T10:20:07.218Z] [2022-04-11T10:20:07.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:07.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T10:20:07.521Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T10:20:07.521Z] 5eb5b503b376: Pulling fs layer [2022-04-11T10:20:07.521Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T10:20:07.521Z] ec43610c2a17: Pulling fs layer [2022-04-11T10:20:07.521Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T10:20:07.521Z] 33b1e0a273af: Pulling fs layer [2022-04-11T10:20:07.521Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T10:20:07.521Z] 2f39f015ded8: Pulling fs layer [2022-04-11T10:20:07.521Z] 33b1e0a273af: Waiting [2022-04-11T10:20:07.521Z] 5d3b04190fa2: Waiting [2022-04-11T10:20:07.521Z] 2f39f015ded8: Waiting [2022-04-11T10:20:07.521Z] 3a2ae6a8a46f: Waiting [2022-04-11T10:20:07.521Z] 5c69ac0246d0: Download complete [2022-04-11T10:20:07.521Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T10:20:07.521Z] 3a2ae6a8a46f: Download complete [2022-04-11T10:20:07.521Z] ec43610c2a17: Verifying Checksum [2022-04-11T10:20:07.521Z] ec43610c2a17: Download complete [2022-04-11T10:20:07.521Z] 33b1e0a273af: Verifying Checksum [2022-04-11T10:20:07.521Z] 33b1e0a273af: Download complete [2022-04-11T10:20:07.779Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T10:20:07.779Z] 5d3b04190fa2: Download complete [2022-04-11T10:20:07.779Z] 5eb5b503b376: Verifying Checksum [2022-04-11T10:20:07.779Z] 5eb5b503b376: Download complete [2022-04-11T10:20:08.348Z] 2f39f015ded8: Download complete [2022-04-11T10:20:08.917Z] 5eb5b503b376: Pull complete [2022-04-11T10:20:08.917Z] 5c69ac0246d0: Pull complete [2022-04-11T10:20:09.484Z] ec43610c2a17: Pull complete [2022-04-11T10:20:09.484Z] 3a2ae6a8a46f: Pull complete [2022-04-11T10:20:09.744Z] 33b1e0a273af: Pull complete [2022-04-11T10:20:09.744Z] 5d3b04190fa2: Pull complete [2022-04-11T10:20:14.015Z] 2f39f015ded8: Pull complete [2022-04-11T10:20:14.015Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T10:20:14.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T10:20:14.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T10:20:14.083Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:20:14.120Z] $ 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-11T10:20:15.512Z] $ docker top 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:20:15.935Z] ---> job-cost.sh [2022-04-11T10:20:15.935Z] lf-activate-venv: SKIPPING [2022-04-11T10:20:15.935Z] INFO: No Stack... [2022-04-11T10:20:16.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T10:20:16.765Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T10:20:17.057Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-11T10:20:17.057Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T10:20:17.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [2022-04-11T10:20:17.080Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] did not exist. Created. [2022-04-11T10:20:17.080Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T10:20:17.381Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T10:20:17.407Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T10:20:17.414Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T10:20:17.438Z] $ docker stop --time=1 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 [2022-04-11T10:20:18.598Z] $ docker rm -f 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T10:20:20.308Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19480 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-11T10:20:20.318Z] Running in /w/workspace/device-modbus-go/29 [Pipeline] { [Pipeline] checkout [2022-04-11T10:20:20.684Z] Selected Git installation does not exist. Using Default [2022-04-11T10:20:20.684Z] The recommended git tool is: NONE [2022-04-11T10:20:27.798Z] using credential edgex-jenkins-ssh [2022-04-11T10:20:27.817Z] Cloning the remote Git repository [2022-04-11T10:20:27.897Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-11T10:20:27.975Z] > git init /w/workspace/device-modbus-go/29 # timeout=10 [2022-04-11T10:20:28.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-11T10:20:28.070Z] > git --version # timeout=10 [2022-04-11T10:20:28.127Z] > git --version # 'git version 2.25.1' [2022-04-11T10:20:28.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T10:20:28.222Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T10:20:29.419Z] Avoid second fetch [2022-04-11T10:20:29.419Z] Checking out Revision f4ca74df0424dae884c5f6599910fb97153f1e42 (main) [2022-04-11T10:20:29.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-11T10:20:29.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T10:20:29.473Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T10:20:29.575Z] > git checkout -f f4ca74df0424dae884c5f6599910fb97153f1e42 # timeout=10 [2022-04-11T10:20:34.358Z] Commit message: "Merge pull request #327 from farshidtz/snap-appstream" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T10:20:35.381Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T10:20:35.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T10:20:35.381Z] Dload Upload Total Spent Left Speed [2022-04-11T10:20:35.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 44026 [Pipeline] sh [2022-04-11T10:20:35.940Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T10:20:36.288Z] + sudo tee /etc/docker/daemon.new [2022-04-11T10:20:36.288Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T10:20:36.288Z] { [2022-04-11T10:20:36.288Z] "registry-mirrors": [ [2022-04-11T10:20:36.288Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T10:20:36.288Z] ], [2022-04-11T10:20:36.288Z] "bip": "10.250.0.254/24", [2022-04-11T10:20:36.288Z] "hosts": [ [2022-04-11T10:20:36.288Z] "tcp://0.0.0.0:5555", [2022-04-11T10:20:36.288Z] "unix:///var/run/docker.sock" [2022-04-11T10:20:36.288Z] ], [2022-04-11T10:20:36.288Z] "mtu": 1458, [2022-04-11T10:20:36.288Z] "selinux-enabled": true, [2022-04-11T10:20:36.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T10:20:36.288Z] } [Pipeline] sh [2022-04-11T10:20:36.635Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T10:20:36.975Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T10:20:55.310Z] provisioning config files... [2022-04-11T10:20:55.334Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/29@tmp/config8354447901839799137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:20:55.698Z] ---> docker-login.sh [2022-04-11T10:20:55.698Z] nexus3.edgexfoundry.org:10001 [2022-04-11T10:20:56.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:56.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:56.570Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:56.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:56.570Z] [2022-04-11T10:20:56.570Z] Login Succeeded [2022-04-11T10:20:56.570Z] nexus3.edgexfoundry.org:10002 [2022-04-11T10:20:56.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:56.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:56.848Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:56.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:56.848Z] [2022-04-11T10:20:56.848Z] Login Succeeded [2022-04-11T10:20:56.848Z] nexus3.edgexfoundry.org:10003 [2022-04-11T10:20:57.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:57.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:57.445Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:57.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:57.445Z] [2022-04-11T10:20:57.445Z] Login Succeeded [2022-04-11T10:20:57.445Z] nexus3.edgexfoundry.org:10004 [2022-04-11T10:20:57.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:57.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:57.725Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:57.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:57.725Z] [2022-04-11T10:20:57.725Z] Login Succeeded [2022-04-11T10:20:57.725Z] docker.io [2022-04-11T10:20:58.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:20:58.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:20:58.653Z] Configure a credential helper to remove this warning. See [2022-04-11T10:20:58.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:20:58.653Z] [2022-04-11T10:20:58.653Z] Login Succeeded [2022-04-11T10:20:58.653Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T10:20:58.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T10:20:59.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T10:20:59.189Z] ========================================================= [2022-04-11T10:20:59.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T10:20:59.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:20:59.556Z] + 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-11T10:20:59.830Z] Sending build context to Docker daemon 3.031MB [2022-04-11T10:20:59.830Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T10:20:59.830Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-11T10:21:00.104Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T10:21:00.104Z] 9b3977197b4f: Pulling fs layer [2022-04-11T10:21:00.104Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T10:21:00.104Z] 94645a83ff95: Pulling fs layer [2022-04-11T10:21:00.104Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T10:21:00.104Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T10:21:00.104Z] f7c0051592d6: Pulling fs layer [2022-04-11T10:21:00.104Z] a227ed2f7395: Pulling fs layer [2022-04-11T10:21:00.104Z] 7b1c46037f91: Pulling fs layer [2022-04-11T10:21:00.104Z] 3f3a8bcf1eab: Waiting [2022-04-11T10:21:00.104Z] 0c92f367c5e7: Waiting [2022-04-11T10:21:00.104Z] f7c0051592d6: Waiting [2022-04-11T10:21:00.104Z] a227ed2f7395: Waiting [2022-04-11T10:21:00.104Z] 7b1c46037f91: Waiting [2022-04-11T10:21:00.104Z] 94645a83ff95: Download complete [2022-04-11T10:21:00.104Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T10:21:00.104Z] 1a89e8eeedd5: Download complete [2022-04-11T10:21:00.104Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T10:21:00.104Z] 0c92f367c5e7: Download complete [2022-04-11T10:21:00.104Z] f7c0051592d6: Verifying Checksum [2022-04-11T10:21:00.104Z] f7c0051592d6: Download complete [2022-04-11T10:21:00.104Z] 9b3977197b4f: Download complete [2022-04-11T10:21:00.104Z] a227ed2f7395: Verifying Checksum [2022-04-11T10:21:00.104Z] a227ed2f7395: Download complete [2022-04-11T10:21:00.706Z] 9b3977197b4f: Pull complete [2022-04-11T10:21:01.315Z] 1a89e8eeedd5: Pull complete [2022-04-11T10:21:01.603Z] 94645a83ff95: Pull complete [2022-04-11T10:21:02.198Z] 7b1c46037f91: Verifying Checksum [2022-04-11T10:21:02.198Z] 7b1c46037f91: Download complete [2022-04-11T10:21:02.794Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T10:21:02.794Z] 3f3a8bcf1eab: Download complete [2022-04-11T10:21:15.216Z] 3f3a8bcf1eab: Pull complete [2022-04-11T10:21:15.216Z] 0c92f367c5e7: Pull complete [2022-04-11T10:21:15.216Z] f7c0051592d6: Pull complete [2022-04-11T10:21:15.216Z] a227ed2f7395: Pull complete [2022-04-11T10:21:21.958Z] 7b1c46037f91: Pull complete [2022-04-11T10:21:21.958Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T10:21:21.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T10:21:21.958Z] ---> f79e39bc4007 [2022-04-11T10:21:21.958Z] Step 3/10 : ARG MAKE='make build' [2022-04-11T10:21:22.563Z] ---> Running in 32f3c0c31876 [2022-04-11T10:21:22.838Z] Removing intermediate container 32f3c0c31876 [2022-04-11T10:21:22.838Z] ---> 6901391374de [2022-04-11T10:21:22.838Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:21:22.838Z] ---> Running in 4f873061d3e7 [2022-04-11T10:21:24.826Z] Removing intermediate container 4f873061d3e7 [2022-04-11T10:21:24.826Z] ---> bdb9232080ff [2022-04-11T10:21:24.826Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T10:21:24.826Z] ---> Running in 6c539c65633c [2022-04-11T10:21:25.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T10:21:26.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T10:21:27.373Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T10:21:27.643Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-11T10:21:27.643Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T10:21:27.916Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T10:21:27.916Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-11T10:21:27.916Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-11T10:21:28.188Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-11T10:21:28.188Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-11T10:21:28.188Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T10:21:28.460Z] OK: 226 MiB in 60 packages [2022-04-11T10:21:29.440Z] Removing intermediate container 6c539c65633c [2022-04-11T10:21:29.440Z] ---> 995947b1a535 [2022-04-11T10:21:29.440Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-11T10:21:29.440Z] ---> Running in ef35b127ee7b [2022-04-11T10:21:29.717Z] Removing intermediate container ef35b127ee7b [2022-04-11T10:21:29.717Z] ---> d816da0dc192 [2022-04-11T10:21:29.717Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-11T10:21:30.321Z] ---> 808c56c00623 [2022-04-11T10:21:30.321Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T10:21:30.321Z] ---> Running in b81b581a4543 [2022-04-11T10:22:17.359Z] Removing intermediate container b81b581a4543 [2022-04-11T10:22:17.359Z] ---> 3f4004fbde6c [2022-04-11T10:22:17.359Z] Step 9/10 : COPY . . [2022-04-11T10:22:17.359Z] ---> 8a657e6f14d7 [2022-04-11T10:22:17.359Z] Step 10/10 : RUN ${MAKE} [2022-04-11T10:22:17.359Z] ---> Running in 2ac7cd43c95e [2022-04-11T10:22:17.359Z] noop [2022-04-11T10:22:17.359Z] Removing intermediate container 2ac7cd43c95e [2022-04-11T10:22:17.359Z] ---> 87f1507bf80d [2022-04-11T10:22:17.359Z] Successfully built 87f1507bf80d [2022-04-11T10:22:17.359Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:22:17.709Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T10:22:17.710Z] . [Pipeline] withDockerContainer [2022-04-11T10:22:17.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container [2022-04-11T10:22:18.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T10:22:19.304Z] $ docker top 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T10:22:20.219Z] + go version [2022-04-11T10:22:20.219Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T10:22:20.250Z] $ docker stop --time=1 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f [2022-04-11T10:22:21.866Z] $ docker rm -f 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:22:22.477Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T10:22:22.477Z] . [Pipeline] withDockerContainer [2022-04-11T10:22:22.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container [2022-04-11T10:22:22.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T10:22:24.079Z] $ docker top 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T10:22:24.994Z] + make test [2022-04-11T10:22:24.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T10:22:26.433Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-11T10:23:48.291Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-11T10:23:48.291Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.103s coverage: 46.4% of statements [2022-04-11T10:23:48.291Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T10:23:48.291Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T10:24:06.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T10:24:06.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T10:24:06.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T10:24:08.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T10:24:08.690Z] $ docker stop --time=1 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 [2022-04-11T10:24:10.477Z] $ docker rm -f 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T10:24:11.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T10:24:11.460Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T10:24:11.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T10:24:12.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T10:24:12.655Z] + ls -al . [2022-04-11T10:24:12.655Z] total 176 [2022-04-11T10:24:12.655Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 10:24 . [2022-04-11T10:24:12.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:20 .. [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 10:20 .dockerignore [2022-04-11T10:24:12.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:20 .git [2022-04-11T10:24:12.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 .github [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 11 10:20 .gitignore [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 10:20 .golangci.yml [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 11 10:20 Attribution.txt [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 11 10:20 CHANGELOG.md [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 11 10:20 Dockerfile [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 10:20 GOVERNANCE.md [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 11 10:20 Jenkinsfile [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:20 LICENSE [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 11 10:20 Makefile [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 11 10:20 OWNERS.md [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 11 10:20 README.md [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 10:18 VERSION [2022-04-11T10:24:12.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 bin [2022-04-11T10:24:12.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:20 cmd [2022-04-11T10:24:12.655Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 11 10:23 coverage.out [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 11 10:20 go.mod [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 34903 Apr 11 10:20 go.sum [2022-04-11T10:24:12.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:20 internal [2022-04-11T10:24:12.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 simulator [2022-04-11T10:24:12.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:20 snap [2022-04-11T10:24:12.655Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 11 10:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:24:13.004Z] + 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=f4ca74df0424dae884c5f6599910fb97153f1e42 --label arch=arm64 --label version=2.2.0-dev.11 . [2022-04-11T10:24:13.276Z] Sending build context to Docker daemon 3.056MB [2022-04-11T10:24:13.276Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T10:24:13.276Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-11T10:24:13.276Z] ---> 87f1507bf80d [2022-04-11T10:24:13.276Z] Step 3/23 : ARG MAKE='make build' [2022-04-11T10:24:13.550Z] ---> Running in 8af41e00fc1e [2022-04-11T10:24:13.826Z] Removing intermediate container 8af41e00fc1e [2022-04-11T10:24:13.826Z] ---> 021785ca5956 [2022-04-11T10:24:13.826Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:24:13.826Z] ---> Running in 58908cab9c41 [2022-04-11T10:24:15.810Z] Removing intermediate container 58908cab9c41 [2022-04-11T10:24:15.810Z] ---> 60a8829e21d3 [2022-04-11T10:24:15.810Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T10:24:15.810Z] ---> Running in 022104ca771b [2022-04-11T10:24:16.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T10:24:17.382Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T10:24:18.361Z] OK: 226 MiB in 60 packages [2022-04-11T10:24:18.963Z] Removing intermediate container 022104ca771b [2022-04-11T10:24:18.963Z] ---> 282a385a2c0d [2022-04-11T10:24:18.963Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-11T10:24:18.963Z] ---> Running in 3a14cd2e6d23 [2022-04-11T10:24:19.560Z] Removing intermediate container 3a14cd2e6d23 [2022-04-11T10:24:19.560Z] ---> 2834b2a2b87b [2022-04-11T10:24:19.560Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-11T10:24:19.838Z] ---> 13851f8c7086 [2022-04-11T10:24:19.839Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T10:24:20.115Z] ---> Running in 539b162534e9 [2022-04-11T10:24:22.097Z] Removing intermediate container 539b162534e9 [2022-04-11T10:24:22.097Z] ---> 1f852b21964b [2022-04-11T10:24:22.097Z] Step 9/23 : COPY . . [2022-04-11T10:24:22.697Z] ---> eb043763a047 [2022-04-11T10:24:22.697Z] Step 10/23 : RUN ${MAKE} [2022-04-11T10:24:22.697Z] ---> Running in d6ac6fc5f1ed [2022-04-11T10:24:23.677Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-11T10:26:30.563Z] Removing intermediate container d6ac6fc5f1ed [2022-04-11T10:26:30.563Z] ---> 72fffc0467a9 [2022-04-11T10:26:30.563Z] Step 11/23 : FROM alpine:3.14 [2022-04-11T10:26:30.563Z] 3.14: Pulling from library/alpine [2022-04-11T10:26:30.563Z] 455c02918c45: Pulling fs layer [2022-04-11T10:26:30.563Z] 455c02918c45: Verifying Checksum [2022-04-11T10:26:30.563Z] 455c02918c45: Download complete [2022-04-11T10:26:30.563Z] 455c02918c45: Pull complete [2022-04-11T10:26:30.563Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T10:26:30.563Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T10:26:30.563Z] ---> ac73e934f311 [2022-04-11T10:26:30.563Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-11T10:26:30.563Z] ---> Running in 061995f6444e [2022-04-11T10:26:30.563Z] Removing intermediate container 061995f6444e [2022-04-11T10:26:30.563Z] ---> e1a1d2135913 [2022-04-11T10:26:30.563Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T10:26:30.563Z] ---> Running in ebe9e2dca8ab [2022-04-11T10:26:30.563Z] Removing intermediate container ebe9e2dca8ab [2022-04-11T10:26:30.563Z] ---> 02fd991365b2 [2022-04-11T10:26:30.563Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T10:26:30.563Z] ---> Running in 11766646b073 [2022-04-11T10:26:30.563Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T10:26:30.563Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T10:26:30.563Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T10:26:30.563Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T10:26:30.563Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T10:26:30.563Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T10:26:30.563Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T10:26:30.563Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T10:26:30.563Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T10:26:30.563Z] OK: 8 MiB in 20 packages [2022-04-11T10:26:30.563Z] Removing intermediate container 11766646b073 [2022-04-11T10:26:30.563Z] ---> 885d55377e7a [2022-04-11T10:26:30.563Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-11T10:26:30.563Z] ---> b4bfbaa03c9d [2022-04-11T10:26:30.563Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-11T10:26:30.563Z] ---> 2ab00d8a1bd6 [2022-04-11T10:26:30.563Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-11T10:26:30.563Z] ---> e0283d90225a [2022-04-11T10:26:30.563Z] Step 18/23 : EXPOSE 59901 [2022-04-11T10:26:30.563Z] ---> Running in 781267bf82d9 [2022-04-11T10:26:30.563Z] Removing intermediate container 781267bf82d9 [2022-04-11T10:26:30.563Z] ---> 8921368422fc [2022-04-11T10:26:30.563Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-11T10:26:30.563Z] ---> Running in 4b4bb6156c1a [2022-04-11T10:26:30.563Z] Removing intermediate container 4b4bb6156c1a [2022-04-11T10:26:30.563Z] ---> 4ae8d93ec772 [2022-04-11T10:26:30.563Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T10:26:30.563Z] ---> Running in b959b418885b [2022-04-11T10:26:30.563Z] Removing intermediate container b959b418885b [2022-04-11T10:26:30.563Z] ---> 6a9825395ee4 [2022-04-11T10:26:30.563Z] Step 21/23 : LABEL arch=arm64 [2022-04-11T10:26:30.563Z] ---> Running in 7fc94641534b [2022-04-11T10:26:30.563Z] Removing intermediate container 7fc94641534b [2022-04-11T10:26:30.563Z] ---> c30a1259bef0 [2022-04-11T10:26:30.563Z] Step 22/23 : LABEL git_sha=f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:26:30.563Z] ---> Running in 03fa58185e6c [2022-04-11T10:26:30.563Z] Removing intermediate container 03fa58185e6c [2022-04-11T10:26:30.563Z] ---> cb1051209527 [2022-04-11T10:26:30.563Z] Step 23/23 : LABEL version=2.2.0-dev.11 [2022-04-11T10:26:30.563Z] ---> Running in 6de98c1fc4be [2022-04-11T10:26:30.563Z] Removing intermediate container 6de98c1fc4be [2022-04-11T10:26:30.563Z] ---> c071a2a0c628 [2022-04-11T10:26:30.563Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T10:26:30.563Z] Successfully built c071a2a0c628 [2022-04-11T10:26:30.563Z] 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-11T10:26:30.676Z] provisioning config files... [2022-04-11T10:26:30.695Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/29@tmp/config4967210764904328383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:26:31.050Z] ---> docker-login.sh [2022-04-11T10:26:31.051Z] nexus3.edgexfoundry.org:10001 [2022-04-11T10:26:31.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:26:31.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:26:31.326Z] Configure a credential helper to remove this warning. See [2022-04-11T10:26:31.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:26:31.326Z] [2022-04-11T10:26:31.326Z] Login Succeeded [2022-04-11T10:26:31.326Z] nexus3.edgexfoundry.org:10002 [2022-04-11T10:26:31.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:26:31.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:26:31.921Z] Configure a credential helper to remove this warning. See [2022-04-11T10:26:31.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:26:31.921Z] [2022-04-11T10:26:31.921Z] Login Succeeded [2022-04-11T10:26:31.921Z] nexus3.edgexfoundry.org:10003 [2022-04-11T10:26:32.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:26:32.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:26:32.467Z] Configure a credential helper to remove this warning. See [2022-04-11T10:26:32.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:26:32.467Z] [2022-04-11T10:26:32.467Z] Login Succeeded [2022-04-11T10:26:32.467Z] nexus3.edgexfoundry.org:10004 [2022-04-11T10:26:32.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:26:32.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:26:32.742Z] Configure a credential helper to remove this warning. See [2022-04-11T10:26:32.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:26:32.742Z] [2022-04-11T10:26:32.742Z] Login Succeeded [2022-04-11T10:26:32.742Z] docker.io [2022-04-11T10:26:33.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T10:26:33.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T10:26:33.610Z] Configure a credential helper to remove this warning. See [2022-04-11T10:26:33.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T10:26:33.610Z] [2022-04-11T10:26:33.610Z] Login Succeeded [2022-04-11T10:26:33.610Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T10:26:33.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T10:26:33.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T10:26:33.695Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-11T10:26:33.695Z] f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:26:33.695Z] latest [2022-04-11T10:26:33.695Z] 2.2.0-dev.11 [2022-04-11T10:26:33.695Z] f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:26:33.695Z] main [2022-04-11T10:26:33.695Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:34.054Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:34.426Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:26:34.426Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-11T10:26:34.426Z] b92485ccf8a0: Preparing [2022-04-11T10:26:34.426Z] 0397f04373dd: Preparing [2022-04-11T10:26:34.426Z] 1d5b88c4d123: Preparing [2022-04-11T10:26:34.426Z] 1d8a4a6e322b: Preparing [2022-04-11T10:26:34.426Z] d10930176416: Preparing [2022-04-11T10:26:34.426Z] f73e7dbfee58: Preparing [2022-04-11T10:26:34.426Z] f73e7dbfee58: Waiting [2022-04-11T10:26:34.721Z] b92485ccf8a0: Pushed [2022-04-11T10:26:34.721Z] 0397f04373dd: Pushed [2022-04-11T10:26:34.721Z] d10930176416: Pushed [2022-04-11T10:26:34.721Z] f73e7dbfee58: Layer already exists [2022-04-11T10:26:35.317Z] 1d8a4a6e322b: Pushed [2022-04-11T10:26:40.715Z] 1d5b88c4d123: Pushed [2022-04-11T10:26:40.990Z] f4ca74df0424dae884c5f6599910fb97153f1e42: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:41.343Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:41.692Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-11T10:26:41.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-11T10:26:41.692Z] b92485ccf8a0: Preparing [2022-04-11T10:26:41.692Z] 0397f04373dd: Preparing [2022-04-11T10:26:41.692Z] 1d5b88c4d123: Preparing [2022-04-11T10:26:41.692Z] 1d8a4a6e322b: Preparing [2022-04-11T10:26:41.692Z] d10930176416: Preparing [2022-04-11T10:26:41.692Z] f73e7dbfee58: Preparing [2022-04-11T10:26:41.692Z] f73e7dbfee58: Waiting [2022-04-11T10:26:41.692Z] 1d5b88c4d123: Layer already exists [2022-04-11T10:26:41.692Z] b92485ccf8a0: Layer already exists [2022-04-11T10:26:41.692Z] 1d8a4a6e322b: Layer already exists [2022-04-11T10:26:41.692Z] d10930176416: Layer already exists [2022-04-11T10:26:41.692Z] 0397f04373dd: Layer already exists [2022-04-11T10:26:41.692Z] f73e7dbfee58: Layer already exists [2022-04-11T10:26:41.964Z] latest: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:42.320Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:42.667Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 [2022-04-11T10:26:42.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-11T10:26:42.667Z] b92485ccf8a0: Preparing [2022-04-11T10:26:42.667Z] 0397f04373dd: Preparing [2022-04-11T10:26:42.667Z] 1d5b88c4d123: Preparing [2022-04-11T10:26:42.667Z] 1d8a4a6e322b: Preparing [2022-04-11T10:26:42.667Z] d10930176416: Preparing [2022-04-11T10:26:42.667Z] f73e7dbfee58: Preparing [2022-04-11T10:26:42.667Z] f73e7dbfee58: Waiting [2022-04-11T10:26:42.667Z] 0397f04373dd: Layer already exists [2022-04-11T10:26:42.667Z] b92485ccf8a0: Layer already exists [2022-04-11T10:26:42.667Z] 1d8a4a6e322b: Layer already exists [2022-04-11T10:26:42.667Z] d10930176416: Layer already exists [2022-04-11T10:26:42.667Z] 1d5b88c4d123: Layer already exists [2022-04-11T10:26:42.667Z] f73e7dbfee58: Layer already exists [2022-04-11T10:26:42.939Z] 2.2.0-dev.11: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:43.290Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:43.638Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:26:43.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-11T10:26:43.638Z] b92485ccf8a0: Preparing [2022-04-11T10:26:43.638Z] 0397f04373dd: Preparing [2022-04-11T10:26:43.638Z] 1d5b88c4d123: Preparing [2022-04-11T10:26:43.638Z] 1d8a4a6e322b: Preparing [2022-04-11T10:26:43.638Z] d10930176416: Preparing [2022-04-11T10:26:43.638Z] f73e7dbfee58: Preparing [2022-04-11T10:26:43.638Z] f73e7dbfee58: Waiting [2022-04-11T10:26:43.638Z] b92485ccf8a0: Layer already exists [2022-04-11T10:26:43.638Z] 1d8a4a6e322b: Layer already exists [2022-04-11T10:26:43.638Z] 0397f04373dd: Layer already exists [2022-04-11T10:26:43.638Z] d10930176416: Layer already exists [2022-04-11T10:26:43.638Z] 1d5b88c4d123: Layer already exists [2022-04-11T10:26:43.638Z] f73e7dbfee58: Layer already exists [2022-04-11T10:26:43.912Z] f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:44.272Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:44.617Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-11T10:26:44.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-11T10:26:44.618Z] b92485ccf8a0: Preparing [2022-04-11T10:26:44.618Z] 0397f04373dd: Preparing [2022-04-11T10:26:44.618Z] 1d5b88c4d123: Preparing [2022-04-11T10:26:44.618Z] 1d8a4a6e322b: Preparing [2022-04-11T10:26:44.618Z] d10930176416: Preparing [2022-04-11T10:26:44.618Z] f73e7dbfee58: Preparing [2022-04-11T10:26:44.618Z] f73e7dbfee58: Waiting [2022-04-11T10:26:44.618Z] 1d5b88c4d123: Layer already exists [2022-04-11T10:26:44.618Z] d10930176416: Layer already exists [2022-04-11T10:26:44.618Z] 1d8a4a6e322b: Layer already exists [2022-04-11T10:26:44.618Z] 0397f04373dd: Layer already exists [2022-04-11T10:26:44.618Z] b92485ccf8a0: Layer already exists [2022-04-11T10:26:44.618Z] f73e7dbfee58: Layer already exists [2022-04-11T10:26:44.891Z] main: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T10:26:44.936Z] ===================================================== [Pipeline] echo [2022-04-11T10:26:44.949Z] taggedImages: [2022-04-11T10:26:44.949Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 [2022-04-11T10:26:44.949Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-11T10:26:44.949Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 [2022-04-11T10:26:44.949Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [2022-04-11T10:26:44.949Z] - 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-11T10:26:45.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T10:26:45.309Z] [2022-04-11T10:26:45.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:26:45.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T10:26:45.941Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T10:26:45.941Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T10:26:45.941Z] 04944245beec: Pulling fs layer [2022-04-11T10:26:45.941Z] 699f458cf7ca: Pulling fs layer [2022-04-11T10:26:45.941Z] 765212b225bb: Pulling fs layer [2022-04-11T10:26:45.941Z] f23df028b6ca: Pulling fs layer [2022-04-11T10:26:45.941Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T10:26:45.941Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T10:26:45.941Z] d65c8cfc05b1: Waiting [2022-04-11T10:26:45.941Z] 2437ff75d9bd: Waiting [2022-04-11T10:26:45.941Z] 765212b225bb: Waiting [2022-04-11T10:26:45.941Z] 04944245beec: Verifying Checksum [2022-04-11T10:26:45.941Z] 04944245beec: Download complete [2022-04-11T10:26:45.941Z] 765212b225bb: Verifying Checksum [2022-04-11T10:26:45.941Z] 765212b225bb: Download complete [2022-04-11T10:26:45.941Z] f23df028b6ca: Verifying Checksum [2022-04-11T10:26:45.941Z] f23df028b6ca: Download complete [2022-04-11T10:26:45.941Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T10:26:45.941Z] d65c8cfc05b1: Download complete [2022-04-11T10:26:46.219Z] 699f458cf7ca: Verifying Checksum [2022-04-11T10:26:46.219Z] 699f458cf7ca: Download complete [2022-04-11T10:26:46.495Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T10:26:46.495Z] 8998bd30e6a1: Download complete [2022-04-11T10:26:48.488Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T10:26:48.488Z] 2437ff75d9bd: Download complete [2022-04-11T10:26:51.126Z] 8998bd30e6a1: Pull complete [2022-04-11T10:26:51.417Z] 04944245beec: Pull complete [2022-04-11T10:26:52.864Z] 699f458cf7ca: Pull complete [2022-04-11T10:26:53.140Z] 765212b225bb: Pull complete [2022-04-11T10:26:53.741Z] f23df028b6ca: Pull complete [2022-04-11T10:26:54.339Z] d65c8cfc05b1: Pull complete [2022-04-11T10:27:09.454Z] 2437ff75d9bd: Pull complete [2022-04-11T10:27:09.454Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T10:27:09.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T10:27:09.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T10:27:09.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container [2022-04-11T10:27:09.772Z] $ 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/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T10:27:12.333Z] $ docker top 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:27:13.260Z] ---> job-cost.sh [2022-04-11T10:27:13.260Z] lf-activate-venv: SKIPPING [2022-04-11T10:27:13.260Z] INFO: No Stack... [2022-04-11T10:27:13.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T10:27:14.837Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T10:27:15.509Z] + cat /w/workspace/device-modbus-go/29/archives/cost.csv [2022-04-11T10:27:15.509Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T10:27:15.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [2022-04-11T10:27:15.582Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] did not exist. Created. [2022-04-11T10:27:15.582Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T10:27:16.262Z] /w/workspace/device-modbus-go/29@tmp/durable-c607c4c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T10:27:16.947Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T10:27:16.975Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T10:27:17.025Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T10:27:17.036Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T10:27:17.060Z] $ docker stop --time=1 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba [2022-04-11T10:27:18.574Z] $ docker rm -f 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba [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-11T10:27:19.072Z] provisioning config files... [2022-04-11T10:27:19.081Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5546421994120229871tmp [Pipeline] { [Pipeline] sh [2022-04-11T10:27:19.375Z] + set +x [2022-04-11T10:27:19.375Z] + curl -s https://codecov.io/bash [2022-04-11T10:27:19.375Z] + bash -s -- [2022-04-11T10:27:19.375Z] [2022-04-11T10:27:19.375Z] _____ _ [2022-04-11T10:27:19.375Z] / ____| | | [2022-04-11T10:27:19.375Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T10:27:19.375Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T10:27:19.375Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T10:27:19.375Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T10:27:19.375Z] Bash-1.0.6 [2022-04-11T10:27:19.375Z] [2022-04-11T10:27:19.375Z] [2022-04-11T10:27:19.375Z] ==> git version 2.25.1 found [2022-04-11T10:27:19.375Z] ==> 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-11T10:27:19.376Z] Release-Date: 2020-01-08 [2022-04-11T10:27:19.376Z] 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-11T10:27:19.376Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T10:27:19.636Z] ==> Jenkins CI detected. [2022-04-11T10:27:19.636Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:27:19.636Z] project root: . [2022-04-11T10:27:19.636Z] --> token set from env [2022-04-11T10:27:19.636Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T10:27:19.636Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T10:27:19.636Z] ==> Python coveragepy not found [2022-04-11T10:27:19.636Z] ==> Searching for coverage reports in: [2022-04-11T10:27:19.636Z] + . [2022-04-11T10:27:19.636Z] -> Found 1 reports [2022-04-11T10:27:19.636Z] ==> Detecting git/mercurial file structure [2022-04-11T10:27:19.636Z] ==> Reading reports [2022-04-11T10:27:19.636Z] + ./coverage.out bytes=24065 [2022-04-11T10:27:19.636Z] ==> Appending adjustments [2022-04-11T10:27:19.636Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T10:27:19.636Z] + Found adjustments [2022-04-11T10:27:19.636Z] ==> Gzipping contents [2022-04-11T10:27:19.636Z] 4.0K /tmp/codecov.OdppyH.gz [2022-04-11T10:27:19.636Z] ==> Uploading reports [2022-04-11T10:27:19.636Z] url: https://codecov.io [2022-04-11T10:27:19.636Z] query: branch=main&commit=f4ca74df0424dae884c5f6599910fb97153f1e42&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T10:27:19.636Z] -> Pinging Codecov [2022-04-11T10:27:19.636Z] 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=f4ca74df0424dae884c5f6599910fb97153f1e42&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T10:27:20.209Z] -> Uploading to [2022-04-11T10:27:20.209Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/55DBCA73C666E3227836607328DD7E49/f4ca74df0424dae884c5f6599910fb97153f1e42/7c6abe33-da7a-4983-a6fd-700f08a0de8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T102719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c908244cf3be4d06f9c9c5e9271e0b8118d59dd3efcf7db3d3950ea84314287 [2022-04-11T10:27:20.209Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T10:27:20.209Z] Dload Upload Total Spent Left Speed [2022-04-11T10:27:20.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 17008 --:--:-- --:--:-- --:--:-- 17008 [2022-04-11T10:27:20.209Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] } [2022-04-11T10:27:20.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-11T10:27:20.494Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-11T10:27:20.509Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:20.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T10:27:20.805Z] [2022-04-11T10:27:20.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:21.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T10:27:21.109Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-11T10:27:21.109Z] 188c0c94c7c5: Pulling fs layer [2022-04-11T10:27:21.109Z] 0ef7d3d256c8: Pulling fs layer [2022-04-11T10:27:21.109Z] de9db76c5a1d: Pulling fs layer [2022-04-11T10:27:21.109Z] 0eba1c9be4d2: Pulling fs layer [2022-04-11T10:27:21.109Z] 0d57e429df01: Pulling fs layer [2022-04-11T10:27:21.109Z] 4e4be7b47b0d: Pulling fs layer [2022-04-11T10:27:21.109Z] e1f770b5df2f: Pulling fs layer [2022-04-11T10:27:21.109Z] 85a0685a4137: Pulling fs layer [2022-04-11T10:27:21.109Z] 0eba1c9be4d2: Waiting [2022-04-11T10:27:21.109Z] 0d57e429df01: Waiting [2022-04-11T10:27:21.109Z] 4e4be7b47b0d: Waiting [2022-04-11T10:27:21.109Z] e1f770b5df2f: Waiting [2022-04-11T10:27:21.109Z] 85a0685a4137: Waiting [2022-04-11T10:27:21.109Z] de9db76c5a1d: Download complete [2022-04-11T10:27:21.109Z] 0ef7d3d256c8: Download complete [2022-04-11T10:27:21.109Z] 0d57e429df01: Verifying Checksum [2022-04-11T10:27:21.109Z] 0d57e429df01: Download complete [2022-04-11T10:27:21.109Z] 4e4be7b47b0d: Verifying Checksum [2022-04-11T10:27:21.109Z] 4e4be7b47b0d: Download complete [2022-04-11T10:27:21.109Z] 188c0c94c7c5: Verifying Checksum [2022-04-11T10:27:21.109Z] 188c0c94c7c5: Download complete [2022-04-11T10:27:21.369Z] 188c0c94c7c5: Pull complete [2022-04-11T10:27:21.369Z] e1f770b5df2f: Verifying Checksum [2022-04-11T10:27:21.369Z] e1f770b5df2f: Download complete [2022-04-11T10:27:21.369Z] 0ef7d3d256c8: Pull complete [2022-04-11T10:27:21.369Z] de9db76c5a1d: Pull complete [2022-04-11T10:27:21.938Z] 0eba1c9be4d2: Verifying Checksum [2022-04-11T10:27:21.938Z] 0eba1c9be4d2: Download complete [2022-04-11T10:27:21.938Z] 85a0685a4137: Verifying Checksum [2022-04-11T10:27:21.938Z] 85a0685a4137: Download complete [2022-04-11T10:27:25.226Z] 0eba1c9be4d2: Pull complete [2022-04-11T10:27:25.226Z] 0d57e429df01: Pull complete [2022-04-11T10:27:25.226Z] 4e4be7b47b0d: Pull complete [2022-04-11T10:27:25.485Z] e1f770b5df2f: Pull complete [2022-04-11T10:27:28.778Z] 85a0685a4137: Pull complete [2022-04-11T10:27:28.778Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-11T10:27:28.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T10:27:28.778Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-11T10:27:28.845Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:27:28.886Z] $ 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-11T10:27:30.758Z] $ docker top cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-11T10:27:30.844Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-11T10:27:31.126Z] + set -o pipefail [2022-04-11T10:27:31.126Z] + snyk monitor '--org=edgex-jenkins' [2022-04-11T10:27:36.407Z] [2022-04-11T10:27:36.407Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-11T10:27:36.407Z] [2022-04-11T10:27:36.407Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2c98c3a6-851e-4a49-aa92-5e2f8b3c058b [2022-04-11T10:27:36.407Z] [2022-04-11T10:27:36.407Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-11T10:27:36.407Z] [2022-04-11T10:27:36.407Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-11T10:27:36.407Z] [2022-04-11T10:27:36.407Z] [Pipeline] } [2022-04-11T10:27:36.426Z] $ docker stop --time=1 cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 [2022-04-11T10:27:38.375Z] $ docker rm -f cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 [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-11T10:27:39.092Z] + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] sh [2022-04-11T10:27:39.387Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T10:27:39.387Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:39.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:27:39.690Z] . [Pipeline] withDockerContainer [2022-04-11T10:27:39.763Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:27:39.804Z] $ 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-11T10:27:40.171Z] $ docker top 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T10:27:40.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T10:27:40.274Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T10:27:40.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T10:27:40.413Z] $ docker exec 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b ssh-agent [2022-04-11T10:27:40.520Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcbgHfG/agent.14 [2022-04-11T10:27:40.520Z] SSH_AGENT_PID=20 [2022-04-11T10:27:40.525Z] Running ssh-add (command line suppressed) [2022-04-11T10:27:40.655Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_632737182844521449.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_632737182844521449.key) [2022-04-11T10:27:40.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T10:27:40.953Z] + git semver tag [2022-04-11T10:27:40.953Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T10:27:40.953Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-11T10:27:40.953Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:27:40.953Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T10:27:40.953Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T10:27:40.953Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T10:27:40.953Z] # $SEMVER_BRANCH = main [2022-04-11T10:27:40.953Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-11T10:27:40.953Z] # f4ca74df0424dae884c5f6599910fb97153f1e42 HEAD [2022-04-11T10:27:40.953Z] # -> Force: false [2022-04-11T10:27:40.953Z] # de762ff610636f36c571a80ecdc2db6e3ec0e040 refs/tags/v2.2.0-dev.11 [Pipeline] } [2022-04-11T10:27:40.971Z] $ docker exec --env ******** --env ******** 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b ssh-agent -k [2022-04-11T10:27:41.082Z] unset SSH_AUTH_SOCK; [2022-04-11T10:27:41.082Z] unset SSH_AGENT_PID; [2022-04-11T10:27:41.082Z] echo Agent pid 20 killed; [2022-04-11T10:27:41.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T10:27:41.399Z] + git semver [Pipeline] } [2022-04-11T10:27:41.420Z] $ docker stop --time=1 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b [2022-04-11T10:27:42.700Z] $ docker rm -f 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:43.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T10:27:43.090Z] [2022-04-11T10:27:43.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:43.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T10:27:43.396Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-11T10:27:43.396Z] ab5ef0e58194: Pulling fs layer [2022-04-11T10:27:43.396Z] 9712f1f96733: Pulling fs layer [2022-04-11T10:27:43.396Z] 63f879dbbcfc: Pulling fs layer [2022-04-11T10:27:43.396Z] 0d9ebad4ef96: Pulling fs layer [2022-04-11T10:27:43.396Z] e9a5061849ea: Pulling fs layer [2022-04-11T10:27:43.396Z] d747dcd14b5f: Pulling fs layer [2022-04-11T10:27:43.396Z] 2de7ff778b66: Pulling fs layer [2022-04-11T10:27:43.396Z] 0d9ebad4ef96: Waiting [2022-04-11T10:27:43.396Z] e9a5061849ea: Waiting [2022-04-11T10:27:43.396Z] d747dcd14b5f: Waiting [2022-04-11T10:27:43.396Z] 2de7ff778b66: Waiting [2022-04-11T10:27:43.396Z] 9712f1f96733: Verifying Checksum [2022-04-11T10:27:43.396Z] 9712f1f96733: Download complete [2022-04-11T10:27:43.655Z] 63f879dbbcfc: Verifying Checksum [2022-04-11T10:27:43.655Z] 63f879dbbcfc: Download complete [2022-04-11T10:27:43.655Z] e9a5061849ea: Verifying Checksum [2022-04-11T10:27:43.655Z] e9a5061849ea: Download complete [2022-04-11T10:27:43.655Z] d747dcd14b5f: Verifying Checksum [2022-04-11T10:27:43.655Z] d747dcd14b5f: Download complete [2022-04-11T10:27:43.914Z] ab5ef0e58194: Verifying Checksum [2022-04-11T10:27:43.914Z] ab5ef0e58194: Download complete [2022-04-11T10:27:43.914Z] 2de7ff778b66: Verifying Checksum [2022-04-11T10:27:43.914Z] 2de7ff778b66: Download complete [2022-04-11T10:27:43.914Z] 0d9ebad4ef96: Verifying Checksum [2022-04-11T10:27:43.914Z] 0d9ebad4ef96: Download complete [2022-04-11T10:27:46.552Z] ab5ef0e58194: Pull complete [2022-04-11T10:27:46.552Z] 9712f1f96733: Pull complete [2022-04-11T10:27:47.122Z] 63f879dbbcfc: Pull complete [2022-04-11T10:27:51.315Z] 0d9ebad4ef96: Pull complete [2022-04-11T10:27:51.315Z] e9a5061849ea: Pull complete [2022-04-11T10:27:51.315Z] d747dcd14b5f: Pull complete [2022-04-11T10:27:52.253Z] 2de7ff778b66: Pull complete [2022-04-11T10:27:52.253Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-11T10:27:52.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T10:27:52.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-11T10:27:52.577Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:27:52.618Z] $ 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-11T10:27:54.410Z] $ docker top b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-11T10:27:54.494Z] provisioning config files... [2022-04-11T10:27:54.503Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3860828838928063536tmp [2022-04-11T10:27:54.514Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4834021787363588630tmp [2022-04-11T10:27:54.525Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4118892261280573904tmp [Pipeline] { [Pipeline] echo [2022-04-11T10:27:54.542Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:27:54.827Z] ---> sigul-configuration.sh [2022-04-11T10:27:54.827Z] gpg: directory `/root/.gnupg' created [2022-04-11T10:27:54.827Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-11T10:27:54.827Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-11T10:27:54.827Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-11T10:27:54.827Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-11T10:27:54.827Z] gpg: CAST5 encrypted data [2022-04-11T10:27:54.827Z] gpg: encrypted with 1 passphrase [2022-04-11T10:27:54.827Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-11T10:27:55.116Z] + mkdir /home/jenkins [2022-04-11T10:27:55.116Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-11T10:27:55.402Z] + 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-11T10:27:55.414Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:27:55.705Z] ---> sigul-install.sh [2022-04-11T10:27:55.705Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-11T10:27:55.997Z] + git tag --list [2022-04-11T10:27:55.997Z] 0.7.1 [2022-04-11T10:27:55.997Z] v1.0.0 [2022-04-11T10:27:55.997Z] v1.1.0 [2022-04-11T10:27:55.997Z] v1.1.1 [2022-04-11T10:27:55.997Z] v1.2.2 [2022-04-11T10:27:55.997Z] v1.3.0 [2022-04-11T10:27:55.997Z] v1.3.1 [2022-04-11T10:27:55.997Z] v2.0.0 [2022-04-11T10:27:55.997Z] v2.0.1-dev.1 [2022-04-11T10:27:55.997Z] v2.0.1-dev.10 [2022-04-11T10:27:55.997Z] v2.0.1-dev.11 [2022-04-11T10:27:55.997Z] v2.0.1-dev.12 [2022-04-11T10:27:55.997Z] v2.0.1-dev.2 [2022-04-11T10:27:55.997Z] v2.0.1-dev.3 [2022-04-11T10:27:55.997Z] v2.0.1-dev.4 [2022-04-11T10:27:55.997Z] v2.0.1-dev.5 [2022-04-11T10:27:55.997Z] v2.0.1-dev.6 [2022-04-11T10:27:55.997Z] v2.0.1-dev.7 [2022-04-11T10:27:55.997Z] v2.0.1-dev.8 [2022-04-11T10:27:55.997Z] v2.0.1-dev.9 [2022-04-11T10:27:55.997Z] v2.1.0 [2022-04-11T10:27:55.997Z] v2.2.0-dev.1 [2022-04-11T10:27:55.997Z] v2.2.0-dev.10 [2022-04-11T10:27:55.997Z] v2.2.0-dev.11 [2022-04-11T10:27:55.997Z] v2.2.0-dev.2 [2022-04-11T10:27:55.997Z] v2.2.0-dev.3 [2022-04-11T10:27:55.997Z] v2.2.0-dev.4 [2022-04-11T10:27:55.997Z] v2.2.0-dev.5 [2022-04-11T10:27:55.997Z] v2.2.0-dev.6 [2022-04-11T10:27:55.997Z] v2.2.0-dev.7 [2022-04-11T10:27:55.997Z] v2.2.0-dev.8 [2022-04-11T10:27:55.997Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-11T10:27:56.287Z] + lftools sign git-tag v2.2.0-dev.11 [2022-04-11T10:27:56.858Z] Signing Git tag with Sigul... [2022-04-11T10:27:56.858Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-04-11T10:27:57.130Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:27:57.418Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-11T10:27:57.427Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-11T10:27:57.455Z] $ docker stop --time=1 b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c [2022-04-11T10:27:58.767Z] $ docker rm -f b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-11T10:27:59.201Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T10:27:59.201Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:27:59.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:27:59.501Z] . [Pipeline] withDockerContainer [2022-04-11T10:27:59.572Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:27:59.621Z] $ 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-11T10:28:00.008Z] $ docker top 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T10:28:00.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T10:28:00.097Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T10:28:00.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T10:28:00.240Z] $ docker exec 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 ssh-agent [2022-04-11T10:28:00.367Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFiOKao/agent.13 [2022-04-11T10:28:00.367Z] SSH_AGENT_PID=20 [2022-04-11T10:28:00.372Z] Running ssh-add (command line suppressed) [2022-04-11T10:28:00.492Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2087546669727654070.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2087546669727654070.key) [2022-04-11T10:28:00.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T10:28:00.787Z] + git semver bump pre [2022-04-11T10:28:00.787Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T10:28:00.788Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-11T10:28:00.788Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:28:00.788Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T10:28:00.788Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T10:28:00.788Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T10:28:00.788Z] # $SEMVER_BRANCH = main [2022-04-11T10:28:00.788Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-11T10:28:00.788Z] 2.2.0-dev.12 [Pipeline] } [2022-04-11T10:28:00.807Z] $ docker exec --env ******** --env ******** 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 ssh-agent -k [2022-04-11T10:28:00.918Z] unset SSH_AUTH_SOCK; [2022-04-11T10:28:00.918Z] unset SSH_AGENT_PID; [2022-04-11T10:28:00.918Z] echo Agent pid 20 killed; [2022-04-11T10:28:00.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T10:28:01.234Z] + git semver [Pipeline] } [2022-04-11T10:28:01.258Z] $ docker stop --time=1 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 [2022-04-11T10:28:02.529Z] $ docker rm -f 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T10:28:02.871Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T10:28:02.871Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:28:03.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T10:28:03.169Z] . [Pipeline] withDockerContainer [2022-04-11T10:28:03.235Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:28:03.497Z] $ 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-11T10:28:03.868Z] $ docker top 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T10:28:03.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T10:28:03.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T10:28:04.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T10:28:04.072Z] $ docker exec 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc ssh-agent [2022-04-11T10:28:04.182Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBgafD/agent.13 [2022-04-11T10:28:04.182Z] SSH_AGENT_PID=19 [2022-04-11T10:28:04.186Z] Running ssh-add (command line suppressed) [2022-04-11T10:28:04.307Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7767688041067466057.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7767688041067466057.key) [2022-04-11T10:28:04.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T10:28:04.603Z] + git semver push [2022-04-11T10:28:04.603Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T10:28:04.603Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-11T10:28:04.603Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:28:04.603Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T10:28:04.603Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T10:28:04.603Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T10:28:04.603Z] # $SEMVER_BRANCH = main [2022-04-11T10:28:04.603Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-11T10:28:06.002Z] $ docker exec --env ******** --env ******** 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc ssh-agent -k [2022-04-11T10:28:06.114Z] unset SSH_AUTH_SOCK; [2022-04-11T10:28:06.114Z] unset SSH_AGENT_PID; [2022-04-11T10:28:06.115Z] echo Agent pid 19 killed; [2022-04-11T10:28:06.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T10:28:06.425Z] + git semver [Pipeline] } [2022-04-11T10:28:06.447Z] $ docker stop --time=1 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc [2022-04-11T10:28:07.742Z] $ docker rm -f 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc [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-11T10:28:08.364Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-11T10:28:08.364Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-11T10:28:08.364Z] total 16 [2022-04-11T10:28:08.364Z] drwxr-xr-x 3 root root 4096 Apr 11 10:20 . [2022-04-11T10:28:08.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:27 .. [2022-04-11T10:28:08.364Z] drwxr-xr-x 2 root root 4096 Apr 11 10:20 cost [2022-04-11T10:28:08.364Z] -rw-r--r-- 1 root root 86 Apr 11 10:20 cost.csv [2022-04-11T10:28:08.364Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-11T10:28:08.364Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-11T10:28:08.364Z] total 16 [2022-04-11T10:28:08.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:20 . [2022-04-11T10:28:08.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:27 .. [2022-04-11T10:28:08.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 10:20 cost [2022-04-11T10:28:08.364Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 11 10:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:08.660Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:09.523Z] ---> package-listing.sh [2022-04-11T10:28:09.523Z] ++ facter osfamily [2022-04-11T10:28:09.523Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T10:28:09.790Z] + OS_FAMILY=debian [2022-04-11T10:28:09.790Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-11T10:28:09.790Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T10:28:09.790Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T10:28:09.790Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T10:28:09.790Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T10:28:09.790Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-11T10:28:09.790Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T10:28:09.790Z] + case "${OS_FAMILY}" in [2022-04-11T10:28:09.790Z] + dpkg -l [2022-04-11T10:28:09.790Z] + grep '^ii' [2022-04-11T10:28:09.790Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T10:28:09.790Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T10:28:09.790Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T10:28:09.790Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-11T10:28:09.790Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-11T10:28:09.790Z] + 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-11T10:28:09.830Z] 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-11T10:28:10.161Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T10:28:10.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T10:28:10.453Z] . [Pipeline] withDockerContainer [2022-04-11T10:28:10.512Z] prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container [2022-04-11T10:28:10.554Z] $ 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-11T10:28:10.769Z] $ docker top 2aeccda52841de4654322e6e86a2f194434cb14dd9bc50e2a1a1f3ae5006cc35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T10:28:11.121Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T10:28:11.413Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T10:28:11.703Z] + ls /var/log/sa-host [2022-04-11T10:28:11.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T10:28:11.904Z] provisioning config files... [2022-04-11T10:28:11.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3092343881841247416tmp [Pipeline] { [Pipeline] echo [2022-04-11T10:28:11.933Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:12.220Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T10:28:12.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:12.564Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T10:28:12.573Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:12.860Z] ---> sudo-logs.sh [2022-04-11T10:28:12.860Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T10:28:12.896Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:13.183Z] ---> job-cost.sh [2022-04-11T10:28:13.183Z] lf-activate-venv: SKIPPING [2022-04-11T10:28:13.183Z] DEBUG: total: 0.2199999988079071 [2022-04-11T10:28:13.183Z] INFO: Retrieving Stack Cost... [2022-04-11T10:28:13.755Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T10:28:14.327Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T10:28:14.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T10:28:14.626Z] ---> logs-deploy.sh [2022-04-11T10:28:14.626Z] lf-activate-venv: SKIPPING [2022-04-11T10:28:14.626Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/29 [2022-04-11T10:28:14.626Z] INFO: archiving workspace using pattern(s): [2022-04-11T10:28:15.567Z] Archives upload complete. [2022-04-11T10:28:15.567Z] INFO: archiving logs to Nexus