Pull request #376 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 323f4912b2f373137d328d6cbdb0db29889eb8b2+892226c059eb5a0163287d1d4603e2b9857b6e84 (727e5b6f19d6736eb9375878dc8221f153e09d8b) 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-ssh11291691738129941352.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11218782109607266713.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14211362948005269389.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9545104668503704117.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8706146528695925072.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1425 in /w/workspace/xfoundry_device-modbus-go_PR-376 [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-376 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit 323f4912b2f373137d328d6cbdb0db29889eb8b2 Merge succeeded, producing 323f4912b2f373137d328d6cbdb0db29889eb8b2 Checking out Revision 323f4912b2f373137d328d6cbdb0db29889eb8b2 (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 09bbd8ba7b43f874768d2cf774a82782b9676b62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T21:09:52.965Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T21:09:53.015Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T21:09:53.034Z] ========================================================= [2022-09-27T21:09:53.034Z] EdgeX Global Pipelines Version Info [2022-09-27T21:09:53.034Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:53.740Z] ------------------- [2022-09-27T21:09:53.740Z] stable info: [2022-09-27T21:09:53.740Z] ------------------- [2022-09-27T21:09:53.740Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T21:09:53.740Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T21:09:53.740Z] Message: update stable to v1.0.239 [2022-09-27T21:09:54.310Z] ------------------- [2022-09-27T21:09:54.310Z] experimental info: [2022-09-27T21:09:54.310Z] ------------------- [2022-09-27T21:09:54.310Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T21:09:54.310Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T21:09:54.310Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T21:09:54.483Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-27T21:09:54.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-27T21:09:54.499Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T21:09:54.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T21:09:54.515Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T21:09:54.523Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T21:09:54.533Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T21:09:54.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T21:09:54.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T21:09:54.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T21:09:54.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T21:09:54.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-27T21:09:54.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T21:09:54.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T21:09:54.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T21:09:54.661Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T21:09:54.677Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T21:09:54.691Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T21:09:54.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T21:09:54.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T21:09:54.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T21:09:54.754Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T21:09:54.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T21:09:54.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T21:09:54.790Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T21:09:54.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T21:09:54.811Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T21:09:54.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo [2022-09-27T21:09:54.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo [2022-09-27T21:09:54.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo [2022-09-27T21:09:54.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo [2022-09-27T21:09:54.853Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 323f491 [Pipeline] echo [2022-09-27T21:09:54.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:09:54.896Z] provisioning config files... [2022-09-27T21:09:54.910Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config14706143072108863967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:55.212Z] ---> docker-login.sh [2022-09-27T21:09:55.212Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:09:55.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:09:55.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:09:55.733Z] Configure a credential helper to remove this warning. See [2022-09-27T21:09:55.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:09:55.733Z] [2022-09-27T21:09:55.733Z] Login Succeeded [2022-09-27T21:09:55.733Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:09:55.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:09:55.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:09:55.733Z] Configure a credential helper to remove this warning. See [2022-09-27T21:09:55.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:09:55.733Z] [2022-09-27T21:09:55.733Z] Login Succeeded [2022-09-27T21:09:55.733Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:09:55.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:09:55.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:09:55.992Z] Configure a credential helper to remove this warning. See [2022-09-27T21:09:55.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:09:55.992Z] [2022-09-27T21:09:55.992Z] Login Succeeded [2022-09-27T21:09:55.992Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:09:55.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:09:55.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:09:55.992Z] Configure a credential helper to remove this warning. See [2022-09-27T21:09:55.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:09:55.992Z] [2022-09-27T21:09:55.992Z] Login Succeeded [2022-09-27T21:09:55.992Z] docker.io [2022-09-27T21:09:55.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:09:56.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:09:56.560Z] Configure a credential helper to remove this warning. See [2022-09-27T21:09:56.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:09:56.560Z] [2022-09-27T21:09:56.560Z] Login Succeeded [2022-09-27T21:09:56.560Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:09:56.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T21:09:56.916Z] + git rev-list -1 --merges 323f4912b2f373137d328d6cbdb0db29889eb8b2~1..323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo [2022-09-27T21:09:56.947Z] -----------> git rev-list -1 --merges 323f4912b2f373137d328d6cbdb0db29889eb8b2~1..323f4912b2f373137d328d6cbdb0db29889eb8b2 323f4912b2f373137d328d6cbdb0db29889eb8b2 [false] [Pipeline] sh [2022-09-27T21:09:57.242Z] + git log --format=format:%s -1 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo [2022-09-27T21:09:57.257Z] ========================================================= [2022-09-27T21:09:57.257Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T21:09:57.257Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:09:57.570Z] + git log --format=format:%s -1 323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] echo [2022-09-27T21:09:57.581Z] [semverPrep] GIT_COMMIT: 323f4912b2f373137d328d6cbdb0db29889eb8b2, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-27T21:09:57.588Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T21:09:57.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T21:09:57.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T21:09:57.935Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T21:09:57.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T21:09:57.935Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T21:09:57.935Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T21:09:57.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:09:58.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:09:58.278Z] [2022-09-27T21:09:58.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:09:58.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:09:58.578Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T21:09:58.578Z] b85a868b505f: Pulling fs layer [2022-09-27T21:09:58.578Z] e2be974225ed: Pulling fs layer [2022-09-27T21:09:58.578Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T21:09:58.578Z] 988bab9f4d93: Pulling fs layer [2022-09-27T21:09:58.578Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T21:09:58.578Z] eaf3925da568: Pulling fs layer [2022-09-27T21:09:58.578Z] bab4dde63d76: Pulling fs layer [2022-09-27T21:09:58.578Z] bde34c3a00c8: Pulling fs layer [2022-09-27T21:09:58.578Z] b352a97aabf1: Pulling fs layer [2022-09-27T21:09:58.578Z] 988bab9f4d93: Waiting [2022-09-27T21:09:58.578Z] 4872d77fe225: Pulling fs layer [2022-09-27T21:09:58.578Z] 5851b861e8e6: Pulling fs layer [2022-09-27T21:09:58.578Z] 1469e6f7b9e6: Waiting [2022-09-27T21:09:58.578Z] bde34c3a00c8: Waiting [2022-09-27T21:09:58.578Z] bab4dde63d76: Waiting [2022-09-27T21:09:58.578Z] b352a97aabf1: Waiting [2022-09-27T21:09:58.578Z] 4872d77fe225: Waiting [2022-09-27T21:09:58.578Z] 5851b861e8e6: Waiting [2022-09-27T21:09:58.578Z] eaf3925da568: Waiting [2022-09-27T21:09:58.578Z] e2be974225ed: Download complete [2022-09-27T21:09:58.578Z] 988bab9f4d93: Download complete [2022-09-27T21:09:58.839Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T21:09:58.839Z] 1469e6f7b9e6: Download complete [2022-09-27T21:09:58.839Z] eaf3925da568: Download complete [2022-09-27T21:09:58.839Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T21:09:58.839Z] 339a4e72a1f5: Download complete [2022-09-27T21:09:58.839Z] bde34c3a00c8: Download complete [2022-09-27T21:09:58.839Z] b352a97aabf1: Verifying Checksum [2022-09-27T21:09:58.839Z] b352a97aabf1: Download complete [2022-09-27T21:09:58.839Z] 4872d77fe225: Verifying Checksum [2022-09-27T21:09:58.839Z] 4872d77fe225: Download complete [2022-09-27T21:09:58.839Z] 5851b861e8e6: Verifying Checksum [2022-09-27T21:09:58.839Z] 5851b861e8e6: Download complete [2022-09-27T21:09:58.839Z] b85a868b505f: Verifying Checksum [2022-09-27T21:09:58.839Z] b85a868b505f: Download complete [2022-09-27T21:09:59.098Z] bab4dde63d76: Verifying Checksum [2022-09-27T21:09:59.098Z] bab4dde63d76: Download complete [2022-09-27T21:10:00.033Z] b85a868b505f: Pull complete [2022-09-27T21:10:00.293Z] e2be974225ed: Pull complete [2022-09-27T21:10:01.674Z] 339a4e72a1f5: Pull complete [2022-09-27T21:10:01.674Z] 988bab9f4d93: Pull complete [2022-09-27T21:10:01.947Z] 1469e6f7b9e6: Pull complete [2022-09-27T21:10:02.207Z] eaf3925da568: Pull complete [2022-09-27T21:10:04.141Z] bab4dde63d76: Pull complete [2022-09-27T21:10:04.141Z] bde34c3a00c8: Pull complete [2022-09-27T21:10:04.141Z] b352a97aabf1: Pull complete [2022-09-27T21:10:04.141Z] 4872d77fe225: Pull complete [2022-09-27T21:10:04.141Z] 5851b861e8e6: Pull complete [2022-09-27T21:10:04.141Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T21:10:04.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T21:10:04.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:10:04.226Z] prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container [2022-09-27T21:10:04.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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-devops/py-git-semver:0.1.4 cat [2022-09-27T21:10:05.486Z] $ docker top a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 -eo pid,comm [2022-09-27T21:10:05.543Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T21:10:05.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T21:10:05.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T21:10:05.577Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T21:10:05.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T21:10:05.700Z] $ docker exec a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent [2022-09-27T21:10:05.818Z] SSH_AUTH_SOCK=/tmp/ssh-fon5s2rkgwRw/agent.32 [2022-09-27T21:10:05.818Z] SSH_AGENT_PID=38 [2022-09-27T21:10:05.824Z] Running ssh-add (command line suppressed) [2022-09-27T21:10:05.944Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_11749535235359094565.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_11749535235359094565.key) [2022-09-27T21:10:05.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T21:10:06.239Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T21:10:06.253Z] $ docker exec --env ******** --env ******** a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent -k [2022-09-27T21:10:06.355Z] unset SSH_AUTH_SOCK; [2022-09-27T21:10:06.355Z] unset SSH_AGENT_PID; [2022-09-27T21:10:06.356Z] echo Agent pid 38 killed; [2022-09-27T21:10:06.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T21:10:06.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T21:10:06.394Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T21:10:06.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T21:10:06.509Z] $ docker exec a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent [2022-09-27T21:10:06.621Z] SSH_AUTH_SOCK=/tmp/ssh-YEM5wYymg9Z1/agent.70 [2022-09-27T21:10:06.621Z] SSH_AGENT_PID=76 [2022-09-27T21:10:06.625Z] Running ssh-add (command line suppressed) [2022-09-27T21:10:06.724Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_2739309191239897862.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_2739309191239897862.key) [2022-09-27T21:10:06.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T21:10:07.027Z] + git semver init [2022-09-27T21:10:07.286Z] 2022-09-27 21:10:07,201 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T21:10:07.286Z] 2022-09-27 21:10:07,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-27T21:10:07.286Z] 2022-09-27 21:10:07,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-27T21:10:07.286Z] 2022-09-27 21:10:07,203 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-376/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376, universal_newlines=False, shell=None, istream=None) [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,033 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,034 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,038 [execute] INFO git cat-file --batch-check [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,045 [execute] INFO git cat-file --batch [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T21:10:08.223Z] 2022-09-27 21:10:08,051 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-27T21:10:08.223Z] 0.0.0 [Pipeline] } [2022-09-27T21:10:08.233Z] $ docker exec --env ******** --env ******** a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 ssh-agent -k [2022-09-27T21:10:08.341Z] unset SSH_AUTH_SOCK; [2022-09-27T21:10:08.342Z] unset SSH_AGENT_PID; [2022-09-27T21:10:08.342Z] echo Agent pid 76 killed; [2022-09-27T21:10:08.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T21:10:08.645Z] + git semver [Pipeline] } [2022-09-27T21:10:08.918Z] $ docker stop --time=1 a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 [2022-09-27T21:10:10.249Z] $ docker rm -f a4511ceca8191f15f8fbb736413d1056b63438ed0875f147c7351a6d1fbbf297 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:10:10.582Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T21:10:10.752Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T21:10:10.754Z] [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-09-27T21:10:10.866Z] provisioning config files... [2022-09-27T21:10:10.874Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config16565037948656275488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:11.167Z] ---> docker-login.sh [2022-09-27T21:10:11.167Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:10:11.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:10:11.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:10:11.167Z] Configure a credential helper to remove this warning. See [2022-09-27T21:10:11.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:10:11.167Z] [2022-09-27T21:10:11.167Z] Login Succeeded [2022-09-27T21:10:11.167Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:10:11.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:10:11.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:10:11.167Z] Configure a credential helper to remove this warning. See [2022-09-27T21:10:11.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:10:11.167Z] [2022-09-27T21:10:11.167Z] Login Succeeded [2022-09-27T21:10:11.167Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:10:11.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:10:11.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:10:11.427Z] Configure a credential helper to remove this warning. See [2022-09-27T21:10:11.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:10:11.427Z] [2022-09-27T21:10:11.427Z] Login Succeeded [2022-09-27T21:10:11.427Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:10:11.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:10:11.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:10:11.427Z] Configure a credential helper to remove this warning. See [2022-09-27T21:10:11.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:10:11.427Z] [2022-09-27T21:10:11.427Z] Login Succeeded [2022-09-27T21:10:11.427Z] docker.io [2022-09-27T21:10:11.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:10:11.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:10:11.947Z] Configure a credential helper to remove this warning. See [2022-09-27T21:10:11.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:10:11.947Z] [2022-09-27T21:10:11.947Z] Login Succeeded [2022-09-27T21:10:11.947Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:10:11.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:10:12.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:10:12.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:10:12.042Z] ========================================================= [2022-09-27T21:10:12.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T21:10:12.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:10:12.352Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T21:10:12.352Z] Sending build context to Docker daemon 6.157MB [2022-09-27T21:10:12.352Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:10:12.352Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T21:10:12.922Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T21:10:12.922Z] 2408cc74d12b: Pulling fs layer [2022-09-27T21:10:12.922Z] ea60b727a1ce: Pulling fs layer [2022-09-27T21:10:12.922Z] 30c4a7721957: Pulling fs layer [2022-09-27T21:10:12.922Z] 370296b7ddb6: Pulling fs layer [2022-09-27T21:10:12.922Z] 7c6cee850709: Pulling fs layer [2022-09-27T21:10:12.922Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T21:10:12.922Z] d94ebbe4e438: Pulling fs layer [2022-09-27T21:10:12.922Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T21:10:12.922Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T21:10:12.922Z] 7c6cee850709: Waiting [2022-09-27T21:10:12.922Z] 39a5fcdaea64: Waiting [2022-09-27T21:10:12.922Z] bcfd1f05c69d: Waiting [2022-09-27T21:10:12.922Z] 59ccb84bbe0f: Waiting [2022-09-27T21:10:12.922Z] 370296b7ddb6: Waiting [2022-09-27T21:10:12.922Z] d94ebbe4e438: Waiting [2022-09-27T21:10:12.922Z] 30c4a7721957: Download complete [2022-09-27T21:10:12.922Z] ea60b727a1ce: Verifying Checksum [2022-09-27T21:10:12.922Z] ea60b727a1ce: Download complete [2022-09-27T21:10:12.922Z] 7c6cee850709: Verifying Checksum [2022-09-27T21:10:12.922Z] 7c6cee850709: Download complete [2022-09-27T21:10:12.922Z] 39a5fcdaea64: Download complete [2022-09-27T21:10:13.181Z] 2408cc74d12b: Verifying Checksum [2022-09-27T21:10:13.181Z] 2408cc74d12b: Download complete [2022-09-27T21:10:13.181Z] d94ebbe4e438: Download complete [2022-09-27T21:10:13.181Z] 2408cc74d12b: Pull complete [2022-09-27T21:10:13.440Z] ea60b727a1ce: Pull complete [2022-09-27T21:10:13.440Z] 30c4a7721957: Pull complete [2022-09-27T21:10:14.009Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T21:10:14.009Z] 59ccb84bbe0f: Download complete [2022-09-27T21:10:14.009Z] 370296b7ddb6: Verifying Checksum [2022-09-27T21:10:14.009Z] 370296b7ddb6: Download complete [2022-09-27T21:10:14.267Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T21:10:14.267Z] bcfd1f05c69d: Download complete [2022-09-27T21:10:18.450Z] 370296b7ddb6: Pull complete [2022-09-27T21:10:18.450Z] 7c6cee850709: Pull complete [2022-09-27T21:10:18.450Z] 39a5fcdaea64: Pull complete [2022-09-27T21:10:18.450Z] d94ebbe4e438: Pull complete [2022-09-27T21:10:20.353Z] bcfd1f05c69d: Pull complete [2022-09-27T21:10:20.921Z] 59ccb84bbe0f: Pull complete [2022-09-27T21:10:20.921Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T21:10:20.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T21:10:20.921Z] ---> a4fb48ad2a94 [2022-09-27T21:10:20.921Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:10:22.297Z] ---> Running in f659f7601fe8 [2022-09-27T21:10:22.297Z] Removing intermediate container f659f7601fe8 [2022-09-27T21:10:22.297Z] ---> 2630bfa19d71 [2022-09-27T21:10:22.297Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:10:22.555Z] ---> Running in 2292c2bd10a7 [2022-09-27T21:10:22.555Z] Removing intermediate container 2292c2bd10a7 [2022-09-27T21:10:22.555Z] ---> 92e7eb0b7037 [2022-09-27T21:10:22.555Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:10:22.555Z] ---> Running in e54f7ddc6c93 [2022-09-27T21:10:23.125Z] Removing intermediate container e54f7ddc6c93 [2022-09-27T21:10:23.125Z] ---> cce4b4bb5df7 [2022-09-27T21:10:23.125Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T21:10:24.062Z] ---> Running in 0a8d2040348f [2022-09-27T21:10:24.320Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:10:25.264Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:10:25.831Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T21:10:25.831Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-27T21:10:25.831Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T21:10:25.840Z] Still waiting to schedule task [2022-09-27T21:10:25.841Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T21:10:26.089Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T21:10:26.089Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-27T21:10:26.089Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-27T21:10:26.347Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-27T21:10:26.347Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-27T21:10:26.347Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T21:10:26.347Z] OK: 217 MiB in 59 packages [2022-09-27T21:10:26.913Z] Removing intermediate container 0a8d2040348f [2022-09-27T21:10:26.913Z] ---> c6b42a1cecd5 [2022-09-27T21:10:26.913Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-27T21:10:26.913Z] ---> Running in b23fbf227af1 [2022-09-27T21:10:26.914Z] Removing intermediate container b23fbf227af1 [2022-09-27T21:10:26.914Z] ---> 44d0635fa251 [2022-09-27T21:10:26.914Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T21:10:27.174Z] ---> d3bb61cb40a3 [2022-09-27T21:10:27.174Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:10:27.174Z] ---> Running in 5d55a8f70857 [2022-09-27T21:10:42.057Z] Removing intermediate container 5d55a8f70857 [2022-09-27T21:10:42.057Z] ---> 23ab83c10760 [2022-09-27T21:10:42.057Z] Step 10/11 : COPY . . [2022-09-27T21:10:42.057Z] ---> 30a3531b297e [2022-09-27T21:10:42.057Z] Step 11/11 : RUN ${MAKE} [2022-09-27T21:10:42.057Z] ---> Running in 6c0b58ec3141 [2022-09-27T21:10:42.057Z] noop [2022-09-27T21:10:42.057Z] Removing intermediate container 6c0b58ec3141 [2022-09-27T21:10:42.057Z] ---> 21ee01b9134b [2022-09-27T21:10:42.057Z] Successfully built 21ee01b9134b [2022-09-27T21:10:42.057Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:10:42.376Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T21:10:42.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:10:42.443Z] prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container [2022-09-27T21:10:42.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T21:10:42.818Z] $ docker top 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:10:43.154Z] + go version [2022-09-27T21:10:43.154Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T21:10:43.165Z] $ docker stop --time=1 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 [2022-09-27T21:10:44.424Z] $ docker rm -f 798e5315d9a50311729cfb39a295f474156b458239b00ee7d74b4c51ba9f4405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:10:44.790Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T21:10:44.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:10:44.847Z] prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container [2022-09-27T21:10:44.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T21:10:45.208Z] $ docker top 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:10:45.547Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:10:45.842Z] + make test [2022-09-27T21:10:45.842Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T21:10:46.101Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-27T21:10:56.072Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-27T21:10:56.072Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2022-09-27T21:11:01.330Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T21:11:01.330Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:11:04.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:11:04.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:11:04.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:11:04.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:11:04.638Z] $ docker stop --time=1 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f [2022-09-27T21:11:06.284Z] $ docker rm -f 215125e613e246a07a56652fc2abc83e96865c7386c25064348b1941ca30dd8f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:11:06.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:11:06.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T21:11:07.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:11:07.461Z] + ls -al . [2022-09-27T21:11:07.461Z] total 188 [2022-09-27T21:11:07.461Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:10 . [2022-09-27T21:11:07.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:09 .. [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:09 .dockerignore [2022-09-27T21:11:07.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:10 .git [2022-09-27T21:11:07.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 .github [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:09 .gitignore [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:09 .golangci.yml [2022-09-27T21:11:07.461Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:10 .semver [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:09 Attribution.txt [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:09 CHANGELOG.md [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:09 Dockerfile [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:09 GOVERNANCE.md [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:09 Jenkinsfile [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:09 LICENSE [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:09 Makefile [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:09 OWNERS.md [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:09 README.md [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:10 VERSION [2022-09-27T21:11:07.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:09 bin [2022-09-27T21:11:07.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 cmd [2022-09-27T21:11:07.461Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:10 coverage.out [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:09 go.mod [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:09 go.sum [2022-09-27T21:11:07.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:09 internal [2022-09-27T21:11:07.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:09 simulator [2022-09-27T21:11:07.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:09 snap [2022-09-27T21:11:07.461Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:11:07.759Z] + 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=323f4912b2f373137d328d6cbdb0db29889eb8b2 --label arch=amd64 --label version=0.0.0 . [2022-09-27T21:11:07.759Z] Sending build context to Docker daemon 6.181MB [2022-09-27T21:11:07.759Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:11:07.759Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-27T21:11:07.759Z] ---> 21ee01b9134b [2022-09-27T21:11:07.759Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:11:07.759Z] ---> Running in ee2c909c61a1 [2022-09-27T21:11:08.019Z] Removing intermediate container ee2c909c61a1 [2022-09-27T21:11:08.019Z] ---> 79d5b7f1919e [2022-09-27T21:11:08.019Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:11:08.019Z] ---> Running in c54c4159bbba [2022-09-27T21:11:08.019Z] Removing intermediate container c54c4159bbba [2022-09-27T21:11:08.019Z] ---> 13f05adb0ba8 [2022-09-27T21:11:08.019Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:11:08.019Z] ---> Running in 60919a6db695 [2022-09-27T21:11:08.587Z] Removing intermediate container 60919a6db695 [2022-09-27T21:11:08.587Z] ---> 0e01d65451fc [2022-09-27T21:11:08.587Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T21:11:08.587Z] ---> Running in 5173d591cecb [2022-09-27T21:11:08.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:11:09.780Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:11:10.039Z] OK: 217 MiB in 59 packages [2022-09-27T21:11:10.298Z] Removing intermediate container 5173d591cecb [2022-09-27T21:11:10.298Z] ---> f8568a950c64 [2022-09-27T21:11:10.298Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-27T21:11:10.298Z] ---> Running in be55a0d17bd8 [2022-09-27T21:11:10.558Z] Removing intermediate container be55a0d17bd8 [2022-09-27T21:11:10.558Z] ---> 978f368aef53 [2022-09-27T21:11:10.558Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-27T21:11:10.558Z] ---> b9777eaccfd9 [2022-09-27T21:11:10.558Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:11:10.558Z] ---> Running in b0adfc8807ed [2022-09-27T21:11:11.496Z] Removing intermediate container b0adfc8807ed [2022-09-27T21:11:11.496Z] ---> acffcd93dd28 [2022-09-27T21:11:11.496Z] Step 10/24 : COPY . . [2022-09-27T21:11:11.496Z] ---> 6e9dedbd8a9a [2022-09-27T21:11:11.496Z] Step 11/24 : RUN ${MAKE} [2022-09-27T21:11:11.496Z] ---> Running in bc1e52859a52 [2022-09-27T21:11:11.753Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-09-27T21:11:33.669Z] Removing intermediate container bc1e52859a52 [2022-09-27T21:11:33.669Z] ---> 349077050f2d [2022-09-27T21:11:33.669Z] Step 12/24 : FROM alpine:3.14 [2022-09-27T21:11:33.669Z] 3.14: Pulling from library/alpine [2022-09-27T21:11:33.669Z] c7ed990a2339: Pulling fs layer [2022-09-27T21:11:33.669Z] c7ed990a2339: Verifying Checksum [2022-09-27T21:11:33.669Z] c7ed990a2339: Download complete [2022-09-27T21:11:33.669Z] c7ed990a2339: Pull complete [2022-09-27T21:11:33.669Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-27T21:11:33.669Z] Status: Downloaded newer image for alpine:3.14 [2022-09-27T21:11:33.669Z] ---> dd53f409bf0b [2022-09-27T21:11:33.669Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-27T21:11:33.669Z] ---> Running in 4a33cfaf1688 [2022-09-27T21:11:33.669Z] Removing intermediate container 4a33cfaf1688 [2022-09-27T21:11:33.669Z] ---> a260eda429f5 [2022-09-27T21:11:33.669Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:11:33.669Z] ---> Running in 50ff7fddd8b9 [2022-09-27T21:11:33.669Z] Removing intermediate container 50ff7fddd8b9 [2022-09-27T21:11:33.669Z] ---> 2e09d00b0190 [2022-09-27T21:11:33.669Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:11:33.669Z] ---> Running in 1b36ded35548 [2022-09-27T21:11:33.669Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:11:33.669Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:11:33.669Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:11:33.669Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-27T21:11:33.669Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:11:33.927Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-27T21:11:33.927Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:11:33.927Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:11:34.185Z] Executing busybox-1.33.1-r8.trigger [2022-09-27T21:11:34.185Z] OK: 8 MiB in 20 packages [2022-09-27T21:11:34.443Z] Removing intermediate container 1b36ded35548 [2022-09-27T21:11:34.443Z] ---> a717024feb64 [2022-09-27T21:11:34.443Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-27T21:11:35.014Z] ---> d87be98939d8 [2022-09-27T21:11:35.014Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-27T21:11:35.014Z] ---> 52891a60d9c2 [2022-09-27T21:11:35.014Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-27T21:11:35.272Z] ---> 0c51e525916f [2022-09-27T21:11:35.272Z] Step 19/24 : EXPOSE 59901 [2022-09-27T21:11:35.272Z] ---> Running in 2013a7332490 [2022-09-27T21:11:35.272Z] Removing intermediate container 2013a7332490 [2022-09-27T21:11:35.272Z] ---> 6005c39132e8 [2022-09-27T21:11:35.272Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-27T21:11:35.272Z] ---> Running in c1dd627203b2 [2022-09-27T21:11:35.535Z] Removing intermediate container c1dd627203b2 [2022-09-27T21:11:35.535Z] ---> e92efe7b8cfb [2022-09-27T21:11:35.535Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:11:35.535Z] ---> Running in 6c9981cb6468 [2022-09-27T21:11:35.535Z] Removing intermediate container 6c9981cb6468 [2022-09-27T21:11:35.535Z] ---> 163e4bd84cb7 [2022-09-27T21:11:35.535Z] Step 22/24 : LABEL arch=amd64 [2022-09-27T21:11:35.535Z] ---> Running in 3d20ed6cbc0d [2022-09-27T21:11:35.535Z] Removing intermediate container 3d20ed6cbc0d [2022-09-27T21:11:35.535Z] ---> 6606832f204e [2022-09-27T21:11:35.535Z] Step 23/24 : LABEL git_sha=323f4912b2f373137d328d6cbdb0db29889eb8b2 [2022-09-27T21:11:35.793Z] ---> Running in 4219cce76094 [2022-09-27T21:11:35.793Z] Removing intermediate container 4219cce76094 [2022-09-27T21:11:35.793Z] ---> 1b8440e730fc [2022-09-27T21:11:35.793Z] Step 24/24 : LABEL version=0.0.0 [2022-09-27T21:11:35.793Z] ---> Running in a5cdc65a7310 [2022-09-27T21:11:35.793Z] Removing intermediate container a5cdc65a7310 [2022-09-27T21:11:35.793Z] ---> 8f7a0ed97728 [2022-09-27T21:11:35.793Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:11:35.793Z] Successfully built 8f7a0ed97728 [2022-09-27T21:11:35.793Z] 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-09-27T21:11:36.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:11:36.207Z] [2022-09-27T21:11:36.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:11:36.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:11:36.498Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T21:11:36.498Z] 5eb5b503b376: Pulling fs layer [2022-09-27T21:11:36.498Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T21:11:36.498Z] ec43610c2a17: Pulling fs layer [2022-09-27T21:11:36.498Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T21:11:36.498Z] 33b1e0a273af: Pulling fs layer [2022-09-27T21:11:36.498Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T21:11:36.498Z] 2f39f015ded8: Pulling fs layer [2022-09-27T21:11:36.498Z] 3a2ae6a8a46f: Waiting [2022-09-27T21:11:36.498Z] 2f39f015ded8: Waiting [2022-09-27T21:11:36.498Z] 33b1e0a273af: Waiting [2022-09-27T21:11:36.498Z] 5d3b04190fa2: Waiting [2022-09-27T21:11:36.498Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T21:11:36.498Z] 5c69ac0246d0: Download complete [2022-09-27T21:11:36.498Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T21:11:36.498Z] 3a2ae6a8a46f: Download complete [2022-09-27T21:11:36.498Z] 33b1e0a273af: Verifying Checksum [2022-09-27T21:11:36.498Z] 33b1e0a273af: Download complete [2022-09-27T21:11:36.759Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T21:11:36.759Z] 5d3b04190fa2: Download complete [2022-09-27T21:11:36.759Z] ec43610c2a17: Verifying Checksum [2022-09-27T21:11:36.759Z] ec43610c2a17: Download complete [2022-09-27T21:11:36.759Z] 5eb5b503b376: Verifying Checksum [2022-09-27T21:11:36.759Z] 5eb5b503b376: Download complete [2022-09-27T21:11:37.325Z] 2f39f015ded8: Download complete [2022-09-27T21:11:37.890Z] 5eb5b503b376: Pull complete [2022-09-27T21:11:37.890Z] 5c69ac0246d0: Pull complete [2022-09-27T21:11:38.457Z] ec43610c2a17: Pull complete [2022-09-27T21:11:38.457Z] 3a2ae6a8a46f: Pull complete [2022-09-27T21:11:38.718Z] 33b1e0a273af: Pull complete [2022-09-27T21:11:38.718Z] 5d3b04190fa2: Pull complete [2022-09-27T21:11:42.905Z] 2f39f015ded8: Pull complete [2022-09-27T21:11:42.905Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T21:11:42.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:11:42.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:11:42.973Z] prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container [2022-09-27T21:11:43.001Z] $ 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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:11:44.339Z] $ docker top efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:11:44.713Z] ---> job-cost.sh [2022-09-27T21:11:44.713Z] lf-activate-venv: SKIPPING [2022-09-27T21:11:44.713Z] INFO: No Stack... [2022-09-27T21:11:44.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:11:45.541Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:11:45.830Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv [2022-09-27T21:11:45.830Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:11:45.842Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [2022-09-27T21:11:45.852Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] did not exist. Created. [2022-09-27T21:11:45.852Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:11:46.147Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T21:11:46.168Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:11:46.173Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:11:46.189Z] $ docker stop --time=1 efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 [2022-09-27T21:11:47.352Z] $ docker rm -f efe8f841f42fea51b3bde524fa38b788d12f550e85f413f413060b85e731ad10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T21:12:00.864Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1427 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws [2022-09-27T21:12:00.874Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-09-27T21:12:00.908Z] Selected Git installation does not exist. Using Default [2022-09-27T21:12:00.909Z] The recommended git tool is: NONE [2022-09-27T21:12:06.087Z] using credential edgex-jenkins-ssh [2022-09-27T21:12:06.106Z] Cloning the remote Git repository [2022-09-27T21:12:06.155Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T21:12:06.239Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-09-27T21:12:06.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T21:12:06.407Z] > git --version # timeout=10 [2022-09-27T21:12:06.431Z] > git --version # 'git version 2.25.1' [2022-09-27T21:12:06.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:12:06.486Z] Verifying host key using known hosts file [2022-09-27T21:12:06.696Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:12:06.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:12:07.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-27T21:12:07.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:12:09.411Z] Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit 323f4912b2f373137d328d6cbdb0db29889eb8b2 [2022-09-27T21:12:08.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-27T21:12:08.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T21:12:08.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:12:08.758Z] Verifying host key using known hosts file [2022-09-27T21:12:08.765Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:12:08.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T21:12:09.431Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:12:09.458Z] > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 [2022-09-27T21:12:09.541Z] > git remote # timeout=10 [2022-09-27T21:12:09.559Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T21:12:09.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:12:09.582Z] Verifying host key using known hosts file [2022-09-27T21:12:09.586Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T21:12:09.594Z] > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 [2022-09-27T21:12:09.638Z] Merge succeeded, producing 323f4912b2f373137d328d6cbdb0db29889eb8b2 [2022-09-27T21:12:09.639Z] Checking out Revision 323f4912b2f373137d328d6cbdb0db29889eb8b2 (PR-376) [2022-09-27T21:12:09.623Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T21:12:09.647Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:12:09.665Z] > git checkout -f 323f4912b2f373137d328d6cbdb0db29889eb8b2 # timeout=10 [2022-09-27T21:12:13.147Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:12:14.044Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T21:12:14.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:12:14.044Z] Dload Upload Total Spent Left Speed [2022-09-27T21:12:14.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-09-27T21:12:14.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T21:12:15.098Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T21:12:15.098Z] + sudo tee /etc/docker/daemon.new [2022-09-27T21:12:15.098Z] { [2022-09-27T21:12:15.098Z] "registry-mirrors": [ [2022-09-27T21:12:15.098Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T21:12:15.098Z] ], [2022-09-27T21:12:15.098Z] "bip": "10.250.0.254/24", [2022-09-27T21:12:15.098Z] "hosts": [ [2022-09-27T21:12:15.098Z] "tcp://0.0.0.0:5555", [2022-09-27T21:12:15.098Z] "unix:///var/run/docker.sock" [2022-09-27T21:12:15.098Z] ], [2022-09-27T21:12:15.098Z] "mtu": 1458, [2022-09-27T21:12:15.098Z] "selinux-enabled": true, [2022-09-27T21:12:15.098Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T21:12:15.098Z] } [Pipeline] sh [2022-09-27T21:12:15.440Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T21:12:15.768Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:12:34.014Z] provisioning config files... [2022-09-27T21:12:34.038Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config1644768607087930624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:12:34.380Z] ---> docker-login.sh [2022-09-27T21:12:34.380Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:12:34.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:12:34.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:12:34.926Z] Configure a credential helper to remove this warning. See [2022-09-27T21:12:34.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:12:34.926Z] [2022-09-27T21:12:34.926Z] Login Succeeded [2022-09-27T21:12:34.926Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:12:35.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:12:35.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:12:35.463Z] Configure a credential helper to remove this warning. See [2022-09-27T21:12:35.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:12:35.463Z] [2022-09-27T21:12:35.463Z] Login Succeeded [2022-09-27T21:12:35.463Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:12:35.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:12:35.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:12:35.733Z] Configure a credential helper to remove this warning. See [2022-09-27T21:12:35.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:12:35.733Z] [2022-09-27T21:12:35.733Z] Login Succeeded [2022-09-27T21:12:35.733Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:12:36.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:12:36.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:12:36.002Z] Configure a credential helper to remove this warning. See [2022-09-27T21:12:36.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:12:36.002Z] [2022-09-27T21:12:36.002Z] Login Succeeded [2022-09-27T21:12:36.002Z] docker.io [2022-09-27T21:12:36.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:12:36.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:12:36.855Z] Configure a credential helper to remove this warning. See [2022-09-27T21:12:36.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:12:36.855Z] [2022-09-27T21:12:36.855Z] Login Succeeded [2022-09-27T21:12:36.855Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:12:36.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:12:37.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:12:37.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:12:37.053Z] ========================================================= [2022-09-27T21:12:37.053Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T21:12:37.053Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:12:37.390Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T21:12:37.658Z] Sending build context to Docker daemon 3.208MB [2022-09-27T21:12:37.658Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:12:37.658Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T21:12:37.930Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T21:12:37.930Z] b3c136eddcbf: Pulling fs layer [2022-09-27T21:12:37.930Z] c0a3192eca97: Pulling fs layer [2022-09-27T21:12:37.930Z] a050256f5b6f: Pulling fs layer [2022-09-27T21:12:37.930Z] 656be50a0ddc: Pulling fs layer [2022-09-27T21:12:37.930Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T21:12:37.930Z] 46d945488cbd: Pulling fs layer [2022-09-27T21:12:37.930Z] 8a5474983e97: Pulling fs layer [2022-09-27T21:12:37.930Z] 329c88fbcd65: Pulling fs layer [2022-09-27T21:12:37.930Z] 656be50a0ddc: Waiting [2022-09-27T21:12:37.930Z] 46d945488cbd: Waiting [2022-09-27T21:12:37.930Z] 8a5474983e97: Waiting [2022-09-27T21:12:37.930Z] 329c88fbcd65: Waiting [2022-09-27T21:12:37.930Z] 2bbca73fdf42: Waiting [2022-09-27T21:12:37.930Z] a050256f5b6f: Verifying Checksum [2022-09-27T21:12:37.930Z] a050256f5b6f: Download complete [2022-09-27T21:12:37.930Z] c0a3192eca97: Verifying Checksum [2022-09-27T21:12:37.930Z] c0a3192eca97: Download complete [2022-09-27T21:12:37.930Z] 2bbca73fdf42: Download complete [2022-09-27T21:12:37.930Z] 46d945488cbd: Verifying Checksum [2022-09-27T21:12:37.930Z] 46d945488cbd: Download complete [2022-09-27T21:12:37.930Z] b3c136eddcbf: Verifying Checksum [2022-09-27T21:12:37.930Z] b3c136eddcbf: Download complete [2022-09-27T21:12:38.903Z] b3c136eddcbf: Pull complete [2022-09-27T21:12:38.903Z] 329c88fbcd65: Verifying Checksum [2022-09-27T21:12:38.903Z] 329c88fbcd65: Download complete [2022-09-27T21:12:39.499Z] c0a3192eca97: Pull complete [2022-09-27T21:12:39.767Z] a050256f5b6f: Pull complete [2022-09-27T21:12:40.046Z] 8a5474983e97: Verifying Checksum [2022-09-27T21:12:40.046Z] 8a5474983e97: Download complete [2022-09-27T21:12:40.632Z] 656be50a0ddc: Download complete [2022-09-27T21:12:52.973Z] 656be50a0ddc: Pull complete [2022-09-27T21:12:52.973Z] 2bbca73fdf42: Pull complete [2022-09-27T21:12:52.973Z] 46d945488cbd: Pull complete [2022-09-27T21:12:58.313Z] 8a5474983e97: Pull complete [2022-09-27T21:13:00.911Z] 329c88fbcd65: Pull complete [2022-09-27T21:13:00.911Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T21:13:00.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T21:13:00.911Z] ---> ff4287adb874 [2022-09-27T21:13:00.911Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:13:02.874Z] ---> Running in edf915114be0 [2022-09-27T21:13:03.141Z] Removing intermediate container edf915114be0 [2022-09-27T21:13:03.141Z] ---> 73e1fa2e6710 [2022-09-27T21:13:03.141Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:13:03.408Z] ---> Running in 209ab677c135 [2022-09-27T21:13:03.678Z] Removing intermediate container 209ab677c135 [2022-09-27T21:13:03.678Z] ---> bd5df7932d5a [2022-09-27T21:13:03.678Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:13:03.678Z] ---> Running in fd2a1766176b [2022-09-27T21:13:05.637Z] Removing intermediate container fd2a1766176b [2022-09-27T21:13:05.637Z] ---> 39144af27e89 [2022-09-27T21:13:05.637Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T21:13:05.637Z] ---> Running in a04722f331a2 [2022-09-27T21:13:06.609Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:13:07.573Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:13:08.536Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T21:13:08.536Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-27T21:13:08.536Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T21:13:08.804Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T21:13:08.804Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-27T21:13:08.804Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-27T21:13:09.071Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-27T21:13:09.071Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-27T21:13:09.071Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T21:13:09.341Z] OK: 228 MiB in 59 packages [2022-09-27T21:13:10.311Z] Removing intermediate container a04722f331a2 [2022-09-27T21:13:10.311Z] ---> 8fd890078793 [2022-09-27T21:13:10.311Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-27T21:13:10.311Z] ---> Running in 82d71ebc7517 [2022-09-27T21:13:10.581Z] Removing intermediate container 82d71ebc7517 [2022-09-27T21:13:10.581Z] ---> cb463df642a7 [2022-09-27T21:13:10.581Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T21:13:11.192Z] ---> 13e0a58ea22b [2022-09-27T21:13:11.192Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:13:11.192Z] ---> Running in 5a8c7f7553f3 [2022-09-27T21:13:58.101Z] Removing intermediate container 5a8c7f7553f3 [2022-09-27T21:13:58.101Z] ---> da03df929cac [2022-09-27T21:13:58.101Z] Step 10/11 : COPY . . [2022-09-27T21:13:59.066Z] ---> 6c1f7616c8ab [2022-09-27T21:13:59.066Z] Step 11/11 : RUN ${MAKE} [2022-09-27T21:13:59.066Z] ---> Running in 520a03ee1d5e [2022-09-27T21:14:00.042Z] noop [2022-09-27T21:14:00.628Z] Removing intermediate container 520a03ee1d5e [2022-09-27T21:14:00.628Z] ---> 192fd57e9b67 [2022-09-27T21:14:00.628Z] Successfully built 192fd57e9b67 [2022-09-27T21:14:00.628Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:14:00.985Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:14:00.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:14:01.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container [2022-09-27T21:14:01.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:14:02.482Z] $ docker top 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:14:03.315Z] + go version [2022-09-27T21:14:03.315Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T21:14:03.337Z] $ docker stop --time=1 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 [2022-09-27T21:14:04.981Z] $ docker rm -f 2c5e9f9480aa5039435feb3e39708c2283d2317acfde553f05c2481ee71068f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:14:05.519Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:14:05.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:14:05.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container [2022-09-27T21:14:05.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T21:14:06.900Z] $ docker top 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:14:07.411Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:14:08.064Z] + make test [2022-09-27T21:14:08.065Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T21:14:09.476Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-27T21:15:46.155Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-27T21:15:46.155Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.7% of statements [2022-09-27T21:15:46.155Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T21:15:46.155Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:16:01.186Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:16:01.186Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:16:01.186Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:16:01.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:16:01.214Z] $ docker stop --time=1 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 [2022-09-27T21:16:03.018Z] $ docker rm -f 294a81bf38a28b4a4570b9a5e6d61c172de0ef89b7e1bedf202fdcd0db347f17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:16:03.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:16:03.987Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T21:16:04.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:16:04.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:16:05.145Z] + ls -al . [2022-09-27T21:16:05.146Z] total 184 [2022-09-27T21:16:05.146Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:14 . [2022-09-27T21:16:05.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:12 .. [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:12 .dockerignore [2022-09-27T21:16:05.146Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:12 .git [2022-09-27T21:16:05.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 .github [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:12 .gitignore [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:12 .golangci.yml [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:12 Attribution.txt [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:12 CHANGELOG.md [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:12 Dockerfile [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:12 GOVERNANCE.md [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:12 Jenkinsfile [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:12 LICENSE [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:12 Makefile [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:12 OWNERS.md [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:12 README.md [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:10 VERSION [2022-09-27T21:16:05.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:12 bin [2022-09-27T21:16:05.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 cmd [2022-09-27T21:16:05.146Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:15 coverage.out [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:12 go.mod [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:12 go.sum [2022-09-27T21:16:05.146Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:12 internal [2022-09-27T21:16:05.146Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:12 simulator [2022-09-27T21:16:05.146Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:12 snap [2022-09-27T21:16:05.146Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:16:05.485Z] + 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=323f4912b2f373137d328d6cbdb0db29889eb8b2 --label arch=arm64 --label version=0.0.0 . [2022-09-27T21:16:05.755Z] Sending build context to Docker daemon 3.232MB [2022-09-27T21:16:05.755Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:16:05.755Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-27T21:16:05.755Z] ---> 192fd57e9b67 [2022-09-27T21:16:05.755Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:16:06.021Z] ---> Running in bd255070836b [2022-09-27T21:16:06.289Z] Removing intermediate container bd255070836b [2022-09-27T21:16:06.289Z] ---> e222b804cca4 [2022-09-27T21:16:06.289Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:16:06.289Z] ---> Running in 9e8f48b2cfaf [2022-09-27T21:16:06.557Z] Removing intermediate container 9e8f48b2cfaf [2022-09-27T21:16:06.557Z] ---> 165eb7dbba9f [2022-09-27T21:16:06.557Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:16:06.557Z] ---> Running in e586d0c04771 [2022-09-27T21:16:08.517Z] Removing intermediate container e586d0c04771 [2022-09-27T21:16:08.517Z] ---> d2d09cee07a5 [2022-09-27T21:16:08.517Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T21:16:08.517Z] ---> Running in dba9b286adb8 [2022-09-27T21:16:09.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:16:10.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:16:11.403Z] OK: 228 MiB in 59 packages [2022-09-27T21:16:12.381Z] Removing intermediate container dba9b286adb8 [2022-09-27T21:16:12.381Z] ---> 5d5628896197 [2022-09-27T21:16:12.381Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-27T21:16:12.381Z] ---> Running in b5cd4aeb943e [2022-09-27T21:16:12.650Z] Removing intermediate container b5cd4aeb943e [2022-09-27T21:16:12.650Z] ---> fa927d8316f3 [2022-09-27T21:16:12.650Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-27T21:16:13.235Z] ---> 9b1ebe4d76d5 [2022-09-27T21:16:13.235Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:16:13.235Z] ---> Running in 503e61b3b648 [2022-09-27T21:16:15.821Z] Removing intermediate container 503e61b3b648 [2022-09-27T21:16:15.821Z] ---> c24c8bd6a6f1 [2022-09-27T21:16:15.821Z] Step 10/24 : COPY . . [2022-09-27T21:16:16.407Z] ---> d8a04460b198 [2022-09-27T21:16:16.407Z] Step 11/24 : RUN ${MAKE} [2022-09-27T21:16:16.407Z] ---> Running in c07fc0b1bb4e [2022-09-27T21:16:17.373Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-09-27T21:18:54.346Z] Removing intermediate container c07fc0b1bb4e [2022-09-27T21:18:54.346Z] ---> 89c237a23f17 [2022-09-27T21:18:54.346Z] Step 12/24 : FROM alpine:3.14 [2022-09-27T21:18:54.346Z] 3.14: Pulling from library/alpine [2022-09-27T21:18:54.346Z] 90cda3b7c325: Pulling fs layer [2022-09-27T21:18:54.346Z] 90cda3b7c325: Verifying Checksum [2022-09-27T21:18:54.346Z] 90cda3b7c325: Download complete [2022-09-27T21:18:54.346Z] 90cda3b7c325: Pull complete [2022-09-27T21:18:54.346Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-27T21:18:54.346Z] Status: Downloaded newer image for alpine:3.14 [2022-09-27T21:18:54.346Z] ---> 376ba31ae3da [2022-09-27T21:18:54.346Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-27T21:18:54.346Z] ---> Running in ff50656584d6 [2022-09-27T21:18:54.346Z] Removing intermediate container ff50656584d6 [2022-09-27T21:18:54.346Z] ---> 2a981a65e6cc [2022-09-27T21:18:54.346Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:18:54.346Z] ---> Running in 62cc53867a02 [2022-09-27T21:18:54.346Z] Removing intermediate container 62cc53867a02 [2022-09-27T21:18:54.346Z] ---> e7c872f4b9d5 [2022-09-27T21:18:54.346Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:18:54.346Z] ---> Running in d2c17db2e791 [2022-09-27T21:18:54.930Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:18:55.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:18:56.846Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:18:56.846Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-27T21:18:56.846Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:18:56.846Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-27T21:18:57.112Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:18:57.112Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:18:57.378Z] Executing busybox-1.33.1-r8.trigger [2022-09-27T21:18:57.378Z] OK: 8 MiB in 20 packages [2022-09-27T21:18:58.340Z] Removing intermediate container d2c17db2e791 [2022-09-27T21:18:58.340Z] ---> b81a43f9c130 [2022-09-27T21:18:58.340Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-27T21:18:59.742Z] ---> 1717fad8bce1 [2022-09-27T21:18:59.742Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-27T21:19:00.324Z] ---> e2c4e57793f2 [2022-09-27T21:19:00.324Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-27T21:19:00.589Z] ---> 680ee158c64d [2022-09-27T21:19:00.589Z] Step 19/24 : EXPOSE 59901 [2022-09-27T21:19:00.857Z] ---> Running in 61b07b7aae8e [2022-09-27T21:19:00.857Z] Removing intermediate container 61b07b7aae8e [2022-09-27T21:19:00.857Z] ---> 4b267697c006 [2022-09-27T21:19:00.857Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-27T21:19:01.121Z] ---> Running in 003b1d9137e7 [2022-09-27T21:19:01.388Z] Removing intermediate container 003b1d9137e7 [2022-09-27T21:19:01.388Z] ---> 2623b6402448 [2022-09-27T21:19:01.388Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:19:01.388Z] ---> Running in 6ac8f780ee34 [2022-09-27T21:19:01.656Z] Removing intermediate container 6ac8f780ee34 [2022-09-27T21:19:01.656Z] ---> bbc5c87f3b64 [2022-09-27T21:19:01.656Z] Step 22/24 : LABEL arch=arm64 [2022-09-27T21:19:01.656Z] ---> Running in 28e3b93b0ef4 [2022-09-27T21:19:01.925Z] Removing intermediate container 28e3b93b0ef4 [2022-09-27T21:19:01.925Z] ---> fc56c1fc2a2e [2022-09-27T21:19:01.925Z] Step 23/24 : LABEL git_sha=323f4912b2f373137d328d6cbdb0db29889eb8b2 [2022-09-27T21:19:02.192Z] ---> Running in 7bc767987dba [2022-09-27T21:19:02.457Z] Removing intermediate container 7bc767987dba [2022-09-27T21:19:02.457Z] ---> fe42a266f8a5 [2022-09-27T21:19:02.457Z] Step 24/24 : LABEL version=0.0.0 [2022-09-27T21:19:02.457Z] ---> Running in 223dd21e8ad8 [2022-09-27T21:19:02.722Z] Removing intermediate container 223dd21e8ad8 [2022-09-27T21:19:02.722Z] ---> ab580681fd75 [2022-09-27T21:19:02.722Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:19:02.722Z] Successfully built ab580681fd75 [2022-09-27T21:19:02.722Z] 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-09-27T21:19:03.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:19:03.147Z] [2022-09-27T21:19:03.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:19:03.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:19:03.474Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T21:19:03.474Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T21:19:03.474Z] 04944245beec: Pulling fs layer [2022-09-27T21:19:03.474Z] 699f458cf7ca: Pulling fs layer [2022-09-27T21:19:03.474Z] 765212b225bb: Pulling fs layer [2022-09-27T21:19:03.474Z] f23df028b6ca: Pulling fs layer [2022-09-27T21:19:03.474Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T21:19:03.474Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T21:19:03.474Z] f23df028b6ca: Waiting [2022-09-27T21:19:03.474Z] 765212b225bb: Waiting [2022-09-27T21:19:03.474Z] 2437ff75d9bd: Waiting [2022-09-27T21:19:03.474Z] d65c8cfc05b1: Waiting [2022-09-27T21:19:03.744Z] 04944245beec: Verifying Checksum [2022-09-27T21:19:03.744Z] 04944245beec: Download complete [2022-09-27T21:19:03.744Z] 765212b225bb: Verifying Checksum [2022-09-27T21:19:03.744Z] 765212b225bb: Download complete [2022-09-27T21:19:03.744Z] f23df028b6ca: Verifying Checksum [2022-09-27T21:19:03.744Z] f23df028b6ca: Download complete [2022-09-27T21:19:03.744Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T21:19:03.744Z] d65c8cfc05b1: Download complete [2022-09-27T21:19:03.744Z] 699f458cf7ca: Verifying Checksum [2022-09-27T21:19:03.744Z] 699f458cf7ca: Download complete [2022-09-27T21:19:04.329Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T21:19:04.329Z] 8998bd30e6a1: Download complete [2022-09-27T21:19:06.283Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T21:19:06.283Z] 2437ff75d9bd: Download complete [2022-09-27T21:19:08.236Z] 8998bd30e6a1: Pull complete [2022-09-27T21:19:08.502Z] 04944245beec: Pull complete [2022-09-27T21:19:09.907Z] 699f458cf7ca: Pull complete [2022-09-27T21:19:09.907Z] 765212b225bb: Pull complete [2022-09-27T21:19:10.488Z] f23df028b6ca: Pull complete [2022-09-27T21:19:10.755Z] d65c8cfc05b1: Pull complete [2022-09-27T21:19:25.753Z] 2437ff75d9bd: Pull complete [2022-09-27T21:19:25.753Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T21:19:25.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:19:25.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:19:25.927Z] prd-ubuntu20.04-docker-arm64-4c-16g-1427 does not seem to be running inside a container [2022-09-27T21:19:25.983Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T21:19:28.527Z] $ docker top c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:29.348Z] ---> job-cost.sh [2022-09-27T21:19:29.348Z] lf-activate-venv: SKIPPING [2022-09-27T21:19:29.348Z] INFO: No Stack... [2022-09-27T21:19:29.927Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T21:19:30.881Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:19:31.515Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2022-09-27T21:19:31.516Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:19:31.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [2022-09-27T21:19:31.585Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] did not exist. Created. [2022-09-27T21:19:31.585Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:19:32.231Z] /w/workspace/device-modbus-go/3@tmp/durable-1a05860a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T21:19:32.875Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T21:19:32.895Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T21:19:32.937Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:19:32.944Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:19:32.956Z] $ docker stop --time=1 c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 [2022-09-27T21:19:34.435Z] $ docker rm -f c387801e9254033aedd8f29b964ee095ce7f3673572717044edb5326aea2bd11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T21:19:34.880Z] provisioning config files... [2022-09-27T21:19:34.886Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config10241380983897462449tmp [Pipeline] { [Pipeline] sh [2022-09-27T21:19:35.170Z] + set +x [2022-09-27T21:19:35.170Z] + curl -s https://codecov.io/bash [2022-09-27T21:19:35.170Z] + bash -s -- [2022-09-27T21:19:35.170Z] [2022-09-27T21:19:35.170Z] _____ _ [2022-09-27T21:19:35.170Z] / ____| | | [2022-09-27T21:19:35.170Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T21:19:35.170Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T21:19:35.170Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T21:19:35.170Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T21:19:35.170Z] Bash-1.0.6 [2022-09-27T21:19:35.170Z] [2022-09-27T21:19:35.170Z] [2022-09-27T21:19:35.170Z] ==> git version 2.25.1 found [2022-09-27T21:19:35.170Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T21:19:35.170Z] Release-Date: 2020-01-08 [2022-09-27T21:19:35.170Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T21:19:35.170Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T21:19:35.170Z] ==> Jenkins CI detected. [2022-09-27T21:19:35.170Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-27T21:19:35.170Z] project root: . [2022-09-27T21:19:35.170Z] --> token set from env [2022-09-27T21:19:35.170Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T21:19:35.170Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T21:19:35.170Z] ==> Python coveragepy not found [2022-09-27T21:19:35.170Z] ==> Searching for coverage reports in: [2022-09-27T21:19:35.170Z] + . [2022-09-27T21:19:35.170Z] -> Found 1 reports [2022-09-27T21:19:35.170Z] ==> Detecting git/mercurial file structure [2022-09-27T21:19:35.170Z] ==> Reading reports [2022-09-27T21:19:35.170Z] + ./coverage.out bytes=23241 [2022-09-27T21:19:35.170Z] ==> Appending adjustments [2022-09-27T21:19:35.170Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T21:19:35.429Z] + Found adjustments [2022-09-27T21:19:35.429Z] ==> Gzipping contents [2022-09-27T21:19:35.429Z] 4.0K /tmp/codecov.wTBKj6.gz [2022-09-27T21:19:35.429Z] ==> Uploading reports [2022-09-27T21:19:35.429Z] url: https://codecov.io [2022-09-27T21:19:35.429Z] query: branch=PR-376&commit=323f4912b2f373137d328d6cbdb0db29889eb8b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-27T21:19:35.429Z] -> Pinging Codecov [2022-09-27T21:19:35.429Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-376&commit=323f4912b2f373137d328d6cbdb0db29889eb8b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-27T21:19:35.689Z] -> Uploading to [2022-09-27T21:19:35.689Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/55DBCA73C666E3227836607328DD7E49/323f4912b2f373137d328d6cbdb0db29889eb8b2/6d1afa75-9b39-4b45-a0f1-f846620b7f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T211935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3581c4b24898a8d914a43d02992cc98d05f88ab8a3c94ad2cc5619e27e40ce1f [2022-09-27T21:19:35.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:19:35.689Z] Dload Upload Total Spent Left Speed [2022-09-27T21:19:35.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16612 --:--:-- --:--:-- --:--:-- 16612 [2022-09-27T21:19:35.948Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/323f4912b2f373137d328d6cbdb0db29889eb8b2 [Pipeline] } [2022-09-27T21:19:35.955Z] 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-09-27T21:19:36.634Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] [2022-09-27T21:19:36.634Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:19:36.634Z] total 16 [2022-09-27T21:19:36.634Z] drwxr-xr-x 3 root root 4096 Sep 27 21:11 . [2022-09-27T21:19:36.635Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:11 .. [2022-09-27T21:19:36.635Z] drwxr-xr-x 2 root root 4096 Sep 27 21:11 cost [2022-09-27T21:19:36.635Z] -rw-r--r-- 1 root root 88 Sep 27 21:11 cost.csv [2022-09-27T21:19:36.635Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:19:36.635Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:19:36.635Z] total 16 [2022-09-27T21:19:36.635Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:11 . [2022-09-27T21:19:36.635Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:11 .. [2022-09-27T21:19:36.635Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:11 cost [2022-09-27T21:19:36.635Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 27 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:36.925Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:37.785Z] ---> package-listing.sh [2022-09-27T21:19:37.785Z] ++ facter osfamily [2022-09-27T21:19:37.785Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T21:19:38.044Z] + OS_FAMILY=debian [2022-09-27T21:19:38.044Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-27T21:19:38.044Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T21:19:38.044Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T21:19:38.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T21:19:38.044Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T21:19:38.044Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-27T21:19:38.044Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T21:19:38.044Z] + case "${OS_FAMILY}" in [2022-09-27T21:19:38.044Z] + dpkg -l [2022-09-27T21:19:38.044Z] + grep '^ii' [2022-09-27T21:19:38.044Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T21:19:38.044Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T21:19:38.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T21:19:38.044Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-27T21:19:38.044Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [2022-09-27T21:19:38.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [Pipeline] echo [2022-09-27T21:19:38.053Z] 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T21:19:38.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:19:38.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:19:38.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:19:38.946Z] prd-ubuntu20.04-docker-8c-8g-1425 does not seem to be running inside a container [2022-09-27T21:19:38.977Z] $ 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-376/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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:19:39.173Z] $ docker top 1cca72f6cbd8854ee98fd769d5451698d46cf1e980fa060eab9549d68ae527c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:19:39.507Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T21:19:39.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T21:19:40.074Z] + ls /var/log/sa-host [2022-09-27T21:19:40.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:19:40.256Z] provisioning config files... [2022-09-27T21:19:40.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config4573498241541755646tmp [Pipeline] { [Pipeline] echo [2022-09-27T21:19:40.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:40.555Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T21:19:40.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:40.885Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T21:19:40.892Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:41.169Z] ---> sudo-logs.sh [2022-09-27T21:19:41.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T21:19:41.194Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:41.471Z] ---> job-cost.sh [2022-09-27T21:19:41.471Z] lf-activate-venv: SKIPPING [2022-09-27T21:19:41.471Z] DEBUG: total: 0.2199999988079071 [2022-09-27T21:19:41.471Z] INFO: Retrieving Stack Cost... [2022-09-27T21:19:42.038Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:19:42.297Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T21:19:42.307Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:19:42.588Z] ---> logs-deploy.sh [2022-09-27T21:19:42.588Z] lf-activate-venv: SKIPPING [2022-09-27T21:19:42.588Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/3 [2022-09-27T21:19:42.588Z] INFO: archiving workspace using pattern(s): [2022-09-27T21:19:43.522Z] Archives upload complete. [2022-09-27T21:19:43.781Z] INFO: archiving logs to Nexus [2022-09-27T21:19:44.348Z] ---> uname -a: [2022-09-27T21:19:44.348Z] Linux prd-ubuntu20-04-docker-8c-8g-1425 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-27T21:19:44.348Z] [2022-09-27T21:19:44.348Z] [2022-09-27T21:19:44.348Z] ---> lscpu: [2022-09-27T21:19:44.348Z] Architecture: x86_64 [2022-09-27T21:19:44.348Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-27T21:19:44.348Z] Byte Order: Little Endian [2022-09-27T21:19:44.348Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-27T21:19:44.348Z] CPU(s): 8 [2022-09-27T21:19:44.348Z] On-line CPU(s) list: 0-7 [2022-09-27T21:19:44.348Z] Thread(s) per core: 1 [2022-09-27T21:19:44.348Z] Core(s) per socket: 1 [2022-09-27T21:19:44.348Z] Socket(s): 8 [2022-09-27T21:19:44.348Z] NUMA node(s): 1 [2022-09-27T21:19:44.348Z] Vendor ID: AuthenticAMD [2022-09-27T21:19:44.348Z] CPU family: 23 [2022-09-27T21:19:44.348Z] Model: 49 [2022-09-27T21:19:44.348Z] Model name: AMD EPYC-Rome Processor [2022-09-27T21:19:44.348Z] Stepping: 0 [2022-09-27T21:19:44.348Z] CPU MHz: 2799.998 [2022-09-27T21:19:44.348Z] BogoMIPS: 5599.99 [2022-09-27T21:19:44.348Z] Virtualization: AMD-V [2022-09-27T21:19:44.348Z] Hypervisor vendor: KVM [2022-09-27T21:19:44.348Z] Virtualization type: full [2022-09-27T21:19:44.348Z] L1d cache: 256 KiB [2022-09-27T21:19:44.348Z] L1i cache: 256 KiB [2022-09-27T21:19:44.348Z] L2 cache: 4 MiB [2022-09-27T21:19:44.348Z] L3 cache: 128 MiB [2022-09-27T21:19:44.348Z] NUMA node0 CPU(s): 0-7 [2022-09-27T21:19:44.348Z] Vulnerability Itlb multihit: Not affected [2022-09-27T21:19:44.348Z] Vulnerability L1tf: Not affected [2022-09-27T21:19:44.348Z] Vulnerability Mds: Not affected [2022-09-27T21:19:44.348Z] Vulnerability Meltdown: Not affected [2022-09-27T21:19:44.348Z] Vulnerability Mmio stale data: Not affected [2022-09-27T21:19:44.348Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-27T21:19:44.348Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-27T21:19:44.348Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-27T21:19:44.348Z] Vulnerability Srbds: Not affected [2022-09-27T21:19:44.348Z] Vulnerability Tsx async abort: Not affected [2022-09-27T21:19:44.349Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] ---> nproc: [2022-09-27T21:19:44.349Z] 8 [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] ---> df -h: [2022-09-27T21:19:44.349Z] Filesystem Size Used Avail Use% Mounted on [2022-09-27T21:19:44.349Z] overlay 155G 12G 144G 8% / [2022-09-27T21:19:44.349Z] tmpfs 64M 0 64M 0% /dev [2022-09-27T21:19:44.349Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-27T21:19:44.349Z] shm 64M 0 64M 0% /dev/shm [2022-09-27T21:19:44.349Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] ---> sar -b -r -n DEV: [2022-09-27T21:19:44.349Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1425) 09/27/22 _x86_64_ (8 CPU) [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] 21:09:16 LINUX RESTART (8 CPU) [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] 21:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-09-27T21:19:44.349Z] 21:11:01 202.66 4.24 198.42 0.00 438.98 73309.34 0.00 [2022-09-27T21:19:44.349Z] 21:12:01 188.10 0.27 187.84 0.00 15.06 39715.11 0.00 [2022-09-27T21:19:44.349Z] 21:13:01 1.67 0.00 1.67 0.00 0.00 19.35 0.00 [2022-09-27T21:19:44.349Z] 21:14:01 1.42 0.00 1.42 0.00 0.00 16.13 0.00 [2022-09-27T21:19:44.349Z] 21:15:01 40.95 9.33 31.62 0.00 2883.84 4808.80 0.00 [2022-09-27T21:19:44.349Z] 21:16:01 2.10 0.00 2.10 0.00 0.00 24.53 0.00 [2022-09-27T21:19:44.349Z] 21:17:01 1.28 0.02 1.27 0.00 0.13 14.40 0.00 [2022-09-27T21:19:44.349Z] 21:18:01 1.80 0.00 1.80 0.00 0.00 19.59 0.00 [2022-09-27T21:19:44.349Z] 21:19:01 1.33 0.00 1.33 0.00 0.00 15.20 0.00 [2022-09-27T21:19:44.349Z] Average: 48.75 1.53 47.21 0.00 370.79 12992.16 0.00 [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] 21:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-09-27T21:19:44.349Z] 21:11:01 28405396 31516900 785612 2.39 133128 3175604 1906960 5.62 1216800 2810512 132916 [2022-09-27T21:19:44.349Z] 21:12:01 27867176 31588728 714064 2.17 145936 3735364 1779280 5.24 1196928 3326848 356 [2022-09-27T21:19:44.349Z] 21:13:01 27867172 31588840 713484 2.17 145960 3735368 1779280 5.24 1197200 3326852 12 [2022-09-27T21:19:44.349Z] 21:14:01 27870808 31592500 709640 2.16 145984 3735372 1779280 5.24 1193432 3326856 20 [2022-09-27T21:19:44.349Z] 21:15:01 27577796 31572884 712592 2.17 164500 3984144 1802380 5.31 1356580 3437124 4 [2022-09-27T21:19:44.349Z] 21:16:01 27581984 31577096 708340 2.15 164580 3984140 1802380 5.31 1347068 3437124 12 [2022-09-27T21:19:44.349Z] 21:17:01 27587568 31582992 702200 2.14 164660 3984152 1802380 5.31 1340700 3437128 196 [2022-09-27T21:19:44.349Z] 21:18:01 27588444 31584140 701200 2.13 164700 3984152 1802380 5.31 1340180 3437360 8 [2022-09-27T21:19:44.349Z] 21:19:01 27588116 31583928 701364 2.13 164784 3984156 1802380 5.31 1340480 3437380 8 [2022-09-27T21:19:44.349Z] Average: 27770496 31576445 716500 2.18 154915 3811384 1806300 5.32 1281041 3330798 14837 [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z] 21:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-09-27T21:19:44.349Z] 21:11:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:11:01 docker0 132.93 182.58 11.01 1590.41 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:11:01 ens3 410.42 297.58 5647.78 51.55 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:11:01 veth1bff97c 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:12:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:12:01 docker0 14.56 17.60 0.85 92.46 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:12:01 ens3 135.36 95.75 2677.80 20.43 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:13:01 ens3 1.12 0.88 0.30 0.25 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:14:01 ens3 0.32 0.30 0.02 0.03 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:15:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:15:01 ens3 113.56 64.40 1300.90 4.62 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:16:01 ens3 0.23 0.15 0.02 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:17:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:18:01 ens3 0.32 0.13 0.02 0.01 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] 21:19:01 ens3 3.40 1.25 5.33 0.27 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] Average: lo 0.65 0.65 0.06 0.06 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] Average: docker0 16.17 21.94 1.30 184.37 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] Average: ens3 73.24 50.70 1061.69 8.49 0.00 0.00 0.00 0.00 [2022-09-27T21:19:44.349Z] [2022-09-27T21:19:44.349Z]