Pull request #385 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eaaa96216d254802e4dc56b9feee2ee1b24579f4+aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (c950fc4f9a5c95aaa191c631f671a02762fd22b9) 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-ssh16888144502717207386.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-ssh3607556410883247133.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13453354319683043317.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-ssh16750897022230629303.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11305690467685932274.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-117323 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 Merge succeeded, producing eaaa96216d254802e4dc56b9feee2ee1b24579f4 Checking out Revision eaaa96216d254802e4dc56b9feee2ee1b24579f4 (PR-385) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:41:17.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:41:17.326Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:41:17.342Z] ========================================================= [2022-10-26T20:41:17.342Z] EdgeX Global Pipelines Version Info [2022-10-26T20:41:17.342Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # 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 aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 > git rev-list --no-walk 22aa8c183b26e4a16e52f2baeddb31158928fe47 # timeout=10 [2022-10-26T20:41:18.045Z] ------------------- [2022-10-26T20:41:18.046Z] stable info: [2022-10-26T20:41:18.046Z] ------------------- [2022-10-26T20:41:18.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:41:18.046Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:41:18.046Z] Message: update stable to v1.0.243 [2022-10-26T20:41:18.617Z] ------------------- [2022-10-26T20:41:18.617Z] experimental info: [2022-10-26T20:41:18.617Z] ------------------- [2022-10-26T20:41:18.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:41:18.617Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:41:18.617Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:41:18.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-26T20:41:18.777Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-26T20:41:18.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:41:18.792Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:41:18.800Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:41:18.808Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:41:18.816Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:41:18.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:41:18.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:41:18.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:41:18.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:41:18.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-26T20:41:18.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:41:18.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:41:18.904Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:41:18.918Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:41:18.937Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:41:18.951Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:41:18.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:41:18.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:41:18.996Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:41:19.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:41:19.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:41:19.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:41:19.028Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:41:19.036Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:41:19.046Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:41:19.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-10-26T20:41:19.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-10-26T20:41:19.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-10-26T20:41:19.080Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo [2022-10-26T20:41:19.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eaaa962 [Pipeline] echo [2022-10-26T20:41:19.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:41:19.126Z] provisioning config files... [2022-10-26T20:41:19.141Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config5512375640835015292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:19.448Z] ---> docker-login.sh [2022-10-26T20:41:19.448Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:41:19.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.710Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.710Z] [2022-10-26T20:41:19.710Z] Login Succeeded [2022-10-26T20:41:19.710Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:41:19.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.710Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.710Z] [2022-10-26T20:41:19.710Z] Login Succeeded [2022-10-26T20:41:19.710Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:41:19.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.969Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.969Z] [2022-10-26T20:41:19.969Z] Login Succeeded [2022-10-26T20:41:19.969Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:41:19.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:19.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:19.969Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:19.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:19.969Z] [2022-10-26T20:41:19.969Z] Login Succeeded [2022-10-26T20:41:19.969Z] docker.io [2022-10-26T20:41:20.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:20.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:20.489Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:20.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:20.489Z] [2022-10-26T20:41:20.489Z] Login Succeeded [2022-10-26T20:41:20.489Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:41:20.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:41:20.843Z] + git rev-list -1 --merges eaaa96216d254802e4dc56b9feee2ee1b24579f4~1..eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo [2022-10-26T20:41:20.889Z] -----------> git rev-list -1 --merges eaaa96216d254802e4dc56b9feee2ee1b24579f4~1..eaaa96216d254802e4dc56b9feee2ee1b24579f4 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [false] [Pipeline] sh [2022-10-26T20:41:21.175Z] + git log --format=format:%s -1 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo [2022-10-26T20:41:21.190Z] ========================================================= [2022-10-26T20:41:21.190Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:41:21.190Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:41:21.527Z] + git log --format=format:%s -1 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo [2022-10-26T20:41:21.537Z] [semverPrep] GIT_COMMIT: eaaa96216d254802e4dc56b9feee2ee1b24579f4, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-26T20:41:21.543Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:41:21.884Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:41:21.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:41:21.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:41:21.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:22.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:22.222Z] [2022-10-26T20:41:22.222Z] 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-26T20:41:22.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:22.522Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:41:22.522Z] b85a868b505f: Pulling fs layer [2022-10-26T20:41:22.522Z] e2be974225ed: Pulling fs layer [2022-10-26T20:41:22.522Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:41:22.522Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:41:22.522Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:41:22.522Z] eaf3925da568: Pulling fs layer [2022-10-26T20:41:22.522Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:41:22.522Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:41:22.522Z] 988bab9f4d93: Waiting [2022-10-26T20:41:22.522Z] 1469e6f7b9e6: Waiting [2022-10-26T20:41:22.522Z] eaf3925da568: Waiting [2022-10-26T20:41:22.522Z] bab4dde63d76: Waiting [2022-10-26T20:41:22.522Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:41:22.522Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:41:22.522Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:41:22.522Z] b352a97aabf1: Waiting [2022-10-26T20:41:22.522Z] 4872d77fe225: Waiting [2022-10-26T20:41:22.522Z] 5851b861e8e6: Waiting [2022-10-26T20:41:22.522Z] bde34c3a00c8: Waiting [2022-10-26T20:41:22.522Z] e2be974225ed: Verifying Checksum [2022-10-26T20:41:22.522Z] e2be974225ed: Download complete [2022-10-26T20:41:22.522Z] 988bab9f4d93: Download complete [2022-10-26T20:41:22.781Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:41:22.781Z] 1469e6f7b9e6: Download complete [2022-10-26T20:41:22.781Z] eaf3925da568: Download complete [2022-10-26T20:41:22.781Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:41:22.781Z] 339a4e72a1f5: Download complete [2022-10-26T20:41:22.781Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:41:22.781Z] bde34c3a00c8: Download complete [2022-10-26T20:41:22.781Z] b352a97aabf1: Download complete [2022-10-26T20:41:22.781Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:41:22.781Z] 4872d77fe225: Download complete [2022-10-26T20:41:22.781Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:41:22.781Z] 5851b861e8e6: Download complete [2022-10-26T20:41:22.781Z] b85a868b505f: Verifying Checksum [2022-10-26T20:41:22.781Z] b85a868b505f: Download complete [2022-10-26T20:41:23.039Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:41:23.039Z] bab4dde63d76: Download complete [2022-10-26T20:41:23.976Z] b85a868b505f: Pull complete [2022-10-26T20:41:24.235Z] e2be974225ed: Pull complete [2022-10-26T20:41:24.802Z] 339a4e72a1f5: Pull complete [2022-10-26T20:41:24.802Z] 988bab9f4d93: Pull complete [2022-10-26T20:41:25.065Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:41:25.065Z] eaf3925da568: Pull complete [2022-10-26T20:41:26.989Z] bab4dde63d76: Pull complete [2022-10-26T20:41:26.989Z] bde34c3a00c8: Pull complete [2022-10-26T20:41:26.989Z] b352a97aabf1: Pull complete [2022-10-26T20:41:27.248Z] 4872d77fe225: Pull complete [2022-10-26T20:41:27.248Z] 5851b861e8e6: Pull complete [2022-10-26T20:41:27.248Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:41:27.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:41:27.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:27.333Z] prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container [2022-10-26T20:41:27.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:41:30.243Z] $ docker top 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 -eo pid,comm [2022-10-26T20:41:30.319Z] 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-26T20:41:30.319Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:41:30.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:41:30.370Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:41:30.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:41:30.467Z] $ docker exec 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent [2022-10-26T20:41:30.591Z] SSH_AUTH_SOCK=/tmp/ssh-ysyNo9pg0W1G/agent.31 [2022-10-26T20:41:30.591Z] SSH_AGENT_PID=37 [2022-10-26T20:41:30.598Z] Running ssh-add (command line suppressed) [2022-10-26T20:41:30.680Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_15308982743104979101.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_15308982743104979101.key) [2022-10-26T20:41:30.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:41:30.992Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:41:30.989Z] $ docker exec --env ******** --env ******** 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent -k [2022-10-26T20:41:31.093Z] unset SSH_AUTH_SOCK; [2022-10-26T20:41:31.094Z] unset SSH_AGENT_PID; [2022-10-26T20:41:31.099Z] echo Agent pid 37 killed; [2022-10-26T20:41:31.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:41:31.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:41:31.148Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:41:31.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:41:31.240Z] $ docker exec 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent [2022-10-26T20:41:31.359Z] SSH_AUTH_SOCK=/tmp/ssh-I0CfSuy69i1l/agent.69 [2022-10-26T20:41:31.359Z] SSH_AGENT_PID=75 [2022-10-26T20:41:31.365Z] Running ssh-add (command line suppressed) [2022-10-26T20:41:31.457Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2661656149236165785.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2661656149236165785.key) [2022-10-26T20:41:31.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:41:31.768Z] + git semver init [2022-10-26T20:41:32.026Z] 2022-10-26 20:41:31,934 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:41:32.026Z] 2022-10-26 20:41:31,935 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-26T20:41:32.026Z] 2022-10-26 20:41:31,935 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-26T20:41:32.026Z] 2022-10-26 20:41:31,935 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,865 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,865 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,866 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,870 [execute] INFO git cat-file --batch-check [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,876 [execute] INFO git cat-file --batch [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:41:32.962Z] 2022-10-26 20:41:32,883 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-26T20:41:32.962Z] 0.0.0 [Pipeline] } [2022-10-26T20:41:32.960Z] $ docker exec --env ******** --env ******** 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent -k [2022-10-26T20:41:33.056Z] unset SSH_AUTH_SOCK; [2022-10-26T20:41:33.056Z] unset SSH_AGENT_PID; [2022-10-26T20:41:33.056Z] echo Agent pid 75 killed; [2022-10-26T20:41:33.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:41:33.381Z] + git semver [Pipeline] } [2022-10-26T20:41:33.641Z] $ docker stop --time=1 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 [2022-10-26T20:41:34.941Z] $ docker rm -f 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:41:35.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:41:35.509Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:41:35.511Z] [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-26T20:41:35.661Z] provisioning config files... [2022-10-26T20:41:35.669Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9688699892600454608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:35.958Z] ---> docker-login.sh [2022-10-26T20:41:35.959Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:41:35.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:35.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:35.959Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:35.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:35.959Z] [2022-10-26T20:41:35.959Z] Login Succeeded [2022-10-26T20:41:35.959Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:41:35.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:35.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:35.959Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:35.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:35.959Z] [2022-10-26T20:41:35.959Z] Login Succeeded [2022-10-26T20:41:35.959Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:41:36.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:36.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:36.217Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:36.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:36.217Z] [2022-10-26T20:41:36.217Z] Login Succeeded [2022-10-26T20:41:36.217Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:41:36.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:36.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:36.217Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:36.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:36.217Z] [2022-10-26T20:41:36.217Z] Login Succeeded [2022-10-26T20:41:36.217Z] docker.io [2022-10-26T20:41:36.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:41:36.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:41:36.735Z] Configure a credential helper to remove this warning. See [2022-10-26T20:41:36.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:41:36.735Z] [2022-10-26T20:41:36.735Z] Login Succeeded [2022-10-26T20:41:36.735Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:41:36.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:41:36.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:41:36.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:41:36.812Z] ========================================================= [2022-10-26T20:41:36.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:41:36.812Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:37.118Z] + 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-26T20:41:37.118Z] Sending build context to Docker daemon 6.226MB [2022-10-26T20:41:37.118Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:41:37.118Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:41:37.118Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:41:37.118Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:41:37.118Z] 4583459ba037: Pulling fs layer [2022-10-26T20:41:37.118Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:41:37.118Z] 53926ce57604: Pulling fs layer [2022-10-26T20:41:37.118Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:41:37.118Z] 30f14e443154: Pulling fs layer [2022-10-26T20:41:37.118Z] 801331c1e519: Pulling fs layer [2022-10-26T20:41:37.118Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:41:37.118Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:41:37.118Z] 53926ce57604: Waiting [2022-10-26T20:41:37.118Z] 99cc6dd402b0: Waiting [2022-10-26T20:41:37.118Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:41:37.118Z] 30f14e443154: Waiting [2022-10-26T20:41:37.118Z] 7d9ed39f4882: Waiting [2022-10-26T20:41:37.118Z] 801331c1e519: Waiting [2022-10-26T20:41:37.118Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:41:37.118Z] 93c1e223e6f2: Download complete [2022-10-26T20:41:37.118Z] 4583459ba037: Verifying Checksum [2022-10-26T20:41:37.118Z] 4583459ba037: Download complete [2022-10-26T20:41:37.118Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:41:37.118Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:41:37.377Z] 30f14e443154: Download complete [2022-10-26T20:41:37.377Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:41:37.377Z] 213ec9aee27d: Download complete [2022-10-26T20:41:37.377Z] 801331c1e519: Download complete [2022-10-26T20:41:37.377Z] 213ec9aee27d: Pull complete [2022-10-26T20:41:37.640Z] 4583459ba037: Pull complete [2022-10-26T20:41:37.640Z] 93c1e223e6f2: Pull complete [2022-10-26T20:41:37.898Z] 7d9ed39f4882: Download complete [2022-10-26T20:41:37.898Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:41:37.898Z] 99cc6dd402b0: Download complete [2022-10-26T20:41:38.158Z] 53926ce57604: Verifying Checksum [2022-10-26T20:41:38.158Z] 53926ce57604: Download complete [2022-10-26T20:41:42.351Z] 53926ce57604: Pull complete [2022-10-26T20:41:42.351Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:41:42.351Z] 30f14e443154: Pull complete [2022-10-26T20:41:42.351Z] 801331c1e519: Pull complete [2022-10-26T20:41:44.252Z] 99cc6dd402b0: Pull complete [2022-10-26T20:41:44.820Z] 7d9ed39f4882: Pull complete [2022-10-26T20:41:45.079Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:41:45.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:41:45.079Z] ---> 1dedd983c030 [2022-10-26T20:41:45.079Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:41:49.280Z] ---> Running in ebf6fa636dc4 [2022-10-26T20:41:49.280Z] Removing intermediate container ebf6fa636dc4 [2022-10-26T20:41:49.280Z] ---> 76f0ee38cc18 [2022-10-26T20:41:49.280Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:41:49.280Z] ---> Running in 2051f0cc068e [2022-10-26T20:41:49.280Z] Removing intermediate container 2051f0cc068e [2022-10-26T20:41:49.280Z] ---> 2d1cbcf7e761 [2022-10-26T20:41:49.280Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:41:49.539Z] ---> Running in c35b997eea13 [2022-10-26T20:41:49.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:49.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:41:50.056Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:41:50.056Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:41:50.056Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:41:50.056Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:41:50.056Z] OK: 217 MiB in 59 packages [2022-10-26T20:41:50.609Z] Still waiting to schedule task [2022-10-26T20:41:50.610Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:41:50.623Z] Removing intermediate container c35b997eea13 [2022-10-26T20:41:50.623Z] ---> 58aba9f7d276 [2022-10-26T20:41:50.623Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:41:50.623Z] ---> Running in 9666f427a84d [2022-10-26T20:41:50.623Z] Removing intermediate container 9666f427a84d [2022-10-26T20:41:50.623Z] ---> 73ed64bf80a2 [2022-10-26T20:41:50.623Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:41:50.882Z] ---> 1efc738e0071 [2022-10-26T20:41:50.882Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:41:50.882Z] ---> Running in 3ec78bf6fda3 [2022-10-26T20:42:12.958Z] Removing intermediate container 3ec78bf6fda3 [2022-10-26T20:42:12.958Z] ---> 3bcd1a62fbfe [2022-10-26T20:42:12.958Z] Step 9/10 : COPY . . [2022-10-26T20:42:13.525Z] ---> 5089dc2f1d46 [2022-10-26T20:42:13.525Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:42:13.525Z] ---> Running in e4c221d3604a [2022-10-26T20:42:13.784Z] noop [2022-10-26T20:42:14.043Z] Removing intermediate container e4c221d3604a [2022-10-26T20:42:14.043Z] ---> 9527787d88a0 [2022-10-26T20:42:14.043Z] Successfully built 9527787d88a0 [2022-10-26T20:42:14.043Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:14.359Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:42:14.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:42:14.424Z] prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container [2022-10-26T20:42:14.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:42:14.790Z] $ docker top d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:42:15.123Z] + go version [2022-10-26T20:42:15.123Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:42:15.140Z] $ docker stop --time=1 d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 [2022-10-26T20:42:16.388Z] $ docker rm -f d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:16.803Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:42:16.803Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:42:16.864Z] prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container [2022-10-26T20:42:16.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:42:17.218Z] $ docker top 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:42:17.556Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:42:17.850Z] + make test [2022-10-26T20:42:17.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:42:18.107Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:42:28.066Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:42:28.066Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-26T20:42:34.624Z] 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-26T20:42:34.624Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:42:37.245Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:42:37.245Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:42:37.245Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:42:37.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:42:37.572Z] $ docker stop --time=1 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c [2022-10-26T20:42:40.256Z] $ docker rm -f 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:42:40.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:42:40.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:42:41.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:42:41.475Z] + ls -al . [2022-10-26T20:42:41.476Z] total 196 [2022-10-26T20:42:41.476Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:42 . [2022-10-26T20:42:41.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 .. [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:41 .dockerignore [2022-10-26T20:42:41.476Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:42 .git [2022-10-26T20:42:41.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 .github [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:41 .gitignore [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:41 .golangci.yml [2022-10-26T20:42:41.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:41 .semver [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:41 Attribution.txt [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:41 CHANGELOG.md [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:41 Dockerfile [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:41 GOVERNANCE.md [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:41 Jenkinsfile [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:41 LICENSE [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:41 Makefile [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:41 OWNERS.md [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:41 README.md [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:41 VERSION [2022-10-26T20:42:41.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 bin [2022-10-26T20:42:41.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 cmd [2022-10-26T20:42:41.476Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:42 coverage.out [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:41 go.mod [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 45486 Oct 26 20:41 go.sum [2022-10-26T20:42:41.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 internal [2022-10-26T20:42:41.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 simulator [2022-10-26T20:42:41.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 snap [2022-10-26T20:42:41.476Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:42:41.788Z] + 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=eaaa96216d254802e4dc56b9feee2ee1b24579f4 --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:42:41.789Z] Sending build context to Docker daemon 6.25MB [2022-10-26T20:42:41.789Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:42:41.789Z] Step 2/22 : FROM ${BASE} AS builder [2022-10-26T20:42:41.789Z] ---> 9527787d88a0 [2022-10-26T20:42:41.789Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:42:42.047Z] ---> Running in 324c55de7fcd [2022-10-26T20:42:42.047Z] Removing intermediate container 324c55de7fcd [2022-10-26T20:42:42.047Z] ---> 8f140a577c42 [2022-10-26T20:42:42.047Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:42:42.047Z] ---> Running in 249f44e84ea3 [2022-10-26T20:42:42.047Z] Removing intermediate container 249f44e84ea3 [2022-10-26T20:42:42.047Z] ---> 29e9e3359460 [2022-10-26T20:42:42.047Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:42:42.047Z] ---> Running in 0d4b3b7f35f5 [2022-10-26T20:42:42.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:42.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:42:42.567Z] OK: 217 MiB in 59 packages [2022-10-26T20:42:43.135Z] Removing intermediate container 0d4b3b7f35f5 [2022-10-26T20:42:43.135Z] ---> e766550e0408 [2022-10-26T20:42:43.135Z] Step 6/22 : WORKDIR /device-modbus-go [2022-10-26T20:42:43.135Z] ---> Running in 4a757fe5f220 [2022-10-26T20:42:43.135Z] Removing intermediate container 4a757fe5f220 [2022-10-26T20:42:43.135Z] ---> ffc822cca176 [2022-10-26T20:42:43.135Z] Step 7/22 : COPY go.mod vendor* ./ [2022-10-26T20:42:43.394Z] ---> dd9c7229a5ba [2022-10-26T20:42:43.394Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:42:43.394Z] ---> Running in 4af5d6d7df83 [2022-10-26T20:42:43.959Z] Removing intermediate container 4af5d6d7df83 [2022-10-26T20:42:43.959Z] ---> 12fb00bc18ac [2022-10-26T20:42:43.959Z] Step 9/22 : COPY . . [2022-10-26T20:42:44.525Z] ---> b718ec02ea68 [2022-10-26T20:42:44.525Z] Step 10/22 : RUN ${MAKE} [2022-10-26T20:42:44.525Z] ---> Running in 7fd2896a2b10 [2022-10-26T20:42:44.525Z] 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-26T20:43:06.452Z] Removing intermediate container 7fd2896a2b10 [2022-10-26T20:43:06.452Z] ---> e351495d0ee0 [2022-10-26T20:43:06.452Z] Step 11/22 : FROM alpine:3.14 [2022-10-26T20:43:06.452Z] 3.14: Pulling from library/alpine [2022-10-26T20:43:06.452Z] c7ed990a2339: Pulling fs layer [2022-10-26T20:43:06.452Z] c7ed990a2339: Verifying Checksum [2022-10-26T20:43:06.452Z] c7ed990a2339: Download complete [2022-10-26T20:43:06.452Z] c7ed990a2339: Pull complete [2022-10-26T20:43:06.452Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:43:06.452Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:43:06.452Z] ---> dd53f409bf0b [2022-10-26T20:43:06.452Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:43:06.452Z] ---> Running in 2b90063d2d22 [2022-10-26T20:43:06.452Z] Removing intermediate container 2b90063d2d22 [2022-10-26T20:43:06.452Z] ---> c8f72d541512 [2022-10-26T20:43:06.452Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:43:06.452Z] ---> Running in 093f7170ea94 [2022-10-26T20:43:06.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:43:06.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:43:06.710Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:43:06.710Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:43:06.710Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:43:06.710Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:43:06.710Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:43:06.710Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:43:06.710Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:43:06.710Z] OK: 8 MiB in 20 packages [2022-10-26T20:43:07.275Z] Removing intermediate container 093f7170ea94 [2022-10-26T20:43:07.275Z] ---> 34a5ea2bb13d [2022-10-26T20:43:07.275Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:43:08.248Z] ---> f94604b494fa [2022-10-26T20:43:08.248Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:43:08.248Z] ---> 31b6faff5c5f [2022-10-26T20:43:08.248Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:43:08.248Z] ---> 07c7e605d0e1 [2022-10-26T20:43:08.248Z] Step 17/22 : EXPOSE 59901 [2022-10-26T20:43:08.506Z] ---> Running in 5e54154bb172 [2022-10-26T20:43:08.506Z] Removing intermediate container 5e54154bb172 [2022-10-26T20:43:08.506Z] ---> 48c3a9e0f676 [2022-10-26T20:43:08.506Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:43:08.506Z] ---> Running in ffca7e04f951 [2022-10-26T20:43:08.506Z] Removing intermediate container ffca7e04f951 [2022-10-26T20:43:08.506Z] ---> 41ef2a94cb2e [2022-10-26T20:43:08.506Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:43:08.506Z] ---> Running in 48bab60eb9dc [2022-10-26T20:43:08.506Z] Removing intermediate container 48bab60eb9dc [2022-10-26T20:43:08.506Z] ---> 473a904847b5 [2022-10-26T20:43:08.506Z] Step 20/22 : LABEL arch=amd64 [2022-10-26T20:43:08.764Z] ---> Running in 78a15aa3f82a [2022-10-26T20:43:08.764Z] Removing intermediate container 78a15aa3f82a [2022-10-26T20:43:08.764Z] ---> 40b42301a97e [2022-10-26T20:43:08.764Z] Step 21/22 : LABEL git_sha=eaaa96216d254802e4dc56b9feee2ee1b24579f4 [2022-10-26T20:43:08.764Z] ---> Running in 038f0d2299de [2022-10-26T20:43:08.764Z] Removing intermediate container 038f0d2299de [2022-10-26T20:43:08.764Z] ---> 323630abca98 [2022-10-26T20:43:08.764Z] Step 22/22 : LABEL version=0.0.0 [2022-10-26T20:43:08.764Z] ---> Running in 87083810bc7b [2022-10-26T20:43:08.764Z] Removing intermediate container 87083810bc7b [2022-10-26T20:43:08.764Z] ---> f52fbd508a25 [2022-10-26T20:43:08.764Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:43:08.764Z] Successfully built f52fbd508a25 [2022-10-26T20:43:09.023Z] 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-26T20:43:09.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:09.455Z] [2022-10-26T20:43:09.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:43:09.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:09.750Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:43:09.750Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:43:09.750Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:43:09.750Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:43:09.750Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:43:09.750Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:43:09.750Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:43:09.750Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:43:09.750Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:43:09.750Z] 33b1e0a273af: Waiting [2022-10-26T20:43:09.750Z] 5d3b04190fa2: Waiting [2022-10-26T20:43:09.750Z] 2f39f015ded8: Waiting [2022-10-26T20:43:09.750Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:43:09.750Z] 5c69ac0246d0: Download complete [2022-10-26T20:43:09.750Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:43:09.750Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:43:09.750Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:43:09.750Z] 33b1e0a273af: Download complete [2022-10-26T20:43:09.750Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:43:09.750Z] 5d3b04190fa2: Download complete [2022-10-26T20:43:10.011Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:43:10.011Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:43:10.011Z] 5eb5b503b376: Download complete [2022-10-26T20:43:10.577Z] 2f39f015ded8: Download complete [2022-10-26T20:43:11.144Z] 5eb5b503b376: Pull complete [2022-10-26T20:43:11.144Z] 5c69ac0246d0: Pull complete [2022-10-26T20:43:11.709Z] ec43610c2a17: Pull complete [2022-10-26T20:43:11.709Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:43:11.709Z] 33b1e0a273af: Pull complete [2022-10-26T20:43:11.967Z] 5d3b04190fa2: Pull complete [2022-10-26T20:43:16.149Z] 2f39f015ded8: Pull complete [2022-10-26T20:43:16.149Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:43:16.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:43:16.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:43:16.233Z] prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container [2022-10-26T20:43:16.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:43:20.756Z] $ docker top 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:43:21.117Z] ---> job-cost.sh [2022-10-26T20:43:21.117Z] lf-activate-venv: SKIPPING [2022-10-26T20:43:21.117Z] INFO: No Stack... [2022-10-26T20:43:21.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:43:21.943Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:43:22.230Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-10-26T20:43:22.230Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:43:22.244Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [2022-10-26T20:43:22.250Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] did not exist. Created. [2022-10-26T20:43:22.250Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:43:22.545Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:43:22.576Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:43:22.583Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:43:22.608Z] $ docker stop --time=1 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 [2022-10-26T20:43:23.753Z] $ docker rm -f 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:45:06.265Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117328 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-10-26T20:45:06.275Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2022-10-26T20:45:06.319Z] Selected Git installation does not exist. Using Default [2022-10-26T20:45:06.319Z] The recommended git tool is: NONE [2022-10-26T20:45:15.377Z] using credential edgex-jenkins-ssh [2022-10-26T20:45:15.393Z] Cloning the remote Git repository [2022-10-26T20:45:15.445Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:45:15.526Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2022-10-26T20:45:15.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:45:15.697Z] > git --version # timeout=10 [2022-10-26T20:45:15.721Z] > git --version # 'git version 2.25.1' [2022-10-26T20:45:15.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:45:15.782Z] Verifying host key using known hosts file [2022-10-26T20:45:16.016Z] 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-26T20:45:16.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:45:17.271Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T20:45:17.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:45:18.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T20:45:18.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:45:18.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:45:18.396Z] Verifying host key using known hosts file [2022-10-26T20:45:18.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-26T20:45:18.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T20:45:19.042Z] Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 [2022-10-26T20:45:19.314Z] Merge succeeded, producing eaaa96216d254802e4dc56b9feee2ee1b24579f4 [2022-10-26T20:45:19.315Z] Checking out Revision eaaa96216d254802e4dc56b9feee2ee1b24579f4 (PR-385) [2022-10-26T20:45:19.925Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:45:19.064Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:45:19.088Z] > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 [2022-10-26T20:45:19.191Z] > git remote # timeout=10 [2022-10-26T20:45:19.211Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:45:19.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:45:19.250Z] Verifying host key using known hosts file [2022-10-26T20:45:19.256Z] 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-26T20:45:19.267Z] > git merge aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 [2022-10-26T20:45:19.294Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:45:19.320Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:45:19.352Z] > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 [2022-10-26T20:45:20.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:45:20.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:45:20.837Z] Dload Upload Total Spent Left Speed [2022-10-26T20:45:20.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 164k 0 --:--:-- --:--:-- --:--:-- 164k [Pipeline] sh [2022-10-26T20:45:21.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:45:21.876Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:45:21.876Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:45:21.876Z] { [2022-10-26T20:45:21.876Z] "registry-mirrors": [ [2022-10-26T20:45:21.876Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:45:21.876Z] ], [2022-10-26T20:45:21.876Z] "bip": "10.250.0.254/24", [2022-10-26T20:45:21.876Z] "hosts": [ [2022-10-26T20:45:21.876Z] "tcp://0.0.0.0:5555", [2022-10-26T20:45:21.876Z] "unix:///var/run/docker.sock" [2022-10-26T20:45:21.876Z] ], [2022-10-26T20:45:21.876Z] "mtu": 1458, [2022-10-26T20:45:21.876Z] "selinux-enabled": true, [2022-10-26T20:45:21.876Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:45:21.876Z] } [Pipeline] sh [2022-10-26T20:45:22.215Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:45:22.585Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:45:40.907Z] provisioning config files... [2022-10-26T20:45:40.940Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config3875060641368839297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:45:41.310Z] ---> docker-login.sh [2022-10-26T20:45:41.310Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:45:41.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:42.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:42.187Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:42.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:42.187Z] [2022-10-26T20:45:42.187Z] Login Succeeded [2022-10-26T20:45:42.187Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:45:42.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:42.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:42.466Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:42.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:42.466Z] [2022-10-26T20:45:42.466Z] Login Succeeded [2022-10-26T20:45:42.466Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:45:42.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:43.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:43.008Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:43.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:43.008Z] [2022-10-26T20:45:43.008Z] Login Succeeded [2022-10-26T20:45:43.008Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:45:43.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:43.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:43.283Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:43.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:43.283Z] [2022-10-26T20:45:43.283Z] Login Succeeded [2022-10-26T20:45:43.283Z] docker.io [2022-10-26T20:45:43.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:45:44.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:45:44.155Z] Configure a credential helper to remove this warning. See [2022-10-26T20:45:44.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:45:44.155Z] [2022-10-26T20:45:44.155Z] Login Succeeded [2022-10-26T20:45:44.155Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:45:44.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:45:44.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:45:44.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:45:44.386Z] ========================================================= [2022-10-26T20:45:44.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:45:44.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:45:44.737Z] + 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-26T20:45:45.011Z] Sending build context to Docker daemon 3.239MB [2022-10-26T20:45:45.011Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:45:45.011Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:45:45.290Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:45:45.290Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:45:45.290Z] d32db5db7311: Pulling fs layer [2022-10-26T20:45:45.290Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:45:45.290Z] 5831b945b038: Pulling fs layer [2022-10-26T20:45:45.290Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:45:45.290Z] e10730c5d714: Pulling fs layer [2022-10-26T20:45:45.290Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:45:45.290Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:45:45.290Z] 5dd5c2283517: Waiting [2022-10-26T20:45:45.290Z] 5831b945b038: Waiting [2022-10-26T20:45:45.290Z] d5ac0230b979: Waiting [2022-10-26T20:45:45.290Z] 86bbec2aaacd: Waiting [2022-10-26T20:45:45.290Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:45:45.290Z] d0c4b47475fc: Download complete [2022-10-26T20:45:45.290Z] d32db5db7311: Verifying Checksum [2022-10-26T20:45:45.290Z] d32db5db7311: Download complete [2022-10-26T20:45:45.290Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:45:45.290Z] 86bbec2aaacd: Download complete [2022-10-26T20:45:45.290Z] e10730c5d714: Verifying Checksum [2022-10-26T20:45:45.290Z] e10730c5d714: Download complete [2022-10-26T20:45:45.290Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:45:45.290Z] 9b18e9b68314: Download complete [2022-10-26T20:45:46.758Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:45:46.758Z] d5ac0230b979: Download complete [2022-10-26T20:45:46.758Z] 9b18e9b68314: Pull complete [2022-10-26T20:45:47.370Z] d32db5db7311: Pull complete [2022-10-26T20:45:47.963Z] d0c4b47475fc: Pull complete [2022-10-26T20:45:47.963Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:45:47.963Z] 5dd5c2283517: Download complete [2022-10-26T20:45:48.553Z] 5831b945b038: Verifying Checksum [2022-10-26T20:45:48.553Z] 5831b945b038: Download complete [2022-10-26T20:46:00.888Z] 5831b945b038: Pull complete [2022-10-26T20:46:00.888Z] 86bbec2aaacd: Pull complete [2022-10-26T20:46:00.888Z] e10730c5d714: Pull complete [2022-10-26T20:46:07.567Z] 5dd5c2283517: Pull complete [2022-10-26T20:46:09.648Z] d5ac0230b979: Pull complete [2022-10-26T20:46:09.649Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:46:09.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:46:09.649Z] ---> 59b3b1a385d4 [2022-10-26T20:46:09.649Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:46:10.626Z] ---> Running in 1c760113acac [2022-10-26T20:46:10.897Z] Removing intermediate container 1c760113acac [2022-10-26T20:46:10.897Z] ---> a2668ee1a806 [2022-10-26T20:46:10.897Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:46:11.167Z] ---> Running in 32dfb9e788f1 [2022-10-26T20:46:11.438Z] Removing intermediate container 32dfb9e788f1 [2022-10-26T20:46:11.438Z] ---> 2db594dcbb4e [2022-10-26T20:46:11.438Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:46:11.438Z] ---> Running in bc84f0885902 [2022-10-26T20:46:12.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:12.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:14.280Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:46:14.280Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:46:14.280Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:46:14.280Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:46:14.280Z] OK: 228 MiB in 59 packages [2022-10-26T20:46:16.266Z] Removing intermediate container bc84f0885902 [2022-10-26T20:46:16.266Z] ---> 8f697a55bda2 [2022-10-26T20:46:16.266Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:46:16.536Z] ---> Running in 9e4c8e2be9fd [2022-10-26T20:46:16.805Z] Removing intermediate container 9e4c8e2be9fd [2022-10-26T20:46:16.805Z] ---> d05f6df0f359 [2022-10-26T20:46:16.805Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:46:17.406Z] ---> bbf11aa4a05a [2022-10-26T20:46:17.406Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:46:17.406Z] ---> Running in 2a72038d7b15 [2022-10-26T20:47:13.840Z] Removing intermediate container 2a72038d7b15 [2022-10-26T20:47:13.840Z] ---> f572b22d221e [2022-10-26T20:47:13.840Z] Step 9/10 : COPY . . [2022-10-26T20:47:13.840Z] ---> 77dd47b86509 [2022-10-26T20:47:13.840Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:47:13.840Z] ---> Running in 17623f407d57 [2022-10-26T20:47:13.840Z] noop [2022-10-26T20:47:13.840Z] Removing intermediate container 17623f407d57 [2022-10-26T20:47:13.840Z] ---> e70a1184d5a8 [2022-10-26T20:47:13.840Z] Successfully built e70a1184d5a8 [2022-10-26T20:47:13.840Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:47:14.198Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:47:14.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:14.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container [2022-10-26T20:47:14.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:47:15.668Z] $ docker top f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:47:16.527Z] + go version [2022-10-26T20:47:16.527Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:47:16.548Z] $ docker stop --time=1 f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 [2022-10-26T20:47:18.167Z] $ docker rm -f f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:47:18.736Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:47:18.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:18.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container [2022-10-26T20:47:18.982Z] $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:47:20.162Z] $ docker top b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:47:21.016Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:47:21.352Z] + make test [2022-10-26T20:47:21.622Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:47:23.032Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:48:59.725Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:48:59.725Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements [2022-10-26T20:48:59.725Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:48:59.725Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:49:17.962Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:49:17.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:49:17.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:49:17.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:49:17.999Z] $ docker stop --time=1 b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d [2022-10-26T20:49:19.770Z] $ docker rm -f b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:49:20.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:49:20.742Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:49:21.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:49:21.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:49:21.881Z] + ls -al . [2022-10-26T20:49:21.882Z] total 192 [2022-10-26T20:49:21.882Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:47 . [2022-10-26T20:49:21.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 .. [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:45 .dockerignore [2022-10-26T20:49:21.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:45 .git [2022-10-26T20:49:21.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 .github [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:45 .gitignore [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:45 .golangci.yml [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:45 Attribution.txt [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:45 CHANGELOG.md [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:45 Dockerfile [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:45 GOVERNANCE.md [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:45 Jenkinsfile [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:45 LICENSE [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:45 Makefile [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:45 OWNERS.md [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:45 README.md [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:41 VERSION [2022-10-26T20:49:21.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 bin [2022-10-26T20:49:21.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 cmd [2022-10-26T20:49:21.882Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:48 coverage.out [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:45 go.mod [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 45486 Oct 26 20:45 go.sum [2022-10-26T20:49:21.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 internal [2022-10-26T20:49:21.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 simulator [2022-10-26T20:49:21.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 snap [2022-10-26T20:49:21.882Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:49:22.218Z] + 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=eaaa96216d254802e4dc56b9feee2ee1b24579f4 --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:49:22.487Z] Sending build context to Docker daemon 3.263MB [2022-10-26T20:49:22.487Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:49:22.487Z] Step 2/22 : FROM ${BASE} AS builder [2022-10-26T20:49:22.487Z] ---> e70a1184d5a8 [2022-10-26T20:49:22.487Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:49:22.755Z] ---> Running in 4ab7e3bedc14 [2022-10-26T20:49:23.022Z] Removing intermediate container 4ab7e3bedc14 [2022-10-26T20:49:23.022Z] ---> d607a347ff49 [2022-10-26T20:49:23.022Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:49:23.022Z] ---> Running in 2df15a3c1bd0 [2022-10-26T20:49:23.292Z] Removing intermediate container 2df15a3c1bd0 [2022-10-26T20:49:23.292Z] ---> c9788689a29b [2022-10-26T20:49:23.292Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:49:23.292Z] ---> Running in 54b55c90ee4c [2022-10-26T20:49:24.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:24.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:49:25.484Z] OK: 228 MiB in 59 packages [2022-10-26T20:49:26.448Z] Removing intermediate container 54b55c90ee4c [2022-10-26T20:49:26.448Z] ---> fe5c62b28ea5 [2022-10-26T20:49:26.448Z] Step 6/22 : WORKDIR /device-modbus-go [2022-10-26T20:49:26.448Z] ---> Running in ee3ebfdc2e4c [2022-10-26T20:49:26.717Z] Removing intermediate container ee3ebfdc2e4c [2022-10-26T20:49:26.717Z] ---> 59cb764e3274 [2022-10-26T20:49:26.717Z] Step 7/22 : COPY go.mod vendor* ./ [2022-10-26T20:49:27.306Z] ---> d70060b80d4b [2022-10-26T20:49:27.306Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:49:27.306Z] ---> Running in 5ea5479c4757 [2022-10-26T20:49:29.254Z] Removing intermediate container 5ea5479c4757 [2022-10-26T20:49:29.254Z] ---> bdbbc8e18c18 [2022-10-26T20:49:29.254Z] Step 9/22 : COPY . . [2022-10-26T20:49:30.218Z] ---> 1a1191dc1653 [2022-10-26T20:49:30.218Z] Step 10/22 : RUN ${MAKE} [2022-10-26T20:49:30.218Z] ---> Running in 4f86dcb5abf5 [2022-10-26T20:49:31.178Z] 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-26T20:52:07.941Z] Removing intermediate container 4f86dcb5abf5 [2022-10-26T20:52:07.941Z] ---> c0d99c9d08ca [2022-10-26T20:52:07.941Z] Step 11/22 : FROM alpine:3.14 [2022-10-26T20:52:07.941Z] 3.14: Pulling from library/alpine [2022-10-26T20:52:07.941Z] 90cda3b7c325: Pulling fs layer [2022-10-26T20:52:07.941Z] 90cda3b7c325: Verifying Checksum [2022-10-26T20:52:07.941Z] 90cda3b7c325: Download complete [2022-10-26T20:52:07.941Z] 90cda3b7c325: Pull complete [2022-10-26T20:52:07.941Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:52:07.941Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:52:07.941Z] ---> 376ba31ae3da [2022-10-26T20:52:07.942Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:52:07.942Z] ---> Running in daa7e2814378 [2022-10-26T20:52:07.942Z] Removing intermediate container daa7e2814378 [2022-10-26T20:52:07.942Z] ---> bad647fe5fc3 [2022-10-26T20:52:07.942Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:52:07.942Z] ---> Running in f5cedac44608 [2022-10-26T20:52:07.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:07.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:52:07.942Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:52:07.942Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:52:07.942Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:52:07.942Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:52:07.942Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:52:07.942Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:52:07.942Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:52:07.942Z] OK: 8 MiB in 20 packages [2022-10-26T20:52:07.942Z] Removing intermediate container f5cedac44608 [2022-10-26T20:52:07.942Z] ---> a6d37fcb3f0d [2022-10-26T20:52:07.942Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:52:07.942Z] ---> 073873507d4e [2022-10-26T20:52:07.942Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:52:07.942Z] ---> 82ae36d8de67 [2022-10-26T20:52:07.942Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:52:07.942Z] ---> ca16e565c07a [2022-10-26T20:52:07.942Z] Step 17/22 : EXPOSE 59901 [2022-10-26T20:52:07.942Z] ---> Running in 7c35c1aa6569 [2022-10-26T20:52:07.942Z] Removing intermediate container 7c35c1aa6569 [2022-10-26T20:52:07.942Z] ---> aa627e5d6620 [2022-10-26T20:52:07.942Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:52:07.942Z] ---> Running in 008b9efd6b61 [2022-10-26T20:52:07.942Z] Removing intermediate container 008b9efd6b61 [2022-10-26T20:52:07.942Z] ---> 89d4cdfa8c49 [2022-10-26T20:52:07.942Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:52:07.942Z] ---> Running in 0f7d2453c056 [2022-10-26T20:52:07.942Z] Removing intermediate container 0f7d2453c056 [2022-10-26T20:52:07.942Z] ---> bfe671583dfd [2022-10-26T20:52:07.942Z] Step 20/22 : LABEL arch=arm64 [2022-10-26T20:52:07.942Z] ---> Running in 90ef466b121b [2022-10-26T20:52:07.942Z] Removing intermediate container 90ef466b121b [2022-10-26T20:52:07.942Z] ---> f10630ecbf52 [2022-10-26T20:52:07.942Z] Step 21/22 : LABEL git_sha=eaaa96216d254802e4dc56b9feee2ee1b24579f4 [2022-10-26T20:52:07.942Z] ---> Running in 93748ec47511 [2022-10-26T20:52:07.942Z] Removing intermediate container 93748ec47511 [2022-10-26T20:52:07.942Z] ---> 62f9874e835c [2022-10-26T20:52:07.942Z] Step 22/22 : LABEL version=0.0.0 [2022-10-26T20:52:07.942Z] ---> Running in ec42184ef62c [2022-10-26T20:52:07.942Z] Removing intermediate container ec42184ef62c [2022-10-26T20:52:07.942Z] ---> c72a8fb8f8bc [2022-10-26T20:52:07.942Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:52:07.942Z] Successfully built c72a8fb8f8bc [2022-10-26T20:52:07.942Z] 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-26T20:52:08.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:08.369Z] [2022-10-26T20:52:08.369Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:08.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:08.978Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:52:08.978Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:52:08.978Z] 04944245beec: Pulling fs layer [2022-10-26T20:52:08.978Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:52:08.978Z] 765212b225bb: Pulling fs layer [2022-10-26T20:52:08.978Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:52:08.978Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:52:08.978Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:52:08.978Z] f23df028b6ca: Waiting [2022-10-26T20:52:08.978Z] d65c8cfc05b1: Waiting [2022-10-26T20:52:08.978Z] 2437ff75d9bd: Waiting [2022-10-26T20:52:08.978Z] 765212b225bb: Waiting [2022-10-26T20:52:08.978Z] 04944245beec: Verifying Checksum [2022-10-26T20:52:08.978Z] 04944245beec: Download complete [2022-10-26T20:52:08.978Z] 765212b225bb: Verifying Checksum [2022-10-26T20:52:08.978Z] 765212b225bb: Download complete [2022-10-26T20:52:09.251Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:52:09.251Z] f23df028b6ca: Download complete [2022-10-26T20:52:09.251Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:52:09.251Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:52:09.251Z] 699f458cf7ca: Download complete [2022-10-26T20:52:09.838Z] 8998bd30e6a1: Download complete [2022-10-26T20:52:12.460Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:52:12.460Z] 2437ff75d9bd: Download complete [2022-10-26T20:52:13.876Z] 8998bd30e6a1: Pull complete [2022-10-26T20:52:14.468Z] 04944245beec: Pull complete [2022-10-26T20:52:15.887Z] 699f458cf7ca: Pull complete [2022-10-26T20:52:16.158Z] 765212b225bb: Pull complete [2022-10-26T20:52:16.743Z] f23df028b6ca: Pull complete [2022-10-26T20:52:17.014Z] d65c8cfc05b1: Pull complete [2022-10-26T20:52:32.050Z] 2437ff75d9bd: Pull complete [2022-10-26T20:52:32.050Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:52:32.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:52:32.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:52:32.242Z] prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container [2022-10-26T20:52:32.361Z] $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T20:52:35.311Z] $ docker top ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:36.215Z] ---> job-cost.sh [2022-10-26T20:52:36.215Z] lf-activate-venv: SKIPPING [2022-10-26T20:52:36.215Z] INFO: No Stack... [2022-10-26T20:52:36.485Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:52:37.469Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:52:38.136Z] + cut -d, -f6 [2022-10-26T20:52:38.136Z] + cat /w/workspace/device-modbus-go/5/archives/cost.csv [Pipeline] lock [2022-10-26T20:52:38.208Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [2022-10-26T20:52:38.220Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] did not exist. Created. [2022-10-26T20:52:38.220Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:52:38.877Z] /w/workspace/device-modbus-go/5@tmp/durable-05af20cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:52:39.545Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:52:39.569Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:52:39.650Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:52:39.655Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:52:39.670Z] $ docker stop --time=1 ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b [2022-10-26T20:52:41.236Z] $ docker rm -f ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b [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-26T20:52:41.584Z] provisioning config files... [2022-10-26T20:52:41.591Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config2893194586505036002tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:52:41.878Z] + set +x [2022-10-26T20:52:41.878Z] + curl -s https://codecov.io/bash [2022-10-26T20:52:41.878Z] + bash -s -- [2022-10-26T20:52:41.878Z] [2022-10-26T20:52:41.878Z] _____ _ [2022-10-26T20:52:41.878Z] / ____| | | [2022-10-26T20:52:41.878Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:52:41.878Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:52:41.878Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:52:41.878Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:52:41.878Z] Bash-1.0.6 [2022-10-26T20:52:41.878Z] [2022-10-26T20:52:41.878Z] [2022-10-26T20:52:41.878Z] ==> git version 2.25.1 found [2022-10-26T20:52:41.878Z] ==> 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-26T20:52:41.878Z] Release-Date: 2020-01-08 [2022-10-26T20:52:41.878Z] 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-26T20:52:41.878Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:52:41.878Z] ==> Jenkins CI detected. [2022-10-26T20:52:41.878Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-26T20:52:41.878Z] project root: . [2022-10-26T20:52:41.878Z] --> token set from env [2022-10-26T20:52:41.878Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:52:41.878Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:52:41.878Z] ==> Python coveragepy not found [2022-10-26T20:52:41.878Z] ==> Searching for coverage reports in: [2022-10-26T20:52:41.878Z] + . [2022-10-26T20:52:41.878Z] -> Found 1 reports [2022-10-26T20:52:41.878Z] ==> Detecting git/mercurial file structure [2022-10-26T20:52:41.878Z] ==> Reading reports [2022-10-26T20:52:41.878Z] + ./coverage.out bytes=23241 [2022-10-26T20:52:41.878Z] ==> Appending adjustments [2022-10-26T20:52:41.878Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:52:42.137Z] + Found adjustments [2022-10-26T20:52:42.137Z] ==> Gzipping contents [2022-10-26T20:52:42.137Z] 4.0K /tmp/codecov.WXXacW.gz [2022-10-26T20:52:42.137Z] ==> Uploading reports [2022-10-26T20:52:42.137Z] url: https://codecov.io [2022-10-26T20:52:42.137Z] query: branch=PR-385&commit=eaaa96216d254802e4dc56b9feee2ee1b24579f4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-26T20:52:42.137Z] -> Pinging Codecov [2022-10-26T20:52:42.137Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=eaaa96216d254802e4dc56b9feee2ee1b24579f4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-26T20:52:42.399Z] -> Uploading to [2022-10-26T20:52:42.399Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/eaaa96216d254802e4dc56b9feee2ee1b24579f4/0dcfbce7-933c-4908-9abc-939005a7a413.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb5afbfaf7a879fda834b3b130af554e38b9168cce530c75a8fb1c8c357b7063 [2022-10-26T20:52:42.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:52:42.399Z] Dload Upload Total Spent Left Speed [2022-10-26T20:52:42.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 17751 --:--:-- --:--:-- --:--:-- 17751 [2022-10-26T20:52:42.657Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] } [2022-10-26T20:52:42.665Z] 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-26T20:52:43.327Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-10-26T20:52:43.327Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-26T20:52:43.327Z] total 16 [2022-10-26T20:52:43.327Z] drwxr-xr-x 3 root root 4096 Oct 26 20:43 . [2022-10-26T20:52:43.327Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:43 .. [2022-10-26T20:52:43.327Z] drwxr-xr-x 2 root root 4096 Oct 26 20:43 cost [2022-10-26T20:52:43.327Z] -rw-r--r-- 1 root root 88 Oct 26 20:43 cost.csv [2022-10-26T20:52:43.327Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-26T20:52:43.327Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-26T20:52:43.327Z] total 16 [2022-10-26T20:52:43.327Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:43 . [2022-10-26T20:52:43.327Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:43 .. [2022-10-26T20:52:43.327Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:43 cost [2022-10-26T20:52:43.327Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 26 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:43.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:44.475Z] ---> package-listing.sh [2022-10-26T20:52:44.476Z] ++ facter osfamily [2022-10-26T20:52:44.476Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:52:44.734Z] + OS_FAMILY=debian [2022-10-26T20:52:44.734Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-26T20:52:44.734Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:52:44.734Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:52:44.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:52:44.734Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:52:44.734Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-26T20:52:44.734Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:52:44.734Z] + case "${OS_FAMILY}" in [2022-10-26T20:52:44.734Z] + dpkg -l [2022-10-26T20:52:44.734Z] + grep '^ii' [2022-10-26T20:52:44.734Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:52:44.734Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:52:44.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:52:44.734Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-26T20:52:44.734Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-10-26T20:52:44.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo [2022-10-26T20:52:44.743Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:52:45.019Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:52:45.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:52:45.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:52:45.641Z] prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container [2022-10-26T20:52:45.689Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:52:45.892Z] $ docker top 8fbddc48f48c7bc6f40d2115bec5cac18d330d3646e5716f5e38b138e01095a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:52:46.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:52:46.506Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:52:46.798Z] + ls /var/log/sa-host [2022-10-26T20:52:46.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:52:46.952Z] provisioning config files... [2022-10-26T20:52:46.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config4137779514362205948tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:52:46.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:47.262Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:52:47.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:47.598Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:52:47.607Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:47.890Z] ---> sudo-logs.sh [2022-10-26T20:52:47.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:52:47.927Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:48.214Z] ---> job-cost.sh [2022-10-26T20:52:48.214Z] lf-activate-venv: SKIPPING [2022-10-26T20:52:48.214Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:52:48.214Z] INFO: Retrieving Stack Cost... [2022-10-26T20:52:48.785Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:52:49.047Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:52:49.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:52:49.347Z] ---> logs-deploy.sh [2022-10-26T20:52:49.347Z] lf-activate-venv: SKIPPING [2022-10-26T20:52:49.347Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/5 [2022-10-26T20:52:49.347Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:52:50.400Z] Archives upload complete. [2022-10-26T20:52:50.400Z] INFO: archiving logs to Nexus [2022-10-26T20:52:50.966Z] ---> uname -a: [2022-10-26T20:52:50.966Z] Linux prd-ubuntu20-04-docker-8c-8g-117323 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T20:52:50.966Z] [2022-10-26T20:52:50.966Z] [2022-10-26T20:52:50.966Z] ---> lscpu: [2022-10-26T20:52:50.966Z] Architecture: x86_64 [2022-10-26T20:52:50.966Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T20:52:50.966Z] Byte Order: Little Endian [2022-10-26T20:52:50.966Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T20:52:50.966Z] CPU(s): 8 [2022-10-26T20:52:50.966Z] On-line CPU(s) list: 0-7 [2022-10-26T20:52:50.966Z] Thread(s) per core: 1 [2022-10-26T20:52:50.966Z] Core(s) per socket: 1 [2022-10-26T20:52:50.966Z] Socket(s): 8 [2022-10-26T20:52:50.966Z] NUMA node(s): 1 [2022-10-26T20:52:50.966Z] Vendor ID: AuthenticAMD [2022-10-26T20:52:50.966Z] CPU family: 23 [2022-10-26T20:52:50.967Z] Model: 49 [2022-10-26T20:52:50.967Z] Model name: AMD EPYC-Rome Processor [2022-10-26T20:52:50.967Z] Stepping: 0 [2022-10-26T20:52:50.967Z] CPU MHz: 2799.998 [2022-10-26T20:52:50.967Z] BogoMIPS: 5599.99 [2022-10-26T20:52:50.967Z] Virtualization: AMD-V [2022-10-26T20:52:50.967Z] Hypervisor vendor: KVM [2022-10-26T20:52:50.967Z] Virtualization type: full [2022-10-26T20:52:50.967Z] L1d cache: 256 KiB [2022-10-26T20:52:50.967Z] L1i cache: 256 KiB [2022-10-26T20:52:50.967Z] L2 cache: 4 MiB [2022-10-26T20:52:50.967Z] L3 cache: 128 MiB [2022-10-26T20:52:50.967Z] NUMA node0 CPU(s): 0-7 [2022-10-26T20:52:50.967Z] Vulnerability Itlb multihit: Not affected [2022-10-26T20:52:50.967Z] Vulnerability L1tf: Not affected [2022-10-26T20:52:50.967Z] Vulnerability Mds: Not affected [2022-10-26T20:52:50.967Z] Vulnerability Meltdown: Not affected [2022-10-26T20:52:50.967Z] Vulnerability Mmio stale data: Not affected [2022-10-26T20:52:50.967Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T20:52:50.967Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T20:52:50.967Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T20:52:50.967Z] Vulnerability Srbds: Not affected [2022-10-26T20:52:50.967Z] Vulnerability Tsx async abort: Not affected [2022-10-26T20:52:50.967Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-26T20:52:50.967Z] [2022-10-26T20:52:50.967Z]