Pull request #385 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b03dabf38b63f24493184e5a8112871062c4142f+0402772c8535e80a39149c240333cd83d56188f2 (5a9b34777590882521c287553e494588e7fe6f7f) 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-ssh16769184237672301540.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh1621858689725267932.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1190924302541809124.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh189188925040395250.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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7014579140750358969.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-9731 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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-385 # 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 Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f Merge succeeded, producing 996b6ee032ce334add558144e2eefc3fc7bf4d7a Checking out Revision 996b6ee032ce334add558144e2eefc3fc7bf4d7a (PR-385) 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # 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 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 996b6ee032ce334add558144e2eefc3fc7bf4d7a # timeout=10 Commit message: "Merge commit '0402772c8535e80a39149c240333cd83d56188f2' into HEAD" > git rev-list --no-walk b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T15:40:06.824Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T15:40:06.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T15:40:06.916Z] ========================================================= [2022-10-24T15:40:06.916Z] EdgeX Global Pipelines Version Info [2022-10-24T15:40:06.916Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:40:07.647Z] ------------------- [2022-10-24T15:40:07.647Z] stable info: [2022-10-24T15:40:07.647Z] ------------------- [2022-10-24T15:40:07.647Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T15:40:07.647Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T15:40:07.647Z] Message: update stable to v1.0.243 [2022-10-24T15:40:08.223Z] ------------------- [2022-10-24T15:40:08.223Z] experimental info: [2022-10-24T15:40:08.223Z] ------------------- [2022-10-24T15:40:08.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T15:40:08.224Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T15:40:08.224Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T15:40:08.387Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-24T15:40:08.403Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-24T15:40:08.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T15:40:08.435Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T15:40:08.449Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T15:40:08.464Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T15:40:08.476Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T15:40:08.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T15:40:08.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T15:40:08.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T15:40:08.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T15:40:08.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-24T15:40:08.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T15:40:08.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T15:40:08.599Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T15:40:08.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T15:40:08.630Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T15:40:08.646Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T15:40:08.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T15:40:08.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T15:40:08.692Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T15:40:08.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T15:40:08.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T15:40:08.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T15:40:08.738Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T15:40:08.748Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T15:40:08.759Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T15:40:08.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-10-24T15:40:08.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-10-24T15:40:08.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-10-24T15:40:08.800Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 996b6ee032ce334add558144e2eefc3fc7bf4d7a [Pipeline] echo [2022-10-24T15:40:08.813Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 996b6ee [Pipeline] echo [2022-10-24T15:40:08.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T15:40:08.859Z] provisioning config files... [2022-10-24T15:40:08.872Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13949919375126256814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:40:09.174Z] ---> docker-login.sh [2022-10-24T15:40:09.174Z] nexus3.edgexfoundry.org:10001 [2022-10-24T15:40:10.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:10.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:10.180Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:10.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:10.180Z] [2022-10-24T15:40:10.180Z] Login Succeeded [2022-10-24T15:40:10.180Z] nexus3.edgexfoundry.org:10002 [2022-10-24T15:40:10.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:10.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:10.471Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:10.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:10.471Z] [2022-10-24T15:40:10.471Z] Login Succeeded [2022-10-24T15:40:10.471Z] nexus3.edgexfoundry.org:10003 [2022-10-24T15:40:10.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:10.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:10.471Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:10.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:10.471Z] [2022-10-24T15:40:10.471Z] Login Succeeded [2022-10-24T15:40:10.471Z] nexus3.edgexfoundry.org:10004 [2022-10-24T15:40:10.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:10.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:10.471Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:10.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:10.471Z] [2022-10-24T15:40:10.471Z] Login Succeeded [2022-10-24T15:40:10.471Z] docker.io [2022-10-24T15:40:10.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:11.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:11.007Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:11.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:11.007Z] [2022-10-24T15:40:11.007Z] Login Succeeded [2022-10-24T15:40:11.007Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T15:40:11.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T15:40:11.378Z] + git rev-list -1 --merges 996b6ee032ce334add558144e2eefc3fc7bf4d7a~1..996b6ee032ce334add558144e2eefc3fc7bf4d7a [Pipeline] echo [2022-10-24T15:40:11.411Z] -----------> git rev-list -1 --merges 996b6ee032ce334add558144e2eefc3fc7bf4d7a~1..996b6ee032ce334add558144e2eefc3fc7bf4d7a 996b6ee032ce334add558144e2eefc3fc7bf4d7a [2022-10-24T15:40:11.411Z] 996b6ee032ce334add558144e2eefc3fc7bf4d7a [false] [Pipeline] sh [2022-10-24T15:40:11.700Z] + git log --format=format:%s -1 996b6ee032ce334add558144e2eefc3fc7bf4d7a [Pipeline] echo [2022-10-24T15:40:11.714Z] ========================================================= [2022-10-24T15:40:11.714Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T15:40:11.714Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T15:40:12.038Z] + git log --format=format:%s -1 996b6ee032ce334add558144e2eefc3fc7bf4d7a [Pipeline] echo [2022-10-24T15:40:12.049Z] [semverPrep] GIT_COMMIT: 996b6ee032ce334add558144e2eefc3fc7bf4d7a, Commit Message: Merge commit '0402772c8535e80a39149c240333cd83d56188f2' into HEAD [Pipeline] echo [2022-10-24T15:40:12.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T15:40:12.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T15:40:12.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T15:40:12.403Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T15:40:12.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T15:40:12.403Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T15:40:12.403Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T15:40:12.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:40:12.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T15:40:12.761Z] [2022-10-24T15:40:12.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:40:13.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T15:40:13.064Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T15:40:13.064Z] b85a868b505f: Pulling fs layer [2022-10-24T15:40:13.064Z] e2be974225ed: Pulling fs layer [2022-10-24T15:40:13.064Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T15:40:13.064Z] 988bab9f4d93: Pulling fs layer [2022-10-24T15:40:13.064Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T15:40:13.064Z] eaf3925da568: Pulling fs layer [2022-10-24T15:40:13.064Z] bab4dde63d76: Pulling fs layer [2022-10-24T15:40:13.064Z] bde34c3a00c8: Pulling fs layer [2022-10-24T15:40:13.064Z] b352a97aabf1: Pulling fs layer [2022-10-24T15:40:13.064Z] 4872d77fe225: Pulling fs layer [2022-10-24T15:40:13.064Z] 5851b861e8e6: Pulling fs layer [2022-10-24T15:40:13.064Z] bde34c3a00c8: Waiting [2022-10-24T15:40:13.064Z] 988bab9f4d93: Waiting [2022-10-24T15:40:13.064Z] 1469e6f7b9e6: Waiting [2022-10-24T15:40:13.064Z] b352a97aabf1: Waiting [2022-10-24T15:40:13.064Z] 4872d77fe225: Waiting [2022-10-24T15:40:13.064Z] 5851b861e8e6: Waiting [2022-10-24T15:40:13.064Z] bab4dde63d76: Waiting [2022-10-24T15:40:13.064Z] eaf3925da568: Waiting [2022-10-24T15:40:13.064Z] e2be974225ed: Download complete [2022-10-24T15:40:13.064Z] 988bab9f4d93: Verifying Checksum [2022-10-24T15:40:13.064Z] 988bab9f4d93: Download complete [2022-10-24T15:40:13.324Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T15:40:13.324Z] 1469e6f7b9e6: Download complete [2022-10-24T15:40:13.324Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T15:40:13.324Z] 339a4e72a1f5: Download complete [2022-10-24T15:40:13.324Z] eaf3925da568: Verifying Checksum [2022-10-24T15:40:13.324Z] eaf3925da568: Download complete [2022-10-24T15:40:13.324Z] bde34c3a00c8: Verifying Checksum [2022-10-24T15:40:13.324Z] bde34c3a00c8: Download complete [2022-10-24T15:40:13.324Z] b352a97aabf1: Verifying Checksum [2022-10-24T15:40:13.324Z] b352a97aabf1: Download complete [2022-10-24T15:40:13.324Z] 4872d77fe225: Verifying Checksum [2022-10-24T15:40:13.324Z] 4872d77fe225: Download complete [2022-10-24T15:40:13.324Z] 5851b861e8e6: Download complete [2022-10-24T15:40:13.324Z] b85a868b505f: Verifying Checksum [2022-10-24T15:40:13.324Z] b85a868b505f: Download complete [2022-10-24T15:40:13.582Z] bab4dde63d76: Verifying Checksum [2022-10-24T15:40:13.582Z] bab4dde63d76: Download complete [2022-10-24T15:40:14.958Z] b85a868b505f: Pull complete [2022-10-24T15:40:15.216Z] e2be974225ed: Pull complete [2022-10-24T15:40:15.783Z] 339a4e72a1f5: Pull complete [2022-10-24T15:40:15.783Z] 988bab9f4d93: Pull complete [2022-10-24T15:40:16.041Z] 1469e6f7b9e6: Pull complete [2022-10-24T15:40:16.041Z] eaf3925da568: Pull complete [2022-10-24T15:40:17.947Z] bab4dde63d76: Pull complete [2022-10-24T15:40:17.947Z] bde34c3a00c8: Pull complete [2022-10-24T15:40:18.207Z] b352a97aabf1: Pull complete [2022-10-24T15:40:18.207Z] 4872d77fe225: Pull complete [2022-10-24T15:40:18.207Z] 5851b861e8e6: Pull complete [2022-10-24T15:40:18.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T15:40:18.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T15:40:18.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:40:18.577Z] prd-ubuntu20.04-docker-8c-8g-9731 does not seem to be running inside a container [2022-10-24T15:40:18.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T15:40:21.038Z] $ docker top 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff -eo pid,comm [2022-10-24T15:40:21.090Z] 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-10-24T15:40:21.090Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T15:40:21.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T15:40:21.118Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T15:40:21.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T15:40:21.310Z] $ docker exec 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff ssh-agent [2022-10-24T15:40:21.438Z] SSH_AUTH_SOCK=/tmp/ssh-rdXEFMyt00YH/agent.32 [2022-10-24T15:40:21.438Z] SSH_AGENT_PID=38 [2022-10-24T15:40:21.443Z] Running ssh-add (command line suppressed) [2022-10-24T15:40:21.544Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2702138135188060686.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2702138135188060686.key) [2022-10-24T15:40:21.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T15:40:21.848Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T15:40:21.870Z] $ docker exec --env ******** --env ******** 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff ssh-agent -k [2022-10-24T15:40:21.969Z] unset SSH_AUTH_SOCK; [2022-10-24T15:40:21.970Z] unset SSH_AGENT_PID; [2022-10-24T15:40:21.970Z] echo Agent pid 38 killed; [2022-10-24T15:40:21.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T15:40:22.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T15:40:22.009Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T15:40:22.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T15:40:22.152Z] $ docker exec 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff ssh-agent [2022-10-24T15:40:22.259Z] SSH_AUTH_SOCK=/tmp/ssh-VLnjVYu2l9b1/agent.70 [2022-10-24T15:40:22.259Z] SSH_AGENT_PID=76 [2022-10-24T15:40:22.265Z] Running ssh-add (command line suppressed) [2022-10-24T15:40:22.372Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2636574457620472385.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2636574457620472385.key) [2022-10-24T15:40:22.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T15:40:22.670Z] + git semver init [2022-10-24T15:40:22.929Z] 2022-10-24 15:40:22,873 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T15:40:22.929Z] 2022-10-24 15:40:22,874 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-24T15:40:22.929Z] 2022-10-24 15:40:22,875 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-24T15:40:22.929Z] 2022-10-24 15:40:22,875 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,829 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,829 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,833 [execute] INFO git cat-file --batch-check [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,840 [execute] INFO git cat-file --batch [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T15:40:23.866Z] 2022-10-24 15:40:23,847 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-24T15:40:23.866Z] 0.0.0 [Pipeline] } [2022-10-24T15:40:24.138Z] $ docker exec --env ******** --env ******** 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff ssh-agent -k [2022-10-24T15:40:24.230Z] unset SSH_AUTH_SOCK; [2022-10-24T15:40:24.231Z] unset SSH_AGENT_PID; [2022-10-24T15:40:24.231Z] echo Agent pid 76 killed; [2022-10-24T15:40:24.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T15:40:24.554Z] + git semver [Pipeline] } [2022-10-24T15:40:24.838Z] $ docker stop --time=1 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff [2022-10-24T15:40:26.422Z] $ docker rm -f 121ea9b400cdf8c2b0ae24b35948e51364be783b0469c9075ed9879d3b1481ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T15:40:26.799Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T15:40:27.035Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T15:40:27.037Z] [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-10-24T15:40:27.186Z] provisioning config files... [2022-10-24T15:40:27.196Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config12876376412646471215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:40:27.493Z] ---> docker-login.sh [2022-10-24T15:40:27.493Z] nexus3.edgexfoundry.org:10001 [2022-10-24T15:40:27.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:27.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:27.493Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:27.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:27.493Z] [2022-10-24T15:40:27.493Z] Login Succeeded [2022-10-24T15:40:27.493Z] nexus3.edgexfoundry.org:10002 [2022-10-24T15:40:27.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:27.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:27.493Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:27.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:27.493Z] [2022-10-24T15:40:27.493Z] Login Succeeded [2022-10-24T15:40:27.493Z] nexus3.edgexfoundry.org:10003 [2022-10-24T15:40:27.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:27.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:27.751Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:27.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:27.751Z] [2022-10-24T15:40:27.751Z] Login Succeeded [2022-10-24T15:40:27.751Z] nexus3.edgexfoundry.org:10004 [2022-10-24T15:40:27.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:27.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:27.751Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:27.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:27.751Z] [2022-10-24T15:40:27.751Z] Login Succeeded [2022-10-24T15:40:27.751Z] docker.io [2022-10-24T15:40:28.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:40:28.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:40:28.271Z] Configure a credential helper to remove this warning. See [2022-10-24T15:40:28.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:40:28.271Z] [2022-10-24T15:40:28.271Z] Login Succeeded [2022-10-24T15:40:28.271Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T15:40:28.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T15:40:28.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T15:40:28.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T15:40:28.357Z] ========================================================= [2022-10-24T15:40:28.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T15:40:28.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:40:28.664Z] + 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-10-24T15:40:28.664Z] Sending build context to Docker daemon 6.226MB [2022-10-24T15:40:28.664Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T15:40:28.664Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T15:40:28.664Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T15:40:28.664Z] 213ec9aee27d: Pulling fs layer [2022-10-24T15:40:28.664Z] 4583459ba037: Pulling fs layer [2022-10-24T15:40:28.664Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T15:40:28.664Z] 53926ce57604: Pulling fs layer [2022-10-24T15:40:28.664Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T15:40:28.664Z] 30f14e443154: Pulling fs layer [2022-10-24T15:40:28.664Z] 801331c1e519: Pulling fs layer [2022-10-24T15:40:28.664Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T15:40:28.664Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T15:40:28.664Z] 801331c1e519: Waiting [2022-10-24T15:40:28.664Z] 99cc6dd402b0: Waiting [2022-10-24T15:40:28.664Z] 7d9ed39f4882: Waiting [2022-10-24T15:40:28.664Z] 53926ce57604: Waiting [2022-10-24T15:40:28.664Z] 21b2b0c7a3f4: Waiting [2022-10-24T15:40:28.664Z] 30f14e443154: Waiting [2022-10-24T15:40:28.924Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T15:40:28.924Z] 93c1e223e6f2: Download complete [2022-10-24T15:40:28.924Z] 4583459ba037: Verifying Checksum [2022-10-24T15:40:28.924Z] 4583459ba037: Download complete [2022-10-24T15:40:28.924Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T15:40:28.924Z] 21b2b0c7a3f4: Download complete [2022-10-24T15:40:28.924Z] 30f14e443154: Verifying Checksum [2022-10-24T15:40:28.924Z] 30f14e443154: Download complete [2022-10-24T15:40:28.924Z] 213ec9aee27d: Verifying Checksum [2022-10-24T15:40:28.924Z] 213ec9aee27d: Download complete [2022-10-24T15:40:28.924Z] 801331c1e519: Download complete [2022-10-24T15:40:29.184Z] 213ec9aee27d: Pull complete [2022-10-24T15:40:29.445Z] 4583459ba037: Pull complete [2022-10-24T15:40:29.707Z] 93c1e223e6f2: Pull complete [2022-10-24T15:40:29.966Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T15:40:29.966Z] 7d9ed39f4882: Download complete [2022-10-24T15:40:29.966Z] 53926ce57604: Verifying Checksum [2022-10-24T15:40:29.966Z] 53926ce57604: Download complete [2022-10-24T15:40:29.966Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T15:40:29.966Z] 99cc6dd402b0: Download complete [2022-10-24T15:40:35.230Z] 53926ce57604: Pull complete [2022-10-24T15:40:35.230Z] 21b2b0c7a3f4: Pull complete [2022-10-24T15:40:35.230Z] 30f14e443154: Pull complete [2022-10-24T15:40:35.230Z] 801331c1e519: Pull complete [2022-10-24T15:40:37.761Z] 99cc6dd402b0: Pull complete [2022-10-24T15:40:38.346Z] 7d9ed39f4882: Pull complete [2022-10-24T15:40:38.346Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T15:40:38.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T15:40:38.346Z] ---> 1dedd983c030 [2022-10-24T15:40:38.346Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T15:40:42.142Z] Still waiting to schedule task [2022-10-24T15:40:42.142Z] ‘prd-centos7-blackbox-4c-2g-8824’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T15:40:42.142Z] ‘prd-centos7-blackbox-4c-2g-8825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T15:40:42.142Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9736’ is offline [2022-10-24T15:40:42.142Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9742’ is offline [2022-10-24T15:40:44.959Z] ---> Running in 629845e396fe [2022-10-24T15:40:44.959Z] Removing intermediate container 629845e396fe [2022-10-24T15:40:44.959Z] ---> 97b61874041f [2022-10-24T15:40:44.959Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T15:40:45.219Z] ---> Running in 7cab23074ad4 [2022-10-24T15:40:45.477Z] Removing intermediate container 7cab23074ad4 [2022-10-24T15:40:45.477Z] ---> 48ce5562e37a [2022-10-24T15:40:45.477Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:40:45.735Z] ---> Running in e0e86a503947 [2022-10-24T15:40:47.111Z] Removing intermediate container e0e86a503947 [2022-10-24T15:40:47.111Z] ---> 525d172e44eb [2022-10-24T15:40:47.111Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T15:40:47.111Z] ---> Running in fd5580de91c5 [2022-10-24T15:40:47.677Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T15:40:48.244Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T15:40:48.809Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T15:40:48.809Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T15:40:48.809Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T15:40:49.069Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T15:40:49.069Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T15:40:49.328Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T15:40:49.328Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T15:40:49.328Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T15:40:49.586Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T15:40:49.586Z] OK: 217 MiB in 59 packages [2022-10-24T15:40:50.155Z] Removing intermediate container fd5580de91c5 [2022-10-24T15:40:50.155Z] ---> 37fb8f75b459 [2022-10-24T15:40:50.155Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T15:40:50.155Z] ---> Running in 08e8cf068b7d [2022-10-24T15:40:50.417Z] Removing intermediate container 08e8cf068b7d [2022-10-24T15:40:50.417Z] ---> cd22759bf6e6 [2022-10-24T15:40:50.417Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T15:40:50.417Z] ---> eb6b1502d5e8 [2022-10-24T15:40:50.417Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T15:40:50.417Z] ---> Running in 16a84b6d037e [2022-10-24T15:41:22.521Z] Removing intermediate container 16a84b6d037e [2022-10-24T15:41:22.522Z] ---> cadb2a62e134 [2022-10-24T15:41:22.522Z] Step 10/11 : COPY . . [2022-10-24T15:41:22.522Z] ---> b927c330448b [2022-10-24T15:41:22.522Z] Step 11/11 : RUN ${MAKE} [2022-10-24T15:41:22.522Z] ---> Running in 2175d2e5d048 [2022-10-24T15:41:22.522Z] noop [2022-10-24T15:41:22.522Z] Removing intermediate container 2175d2e5d048 [2022-10-24T15:41:22.522Z] ---> 8ffd9e05c3f2 [2022-10-24T15:41:22.522Z] Successfully built 8ffd9e05c3f2 [2022-10-24T15:41:22.522Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:41:22.839Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T15:41:22.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:41:22.952Z] prd-ubuntu20.04-docker-8c-8g-9731 does not seem to be running inside a container [2022-10-24T15:41:22.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T15:41:23.354Z] $ docker top 21cdddfa30c9a3f1f618bcc29d81cf207b784f5fb5f2c96aba1f3dc2d194fad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T15:41:23.686Z] + go version [2022-10-24T15:41:23.686Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T15:41:23.698Z] $ docker stop --time=1 21cdddfa30c9a3f1f618bcc29d81cf207b784f5fb5f2c96aba1f3dc2d194fad9 [2022-10-24T15:41:25.363Z] $ docker rm -f 21cdddfa30c9a3f1f618bcc29d81cf207b784f5fb5f2c96aba1f3dc2d194fad9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:41:25.779Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T15:41:25.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:41:25.851Z] prd-ubuntu20.04-docker-8c-8g-9731 does not seem to be running inside a container [2022-10-24T15:41:25.883Z] $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T15:41:27.038Z] $ docker top 333c9f5621f15d69b20ade8fbb9271a8f84947d900918cf8609749bf1bc4923d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T15:41:27.381Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-10-24T15:41:27.678Z] + make test [2022-10-24T15:41:27.678Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T15:41:27.936Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T15:41:40.139Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T15:41:40.140Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-24T15:41:45.412Z] 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-10-24T15:41:45.412Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T15:41:48.691Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T15:41:48.691Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T15:41:48.691Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T15:41:48.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T15:41:48.721Z] $ docker stop --time=1 333c9f5621f15d69b20ade8fbb9271a8f84947d900918cf8609749bf1bc4923d [2022-10-24T15:41:51.137Z] $ docker rm -f 333c9f5621f15d69b20ade8fbb9271a8f84947d900918cf8609749bf1bc4923d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T15:41:51.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T15:41:51.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T15:41:52.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T15:41:52.342Z] + ls -al . [2022-10-24T15:41:52.342Z] total 188 [2022-10-24T15:41:52.342Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:41 . [2022-10-24T15:41:52.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:40 .. [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:40 .dockerignore [2022-10-24T15:41:52.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:41 .git [2022-10-24T15:41:52.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:40 .github [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 15:40 .gitignore [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:40 .golangci.yml [2022-10-24T15:41:52.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:40 .semver [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 15:40 Attribution.txt [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 15:40 CHANGELOG.md [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 15:40 Dockerfile [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:40 GOVERNANCE.md [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:40 Jenkinsfile [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:40 LICENSE [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 15:40 Makefile [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:40 OWNERS.md [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 15:40 README.md [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:40 VERSION [2022-10-24T15:41:52.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:40 bin [2022-10-24T15:41:52.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:40 cmd [2022-10-24T15:41:52.342Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 15:41 coverage.out [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 15:40 go.mod [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 15:40 go.sum [2022-10-24T15:41:52.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:40 internal [2022-10-24T15:41:52.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:40 simulator [2022-10-24T15:41:52.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:40 snap [2022-10-24T15:41:52.342Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:41:52.649Z] + 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=996b6ee032ce334add558144e2eefc3fc7bf4d7a --label arch=amd64 --label version=0.0.0 . [2022-10-24T15:41:52.649Z] Sending build context to Docker daemon 6.25MB [2022-10-24T15:41:52.649Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T15:41:52.649Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T15:41:52.649Z] ---> 8ffd9e05c3f2 [2022-10-24T15:41:52.649Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T15:41:52.909Z] ---> Running in a53dd80b4956 [2022-10-24T15:41:53.844Z] Removing intermediate container a53dd80b4956 [2022-10-24T15:41:53.844Z] ---> c920631d5d1b [2022-10-24T15:41:53.844Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T15:41:53.844Z] ---> Running in 77dd53bcfeff [2022-10-24T15:41:53.844Z] Removing intermediate container 77dd53bcfeff [2022-10-24T15:41:53.844Z] ---> 158883a01778 [2022-10-24T15:41:53.844Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:41:54.103Z] ---> Running in 0fc39e21df1b [2022-10-24T15:41:54.668Z] Removing intermediate container 0fc39e21df1b [2022-10-24T15:41:54.668Z] ---> a99f622ebf6e [2022-10-24T15:41:54.668Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T15:41:54.668Z] ---> Running in 50a73cf7d06f [2022-10-24T15:41:54.928Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T15:41:55.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T15:41:56.122Z] OK: 217 MiB in 59 packages [2022-10-24T15:41:56.687Z] Removing intermediate container 50a73cf7d06f [2022-10-24T15:41:56.687Z] ---> 09936122e004 [2022-10-24T15:41:56.687Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T15:41:56.946Z] ---> Running in 43086ce718d6 [2022-10-24T15:41:56.946Z] Removing intermediate container 43086ce718d6 [2022-10-24T15:41:56.946Z] ---> 9ef729dd2588 [2022-10-24T15:41:56.946Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T15:41:57.205Z] ---> 235c03212804 [2022-10-24T15:41:57.205Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T15:41:57.205Z] ---> Running in 61ecb5301f3b [2022-10-24T15:41:57.772Z] Removing intermediate container 61ecb5301f3b [2022-10-24T15:41:57.772Z] ---> bf7cb91b8054 [2022-10-24T15:41:57.772Z] Step 10/24 : COPY . . [2022-10-24T15:41:58.339Z] ---> 28302b0b9d5e [2022-10-24T15:41:58.339Z] Step 11/24 : RUN ${MAKE} [2022-10-24T15:41:58.339Z] ---> Running in 3709ff2d5e52 [2022-10-24T15:41:58.596Z] 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-10-24T15:42:20.526Z] Removing intermediate container 3709ff2d5e52 [2022-10-24T15:42:20.526Z] ---> 28a19bd9cbac [2022-10-24T15:42:20.526Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T15:42:21.095Z] 3.14: Pulling from library/alpine [2022-10-24T15:42:21.353Z] c7ed990a2339: Pulling fs layer [2022-10-24T15:42:21.612Z] c7ed990a2339: Verifying Checksum [2022-10-24T15:42:21.612Z] c7ed990a2339: Download complete [2022-10-24T15:42:21.612Z] c7ed990a2339: Pull complete [2022-10-24T15:42:21.612Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T15:42:21.612Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T15:42:21.612Z] ---> dd53f409bf0b [2022-10-24T15:42:21.612Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T15:42:21.612Z] ---> Running in 56d560797098 [2022-10-24T15:42:21.871Z] Removing intermediate container 56d560797098 [2022-10-24T15:42:21.871Z] ---> aa8d80b83793 [2022-10-24T15:42:21.871Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:42:21.871Z] ---> Running in 77129b4c2730 [2022-10-24T15:42:22.438Z] Removing intermediate container 77129b4c2730 [2022-10-24T15:42:22.438Z] ---> e0d6bd0d1b7a [2022-10-24T15:42:22.438Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T15:42:22.438Z] ---> Running in 3ba130414cc2 [2022-10-24T15:42:22.697Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-24T15:42:23.632Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-24T15:42:23.632Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T15:42:23.892Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T15:42:23.892Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T15:42:24.150Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T15:42:24.150Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T15:42:24.150Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T15:42:24.409Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T15:42:24.409Z] OK: 8 MiB in 20 packages [2022-10-24T15:42:24.667Z] Removing intermediate container 3ba130414cc2 [2022-10-24T15:42:24.667Z] ---> cfa9dc97c67c [2022-10-24T15:42:24.667Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T15:42:25.233Z] ---> 73c8afe8a22b [2022-10-24T15:42:25.233Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T15:42:25.491Z] ---> 94c7c90ffb39 [2022-10-24T15:42:25.491Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T15:42:25.491Z] ---> 45c174262c7b [2022-10-24T15:42:25.491Z] Step 19/24 : EXPOSE 59901 [2022-10-24T15:42:25.491Z] ---> Running in 92718146afcf [2022-10-24T15:42:25.750Z] Removing intermediate container 92718146afcf [2022-10-24T15:42:25.751Z] ---> 61aa90003ed1 [2022-10-24T15:42:25.751Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T15:42:25.751Z] ---> Running in e1e9bcaf1414 [2022-10-24T15:42:25.751Z] Removing intermediate container e1e9bcaf1414 [2022-10-24T15:42:25.751Z] ---> a60fec151fbd [2022-10-24T15:42:25.751Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T15:42:25.751Z] ---> Running in e53b61b91511 [2022-10-24T15:42:25.751Z] Removing intermediate container e53b61b91511 [2022-10-24T15:42:25.751Z] ---> b82d08c51587 [2022-10-24T15:42:25.751Z] Step 22/24 : LABEL arch=amd64 [2022-10-24T15:42:25.751Z] ---> Running in 2bf665c4c700 [2022-10-24T15:42:26.009Z] Removing intermediate container 2bf665c4c700 [2022-10-24T15:42:26.009Z] ---> 63793e139671 [2022-10-24T15:42:26.009Z] Step 23/24 : LABEL git_sha=996b6ee032ce334add558144e2eefc3fc7bf4d7a [2022-10-24T15:42:26.009Z] ---> Running in 3e90bb48c53b [2022-10-24T15:42:26.009Z] Removing intermediate container 3e90bb48c53b [2022-10-24T15:42:26.009Z] ---> c4d34b4581ad [2022-10-24T15:42:26.009Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T15:42:26.009Z] ---> Running in be0adb9fd9a2 [2022-10-24T15:42:26.009Z] Removing intermediate container be0adb9fd9a2 [2022-10-24T15:42:26.009Z] ---> ec4206b7da2f [2022-10-24T15:42:26.009Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T15:42:26.009Z] Successfully built ec4206b7da2f [2022-10-24T15:42:26.009Z] 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-10-24T15:42:26.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:42:26.455Z] [2022-10-24T15:42:26.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:42:26.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:42:26.750Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T15:42:26.750Z] 5eb5b503b376: Pulling fs layer [2022-10-24T15:42:26.750Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T15:42:26.750Z] ec43610c2a17: Pulling fs layer [2022-10-24T15:42:26.750Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T15:42:26.750Z] 33b1e0a273af: Pulling fs layer [2022-10-24T15:42:26.750Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T15:42:26.750Z] 2f39f015ded8: Pulling fs layer [2022-10-24T15:42:26.750Z] 33b1e0a273af: Waiting [2022-10-24T15:42:26.750Z] 5d3b04190fa2: Waiting [2022-10-24T15:42:26.750Z] 2f39f015ded8: Waiting [2022-10-24T15:42:26.750Z] 3a2ae6a8a46f: Waiting [2022-10-24T15:42:26.750Z] 5c69ac0246d0: Download complete [2022-10-24T15:42:26.750Z] 3a2ae6a8a46f: Download complete [2022-10-24T15:42:26.750Z] 33b1e0a273af: Verifying Checksum [2022-10-24T15:42:26.750Z] 33b1e0a273af: Download complete [2022-10-24T15:42:27.012Z] 5d3b04190fa2: Download complete [2022-10-24T15:42:27.012Z] ec43610c2a17: Verifying Checksum [2022-10-24T15:42:27.012Z] ec43610c2a17: Download complete [2022-10-24T15:42:27.012Z] 5eb5b503b376: Verifying Checksum [2022-10-24T15:42:27.012Z] 5eb5b503b376: Download complete [2022-10-24T15:42:27.581Z] 2f39f015ded8: Download complete [2022-10-24T15:42:28.147Z] 5eb5b503b376: Pull complete [2022-10-24T15:42:28.147Z] 5c69ac0246d0: Pull complete [2022-10-24T15:42:28.711Z] ec43610c2a17: Pull complete [2022-10-24T15:42:28.711Z] 3a2ae6a8a46f: Pull complete [2022-10-24T15:42:28.968Z] 33b1e0a273af: Pull complete [2022-10-24T15:42:28.968Z] 5d3b04190fa2: Pull complete [2022-10-24T15:42:33.149Z] 2f39f015ded8: Pull complete [2022-10-24T15:42:33.149Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T15:42:33.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:42:33.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:42:33.215Z] prd-ubuntu20.04-docker-8c-8g-9731 does not seem to be running inside a container [2022-10-24T15:42:33.245Z] $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T15:42:36.051Z] $ docker top de673f3ff2a92609f2164abf33618a4302aab1747fcb6f4a3d9e3ad114a8c61b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:42:36.435Z] ---> job-cost.sh [2022-10-24T15:42:36.435Z] lf-activate-venv: SKIPPING [2022-10-24T15:42:36.435Z] INFO: No Stack... [2022-10-24T15:42:36.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T15:42:36.953Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T15:42:37.239Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-10-24T15:42:37.239Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T15:42:37.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [2022-10-24T15:42:37.256Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] did not exist. Created. [2022-10-24T15:42:37.256Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T15:42:37.557Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T15:42:37.588Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T15:42:37.594Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T15:42:37.612Z] $ docker stop --time=1 de673f3ff2a92609f2164abf33618a4302aab1747fcb6f4a3d9e3ad114a8c61b [2022-10-24T15:42:38.755Z] $ docker rm -f de673f3ff2a92609f2164abf33618a4302aab1747fcb6f4a3d9e3ad114a8c61b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T18:30:41.705Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21826 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-10-24T18:30:41.717Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-10-24T18:30:41.746Z] Selected Git installation does not exist. Using Default [2022-10-24T18:30:41.747Z] The recommended git tool is: NONE [2022-10-24T18:30:46.870Z] using credential edgex-jenkins-ssh [2022-10-24T18:30:46.886Z] Cloning the remote Git repository [2022-10-24T18:30:46.935Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T18:30:47.010Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-10-24T18:30:47.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T18:30:47.160Z] > git --version # timeout=10 [2022-10-24T18:30:47.185Z] > git --version # 'git version 2.25.1' [2022-10-24T18:30:47.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T18:30:47.236Z] Verifying host key using known hosts file [2022-10-24T18:30:47.444Z] 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-10-24T18:30:47.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T18:30:48.573Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T18:30:48.596Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T18:30:49.987Z] Merging remotes/origin/main commit 0402772c8535e80a39149c240333cd83d56188f2 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f [2022-10-24T18:30:50.268Z] Merge succeeded, producing 93b59d13014c41a7c299f1b1afe91649b2914cf4 [2022-10-24T18:30:50.268Z] Checking out Revision 93b59d13014c41a7c299f1b1afe91649b2914cf4 (PR-385) [2022-10-24T18:30:49.349Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T18:30:49.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T18:30:49.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T18:30:49.394Z] Verifying host key using known hosts file [2022-10-24T18:30:49.400Z] 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-10-24T18:30:49.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T18:30:50.008Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T18:30:50.040Z] > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [2022-10-24T18:30:50.123Z] > git remote # timeout=10 [2022-10-24T18:30:50.144Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T18:30:50.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T18:30:50.164Z] Verifying host key using known hosts file [2022-10-24T18:30:50.169Z] 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-10-24T18:30:50.181Z] > git merge 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 [2022-10-24T18:30:50.248Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T18:30:50.277Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T18:30:50.292Z] > git checkout -f 93b59d13014c41a7c299f1b1afe91649b2914cf4 # timeout=10 [2022-10-24T18:30:53.869Z] Commit message: "Merge commit '0402772c8535e80a39149c240333cd83d56188f2' into HEAD" [2022-10-24T18:30:53.880Z] > git rev-list --no-walk b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T18:30:54.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T18:30:54.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T18:30:54.829Z] Dload Upload Total Spent Left Speed [2022-10-24T18:30:54.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh [2022-10-24T18:30:55.437Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T18:30:55.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T18:30:55.761Z] + sudo tee /etc/docker/daemon.new [2022-10-24T18:30:55.761Z] { [2022-10-24T18:30:55.761Z] "registry-mirrors": [ [2022-10-24T18:30:55.761Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T18:30:55.761Z] ], [2022-10-24T18:30:55.761Z] "bip": "10.250.0.254/24", [2022-10-24T18:30:55.761Z] "hosts": [ [2022-10-24T18:30:55.761Z] "tcp://0.0.0.0:5555", [2022-10-24T18:30:55.761Z] "unix:///var/run/docker.sock" [2022-10-24T18:30:55.761Z] ], [2022-10-24T18:30:55.761Z] "mtu": 1458, [2022-10-24T18:30:55.761Z] "selinux-enabled": true, [2022-10-24T18:30:55.761Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T18:30:55.761Z] } [Pipeline] sh [2022-10-24T18:30:56.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T18:30:56.399Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T18:31:14.626Z] provisioning config files... [2022-10-24T18:31:14.652Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14835910406471719113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:31:14.995Z] ---> docker-login.sh [2022-10-24T18:31:14.995Z] nexus3.edgexfoundry.org:10001 [2022-10-24T18:31:15.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:31:15.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:31:15.530Z] Configure a credential helper to remove this warning. See [2022-10-24T18:31:15.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:31:15.530Z] [2022-10-24T18:31:15.530Z] Login Succeeded [2022-10-24T18:31:15.530Z] nexus3.edgexfoundry.org:10002 [2022-10-24T18:31:15.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:31:15.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:31:15.798Z] Configure a credential helper to remove this warning. See [2022-10-24T18:31:15.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:31:15.798Z] [2022-10-24T18:31:15.798Z] Login Succeeded [2022-10-24T18:31:15.798Z] nexus3.edgexfoundry.org:10003 [2022-10-24T18:31:16.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:31:16.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:31:16.064Z] Configure a credential helper to remove this warning. See [2022-10-24T18:31:16.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:31:16.064Z] [2022-10-24T18:31:16.064Z] Login Succeeded [2022-10-24T18:31:16.331Z] nexus3.edgexfoundry.org:10004 [2022-10-24T18:31:16.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:31:16.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:31:16.597Z] Configure a credential helper to remove this warning. See [2022-10-24T18:31:16.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:31:16.597Z] [2022-10-24T18:31:16.597Z] Login Succeeded [2022-10-24T18:31:16.597Z] docker.io [2022-10-24T18:31:16.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:31:17.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:31:17.133Z] Configure a credential helper to remove this warning. See [2022-10-24T18:31:17.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:31:17.133Z] [2022-10-24T18:31:17.133Z] Login Succeeded [2022-10-24T18:31:17.133Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T18:31:17.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T18:31:17.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T18:31:17.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T18:31:17.322Z] ========================================================= [2022-10-24T18:31:17.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T18:31:17.323Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:31:17.661Z] + 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-10-24T18:31:17.927Z] Sending build context to Docker daemon 3.25MB [2022-10-24T18:31:17.927Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T18:31:17.927Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T18:31:18.197Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T18:31:18.197Z] 9b18e9b68314: Pulling fs layer [2022-10-24T18:31:18.197Z] d32db5db7311: Pulling fs layer [2022-10-24T18:31:18.197Z] d0c4b47475fc: Pulling fs layer [2022-10-24T18:31:18.197Z] 5831b945b038: Pulling fs layer [2022-10-24T18:31:18.197Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T18:31:18.197Z] e10730c5d714: Pulling fs layer [2022-10-24T18:31:18.197Z] 5dd5c2283517: Pulling fs layer [2022-10-24T18:31:18.197Z] d5ac0230b979: Pulling fs layer [2022-10-24T18:31:18.197Z] 86bbec2aaacd: Waiting [2022-10-24T18:31:18.197Z] 5831b945b038: Waiting [2022-10-24T18:31:18.197Z] e10730c5d714: Waiting [2022-10-24T18:31:18.197Z] d5ac0230b979: Waiting [2022-10-24T18:31:18.197Z] 5dd5c2283517: Waiting [2022-10-24T18:31:18.197Z] d0c4b47475fc: Download complete [2022-10-24T18:31:18.197Z] d32db5db7311: Verifying Checksum [2022-10-24T18:31:18.197Z] d32db5db7311: Download complete [2022-10-24T18:31:18.197Z] 86bbec2aaacd: Download complete [2022-10-24T18:31:18.197Z] e10730c5d714: Verifying Checksum [2022-10-24T18:31:18.197Z] e10730c5d714: Download complete [2022-10-24T18:31:18.197Z] 9b18e9b68314: Verifying Checksum [2022-10-24T18:31:18.197Z] 9b18e9b68314: Download complete [2022-10-24T18:31:19.177Z] 9b18e9b68314: Pull complete [2022-10-24T18:31:19.177Z] d5ac0230b979: Verifying Checksum [2022-10-24T18:31:19.177Z] d5ac0230b979: Download complete [2022-10-24T18:31:20.148Z] 5dd5c2283517: Verifying Checksum [2022-10-24T18:31:20.148Z] 5dd5c2283517: Download complete [2022-10-24T18:31:20.745Z] d32db5db7311: Pull complete [2022-10-24T18:31:20.745Z] d0c4b47475fc: Pull complete [2022-10-24T18:31:20.745Z] 5831b945b038: Verifying Checksum [2022-10-24T18:31:20.745Z] 5831b945b038: Download complete [2022-10-24T18:31:33.086Z] 5831b945b038: Pull complete [2022-10-24T18:31:33.086Z] 86bbec2aaacd: Pull complete [2022-10-24T18:31:33.086Z] e10730c5d714: Pull complete [2022-10-24T18:31:39.749Z] 5dd5c2283517: Pull complete [2022-10-24T18:31:40.711Z] d5ac0230b979: Pull complete [2022-10-24T18:31:40.711Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T18:31:40.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T18:31:40.711Z] ---> 59b3b1a385d4 [2022-10-24T18:31:40.711Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T18:31:42.664Z] ---> Running in 36097052e64e [2022-10-24T18:31:42.933Z] Removing intermediate container 36097052e64e [2022-10-24T18:31:42.933Z] ---> fb53654f7c1d [2022-10-24T18:31:42.933Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T18:31:42.933Z] ---> Running in 6b0431a004a4 [2022-10-24T18:31:43.201Z] Removing intermediate container 6b0431a004a4 [2022-10-24T18:31:43.201Z] ---> ed2d03b9e8c9 [2022-10-24T18:31:43.201Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T18:31:43.201Z] ---> Running in 6eec4de1253d [2022-10-24T18:31:45.159Z] Removing intermediate container 6eec4de1253d [2022-10-24T18:31:45.159Z] ---> b0a0d10c8032 [2022-10-24T18:31:45.159Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T18:31:45.159Z] ---> Running in 59ffe92e5b8b [2022-10-24T18:31:46.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T18:31:47.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T18:31:47.653Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T18:31:47.916Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T18:31:47.916Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T18:31:48.181Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T18:31:48.181Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T18:31:48.446Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T18:31:48.446Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T18:31:48.446Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T18:31:48.712Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T18:31:48.712Z] OK: 228 MiB in 59 packages [2022-10-24T18:31:49.678Z] Removing intermediate container 59ffe92e5b8b [2022-10-24T18:31:49.678Z] ---> a7feaf1f4eb9 [2022-10-24T18:31:49.678Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T18:31:49.678Z] ---> Running in 12af90c0b6b5 [2022-10-24T18:31:49.945Z] Removing intermediate container 12af90c0b6b5 [2022-10-24T18:31:49.945Z] ---> ded7f9d8165a [2022-10-24T18:31:49.945Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T18:31:50.528Z] ---> 55551dde9ede [2022-10-24T18:31:50.528Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T18:31:50.528Z] ---> Running in a3e3696871e2 [2022-10-24T18:32:46.927Z] Removing intermediate container a3e3696871e2 [2022-10-24T18:32:46.927Z] ---> 7a4d2f3ed88c [2022-10-24T18:32:46.927Z] Step 10/11 : COPY . . [2022-10-24T18:32:46.927Z] ---> c004ddadcd57 [2022-10-24T18:32:46.927Z] Step 11/11 : RUN ${MAKE} [2022-10-24T18:32:46.927Z] ---> Running in 0bed28e1a38f [2022-10-24T18:32:46.927Z] noop [2022-10-24T18:32:46.927Z] Removing intermediate container 0bed28e1a38f [2022-10-24T18:32:46.927Z] ---> e9b5baf0ff1d [2022-10-24T18:32:46.927Z] Successfully built e9b5baf0ff1d [2022-10-24T18:32:46.927Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:32:47.280Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T18:32:47.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:32:47.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-21826 does not seem to be running inside a container [2022-10-24T18:32:47.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T18:32:48.673Z] $ docker top aa09a48bd5e343c9d36f9257ccd30e2216212898ebe4dee008859cf6257f7ced -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T18:32:49.498Z] + go version [2022-10-24T18:32:49.498Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T18:32:49.517Z] $ docker stop --time=1 aa09a48bd5e343c9d36f9257ccd30e2216212898ebe4dee008859cf6257f7ced [2022-10-24T18:32:51.131Z] $ docker rm -f aa09a48bd5e343c9d36f9257ccd30e2216212898ebe4dee008859cf6257f7ced [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:32:51.691Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T18:32:51.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:32:51.863Z] prd-ubuntu20.04-docker-arm64-4c-16g-21826 does not seem to be running inside a container [2022-10-24T18:32:51.929Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T18:32:53.110Z] $ docker top 7a2417f84f25e697b705453acd183ae5ff4f0da82a5bb99791aeb54a6f25f9e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T18:32:53.609Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-24T18:32:53.932Z] + make test [2022-10-24T18:32:53.933Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T18:32:55.876Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T18:34:17.491Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T18:34:17.491Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 47.7% of statements [2022-10-24T18:34:17.491Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T18:34:17.491Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T18:34:35.716Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T18:34:35.716Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T18:34:35.716Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T18:34:35.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T18:34:35.760Z] $ docker stop --time=1 7a2417f84f25e697b705453acd183ae5ff4f0da82a5bb99791aeb54a6f25f9e4 [2022-10-24T18:34:37.502Z] $ docker rm -f 7a2417f84f25e697b705453acd183ae5ff4f0da82a5bb99791aeb54a6f25f9e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T18:34:38.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T18:34:38.435Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T18:34:38.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T18:34:39.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T18:34:39.516Z] + ls -al . [2022-10-24T18:34:39.516Z] total 184 [2022-10-24T18:34:39.516Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:32 . [2022-10-24T18:34:39.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:30 .. [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 18:30 .dockerignore [2022-10-24T18:34:39.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:30 .git [2022-10-24T18:34:39.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:30 .github [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 18:30 .gitignore [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:30 .golangci.yml [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 18:30 Attribution.txt [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 18:30 CHANGELOG.md [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 18:30 Dockerfile [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:30 GOVERNANCE.md [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 18:30 Jenkinsfile [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:30 LICENSE [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 18:30 Makefile [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 18:30 OWNERS.md [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 18:30 README.md [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:40 VERSION [2022-10-24T18:34:39.516Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:30 bin [2022-10-24T18:34:39.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:30 cmd [2022-10-24T18:34:39.516Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 18:34 coverage.out [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 18:30 go.mod [2022-10-24T18:34:39.516Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 18:30 go.sum [2022-10-24T18:34:39.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:30 internal [2022-10-24T18:34:39.517Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:30 simulator [2022-10-24T18:34:39.517Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:30 snap [2022-10-24T18:34:39.517Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:34:39.870Z] + 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=93b59d13014c41a7c299f1b1afe91649b2914cf4 --label arch=arm64 --label version=0.0.0 . [2022-10-24T18:34:40.145Z] Sending build context to Docker daemon 3.274MB [2022-10-24T18:34:40.145Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T18:34:40.145Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T18:34:40.145Z] ---> e9b5baf0ff1d [2022-10-24T18:34:40.145Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T18:34:40.445Z] ---> Running in 03e6b5917cb7 [2022-10-24T18:34:40.721Z] Removing intermediate container 03e6b5917cb7 [2022-10-24T18:34:40.721Z] ---> 50a60daa6fdd [2022-10-24T18:34:40.721Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T18:34:40.721Z] ---> Running in 7df79a92c81b [2022-10-24T18:34:40.995Z] Removing intermediate container 7df79a92c81b [2022-10-24T18:34:40.995Z] ---> a1c2d3d83f48 [2022-10-24T18:34:40.995Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T18:34:40.995Z] ---> Running in 01c6b457a3a7 [2022-10-24T18:34:42.963Z] Removing intermediate container 01c6b457a3a7 [2022-10-24T18:34:42.963Z] ---> 340519f73d63 [2022-10-24T18:34:42.963Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T18:34:42.963Z] ---> Running in 4a7b88fcff71 [2022-10-24T18:34:43.550Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T18:34:45.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T18:34:46.510Z] OK: 228 MiB in 59 packages [2022-10-24T18:34:47.098Z] Removing intermediate container 4a7b88fcff71 [2022-10-24T18:34:47.098Z] ---> 98bc6d862798 [2022-10-24T18:34:47.098Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T18:34:47.098Z] ---> Running in 70d0453498fd [2022-10-24T18:34:47.366Z] Removing intermediate container 70d0453498fd [2022-10-24T18:34:47.366Z] ---> dd6e156cb40c [2022-10-24T18:34:47.366Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T18:34:47.636Z] ---> b6fadf0678bf [2022-10-24T18:34:47.636Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T18:34:47.906Z] ---> Running in df527a110f81 [2022-10-24T18:34:49.856Z] Removing intermediate container df527a110f81 [2022-10-24T18:34:49.856Z] ---> cb1b05ce1cee [2022-10-24T18:34:49.856Z] Step 10/24 : COPY . . [2022-10-24T18:34:50.454Z] ---> c424bfa21423 [2022-10-24T18:34:50.454Z] Step 11/24 : RUN ${MAKE} [2022-10-24T18:34:50.454Z] ---> Running in 23c4cfdb21ed [2022-10-24T18:34:51.422Z] 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-10-24T18:37:28.839Z] Removing intermediate container 23c4cfdb21ed [2022-10-24T18:37:28.839Z] ---> 7f9d74981c76 [2022-10-24T18:37:28.839Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T18:37:28.839Z] 3.14: Pulling from library/alpine [2022-10-24T18:37:28.839Z] 90cda3b7c325: Pulling fs layer [2022-10-24T18:37:28.839Z] 90cda3b7c325: Verifying Checksum [2022-10-24T18:37:28.839Z] 90cda3b7c325: Download complete [2022-10-24T18:37:28.839Z] 90cda3b7c325: Pull complete [2022-10-24T18:37:28.839Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T18:37:28.839Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T18:37:28.839Z] ---> 376ba31ae3da [2022-10-24T18:37:28.839Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T18:37:28.839Z] ---> Running in 9114aaa9784d [2022-10-24T18:37:28.839Z] Removing intermediate container 9114aaa9784d [2022-10-24T18:37:28.839Z] ---> b0c111de41ba [2022-10-24T18:37:28.839Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T18:37:28.839Z] ---> Running in 93a95743cd4a [2022-10-24T18:37:28.839Z] Removing intermediate container 93a95743cd4a [2022-10-24T18:37:28.839Z] ---> 2ea30f01c859 [2022-10-24T18:37:28.839Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T18:37:28.839Z] ---> Running in eef85ae8e6ca [2022-10-24T18:37:28.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-24T18:37:28.839Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-24T18:37:28.839Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T18:37:28.839Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T18:37:28.839Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T18:37:28.839Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T18:37:28.839Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T18:37:28.839Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T18:37:28.839Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T18:37:28.839Z] OK: 8 MiB in 20 packages [2022-10-24T18:37:28.839Z] Removing intermediate container eef85ae8e6ca [2022-10-24T18:37:28.839Z] ---> 3e8798dc256e [2022-10-24T18:37:28.839Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T18:37:28.839Z] ---> 46fc88bfb744 [2022-10-24T18:37:28.839Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T18:37:28.839Z] ---> bc1e86b52a7e [2022-10-24T18:37:28.839Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T18:37:29.107Z] ---> 0aad2d4dbd41 [2022-10-24T18:37:29.107Z] Step 19/24 : EXPOSE 59901 [2022-10-24T18:37:29.107Z] ---> Running in d5907275d8f5 [2022-10-24T18:37:29.374Z] Removing intermediate container d5907275d8f5 [2022-10-24T18:37:29.374Z] ---> 5ba41adbfb1f [2022-10-24T18:37:29.374Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T18:37:29.374Z] ---> Running in c7edf59b2d95 [2022-10-24T18:37:29.642Z] Removing intermediate container c7edf59b2d95 [2022-10-24T18:37:29.642Z] ---> 9eddf84a55c0 [2022-10-24T18:37:29.642Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T18:37:29.642Z] ---> Running in b52eb60a4d7c [2022-10-24T18:37:29.914Z] Removing intermediate container b52eb60a4d7c [2022-10-24T18:37:29.914Z] ---> 8f3bde52cac3 [2022-10-24T18:37:29.914Z] Step 22/24 : LABEL arch=arm64 [2022-10-24T18:37:30.181Z] ---> Running in 2a674877de84 [2022-10-24T18:37:30.450Z] Removing intermediate container 2a674877de84 [2022-10-24T18:37:30.450Z] ---> cebf2ca87127 [2022-10-24T18:37:30.450Z] Step 23/24 : LABEL git_sha=93b59d13014c41a7c299f1b1afe91649b2914cf4 [2022-10-24T18:37:30.450Z] ---> Running in 5a7d9f28d94b [2022-10-24T18:37:30.717Z] Removing intermediate container 5a7d9f28d94b [2022-10-24T18:37:30.717Z] ---> b145a8e3767e [2022-10-24T18:37:30.717Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T18:37:30.717Z] ---> Running in b5261380bfa2 [2022-10-24T18:37:30.983Z] Removing intermediate container b5261380bfa2 [2022-10-24T18:37:30.983Z] ---> 5acdb84bdf61 [2022-10-24T18:37:30.983Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T18:37:30.983Z] Successfully built 5acdb84bdf61 [2022-10-24T18:37:30.983Z] 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-10-24T18:37:31.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T18:37:31.675Z] [2022-10-24T18:37:31.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:37:32.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T18:37:32.011Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T18:37:32.011Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T18:37:32.011Z] 04944245beec: Pulling fs layer [2022-10-24T18:37:32.011Z] 699f458cf7ca: Pulling fs layer [2022-10-24T18:37:32.011Z] 765212b225bb: Pulling fs layer [2022-10-24T18:37:32.011Z] f23df028b6ca: Pulling fs layer [2022-10-24T18:37:32.011Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T18:37:32.011Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T18:37:32.011Z] 765212b225bb: Waiting [2022-10-24T18:37:32.011Z] f23df028b6ca: Waiting [2022-10-24T18:37:32.011Z] d65c8cfc05b1: Waiting [2022-10-24T18:37:32.011Z] 2437ff75d9bd: Waiting [2022-10-24T18:37:32.282Z] 04944245beec: Verifying Checksum [2022-10-24T18:37:32.282Z] 04944245beec: Download complete [2022-10-24T18:37:32.282Z] 765212b225bb: Verifying Checksum [2022-10-24T18:37:32.282Z] 765212b225bb: Download complete [2022-10-24T18:37:32.282Z] f23df028b6ca: Download complete [2022-10-24T18:37:32.282Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T18:37:32.282Z] d65c8cfc05b1: Download complete [2022-10-24T18:37:32.282Z] 699f458cf7ca: Verifying Checksum [2022-10-24T18:37:32.282Z] 699f458cf7ca: Download complete [2022-10-24T18:37:32.868Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T18:37:32.868Z] 8998bd30e6a1: Download complete [2022-10-24T18:37:34.812Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T18:37:34.812Z] 2437ff75d9bd: Download complete [2022-10-24T18:37:36.771Z] 8998bd30e6a1: Pull complete [2022-10-24T18:37:37.356Z] 04944245beec: Pull complete [2022-10-24T18:37:38.317Z] 699f458cf7ca: Pull complete [2022-10-24T18:37:38.586Z] 765212b225bb: Pull complete [2022-10-24T18:37:39.546Z] f23df028b6ca: Pull complete [2022-10-24T18:37:39.546Z] d65c8cfc05b1: Pull complete [2022-10-24T18:37:54.538Z] 2437ff75d9bd: Pull complete [2022-10-24T18:37:54.538Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T18:37:54.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T18:37:54.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:37:54.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-21826 does not seem to be running inside a container [2022-10-24T18:37:54.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T18:37:57.274Z] $ docker top 9905685b145f191a7e39e5bf4c408383abc6ac7db54025f2a0187c6255de9bc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:37:58.115Z] ---> job-cost.sh [2022-10-24T18:37:58.115Z] lf-activate-venv: SKIPPING [2022-10-24T18:37:58.115Z] INFO: No Stack... [2022-10-24T18:37:58.381Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T18:37:59.337Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T18:37:59.650Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2022-10-24T18:37:59.650Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T18:37:59.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [2022-10-24T18:37:59.715Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] did not exist. Created. [2022-10-24T18:37:59.715Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T18:38:00.359Z] /w/workspace/device-modbus-go/2@tmp/durable-0d08639c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T18:38:00.686Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T18:38:00.708Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T18:38:00.750Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T18:38:00.756Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T18:38:00.770Z] $ docker stop --time=1 9905685b145f191a7e39e5bf4c408383abc6ac7db54025f2a0187c6255de9bc9 [2022-10-24T18:38:02.247Z] $ docker rm -f 9905685b145f191a7e39e5bf4c408383abc6ac7db54025f2a0187c6255de9bc9 [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-10-24T18:38:02.607Z] provisioning config files... [2022-10-24T18:38:02.614Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13494618086891268712tmp [Pipeline] { [Pipeline] sh [2022-10-24T18:38:02.903Z] + set +x [2022-10-24T18:38:02.903Z] + + bash -s -- [2022-10-24T18:38:02.903Z] curl -s https://codecov.io/bash [2022-10-24T18:38:02.903Z] [2022-10-24T18:38:02.903Z] _____ _ [2022-10-24T18:38:02.903Z] / ____| | | [2022-10-24T18:38:02.903Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T18:38:02.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T18:38:02.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T18:38:02.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T18:38:02.903Z] Bash-1.0.6 [2022-10-24T18:38:02.903Z] [2022-10-24T18:38:02.903Z] [2022-10-24T18:38:02.903Z] ==> git version 2.25.1 found [2022-10-24T18:38:02.903Z] ==> 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-10-24T18:38:02.903Z] Release-Date: 2020-01-08 [2022-10-24T18:38:02.904Z] 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-10-24T18:38:02.904Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T18:38:02.904Z] ==> Jenkins CI detected. [2022-10-24T18:38:02.904Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-24T18:38:02.904Z] project root: . [2022-10-24T18:38:02.904Z] --> token set from env [2022-10-24T18:38:02.904Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T18:38:02.904Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T18:38:02.904Z] ==> Python coveragepy not found [2022-10-24T18:38:02.904Z] ==> Searching for coverage reports in: [2022-10-24T18:38:02.904Z] + . [2022-10-24T18:38:02.904Z] -> Found 1 reports [2022-10-24T18:38:02.904Z] ==> Detecting git/mercurial file structure [2022-10-24T18:38:02.904Z] ==> Reading reports [2022-10-24T18:38:02.904Z] + ./coverage.out bytes=23241 [2022-10-24T18:38:02.904Z] ==> Appending adjustments [2022-10-24T18:38:02.904Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T18:38:03.161Z] + Found adjustments [2022-10-24T18:38:03.161Z] ==> Gzipping contents [2022-10-24T18:38:03.161Z] 4.0K /tmp/codecov.pdt8Bt.gz [2022-10-24T18:38:03.161Z] ==> Uploading reports [2022-10-24T18:38:03.161Z] url: https://codecov.io [2022-10-24T18:38:03.161Z] query: branch=PR-385&commit=996b6ee032ce334add558144e2eefc3fc7bf4d7a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-24T18:38:03.161Z] -> Pinging Codecov [2022-10-24T18:38:03.161Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=996b6ee032ce334add558144e2eefc3fc7bf4d7a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-24T18:38:03.419Z] -> Uploading to [2022-10-24T18:38:03.419Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/996b6ee032ce334add558144e2eefc3fc7bf4d7a/139847ed-e47c-411a-9b41-65cc85e6384c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T183803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b01fe12ee147e053d1b001a47acdff42cca985dd382be8caf0e168233c20059b [2022-10-24T18:38:03.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T18:38:03.419Z] Dload Upload Total Spent Left Speed [2022-10-24T18:38:03.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 16144 --:--:-- --:--:-- --:--:-- 16210 [2022-10-24T18:38:03.679Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/996b6ee032ce334add558144e2eefc3fc7bf4d7a [Pipeline] } [2022-10-24T18:38:03.685Z] 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-10-24T18:38:04.364Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-10-24T18:38:04.364Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T18:38:04.364Z] total 16 [2022-10-24T18:38:04.364Z] drwxr-xr-x 3 root root 4096 Oct 24 15:42 . [2022-10-24T18:38:04.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:42 .. [2022-10-24T18:38:04.364Z] drwxr-xr-x 2 root root 4096 Oct 24 15:42 cost [2022-10-24T18:38:04.364Z] -rw-r--r-- 1 root root 88 Oct 24 15:42 cost.csv [2022-10-24T18:38:04.364Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T18:38:04.364Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T18:38:04.364Z] total 16 [2022-10-24T18:38:04.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:42 . [2022-10-24T18:38:04.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:42 .. [2022-10-24T18:38:04.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:42 cost [2022-10-24T18:38:04.364Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 15:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:04.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:05.512Z] ---> package-listing.sh [2022-10-24T18:38:05.512Z] ++ facter osfamily [2022-10-24T18:38:05.512Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T18:38:05.771Z] + OS_FAMILY=debian [2022-10-24T18:38:05.771Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-24T18:38:05.771Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T18:38:05.771Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T18:38:05.771Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T18:38:05.771Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T18:38:05.771Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-24T18:38:05.771Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T18:38:05.771Z] + case "${OS_FAMILY}" in [2022-10-24T18:38:05.771Z] + dpkg -l [2022-10-24T18:38:05.771Z] + grep '^ii' [2022-10-24T18:38:05.771Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T18:38:05.771Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T18:38:05.771Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T18:38:05.771Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-24T18:38:05.771Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-10-24T18:38:05.771Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo [2022-10-24T18:38:05.782Z] 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T18:38:06.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:38:06.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T18:38:06.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:38:06.679Z] prd-ubuntu20.04-docker-8c-8g-9731 does not seem to be running inside a container [2022-10-24T18:38:06.714Z] $ 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-385/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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T18:38:06.918Z] $ docker top f5b71585b2cc8324f52e82ff31632eb4948a67d346d6942f3b5da93a2b8ba993 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T18:38:07.248Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T18:38:07.526Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T18:38:07.805Z] + ls /var/log/sa-host [2022-10-24T18:38:07.805Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T18:38:07.941Z] provisioning config files... [2022-10-24T18:38:07.953Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9199945700609588575tmp [Pipeline] { [Pipeline] echo [2022-10-24T18:38:07.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:08.248Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T18:38:08.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:08.584Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T18:38:08.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:08.875Z] ---> sudo-logs.sh [2022-10-24T18:38:08.875Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T18:38:08.898Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:09.178Z] ---> job-cost.sh [2022-10-24T18:38:09.178Z] lf-activate-venv: SKIPPING [2022-10-24T18:38:09.178Z] DEBUG: total: 0.2199999988079071 [2022-10-24T18:38:09.178Z] INFO: Retrieving Stack Cost... [2022-10-24T18:38:09.435Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T18:38:10.002Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T18:38:10.013Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:38:10.297Z] ---> logs-deploy.sh [2022-10-24T18:38:10.297Z] lf-activate-venv: SKIPPING [2022-10-24T18:38:10.297Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/2 [2022-10-24T18:38:10.297Z] INFO: archiving workspace using pattern(s): [2022-10-24T18:38:11.234Z] Archives upload complete. [2022-10-24T18:38:11.234Z] INFO: archiving logs to Nexus