Pull request #387 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc rather than cab30485145600e8ca5f7b38626c1c86f31feec3 Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh15933064004711443099.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-ssh6872213395466657.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-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13988362788784328915.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-ssh14615943339704231878.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-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6842081250604306760.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-117252 in /w/workspace/xfoundry_device-modbus-go_PR-387 [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-387 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit cab30485145600e8ca5f7b38626c1c86f31feec3 Merge succeeded, producing cab30485145600e8ca5f7b38626c1c86f31feec3 Checking out Revision cab30485145600e8ca5f7b38626c1c86f31feec3 (PR-387) > git config core.sparsecheckout # timeout=10 > git checkout -f cab30485145600e8ca5f7b38626c1c86f31feec3 # 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 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cab30485145600e8ca5f7b38626c1c86f31feec3 # timeout=10 Commit message: "fix comments" > git rev-list --no-walk 0842174cf64c70e314751488866d1c1f9e581358 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:30:14.059Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:30:14.112Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:30:14.129Z] ========================================================= [2022-10-26T19:30:14.129Z] EdgeX Global Pipelines Version Info [2022-10-26T19:30:14.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:14.844Z] ------------------- [2022-10-26T19:30:14.844Z] stable info: [2022-10-26T19:30:14.844Z] ------------------- [2022-10-26T19:30:14.844Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:30:14.844Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:30:14.844Z] Message: update stable to v1.0.243 [2022-10-26T19:30:15.411Z] ------------------- [2022-10-26T19:30:15.411Z] experimental info: [2022-10-26T19:30:15.411Z] ------------------- [2022-10-26T19:30:15.411Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:30:15.411Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:30:15.411Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:30:15.560Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-26T19:30:15.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-26T19:30:15.577Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:30:15.585Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:30:15.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:30:15.602Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:30:15.610Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:30:15.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:30:15.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:30:15.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:30:15.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:30:15.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-26T19:30:15.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:30:15.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:30:15.718Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:30:15.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:30:15.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:30:15.746Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:30:15.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:30:15.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:30:15.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:30:15.790Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:30:15.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:30:15.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:30:15.819Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:30:15.827Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:30:15.835Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:30:15.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo [2022-10-26T19:30:15.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo [2022-10-26T19:30:15.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo [2022-10-26T19:30:15.876Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cab30485145600e8ca5f7b38626c1c86f31feec3 [Pipeline] echo [2022-10-26T19:30:15.887Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cab3048 [Pipeline] echo [2022-10-26T19:30:15.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:30:15.935Z] provisioning config files... [2022-10-26T19:30:15.946Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config547968499044000920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:16.247Z] ---> docker-login.sh [2022-10-26T19:30:16.247Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:30:16.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:16.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:16.509Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:16.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:16.509Z] [2022-10-26T19:30:16.509Z] Login Succeeded [2022-10-26T19:30:16.509Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:30:16.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:16.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:16.770Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:16.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:16.770Z] [2022-10-26T19:30:16.770Z] Login Succeeded [2022-10-26T19:30:16.770Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:30:16.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:16.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:16.770Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:16.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:16.770Z] [2022-10-26T19:30:16.770Z] Login Succeeded [2022-10-26T19:30:16.770Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:30:16.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.030Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.030Z] [2022-10-26T19:30:17.030Z] Login Succeeded [2022-10-26T19:30:17.030Z] docker.io [2022-10-26T19:30:17.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.291Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.291Z] [2022-10-26T19:30:17.291Z] Login Succeeded [2022-10-26T19:30:17.291Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:30:17.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:30:17.646Z] + git rev-list -1 --merges cab30485145600e8ca5f7b38626c1c86f31feec3~1..cab30485145600e8ca5f7b38626c1c86f31feec3 [Pipeline] echo [2022-10-26T19:30:17.677Z] -----------> git rev-list -1 --merges cab30485145600e8ca5f7b38626c1c86f31feec3~1..cab30485145600e8ca5f7b38626c1c86f31feec3 cab30485145600e8ca5f7b38626c1c86f31feec3 [false] [Pipeline] sh [2022-10-26T19:30:17.960Z] + git log --format=format:%s -1 cab30485145600e8ca5f7b38626c1c86f31feec3 [Pipeline] echo [2022-10-26T19:30:17.975Z] ========================================================= [2022-10-26T19:30:17.975Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:30:17.975Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:30:18.304Z] + git log --format=format:%s -1 cab30485145600e8ca5f7b38626c1c86f31feec3 [Pipeline] echo [2022-10-26T19:30:18.315Z] [semverPrep] GIT_COMMIT: cab30485145600e8ca5f7b38626c1c86f31feec3, Commit Message: fix comments [Pipeline] echo [2022-10-26T19:30:18.326Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:30:18.681Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:30:18.681Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:30:18.681Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:30:18.681Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:30:18.682Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:30:18.682Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:30:18.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:30:19.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:19.028Z] [2022-10-26T19:30:19.028Z] 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-26T19:30:19.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:19.334Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:30:19.334Z] b85a868b505f: Pulling fs layer [2022-10-26T19:30:19.334Z] e2be974225ed: Pulling fs layer [2022-10-26T19:30:19.334Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:30:19.334Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:30:19.334Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:30:19.334Z] 988bab9f4d93: Waiting [2022-10-26T19:30:19.334Z] eaf3925da568: Pulling fs layer [2022-10-26T19:30:19.334Z] 1469e6f7b9e6: Waiting [2022-10-26T19:30:19.334Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:30:19.334Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:30:19.334Z] eaf3925da568: Waiting [2022-10-26T19:30:19.334Z] bab4dde63d76: Waiting [2022-10-26T19:30:19.334Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:30:19.334Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:30:19.334Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:30:19.334Z] bde34c3a00c8: Waiting [2022-10-26T19:30:19.334Z] b352a97aabf1: Waiting [2022-10-26T19:30:19.334Z] 5851b861e8e6: Waiting [2022-10-26T19:30:19.334Z] e2be974225ed: Verifying Checksum [2022-10-26T19:30:19.334Z] e2be974225ed: Download complete [2022-10-26T19:30:19.334Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:30:19.334Z] 988bab9f4d93: Download complete [2022-10-26T19:30:19.595Z] 1469e6f7b9e6: Download complete [2022-10-26T19:30:19.595Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:30:19.595Z] 339a4e72a1f5: Download complete [2022-10-26T19:30:19.595Z] eaf3925da568: Verifying Checksum [2022-10-26T19:30:19.595Z] eaf3925da568: Download complete [2022-10-26T19:30:19.595Z] bde34c3a00c8: Download complete [2022-10-26T19:30:19.595Z] b352a97aabf1: Verifying Checksum [2022-10-26T19:30:19.595Z] b352a97aabf1: Download complete [2022-10-26T19:30:19.595Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:30:19.595Z] 4872d77fe225: Download complete [2022-10-26T19:30:19.595Z] 5851b861e8e6: Verifying Checksum [2022-10-26T19:30:19.595Z] 5851b861e8e6: Download complete [2022-10-26T19:30:19.595Z] b85a868b505f: Verifying Checksum [2022-10-26T19:30:19.595Z] b85a868b505f: Download complete [2022-10-26T19:30:20.165Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:30:20.165Z] bab4dde63d76: Download complete [2022-10-26T19:30:20.734Z] b85a868b505f: Pull complete [2022-10-26T19:30:20.993Z] e2be974225ed: Pull complete [2022-10-26T19:30:21.561Z] 339a4e72a1f5: Pull complete [2022-10-26T19:30:21.561Z] 988bab9f4d93: Pull complete [2022-10-26T19:30:21.821Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:30:21.821Z] eaf3925da568: Pull complete [2022-10-26T19:30:23.724Z] bab4dde63d76: Pull complete [2022-10-26T19:30:23.724Z] bde34c3a00c8: Pull complete [2022-10-26T19:30:24.294Z] b352a97aabf1: Pull complete [2022-10-26T19:30:24.553Z] 4872d77fe225: Pull complete [2022-10-26T19:30:25.134Z] 5851b861e8e6: Pull complete [2022-10-26T19:30:25.134Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:30:25.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:25.134Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:30:25.218Z] prd-ubuntu20.04-docker-8c-8g-117252 does not seem to be running inside a container [2022-10-26T19:30:25.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T19:30:30.846Z] $ docker top 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae -eo pid,comm [2022-10-26T19:30:30.909Z] 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-26T19:30:30.909Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:30:30.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:30:30.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:30:31.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:30:31.049Z] $ docker exec 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae ssh-agent [2022-10-26T19:30:31.163Z] SSH_AUTH_SOCK=/tmp/ssh-VTBCHo080j7d/agent.32 [2022-10-26T19:30:31.163Z] SSH_AGENT_PID=38 [2022-10-26T19:30:31.170Z] Running ssh-add (command line suppressed) [2022-10-26T19:30:31.265Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_431317432705305994.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_431317432705305994.key) [2022-10-26T19:30:31.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:30:31.564Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:30:31.578Z] $ docker exec --env ******** --env ******** 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae ssh-agent -k [2022-10-26T19:30:31.689Z] unset SSH_AUTH_SOCK; [2022-10-26T19:30:31.689Z] unset SSH_AGENT_PID; [2022-10-26T19:30:31.689Z] echo Agent pid 38 killed; [2022-10-26T19:30:31.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:30:31.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:30:31.720Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:30:31.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:30:31.827Z] $ docker exec 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae ssh-agent [2022-10-26T19:30:31.931Z] SSH_AUTH_SOCK=/tmp/ssh-4j1hVhUSzTZN/agent.71 [2022-10-26T19:30:31.931Z] SSH_AGENT_PID=77 [2022-10-26T19:30:31.935Z] Running ssh-add (command line suppressed) [2022-10-26T19:30:32.023Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_198530883018762709.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_198530883018762709.key) [2022-10-26T19:30:32.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:30:32.321Z] + git semver init [2022-10-26T19:30:32.580Z] 2022-10-26 19:30:32,525 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:30:32.580Z] 2022-10-26 19:30:32,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-26T19:30:32.580Z] 2022-10-26 19:30:32,526 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-26T19:30:32.580Z] 2022-10-26 19:30:32,527 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-387/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,488 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.git/info/exclude [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 with force:False [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,489 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,493 [execute] INFO git cat-file --batch-check [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,500 [execute] INFO git cat-file --batch [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:30:33.518Z] 2022-10-26 19:30:33,505 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-26T19:30:33.518Z] 0.0.0 [Pipeline] } [2022-10-26T19:30:33.797Z] $ docker exec --env ******** --env ******** 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae ssh-agent -k [2022-10-26T19:30:33.895Z] unset SSH_AUTH_SOCK; [2022-10-26T19:30:33.895Z] unset SSH_AGENT_PID; [2022-10-26T19:30:33.896Z] echo Agent pid 77 killed; [2022-10-26T19:30:33.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:30:34.234Z] + git semver [Pipeline] } [2022-10-26T19:30:34.545Z] $ docker stop --time=1 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae [2022-10-26T19:30:35.835Z] $ docker rm -f 2c490756be7495ba0f6a6b4739e882534527aaa4b2783ec454ef8a92b5100bae [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:30:36.157Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:30:36.341Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:30:36.343Z] [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-26T19:30:36.471Z] provisioning config files... [2022-10-26T19:30:36.479Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config10732622831438820228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:36.771Z] ---> docker-login.sh [2022-10-26T19:30:36.771Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:30:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:36.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:36.771Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:36.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:36.771Z] [2022-10-26T19:30:36.771Z] Login Succeeded [2022-10-26T19:30:36.771Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:30:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:36.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:36.771Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:36.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:36.771Z] [2022-10-26T19:30:36.771Z] Login Succeeded [2022-10-26T19:30:36.771Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:30:37.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.030Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.030Z] [2022-10-26T19:30:37.030Z] Login Succeeded [2022-10-26T19:30:37.030Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:30:37.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.030Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.030Z] [2022-10-26T19:30:37.030Z] Login Succeeded [2022-10-26T19:30:37.030Z] docker.io [2022-10-26T19:30:37.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.597Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.597Z] [2022-10-26T19:30:37.597Z] Login Succeeded [2022-10-26T19:30:37.597Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:30:37.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:30:37.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:30:37.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:30:37.672Z] ========================================================= [2022-10-26T19:30:37.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:30:37.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:30:37.979Z] + 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-26T19:30:37.979Z] Sending build context to Docker daemon 6.283MB [2022-10-26T19:30:37.979Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:30:37.979Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T19:30:37.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:30:37.979Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:30:37.979Z] 4583459ba037: Pulling fs layer [2022-10-26T19:30:37.979Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:30:37.979Z] 53926ce57604: Pulling fs layer [2022-10-26T19:30:37.979Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:30:37.979Z] 30f14e443154: Pulling fs layer [2022-10-26T19:30:37.979Z] 801331c1e519: Pulling fs layer [2022-10-26T19:30:37.979Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:30:37.979Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:30:37.979Z] 53926ce57604: Waiting [2022-10-26T19:30:37.979Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:30:37.979Z] 801331c1e519: Waiting [2022-10-26T19:30:37.979Z] 99cc6dd402b0: Waiting [2022-10-26T19:30:37.979Z] 30f14e443154: Waiting [2022-10-26T19:30:37.979Z] 7d9ed39f4882: Waiting [2022-10-26T19:30:37.979Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T19:30:37.979Z] 93c1e223e6f2: Download complete [2022-10-26T19:30:37.979Z] 4583459ba037: Download complete [2022-10-26T19:30:38.239Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T19:30:38.239Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:30:38.239Z] 30f14e443154: Verifying Checksum [2022-10-26T19:30:38.239Z] 30f14e443154: Download complete [2022-10-26T19:30:38.239Z] 213ec9aee27d: Verifying Checksum [2022-10-26T19:30:38.239Z] 213ec9aee27d: Download complete [2022-10-26T19:30:38.239Z] 801331c1e519: Verifying Checksum [2022-10-26T19:30:38.239Z] 801331c1e519: Download complete [2022-10-26T19:30:38.239Z] 213ec9aee27d: Pull complete [2022-10-26T19:30:38.508Z] 4583459ba037: Pull complete [2022-10-26T19:30:38.508Z] 93c1e223e6f2: Pull complete [2022-10-26T19:30:38.788Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:30:38.788Z] 7d9ed39f4882: Download complete [2022-10-26T19:30:39.050Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:30:39.050Z] 99cc6dd402b0: Download complete [2022-10-26T19:30:39.314Z] 53926ce57604: Verifying Checksum [2022-10-26T19:30:39.314Z] 53926ce57604: Download complete [2022-10-26T19:30:43.495Z] 53926ce57604: Pull complete [2022-10-26T19:30:43.495Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:30:43.495Z] 30f14e443154: Pull complete [2022-10-26T19:30:43.495Z] 801331c1e519: Pull complete [2022-10-26T19:30:46.031Z] 99cc6dd402b0: Pull complete [2022-10-26T19:30:46.966Z] 7d9ed39f4882: Pull complete [2022-10-26T19:30:46.966Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:30:46.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:30:46.966Z] ---> 1dedd983c030 [2022-10-26T19:30:46.966Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:30:51.428Z] Still waiting to schedule task [2022-10-26T19:30:51.428Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:30:56.939Z] ---> Running in 06ed9f27062c [2022-10-26T19:30:57.945Z] Removing intermediate container 06ed9f27062c [2022-10-26T19:30:57.945Z] ---> 4c32667cb2d4 [2022-10-26T19:30:57.945Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:30:58.512Z] ---> Running in db85c3bf8d62 [2022-10-26T19:30:59.080Z] Removing intermediate container db85c3bf8d62 [2022-10-26T19:30:59.080Z] ---> e1dadbb73b6a [2022-10-26T19:30:59.080Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T19:30:59.340Z] ---> Running in 47ec3758dd8a [2022-10-26T19:30:59.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:30:59.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:31:00.163Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T19:31:00.163Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T19:31:00.163Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T19:31:00.163Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:31:00.163Z] OK: 217 MiB in 59 packages [2022-10-26T19:31:01.097Z] Removing intermediate container 47ec3758dd8a [2022-10-26T19:31:01.097Z] ---> 9c6d93c82a2b [2022-10-26T19:31:01.097Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T19:31:01.097Z] ---> Running in 3b725ca4f9c9 [2022-10-26T19:31:01.097Z] Removing intermediate container 3b725ca4f9c9 [2022-10-26T19:31:01.097Z] ---> b31c7cfbdb3a [2022-10-26T19:31:01.097Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T19:31:01.097Z] ---> 449ba35e86eb [2022-10-26T19:31:01.097Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:31:01.097Z] ---> Running in f7258a7eee13 [2022-10-26T19:31:39.856Z] Removing intermediate container f7258a7eee13 [2022-10-26T19:31:39.856Z] ---> fd035eb64001 [2022-10-26T19:31:39.856Z] Step 9/10 : COPY . . [2022-10-26T19:31:39.856Z] ---> ad36d56a4836 [2022-10-26T19:31:39.856Z] Step 10/10 : RUN ${MAKE} [2022-10-26T19:31:39.856Z] ---> Running in 40dd6bbe03ae [2022-10-26T19:31:39.856Z] noop [2022-10-26T19:31:39.856Z] Removing intermediate container 40dd6bbe03ae [2022-10-26T19:31:39.856Z] ---> 5faeff3e56f3 [2022-10-26T19:31:39.856Z] Successfully built 5faeff3e56f3 [2022-10-26T19:31:39.856Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:31:40.170Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:31:40.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:31:40.238Z] prd-ubuntu20.04-docker-8c-8g-117252 does not seem to be running inside a container [2022-10-26T19:31:40.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:31:40.575Z] $ docker top 5e97f7a549679ed55b6ae12b99d75d388766067cc5e2d1c3aa8a0f9ba7897ddd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:31:40.912Z] + go version [2022-10-26T19:31:40.912Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:31:40.924Z] $ docker stop --time=1 5e97f7a549679ed55b6ae12b99d75d388766067cc5e2d1c3aa8a0f9ba7897ddd [2022-10-26T19:31:42.167Z] $ docker rm -f 5e97f7a549679ed55b6ae12b99d75d388766067cc5e2d1c3aa8a0f9ba7897ddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:31:42.567Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:31:42.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:31:42.634Z] prd-ubuntu20.04-docker-8c-8g-117252 does not seem to be running inside a container [2022-10-26T19:31:42.670Z] $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:31:42.976Z] $ docker top 8dcada305128dfc1b2a2e8f58356a16c3cf948007e83d78d887db3ebe1b12e42 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:31:43.317Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:31:43.608Z] + make test [2022-10-26T19:31:43.608Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:31:43.865Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T19:31:53.823Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T19:31:53.823Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2022-10-26T19:31:59.078Z] 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-26T19:31:59.078Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:32:01.603Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:32:01.603Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:32:01.603Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:32:01.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:32:01.890Z] $ docker stop --time=1 8dcada305128dfc1b2a2e8f58356a16c3cf948007e83d78d887db3ebe1b12e42 [2022-10-26T19:32:04.938Z] $ docker rm -f 8dcada305128dfc1b2a2e8f58356a16c3cf948007e83d78d887db3ebe1b12e42 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:32:05.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:32:05.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:32:06.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:32:06.367Z] + ls -al . [2022-10-26T19:32:06.367Z] total 196 [2022-10-26T19:32:06.367Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:31 . [2022-10-26T19:32:06.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 .. [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 19:30 .dockerignore [2022-10-26T19:32:06.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:31 .git [2022-10-26T19:32:06.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 .github [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 19:30 .gitignore [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:30 .golangci.yml [2022-10-26T19:32:06.367Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:30 .semver [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 19:30 Attribution.txt [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 19:30 CHANGELOG.md [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 19:30 Dockerfile [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:30 GOVERNANCE.md [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 19:30 Jenkinsfile [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:30 LICENSE [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 19:30 Makefile [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 19:30 OWNERS.md [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 19:30 README.md [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:30 VERSION [2022-10-26T19:32:06.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:30 bin [2022-10-26T19:32:06.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 cmd [2022-10-26T19:32:06.367Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 19:31 coverage.out [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 19:30 go.mod [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 19:30 go.sum [2022-10-26T19:32:06.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 internal [2022-10-26T19:32:06.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:30 simulator [2022-10-26T19:32:06.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 snap [2022-10-26T19:32:06.367Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:06.667Z] + 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=cab30485145600e8ca5f7b38626c1c86f31feec3 --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:32:06.667Z] Sending build context to Docker daemon 6.307MB [2022-10-26T19:32:06.667Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:32:06.667Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T19:32:06.667Z] ---> 5faeff3e56f3 [2022-10-26T19:32:06.667Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:32:06.927Z] ---> Running in fcbd9bbca70e [2022-10-26T19:32:06.927Z] Removing intermediate container fcbd9bbca70e [2022-10-26T19:32:06.927Z] ---> cb35a1dc9d37 [2022-10-26T19:32:06.927Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:32:06.927Z] ---> Running in 3b8f7ea10518 [2022-10-26T19:32:06.927Z] Removing intermediate container 3b8f7ea10518 [2022-10-26T19:32:06.927Z] ---> 097bf4bd38f1 [2022-10-26T19:32:06.927Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T19:32:07.186Z] ---> Running in 550bce77df32 [2022-10-26T19:32:07.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:07.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:07.704Z] OK: 217 MiB in 59 packages [2022-10-26T19:32:08.273Z] Removing intermediate container 550bce77df32 [2022-10-26T19:32:08.274Z] ---> bd68bed1f876 [2022-10-26T19:32:08.274Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-26T19:32:08.533Z] ---> Running in fe70f8c1b878 [2022-10-26T19:32:08.792Z] Removing intermediate container fe70f8c1b878 [2022-10-26T19:32:08.792Z] ---> 0dab333250bb [2022-10-26T19:32:08.792Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T19:32:09.050Z] ---> e8fb3d45020e [2022-10-26T19:32:09.050Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:32:09.050Z] ---> Running in 3c20d8c2159e [2022-10-26T19:32:09.616Z] Removing intermediate container 3c20d8c2159e [2022-10-26T19:32:09.616Z] ---> d7a8ad80c63d [2022-10-26T19:32:09.616Z] Step 9/23 : COPY . . [2022-10-26T19:32:09.874Z] ---> c83722800cac [2022-10-26T19:32:09.874Z] Step 10/23 : RUN ${MAKE} [2022-10-26T19:32:10.132Z] ---> Running in d27c30efa3ea [2022-10-26T19:32:10.391Z] 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-26T19:32:36.923Z] Removing intermediate container d27c30efa3ea [2022-10-26T19:32:36.923Z] ---> a2e87db86bc6 [2022-10-26T19:32:36.923Z] Step 11/23 : FROM alpine:3.14 [2022-10-26T19:32:36.923Z] 3.14: Pulling from library/alpine [2022-10-26T19:32:36.923Z] c7ed990a2339: Pulling fs layer [2022-10-26T19:32:36.923Z] c7ed990a2339: Verifying Checksum [2022-10-26T19:32:36.923Z] c7ed990a2339: Download complete [2022-10-26T19:32:36.923Z] c7ed990a2339: Pull complete [2022-10-26T19:32:36.923Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T19:32:36.923Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T19:32:36.923Z] ---> dd53f409bf0b [2022-10-26T19:32:36.923Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T19:32:36.923Z] ---> Running in e92f69947aa8 [2022-10-26T19:32:36.923Z] Removing intermediate container e92f69947aa8 [2022-10-26T19:32:36.923Z] ---> 8ebda0f7a0c1 [2022-10-26T19:32:36.923Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:32:36.923Z] ---> Running in 1a78c9a3cfd9 [2022-10-26T19:32:36.923Z] Removing intermediate container 1a78c9a3cfd9 [2022-10-26T19:32:36.923Z] ---> ed77d1ccd95c [2022-10-26T19:32:36.923Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:32:36.923Z] ---> Running in ec25067f5e0f [2022-10-26T19:32:36.923Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:37.182Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:37.748Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:32:38.006Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T19:32:38.573Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:32:38.831Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T19:32:39.396Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:32:39.654Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:32:39.911Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T19:32:39.911Z] OK: 8 MiB in 20 packages [2022-10-26T19:32:40.844Z] Removing intermediate container ec25067f5e0f [2022-10-26T19:32:40.844Z] ---> d06fabbf7821 [2022-10-26T19:32:40.844Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T19:32:42.220Z] ---> 99b57ba50a57 [2022-10-26T19:32:42.220Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T19:32:42.479Z] ---> 8cd342f73ebe [2022-10-26T19:32:42.479Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T19:32:42.737Z] ---> 668f898f02cb [2022-10-26T19:32:42.737Z] Step 18/23 : EXPOSE 59901 [2022-10-26T19:32:42.994Z] ---> Running in 8b21eaed6dd0 [2022-10-26T19:32:43.253Z] Removing intermediate container 8b21eaed6dd0 [2022-10-26T19:32:43.253Z] ---> 5c34e0c83cc0 [2022-10-26T19:32:43.253Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-26T19:32:43.253Z] ---> Running in c65cf1a25edc [2022-10-26T19:32:43.511Z] Removing intermediate container c65cf1a25edc [2022-10-26T19:32:43.511Z] ---> 65846ccbadb4 [2022-10-26T19:32:43.511Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:32:43.511Z] ---> Running in 848e141b8e04 [2022-10-26T19:32:43.511Z] Removing intermediate container 848e141b8e04 [2022-10-26T19:32:43.511Z] ---> fedef4c15fc1 [2022-10-26T19:32:43.511Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T19:32:43.511Z] ---> Running in 75c7872cd326 [2022-10-26T19:32:43.511Z] Removing intermediate container 75c7872cd326 [2022-10-26T19:32:43.511Z] ---> 0eebd242d3bd [2022-10-26T19:32:43.511Z] Step 22/23 : LABEL git_sha=cab30485145600e8ca5f7b38626c1c86f31feec3 [2022-10-26T19:32:43.511Z] ---> Running in e582f5528545 [2022-10-26T19:32:43.785Z] Removing intermediate container e582f5528545 [2022-10-26T19:32:43.785Z] ---> 2c68da969067 [2022-10-26T19:32:43.785Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T19:32:43.785Z] ---> Running in 45bef40e65d6 [2022-10-26T19:32:43.785Z] Removing intermediate container 45bef40e65d6 [2022-10-26T19:32:43.785Z] ---> 05858573baa7 [2022-10-26T19:32:43.785Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:32:43.785Z] Successfully built 05858573baa7 [2022-10-26T19:32:43.785Z] 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-26T19:32:44.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:44.193Z] [2022-10-26T19:32:44.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:44.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:44.492Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:32:44.492Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:32:44.492Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:32:44.492Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:32:44.492Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:32:44.492Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:32:44.492Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:32:44.492Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:32:44.492Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:32:44.492Z] 5d3b04190fa2: Waiting [2022-10-26T19:32:44.492Z] 2f39f015ded8: Waiting [2022-10-26T19:32:44.492Z] 5c69ac0246d0: Download complete [2022-10-26T19:32:44.492Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:32:44.751Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:32:44.751Z] 33b1e0a273af: Download complete [2022-10-26T19:32:44.751Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:32:44.751Z] ec43610c2a17: Download complete [2022-10-26T19:32:44.751Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T19:32:44.751Z] 5d3b04190fa2: Download complete [2022-10-26T19:32:44.751Z] 5eb5b503b376: Verifying Checksum [2022-10-26T19:32:44.751Z] 5eb5b503b376: Download complete [2022-10-26T19:32:45.317Z] 2f39f015ded8: Verifying Checksum [2022-10-26T19:32:45.317Z] 2f39f015ded8: Download complete [2022-10-26T19:32:45.883Z] 5eb5b503b376: Pull complete [2022-10-26T19:32:46.140Z] 5c69ac0246d0: Pull complete [2022-10-26T19:32:46.705Z] ec43610c2a17: Pull complete [2022-10-26T19:32:46.705Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:32:46.963Z] 33b1e0a273af: Pull complete [2022-10-26T19:32:46.963Z] 5d3b04190fa2: Pull complete [2022-10-26T19:32:51.144Z] 2f39f015ded8: Pull complete [2022-10-26T19:32:51.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:32:51.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:51.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:32:51.222Z] prd-ubuntu20.04-docker-8c-8g-117252 does not seem to be running inside a container [2022-10-26T19:32:51.258Z] $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:32:55.963Z] $ docker top 1fae909d329ec57d6a8bb605890e951cd81e9f7abcdccb12780f1f82242482e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:32:56.351Z] ---> job-cost.sh [2022-10-26T19:32:56.351Z] lf-activate-venv: SKIPPING [2022-10-26T19:32:56.351Z] INFO: No Stack... [2022-10-26T19:32:56.610Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:32:57.177Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:32:57.466Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-387/archives/cost.csv [2022-10-26T19:32:57.466Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:32:57.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [2022-10-26T19:32:57.484Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] did not exist. Created. [2022-10-26T19:32:57.484Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:32:57.791Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:32:57.817Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:32:57.823Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:32:57.841Z] $ docker stop --time=1 1fae909d329ec57d6a8bb605890e951cd81e9f7abcdccb12780f1f82242482e7 [2022-10-26T19:32:59.285Z] $ docker rm -f 1fae909d329ec57d6a8bb605890e951cd81e9f7abcdccb12780f1f82242482e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:37:42.500Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117263 in /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] { [Pipeline] ws [2022-10-26T19:37:42.513Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2022-10-26T19:37:42.714Z] Selected Git installation does not exist. Using Default [2022-10-26T19:37:42.714Z] The recommended git tool is: NONE [2022-10-26T19:37:50.693Z] using credential edgex-jenkins-ssh [2022-10-26T19:37:50.712Z] Cloning the remote Git repository [2022-10-26T19:37:50.774Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T19:37:50.864Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2022-10-26T19:37:51.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T19:37:51.048Z] > git --version # timeout=10 [2022-10-26T19:37:51.073Z] > git --version # 'git version 2.25.1' [2022-10-26T19:37:51.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:51.137Z] Verifying host key using known hosts file [2022-10-26T19:37:51.405Z] 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-26T19:37:51.421Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:37:52.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T19:37:52.654Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:37:54.623Z] Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit cab30485145600e8ca5f7b38626c1c86f31feec3 [2022-10-26T19:37:54.906Z] Merge succeeded, producing cab30485145600e8ca5f7b38626c1c86f31feec3 [2022-10-26T19:37:54.907Z] Checking out Revision cab30485145600e8ca5f7b38626c1c86f31feec3 (PR-387) [2022-10-26T19:37:53.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T19:37:53.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T19:37:53.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:53.938Z] Verifying host key using known hosts file [2022-10-26T19:37:53.946Z] 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-26T19:37:53.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:37:54.646Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:37:54.676Z] > git checkout -f cab30485145600e8ca5f7b38626c1c86f31feec3 # timeout=10 [2022-10-26T19:37:54.780Z] > git remote # timeout=10 [2022-10-26T19:37:54.801Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:37:54.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:54.831Z] Verifying host key using known hosts file [2022-10-26T19:37:54.839Z] 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-26T19:37:54.850Z] > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [2022-10-26T19:37:54.882Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:37:54.915Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:37:54.935Z] > git checkout -f cab30485145600e8ca5f7b38626c1c86f31feec3 # timeout=10 [2022-10-26T19:37:58.605Z] Commit message: "fix comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:37:59.632Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:37:59.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:37:59.632Z] Dload Upload Total Spent Left Speed [2022-10-26T19:37:59.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 164k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2022-10-26T19:38:00.334Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:38:00.682Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:38:00.683Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:38:00.683Z] { [2022-10-26T19:38:00.683Z] "registry-mirrors": [ [2022-10-26T19:38:00.683Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:38:00.683Z] ], [2022-10-26T19:38:00.683Z] "bip": "10.250.0.254/24", [2022-10-26T19:38:00.683Z] "hosts": [ [2022-10-26T19:38:00.683Z] "tcp://0.0.0.0:5555", [2022-10-26T19:38:00.683Z] "unix:///var/run/docker.sock" [2022-10-26T19:38:00.683Z] ], [2022-10-26T19:38:00.683Z] "mtu": 1458, [2022-10-26T19:38:00.683Z] "selinux-enabled": true, [2022-10-26T19:38:00.683Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:38:00.683Z] } [Pipeline] sh [2022-10-26T19:38:01.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:38:01.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:38:19.773Z] provisioning config files... [2022-10-26T19:38:19.807Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5839181653276863693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:20.193Z] ---> docker-login.sh [2022-10-26T19:38:20.194Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:38:20.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:21.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:21.062Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:21.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:21.062Z] [2022-10-26T19:38:21.062Z] Login Succeeded [2022-10-26T19:38:21.062Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:38:21.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:21.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:21.609Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:21.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:21.609Z] [2022-10-26T19:38:21.609Z] Login Succeeded [2022-10-26T19:38:21.609Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:38:21.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:21.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:21.886Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:21.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:21.886Z] [2022-10-26T19:38:21.886Z] Login Succeeded [2022-10-26T19:38:21.886Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:38:22.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:22.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:22.449Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:22.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:22.449Z] [2022-10-26T19:38:22.449Z] Login Succeeded [2022-10-26T19:38:22.449Z] docker.io [2022-10-26T19:38:22.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:23.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:23.325Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:23.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:23.325Z] [2022-10-26T19:38:23.325Z] Login Succeeded [2022-10-26T19:38:23.325Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:38:23.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:38:23.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:38:23.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:38:23.595Z] ========================================================= [2022-10-26T19:38:23.595Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:38:23.595Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:23.968Z] + 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-26T19:38:24.243Z] Sending build context to Docker daemon 3.307MB [2022-10-26T19:38:24.523Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:38:24.523Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T19:38:24.798Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:38:24.798Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:38:24.798Z] d32db5db7311: Pulling fs layer [2022-10-26T19:38:24.798Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:38:24.798Z] 5831b945b038: Pulling fs layer [2022-10-26T19:38:24.798Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:38:24.798Z] e10730c5d714: Pulling fs layer [2022-10-26T19:38:24.798Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:38:24.798Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:38:24.798Z] 5831b945b038: Waiting [2022-10-26T19:38:24.798Z] 86bbec2aaacd: Waiting [2022-10-26T19:38:24.798Z] e10730c5d714: Waiting [2022-10-26T19:38:24.798Z] 5dd5c2283517: Waiting [2022-10-26T19:38:24.798Z] d5ac0230b979: Waiting [2022-10-26T19:38:24.798Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:38:24.798Z] d0c4b47475fc: Download complete [2022-10-26T19:38:24.798Z] d32db5db7311: Verifying Checksum [2022-10-26T19:38:24.798Z] d32db5db7311: Download complete [2022-10-26T19:38:24.798Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:38:24.798Z] 86bbec2aaacd: Download complete [2022-10-26T19:38:24.798Z] e10730c5d714: Verifying Checksum [2022-10-26T19:38:24.798Z] e10730c5d714: Download complete [2022-10-26T19:38:24.798Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:38:25.795Z] 9b18e9b68314: Pull complete [2022-10-26T19:38:26.077Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:38:26.077Z] d5ac0230b979: Download complete [2022-10-26T19:38:26.682Z] d32db5db7311: Pull complete [2022-10-26T19:38:26.964Z] d0c4b47475fc: Pull complete [2022-10-26T19:38:27.581Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:38:27.581Z] 5dd5c2283517: Download complete [2022-10-26T19:38:27.857Z] 5831b945b038: Verifying Checksum [2022-10-26T19:38:27.857Z] 5831b945b038: Download complete [2022-10-26T19:38:42.951Z] 5831b945b038: Pull complete [2022-10-26T19:38:42.951Z] 86bbec2aaacd: Pull complete [2022-10-26T19:38:42.951Z] e10730c5d714: Pull complete [2022-10-26T19:38:49.721Z] 5dd5c2283517: Pull complete [2022-10-26T19:38:51.173Z] d5ac0230b979: Pull complete [2022-10-26T19:38:51.174Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:38:51.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:38:51.174Z] ---> 59b3b1a385d4 [2022-10-26T19:38:51.174Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:38:54.564Z] ---> Running in c26e8564b5f8 [2022-10-26T19:38:54.564Z] Removing intermediate container c26e8564b5f8 [2022-10-26T19:38:54.564Z] ---> 565a6e82ae1a [2022-10-26T19:38:54.564Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:38:54.564Z] ---> Running in 383c7060a3ba [2022-10-26T19:38:55.160Z] Removing intermediate container 383c7060a3ba [2022-10-26T19:38:55.160Z] ---> 956deabd4031 [2022-10-26T19:38:55.160Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T19:38:55.160Z] ---> Running in 3b2b87fd70be [2022-10-26T19:38:56.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:38:56.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:38:58.294Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T19:38:58.294Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T19:38:58.294Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T19:38:58.294Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:58.294Z] OK: 228 MiB in 59 packages [2022-10-26T19:38:59.717Z] Removing intermediate container 3b2b87fd70be [2022-10-26T19:38:59.717Z] ---> 52b3d60410dc [2022-10-26T19:38:59.717Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T19:38:59.717Z] ---> Running in f49c30f9936c [2022-10-26T19:38:59.989Z] Removing intermediate container f49c30f9936c [2022-10-26T19:38:59.989Z] ---> e1b95dde70ff [2022-10-26T19:38:59.989Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T19:39:00.584Z] ---> 23f84ac1797d [2022-10-26T19:39:00.584Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:39:00.584Z] ---> Running in 96e3f007ecbe [2022-10-26T19:40:08.635Z] Removing intermediate container 96e3f007ecbe [2022-10-26T19:40:08.636Z] ---> f929ffe2d3c3 [2022-10-26T19:40:08.636Z] Step 9/10 : COPY . . [2022-10-26T19:40:08.636Z] ---> c1c889bb34a9 [2022-10-26T19:40:08.636Z] Step 10/10 : RUN ${MAKE} [2022-10-26T19:40:08.636Z] ---> Running in 2970b7de533f [2022-10-26T19:40:08.636Z] noop [2022-10-26T19:40:08.636Z] Removing intermediate container 2970b7de533f [2022-10-26T19:40:08.636Z] ---> c1d286e57a88 [2022-10-26T19:40:08.636Z] Successfully built c1d286e57a88 [2022-10-26T19:40:08.636Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:40:08.998Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:40:08.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:40:09.202Z] prd-ubuntu20.04-docker-arm64-4c-16g-117263 does not seem to be running inside a container [2022-10-26T19:40:09.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:40:10.718Z] $ docker top ebe3a1526720f307cb6503ede69ee4104f86e364566c66e6662fa9b66a2134d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:40:11.609Z] + go version [2022-10-26T19:40:11.609Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:40:11.633Z] $ docker stop --time=1 ebe3a1526720f307cb6503ede69ee4104f86e364566c66e6662fa9b66a2134d6 [2022-10-26T19:40:13.356Z] $ docker rm -f ebe3a1526720f307cb6503ede69ee4104f86e364566c66e6662fa9b66a2134d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:40:13.940Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:40:13.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:40:14.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-117263 does not seem to be running inside a container [2022-10-26T19:40:14.215Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:40:15.547Z] $ docker top e87fd46a777b4790f6257320fc1b3c71d1a7699caeac126bd3add80f29e78fb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:40:16.416Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:40:17.081Z] + make test [2022-10-26T19:40:17.081Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:40:19.044Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T19:42:10.832Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T19:42:10.832Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.7% of statements [2022-10-26T19:42:10.832Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:42:10.832Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:42:37.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:42:37.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:42:37.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:42:37.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:42:37.913Z] $ docker stop --time=1 e87fd46a777b4790f6257320fc1b3c71d1a7699caeac126bd3add80f29e78fb1 [2022-10-26T19:42:39.993Z] $ docker rm -f e87fd46a777b4790f6257320fc1b3c71d1a7699caeac126bd3add80f29e78fb1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:42:41.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:42:41.162Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:42:41.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:42:42.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:42:42.557Z] + ls -al . [2022-10-26T19:42:42.557Z] total 192 [2022-10-26T19:42:42.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:40 . [2022-10-26T19:42:42.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 .. [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 19:37 .dockerignore [2022-10-26T19:42:42.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git [2022-10-26T19:42:42.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 .github [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 19:37 .gitignore [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:37 .golangci.yml [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 19:37 Attribution.txt [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 19:37 CHANGELOG.md [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 19:37 Dockerfile [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:37 GOVERNANCE.md [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 19:37 Jenkinsfile [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:37 LICENSE [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 19:37 Makefile [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 19:37 OWNERS.md [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 19:37 README.md [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:30 VERSION [2022-10-26T19:42:42.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:37 bin [2022-10-26T19:42:42.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 cmd [2022-10-26T19:42:42.557Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 19:42 coverage.out [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 19:37 go.mod [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 19:37 go.sum [2022-10-26T19:42:42.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 internal [2022-10-26T19:42:42.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:37 simulator [2022-10-26T19:42:42.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 snap [2022-10-26T19:42:42.557Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 19:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:42:42.921Z] + 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=cab30485145600e8ca5f7b38626c1c86f31feec3 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:42:43.191Z] Sending build context to Docker daemon 3.331MB [2022-10-26T19:42:43.191Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:42:43.191Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T19:42:43.191Z] ---> c1d286e57a88 [2022-10-26T19:42:43.191Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:42:43.463Z] ---> Running in b6820455289b [2022-10-26T19:42:44.058Z] Removing intermediate container b6820455289b [2022-10-26T19:42:44.058Z] ---> 2be257dab5d1 [2022-10-26T19:42:44.058Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:42:44.058Z] ---> Running in b1ebc373df4b [2022-10-26T19:42:44.336Z] Removing intermediate container b1ebc373df4b [2022-10-26T19:42:44.336Z] ---> 5ea8df93b752 [2022-10-26T19:42:44.336Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T19:42:44.336Z] ---> Running in 088e9d01dbae [2022-10-26T19:42:45.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:42:46.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:42:47.470Z] OK: 228 MiB in 59 packages [2022-10-26T19:42:48.440Z] Removing intermediate container 088e9d01dbae [2022-10-26T19:42:48.440Z] ---> e671c69d0d51 [2022-10-26T19:42:48.440Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-26T19:42:48.440Z] ---> Running in 82b5157cedcb [2022-10-26T19:42:48.710Z] Removing intermediate container 82b5157cedcb [2022-10-26T19:42:48.710Z] ---> 626040cca13e [2022-10-26T19:42:48.710Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T19:42:49.686Z] ---> 7a0f0087b4e7 [2022-10-26T19:42:49.686Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:42:49.686Z] ---> Running in e65e7d5c238a [2022-10-26T19:42:51.644Z] Removing intermediate container e65e7d5c238a [2022-10-26T19:42:51.644Z] ---> b3160a177f5f [2022-10-26T19:42:51.644Z] Step 9/23 : COPY . . [2022-10-26T19:42:53.067Z] ---> 7193f2a81bd7 [2022-10-26T19:42:53.067Z] Step 10/23 : RUN ${MAKE} [2022-10-26T19:42:53.067Z] ---> Running in 4c1c8916f802 [2022-10-26T19:42:54.037Z] 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-26T19:45:30.848Z] Removing intermediate container 4c1c8916f802 [2022-10-26T19:45:30.848Z] ---> 10554f808d7d [2022-10-26T19:45:30.848Z] Step 11/23 : FROM alpine:3.14 [2022-10-26T19:45:30.848Z] 3.14: Pulling from library/alpine [2022-10-26T19:45:30.848Z] 90cda3b7c325: Pulling fs layer [2022-10-26T19:45:30.848Z] 90cda3b7c325: Verifying Checksum [2022-10-26T19:45:30.848Z] 90cda3b7c325: Download complete [2022-10-26T19:45:30.848Z] 90cda3b7c325: Pull complete [2022-10-26T19:45:30.848Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T19:45:30.848Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T19:45:30.848Z] ---> 376ba31ae3da [2022-10-26T19:45:30.848Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T19:45:30.848Z] ---> Running in 992122211acd [2022-10-26T19:45:30.848Z] Removing intermediate container 992122211acd [2022-10-26T19:45:30.848Z] ---> 13bf0527409e [2022-10-26T19:45:30.848Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:45:30.848Z] ---> Running in e80f06896aae [2022-10-26T19:45:32.799Z] Removing intermediate container e80f06896aae [2022-10-26T19:45:32.799Z] ---> 18fefd4c6276 [2022-10-26T19:45:32.799Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:45:32.799Z] ---> Running in 46c96feb1447 [2022-10-26T19:45:33.760Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:45:34.344Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:45:35.757Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:45:35.757Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T19:45:36.340Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:45:36.607Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T19:45:37.192Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:45:37.777Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:45:38.046Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T19:45:38.046Z] OK: 8 MiB in 20 packages [2022-10-26T19:45:39.010Z] Removing intermediate container 46c96feb1447 [2022-10-26T19:45:39.010Z] ---> 1cb3a0efaffc [2022-10-26T19:45:39.010Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T19:45:40.425Z] ---> 2008d44af6d9 [2022-10-26T19:45:40.425Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T19:45:41.013Z] ---> 49c9017f0163 [2022-10-26T19:45:41.013Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T19:45:41.600Z] ---> 77824fce7bc4 [2022-10-26T19:45:41.600Z] Step 18/23 : EXPOSE 59901 [2022-10-26T19:45:41.600Z] ---> Running in 963950b1986b [2022-10-26T19:45:41.868Z] Removing intermediate container 963950b1986b [2022-10-26T19:45:41.868Z] ---> 7a5a176050ca [2022-10-26T19:45:41.868Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-26T19:45:42.136Z] ---> Running in 62f2a18596e3 [2022-10-26T19:45:42.405Z] Removing intermediate container 62f2a18596e3 [2022-10-26T19:45:42.405Z] ---> efc0260a64b6 [2022-10-26T19:45:42.405Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:45:42.405Z] ---> Running in f61022b5ed8f [2022-10-26T19:45:42.675Z] Removing intermediate container f61022b5ed8f [2022-10-26T19:45:42.675Z] ---> fbf7e790845d [2022-10-26T19:45:42.675Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T19:45:42.675Z] ---> Running in 3c65f5b71198 [2022-10-26T19:45:43.263Z] Removing intermediate container 3c65f5b71198 [2022-10-26T19:45:43.263Z] ---> f677cf3bff94 [2022-10-26T19:45:43.263Z] Step 22/23 : LABEL git_sha=cab30485145600e8ca5f7b38626c1c86f31feec3 [2022-10-26T19:45:43.263Z] ---> Running in b2d4db383fcd [2022-10-26T19:45:43.534Z] Removing intermediate container b2d4db383fcd [2022-10-26T19:45:43.534Z] ---> b7661b938476 [2022-10-26T19:45:43.534Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T19:45:43.534Z] ---> Running in b8295e9e68c6 [2022-10-26T19:45:43.803Z] Removing intermediate container b8295e9e68c6 [2022-10-26T19:45:43.803Z] ---> 459f0c2aae6f [2022-10-26T19:45:43.803Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:45:44.072Z] Successfully built 459f0c2aae6f [2022-10-26T19:45:44.072Z] 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-26T19:45:44.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:45:44.534Z] [2022-10-26T19:45:44.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:45:44.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:45:45.151Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:45:45.151Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:45:45.151Z] 04944245beec: Pulling fs layer [2022-10-26T19:45:45.151Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:45:45.151Z] 765212b225bb: Pulling fs layer [2022-10-26T19:45:45.151Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:45:45.151Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:45:45.151Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:45:45.151Z] f23df028b6ca: Waiting [2022-10-26T19:45:45.151Z] d65c8cfc05b1: Waiting [2022-10-26T19:45:45.151Z] 2437ff75d9bd: Waiting [2022-10-26T19:45:45.151Z] 765212b225bb: Waiting [2022-10-26T19:45:45.151Z] 04944245beec: Verifying Checksum [2022-10-26T19:45:45.151Z] 04944245beec: Download complete [2022-10-26T19:45:45.151Z] 765212b225bb: Verifying Checksum [2022-10-26T19:45:45.151Z] 765212b225bb: Download complete [2022-10-26T19:45:45.151Z] f23df028b6ca: Download complete [2022-10-26T19:45:45.151Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:45:45.151Z] d65c8cfc05b1: Download complete [2022-10-26T19:45:45.424Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:45:45.424Z] 699f458cf7ca: Download complete [2022-10-26T19:45:45.696Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:45:45.696Z] 8998bd30e6a1: Download complete [2022-10-26T19:45:48.285Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:45:48.285Z] 2437ff75d9bd: Download complete [2022-10-26T19:45:50.239Z] 8998bd30e6a1: Pull complete [2022-10-26T19:45:50.508Z] 04944245beec: Pull complete [2022-10-26T19:45:51.927Z] 699f458cf7ca: Pull complete [2022-10-26T19:45:52.195Z] 765212b225bb: Pull complete [2022-10-26T19:45:53.159Z] f23df028b6ca: Pull complete [2022-10-26T19:45:53.159Z] d65c8cfc05b1: Pull complete [2022-10-26T19:46:08.166Z] 2437ff75d9bd: Pull complete [2022-10-26T19:46:08.166Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:46:08.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:08.166Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:46:08.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-117263 does not seem to be running inside a container [2022-10-26T19:46:08.420Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:46:11.176Z] $ docker top 77c9025e8f95c4999b98b11a0bb78f84bce3ff7d19075c0cfed35430d624995b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:12.016Z] ---> job-cost.sh [2022-10-26T19:46:12.016Z] lf-activate-venv: SKIPPING [2022-10-26T19:46:12.016Z] INFO: No Stack... [2022-10-26T19:46:12.283Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:46:13.243Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:46:13.890Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2022-10-26T19:46:13.890Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:46:13.967Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [2022-10-26T19:46:13.974Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] did not exist. Created. [2022-10-26T19:46:13.974Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:46:14.632Z] /w/workspace/device-modbus-go/4@tmp/durable-6efb3629/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:46:15.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:46:15.324Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:46:15.377Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:46:15.389Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:46:15.411Z] $ docker stop --time=1 77c9025e8f95c4999b98b11a0bb78f84bce3ff7d19075c0cfed35430d624995b [2022-10-26T19:46:16.960Z] $ docker rm -f 77c9025e8f95c4999b98b11a0bb78f84bce3ff7d19075c0cfed35430d624995b [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-26T19:46:17.297Z] provisioning config files... [2022-10-26T19:46:17.305Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config16438607666285451016tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:46:17.592Z] + set +x [2022-10-26T19:46:17.592Z] + curl -s https://codecov.io/bash [2022-10-26T19:46:17.592Z] + bash -s -- [2022-10-26T19:46:17.592Z] [2022-10-26T19:46:17.592Z] _____ _ [2022-10-26T19:46:17.592Z] / ____| | | [2022-10-26T19:46:17.592Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:46:17.592Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:46:17.592Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:46:17.592Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:46:17.592Z] Bash-1.0.6 [2022-10-26T19:46:17.592Z] [2022-10-26T19:46:17.592Z] [2022-10-26T19:46:17.592Z] ==> git version 2.25.1 found [2022-10-26T19:46:17.592Z] ==> 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-26T19:46:17.592Z] Release-Date: 2020-01-08 [2022-10-26T19:46:17.592Z] 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-26T19:46:17.592Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:46:17.592Z] ==> Jenkins CI detected. [2022-10-26T19:46:17.592Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-26T19:46:17.592Z] project root: . [2022-10-26T19:46:17.592Z] --> token set from env [2022-10-26T19:46:17.592Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:46:17.592Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:46:17.592Z] ==> Python coveragepy not found [2022-10-26T19:46:17.592Z] ==> Searching for coverage reports in: [2022-10-26T19:46:17.592Z] + . [2022-10-26T19:46:17.592Z] -> Found 1 reports [2022-10-26T19:46:17.592Z] ==> Detecting git/mercurial file structure [2022-10-26T19:46:17.592Z] ==> Reading reports [2022-10-26T19:46:17.852Z] + ./coverage.out bytes=23241 [2022-10-26T19:46:17.852Z] ==> Appending adjustments [2022-10-26T19:46:17.852Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:46:17.852Z] + Found adjustments [2022-10-26T19:46:17.852Z] ==> Gzipping contents [2022-10-26T19:46:17.852Z] 4.0K /tmp/codecov.zWZs7s.gz [2022-10-26T19:46:17.852Z] ==> Uploading reports [2022-10-26T19:46:17.852Z] url: https://codecov.io [2022-10-26T19:46:17.852Z] query: branch=PR-387&commit=cab30485145600e8ca5f7b38626c1c86f31feec3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-26T19:46:17.852Z] -> Pinging Codecov [2022-10-26T19:46:17.852Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-387&commit=cab30485145600e8ca5f7b38626c1c86f31feec3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-26T19:46:18.111Z] -> Uploading to [2022-10-26T19:46:18.112Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/cab30485145600e8ca5f7b38626c1c86f31feec3/b9a7a79b-7e27-4b5b-ad40-91fb9c910e7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T194617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2ce59ba33b331a07cd1fdd3ec396b883e4c4fe4ccb333e6a70b72b39f456c96 [2022-10-26T19:46:18.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:46:18.112Z] Dload Upload Total Spent Left Speed [2022-10-26T19:46:18.371Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 17660 --:--:-- --:--:-- --:--:-- 17581 100 3903 0 0 100 3903 0 16468 --:--:-- --:--:-- --:--:-- 16399 [2022-10-26T19:46:18.371Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cab30485145600e8ca5f7b38626c1c86f31feec3 [Pipeline] } [2022-10-26T19:46:18.380Z] 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-26T19:46:19.053Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-387/archives ] [2022-10-26T19:46:19.053Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T19:46:19.053Z] total 16 [2022-10-26T19:46:19.053Z] drwxr-xr-x 3 root root 4096 Oct 26 19:32 . [2022-10-26T19:46:19.053Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:32 .. [2022-10-26T19:46:19.053Z] drwxr-xr-x 2 root root 4096 Oct 26 19:32 cost [2022-10-26T19:46:19.053Z] -rw-r--r-- 1 root root 88 Oct 26 19:32 cost.csv [2022-10-26T19:46:19.053Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T19:46:19.053Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T19:46:19.053Z] total 16 [2022-10-26T19:46:19.053Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:32 . [2022-10-26T19:46:19.053Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:32 .. [2022-10-26T19:46:19.053Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:32 cost [2022-10-26T19:46:19.053Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 26 19:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:19.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:20.201Z] ---> package-listing.sh [2022-10-26T19:46:20.201Z] ++ facter osfamily [2022-10-26T19:46:20.201Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:46:20.461Z] + OS_FAMILY=debian [2022-10-26T19:46:20.461Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-26T19:46:20.461Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:46:20.461Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:46:20.461Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:46:20.461Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:46:20.461Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-26T19:46:20.461Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:46:20.461Z] + case "${OS_FAMILY}" in [2022-10-26T19:46:20.461Z] + grep '^ii' [2022-10-26T19:46:20.461Z] + dpkg -l [2022-10-26T19:46:20.461Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:46:20.461Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:46:20.461Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:46:20.461Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-26T19:46:20.461Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [2022-10-26T19:46:20.461Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [Pipeline] echo [2022-10-26T19:46:20.472Z] 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:46:20.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:46:21.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:46:21.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:46:21.374Z] prd-ubuntu20.04-docker-8c-8g-117252 does not seem to be running inside a container [2022-10-26T19:46:21.406Z] $ 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-387/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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:46:21.631Z] $ docker top d7579a7ba9764581b670e15e4ae7cf7cb0f3f645544cc1c13b386a514b6d98ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:46:21.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:46:22.259Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:46:22.545Z] + ls /var/log/sa-host [2022-10-26T19:46:22.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:46:22.605Z] provisioning config files... [2022-10-26T19:46:22.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config5964725052491621738tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:46:22.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:22.907Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:46:22.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:23.234Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:46:23.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:23.525Z] ---> sudo-logs.sh [2022-10-26T19:46:23.525Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:46:23.549Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:23.827Z] ---> job-cost.sh [2022-10-26T19:46:23.827Z] lf-activate-venv: SKIPPING [2022-10-26T19:46:23.827Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:46:23.827Z] INFO: Retrieving Stack Cost... [2022-10-26T19:46:24.395Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:46:24.655Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:46:24.672Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:24.952Z] ---> logs-deploy.sh [2022-10-26T19:46:24.952Z] lf-activate-venv: SKIPPING [2022-10-26T19:46:24.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-387/4 [2022-10-26T19:46:24.952Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:46:25.886Z] Archives upload complete. [2022-10-26T19:46:25.886Z] INFO: archiving logs to Nexus