Pull request #411 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 05607db3767b12e2b1688c1d4c1138f7ff4649fd rather than 670617287e1254d64d2b0ccdd3e9d059c2f79f5c Obtained Jenkinsfile from 05607db3767b12e2b1688c1d4c1138f7ff4649fd 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-ssh12365816968914973637.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8909318445343159334.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-411/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-411/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7891237666792812362.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17831397512412379278.key > 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-411/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-411/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11711476272077302975.key > 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-5498 in /w/workspace/xfoundry_device-modbus-go_PR-411 [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-411 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/411/head:refs/remotes/origin/PR-411 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 670617287e1254d64d2b0ccdd3e9d059c2f79f5c Merge succeeded, producing 670617287e1254d64d2b0ccdd3e9d059c2f79f5c Checking out Revision 670617287e1254d64d2b0ccdd3e9d059c2f79f5c (PR-411) > git config core.sparsecheckout # timeout=10 > git checkout -f 670617287e1254d64d2b0ccdd3e9d059c2f79f5c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 670617287e1254d64d2b0ccdd3e9d059c2f79f5c # timeout=10 Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" First time build. Skipping changelog. > git rev-list --no-walk 051755cd082bf34e42ec22189455455158aa0636 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T07:20:19.361Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T07:20:19.419Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T07:20:19.442Z] ========================================================= [2023-02-13T07:20:19.443Z] EdgeX Global Pipelines Version Info [2023-02-13T07:20:19.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:20:20.541Z] ------------------- [2023-02-13T07:20:20.541Z] stable info: [2023-02-13T07:20:20.541Z] ------------------- [2023-02-13T07:20:20.541Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T07:20:20.541Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:20:20.541Z] Message: update stable to v1.0.244 [2023-02-13T07:20:21.112Z] ------------------- [2023-02-13T07:20:21.112Z] experimental info: [2023-02-13T07:20:21.112Z] ------------------- [2023-02-13T07:20:21.112Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T07:20:21.112Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:20:21.112Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T07:20:21.280Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-13T07:20:21.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-13T07:20:21.313Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T07:20:21.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T07:20:21.340Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T07:20:21.356Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T07:20:21.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T07:20:21.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T07:20:21.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T07:20:21.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T07:20:21.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T07:20:21.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-13T07:20:21.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T07:20:21.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T07:20:21.484Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:20:21.496Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:20:21.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:20:21.517Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:20:21.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T07:20:21.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T07:20:21.569Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T07:20:21.584Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T07:20:21.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T07:20:21.610Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T07:20:21.619Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T07:20:21.631Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T07:20:21.645Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T07:20:21.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-411 [Pipeline] echo [2023-02-13T07:20:21.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-411 [Pipeline] echo [2023-02-13T07:20:21.688Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-411 [Pipeline] echo [2023-02-13T07:20:21.706Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [Pipeline] echo [2023-02-13T07:20:21.722Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6706172 [Pipeline] echo [2023-02-13T07:20:21.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:20:21.776Z] provisioning config files... [2023-02-13T07:20:21.788Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/config1089614355012247729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:20:22.086Z] ---> docker-login.sh [2023-02-13T07:20:22.086Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:20:22.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:22.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:22.344Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:22.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:22.344Z] [2023-02-13T07:20:22.344Z] Login Succeeded [2023-02-13T07:20:22.344Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:20:22.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:22.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:22.344Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:22.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:22.344Z] [2023-02-13T07:20:22.344Z] Login Succeeded [2023-02-13T07:20:22.344Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:20:22.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:22.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:22.604Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:22.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:22.604Z] [2023-02-13T07:20:22.604Z] Login Succeeded [2023-02-13T07:20:22.604Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:20:22.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:22.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:22.604Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:22.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:22.604Z] [2023-02-13T07:20:22.604Z] Login Succeeded [2023-02-13T07:20:22.604Z] docker.io [2023-02-13T07:20:22.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:23.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:23.124Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:23.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:23.124Z] [2023-02-13T07:20:23.124Z] Login Succeeded [2023-02-13T07:20:23.124Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:20:23.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T07:20:23.490Z] + git rev-list -1 --merges 670617287e1254d64d2b0ccdd3e9d059c2f79f5c~1..670617287e1254d64d2b0ccdd3e9d059c2f79f5c [Pipeline] echo [2023-02-13T07:20:23.539Z] -----------> git rev-list -1 --merges 670617287e1254d64d2b0ccdd3e9d059c2f79f5c~1..670617287e1254d64d2b0ccdd3e9d059c2f79f5c 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [false] [Pipeline] sh [2023-02-13T07:20:23.823Z] + git log --format=format:%s -1 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [Pipeline] echo [2023-02-13T07:20:23.838Z] ========================================================= [2023-02-13T07:20:23.838Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T07:20:23.838Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:20:24.169Z] + git log --format=format:%s -1 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [Pipeline] echo [2023-02-13T07:20:24.180Z] [semverPrep] GIT_COMMIT: 670617287e1254d64d2b0ccdd3e9d059c2f79f5c, Commit Message: build(deps)!: bump device-sdk-go and go-mod-core-contracts versions [Pipeline] echo [2023-02-13T07:20:24.191Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T07:20:24.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:20:24.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T07:20:24.537Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T07:20:24.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T07:20:24.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T07:20:24.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T07:20:24.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:24.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:20:24.882Z] [2023-02-13T07:20:24.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:25.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:20:25.187Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T07:20:25.187Z] b85a868b505f: Pulling fs layer [2023-02-13T07:20:25.187Z] e2be974225ed: Pulling fs layer [2023-02-13T07:20:25.187Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T07:20:25.187Z] 988bab9f4d93: Pulling fs layer [2023-02-13T07:20:25.187Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T07:20:25.187Z] eaf3925da568: Pulling fs layer [2023-02-13T07:20:25.187Z] bab4dde63d76: Pulling fs layer [2023-02-13T07:20:25.187Z] bde34c3a00c8: Pulling fs layer [2023-02-13T07:20:25.187Z] b352a97aabf1: Pulling fs layer [2023-02-13T07:20:25.187Z] 4872d77fe225: Pulling fs layer [2023-02-13T07:20:25.187Z] 5851b861e8e6: Pulling fs layer [2023-02-13T07:20:25.187Z] 988bab9f4d93: Waiting [2023-02-13T07:20:25.187Z] bab4dde63d76: Waiting [2023-02-13T07:20:25.187Z] 4872d77fe225: Waiting [2023-02-13T07:20:25.187Z] eaf3925da568: Waiting [2023-02-13T07:20:25.187Z] 5851b861e8e6: Waiting [2023-02-13T07:20:25.187Z] 1469e6f7b9e6: Waiting [2023-02-13T07:20:25.187Z] b352a97aabf1: Waiting [2023-02-13T07:20:25.187Z] e2be974225ed: Download complete [2023-02-13T07:20:25.187Z] 988bab9f4d93: Verifying Checksum [2023-02-13T07:20:25.187Z] 988bab9f4d93: Download complete [2023-02-13T07:20:25.456Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T07:20:25.456Z] 1469e6f7b9e6: Download complete [2023-02-13T07:20:25.456Z] eaf3925da568: Download complete [2023-02-13T07:20:25.717Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T07:20:25.717Z] 339a4e72a1f5: Download complete [2023-02-13T07:20:25.717Z] bde34c3a00c8: Download complete [2023-02-13T07:20:25.717Z] b352a97aabf1: Verifying Checksum [2023-02-13T07:20:25.717Z] b352a97aabf1: Download complete [2023-02-13T07:20:25.717Z] 4872d77fe225: Verifying Checksum [2023-02-13T07:20:25.717Z] 4872d77fe225: Download complete [2023-02-13T07:20:25.717Z] 5851b861e8e6: Download complete [2023-02-13T07:20:25.717Z] b85a868b505f: Verifying Checksum [2023-02-13T07:20:25.717Z] b85a868b505f: Download complete [2023-02-13T07:20:26.284Z] bab4dde63d76: Verifying Checksum [2023-02-13T07:20:26.284Z] bab4dde63d76: Download complete [2023-02-13T07:20:27.258Z] b85a868b505f: Pull complete [2023-02-13T07:20:27.258Z] e2be974225ed: Pull complete [2023-02-13T07:20:27.521Z] 339a4e72a1f5: Pull complete [2023-02-13T07:20:27.780Z] 988bab9f4d93: Pull complete [2023-02-13T07:20:28.039Z] 1469e6f7b9e6: Pull complete [2023-02-13T07:20:28.039Z] eaf3925da568: Pull complete [2023-02-13T07:20:29.942Z] bab4dde63d76: Pull complete [2023-02-13T07:20:29.942Z] bde34c3a00c8: Pull complete [2023-02-13T07:20:29.942Z] b352a97aabf1: Pull complete [2023-02-13T07:20:30.201Z] 4872d77fe225: Pull complete [2023-02-13T07:20:30.201Z] 5851b861e8e6: Pull complete [2023-02-13T07:20:30.201Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T07:20:30.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:20:30.201Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:20:30.287Z] prd-ubuntu20.04-docker-8c-8g-5498 does not seem to be running inside a container [2023-02-13T07:20:30.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-411 -v /w/workspace/xfoundry_device-modbus-go_PR-411:/w/workspace/xfoundry_device-modbus-go_PR-411:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-411@tmp:/w/workspace/xfoundry_device-modbus-go_PR-411@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-devops/py-git-semver:0.1.4 cat [2023-02-13T07:20:32.581Z] $ docker top e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af -eo pid,comm [2023-02-13T07:20:32.645Z] 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). [2023-02-13T07:20:32.645Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:20:32.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:20:32.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:20:32.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:20:32.786Z] $ docker exec e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af ssh-agent [2023-02-13T07:20:32.909Z] SSH_AUTH_SOCK=/tmp/ssh-kYy8UHgjSzR3/agent.32 [2023-02-13T07:20:32.909Z] SSH_AGENT_PID=39 [2023-02-13T07:20:32.916Z] Running ssh-add (command line suppressed) [2023-02-13T07:20:33.008Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-411@tmp/private_key_1047625812673758056.key (/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/private_key_1047625812673758056.key) [2023-02-13T07:20:33.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:20:33.312Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T07:20:33.313Z] $ docker exec --env ******** --env ******** e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af ssh-agent -k [2023-02-13T07:20:33.400Z] unset SSH_AUTH_SOCK; [2023-02-13T07:20:33.400Z] unset SSH_AGENT_PID; [2023-02-13T07:20:33.400Z] echo Agent pid 39 killed; [2023-02-13T07:20:33.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T07:20:33.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:20:33.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:20:33.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:20:33.547Z] $ docker exec e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af ssh-agent [2023-02-13T07:20:33.654Z] SSH_AUTH_SOCK=/tmp/ssh-a3gieVkPBMZi/agent.70 [2023-02-13T07:20:33.654Z] SSH_AGENT_PID=76 [2023-02-13T07:20:33.658Z] Running ssh-add (command line suppressed) [2023-02-13T07:20:33.744Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-411@tmp/private_key_9143929403902067484.key (/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/private_key_9143929403902067484.key) [2023-02-13T07:20:33.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:20:34.053Z] + git semver init [2023-02-13T07:20:34.312Z] 2023-02-13 07:20:34,217 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T07:20:34.312Z] 2023-02-13 07:20:34,218 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-411/.semver [2023-02-13T07:20:34.312Z] 2023-02-13 07:20:34,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-411/.semver [2023-02-13T07:20:34.312Z] 2023-02-13 07:20:34,219 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-411/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-411, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,189 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-411/.git/info/exclude [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-411/.semver/PR-411 with force:False [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,190 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-411/.semver/PR-411 [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,194 [execute] INFO git cat-file --batch-check [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-411/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,200 [execute] INFO git cat-file --batch [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-411/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:20:35.251Z] 2023-02-13 07:20:35,205 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-411/.semver/PR-411 [2023-02-13T07:20:35.251Z] 0.0.0 [Pipeline] } [2023-02-13T07:20:35.252Z] $ docker exec --env ******** --env ******** e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af ssh-agent -k [2023-02-13T07:20:35.349Z] unset SSH_AUTH_SOCK; [2023-02-13T07:20:35.350Z] unset SSH_AGENT_PID; [2023-02-13T07:20:35.350Z] echo Agent pid 76 killed; [2023-02-13T07:20:35.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:20:35.674Z] + git semver [Pipeline] } [2023-02-13T07:20:35.939Z] $ docker stop --time=1 e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af [2023-02-13T07:20:37.244Z] $ docker rm -f --volumes e71d5b051d6d913af3e1ad62f66cd4153371ed5b1caaeb1520b04f7d6175d5af [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:20:37.610Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T07:20:37.815Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T07:20:37.818Z] [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 [2023-02-13T07:20:37.977Z] provisioning config files... [2023-02-13T07:20:37.985Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/config17666101359101704006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:20:38.277Z] ---> docker-login.sh [2023-02-13T07:20:38.277Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:20:38.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:39.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:39.229Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:39.229Z] [2023-02-13T07:20:39.229Z] Login Succeeded [2023-02-13T07:20:39.229Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:20:39.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:39.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:39.229Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:39.229Z] [2023-02-13T07:20:39.229Z] Login Succeeded [2023-02-13T07:20:39.229Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:20:39.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:39.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:39.229Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:39.229Z] [2023-02-13T07:20:39.229Z] Login Succeeded [2023-02-13T07:20:39.229Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:20:39.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:39.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:39.229Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:39.229Z] [2023-02-13T07:20:39.229Z] Login Succeeded [2023-02-13T07:20:39.229Z] docker.io [2023-02-13T07:20:39.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:39.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:39.748Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:39.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:39.748Z] [2023-02-13T07:20:39.748Z] Login Succeeded [2023-02-13T07:20:39.748Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:20:39.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:20:39.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:39.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:39.833Z] ========================================================= [2023-02-13T07:20:39.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T07:20:39.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:40.135Z] + 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 . [2023-02-13T07:20:40.135Z] Sending build context to Docker daemon 6.381MB [2023-02-13T07:20:40.135Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:20:40.135Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:20:40.135Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T07:20:40.135Z] 213ec9aee27d: Pulling fs layer [2023-02-13T07:20:40.135Z] 4583459ba037: Pulling fs layer [2023-02-13T07:20:40.135Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T07:20:40.135Z] 53926ce57604: Pulling fs layer [2023-02-13T07:20:40.135Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T07:20:40.135Z] 22ff95d597cd: Pulling fs layer [2023-02-13T07:20:40.135Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T07:20:40.135Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T07:20:40.135Z] a7acece74701: Pulling fs layer [2023-02-13T07:20:40.135Z] 53926ce57604: Waiting [2023-02-13T07:20:40.135Z] 21b2b0c7a3f4: Waiting [2023-02-13T07:20:40.135Z] 22ff95d597cd: Waiting [2023-02-13T07:20:40.135Z] 12d6caf4c0d1: Waiting [2023-02-13T07:20:40.135Z] 96b7cbca73a9: Waiting [2023-02-13T07:20:40.135Z] a7acece74701: Waiting [2023-02-13T07:20:40.135Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T07:20:40.135Z] 93c1e223e6f2: Download complete [2023-02-13T07:20:40.135Z] 4583459ba037: Verifying Checksum [2023-02-13T07:20:40.135Z] 4583459ba037: Download complete [2023-02-13T07:20:40.135Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T07:20:40.135Z] 21b2b0c7a3f4: Download complete [2023-02-13T07:20:40.398Z] 22ff95d597cd: Verifying Checksum [2023-02-13T07:20:40.398Z] 22ff95d597cd: Download complete [2023-02-13T07:20:40.398Z] 213ec9aee27d: Download complete [2023-02-13T07:20:40.398Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T07:20:40.398Z] 12d6caf4c0d1: Download complete [2023-02-13T07:20:40.398Z] 213ec9aee27d: Pull complete [2023-02-13T07:20:40.673Z] 4583459ba037: Pull complete [2023-02-13T07:20:40.673Z] 93c1e223e6f2: Pull complete [2023-02-13T07:20:41.704Z] a7acece74701: Verifying Checksum [2023-02-13T07:20:41.704Z] a7acece74701: Download complete [2023-02-13T07:20:41.976Z] 53926ce57604: Verifying Checksum [2023-02-13T07:20:41.976Z] 53926ce57604: Download complete [2023-02-13T07:20:41.976Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T07:20:45.260Z] 53926ce57604: Pull complete [2023-02-13T07:20:45.519Z] 21b2b0c7a3f4: Pull complete [2023-02-13T07:20:45.519Z] 22ff95d597cd: Pull complete [2023-02-13T07:20:45.519Z] 12d6caf4c0d1: Pull complete [2023-02-13T07:20:48.048Z] 96b7cbca73a9: Pull complete [2023-02-13T07:20:48.308Z] a7acece74701: Pull complete [2023-02-13T07:20:48.308Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T07:20:48.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T07:20:48.308Z] ---> db6d94c90886 [2023-02-13T07:20:48.308Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:20:52.496Z] ---> Running in ca851bb3ab25 [2023-02-13T07:20:52.496Z] Removing intermediate container ca851bb3ab25 [2023-02-13T07:20:52.496Z] ---> 8e44390a4d56 [2023-02-13T07:20:52.496Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:20:52.496Z] ---> Running in 5e471fd015e9 [2023-02-13T07:20:52.496Z] Removing intermediate container 5e471fd015e9 [2023-02-13T07:20:52.496Z] ---> d8af39ceef36 [2023-02-13T07:20:52.496Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:20:52.496Z] ---> Running in 227282a6bab7 [2023-02-13T07:20:52.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:52.927Z] Still waiting to schedule task [2023-02-13T07:20:52.927Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-13T07:20:53.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:53.014Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:20:53.014Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T07:20:53.014Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:20:53.014Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:20:53.316Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T07:20:53.316Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T07:20:53.316Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T07:20:53.316Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T07:20:53.316Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:20:53.316Z] OK: 217 MiB in 59 packages [2023-02-13T07:20:53.576Z] Removing intermediate container 227282a6bab7 [2023-02-13T07:20:53.576Z] ---> 24805765886d [2023-02-13T07:20:53.576Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T07:20:53.576Z] ---> Running in d173991fbc53 [2023-02-13T07:20:53.836Z] Removing intermediate container d173991fbc53 [2023-02-13T07:20:53.836Z] ---> 5a23c2b4c889 [2023-02-13T07:20:53.836Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:20:53.836Z] ---> c03420af0447 [2023-02-13T07:20:53.836Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:20:53.836Z] ---> Running in 09a8d6c42ea2 [2023-02-13T07:21:20.505Z] Removing intermediate container 09a8d6c42ea2 [2023-02-13T07:21:20.505Z] ---> b47ac26d5715 [2023-02-13T07:21:20.505Z] Step 9/10 : COPY . . [2023-02-13T07:21:20.505Z] ---> 4d9f7cdd36fd [2023-02-13T07:21:20.505Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:21:20.505Z] ---> Running in 53ce09bc592d [2023-02-13T07:21:20.505Z] noop [2023-02-13T07:21:20.505Z] Removing intermediate container 53ce09bc592d [2023-02-13T07:21:20.505Z] ---> 57cdd658583e [2023-02-13T07:21:20.505Z] Successfully built 57cdd658583e [2023-02-13T07:21:20.505Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:20.817Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:21:20.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:21:20.884Z] prd-ubuntu20.04-docker-8c-8g-5498 does not seem to be running inside a container [2023-02-13T07:21:20.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-411 -v /w/workspace/xfoundry_device-modbus-go_PR-411:/w/workspace/xfoundry_device-modbus-go_PR-411:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-411@tmp:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:21:21.225Z] $ docker top 4226f2d08e4a43ceca068acd1521147b849a333bc201375ce616e68d85ab5061 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:21:21.562Z] + go version [2023-02-13T07:21:21.562Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T07:21:21.577Z] $ docker stop --time=1 4226f2d08e4a43ceca068acd1521147b849a333bc201375ce616e68d85ab5061 [2023-02-13T07:21:22.828Z] $ docker rm -f --volumes 4226f2d08e4a43ceca068acd1521147b849a333bc201375ce616e68d85ab5061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:23.226Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:21:23.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:21:23.301Z] prd-ubuntu20.04-docker-8c-8g-5498 does not seem to be running inside a container [2023-02-13T07:21:23.331Z] $ 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-411 -v /w/workspace/xfoundry_device-modbus-go_PR-411:/w/workspace/xfoundry_device-modbus-go_PR-411:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-411@tmp:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:21:23.670Z] $ docker top 615aa540454fb05f76b77e494c7a09405dddff21455a99d93a2faa4ccbcf38dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:21:24.014Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-411 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:21:24.306Z] + make test [2023-02-13T07:21:24.307Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:21:24.564Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T07:21:34.544Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-13T07:21:34.544Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.7% of statements [2023-02-13T07:21:41.126Z] 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." [2023-02-13T07:21:41.126Z] go vet ./... [2023-02-13T07:21:43.655Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:21:43.655Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:21:43.655Z] ./bin/test-attribution-txt.sh [2023-02-13T07:21:43.655Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:21:43.655Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T07:21:43.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:21:43.752Z] $ docker stop --time=1 615aa540454fb05f76b77e494c7a09405dddff21455a99d93a2faa4ccbcf38dc [2023-02-13T07:21:46.015Z] $ docker rm -f --volumes 615aa540454fb05f76b77e494c7a09405dddff21455a99d93a2faa4ccbcf38dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:21:46.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:21:46.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T07:21:46.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:21:47.238Z] + ls -al . [2023-02-13T07:21:47.238Z] total 184 [2023-02-13T07:21:47.238Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:21 . [2023-02-13T07:21:47.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 .. [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:20 .dockerignore [2023-02-13T07:21:47.238Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:21 .git [2023-02-13T07:21:47.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 .github [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:20 .gitignore [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:20 .golangci.yml [2023-02-13T07:21:47.238Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:20 .semver [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:20 Attribution.txt [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:20 CHANGELOG.md [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:20 Dockerfile [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:20 GOVERNANCE.md [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:20 Jenkinsfile [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:20 LICENSE [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:20 Makefile [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:20 OWNERS.md [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:20 README.md [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:20 VERSION [2023-02-13T07:21:47.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:20 bin [2023-02-13T07:21:47.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 cmd [2023-02-13T07:21:47.238Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:21 coverage.out [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:20 go.mod [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:20 go.sum [2023-02-13T07:21:47.238Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:20 internal [2023-02-13T07:21:47.238Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:20 simulator [2023-02-13T07:21:47.238Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:20 snap [2023-02-13T07:21:47.238Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:47.548Z] + 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=670617287e1254d64d2b0ccdd3e9d059c2f79f5c --label arch=amd64 --label version=0.0.0 . [2023-02-13T07:21:47.548Z] Sending build context to Docker daemon 6.405MB [2023-02-13T07:21:47.548Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:21:47.548Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-13T07:21:47.548Z] ---> 57cdd658583e [2023-02-13T07:21:47.548Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:21:47.807Z] ---> Running in 94554d421031 [2023-02-13T07:21:47.807Z] Removing intermediate container 94554d421031 [2023-02-13T07:21:47.807Z] ---> b1d8c1d70707 [2023-02-13T07:21:47.807Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:21:47.807Z] ---> Running in 14be23d33bd3 [2023-02-13T07:21:47.807Z] Removing intermediate container 14be23d33bd3 [2023-02-13T07:21:47.807Z] ---> 670fd95aa558 [2023-02-13T07:21:47.807Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:21:47.807Z] ---> Running in 7728a86475bc [2023-02-13T07:21:48.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:48.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:48.588Z] OK: 217 MiB in 59 packages [2023-02-13T07:21:48.847Z] Removing intermediate container 7728a86475bc [2023-02-13T07:21:48.847Z] ---> 9943fd034b73 [2023-02-13T07:21:48.847Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-13T07:21:48.847Z] ---> Running in 886575d1af38 [2023-02-13T07:21:48.847Z] Removing intermediate container 886575d1af38 [2023-02-13T07:21:48.847Z] ---> e63dc96f57ba [2023-02-13T07:21:48.847Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-13T07:21:49.106Z] ---> 161c4c695273 [2023-02-13T07:21:49.106Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:21:49.106Z] ---> Running in cb8db09b1c93 [2023-02-13T07:21:50.145Z] Removing intermediate container cb8db09b1c93 [2023-02-13T07:21:50.145Z] ---> a51611a8bcd3 [2023-02-13T07:21:50.145Z] Step 9/22 : COPY . . [2023-02-13T07:21:50.405Z] ---> fcba8106d43a [2023-02-13T07:21:50.405Z] Step 10/22 : RUN ${MAKE} [2023-02-13T07:21:50.405Z] ---> Running in 1f5949a68678 [2023-02-13T07:21:50.663Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-13T07:22:12.591Z] Removing intermediate container 1f5949a68678 [2023-02-13T07:22:12.591Z] ---> 51233663a28d [2023-02-13T07:22:12.591Z] Step 11/22 : FROM alpine:3.14 [2023-02-13T07:22:12.591Z] 3.14: Pulling from library/alpine [2023-02-13T07:22:12.591Z] d261077062b2: Pulling fs layer [2023-02-13T07:22:12.591Z] d261077062b2: Verifying Checksum [2023-02-13T07:22:12.591Z] d261077062b2: Download complete [2023-02-13T07:22:12.591Z] d261077062b2: Pull complete [2023-02-13T07:22:12.591Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-13T07:22:12.591Z] Status: Downloaded newer image for alpine:3.14 [2023-02-13T07:22:12.591Z] ---> 6dff1269bc79 [2023-02-13T07:22:12.591Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-13T07:22:12.591Z] ---> Running in c54dd4d30130 [2023-02-13T07:22:12.591Z] Removing intermediate container c54dd4d30130 [2023-02-13T07:22:12.591Z] ---> 60f73b4d952f [2023-02-13T07:22:12.591Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:22:12.591Z] ---> Running in 3386eecbd29f [2023-02-13T07:22:12.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:22:12.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:22:12.591Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:22:12.591Z] Executing busybox-1.33.1-r8.trigger [2023-02-13T07:22:12.591Z] OK: 6 MiB in 15 packages [2023-02-13T07:22:12.850Z] Removing intermediate container 3386eecbd29f [2023-02-13T07:22:12.850Z] ---> 14aceee788d6 [2023-02-13T07:22:12.850Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-13T07:22:13.466Z] ---> 8b796bc6cf57 [2023-02-13T07:22:13.466Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-13T07:22:13.466Z] ---> f104b9804d0f [2023-02-13T07:22:13.466Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-13T07:22:13.723Z] ---> 64a34fb53c57 [2023-02-13T07:22:13.723Z] Step 17/22 : EXPOSE 59901 [2023-02-13T07:22:13.723Z] ---> Running in fbda3b3d1c11 [2023-02-13T07:22:13.723Z] Removing intermediate container fbda3b3d1c11 [2023-02-13T07:22:13.723Z] ---> 9508b5b1a287 [2023-02-13T07:22:13.723Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-13T07:22:13.723Z] ---> Running in 7f1350472e5e [2023-02-13T07:22:13.981Z] Removing intermediate container 7f1350472e5e [2023-02-13T07:22:13.981Z] ---> 665bc84ca561 [2023-02-13T07:22:13.981Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T07:22:13.981Z] ---> Running in 399506ca6cd9 [2023-02-13T07:22:13.981Z] Removing intermediate container 399506ca6cd9 [2023-02-13T07:22:13.981Z] ---> 8872066c1ea6 [2023-02-13T07:22:13.981Z] Step 20/22 : LABEL arch=amd64 [2023-02-13T07:22:13.981Z] ---> Running in 49c494cdeb78 [2023-02-13T07:22:13.981Z] Removing intermediate container 49c494cdeb78 [2023-02-13T07:22:13.981Z] ---> b80bca35742c [2023-02-13T07:22:13.981Z] Step 21/22 : LABEL git_sha=670617287e1254d64d2b0ccdd3e9d059c2f79f5c [2023-02-13T07:22:13.981Z] ---> Running in cdd9fe94d1b1 [2023-02-13T07:22:14.240Z] Removing intermediate container cdd9fe94d1b1 [2023-02-13T07:22:14.240Z] ---> c4f8c0199711 [2023-02-13T07:22:14.240Z] Step 22/22 : LABEL version=0.0.0 [2023-02-13T07:22:14.240Z] ---> Running in 8c9c5b12dec6 [2023-02-13T07:22:14.240Z] Removing intermediate container 8c9c5b12dec6 [2023-02-13T07:22:14.240Z] ---> 348d713b09af [2023-02-13T07:22:14.240Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:22:14.240Z] Successfully built 348d713b09af [2023-02-13T07:22:14.240Z] 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 [2023-02-13T07:22:14.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:14.667Z] [2023-02-13T07:22:14.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:22:14.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:14.965Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T07:22:14.965Z] 5eb5b503b376: Pulling fs layer [2023-02-13T07:22:14.965Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T07:22:14.965Z] ec43610c2a17: Pulling fs layer [2023-02-13T07:22:14.965Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T07:22:14.965Z] 33b1e0a273af: Pulling fs layer [2023-02-13T07:22:14.965Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T07:22:14.965Z] 2f39f015ded8: Pulling fs layer [2023-02-13T07:22:14.965Z] 5d3b04190fa2: Waiting [2023-02-13T07:22:14.965Z] 3a2ae6a8a46f: Waiting [2023-02-13T07:22:14.965Z] 33b1e0a273af: Waiting [2023-02-13T07:22:14.965Z] 2f39f015ded8: Waiting [2023-02-13T07:22:14.965Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T07:22:14.965Z] 5c69ac0246d0: Download complete [2023-02-13T07:22:14.965Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T07:22:14.965Z] 3a2ae6a8a46f: Download complete [2023-02-13T07:22:15.226Z] 33b1e0a273af: Verifying Checksum [2023-02-13T07:22:15.226Z] 33b1e0a273af: Download complete [2023-02-13T07:22:15.226Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T07:22:15.226Z] 5d3b04190fa2: Download complete [2023-02-13T07:22:15.226Z] ec43610c2a17: Verifying Checksum [2023-02-13T07:22:15.226Z] ec43610c2a17: Download complete [2023-02-13T07:22:15.484Z] 5eb5b503b376: Verifying Checksum [2023-02-13T07:22:15.484Z] 5eb5b503b376: Download complete [2023-02-13T07:22:16.050Z] 2f39f015ded8: Verifying Checksum [2023-02-13T07:22:16.050Z] 2f39f015ded8: Download complete [2023-02-13T07:22:16.621Z] 5eb5b503b376: Pull complete [2023-02-13T07:22:16.880Z] 5c69ac0246d0: Pull complete [2023-02-13T07:22:17.447Z] ec43610c2a17: Pull complete [2023-02-13T07:22:17.447Z] 3a2ae6a8a46f: Pull complete [2023-02-13T07:22:17.704Z] 33b1e0a273af: Pull complete [2023-02-13T07:22:17.704Z] 5d3b04190fa2: Pull complete [2023-02-13T07:22:21.891Z] 2f39f015ded8: Pull complete [2023-02-13T07:22:21.891Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T07:22:21.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:21.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:22:21.972Z] prd-ubuntu20.04-docker-8c-8g-5498 does not seem to be running inside a container [2023-02-13T07:22:22.007Z] $ 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-411 -v /w/workspace/xfoundry_device-modbus-go_PR-411:/w/workspace/xfoundry_device-modbus-go_PR-411:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-411@tmp:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:22:25.078Z] $ docker top 0a471309b99867e9f7f74d2a9e94b864280d543b3f7be7d3acafb854fea19743 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:22:25.436Z] ---> job-cost.sh [2023-02-13T07:22:25.436Z] lf-activate-venv: SKIPPING [2023-02-13T07:22:25.436Z] INFO: No Stack... [2023-02-13T07:22:25.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:22:25.953Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:22:26.250Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-411/archives/cost.csv [2023-02-13T07:22:26.250Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:22:26.267Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [2023-02-13T07:22:26.275Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] did not exist. Created. [2023-02-13T07:22:26.275Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:22:26.573Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T07:22:26.601Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:22:26.607Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:22:26.630Z] $ docker stop --time=1 0a471309b99867e9f7f74d2a9e94b864280d543b3f7be7d3acafb854fea19743 [2023-02-13T07:22:27.797Z] $ docker rm -f --volumes 0a471309b99867e9f7f74d2a9e94b864280d543b3f7be7d3acafb854fea19743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T07:23:37.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5500 in /w/workspace/xfoundry_device-modbus-go_PR-411 [Pipeline] { [Pipeline] ws [2023-02-13T07:23:37.326Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-02-13T07:23:37.367Z] Selected Git installation does not exist. Using Default [2023-02-13T07:23:37.367Z] The recommended git tool is: NONE [2023-02-13T07:23:43.420Z] using credential edgex-jenkins-ssh [2023-02-13T07:23:43.436Z] Cloning the remote Git repository [2023-02-13T07:23:43.488Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T07:23:43.573Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-02-13T07:23:43.735Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T07:23:43.736Z] > git --version # timeout=10 [2023-02-13T07:23:43.759Z] > git --version # 'git version 2.25.1' [2023-02-13T07:23:43.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:23:43.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:23:45.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-13T07:23:46.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:23:47.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-13T07:23:47.108Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T07:23:47.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:23:47.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/411/head:refs/remotes/origin/PR-411 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T07:23:47.807Z] Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [2023-02-13T07:23:48.070Z] Merge succeeded, producing 670617287e1254d64d2b0ccdd3e9d059c2f79f5c [2023-02-13T07:23:48.071Z] Checking out Revision 670617287e1254d64d2b0ccdd3e9d059c2f79f5c (PR-411) [2023-02-13T07:23:47.831Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:23:47.851Z] > git checkout -f 670617287e1254d64d2b0ccdd3e9d059c2f79f5c # timeout=10 [2023-02-13T07:23:47.940Z] > git remote # timeout=10 [2023-02-13T07:23:47.964Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T07:23:47.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:23:48.010Z] > git merge 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 [2023-02-13T07:23:48.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T07:23:48.080Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:23:48.095Z] > git checkout -f 670617287e1254d64d2b0ccdd3e9d059c2f79f5c # timeout=10 [2023-02-13T07:23:51.631Z] Commit message: "build(deps)!: bump device-sdk-go and go-mod-core-contracts versions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:23:52.525Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T07:23:52.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:23:52.526Z] Dload Upload Total Spent Left Speed [2023-02-13T07:23:52.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-02-13T07:23:53.283Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T07:23:53.625Z] + sudo tee /etc/docker/daemon.new [2023-02-13T07:23:53.625Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T07:23:53.625Z] { [2023-02-13T07:23:53.625Z] "registry-mirrors": [ [2023-02-13T07:23:53.625Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T07:23:53.625Z] ], [2023-02-13T07:23:53.625Z] "bip": "10.250.0.254/24", [2023-02-13T07:23:53.625Z] "hosts": [ [2023-02-13T07:23:53.625Z] "tcp://0.0.0.0:5555", [2023-02-13T07:23:53.625Z] "unix:///var/run/docker.sock" [2023-02-13T07:23:53.625Z] ], [2023-02-13T07:23:53.625Z] "mtu": 1458, [2023-02-13T07:23:53.625Z] "selinux-enabled": true, [2023-02-13T07:23:53.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T07:23:53.625Z] } [Pipeline] sh [2023-02-13T07:23:53.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T07:23:54.315Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:24:12.626Z] provisioning config files... [2023-02-13T07:24:12.661Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config12329652431117376473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:24:13.030Z] ---> docker-login.sh [2023-02-13T07:24:13.030Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:24:13.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:24:13.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:24:13.622Z] Configure a credential helper to remove this warning. See [2023-02-13T07:24:13.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:24:13.622Z] [2023-02-13T07:24:13.622Z] Login Succeeded [2023-02-13T07:24:13.622Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:24:13.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:24:14.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:24:14.165Z] Configure a credential helper to remove this warning. See [2023-02-13T07:24:14.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:24:14.165Z] [2023-02-13T07:24:14.165Z] Login Succeeded [2023-02-13T07:24:14.165Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:24:14.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:24:14.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:24:14.437Z] Configure a credential helper to remove this warning. See [2023-02-13T07:24:14.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:24:14.437Z] [2023-02-13T07:24:14.437Z] Login Succeeded [2023-02-13T07:24:14.437Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:24:14.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:24:14.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:24:14.980Z] Configure a credential helper to remove this warning. See [2023-02-13T07:24:14.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:24:14.980Z] [2023-02-13T07:24:14.980Z] Login Succeeded [2023-02-13T07:24:14.980Z] docker.io [2023-02-13T07:24:15.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:24:15.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:24:15.519Z] Configure a credential helper to remove this warning. See [2023-02-13T07:24:15.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:24:15.519Z] [2023-02-13T07:24:15.519Z] Login Succeeded [2023-02-13T07:24:15.519Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:24:15.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:24:15.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:24:15.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:24:15.852Z] ========================================================= [2023-02-13T07:24:15.852Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T07:24:15.852Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:24:16.209Z] + 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 . [2023-02-13T07:24:16.483Z] Sending build context to Docker daemon 3.331MB [2023-02-13T07:24:16.483Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:24:16.483Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:24:16.755Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T07:24:16.755Z] 9b18e9b68314: Pulling fs layer [2023-02-13T07:24:16.755Z] 35d82f9e3411: Pulling fs layer [2023-02-13T07:24:16.755Z] e16973657156: Pulling fs layer [2023-02-13T07:24:16.755Z] fc693d55d65f: Pulling fs layer [2023-02-13T07:24:16.755Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T07:24:16.755Z] dda99020689f: Pulling fs layer [2023-02-13T07:24:16.755Z] db1c61fa0a46: Pulling fs layer [2023-02-13T07:24:16.755Z] 891c053d2c06: Pulling fs layer [2023-02-13T07:24:16.755Z] dda99020689f: Waiting [2023-02-13T07:24:16.755Z] db1c61fa0a46: Waiting [2023-02-13T07:24:16.755Z] 891c053d2c06: Waiting [2023-02-13T07:24:16.755Z] fc693d55d65f: Waiting [2023-02-13T07:24:16.755Z] 7e9fc2657dce: Waiting [2023-02-13T07:24:16.755Z] e16973657156: Download complete [2023-02-13T07:24:16.755Z] 35d82f9e3411: Download complete [2023-02-13T07:24:16.755Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T07:24:16.755Z] 7e9fc2657dce: Download complete [2023-02-13T07:24:16.755Z] dda99020689f: Verifying Checksum [2023-02-13T07:24:16.755Z] dda99020689f: Download complete [2023-02-13T07:24:16.755Z] 9b18e9b68314: Verifying Checksum [2023-02-13T07:24:16.755Z] 9b18e9b68314: Download complete [2023-02-13T07:24:18.212Z] 9b18e9b68314: Pull complete [2023-02-13T07:24:18.212Z] 891c053d2c06: Verifying Checksum [2023-02-13T07:24:18.212Z] 891c053d2c06: Download complete [2023-02-13T07:24:18.501Z] 35d82f9e3411: Pull complete [2023-02-13T07:24:18.781Z] e16973657156: Pull complete [2023-02-13T07:24:19.377Z] db1c61fa0a46: Verifying Checksum [2023-02-13T07:24:19.377Z] db1c61fa0a46: Download complete [2023-02-13T07:24:20.346Z] fc693d55d65f: Verifying Checksum [2023-02-13T07:24:20.346Z] fc693d55d65f: Download complete [2023-02-13T07:24:32.709Z] fc693d55d65f: Pull complete [2023-02-13T07:24:32.709Z] 7e9fc2657dce: Pull complete [2023-02-13T07:24:32.978Z] dda99020689f: Pull complete [2023-02-13T07:24:39.650Z] db1c61fa0a46: Pull complete [2023-02-13T07:24:41.612Z] 891c053d2c06: Pull complete [2023-02-13T07:24:41.612Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T07:24:41.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T07:24:41.612Z] ---> f96f9c87975a [2023-02-13T07:24:41.612Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:24:43.567Z] ---> Running in 35b1140efec8 [2023-02-13T07:24:43.837Z] Removing intermediate container 35b1140efec8 [2023-02-13T07:24:43.837Z] ---> 8693d139d8fb [2023-02-13T07:24:43.837Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:24:43.837Z] ---> Running in 35aacb9a5aeb [2023-02-13T07:24:44.425Z] Removing intermediate container 35aacb9a5aeb [2023-02-13T07:24:44.425Z] ---> 98637417ecbf [2023-02-13T07:24:44.425Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:24:44.425Z] ---> Running in eebbca12f1a0 [2023-02-13T07:24:45.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:24:45.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:24:46.813Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:24:46.813Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T07:24:46.813Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:24:47.083Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:24:47.083Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T07:24:47.083Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T07:24:47.083Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T07:24:47.083Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T07:24:47.083Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:24:47.083Z] OK: 228 MiB in 59 packages [2023-02-13T07:24:48.044Z] Removing intermediate container eebbca12f1a0 [2023-02-13T07:24:48.044Z] ---> 58ce96f95e6e [2023-02-13T07:24:48.044Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T07:24:48.313Z] ---> Running in a83f344cc617 [2023-02-13T07:24:48.595Z] Removing intermediate container a83f344cc617 [2023-02-13T07:24:48.595Z] ---> 6ed192ddf179 [2023-02-13T07:24:48.595Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:24:49.181Z] ---> 063124a1bc02 [2023-02-13T07:24:49.182Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:24:49.182Z] ---> Running in 00f843f0716f [2023-02-13T07:25:57.054Z] Removing intermediate container 00f843f0716f [2023-02-13T07:25:57.054Z] ---> cc95225dc311 [2023-02-13T07:25:57.054Z] Step 9/10 : COPY . . [2023-02-13T07:25:57.054Z] ---> 76efd970c953 [2023-02-13T07:25:57.054Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:25:57.054Z] ---> Running in 6a5d31c82111 [2023-02-13T07:25:57.054Z] noop [2023-02-13T07:25:57.054Z] Removing intermediate container 6a5d31c82111 [2023-02-13T07:25:57.054Z] ---> 5727986c1e03 [2023-02-13T07:25:57.054Z] Successfully built 5727986c1e03 [2023-02-13T07:25:57.054Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:25:57.401Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:25:57.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:25:57.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-5500 does not seem to be running inside a container [2023-02-13T07:25:57.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:25:58.893Z] $ docker top c63e7f6e3b3d7387be5b0e6914225f013462bfa2831d62e0cea2fe61808e028a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:25:59.751Z] + go version [2023-02-13T07:25:59.751Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T07:25:59.771Z] $ docker stop --time=1 c63e7f6e3b3d7387be5b0e6914225f013462bfa2831d62e0cea2fe61808e028a [2023-02-13T07:26:01.384Z] $ docker rm -f --volumes c63e7f6e3b3d7387be5b0e6914225f013462bfa2831d62e0cea2fe61808e028a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:26:01.900Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:26:01.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:26:02.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-5500 does not seem to be running inside a container [2023-02-13T07:26:02.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:26:03.380Z] $ docker top d0c4c4339a5130508e46edd04fc3e07b269b9d4f3cff2a14d01253195fdcfead -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:26:04.216Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:26:04.862Z] + make test [2023-02-13T07:26:04.862Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:26:06.808Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T07:27:43.475Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-13T07:27:43.475Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.7% of statements [2023-02-13T07:27:43.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T07:27:43.475Z] go vet ./... [2023-02-13T07:27:55.829Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:27:55.829Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:27:55.829Z] ./bin/test-attribution-txt.sh [2023-02-13T07:27:55.829Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:27:55.829Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T07:27:55.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:27:55.862Z] $ docker stop --time=1 d0c4c4339a5130508e46edd04fc3e07b269b9d4f3cff2a14d01253195fdcfead [2023-02-13T07:27:57.785Z] $ docker rm -f --volumes d0c4c4339a5130508e46edd04fc3e07b269b9d4f3cff2a14d01253195fdcfead [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:27:58.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:27:58.966Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T07:27:59.742Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:28:00.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:28:00.500Z] + ls -al . [2023-02-13T07:28:00.500Z] total 180 [2023-02-13T07:28:00.500Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:26 . [2023-02-13T07:28:00.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:23 .. [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:23 .dockerignore [2023-02-13T07:28:00.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:23 .git [2023-02-13T07:28:00.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:23 .github [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:23 .gitignore [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:23 .golangci.yml [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:23 Attribution.txt [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:23 CHANGELOG.md [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:23 Dockerfile [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:23 GOVERNANCE.md [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:23 Jenkinsfile [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:23 LICENSE [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:23 Makefile [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:23 OWNERS.md [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:23 README.md [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:20 VERSION [2023-02-13T07:28:00.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:23 bin [2023-02-13T07:28:00.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:23 cmd [2023-02-13T07:28:00.500Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:27 coverage.out [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:23 go.mod [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:23 go.sum [2023-02-13T07:28:00.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:23 internal [2023-02-13T07:28:00.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:23 simulator [2023-02-13T07:28:00.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:23 snap [2023-02-13T07:28:00.500Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:28:00.844Z] + 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=670617287e1254d64d2b0ccdd3e9d059c2f79f5c --label arch=arm64 --label version=0.0.0 . [2023-02-13T07:28:01.432Z] Sending build context to Docker daemon 3.355MB [2023-02-13T07:28:01.432Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:28:01.432Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-13T07:28:01.432Z] ---> 5727986c1e03 [2023-02-13T07:28:01.432Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:28:01.432Z] ---> Running in aa28eb7ef4c9 [2023-02-13T07:28:01.698Z] Removing intermediate container aa28eb7ef4c9 [2023-02-13T07:28:01.698Z] ---> 599d71847888 [2023-02-13T07:28:01.698Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:28:01.966Z] ---> Running in 08622237315d [2023-02-13T07:28:02.246Z] Removing intermediate container 08622237315d [2023-02-13T07:28:02.246Z] ---> 07312cdafad6 [2023-02-13T07:28:02.246Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:28:02.246Z] ---> Running in 19e459b1209f [2023-02-13T07:28:03.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:28:03.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:28:05.078Z] OK: 228 MiB in 59 packages [2023-02-13T07:28:06.044Z] Removing intermediate container 19e459b1209f [2023-02-13T07:28:06.044Z] ---> a811b6e492c9 [2023-02-13T07:28:06.044Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-13T07:28:06.044Z] ---> Running in 65d80bfe9e24 [2023-02-13T07:28:06.311Z] Removing intermediate container 65d80bfe9e24 [2023-02-13T07:28:06.312Z] ---> 48f52249af16 [2023-02-13T07:28:06.312Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-13T07:28:06.903Z] ---> 1f13a5dbc0f7 [2023-02-13T07:28:06.903Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:28:07.189Z] ---> Running in 65802a83949d [2023-02-13T07:28:09.784Z] Removing intermediate container 65802a83949d [2023-02-13T07:28:09.784Z] ---> 75a69f94595d [2023-02-13T07:28:09.784Z] Step 9/22 : COPY . . [2023-02-13T07:28:11.205Z] ---> 4f369c59c1b4 [2023-02-13T07:28:11.205Z] Step 10/22 : RUN ${MAKE} [2023-02-13T07:28:11.205Z] ---> Running in 6bb719e78c24 [2023-02-13T07:28:12.639Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-13T07:30:34.366Z] Removing intermediate container 6bb719e78c24 [2023-02-13T07:30:34.366Z] ---> 12360c32f222 [2023-02-13T07:30:34.366Z] Step 11/22 : FROM alpine:3.14 [2023-02-13T07:30:34.366Z] 3.14: Pulling from library/alpine [2023-02-13T07:30:34.366Z] 6f0e733d82e2: Pulling fs layer [2023-02-13T07:30:34.366Z] 6f0e733d82e2: Verifying Checksum [2023-02-13T07:30:34.366Z] 6f0e733d82e2: Download complete [2023-02-13T07:30:34.366Z] 6f0e733d82e2: Pull complete [2023-02-13T07:30:34.366Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-13T07:30:34.366Z] Status: Downloaded newer image for alpine:3.14 [2023-02-13T07:30:34.366Z] ---> bf97f6347a60 [2023-02-13T07:30:34.366Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-13T07:30:34.366Z] ---> Running in f0d66357f597 [2023-02-13T07:30:34.366Z] Removing intermediate container f0d66357f597 [2023-02-13T07:30:34.366Z] ---> 353008d72f01 [2023-02-13T07:30:34.366Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:30:34.366Z] ---> Running in 230b84449471 [2023-02-13T07:30:34.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:30:34.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:30:34.638Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:30:34.638Z] Executing busybox-1.33.1-r8.trigger [2023-02-13T07:30:34.638Z] OK: 6 MiB in 15 packages [2023-02-13T07:30:35.602Z] Removing intermediate container 230b84449471 [2023-02-13T07:30:35.602Z] ---> 28300a9b0867 [2023-02-13T07:30:35.602Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-13T07:30:37.019Z] ---> 9fceba8e22bb [2023-02-13T07:30:37.019Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-13T07:30:37.605Z] ---> c3045b963401 [2023-02-13T07:30:37.605Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-13T07:30:38.291Z] ---> e403ea2182c3 [2023-02-13T07:30:38.291Z] Step 17/22 : EXPOSE 59901 [2023-02-13T07:30:38.291Z] ---> Running in e56c29d38901 [2023-02-13T07:30:38.569Z] Removing intermediate container e56c29d38901 [2023-02-13T07:30:38.569Z] ---> 7f60fc304e4c [2023-02-13T07:30:38.569Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-13T07:30:38.569Z] ---> Running in e5e129a2a06a [2023-02-13T07:30:38.844Z] Removing intermediate container e5e129a2a06a [2023-02-13T07:30:38.844Z] ---> 83dece0ede5b [2023-02-13T07:30:38.844Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T07:30:39.122Z] ---> Running in 3c825a3c9dfd [2023-02-13T07:30:39.411Z] Removing intermediate container 3c825a3c9dfd [2023-02-13T07:30:39.411Z] ---> 63a41e098974 [2023-02-13T07:30:39.411Z] Step 20/22 : LABEL arch=arm64 [2023-02-13T07:30:39.411Z] ---> Running in c43f530a89a3 [2023-02-13T07:30:39.700Z] Removing intermediate container c43f530a89a3 [2023-02-13T07:30:39.700Z] ---> 52c84a2aab7d [2023-02-13T07:30:39.700Z] Step 21/22 : LABEL git_sha=670617287e1254d64d2b0ccdd3e9d059c2f79f5c [2023-02-13T07:30:39.974Z] ---> Running in b2d452261886 [2023-02-13T07:30:40.249Z] Removing intermediate container b2d452261886 [2023-02-13T07:30:40.249Z] ---> 0b5f0bdd905e [2023-02-13T07:30:40.249Z] Step 22/22 : LABEL version=0.0.0 [2023-02-13T07:30:40.249Z] ---> Running in 0f5e7a72df53 [2023-02-13T07:30:40.525Z] Removing intermediate container 0f5e7a72df53 [2023-02-13T07:30:40.525Z] ---> d38272fb3e2f [2023-02-13T07:30:40.525Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:30:40.525Z] Successfully built d38272fb3e2f [2023-02-13T07:30:40.525Z] 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 [2023-02-13T07:30:40.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:30:40.981Z] [2023-02-13T07:30:40.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:30:41.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:30:41.351Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T07:30:41.351Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T07:30:41.351Z] 04944245beec: Pulling fs layer [2023-02-13T07:30:41.351Z] 699f458cf7ca: Pulling fs layer [2023-02-13T07:30:41.351Z] 765212b225bb: Pulling fs layer [2023-02-13T07:30:41.351Z] f23df028b6ca: Pulling fs layer [2023-02-13T07:30:41.351Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T07:30:41.351Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T07:30:41.351Z] 765212b225bb: Waiting [2023-02-13T07:30:41.351Z] f23df028b6ca: Waiting [2023-02-13T07:30:41.351Z] d65c8cfc05b1: Waiting [2023-02-13T07:30:41.351Z] 2437ff75d9bd: Waiting [2023-02-13T07:30:41.621Z] 04944245beec: Verifying Checksum [2023-02-13T07:30:41.621Z] 04944245beec: Download complete [2023-02-13T07:30:41.621Z] 765212b225bb: Verifying Checksum [2023-02-13T07:30:41.621Z] 765212b225bb: Download complete [2023-02-13T07:30:41.621Z] f23df028b6ca: Verifying Checksum [2023-02-13T07:30:41.621Z] f23df028b6ca: Download complete [2023-02-13T07:30:41.621Z] d65c8cfc05b1: Download complete [2023-02-13T07:30:41.891Z] 699f458cf7ca: Download complete [2023-02-13T07:30:42.158Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T07:30:42.158Z] 8998bd30e6a1: Download complete [2023-02-13T07:30:44.746Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T07:30:44.746Z] 2437ff75d9bd: Download complete [2023-02-13T07:30:46.158Z] 8998bd30e6a1: Pull complete [2023-02-13T07:30:46.742Z] 04944245beec: Pull complete [2023-02-13T07:30:48.150Z] 699f458cf7ca: Pull complete [2023-02-13T07:30:48.150Z] 765212b225bb: Pull complete [2023-02-13T07:30:48.732Z] f23df028b6ca: Pull complete [2023-02-13T07:30:48.999Z] d65c8cfc05b1: Pull complete [2023-02-13T07:31:03.981Z] 2437ff75d9bd: Pull complete [2023-02-13T07:31:03.981Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T07:31:03.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:31:03.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:31:04.176Z] prd-ubuntu20.04-docker-arm64-4c-16g-5500 does not seem to be running inside a container [2023-02-13T07:31:04.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T07:31:07.017Z] $ docker top 1c194128d256b936e59a64402877fa051093a49e135650022ca18b72f5bcb72f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:07.867Z] ---> job-cost.sh [2023-02-13T07:31:07.867Z] lf-activate-venv: SKIPPING [2023-02-13T07:31:07.867Z] INFO: No Stack... [2023-02-13T07:31:08.449Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T07:31:09.032Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:31:09.678Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2023-02-13T07:31:09.678Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:31:09.745Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [2023-02-13T07:31:09.756Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] did not exist. Created. [2023-02-13T07:31:09.756Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:31:10.094Z] /w/workspace/device-modbus-go/2@tmp/durable-424e9898/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T07:31:10.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T07:31:10.724Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T07:31:10.775Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:31:10.784Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-411-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:31:10.798Z] $ docker stop --time=1 1c194128d256b936e59a64402877fa051093a49e135650022ca18b72f5bcb72f [2023-02-13T07:31:12.279Z] $ docker rm -f --volumes 1c194128d256b936e59a64402877fa051093a49e135650022ca18b72f5bcb72f [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 [2023-02-13T07:31:12.666Z] provisioning config files... [2023-02-13T07:31:12.675Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/config18014971763725607787tmp [Pipeline] { [Pipeline] sh [2023-02-13T07:31:12.970Z] + set +x [2023-02-13T07:31:12.970Z] + curl -s https://codecov.io/bash [2023-02-13T07:31:12.970Z] + bash -s -- [2023-02-13T07:31:12.970Z] [2023-02-13T07:31:12.970Z] _____ _ [2023-02-13T07:31:12.970Z] / ____| | | [2023-02-13T07:31:12.970Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T07:31:12.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T07:31:12.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T07:31:12.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T07:31:12.970Z] Bash-1.0.6 [2023-02-13T07:31:12.970Z] [2023-02-13T07:31:12.970Z] [2023-02-13T07:31:12.970Z] ==> git version 2.25.1 found [2023-02-13T07:31:12.970Z] ==> 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 [2023-02-13T07:31:12.970Z] Release-Date: 2020-01-08 [2023-02-13T07:31:12.970Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T07:31:12.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T07:31:12.970Z] ==> Jenkins CI detected. [2023-02-13T07:31:12.970Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-411 [2023-02-13T07:31:12.970Z] project root: . [2023-02-13T07:31:12.970Z] --> token set from env [2023-02-13T07:31:12.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T07:31:12.970Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T07:31:12.970Z] ==> Python coveragepy not found [2023-02-13T07:31:12.970Z] ==> Searching for coverage reports in: [2023-02-13T07:31:12.970Z] + . [2023-02-13T07:31:12.970Z] -> Found 1 reports [2023-02-13T07:31:12.970Z] ==> Detecting git/mercurial file structure [2023-02-13T07:31:12.970Z] ==> Reading reports [2023-02-13T07:31:12.970Z] + ./coverage.out bytes=23241 [2023-02-13T07:31:12.970Z] ==> Appending adjustments [2023-02-13T07:31:12.970Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T07:31:13.229Z] + Found adjustments [2023-02-13T07:31:13.229Z] ==> Gzipping contents [2023-02-13T07:31:13.229Z] 4.0K /tmp/codecov.UYGqo5.gz [2023-02-13T07:31:13.229Z] ==> Uploading reports [2023-02-13T07:31:13.229Z] url: https://codecov.io [2023-02-13T07:31:13.229Z] query: branch=PR-411&commit=670617287e1254d64d2b0ccdd3e9d059c2f79f5c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-411%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=411&job=&cmd_args= [2023-02-13T07:31:13.229Z] -> Pinging Codecov [2023-02-13T07:31:13.229Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-411&commit=670617287e1254d64d2b0ccdd3e9d059c2f79f5c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-411%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=411&job=&cmd_args= [2023-02-13T07:31:14.164Z] -> Uploading to [2023-02-13T07:31:14.164Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/55DBCA73C666E3227836607328DD7E49/670617287e1254d64d2b0ccdd3e9d059c2f79f5c/d165f1fa-79f2-460e-adf0-0c58414f1a0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T073113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aba482b69ee788150524fedb32e1449b0b0e811c93ca4afe8922586ec2ea6afb [2023-02-13T07:31:14.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:31:14.164Z] Dload Upload Total Spent Left Speed [2023-02-13T07:31:14.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 15754 --:--:-- --:--:-- --:--:-- 15754 [2023-02-13T07:31:14.422Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/670617287e1254d64d2b0ccdd3e9d059c2f79f5c [Pipeline] } [2023-02-13T07:31:14.429Z] 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 [2023-02-13T07:31:15.067Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-411/archives ] [2023-02-13T07:31:15.067Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-411/archives [2023-02-13T07:31:15.067Z] total 16 [2023-02-13T07:31:15.067Z] drwxr-xr-x 3 root root 4096 Feb 13 07:22 . [2023-02-13T07:31:15.067Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:22 .. [2023-02-13T07:31:15.067Z] drwxr-xr-x 2 root root 4096 Feb 13 07:22 cost [2023-02-13T07:31:15.067Z] -rw-r--r-- 1 root root 88 Feb 13 07:22 cost.csv [2023-02-13T07:31:15.067Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-411/archives [2023-02-13T07:31:15.067Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-411/archives [2023-02-13T07:31:15.067Z] total 16 [2023-02-13T07:31:15.067Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:22 . [2023-02-13T07:31:15.067Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:22 .. [2023-02-13T07:31:15.067Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:22 cost [2023-02-13T07:31:15.067Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 13 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:15.354Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:16.210Z] ---> package-listing.sh [2023-02-13T07:31:16.210Z] ++ facter osfamily [2023-02-13T07:31:16.210Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T07:31:16.469Z] + OS_FAMILY=debian [2023-02-13T07:31:16.469Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-411 [2023-02-13T07:31:16.469Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T07:31:16.469Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T07:31:16.469Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T07:31:16.469Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T07:31:16.469Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-411 ']' [2023-02-13T07:31:16.469Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T07:31:16.469Z] + case "${OS_FAMILY}" in [2023-02-13T07:31:16.469Z] + dpkg -l [2023-02-13T07:31:16.469Z] + grep '^ii' [2023-02-13T07:31:16.469Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T07:31:16.469Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T07:31:16.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T07:31:16.469Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-411 ']' [2023-02-13T07:31:16.469Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-411/archives/ [2023-02-13T07:31:16.469Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-411/archives/ [Pipeline] echo [2023-02-13T07:31:16.478Z] 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-411/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T07:31:16.756Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:31:17.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:31:17.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:31:17.385Z] prd-ubuntu20.04-docker-8c-8g-5498 does not seem to be running inside a container [2023-02-13T07:31:17.431Z] $ 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-411/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-411 -v /w/workspace/xfoundry_device-modbus-go_PR-411:/w/workspace/xfoundry_device-modbus-go_PR-411:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-411@tmp:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:31:17.669Z] $ docker top f3864114ea732428c84864a41f3ea9c61255beecb699f106b87d2ab9a04ff739 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:31:17.991Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T07:31:18.276Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T07:31:18.567Z] + ls /var/log/sa-host [2023-02-13T07:31:18.567Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:31:18.630Z] provisioning config files... [2023-02-13T07:31:18.638Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-411@tmp/config8767857871439891218tmp [Pipeline] { [Pipeline] echo [2023-02-13T07:31:18.649Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:18.932Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T07:31:18.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:19.251Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T07:31:19.258Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:19.539Z] ---> sudo-logs.sh [2023-02-13T07:31:19.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T07:31:19.565Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:19.845Z] ---> job-cost.sh [2023-02-13T07:31:19.845Z] lf-activate-venv: SKIPPING [2023-02-13T07:31:19.845Z] DEBUG: total: 0.2199999988079071 [2023-02-13T07:31:19.845Z] INFO: Retrieving Stack Cost... [2023-02-13T07:31:20.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:31:20.670Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T07:31:20.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:31:20.962Z] ---> logs-deploy.sh [2023-02-13T07:31:20.962Z] lf-activate-venv: SKIPPING [2023-02-13T07:31:20.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-411/2 [2023-02-13T07:31:20.962Z] INFO: archiving workspace using pattern(s): [2023-02-13T07:31:21.899Z] Archives upload complete. [2023-02-13T07:31:21.899Z] INFO: archiving logs to Nexus