Pull request #348 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 0da803b9e852e60e6d0c38932136853af8aaf1e9 rather than 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh11908142614854254830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh5542994417196991029.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/PR-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11038044354207960154.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17287295974595212955.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/PR-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15957916386783711737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-230’ is offline Running on prd-ubuntu20.04-docker-8c-8g-232 in /w/workspace/xfoundry_device-modbus-go_PR-348 [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/xfoundry_device-modbus-go_PR-348 # 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 Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Merge succeeded, producing 9dcdfc84908e93dba46440de00b39d8ed3a2a737 Checking out Revision 9dcdfc84908e93dba46440de00b39d8ed3a2a737 (PR-348) > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T04:40:19.389Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T04:40:19.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T04:40:19.464Z] ========================================================= [2022-05-27T04:40:19.464Z] EdgeX Global Pipelines Version Info [2022-05-27T04:40:19.464Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 85b6ad4654018ddd26f21fd92b9104dc86d6064d # timeout=10 [2022-05-27T04:40:20.233Z] ------------------- [2022-05-27T04:40:20.233Z] stable info: [2022-05-27T04:40:20.233Z] ------------------- [2022-05-27T04:40:20.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T04:40:20.233Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T04:40:20.233Z] Message: update stable to v1.0.230 [2022-05-27T04:40:20.810Z] ------------------- [2022-05-27T04:40:20.810Z] experimental info: [2022-05-27T04:40:20.811Z] ------------------- [2022-05-27T04:40:20.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T04:40:20.811Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T04:40:20.811Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-27T04:40:20.997Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-27T04:40:21.016Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-27T04:40:21.034Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-27T04:40:21.046Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-27T04:40:21.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-27T04:40:21.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-27T04:40:21.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-27T04:40:21.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T04:40:21.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-27T04:40:21.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T04:40:21.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-27T04:40:21.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-27T04:40:21.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-27T04:40:21.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-27T04:40:21.200Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T04:40:21.211Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T04:40:21.225Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T04:40:21.237Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T04:40:21.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T04:40:21.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-27T04:40:21.279Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-27T04:40:21.294Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-27T04:40:21.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-27T04:40:21.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-27T04:40:21.327Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-27T04:40:21.342Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T04:40:21.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo [2022-05-27T04:40:21.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo [2022-05-27T04:40:21.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo [2022-05-27T04:40:21.389Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo [2022-05-27T04:40:21.402Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dcdfc8 [Pipeline] echo [2022-05-27T04:40:21.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T04:40:21.458Z] provisioning config files... [2022-05-27T04:40:21.473Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config4103223583526010891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:40:21.784Z] ---> docker-login.sh [2022-05-27T04:40:21.784Z] nexus3.edgexfoundry.org:10001 [2022-05-27T04:40:22.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:22.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:22.046Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:22.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:22.046Z] [2022-05-27T04:40:22.046Z] Login Succeeded [2022-05-27T04:40:22.046Z] nexus3.edgexfoundry.org:10002 [2022-05-27T04:40:22.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:22.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:22.311Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:22.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:22.311Z] [2022-05-27T04:40:22.311Z] Login Succeeded [2022-05-27T04:40:22.311Z] nexus3.edgexfoundry.org:10003 [2022-05-27T04:40:22.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:22.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:22.573Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:22.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:22.573Z] [2022-05-27T04:40:22.573Z] Login Succeeded [2022-05-27T04:40:22.573Z] nexus3.edgexfoundry.org:10004 [2022-05-27T04:40:22.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:22.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:22.573Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:22.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:22.573Z] [2022-05-27T04:40:22.573Z] Login Succeeded [2022-05-27T04:40:22.573Z] docker.io [2022-05-27T04:40:22.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:23.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:23.148Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:23.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:23.148Z] [2022-05-27T04:40:23.148Z] Login Succeeded [2022-05-27T04:40:23.148Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T04:40:23.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-27T04:40:23.551Z] + git rev-list -1 --merges 9dcdfc84908e93dba46440de00b39d8ed3a2a737~1..9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo [2022-05-27T04:40:23.667Z] -----------> git rev-list -1 --merges 9dcdfc84908e93dba46440de00b39d8ed3a2a737~1..9dcdfc84908e93dba46440de00b39d8ed3a2a737 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [false] [Pipeline] sh [2022-05-27T04:40:23.962Z] + git log --format=format:%s -1 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo [2022-05-27T04:40:23.979Z] ========================================================= [2022-05-27T04:40:23.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-27T04:40:23.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T04:40:24.329Z] + git log --format=format:%s -1 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] echo [2022-05-27T04:40:24.343Z] [semverPrep] GIT_COMMIT: 9dcdfc84908e93dba46440de00b39d8ed3a2a737, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) [Pipeline] echo [2022-05-27T04:40:24.354Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-27T04:40:24.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T04:40:24.702Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-27T04:40:24.702Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-27T04:40:24.702Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-27T04:40:24.702Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-27T04:40:24.702Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-27T04:40:24.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:40:25.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T04:40:25.091Z] [2022-05-27T04:40:25.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:40:25.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T04:40:25.408Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-27T04:40:25.408Z] 1fe172e4850f: Pulling fs layer [2022-05-27T04:40:25.408Z] caf521ccaac6: Pulling fs layer [2022-05-27T04:40:25.408Z] 3ead6fa29328: Pulling fs layer [2022-05-27T04:40:25.408Z] 5c2a1cbceb83: Pulling fs layer [2022-05-27T04:40:25.408Z] a8d5f1318db7: Pulling fs layer [2022-05-27T04:40:25.408Z] c427282e49a2: Pulling fs layer [2022-05-27T04:40:25.408Z] 1827001aaf11: Pulling fs layer [2022-05-27T04:40:25.408Z] 0714d37db230: Pulling fs layer [2022-05-27T04:40:25.408Z] ac28cf19c067: Pulling fs layer [2022-05-27T04:40:25.408Z] ca983d60f3e2: Pulling fs layer [2022-05-27T04:40:25.408Z] 9f894cec8388: Pulling fs layer [2022-05-27T04:40:25.408Z] 5c2a1cbceb83: Waiting [2022-05-27T04:40:25.408Z] a8d5f1318db7: Waiting [2022-05-27T04:40:25.408Z] c427282e49a2: Waiting [2022-05-27T04:40:25.408Z] 1827001aaf11: Waiting [2022-05-27T04:40:25.408Z] 0714d37db230: Waiting [2022-05-27T04:40:25.408Z] ca983d60f3e2: Waiting [2022-05-27T04:40:25.408Z] 9f894cec8388: Waiting [2022-05-27T04:40:25.408Z] ac28cf19c067: Waiting [2022-05-27T04:40:25.408Z] caf521ccaac6: Verifying Checksum [2022-05-27T04:40:25.408Z] caf521ccaac6: Download complete [2022-05-27T04:40:25.408Z] 5c2a1cbceb83: Download complete [2022-05-27T04:40:25.673Z] a8d5f1318db7: Verifying Checksum [2022-05-27T04:40:25.673Z] a8d5f1318db7: Download complete [2022-05-27T04:40:25.673Z] c427282e49a2: Verifying Checksum [2022-05-27T04:40:25.673Z] c427282e49a2: Download complete [2022-05-27T04:40:25.673Z] 3ead6fa29328: Verifying Checksum [2022-05-27T04:40:25.673Z] 3ead6fa29328: Download complete [2022-05-27T04:40:25.673Z] 0714d37db230: Verifying Checksum [2022-05-27T04:40:25.673Z] 0714d37db230: Download complete [2022-05-27T04:40:25.673Z] ac28cf19c067: Verifying Checksum [2022-05-27T04:40:25.673Z] ac28cf19c067: Download complete [2022-05-27T04:40:25.673Z] ca983d60f3e2: Verifying Checksum [2022-05-27T04:40:25.673Z] ca983d60f3e2: Download complete [2022-05-27T04:40:25.673Z] 9f894cec8388: Download complete [2022-05-27T04:40:25.673Z] 1fe172e4850f: Verifying Checksum [2022-05-27T04:40:25.673Z] 1fe172e4850f: Download complete [2022-05-27T04:40:25.934Z] 1827001aaf11: Verifying Checksum [2022-05-27T04:40:25.934Z] 1827001aaf11: Download complete [2022-05-27T04:40:27.322Z] 1fe172e4850f: Pull complete [2022-05-27T04:40:27.322Z] caf521ccaac6: Pull complete [2022-05-27T04:40:27.586Z] 3ead6fa29328: Pull complete [2022-05-27T04:40:27.847Z] 5c2a1cbceb83: Pull complete [2022-05-27T04:40:28.111Z] a8d5f1318db7: Pull complete [2022-05-27T04:40:28.111Z] c427282e49a2: Pull complete [2022-05-27T04:40:30.031Z] 1827001aaf11: Pull complete [2022-05-27T04:40:30.297Z] 0714d37db230: Pull complete [2022-05-27T04:40:30.297Z] ac28cf19c067: Pull complete [2022-05-27T04:40:30.564Z] ca983d60f3e2: Pull complete [2022-05-27T04:40:30.564Z] 9f894cec8388: Pull complete [2022-05-27T04:40:30.564Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-27T04:40:30.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T04:40:30.564Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:40:30.682Z] prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container [2022-05-27T04:40:30.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-27T04:40:32.356Z] $ docker top 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 -eo pid,comm [2022-05-27T04:40:32.425Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-27T04:40:32.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T04:40:32.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T04:40:32.458Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T04:40:32.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T04:40:32.604Z] $ docker exec 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent [2022-05-27T04:40:32.747Z] SSH_AUTH_SOCK=/tmp/ssh-BFbJjEzhc9Ot/agent.33 [2022-05-27T04:40:32.747Z] SSH_AGENT_PID=41 [2022-05-27T04:40:32.754Z] Running ssh-add (command line suppressed) [2022-05-27T04:40:32.879Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4051921074807193211.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4051921074807193211.key) [2022-05-27T04:40:32.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T04:40:33.189Z] + git tag --points-at HEAD [Pipeline] } [2022-05-27T04:40:33.205Z] $ docker exec --env ******** --env ******** 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent -k [2022-05-27T04:40:33.325Z] unset SSH_AUTH_SOCK; [2022-05-27T04:40:33.326Z] unset SSH_AGENT_PID; [2022-05-27T04:40:33.326Z] echo Agent pid 41 killed; [2022-05-27T04:40:33.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-27T04:40:33.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T04:40:33.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T04:40:33.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T04:40:33.495Z] $ docker exec 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent [2022-05-27T04:40:33.620Z] SSH_AUTH_SOCK=/tmp/ssh-RNzSx6RJeAjd/agent.73 [2022-05-27T04:40:33.620Z] SSH_AGENT_PID=79 [2022-05-27T04:40:33.627Z] Running ssh-add (command line suppressed) [2022-05-27T04:40:33.776Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4706319128455223025.key (/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/private_key_4706319128455223025.key) [2022-05-27T04:40:33.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T04:40:34.076Z] + git semver init [2022-05-27T04:40:34.336Z] 2022-05-27 04:40:34,285 [run_init] DEBUG init version:0.0.0 force:False [2022-05-27T04:40:34.336Z] 2022-05-27 04:40:34,286 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver [2022-05-27T04:40:34.336Z] 2022-05-27 04:40:34,287 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-348/.semver [2022-05-27T04:40:34.336Z] 2022-05-27 04:40:34,288 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-348/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348, universal_newlines=False, shell=None, istream=None) [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,026 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.git/info/exclude [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,026 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 with force:False [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,026 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,031 [execute] INFO git cat-file --batch-check [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,037 [execute] INFO git cat-file --batch [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-348/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T04:40:35.279Z] 2022-05-27 04:40:35,043 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-348/.semver/PR-348 [2022-05-27T04:40:35.279Z] 0.0.0 [Pipeline] } [2022-05-27T04:40:35.296Z] $ docker exec --env ******** --env ******** 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 ssh-agent -k [2022-05-27T04:40:35.411Z] unset SSH_AUTH_SOCK; [2022-05-27T04:40:35.412Z] unset SSH_AGENT_PID; [2022-05-27T04:40:35.412Z] echo Agent pid 79 killed; [2022-05-27T04:40:35.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T04:40:35.742Z] + git semver [Pipeline] } [2022-05-27T04:40:36.028Z] $ docker stop --time=1 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 [2022-05-27T04:40:37.560Z] $ docker rm -f 5b14b792319387c83bd9045e0ec58d7097cfb1db32c508b9c334ba75e6415948 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T04:40:37.929Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-27T04:40:38.201Z] Stashed 1 file(s) [Pipeline] echo [2022-05-27T04:40:38.203Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T04:40:38.295Z] provisioning config files... [2022-05-27T04:40:38.305Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config5555241554569670623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:40:38.612Z] ---> docker-login.sh [2022-05-27T04:40:38.612Z] nexus3.edgexfoundry.org:10001 [2022-05-27T04:40:38.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:38.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:38.612Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:38.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:38.612Z] [2022-05-27T04:40:38.612Z] Login Succeeded [2022-05-27T04:40:38.612Z] nexus3.edgexfoundry.org:10002 [2022-05-27T04:40:38.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:38.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:38.875Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:38.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:38.875Z] [2022-05-27T04:40:38.875Z] Login Succeeded [2022-05-27T04:40:38.875Z] nexus3.edgexfoundry.org:10003 [2022-05-27T04:40:38.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:38.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:38.875Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:38.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:38.875Z] [2022-05-27T04:40:38.875Z] Login Succeeded [2022-05-27T04:40:38.875Z] nexus3.edgexfoundry.org:10004 [2022-05-27T04:40:39.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:39.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:39.137Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:39.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:39.137Z] [2022-05-27T04:40:39.137Z] Login Succeeded [2022-05-27T04:40:39.137Z] docker.io [2022-05-27T04:40:39.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:40:39.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:40:39.397Z] Configure a credential helper to remove this warning. See [2022-05-27T04:40:39.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:40:39.397Z] [2022-05-27T04:40:39.397Z] Login Succeeded [2022-05-27T04:40:39.397Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T04:40:39.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T04:40:39.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T04:40:39.483Z] ========================================================= [2022-05-27T04:40:39.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-27T04:40:39.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:40:39.808Z] + 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-05-27T04:40:39.808Z] Sending build context to Docker daemon 5.841MB [2022-05-27T04:40:39.808Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T04:40:39.808Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-27T04:40:39.808Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-27T04:40:39.808Z] 59bf1c3509f3: Pulling fs layer [2022-05-27T04:40:39.808Z] 666ba61612fd: Pulling fs layer [2022-05-27T04:40:39.808Z] 8ed8ca486205: Pulling fs layer [2022-05-27T04:40:39.808Z] 4fe6c5a15a65: Pulling fs layer [2022-05-27T04:40:39.808Z] 22a0e8bec74d: Pulling fs layer [2022-05-27T04:40:39.808Z] ca2b28591e48: Pulling fs layer [2022-05-27T04:40:39.808Z] a51346096db8: Pulling fs layer [2022-05-27T04:40:39.808Z] daebc70d1ce1: Pulling fs layer [2022-05-27T04:40:39.808Z] 0e18a0eac166: Pulling fs layer [2022-05-27T04:40:39.808Z] 22a0e8bec74d: Waiting [2022-05-27T04:40:39.808Z] daebc70d1ce1: Waiting [2022-05-27T04:40:39.808Z] ca2b28591e48: Waiting [2022-05-27T04:40:39.808Z] 0e18a0eac166: Waiting [2022-05-27T04:40:39.808Z] a51346096db8: Waiting [2022-05-27T04:40:39.808Z] 4fe6c5a15a65: Waiting [2022-05-27T04:40:40.070Z] 8ed8ca486205: Verifying Checksum [2022-05-27T04:40:40.070Z] 8ed8ca486205: Download complete [2022-05-27T04:40:40.070Z] 666ba61612fd: Verifying Checksum [2022-05-27T04:40:40.070Z] 666ba61612fd: Download complete [2022-05-27T04:40:40.070Z] 22a0e8bec74d: Verifying Checksum [2022-05-27T04:40:40.070Z] 22a0e8bec74d: Download complete [2022-05-27T04:40:40.070Z] ca2b28591e48: Verifying Checksum [2022-05-27T04:40:40.070Z] ca2b28591e48: Download complete [2022-05-27T04:40:40.070Z] 59bf1c3509f3: Verifying Checksum [2022-05-27T04:40:40.070Z] 59bf1c3509f3: Download complete [2022-05-27T04:40:40.070Z] a51346096db8: Verifying Checksum [2022-05-27T04:40:40.070Z] a51346096db8: Download complete [2022-05-27T04:40:40.070Z] daebc70d1ce1: Verifying Checksum [2022-05-27T04:40:40.070Z] daebc70d1ce1: Download complete [2022-05-27T04:40:40.070Z] 59bf1c3509f3: Pull complete [2022-05-27T04:40:40.330Z] 666ba61612fd: Pull complete [2022-05-27T04:40:40.330Z] 8ed8ca486205: Pull complete [2022-05-27T04:40:40.593Z] 0e18a0eac166: Verifying Checksum [2022-05-27T04:40:40.593Z] 0e18a0eac166: Download complete [2022-05-27T04:40:40.854Z] 4fe6c5a15a65: Verifying Checksum [2022-05-27T04:40:40.854Z] 4fe6c5a15a65: Download complete [2022-05-27T04:40:45.052Z] 4fe6c5a15a65: Pull complete [2022-05-27T04:40:45.052Z] 22a0e8bec74d: Pull complete [2022-05-27T04:40:45.052Z] ca2b28591e48: Pull complete [2022-05-27T04:40:45.052Z] a51346096db8: Pull complete [2022-05-27T04:40:45.052Z] daebc70d1ce1: Pull complete [2022-05-27T04:40:46.957Z] 0e18a0eac166: Pull complete [2022-05-27T04:40:46.957Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-27T04:40:46.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-27T04:40:46.957Z] ---> f018257e8ee9 [2022-05-27T04:40:46.957Z] Step 3/10 : ARG MAKE='make build' [2022-05-27T04:40:48.870Z] ---> Running in 807df809af8c [2022-05-27T04:40:48.870Z] Removing intermediate container 807df809af8c [2022-05-27T04:40:48.870Z] ---> 65019f066c99 [2022-05-27T04:40:48.870Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:40:48.870Z] ---> Running in 9a9c5cacd092 [2022-05-27T04:40:49.442Z] Removing intermediate container 9a9c5cacd092 [2022-05-27T04:40:49.442Z] ---> 2608d2c41b69 [2022-05-27T04:40:49.442Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-27T04:40:49.442Z] ---> Running in 43b79498c8bb [2022-05-27T04:40:49.703Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T04:40:50.647Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T04:40:50.909Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-27T04:40:50.909Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-27T04:40:51.169Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-27T04:40:51.169Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-27T04:40:51.169Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-27T04:40:51.432Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-27T04:40:51.432Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-27T04:40:51.432Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-27T04:40:51.714Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T04:40:51.714Z] OK: 226 MiB in 60 packages [2022-05-27T04:40:51.976Z] Removing intermediate container 43b79498c8bb [2022-05-27T04:40:51.976Z] ---> 9ec6f23e98a1 [2022-05-27T04:40:51.976Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-27T04:40:51.976Z] ---> Running in 33a2ce36adca [2022-05-27T04:40:52.235Z] Removing intermediate container 33a2ce36adca [2022-05-27T04:40:52.235Z] ---> 6cce53df33c5 [2022-05-27T04:40:52.235Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-27T04:40:52.235Z] ---> 3f577b2a7216 [2022-05-27T04:40:52.235Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T04:40:52.235Z] ---> Running in 3939e363a1c0 [2022-05-27T04:40:53.269Z] Still waiting to schedule task [2022-05-27T04:40:53.269Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-231’ is offline [2022-05-27T04:41:07.158Z] Removing intermediate container 3939e363a1c0 [2022-05-27T04:41:07.158Z] ---> 6b3701dbc45f [2022-05-27T04:41:07.158Z] Step 9/10 : COPY . . [2022-05-27T04:41:07.158Z] ---> cb651c1651ec [2022-05-27T04:41:07.158Z] Step 10/10 : RUN ${MAKE} [2022-05-27T04:41:07.158Z] ---> Running in d7a07da51e47 [2022-05-27T04:41:07.158Z] noop [2022-05-27T04:41:07.158Z] Removing intermediate container d7a07da51e47 [2022-05-27T04:41:07.158Z] ---> 45114c9d2e46 [2022-05-27T04:41:07.158Z] Successfully built 45114c9d2e46 [2022-05-27T04:41:07.158Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:41:07.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T04:41:07.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:41:07.566Z] prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container [2022-05-27T04:41:07.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T04:41:07.973Z] $ docker top fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T04:41:08.342Z] + go version [2022-05-27T04:41:08.342Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-27T04:41:08.362Z] $ docker stop --time=1 fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 [2022-05-27T04:41:09.658Z] $ docker rm -f fc40002354ecad87f765f4ff8f29a60c4e1f569744f1a652b3af0e1cf93d3908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:41:10.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T04:41:10.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:41:10.148Z] prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container [2022-05-27T04:41:10.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T04:41:10.552Z] $ docker top b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T04:41:10.911Z] + make test [2022-05-27T04:41:10.911Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-27T04:41:11.171Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-27T04:41:21.307Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-27T04:41:21.307Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 46.4% of statements [2022-05-27T04:41:27.895Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T04:41:33.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T04:41:33.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T04:41:33.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T04:41:33.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T04:41:33.208Z] $ docker stop --time=1 b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 [2022-05-27T04:41:35.045Z] $ docker rm -f b8d967b96a44a95efd695ded8675ea0b5f6dd5bb89921666a8aea1b26af4d6a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T04:41:35.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T04:41:35.560Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-27T04:41:35.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T04:41:36.287Z] + ls -al . [2022-05-27T04:41:36.287Z] total 184 [2022-05-27T04:41:36.287Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 04:41 . [2022-05-27T04:41:36.287Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:40 .. [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:40 .dockerignore [2022-05-27T04:41:36.287Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:40 .git [2022-05-27T04:41:36.287Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 .github [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 331 May 27 04:40 .gitignore [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:40 .golangci.yml [2022-05-27T04:41:36.287Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:40 .semver [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 9510 May 27 04:40 Attribution.txt [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 27 04:40 CHANGELOG.md [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 27 04:40 Dockerfile [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:40 GOVERNANCE.md [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 680 May 27 04:40 Jenkinsfile [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:40 LICENSE [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 27 04:40 Makefile [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 622 May 27 04:40 OWNERS.md [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 27 04:40 README.md [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 04:40 VERSION [2022-05-27T04:41:36.287Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:40 bin [2022-05-27T04:41:36.287Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 cmd [2022-05-27T04:41:36.287Z] -rw-r--r-- 1 jenkins jenkins 24065 May 27 04:41 coverage.out [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 27 04:40 go.mod [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 27 04:40 go.sum [2022-05-27T04:41:36.287Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:40 internal [2022-05-27T04:41:36.287Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:40 simulator [2022-05-27T04:41:36.287Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:40 snap [2022-05-27T04:41:36.287Z] -rw-rw-r-- 1 jenkins jenkins 229 May 27 04:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:41:36.601Z] + 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=9dcdfc84908e93dba46440de00b39d8ed3a2a737 --label arch=amd64 --label version=0.0.0 . [2022-05-27T04:41:36.601Z] Sending build context to Docker daemon 5.866MB [2022-05-27T04:41:36.601Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T04:41:36.601Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-27T04:41:36.601Z] ---> 45114c9d2e46 [2022-05-27T04:41:36.601Z] Step 3/23 : ARG MAKE='make build' [2022-05-27T04:41:36.601Z] ---> Running in 3a347bde4c7c [2022-05-27T04:41:36.863Z] Removing intermediate container 3a347bde4c7c [2022-05-27T04:41:36.863Z] ---> 2309ac8507cf [2022-05-27T04:41:36.863Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:41:36.863Z] ---> Running in 397d91fd20ee [2022-05-27T04:41:37.435Z] Removing intermediate container 397d91fd20ee [2022-05-27T04:41:37.435Z] ---> 042f8018f993 [2022-05-27T04:41:37.435Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-27T04:41:37.435Z] ---> Running in adabb3478b74 [2022-05-27T04:41:37.695Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T04:41:38.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T04:41:38.898Z] OK: 226 MiB in 60 packages [2022-05-27T04:41:39.157Z] Removing intermediate container adabb3478b74 [2022-05-27T04:41:39.157Z] ---> 3fad8157a50c [2022-05-27T04:41:39.157Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-27T04:41:39.419Z] ---> Running in 0eecedb0f197 [2022-05-27T04:41:39.419Z] Removing intermediate container 0eecedb0f197 [2022-05-27T04:41:39.419Z] ---> 0529149d317c [2022-05-27T04:41:39.419Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-27T04:41:39.419Z] ---> 92f7c329d7e2 [2022-05-27T04:41:39.419Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T04:41:39.678Z] ---> Running in 7631ed599252 [2022-05-27T04:41:40.250Z] Removing intermediate container 7631ed599252 [2022-05-27T04:41:40.250Z] ---> 1d7b6ff18e92 [2022-05-27T04:41:40.250Z] Step 9/23 : COPY . . [2022-05-27T04:41:40.510Z] ---> 88ff1f4e0e01 [2022-05-27T04:41:40.510Z] Step 10/23 : RUN ${MAKE} [2022-05-27T04:41:40.510Z] ---> Running in 14cb3ac7b653 [2022-05-27T04:41:40.771Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-27T04:42:02.737Z] Removing intermediate container 14cb3ac7b653 [2022-05-27T04:42:02.737Z] ---> f432e0635124 [2022-05-27T04:42:02.737Z] Step 11/23 : FROM alpine:3.14 [2022-05-27T04:42:02.737Z] 3.14: Pulling from library/alpine [2022-05-27T04:42:02.737Z] 8663204ce13b: Pulling fs layer [2022-05-27T04:42:02.737Z] 8663204ce13b: Verifying Checksum [2022-05-27T04:42:02.737Z] 8663204ce13b: Download complete [2022-05-27T04:42:02.737Z] 8663204ce13b: Pull complete [2022-05-27T04:42:02.737Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-27T04:42:02.737Z] Status: Downloaded newer image for alpine:3.14 [2022-05-27T04:42:02.737Z] ---> e04c818066af [2022-05-27T04:42:02.737Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-27T04:42:02.737Z] ---> Running in 73cd767e0514 [2022-05-27T04:42:02.737Z] Removing intermediate container 73cd767e0514 [2022-05-27T04:42:02.737Z] ---> 6eb590964e93 [2022-05-27T04:42:02.737Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:42:02.737Z] ---> Running in a2a0451b195f [2022-05-27T04:42:02.737Z] Removing intermediate container a2a0451b195f [2022-05-27T04:42:02.737Z] ---> 5b390da79278 [2022-05-27T04:42:02.737Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T04:42:02.737Z] ---> Running in f45d62b9ab40 [2022-05-27T04:42:02.998Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-27T04:42:03.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-27T04:42:04.201Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T04:42:04.201Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-27T04:42:04.201Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T04:42:04.463Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-27T04:42:04.463Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T04:42:04.463Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T04:42:04.734Z] Executing busybox-1.33.1-r7.trigger [2022-05-27T04:42:04.734Z] OK: 8 MiB in 20 packages [2022-05-27T04:42:04.994Z] Removing intermediate container f45d62b9ab40 [2022-05-27T04:42:04.994Z] ---> c682c2483ad5 [2022-05-27T04:42:04.994Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-27T04:42:05.578Z] ---> 3d613c04a8ce [2022-05-27T04:42:05.578Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-27T04:42:05.844Z] ---> f2bf6a8b639b [2022-05-27T04:42:05.844Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-27T04:42:05.844Z] ---> 2b55fff58d5d [2022-05-27T04:42:05.844Z] Step 18/23 : EXPOSE 59901 [2022-05-27T04:42:06.105Z] ---> Running in fda9f99df0f8 [2022-05-27T04:42:06.105Z] Removing intermediate container fda9f99df0f8 [2022-05-27T04:42:06.105Z] ---> 77088e203c35 [2022-05-27T04:42:06.105Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-27T04:42:06.105Z] ---> Running in a5f1fe5831bf [2022-05-27T04:42:06.365Z] Removing intermediate container a5f1fe5831bf [2022-05-27T04:42:06.365Z] ---> a46f08e8ab83 [2022-05-27T04:42:06.365Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T04:42:06.365Z] ---> Running in f14f164091f4 [2022-05-27T04:42:06.365Z] Removing intermediate container f14f164091f4 [2022-05-27T04:42:06.365Z] ---> b8df3a5464d3 [2022-05-27T04:42:06.365Z] Step 21/23 : LABEL arch=amd64 [2022-05-27T04:42:06.365Z] ---> Running in 756a04edf301 [2022-05-27T04:42:06.625Z] Removing intermediate container 756a04edf301 [2022-05-27T04:42:06.625Z] ---> e013431d8fff [2022-05-27T04:42:06.625Z] Step 22/23 : LABEL git_sha=9dcdfc84908e93dba46440de00b39d8ed3a2a737 [2022-05-27T04:42:06.625Z] ---> Running in 6e09a7fa8dc5 [2022-05-27T04:42:06.625Z] Removing intermediate container 6e09a7fa8dc5 [2022-05-27T04:42:06.625Z] ---> ed8cf1f036bf [2022-05-27T04:42:06.625Z] Step 23/23 : LABEL version=0.0.0 [2022-05-27T04:42:06.625Z] ---> Running in 5646c400c19c [2022-05-27T04:42:06.886Z] Removing intermediate container 5646c400c19c [2022-05-27T04:42:06.886Z] ---> 9a2cd02ff128 [2022-05-27T04:42:06.886Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T04:42:06.886Z] Successfully built 9a2cd02ff128 [2022-05-27T04:42:06.886Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:42:07.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T04:42:07.322Z] [2022-05-27T04:42:07.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:42:07.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T04:42:07.628Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T04:42:07.628Z] 5eb5b503b376: Pulling fs layer [2022-05-27T04:42:07.628Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T04:42:07.628Z] ec43610c2a17: Pulling fs layer [2022-05-27T04:42:07.628Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T04:42:07.628Z] 33b1e0a273af: Pulling fs layer [2022-05-27T04:42:07.628Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T04:42:07.628Z] 2f39f015ded8: Pulling fs layer [2022-05-27T04:42:07.628Z] 3a2ae6a8a46f: Waiting [2022-05-27T04:42:07.628Z] 33b1e0a273af: Waiting [2022-05-27T04:42:07.628Z] 5d3b04190fa2: Waiting [2022-05-27T04:42:07.628Z] 2f39f015ded8: Waiting [2022-05-27T04:42:07.628Z] 5c69ac0246d0: Verifying Checksum [2022-05-27T04:42:07.628Z] 5c69ac0246d0: Download complete [2022-05-27T04:42:07.628Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-27T04:42:07.628Z] 3a2ae6a8a46f: Download complete [2022-05-27T04:42:07.628Z] 33b1e0a273af: Verifying Checksum [2022-05-27T04:42:07.628Z] 33b1e0a273af: Download complete [2022-05-27T04:42:07.628Z] ec43610c2a17: Verifying Checksum [2022-05-27T04:42:07.628Z] ec43610c2a17: Download complete [2022-05-27T04:42:07.628Z] 5d3b04190fa2: Verifying Checksum [2022-05-27T04:42:07.628Z] 5d3b04190fa2: Download complete [2022-05-27T04:42:07.888Z] 5eb5b503b376: Verifying Checksum [2022-05-27T04:42:07.888Z] 5eb5b503b376: Download complete [2022-05-27T04:42:08.455Z] 2f39f015ded8: Download complete [2022-05-27T04:42:09.023Z] 5eb5b503b376: Pull complete [2022-05-27T04:42:09.282Z] 5c69ac0246d0: Pull complete [2022-05-27T04:42:09.849Z] ec43610c2a17: Pull complete [2022-05-27T04:42:09.849Z] 3a2ae6a8a46f: Pull complete [2022-05-27T04:42:10.108Z] 33b1e0a273af: Pull complete [2022-05-27T04:42:10.108Z] 5d3b04190fa2: Pull complete [2022-05-27T04:42:15.393Z] 2f39f015ded8: Pull complete [2022-05-27T04:42:15.393Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T04:42:15.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T04:42:15.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:42:15.499Z] prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container [2022-05-27T04:42:15.541Z] $ 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/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T04:42:17.424Z] $ docker top 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:42:17.820Z] ---> job-cost.sh [2022-05-27T04:42:17.820Z] lf-activate-venv: SKIPPING [2022-05-27T04:42:17.820Z] INFO: No Stack... [2022-05-27T04:42:18.080Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T04:42:18.649Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T04:42:18.946Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-348/archives/cost.csv [2022-05-27T04:42:18.946Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T04:42:18.960Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [2022-05-27T04:42:18.968Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] did not exist. Created. [2022-05-27T04:42:18.969Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T04:42:19.278Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T04:42:19.311Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T04:42:19.319Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T04:42:19.343Z] $ docker stop --time=1 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 [2022-05-27T04:42:20.531Z] $ docker rm -f 4d4a58991a7fe69c480a6b9980ada4383c65631fa7039346880c53b2a6c95b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-27T04:42:27.640Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-233 in /w/workspace/xfoundry_device-modbus-go_PR-348 [Pipeline] { [Pipeline] ws [2022-05-27T04:42:27.653Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-05-27T04:42:27.689Z] Selected Git installation does not exist. Using Default [2022-05-27T04:42:27.689Z] The recommended git tool is: NONE [2022-05-27T04:42:34.279Z] using credential edgex-jenkins-ssh [2022-05-27T04:42:34.297Z] Cloning the remote Git repository [2022-05-27T04:42:34.358Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-27T04:42:34.427Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-05-27T04:42:34.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-27T04:42:34.536Z] > git --version # timeout=10 [2022-05-27T04:42:34.557Z] > git --version # 'git version 2.25.1' [2022-05-27T04:42:34.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T04:42:34.622Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T04:42:36.229Z] Merging remotes/origin/main commit 0da803b9e852e60e6d0c38932136853af8aaf1e9 into PR head commit 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [2022-05-27T04:42:36.581Z] Merge succeeded, producing 9dcdfc84908e93dba46440de00b39d8ed3a2a737 [2022-05-27T04:42:36.582Z] Checking out Revision 9dcdfc84908e93dba46440de00b39d8ed3a2a737 (PR-348) [2022-05-27T04:42:35.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-27T04:42:35.633Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T04:42:35.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-27T04:42:35.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-27T04:42:35.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T04:42:35.753Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-27T04:42:36.252Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T04:42:36.267Z] > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 [2022-05-27T04:42:36.400Z] > git remote # timeout=10 [2022-05-27T04:42:36.438Z] > git config --get remote.origin.url # timeout=10 [2022-05-27T04:42:36.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T04:42:36.491Z] > git merge 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [2022-05-27T04:42:36.542Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-27T04:42:36.592Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T04:42:36.631Z] > git checkout -f 9dcdfc84908e93dba46440de00b39d8ed3a2a737 # timeout=10 [2022-05-27T04:42:40.867Z] Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T04:42:41.744Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-27T04:42:41.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T04:42:41.744Z] Dload Upload Total Spent Left Speed [2022-05-27T04:42:41.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51054 0 --:--:-- --:--:-- --:--:-- 51054 [Pipeline] sh [2022-05-27T04:42:42.514Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-27T04:42:42.861Z] + sudo tee /etc/docker/daemon.new [2022-05-27T04:42:42.861Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-27T04:42:42.861Z] { [2022-05-27T04:42:42.861Z] "registry-mirrors": [ [2022-05-27T04:42:42.861Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-27T04:42:42.861Z] ], [2022-05-27T04:42:42.861Z] "bip": "10.250.0.254/24", [2022-05-27T04:42:42.861Z] "hosts": [ [2022-05-27T04:42:42.861Z] "tcp://0.0.0.0:5555", [2022-05-27T04:42:42.861Z] "unix:///var/run/docker.sock" [2022-05-27T04:42:42.861Z] ], [2022-05-27T04:42:42.861Z] "mtu": 1458, [2022-05-27T04:42:42.861Z] "selinux-enabled": true, [2022-05-27T04:42:42.861Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-27T04:42:42.861Z] } [Pipeline] sh [2022-05-27T04:42:43.259Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-27T04:42:43.634Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T04:43:01.993Z] provisioning config files... [2022-05-27T04:43:02.029Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config4113331254683154386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:43:02.385Z] ---> docker-login.sh [2022-05-27T04:43:02.385Z] nexus3.edgexfoundry.org:10001 [2022-05-27T04:43:02.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:43:03.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:43:03.256Z] Configure a credential helper to remove this warning. See [2022-05-27T04:43:03.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:43:03.256Z] [2022-05-27T04:43:03.256Z] Login Succeeded [2022-05-27T04:43:03.256Z] nexus3.edgexfoundry.org:10002 [2022-05-27T04:43:03.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:43:03.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:43:03.531Z] Configure a credential helper to remove this warning. See [2022-05-27T04:43:03.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:43:03.531Z] [2022-05-27T04:43:03.806Z] Login Succeeded [2022-05-27T04:43:03.806Z] nexus3.edgexfoundry.org:10003 [2022-05-27T04:43:04.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:43:04.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:43:04.079Z] Configure a credential helper to remove this warning. See [2022-05-27T04:43:04.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:43:04.079Z] [2022-05-27T04:43:04.079Z] Login Succeeded [2022-05-27T04:43:04.079Z] nexus3.edgexfoundry.org:10004 [2022-05-27T04:43:04.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:43:04.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:43:04.633Z] Configure a credential helper to remove this warning. See [2022-05-27T04:43:04.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:43:04.633Z] [2022-05-27T04:43:04.633Z] Login Succeeded [2022-05-27T04:43:04.633Z] docker.io [2022-05-27T04:43:04.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T04:43:05.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T04:43:05.500Z] Configure a credential helper to remove this warning. See [2022-05-27T04:43:05.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T04:43:05.500Z] [2022-05-27T04:43:05.500Z] Login Succeeded [2022-05-27T04:43:05.500Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T04:43:05.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T04:43:06.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T04:43:06.037Z] ========================================================= [2022-05-27T04:43:06.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-27T04:43:06.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:43:06.393Z] + 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-05-27T04:43:06.668Z] Sending build context to Docker daemon 3.031MB [2022-05-27T04:43:06.668Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T04:43:06.668Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-27T04:43:06.946Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-27T04:43:06.946Z] 9b3977197b4f: Pulling fs layer [2022-05-27T04:43:06.946Z] 1a89e8eeedd5: Pulling fs layer [2022-05-27T04:43:06.946Z] 94645a83ff95: Pulling fs layer [2022-05-27T04:43:06.946Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-27T04:43:06.946Z] 0c92f367c5e7: Pulling fs layer [2022-05-27T04:43:06.946Z] 3f3a8bcf1eab: Waiting [2022-05-27T04:43:06.946Z] 3096ccb668a1: Pulling fs layer [2022-05-27T04:43:06.946Z] e8cf19c19ddd: Pulling fs layer [2022-05-27T04:43:06.946Z] a4caa8a26152: Pulling fs layer [2022-05-27T04:43:06.946Z] 0c92f367c5e7: Waiting [2022-05-27T04:43:06.946Z] e8cf19c19ddd: Waiting [2022-05-27T04:43:06.946Z] a4caa8a26152: Waiting [2022-05-27T04:43:06.946Z] 3096ccb668a1: Waiting [2022-05-27T04:43:06.946Z] 94645a83ff95: Verifying Checksum [2022-05-27T04:43:06.946Z] 94645a83ff95: Download complete [2022-05-27T04:43:06.946Z] 1a89e8eeedd5: Download complete [2022-05-27T04:43:06.946Z] 0c92f367c5e7: Download complete [2022-05-27T04:43:06.946Z] 3096ccb668a1: Verifying Checksum [2022-05-27T04:43:06.946Z] 3096ccb668a1: Download complete [2022-05-27T04:43:06.946Z] e8cf19c19ddd: Verifying Checksum [2022-05-27T04:43:06.946Z] e8cf19c19ddd: Download complete [2022-05-27T04:43:06.946Z] 9b3977197b4f: Download complete [2022-05-27T04:43:07.944Z] 9b3977197b4f: Pull complete [2022-05-27T04:43:08.227Z] 1a89e8eeedd5: Pull complete [2022-05-27T04:43:08.504Z] 94645a83ff95: Pull complete [2022-05-27T04:43:09.104Z] a4caa8a26152: Verifying Checksum [2022-05-27T04:43:09.104Z] a4caa8a26152: Download complete [2022-05-27T04:43:09.700Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-27T04:43:09.700Z] 3f3a8bcf1eab: Download complete [2022-05-27T04:43:22.110Z] 3f3a8bcf1eab: Pull complete [2022-05-27T04:43:22.111Z] 0c92f367c5e7: Pull complete [2022-05-27T04:43:22.111Z] 3096ccb668a1: Pull complete [2022-05-27T04:43:22.398Z] e8cf19c19ddd: Pull complete [2022-05-27T04:43:29.146Z] a4caa8a26152: Pull complete [2022-05-27T04:43:29.146Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-27T04:43:29.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-27T04:43:29.146Z] ---> 725f1c02e7f9 [2022-05-27T04:43:29.146Z] Step 3/10 : ARG MAKE='make build' [2022-05-27T04:43:29.747Z] ---> Running in cfd9c5061459 [2022-05-27T04:43:30.023Z] Removing intermediate container cfd9c5061459 [2022-05-27T04:43:30.023Z] ---> 581d4256a761 [2022-05-27T04:43:30.023Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:43:30.023Z] ---> Running in 91e7f8b43b60 [2022-05-27T04:43:32.017Z] Removing intermediate container 91e7f8b43b60 [2022-05-27T04:43:32.017Z] ---> 7320e79b4965 [2022-05-27T04:43:32.017Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-27T04:43:32.017Z] ---> Running in 0228d6c9cda8 [2022-05-27T04:43:32.998Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T04:43:33.596Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T04:43:34.576Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-27T04:43:34.576Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-27T04:43:34.850Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-27T04:43:34.851Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-27T04:43:35.124Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-27T04:43:35.124Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-27T04:43:35.124Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-27T04:43:35.398Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-27T04:43:35.398Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T04:43:35.398Z] OK: 226 MiB in 60 packages [2022-05-27T04:43:36.844Z] Removing intermediate container 0228d6c9cda8 [2022-05-27T04:43:36.844Z] ---> 35e23fb467ba [2022-05-27T04:43:36.844Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-27T04:43:36.844Z] ---> Running in 2fdd8ccf0e4a [2022-05-27T04:43:37.117Z] Removing intermediate container 2fdd8ccf0e4a [2022-05-27T04:43:37.117Z] ---> 2500f041557c [2022-05-27T04:43:37.117Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-27T04:43:37.714Z] ---> 8082972e1abb [2022-05-27T04:43:37.714Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T04:43:37.714Z] ---> Running in 85d1afa09e06 [2022-05-27T04:44:24.730Z] Removing intermediate container 85d1afa09e06 [2022-05-27T04:44:24.730Z] ---> f25dc7b66d73 [2022-05-27T04:44:24.730Z] Step 9/10 : COPY . . [2022-05-27T04:44:24.730Z] ---> 9c23c518dcb9 [2022-05-27T04:44:24.730Z] Step 10/10 : RUN ${MAKE} [2022-05-27T04:44:24.730Z] ---> Running in a1c8560ccd6c [2022-05-27T04:44:24.730Z] noop [2022-05-27T04:44:24.730Z] Removing intermediate container a1c8560ccd6c [2022-05-27T04:44:24.730Z] ---> 36e109a009cf [2022-05-27T04:44:24.730Z] Successfully built 36e109a009cf [2022-05-27T04:44:24.730Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:44:25.097Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T04:44:25.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:44:25.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2022-05-27T04:44:25.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T04:44:26.650Z] $ docker top 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T04:44:27.574Z] + go version [2022-05-27T04:44:27.574Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-27T04:44:27.602Z] $ docker stop --time=1 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 [2022-05-27T04:44:29.212Z] $ docker rm -f 3a0718adbd71e7ba4b1b7540ba93d5f9b4f98435064dc821188f2375fc21bb70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:44:29.783Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T04:44:29.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:44:30.010Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2022-05-27T04:44:30.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T04:44:31.360Z] $ docker top 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T04:44:32.256Z] + make test [2022-05-27T04:44:32.257Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-27T04:44:33.701Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-27T04:45:55.548Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-27T04:45:55.548Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 46.4% of statements [2022-05-27T04:45:55.548Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-27T04:45:55.548Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T04:46:17.783Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T04:46:17.783Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T04:46:17.783Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T04:46:17.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T04:46:17.824Z] $ docker stop --time=1 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 [2022-05-27T04:46:19.565Z] $ docker rm -f 2712144e864119917998f1edc5c431a3b3c79d7d0b1d099d7cc0b3fc4ca227f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T04:46:20.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T04:46:20.497Z] Warning: overwriting stash ‘coverage-report’ [2022-05-27T04:46:20.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T04:46:21.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T04:46:21.692Z] + ls -al . [2022-05-27T04:46:21.692Z] total 180 [2022-05-27T04:46:21.692Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 04:46 . [2022-05-27T04:46:21.692Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:42 .. [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:42 .dockerignore [2022-05-27T04:46:21.692Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:42 .git [2022-05-27T04:46:21.692Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 .github [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 331 May 27 04:42 .gitignore [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:42 .golangci.yml [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 9510 May 27 04:42 Attribution.txt [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 27 04:42 CHANGELOG.md [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 27 04:42 Dockerfile [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:42 GOVERNANCE.md [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 680 May 27 04:42 Jenkinsfile [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:42 LICENSE [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 27 04:42 Makefile [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 622 May 27 04:42 OWNERS.md [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 27 04:42 README.md [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 04:40 VERSION [2022-05-27T04:46:21.692Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:42 bin [2022-05-27T04:46:21.692Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 cmd [2022-05-27T04:46:21.692Z] -rw-r--r-- 1 jenkins jenkins 24065 May 27 04:45 coverage.out [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 27 04:42 go.mod [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 27 04:42 go.sum [2022-05-27T04:46:21.692Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:42 internal [2022-05-27T04:46:21.692Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:42 simulator [2022-05-27T04:46:21.692Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:42 snap [2022-05-27T04:46:21.692Z] -rw-rw-r-- 1 jenkins jenkins 229 May 27 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:46:22.052Z] + 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=9dcdfc84908e93dba46440de00b39d8ed3a2a737 --label arch=arm64 --label version=0.0.0 . [2022-05-27T04:46:22.336Z] Sending build context to Docker daemon 3.056MB [2022-05-27T04:46:22.336Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T04:46:22.336Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-27T04:46:22.336Z] ---> 36e109a009cf [2022-05-27T04:46:22.336Z] Step 3/23 : ARG MAKE='make build' [2022-05-27T04:46:22.609Z] ---> Running in 4a7ead3fe637 [2022-05-27T04:46:22.886Z] Removing intermediate container 4a7ead3fe637 [2022-05-27T04:46:22.886Z] ---> c3820d6e4588 [2022-05-27T04:46:22.886Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:46:22.886Z] ---> Running in 0498658e80d2 [2022-05-27T04:46:24.861Z] Removing intermediate container 0498658e80d2 [2022-05-27T04:46:24.861Z] ---> 2754aed7a626 [2022-05-27T04:46:24.861Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-27T04:46:24.861Z] ---> Running in c001c9d63042 [2022-05-27T04:46:25.456Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T04:46:26.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T04:46:27.428Z] OK: 226 MiB in 60 packages [2022-05-27T04:46:28.030Z] Removing intermediate container c001c9d63042 [2022-05-27T04:46:28.030Z] ---> 9fb59bd9a07f [2022-05-27T04:46:28.030Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-27T04:46:28.030Z] ---> Running in 1acac63b7817 [2022-05-27T04:46:28.302Z] Removing intermediate container 1acac63b7817 [2022-05-27T04:46:28.302Z] ---> fc45ad1ed5ca [2022-05-27T04:46:28.302Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-27T04:46:28.944Z] ---> cf4d6b503d96 [2022-05-27T04:46:28.944Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T04:46:28.944Z] ---> Running in 66c895188767 [2022-05-27T04:46:31.702Z] Removing intermediate container 66c895188767 [2022-05-27T04:46:31.702Z] ---> 6e440fcd866b [2022-05-27T04:46:31.703Z] Step 9/23 : COPY . . [2022-05-27T04:46:32.313Z] ---> f3be54552cf3 [2022-05-27T04:46:32.313Z] Step 10/23 : RUN ${MAKE} [2022-05-27T04:46:32.313Z] ---> Running in d33ebc658e55 [2022-05-27T04:46:33.292Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-27T04:48:40.155Z] Removing intermediate container d33ebc658e55 [2022-05-27T04:48:40.155Z] ---> 3158c3992672 [2022-05-27T04:48:40.155Z] Step 11/23 : FROM alpine:3.14 [2022-05-27T04:48:40.155Z] 3.14: Pulling from library/alpine [2022-05-27T04:48:40.155Z] 455c02918c45: Pulling fs layer [2022-05-27T04:48:40.155Z] 455c02918c45: Verifying Checksum [2022-05-27T04:48:40.155Z] 455c02918c45: Download complete [2022-05-27T04:48:40.155Z] 455c02918c45: Pull complete [2022-05-27T04:48:40.155Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-27T04:48:40.155Z] Status: Downloaded newer image for alpine:3.14 [2022-05-27T04:48:40.155Z] ---> ac73e934f311 [2022-05-27T04:48:40.155Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-27T04:48:40.155Z] ---> Running in 8fc26b2b96b5 [2022-05-27T04:48:40.155Z] Removing intermediate container 8fc26b2b96b5 [2022-05-27T04:48:40.155Z] ---> 920201f27922 [2022-05-27T04:48:40.155Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T04:48:40.155Z] ---> Running in 7a638bf32376 [2022-05-27T04:48:40.155Z] Removing intermediate container 7a638bf32376 [2022-05-27T04:48:40.155Z] ---> 967a654f77c1 [2022-05-27T04:48:40.155Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T04:48:40.155Z] ---> Running in c5cbe6b02742 [2022-05-27T04:48:40.155Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-27T04:48:40.155Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-27T04:48:40.155Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T04:48:40.155Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-27T04:48:40.155Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T04:48:40.155Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-27T04:48:40.155Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T04:48:40.155Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T04:48:40.155Z] Executing busybox-1.33.1-r7.trigger [2022-05-27T04:48:40.155Z] OK: 8 MiB in 20 packages [2022-05-27T04:48:40.155Z] Removing intermediate container c5cbe6b02742 [2022-05-27T04:48:40.155Z] ---> b2c7dc2446b2 [2022-05-27T04:48:40.155Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-27T04:48:40.155Z] ---> c87c865cf30d [2022-05-27T04:48:40.155Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-27T04:48:40.155Z] ---> 9e8c6ff960c8 [2022-05-27T04:48:40.155Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-27T04:48:40.155Z] ---> e3eb568d9f47 [2022-05-27T04:48:40.155Z] Step 18/23 : EXPOSE 59901 [2022-05-27T04:48:40.155Z] ---> Running in ad17522f05bb [2022-05-27T04:48:40.155Z] Removing intermediate container ad17522f05bb [2022-05-27T04:48:40.155Z] ---> f3d7e53b0de1 [2022-05-27T04:48:40.155Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-27T04:48:40.155Z] ---> Running in c99fba168bf6 [2022-05-27T04:48:40.155Z] Removing intermediate container c99fba168bf6 [2022-05-27T04:48:40.155Z] ---> 0a4495dd93d0 [2022-05-27T04:48:40.155Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T04:48:40.155Z] ---> Running in fb1c6a2c3822 [2022-05-27T04:48:40.155Z] Removing intermediate container fb1c6a2c3822 [2022-05-27T04:48:40.155Z] ---> 1fc1900c274f [2022-05-27T04:48:40.155Z] Step 21/23 : LABEL arch=arm64 [2022-05-27T04:48:40.155Z] ---> Running in 45b6754ad600 [2022-05-27T04:48:40.155Z] Removing intermediate container 45b6754ad600 [2022-05-27T04:48:40.155Z] ---> fb860160f2f5 [2022-05-27T04:48:40.155Z] Step 22/23 : LABEL git_sha=9dcdfc84908e93dba46440de00b39d8ed3a2a737 [2022-05-27T04:48:40.155Z] ---> Running in 9174d105d8fe [2022-05-27T04:48:40.155Z] Removing intermediate container 9174d105d8fe [2022-05-27T04:48:40.155Z] ---> a083bad9f9f2 [2022-05-27T04:48:40.155Z] Step 23/23 : LABEL version=0.0.0 [2022-05-27T04:48:40.155Z] ---> Running in 54af936e713d [2022-05-27T04:48:40.155Z] Removing intermediate container 54af936e713d [2022-05-27T04:48:40.155Z] ---> 49285b80a938 [2022-05-27T04:48:40.155Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T04:48:40.155Z] Successfully built 49285b80a938 [2022-05-27T04:48:40.155Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:48:40.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T04:48:40.612Z] [2022-05-27T04:48:40.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:48:40.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T04:48:41.239Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-27T04:48:41.239Z] 8998bd30e6a1: Pulling fs layer [2022-05-27T04:48:41.239Z] 04944245beec: Pulling fs layer [2022-05-27T04:48:41.239Z] 699f458cf7ca: Pulling fs layer [2022-05-27T04:48:41.239Z] 765212b225bb: Pulling fs layer [2022-05-27T04:48:41.239Z] f23df028b6ca: Pulling fs layer [2022-05-27T04:48:41.239Z] d65c8cfc05b1: Pulling fs layer [2022-05-27T04:48:41.239Z] 2437ff75d9bd: Pulling fs layer [2022-05-27T04:48:41.239Z] f23df028b6ca: Waiting [2022-05-27T04:48:41.239Z] d65c8cfc05b1: Waiting [2022-05-27T04:48:41.239Z] 2437ff75d9bd: Waiting [2022-05-27T04:48:41.239Z] 765212b225bb: Waiting [2022-05-27T04:48:41.239Z] 04944245beec: Verifying Checksum [2022-05-27T04:48:41.239Z] 04944245beec: Download complete [2022-05-27T04:48:41.239Z] 765212b225bb: Verifying Checksum [2022-05-27T04:48:41.239Z] 765212b225bb: Download complete [2022-05-27T04:48:41.239Z] f23df028b6ca: Verifying Checksum [2022-05-27T04:48:41.239Z] f23df028b6ca: Download complete [2022-05-27T04:48:41.239Z] d65c8cfc05b1: Verifying Checksum [2022-05-27T04:48:41.239Z] d65c8cfc05b1: Download complete [2022-05-27T04:48:41.520Z] 699f458cf7ca: Verifying Checksum [2022-05-27T04:48:41.803Z] 8998bd30e6a1: Verifying Checksum [2022-05-27T04:48:41.803Z] 8998bd30e6a1: Download complete [2022-05-27T04:48:43.813Z] 2437ff75d9bd: Verifying Checksum [2022-05-27T04:48:43.813Z] 2437ff75d9bd: Download complete [2022-05-27T04:48:46.444Z] 8998bd30e6a1: Pull complete [2022-05-27T04:48:46.720Z] 04944245beec: Pull complete [2022-05-27T04:48:48.165Z] 699f458cf7ca: Pull complete [2022-05-27T04:48:48.436Z] 765212b225bb: Pull complete [2022-05-27T04:48:49.033Z] f23df028b6ca: Pull complete [2022-05-27T04:48:49.305Z] d65c8cfc05b1: Pull complete [2022-05-27T04:49:04.404Z] 2437ff75d9bd: Pull complete [2022-05-27T04:49:04.404Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-27T04:49:04.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T04:49:04.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:49:04.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2022-05-27T04:49:04.743Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-27T04:49:07.288Z] $ docker top e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:08.201Z] ---> job-cost.sh [2022-05-27T04:49:08.201Z] lf-activate-venv: SKIPPING [2022-05-27T04:49:08.201Z] INFO: No Stack... [2022-05-27T04:49:08.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-27T04:49:09.448Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T04:49:10.110Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2022-05-27T04:49:10.110Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T04:49:10.174Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [2022-05-27T04:49:10.180Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] did not exist. Created. [2022-05-27T04:49:10.180Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T04:49:10.857Z] /w/workspace/device-modbus-go/2@tmp/durable-9202f071/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-27T04:49:11.534Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-27T04:49:11.553Z] Warning: overwriting stash ‘stack-cost’ [2022-05-27T04:49:11.600Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T04:49:11.607Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-348-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T04:49:11.626Z] $ docker stop --time=1 e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d [2022-05-27T04:49:13.131Z] $ docker rm -f e046b1e5225726dc3419ee21364f54380090202299cf61574c40a6473b3f5f1d [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-05-27T04:49:13.563Z] provisioning config files... [2022-05-27T04:49:13.589Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config2034570222038377928tmp [Pipeline] { [Pipeline] sh [2022-05-27T04:49:13.906Z] + set +x [2022-05-27T04:49:13.906Z] + curl -s https://codecov.io/bash [2022-05-27T04:49:13.906Z] + bash -s -- [2022-05-27T04:49:13.906Z] [2022-05-27T04:49:13.906Z] _____ _ [2022-05-27T04:49:13.906Z] / ____| | | [2022-05-27T04:49:13.906Z] | | ___ __| | ___ ___ _____ __ [2022-05-27T04:49:13.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-27T04:49:13.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-27T04:49:13.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-27T04:49:13.906Z] Bash-1.0.6 [2022-05-27T04:49:13.906Z] [2022-05-27T04:49:13.906Z] [2022-05-27T04:49:13.906Z] ==> git version 2.25.1 found [2022-05-27T04:49:13.906Z] ==> 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-05-27T04:49:13.906Z] Release-Date: 2020-01-08 [2022-05-27T04:49:13.906Z] 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-05-27T04:49:13.906Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-27T04:49:13.906Z] ==> Jenkins CI detected. [2022-05-27T04:49:13.906Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-348 [2022-05-27T04:49:13.906Z] project root: . [2022-05-27T04:49:13.906Z] --> token set from env [2022-05-27T04:49:13.906Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-27T04:49:13.906Z] ==> Running gcov in . (disable via -X gcov) [2022-05-27T04:49:13.906Z] ==> Python coveragepy not found [2022-05-27T04:49:13.906Z] ==> Searching for coverage reports in: [2022-05-27T04:49:13.906Z] + . [2022-05-27T04:49:13.906Z] -> Found 1 reports [2022-05-27T04:49:13.906Z] ==> Detecting git/mercurial file structure [2022-05-27T04:49:13.906Z] ==> Reading reports [2022-05-27T04:49:13.906Z] + ./coverage.out bytes=24065 [2022-05-27T04:49:13.906Z] ==> Appending adjustments [2022-05-27T04:49:13.906Z] https://docs.codecov.io/docs/fixing-reports [2022-05-27T04:49:14.167Z] + Found adjustments [2022-05-27T04:49:14.167Z] ==> Gzipping contents [2022-05-27T04:49:14.167Z] 4.0K /tmp/codecov.UOPx4c.gz [2022-05-27T04:49:14.167Z] ==> Uploading reports [2022-05-27T04:49:14.167Z] url: https://codecov.io [2022-05-27T04:49:14.167Z] query: branch=PR-348&commit=9dcdfc84908e93dba46440de00b39d8ed3a2a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2022-05-27T04:49:14.167Z] -> Pinging Codecov [2022-05-27T04:49:14.167Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-348&commit=9dcdfc84908e93dba46440de00b39d8ed3a2a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=348&job=&cmd_args= [2022-05-27T04:49:14.426Z] -> Uploading to [2022-05-27T04:49:14.426Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-27/55DBCA73C666E3227836607328DD7E49/9dcdfc84908e93dba46440de00b39d8ed3a2a737/27d28c8f-2a24-4755-b4c5-00a053d7dfbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T044914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ec02dc46d2c3cb919cfaabea9794e057dee7dab0ea4efa7c09b4d6b88efb750 [2022-05-27T04:49:14.426Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T04:49:14.426Z] Dload Upload Total Spent Left Speed [2022-05-27T04:49:14.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 17244 --:--:-- --:--:-- --:--:-- 17244 [2022-05-27T04:49:14.687Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9dcdfc84908e93dba46440de00b39d8ed3a2a737 [Pipeline] } [2022-05-27T04:49:14.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-05-27T04:49:15.296Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-348/archives ] [2022-05-27T04:49:15.296Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives [2022-05-27T04:49:15.296Z] total 16 [2022-05-27T04:49:15.296Z] drwxr-xr-x 3 root root 4096 May 27 04:42 . [2022-05-27T04:49:15.296Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:42 .. [2022-05-27T04:49:15.296Z] drwxr-xr-x 2 root root 4096 May 27 04:42 cost [2022-05-27T04:49:15.296Z] -rw-r--r-- 1 root root 87 May 27 04:42 cost.csv [2022-05-27T04:49:15.296Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-348/archives [2022-05-27T04:49:15.296Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-348/archives [2022-05-27T04:49:15.296Z] total 16 [2022-05-27T04:49:15.296Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:42 . [2022-05-27T04:49:15.296Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:42 .. [2022-05-27T04:49:15.296Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 04:42 cost [2022-05-27T04:49:15.296Z] -rw-r--r-- 1 jenkins jenkins 87 May 27 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:15.595Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:16.459Z] ---> package-listing.sh [2022-05-27T04:49:16.459Z] ++ facter osfamily [2022-05-27T04:49:16.459Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T04:49:16.721Z] + OS_FAMILY=debian [2022-05-27T04:49:16.721Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-348 [2022-05-27T04:49:16.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T04:49:16.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T04:49:16.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T04:49:16.721Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T04:49:16.721Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' [2022-05-27T04:49:16.721Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T04:49:16.721Z] + case "${OS_FAMILY}" in [2022-05-27T04:49:16.721Z] + dpkg -l [2022-05-27T04:49:16.721Z] + grep '^ii' [2022-05-27T04:49:16.721Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T04:49:16.721Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T04:49:16.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T04:49:16.721Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-348 ']' [2022-05-27T04:49:16.721Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ [2022-05-27T04:49:16.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-348/archives/ [Pipeline] echo [2022-05-27T04:49:16.733Z] 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/xfoundry_device-modbus-go_PR-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-27T04:49:17.014Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T04:49:17.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T04:49:17.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T04:49:17.669Z] prd-ubuntu20.04-docker-8c-8g-232 does not seem to be running inside a container [2022-05-27T04:49:17.706Z] $ 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/xfoundry_device-modbus-go_PR-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-348 -v /w/workspace/xfoundry_device-modbus-go_PR-348:/w/workspace/xfoundry_device-modbus-go_PR-348:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-348@tmp:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T04:49:17.971Z] $ docker top fe744c098181259fb015c87e826e9cd2f04141f1e3ed078163819d88e6ac48eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T04:49:18.328Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T04:49:18.614Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T04:49:18.908Z] + ls /var/log/sa-host [2022-05-27T04:49:18.908Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T04:49:18.969Z] provisioning config files... [2022-05-27T04:49:18.977Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-348@tmp/config3886623653438372065tmp [Pipeline] { [Pipeline] echo [2022-05-27T04:49:18.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:19.273Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T04:49:19.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:19.606Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T04:49:19.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:19.901Z] ---> sudo-logs.sh [2022-05-27T04:49:19.901Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T04:49:19.929Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:20.215Z] ---> job-cost.sh [2022-05-27T04:49:20.215Z] lf-activate-venv: SKIPPING [2022-05-27T04:49:20.215Z] DEBUG: total: 0.2199999988079071 [2022-05-27T04:49:20.215Z] INFO: Retrieving Stack Cost... [2022-05-27T04:49:20.785Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T04:49:21.355Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T04:49:21.368Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T04:49:21.654Z] ---> logs-deploy.sh [2022-05-27T04:49:21.654Z] lf-activate-venv: SKIPPING [2022-05-27T04:49:21.654Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-348/2 [2022-05-27T04:49:21.654Z] INFO: archiving workspace using pattern(s): [2022-05-27T04:49:22.597Z] Archives upload complete. [2022-05-27T04:49:22.597Z] INFO: archiving logs to Nexus