Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c2e0f675d3f4f9009a8b9434d51a991f7e5265cd+892226c059eb5a0163287d1d4603e2b9857b6e84 (0aeca6ce8f72556892e23aa5046be056c55c6d0f) 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-ssh6704899480524414191.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5131478261315423895.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4578180745757690987.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4573806904942782518.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14204368655575979371.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1401’ Running on prd-ubuntu20.04-docker-8c-8g-1403 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-376 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Merge succeeded, producing fe4219747ba724270064f071fae3ee240629df5b Checking out Revision fe4219747ba724270064f071fae3ee240629df5b (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe4219747ba724270064f071fae3ee240629df5b # timeout=10 Commit message: "Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD" > git rev-list --no-walk c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T20:54:02.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T20:54:02.143Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T20:54:02.160Z] ========================================================= [2022-09-27T20:54:02.160Z] EdgeX Global Pipelines Version Info [2022-09-27T20:54:02.160Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:54:03.251Z] ------------------- [2022-09-27T20:54:03.251Z] stable info: [2022-09-27T20:54:03.251Z] ------------------- [2022-09-27T20:54:03.251Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T20:54:03.251Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:54:03.251Z] Message: update stable to v1.0.239 [2022-09-27T20:54:03.510Z] ------------------- [2022-09-27T20:54:03.510Z] experimental info: [2022-09-27T20:54:03.510Z] ------------------- [2022-09-27T20:54:03.510Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T20:54:03.510Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:54:03.510Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T20:54:03.681Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-27T20:54:03.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-27T20:54:03.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T20:54:03.708Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T20:54:03.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T20:54:03.726Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T20:54:03.737Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T20:54:03.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T20:54:03.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T20:54:03.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T20:54:03.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T20:54:03.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-27T20:54:03.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T20:54:03.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T20:54:03.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:54:03.824Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:54:03.832Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:54:03.840Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:54:03.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T20:54:03.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T20:54:03.877Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T20:54:03.886Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T20:54:03.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T20:54:03.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T20:54:03.913Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T20:54:03.921Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T20:54:03.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T20:54:03.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo [2022-09-27T20:54:03.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo [2022-09-27T20:54:03.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo [2022-09-27T20:54:03.978Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo [2022-09-27T20:54:03.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe42197 [Pipeline] echo [2022-09-27T20:54:04.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:54:04.039Z] provisioning config files... [2022-09-27T20:54:04.053Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config12137352470632404264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:54:04.352Z] ---> docker-login.sh [2022-09-27T20:54:04.353Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:54:04.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:04.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:04.613Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:04.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:04.613Z] [2022-09-27T20:54:04.613Z] Login Succeeded [2022-09-27T20:54:04.613Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:54:04.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:04.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:04.874Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:04.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:04.874Z] [2022-09-27T20:54:04.874Z] Login Succeeded [2022-09-27T20:54:04.874Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:54:04.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:04.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:04.874Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:04.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:04.874Z] [2022-09-27T20:54:04.874Z] Login Succeeded [2022-09-27T20:54:04.874Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:54:04.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:04.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:04.874Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:04.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:04.874Z] [2022-09-27T20:54:04.874Z] Login Succeeded [2022-09-27T20:54:04.874Z] docker.io [2022-09-27T20:54:05.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:05.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:05.394Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:05.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:05.394Z] [2022-09-27T20:54:05.394Z] Login Succeeded [2022-09-27T20:54:05.394Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:54:05.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T20:54:05.767Z] + git rev-list -1 --merges fe4219747ba724270064f071fae3ee240629df5b~1..fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo [2022-09-27T20:54:05.795Z] -----------> git rev-list -1 --merges fe4219747ba724270064f071fae3ee240629df5b~1..fe4219747ba724270064f071fae3ee240629df5b fe4219747ba724270064f071fae3ee240629df5b [2022-09-27T20:54:05.795Z] fe4219747ba724270064f071fae3ee240629df5b [false] [Pipeline] sh [2022-09-27T20:54:06.095Z] + git log --format=format:%s -1 fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo [2022-09-27T20:54:06.108Z] ========================================================= [2022-09-27T20:54:06.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T20:54:06.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T20:54:06.448Z] + git log --format=format:%s -1 fe4219747ba724270064f071fae3ee240629df5b [Pipeline] echo [2022-09-27T20:54:06.458Z] [semverPrep] GIT_COMMIT: fe4219747ba724270064f071fae3ee240629df5b, Commit Message: Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD [Pipeline] echo [2022-09-27T20:54:06.467Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T20:54:06.810Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T20:54:06.810Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T20:54:06.810Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T20:54:06.810Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T20:54:06.810Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T20:54:06.810Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T20:54:06.810Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:54:07.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:54:07.156Z] [2022-09-27T20:54:07.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:54:07.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:54:07.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T20:54:07.456Z] b85a868b505f: Pulling fs layer [2022-09-27T20:54:07.456Z] e2be974225ed: Pulling fs layer [2022-09-27T20:54:07.456Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T20:54:07.456Z] 988bab9f4d93: Pulling fs layer [2022-09-27T20:54:07.456Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T20:54:07.456Z] eaf3925da568: Pulling fs layer [2022-09-27T20:54:07.456Z] bab4dde63d76: Pulling fs layer [2022-09-27T20:54:07.456Z] bde34c3a00c8: Pulling fs layer [2022-09-27T20:54:07.456Z] b352a97aabf1: Pulling fs layer [2022-09-27T20:54:07.456Z] 4872d77fe225: Pulling fs layer [2022-09-27T20:54:07.456Z] 5851b861e8e6: Pulling fs layer [2022-09-27T20:54:07.456Z] 988bab9f4d93: Waiting [2022-09-27T20:54:07.456Z] 1469e6f7b9e6: Waiting [2022-09-27T20:54:07.456Z] eaf3925da568: Waiting [2022-09-27T20:54:07.456Z] bab4dde63d76: Waiting [2022-09-27T20:54:07.456Z] bde34c3a00c8: Waiting [2022-09-27T20:54:07.456Z] b352a97aabf1: Waiting [2022-09-27T20:54:07.456Z] 5851b861e8e6: Waiting [2022-09-27T20:54:07.456Z] 4872d77fe225: Waiting [2022-09-27T20:54:07.456Z] e2be974225ed: Download complete [2022-09-27T20:54:07.456Z] 988bab9f4d93: Verifying Checksum [2022-09-27T20:54:07.456Z] 988bab9f4d93: Download complete [2022-09-27T20:54:07.717Z] 1469e6f7b9e6: Download complete [2022-09-27T20:54:07.717Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T20:54:07.717Z] 339a4e72a1f5: Download complete [2022-09-27T20:54:07.717Z] eaf3925da568: Download complete [2022-09-27T20:54:07.717Z] bde34c3a00c8: Download complete [2022-09-27T20:54:07.717Z] b352a97aabf1: Verifying Checksum [2022-09-27T20:54:07.717Z] b352a97aabf1: Download complete [2022-09-27T20:54:07.717Z] 4872d77fe225: Download complete [2022-09-27T20:54:07.717Z] b85a868b505f: Verifying Checksum [2022-09-27T20:54:07.976Z] bab4dde63d76: Verifying Checksum [2022-09-27T20:54:07.976Z] bab4dde63d76: Download complete [2022-09-27T20:54:08.912Z] b85a868b505f: Pull complete [2022-09-27T20:54:08.912Z] e2be974225ed: Pull complete [2022-09-27T20:54:09.478Z] 339a4e72a1f5: Pull complete [2022-09-27T20:54:09.478Z] 988bab9f4d93: Pull complete [2022-09-27T20:54:09.737Z] 1469e6f7b9e6: Pull complete [2022-09-27T20:54:09.737Z] eaf3925da568: Pull complete [2022-09-27T20:54:11.678Z] bab4dde63d76: Pull complete [2022-09-27T20:54:11.678Z] bde34c3a00c8: Pull complete [2022-09-27T20:54:11.678Z] b352a97aabf1: Pull complete [2022-09-27T20:54:11.678Z] 4872d77fe225: Pull complete [2022-09-27T20:54:11.678Z] 5851b861e8e6: Pull complete [2022-09-27T20:54:11.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T20:54:11.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:54:11.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:54:11.758Z] prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container [2022-09-27T20:54:11.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T20:54:13.265Z] $ docker top 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 -eo pid,comm [2022-09-27T20:54:13.319Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T20:54:13.319Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T20:54:13.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:54:13.365Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:54:13.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:54:13.478Z] $ docker exec 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent [2022-09-27T20:54:13.591Z] SSH_AUTH_SOCK=/tmp/ssh-PhlWhutk9jFY/agent.31 [2022-09-27T20:54:13.591Z] SSH_AGENT_PID=37 [2022-09-27T20:54:13.597Z] Running ssh-add (command line suppressed) [2022-09-27T20:54:13.687Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_6127797485626265368.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_6127797485626265368.key) [2022-09-27T20:54:13.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:54:13.994Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T20:54:14.004Z] $ docker exec --env ******** --env ******** 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent -k [2022-09-27T20:54:14.095Z] unset SSH_AUTH_SOCK; [2022-09-27T20:54:14.096Z] unset SSH_AGENT_PID; [2022-09-27T20:54:14.096Z] echo Agent pid 37 killed; [2022-09-27T20:54:14.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T20:54:14.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:54:14.133Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:54:14.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:54:14.235Z] $ docker exec 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent [2022-09-27T20:54:14.334Z] SSH_AUTH_SOCK=/tmp/ssh-7d8QfV21iBXD/agent.70 [2022-09-27T20:54:14.334Z] SSH_AGENT_PID=76 [2022-09-27T20:54:14.338Z] Running ssh-add (command line suppressed) [2022-09-27T20:54:14.434Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_14649206932239203672.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_14649206932239203672.key) [2022-09-27T20:54:14.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:54:14.741Z] + git semver init [2022-09-27T20:54:14.999Z] 2022-09-27 20:54:14,898 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T20:54:14.999Z] 2022-09-27 20:54:14,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-27T20:54:14.999Z] 2022-09-27 20:54:14,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver [2022-09-27T20:54:14.999Z] 2022-09-27 20:54:14,899 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-376/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376, universal_newlines=False, shell=None, istream=None) [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,734 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,735 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,739 [execute] INFO git cat-file --batch-check [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,748 [execute] INFO git cat-file --batch [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:54:15.938Z] 2022-09-27 20:54:15,754 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 [2022-09-27T20:54:15.938Z] 0.0.0 [Pipeline] } [2022-09-27T20:54:15.944Z] $ docker exec --env ******** --env ******** 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 ssh-agent -k [2022-09-27T20:54:16.046Z] unset SSH_AUTH_SOCK; [2022-09-27T20:54:16.046Z] unset SSH_AGENT_PID; [2022-09-27T20:54:16.047Z] echo Agent pid 76 killed; [2022-09-27T20:54:16.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T20:54:16.369Z] + git semver [Pipeline] } [2022-09-27T20:54:16.637Z] $ docker stop --time=1 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 [2022-09-27T20:54:17.951Z] $ docker rm -f 044d100b8b66bf9621eaefbc3ec0cf4322c635bf83418b82533d6afed5d53146 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T20:54:18.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T20:54:18.455Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T20:54:18.457Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:54:18.546Z] provisioning config files... [2022-09-27T20:54:18.556Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config1513196464906006725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:54:18.851Z] ---> docker-login.sh [2022-09-27T20:54:18.851Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:54:18.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:18.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:18.851Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:18.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:18.851Z] [2022-09-27T20:54:18.851Z] Login Succeeded [2022-09-27T20:54:18.851Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:54:18.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:18.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:18.851Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:18.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:18.851Z] [2022-09-27T20:54:18.851Z] Login Succeeded [2022-09-27T20:54:18.851Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:54:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:19.110Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:19.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:19.110Z] [2022-09-27T20:54:19.110Z] Login Succeeded [2022-09-27T20:54:19.110Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:54:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:19.110Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:19.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:19.110Z] [2022-09-27T20:54:19.110Z] Login Succeeded [2022-09-27T20:54:19.110Z] docker.io [2022-09-27T20:54:19.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:54:19.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:54:19.627Z] Configure a credential helper to remove this warning. See [2022-09-27T20:54:19.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:54:19.627Z] [2022-09-27T20:54:19.627Z] Login Succeeded [2022-09-27T20:54:19.627Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:54:19.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T20:54:19.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:54:19.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:54:19.710Z] ========================================================= [2022-09-27T20:54:19.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T20:54:19.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:54:20.016Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T20:54:20.016Z] Sending build context to Docker daemon 6.161MB [2022-09-27T20:54:20.016Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:54:20.016Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T20:54:20.016Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T20:54:20.016Z] 2408cc74d12b: Pulling fs layer [2022-09-27T20:54:20.016Z] ea60b727a1ce: Pulling fs layer [2022-09-27T20:54:20.016Z] 30c4a7721957: Pulling fs layer [2022-09-27T20:54:20.016Z] 370296b7ddb6: Pulling fs layer [2022-09-27T20:54:20.016Z] 7c6cee850709: Pulling fs layer [2022-09-27T20:54:20.016Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T20:54:20.016Z] d94ebbe4e438: Pulling fs layer [2022-09-27T20:54:20.016Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T20:54:20.016Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T20:54:20.016Z] d94ebbe4e438: Waiting [2022-09-27T20:54:20.016Z] 370296b7ddb6: Waiting [2022-09-27T20:54:20.016Z] 7c6cee850709: Waiting [2022-09-27T20:54:20.016Z] bcfd1f05c69d: Waiting [2022-09-27T20:54:20.016Z] 39a5fcdaea64: Waiting [2022-09-27T20:54:20.016Z] 59ccb84bbe0f: Waiting [2022-09-27T20:54:20.016Z] 30c4a7721957: Verifying Checksum [2022-09-27T20:54:20.016Z] 30c4a7721957: Download complete [2022-09-27T20:54:20.016Z] ea60b727a1ce: Download complete [2022-09-27T20:54:20.016Z] 7c6cee850709: Verifying Checksum [2022-09-27T20:54:20.016Z] 7c6cee850709: Download complete [2022-09-27T20:54:20.016Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T20:54:20.016Z] 39a5fcdaea64: Download complete [2022-09-27T20:54:20.283Z] 2408cc74d12b: Verifying Checksum [2022-09-27T20:54:20.283Z] 2408cc74d12b: Download complete [2022-09-27T20:54:20.283Z] d94ebbe4e438: Download complete [2022-09-27T20:54:20.283Z] 2408cc74d12b: Pull complete [2022-09-27T20:54:20.283Z] ea60b727a1ce: Pull complete [2022-09-27T20:54:20.555Z] 30c4a7721957: Pull complete [2022-09-27T20:54:20.824Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T20:54:20.824Z] 59ccb84bbe0f: Download complete [2022-09-27T20:54:21.085Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T20:54:21.085Z] bcfd1f05c69d: Download complete [2022-09-27T20:54:21.344Z] 370296b7ddb6: Download complete [2022-09-27T20:54:24.627Z] 370296b7ddb6: Pull complete [2022-09-27T20:54:24.627Z] 7c6cee850709: Pull complete [2022-09-27T20:54:24.627Z] 39a5fcdaea64: Pull complete [2022-09-27T20:54:24.884Z] d94ebbe4e438: Pull complete [2022-09-27T20:54:26.780Z] bcfd1f05c69d: Pull complete [2022-09-27T20:54:27.345Z] 59ccb84bbe0f: Pull complete [2022-09-27T20:54:27.345Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T20:54:27.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T20:54:27.345Z] ---> a4fb48ad2a94 [2022-09-27T20:54:27.345Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:54:29.248Z] ---> Running in 46c49d4c51e6 [2022-09-27T20:54:29.248Z] Removing intermediate container 46c49d4c51e6 [2022-09-27T20:54:29.248Z] ---> 1116addc41c2 [2022-09-27T20:54:29.248Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:54:29.248Z] ---> Running in 9aafba24650f [2022-09-27T20:54:29.248Z] Removing intermediate container 9aafba24650f [2022-09-27T20:54:29.248Z] ---> 0714ebe33a40 [2022-09-27T20:54:29.248Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:54:29.506Z] ---> Running in 354c18e958bc [2022-09-27T20:54:30.073Z] Removing intermediate container 354c18e958bc [2022-09-27T20:54:30.073Z] ---> 854c841baba3 [2022-09-27T20:54:30.073Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T20:54:30.073Z] ---> Running in 5f6a2662d411 [2022-09-27T20:54:30.073Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:54:31.009Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:54:31.268Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T20:54:31.526Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-27T20:54:31.526Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T20:54:31.785Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T20:54:31.785Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-27T20:54:31.785Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-27T20:54:32.043Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-27T20:54:32.043Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-27T20:54:32.043Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T20:54:32.301Z] OK: 217 MiB in 59 packages [2022-09-27T20:54:32.558Z] Removing intermediate container 5f6a2662d411 [2022-09-27T20:54:32.558Z] ---> 0f82963378f6 [2022-09-27T20:54:32.558Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-27T20:54:32.558Z] ---> Running in c29188cea978 [2022-09-27T20:54:32.558Z] Removing intermediate container c29188cea978 [2022-09-27T20:54:32.558Z] ---> 4d9343000c5e [2022-09-27T20:54:32.558Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T20:54:32.816Z] ---> 5fa2a3ebf44a [2022-09-27T20:54:32.816Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:54:32.816Z] ---> Running in 8434e19f07a7 [2022-09-27T20:54:33.522Z] Still waiting to schedule task [2022-09-27T20:54:33.522Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1402’ [2022-09-27T20:54:54.821Z] Removing intermediate container 8434e19f07a7 [2022-09-27T20:54:54.821Z] ---> 1e5cbd775c03 [2022-09-27T20:54:54.821Z] Step 10/11 : COPY . . [2022-09-27T20:54:54.821Z] ---> c7eb8d043320 [2022-09-27T20:54:54.821Z] Step 11/11 : RUN ${MAKE} [2022-09-27T20:54:54.821Z] ---> Running in 3b004e0c005b [2022-09-27T20:54:54.821Z] noop [2022-09-27T20:54:54.821Z] Removing intermediate container 3b004e0c005b [2022-09-27T20:54:54.821Z] ---> 9420920fba2a [2022-09-27T20:54:54.821Z] Successfully built 9420920fba2a [2022-09-27T20:54:54.821Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:54:55.147Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:54:55.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:54:55.206Z] prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container [2022-09-27T20:54:55.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T20:54:55.556Z] $ docker top 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:54:55.888Z] + go version [2022-09-27T20:54:55.888Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T20:54:55.903Z] $ docker stop --time=1 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a [2022-09-27T20:54:57.178Z] $ docker rm -f 2628631d982a787710582594c48634eeae7d4b2233554373ab52fd449f4c6c5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:54:57.567Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:54:57.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:54:57.633Z] prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container [2022-09-27T20:54:57.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T20:54:57.995Z] $ docker top 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:54:58.322Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh [2022-09-27T20:54:58.615Z] + make test [2022-09-27T20:54:58.615Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T20:54:58.872Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-27T20:55:07.010Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-27T20:55:07.267Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.7% of statements [2022-09-27T20:55:13.828Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T20:55:13.828Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T20:55:17.106Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T20:55:17.106Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T20:55:17.106Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T20:55:17.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T20:55:17.135Z] $ docker stop --time=1 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a [2022-09-27T20:55:19.651Z] $ docker rm -f 9d63bfc8d28f919fd4c1f607005a559b34e46c2f70da5d0193159cd0504f158a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T20:55:20.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T20:55:20.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T20:55:20.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T20:55:20.805Z] + ls -al . [2022-09-27T20:55:20.805Z] total 188 [2022-09-27T20:55:20.805Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:54 . [2022-09-27T20:55:20.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:53 .. [2022-09-27T20:55:20.805Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:53 .dockerignore [2022-09-27T20:55:20.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:55 .git [2022-09-27T20:55:20.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 .github [2022-09-27T20:55:20.805Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 20:53 .gitignore [2022-09-27T20:55:20.805Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:53 .golangci.yml [2022-09-27T20:55:20.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:54 .semver [2022-09-27T20:55:20.805Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 20:53 Attribution.txt [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 20:53 CHANGELOG.md [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 20:53 Dockerfile [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:53 GOVERNANCE.md [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:53 Jenkinsfile [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:53 LICENSE [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 20:53 Makefile [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 20:53 OWNERS.md [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 20:53 README.md [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:54 VERSION [2022-09-27T20:55:20.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:53 bin [2022-09-27T20:55:20.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 cmd [2022-09-27T20:55:20.806Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 20:55 coverage.out [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 20:53 go.mod [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 20:53 go.sum [2022-09-27T20:55:20.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:53 internal [2022-09-27T20:55:20.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:53 simulator [2022-09-27T20:55:20.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:53 snap [2022-09-27T20:55:20.806Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:55:21.112Z] + 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=fe4219747ba724270064f071fae3ee240629df5b --label arch=amd64 --label version=0.0.0 . [2022-09-27T20:55:21.112Z] Sending build context to Docker daemon 6.185MB [2022-09-27T20:55:21.112Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:55:21.112Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-27T20:55:21.112Z] ---> 9420920fba2a [2022-09-27T20:55:21.112Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:55:21.371Z] ---> Running in 2fcc9670d0b1 [2022-09-27T20:55:21.371Z] Removing intermediate container 2fcc9670d0b1 [2022-09-27T20:55:21.371Z] ---> d5a312a91a38 [2022-09-27T20:55:21.371Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:55:21.371Z] ---> Running in 3ed04e690305 [2022-09-27T20:55:21.371Z] Removing intermediate container 3ed04e690305 [2022-09-27T20:55:21.371Z] ---> 10547af629f7 [2022-09-27T20:55:21.371Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:55:21.630Z] ---> Running in 4c84b42a7332 [2022-09-27T20:55:22.196Z] Removing intermediate container 4c84b42a7332 [2022-09-27T20:55:22.196Z] ---> 9553be96b788 [2022-09-27T20:55:22.196Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T20:55:22.196Z] ---> Running in 43cd7982ef44 [2022-09-27T20:55:22.455Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:55:23.392Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:55:23.650Z] OK: 217 MiB in 59 packages [2022-09-27T20:55:23.909Z] Removing intermediate container 43cd7982ef44 [2022-09-27T20:55:23.909Z] ---> 8de526b0d300 [2022-09-27T20:55:23.909Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-27T20:55:23.909Z] ---> Running in 1c71dc2b4575 [2022-09-27T20:55:23.909Z] Removing intermediate container 1c71dc2b4575 [2022-09-27T20:55:23.909Z] ---> 1d023836800b [2022-09-27T20:55:23.909Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-27T20:55:24.167Z] ---> 0c291c96dd82 [2022-09-27T20:55:24.167Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:55:24.167Z] ---> Running in 0418aceceaf0 [2022-09-27T20:55:24.733Z] Removing intermediate container 0418aceceaf0 [2022-09-27T20:55:24.733Z] ---> 46978c925f80 [2022-09-27T20:55:24.733Z] Step 10/24 : COPY . . [2022-09-27T20:55:25.329Z] ---> b0f15b98b587 [2022-09-27T20:55:25.329Z] Step 11/24 : RUN ${MAKE} [2022-09-27T20:55:25.329Z] ---> Running in 6cb4c27e6969 [2022-09-27T20:55:25.329Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-27T20:55:47.256Z] Removing intermediate container 6cb4c27e6969 [2022-09-27T20:55:47.256Z] ---> 56e9d88956c1 [2022-09-27T20:55:47.256Z] Step 12/24 : FROM alpine:3.14 [2022-09-27T20:55:47.256Z] 3.14: Pulling from library/alpine [2022-09-27T20:55:47.256Z] c7ed990a2339: Pulling fs layer [2022-09-27T20:55:47.256Z] c7ed990a2339: Verifying Checksum [2022-09-27T20:55:47.256Z] c7ed990a2339: Download complete [2022-09-27T20:55:47.256Z] c7ed990a2339: Pull complete [2022-09-27T20:55:47.256Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-27T20:55:47.256Z] Status: Downloaded newer image for alpine:3.14 [2022-09-27T20:55:47.256Z] ---> dd53f409bf0b [2022-09-27T20:55:47.256Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-27T20:55:47.256Z] ---> Running in 47d88e8425e0 [2022-09-27T20:55:47.256Z] Removing intermediate container 47d88e8425e0 [2022-09-27T20:55:47.256Z] ---> 69eea2b3b11f [2022-09-27T20:55:47.256Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:55:47.256Z] ---> Running in c174f9b0b471 [2022-09-27T20:55:47.256Z] Removing intermediate container c174f9b0b471 [2022-09-27T20:55:47.256Z] ---> 8231092c11eb [2022-09-27T20:55:47.256Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T20:55:47.256Z] ---> Running in da730d196274 [2022-09-27T20:55:47.256Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:55:47.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:55:47.773Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T20:55:48.031Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-27T20:55:48.031Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T20:55:48.031Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-27T20:55:48.290Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T20:55:48.290Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T20:55:48.556Z] Executing busybox-1.33.1-r8.trigger [2022-09-27T20:55:48.556Z] OK: 8 MiB in 20 packages [2022-09-27T20:55:48.814Z] Removing intermediate container da730d196274 [2022-09-27T20:55:48.814Z] ---> 6516aca34d5d [2022-09-27T20:55:48.814Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-27T20:55:49.751Z] ---> 62d95344dd1f [2022-09-27T20:55:49.751Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-27T20:55:49.751Z] ---> 4973f17ed591 [2022-09-27T20:55:49.751Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-27T20:55:49.751Z] ---> 3e5de7f39fa5 [2022-09-27T20:55:49.751Z] Step 19/24 : EXPOSE 59901 [2022-09-27T20:55:49.751Z] ---> Running in 79235054dc9f [2022-09-27T20:55:50.009Z] Removing intermediate container 79235054dc9f [2022-09-27T20:55:50.009Z] ---> 5f8ccbb54315 [2022-09-27T20:55:50.009Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-27T20:55:50.009Z] ---> Running in e25cf6538d8a [2022-09-27T20:55:50.009Z] Removing intermediate container e25cf6538d8a [2022-09-27T20:55:50.009Z] ---> caa9f5a4235c [2022-09-27T20:55:50.009Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T20:55:50.009Z] ---> Running in cbb9a59f8eaa [2022-09-27T20:55:50.009Z] Removing intermediate container cbb9a59f8eaa [2022-09-27T20:55:50.009Z] ---> eeb814af2eac [2022-09-27T20:55:50.009Z] Step 22/24 : LABEL arch=amd64 [2022-09-27T20:55:50.270Z] ---> Running in 98e33d048685 [2022-09-27T20:55:50.270Z] Removing intermediate container 98e33d048685 [2022-09-27T20:55:50.270Z] ---> 0728f20ad680 [2022-09-27T20:55:50.270Z] Step 23/24 : LABEL git_sha=fe4219747ba724270064f071fae3ee240629df5b [2022-09-27T20:55:50.270Z] ---> Running in 43ee974a6152 [2022-09-27T20:55:50.270Z] Removing intermediate container 43ee974a6152 [2022-09-27T20:55:50.270Z] ---> b983681d65b0 [2022-09-27T20:55:50.270Z] Step 24/24 : LABEL version=0.0.0 [2022-09-27T20:55:50.270Z] ---> Running in 1e4857f016cd [2022-09-27T20:55:50.270Z] Removing intermediate container 1e4857f016cd [2022-09-27T20:55:50.270Z] ---> 9401c3e12548 [2022-09-27T20:55:50.270Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T20:55:50.270Z] Successfully built 9401c3e12548 [2022-09-27T20:55:50.270Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:55:50.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T20:55:50.685Z] [2022-09-27T20:55:50.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:55:50.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T20:55:51.238Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T20:55:51.238Z] 5eb5b503b376: Pulling fs layer [2022-09-27T20:55:51.238Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T20:55:51.238Z] ec43610c2a17: Pulling fs layer [2022-09-27T20:55:51.238Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T20:55:51.238Z] 33b1e0a273af: Pulling fs layer [2022-09-27T20:55:51.238Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T20:55:51.238Z] 2f39f015ded8: Pulling fs layer [2022-09-27T20:55:51.238Z] 33b1e0a273af: Waiting [2022-09-27T20:55:51.238Z] 3a2ae6a8a46f: Waiting [2022-09-27T20:55:51.238Z] 2f39f015ded8: Waiting [2022-09-27T20:55:51.238Z] 5d3b04190fa2: Waiting [2022-09-27T20:55:51.238Z] 5c69ac0246d0: Download complete [2022-09-27T20:55:51.238Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T20:55:51.238Z] 3a2ae6a8a46f: Download complete [2022-09-27T20:55:51.238Z] ec43610c2a17: Verifying Checksum [2022-09-27T20:55:51.238Z] ec43610c2a17: Download complete [2022-09-27T20:55:51.238Z] 33b1e0a273af: Verifying Checksum [2022-09-27T20:55:51.238Z] 33b1e0a273af: Download complete [2022-09-27T20:55:51.238Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T20:55:51.238Z] 5d3b04190fa2: Download complete [2022-09-27T20:55:51.495Z] 5eb5b503b376: Verifying Checksum [2022-09-27T20:55:51.495Z] 5eb5b503b376: Download complete [2022-09-27T20:55:52.062Z] 2f39f015ded8: Verifying Checksum [2022-09-27T20:55:52.062Z] 2f39f015ded8: Download complete [2022-09-27T20:55:52.626Z] 5eb5b503b376: Pull complete [2022-09-27T20:55:52.883Z] 5c69ac0246d0: Pull complete [2022-09-27T20:55:53.141Z] ec43610c2a17: Pull complete [2022-09-27T20:55:53.400Z] 3a2ae6a8a46f: Pull complete [2022-09-27T20:55:53.658Z] 33b1e0a273af: Pull complete [2022-09-27T20:55:53.658Z] 5d3b04190fa2: Pull complete [2022-09-27T20:55:57.841Z] 2f39f015ded8: Pull complete [2022-09-27T20:55:57.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T20:55:57.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T20:55:57.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:55:57.914Z] prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container [2022-09-27T20:55:57.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T20:56:01.771Z] $ docker top 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:56:02.130Z] ---> job-cost.sh [2022-09-27T20:56:02.130Z] lf-activate-venv: SKIPPING [2022-09-27T20:56:02.130Z] INFO: No Stack... [2022-09-27T20:56:02.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T20:56:02.956Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T20:56:03.242Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv [2022-09-27T20:56:03.242Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T20:56:03.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [2022-09-27T20:56:03.263Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] did not exist. Created. [2022-09-27T20:56:03.263Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T20:56:03.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T20:56:03.587Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T20:56:03.594Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T20:56:03.615Z] $ docker stop --time=1 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a [2022-09-27T20:56:04.756Z] $ docker rm -f 11e1aa6d1f62607d41addbb36caaaeddea4b1cf71e1b92e7b312a8d7e73d443a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T20:57:40.765Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1404 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws [2022-09-27T20:57:40.775Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-09-27T20:57:40.820Z] Selected Git installation does not exist. Using Default [2022-09-27T20:57:40.820Z] The recommended git tool is: NONE [2022-09-27T20:57:46.344Z] using credential edgex-jenkins-ssh [2022-09-27T20:57:46.363Z] Cloning the remote Git repository [2022-09-27T20:57:46.408Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T20:57:46.486Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-09-27T20:57:46.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T20:57:46.642Z] > git --version # timeout=10 [2022-09-27T20:57:46.664Z] > git --version # 'git version 2.25.1' [2022-09-27T20:57:46.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T20:57:46.713Z] Verifying host key using known hosts file [2022-09-27T20:57:46.921Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T20:57:46.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T20:57:48.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-27T20:57:48.626Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T20:57:49.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-27T20:57:49.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-27T20:57:49.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T20:57:49.553Z] Verifying host key using known hosts file [2022-09-27T20:57:49.561Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T20:57:49.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T20:57:50.210Z] Merging remotes/origin/main commit 892226c059eb5a0163287d1d4603e2b9857b6e84 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [2022-09-27T20:57:50.453Z] Merge succeeded, producing 09bbd8ba7b43f874768d2cf774a82782b9676b62 [2022-09-27T20:57:50.453Z] Checking out Revision 09bbd8ba7b43f874768d2cf774a82782b9676b62 (PR-376) [2022-09-27T20:57:50.227Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T20:57:50.243Z] > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [2022-09-27T20:57:50.326Z] > git remote # timeout=10 [2022-09-27T20:57:50.343Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T20:57:50.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T20:57:50.367Z] Verifying host key using known hosts file [2022-09-27T20:57:50.371Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T20:57:50.381Z] > git merge 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 [2022-09-27T20:57:50.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T20:57:50.458Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T20:57:50.474Z] > git checkout -f 09bbd8ba7b43f874768d2cf774a82782b9676b62 # timeout=10 [2022-09-27T20:57:54.014Z] Commit message: "Merge commit '892226c059eb5a0163287d1d4603e2b9857b6e84' into HEAD" [2022-09-27T20:57:54.020Z] > git rev-list --no-walk c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T20:57:54.923Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T20:57:54.923Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T20:57:54.923Z] Dload Upload Total Spent Left Speed [2022-09-27T20:57:54.923Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-09-27T20:57:55.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T20:57:55.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T20:57:55.954Z] + sudo tee /etc/docker/daemon.new [2022-09-27T20:57:55.954Z] { [2022-09-27T20:57:55.954Z] "registry-mirrors": [ [2022-09-27T20:57:55.954Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T20:57:55.954Z] ], [2022-09-27T20:57:55.954Z] "bip": "10.250.0.254/24", [2022-09-27T20:57:55.954Z] "hosts": [ [2022-09-27T20:57:55.954Z] "tcp://0.0.0.0:5555", [2022-09-27T20:57:55.954Z] "unix:///var/run/docker.sock" [2022-09-27T20:57:55.954Z] ], [2022-09-27T20:57:55.954Z] "mtu": 1458, [2022-09-27T20:57:55.954Z] "selinux-enabled": true, [2022-09-27T20:57:55.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T20:57:55.954Z] } [Pipeline] sh [2022-09-27T20:57:56.289Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T20:57:56.614Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:58:14.859Z] provisioning config files... [2022-09-27T20:58:14.884Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config14073127963903750321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:15.223Z] ---> docker-login.sh [2022-09-27T20:58:15.223Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:58:15.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:15.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:15.759Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:15.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:15.759Z] [2022-09-27T20:58:15.759Z] Login Succeeded [2022-09-27T20:58:15.759Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:58:16.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:16.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:16.027Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:16.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:16.027Z] [2022-09-27T20:58:16.027Z] Login Succeeded [2022-09-27T20:58:16.027Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:58:16.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:16.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:16.563Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:16.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:16.563Z] [2022-09-27T20:58:16.563Z] Login Succeeded [2022-09-27T20:58:16.563Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:58:16.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:16.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:16.832Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:16.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:16.832Z] [2022-09-27T20:58:16.832Z] Login Succeeded [2022-09-27T20:58:16.832Z] docker.io [2022-09-27T20:58:17.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:17.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:17.367Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:17.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:17.367Z] [2022-09-27T20:58:17.367Z] Login Succeeded [2022-09-27T20:58:17.367Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:58:17.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T20:58:17.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:58:17.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:58:17.541Z] ========================================================= [2022-09-27T20:58:17.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T20:58:17.541Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:17.867Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T20:58:18.135Z] Sending build context to Docker daemon 3.209MB [2022-09-27T20:58:18.135Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:58:18.135Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T20:58:18.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T20:58:18.406Z] b3c136eddcbf: Pulling fs layer [2022-09-27T20:58:18.406Z] c0a3192eca97: Pulling fs layer [2022-09-27T20:58:18.406Z] a050256f5b6f: Pulling fs layer [2022-09-27T20:58:18.406Z] 656be50a0ddc: Pulling fs layer [2022-09-27T20:58:18.406Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T20:58:18.406Z] 46d945488cbd: Pulling fs layer [2022-09-27T20:58:18.406Z] 8a5474983e97: Pulling fs layer [2022-09-27T20:58:18.406Z] 329c88fbcd65: Pulling fs layer [2022-09-27T20:58:18.406Z] 656be50a0ddc: Waiting [2022-09-27T20:58:18.406Z] 2bbca73fdf42: Waiting [2022-09-27T20:58:18.406Z] 46d945488cbd: Waiting [2022-09-27T20:58:18.406Z] 8a5474983e97: Waiting [2022-09-27T20:58:18.406Z] 329c88fbcd65: Waiting [2022-09-27T20:58:18.406Z] a050256f5b6f: Verifying Checksum [2022-09-27T20:58:18.406Z] a050256f5b6f: Download complete [2022-09-27T20:58:18.406Z] c0a3192eca97: Verifying Checksum [2022-09-27T20:58:18.406Z] c0a3192eca97: Download complete [2022-09-27T20:58:18.406Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T20:58:18.406Z] 2bbca73fdf42: Download complete [2022-09-27T20:58:18.406Z] 46d945488cbd: Verifying Checksum [2022-09-27T20:58:18.406Z] 46d945488cbd: Download complete [2022-09-27T20:58:18.406Z] b3c136eddcbf: Verifying Checksum [2022-09-27T20:58:18.406Z] b3c136eddcbf: Download complete [2022-09-27T20:58:19.381Z] b3c136eddcbf: Pull complete [2022-09-27T20:58:19.381Z] 329c88fbcd65: Verifying Checksum [2022-09-27T20:58:19.381Z] 329c88fbcd65: Download complete [2022-09-27T20:58:19.655Z] c0a3192eca97: Pull complete [2022-09-27T20:58:20.240Z] a050256f5b6f: Pull complete [2022-09-27T20:58:20.509Z] 8a5474983e97: Verifying Checksum [2022-09-27T20:58:20.509Z] 8a5474983e97: Download complete [2022-09-27T20:58:21.095Z] 656be50a0ddc: Download complete [2022-09-27T20:58:33.404Z] 656be50a0ddc: Pull complete [2022-09-27T20:58:33.404Z] 2bbca73fdf42: Pull complete [2022-09-27T20:58:33.404Z] 46d945488cbd: Pull complete [2022-09-27T20:58:37.657Z] 8a5474983e97: Pull complete [2022-09-27T20:58:38.618Z] 329c88fbcd65: Pull complete [2022-09-27T20:58:38.618Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T20:58:38.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T20:58:38.618Z] ---> ff4287adb874 [2022-09-27T20:58:38.618Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:58:40.570Z] ---> Running in ee00d12a55e4 [2022-09-27T20:58:40.570Z] Removing intermediate container ee00d12a55e4 [2022-09-27T20:58:40.570Z] ---> 2f2056f5560c [2022-09-27T20:58:40.570Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:58:40.840Z] ---> Running in 55ad50e5e689 [2022-09-27T20:58:41.108Z] Removing intermediate container 55ad50e5e689 [2022-09-27T20:58:41.108Z] ---> 412a0de3d137 [2022-09-27T20:58:41.108Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:58:41.108Z] ---> Running in 6f2f807b29df [2022-09-27T20:58:43.065Z] Removing intermediate container 6f2f807b29df [2022-09-27T20:58:43.065Z] ---> f84e167c0c8e [2022-09-27T20:58:43.065Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T20:58:43.065Z] ---> Running in c9f175ddf41f [2022-09-27T20:58:44.027Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T20:58:44.990Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T20:58:45.577Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T20:58:45.845Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-27T20:58:45.845Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T20:58:46.115Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T20:58:46.115Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-27T20:58:46.383Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-27T20:58:46.383Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-27T20:58:46.383Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-27T20:58:46.652Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T20:58:46.652Z] OK: 228 MiB in 59 packages [2022-09-27T20:58:47.629Z] Removing intermediate container c9f175ddf41f [2022-09-27T20:58:47.629Z] ---> fa0a1c97d22b [2022-09-27T20:58:47.629Z] Step 7/11 : WORKDIR /device-modbus-go [2022-09-27T20:58:47.629Z] ---> Running in 89aa2d62d40b [2022-09-27T20:58:47.896Z] Removing intermediate container 89aa2d62d40b [2022-09-27T20:58:47.896Z] ---> ef01aae02dbe [2022-09-27T20:58:47.896Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T20:58:48.480Z] ---> 1cc22da16a07 [2022-09-27T20:58:48.480Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:58:48.480Z] ---> Running in 34b9bda7af06 [2022-09-27T20:59:44.884Z] Removing intermediate container 34b9bda7af06 [2022-09-27T20:59:44.884Z] ---> 9703976fa486 [2022-09-27T20:59:44.884Z] Step 10/11 : COPY . . [2022-09-27T20:59:44.884Z] ---> 789c401f308c [2022-09-27T20:59:44.884Z] Step 11/11 : RUN ${MAKE} [2022-09-27T20:59:44.884Z] ---> Running in 954bb566bcbb [2022-09-27T20:59:44.884Z] noop [2022-09-27T20:59:44.884Z] Removing intermediate container 954bb566bcbb [2022-09-27T20:59:44.884Z] ---> 95a0cc6cbb1c [2022-09-27T20:59:44.884Z] Successfully built 95a0cc6cbb1c [2022-09-27T20:59:44.884Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:45.233Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T20:59:45.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:45.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container [2022-09-27T20:59:45.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T20:59:46.821Z] $ docker top b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:47.667Z] + go version [2022-09-27T20:59:47.667Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T20:59:47.685Z] $ docker stop --time=1 b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d [2022-09-27T20:59:49.330Z] $ docker rm -f b7a643ba8b74cee287f6f6ec3418302b17b2b3c3fe7d7f4184d5b0156851733d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:49.876Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T20:59:49.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:50.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container [2022-09-27T20:59:50.098Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-09-27T20:59:51.214Z] $ docker top 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:52.030Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-27T20:59:52.362Z] + make test [2022-09-27T20:59:52.632Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-27T20:59:54.590Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-27T21:01:16.251Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-27T21:01:18.834Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.7% of statements [2022-09-27T21:01:19.420Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T21:01:19.420Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:01:41.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:01:41.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:01:41.489Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:01:41.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:01:41.523Z] $ docker stop --time=1 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 [2022-09-27T21:01:43.293Z] $ docker rm -f 5b35624808701fb5d15ca33a32f6b0641a0c88fb68cd1c0208b193e37ae79fa9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:01:44.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:01:44.239Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T21:01:44.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:01:45.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:01:45.357Z] + ls -al . [2022-09-27T21:01:45.357Z] total 184 [2022-09-27T21:01:45.357Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:59 . [2022-09-27T21:01:45.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:57 .. [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:57 .dockerignore [2022-09-27T21:01:45.357Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:57 .git [2022-09-27T21:01:45.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 .github [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 20:57 .gitignore [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:57 .golangci.yml [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 20:57 Attribution.txt [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 20:57 CHANGELOG.md [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 20:57 Dockerfile [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:57 GOVERNANCE.md [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:57 Jenkinsfile [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:57 LICENSE [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 20:57 Makefile [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 20:57 OWNERS.md [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 20:57 README.md [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:54 VERSION [2022-09-27T21:01:45.357Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:57 bin [2022-09-27T21:01:45.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 cmd [2022-09-27T21:01:45.357Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:01 coverage.out [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 20:57 go.mod [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 20:57 go.sum [2022-09-27T21:01:45.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:57 internal [2022-09-27T21:01:45.357Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:57 simulator [2022-09-27T21:01:45.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:57 snap [2022-09-27T21:01:45.357Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:01:45.756Z] + 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=09bbd8ba7b43f874768d2cf774a82782b9676b62 --label arch=arm64 --label version=0.0.0 . [2022-09-27T21:01:46.041Z] Sending build context to Docker daemon 3.233MB [2022-09-27T21:01:46.041Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:01:46.041Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-27T21:01:46.041Z] ---> 95a0cc6cbb1c [2022-09-27T21:01:46.041Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:01:46.315Z] ---> Running in 367853f9b30f [2022-09-27T21:01:46.590Z] Removing intermediate container 367853f9b30f [2022-09-27T21:01:46.590Z] ---> c2ae28b5c539 [2022-09-27T21:01:46.590Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:01:46.590Z] ---> Running in 5fc0fc2aa78e [2022-09-27T21:01:46.878Z] Removing intermediate container 5fc0fc2aa78e [2022-09-27T21:01:46.878Z] ---> 09feac049d7e [2022-09-27T21:01:46.878Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:01:46.878Z] ---> Running in be7f095e513a [2022-09-27T21:01:48.890Z] Removing intermediate container be7f095e513a [2022-09-27T21:01:48.890Z] ---> def4101c2382 [2022-09-27T21:01:48.890Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T21:01:48.890Z] ---> Running in 7f2dbad6d1d8 [2022-09-27T21:01:49.475Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:01:50.436Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:01:51.401Z] OK: 228 MiB in 59 packages [2022-09-27T21:01:52.826Z] Removing intermediate container 7f2dbad6d1d8 [2022-09-27T21:01:52.826Z] ---> 6c267a2e8a03 [2022-09-27T21:01:52.826Z] Step 7/24 : WORKDIR /device-modbus-go [2022-09-27T21:01:53.094Z] ---> Running in 0e98744bb110 [2022-09-27T21:01:53.678Z] Removing intermediate container 0e98744bb110 [2022-09-27T21:01:53.678Z] ---> 7d65dde97cbb [2022-09-27T21:01:53.678Z] Step 8/24 : COPY go.mod vendor* ./ [2022-09-27T21:01:53.946Z] ---> 81f81aabb7b6 [2022-09-27T21:01:53.946Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:01:53.946Z] ---> Running in 8ffadcda26f9 [2022-09-27T21:01:55.891Z] Removing intermediate container 8ffadcda26f9 [2022-09-27T21:01:55.891Z] ---> 1994d1a7db3f [2022-09-27T21:01:55.891Z] Step 10/24 : COPY . . [2022-09-27T21:01:56.851Z] ---> 6784bba6d2e2 [2022-09-27T21:01:56.851Z] Step 11/24 : RUN ${MAKE} [2022-09-27T21:01:57.118Z] ---> Running in f8c54fa6a949 [2022-09-27T21:01:58.077Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-27T21:04:34.852Z] Removing intermediate container f8c54fa6a949 [2022-09-27T21:04:34.852Z] ---> 9466cee757a6 [2022-09-27T21:04:34.852Z] Step 12/24 : FROM alpine:3.14 [2022-09-27T21:04:34.852Z] 3.14: Pulling from library/alpine [2022-09-27T21:04:34.852Z] 90cda3b7c325: Pulling fs layer [2022-09-27T21:04:34.852Z] 90cda3b7c325: Verifying Checksum [2022-09-27T21:04:34.852Z] 90cda3b7c325: Download complete [2022-09-27T21:04:34.852Z] 90cda3b7c325: Pull complete [2022-09-27T21:04:34.852Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-27T21:04:34.852Z] Status: Downloaded newer image for alpine:3.14 [2022-09-27T21:04:34.852Z] ---> 376ba31ae3da [2022-09-27T21:04:34.852Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-27T21:04:34.852Z] ---> Running in aa5bed922a56 [2022-09-27T21:04:34.852Z] Removing intermediate container aa5bed922a56 [2022-09-27T21:04:34.852Z] ---> c61b1f065437 [2022-09-27T21:04:34.852Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:04:34.852Z] ---> Running in 45a276fbebb0 [2022-09-27T21:04:34.852Z] Removing intermediate container 45a276fbebb0 [2022-09-27T21:04:34.852Z] ---> e905ab9827c7 [2022-09-27T21:04:34.852Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:04:34.852Z] ---> Running in 9ef2d3dcc4ed [2022-09-27T21:04:34.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:04:34.852Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:04:35.120Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:04:35.390Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-27T21:04:35.390Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:04:35.658Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-27T21:04:35.658Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:04:35.658Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:04:35.928Z] Executing busybox-1.33.1-r8.trigger [2022-09-27T21:04:35.928Z] OK: 8 MiB in 20 packages [2022-09-27T21:04:36.898Z] Removing intermediate container 9ef2d3dcc4ed [2022-09-27T21:04:36.898Z] ---> e9520e54a7d0 [2022-09-27T21:04:36.898Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-09-27T21:04:38.853Z] ---> ec81adfb7c6b [2022-09-27T21:04:38.853Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-27T21:04:39.438Z] ---> 04652474d0af [2022-09-27T21:04:39.438Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-27T21:04:40.026Z] ---> d549b1f63bf2 [2022-09-27T21:04:40.026Z] Step 19/24 : EXPOSE 59901 [2022-09-27T21:04:40.026Z] ---> Running in 976baaa949e0 [2022-09-27T21:04:40.297Z] Removing intermediate container 976baaa949e0 [2022-09-27T21:04:40.297Z] ---> b1d072f0e3ce [2022-09-27T21:04:40.297Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-09-27T21:04:40.297Z] ---> Running in 510c02305fb6 [2022-09-27T21:04:40.886Z] Removing intermediate container 510c02305fb6 [2022-09-27T21:04:40.886Z] ---> 1aa4a2709b42 [2022-09-27T21:04:40.886Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:04:40.886Z] ---> Running in a84356447d88 [2022-09-27T21:04:41.156Z] Removing intermediate container a84356447d88 [2022-09-27T21:04:41.156Z] ---> f32e19ccab61 [2022-09-27T21:04:41.156Z] Step 22/24 : LABEL arch=arm64 [2022-09-27T21:04:41.156Z] ---> Running in 47db3dc49f15 [2022-09-27T21:04:41.428Z] Removing intermediate container 47db3dc49f15 [2022-09-27T21:04:41.428Z] ---> 7b883da404ec [2022-09-27T21:04:41.428Z] Step 23/24 : LABEL git_sha=09bbd8ba7b43f874768d2cf774a82782b9676b62 [2022-09-27T21:04:41.699Z] ---> Running in 050f285c4f86 [2022-09-27T21:04:41.967Z] Removing intermediate container 050f285c4f86 [2022-09-27T21:04:41.967Z] ---> 86be9928ce85 [2022-09-27T21:04:41.967Z] Step 24/24 : LABEL version=0.0.0 [2022-09-27T21:04:41.967Z] ---> Running in 2ecceb24366c [2022-09-27T21:04:42.237Z] Removing intermediate container 2ecceb24366c [2022-09-27T21:04:42.237Z] ---> 2c2bddc850f9 [2022-09-27T21:04:42.237Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:04:42.237Z] Successfully built 2c2bddc850f9 [2022-09-27T21:04:42.504Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:04:42.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:04:42.940Z] [2022-09-27T21:04:42.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:04:43.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:04:43.272Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T21:04:43.272Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T21:04:43.272Z] 04944245beec: Pulling fs layer [2022-09-27T21:04:43.272Z] 699f458cf7ca: Pulling fs layer [2022-09-27T21:04:43.272Z] 765212b225bb: Pulling fs layer [2022-09-27T21:04:43.544Z] f23df028b6ca: Pulling fs layer [2022-09-27T21:04:43.544Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T21:04:43.544Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T21:04:43.544Z] 765212b225bb: Waiting [2022-09-27T21:04:43.544Z] f23df028b6ca: Waiting [2022-09-27T21:04:43.544Z] d65c8cfc05b1: Waiting [2022-09-27T21:04:43.544Z] 2437ff75d9bd: Waiting [2022-09-27T21:04:43.544Z] 04944245beec: Verifying Checksum [2022-09-27T21:04:43.544Z] 04944245beec: Download complete [2022-09-27T21:04:43.544Z] 765212b225bb: Verifying Checksum [2022-09-27T21:04:43.544Z] 765212b225bb: Download complete [2022-09-27T21:04:43.544Z] f23df028b6ca: Verifying Checksum [2022-09-27T21:04:43.544Z] f23df028b6ca: Download complete [2022-09-27T21:04:43.544Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T21:04:43.544Z] d65c8cfc05b1: Download complete [2022-09-27T21:04:43.815Z] 699f458cf7ca: Verifying Checksum [2022-09-27T21:04:43.815Z] 699f458cf7ca: Download complete [2022-09-27T21:04:44.082Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T21:04:44.082Z] 8998bd30e6a1: Download complete [2022-09-27T21:04:46.690Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T21:04:46.690Z] 2437ff75d9bd: Download complete [2022-09-27T21:04:48.645Z] 8998bd30e6a1: Pull complete [2022-09-27T21:04:48.917Z] 04944245beec: Pull complete [2022-09-27T21:04:50.333Z] 699f458cf7ca: Pull complete [2022-09-27T21:04:50.603Z] 765212b225bb: Pull complete [2022-09-27T21:04:51.567Z] f23df028b6ca: Pull complete [2022-09-27T21:04:51.567Z] d65c8cfc05b1: Pull complete [2022-09-27T21:05:06.578Z] 2437ff75d9bd: Pull complete [2022-09-27T21:05:06.578Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T21:05:06.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:05:06.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:05:06.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-1404 does not seem to be running inside a container [2022-09-27T21:05:06.823Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T21:05:09.613Z] $ docker top 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:10.490Z] ---> job-cost.sh [2022-09-27T21:05:10.490Z] lf-activate-venv: SKIPPING [2022-09-27T21:05:10.490Z] INFO: No Stack... [2022-09-27T21:05:11.077Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T21:05:12.041Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:05:12.682Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2022-09-27T21:05:12.682Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:05:12.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [2022-09-27T21:05:12.765Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] did not exist. Created. [2022-09-27T21:05:12.766Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:05:13.424Z] /w/workspace/device-modbus-go/2@tmp/durable-e53577cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T21:05:14.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T21:05:14.111Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T21:05:14.162Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:05:14.169Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:05:14.182Z] $ docker stop --time=1 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 [2022-09-27T21:05:15.743Z] $ docker rm -f 9ae987dbf00a1f6eff7f6e259c8d8cdd72ddd846c7ca093523a187eb58466f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T21:05:16.100Z] provisioning config files... [2022-09-27T21:05:16.107Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config11301526687096451934tmp [Pipeline] { [Pipeline] sh [2022-09-27T21:05:16.397Z] + set +x [2022-09-27T21:05:16.397Z] + bash -s -- [2022-09-27T21:05:16.397Z] + curl -s https://codecov.io/bash [2022-09-27T21:05:16.397Z] [2022-09-27T21:05:16.397Z] _____ _ [2022-09-27T21:05:16.397Z] / ____| | | [2022-09-27T21:05:16.397Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T21:05:16.397Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T21:05:16.397Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T21:05:16.397Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T21:05:16.397Z] Bash-1.0.6 [2022-09-27T21:05:16.397Z] [2022-09-27T21:05:16.397Z] [2022-09-27T21:05:16.397Z] ==> git version 2.25.1 found [2022-09-27T21:05:16.397Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T21:05:16.397Z] Release-Date: 2020-01-08 [2022-09-27T21:05:16.397Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T21:05:16.397Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T21:05:16.397Z] ==> Jenkins CI detected. [2022-09-27T21:05:16.397Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-27T21:05:16.397Z] project root: . [2022-09-27T21:05:16.397Z] --> token set from env [2022-09-27T21:05:16.397Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T21:05:16.397Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T21:05:16.397Z] ==> Python coveragepy not found [2022-09-27T21:05:16.397Z] ==> Searching for coverage reports in: [2022-09-27T21:05:16.397Z] + . [2022-09-27T21:05:16.397Z] -> Found 1 reports [2022-09-27T21:05:16.397Z] ==> Detecting git/mercurial file structure [2022-09-27T21:05:16.397Z] ==> Reading reports [2022-09-27T21:05:16.657Z] + ./coverage.out bytes=23241 [2022-09-27T21:05:16.657Z] ==> Appending adjustments [2022-09-27T21:05:16.657Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T21:05:16.657Z] + Found adjustments [2022-09-27T21:05:16.657Z] ==> Gzipping contents [2022-09-27T21:05:16.657Z] 4.0K /tmp/codecov.ZICaF9.gz [2022-09-27T21:05:16.657Z] ==> Uploading reports [2022-09-27T21:05:16.657Z] url: https://codecov.io [2022-09-27T21:05:16.657Z] query: branch=PR-376&commit=fe4219747ba724270064f071fae3ee240629df5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-27T21:05:16.657Z] -> Pinging Codecov [2022-09-27T21:05:16.657Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-376&commit=fe4219747ba724270064f071fae3ee240629df5b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= [2022-09-27T21:05:16.914Z] -> Uploading to [2022-09-27T21:05:16.915Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/55DBCA73C666E3227836607328DD7E49/fe4219747ba724270064f071fae3ee240629df5b/91e3bc05-ebd9-4cac-b280-a036ffb6aacb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210516Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a4a6816636e254c6205e76e327c8b53bfbb3c6376764571e3d06e148ed8aeae [2022-09-27T21:05:16.915Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:05:16.915Z] Dload Upload Total Spent Left Speed [2022-09-27T21:05:17.173Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 14784 --:--:-- --:--:-- --:--:-- 14784 [2022-09-27T21:05:17.174Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fe4219747ba724270064f071fae3ee240629df5b [Pipeline] } [2022-09-27T21:05:17.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T21:05:17.854Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] [2022-09-27T21:05:17.854Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:05:17.854Z] total 16 [2022-09-27T21:05:17.854Z] drwxr-xr-x 3 root root 4096 Sep 27 20:56 . [2022-09-27T21:05:17.854Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 20:56 .. [2022-09-27T21:05:17.854Z] drwxr-xr-x 2 root root 4096 Sep 27 20:56 cost [2022-09-27T21:05:17.854Z] -rw-r--r-- 1 root root 88 Sep 27 20:56 cost.csv [2022-09-27T21:05:17.854Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:05:17.854Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives [2022-09-27T21:05:17.854Z] total 16 [2022-09-27T21:05:17.854Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:56 . [2022-09-27T21:05:17.854Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 20:56 .. [2022-09-27T21:05:17.854Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 20:56 cost [2022-09-27T21:05:17.854Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 27 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:18.144Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:19.003Z] ---> package-listing.sh [2022-09-27T21:05:19.003Z] ++ facter osfamily [2022-09-27T21:05:19.003Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T21:05:19.262Z] + OS_FAMILY=debian [2022-09-27T21:05:19.262Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 [2022-09-27T21:05:19.262Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T21:05:19.262Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T21:05:19.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T21:05:19.262Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T21:05:19.262Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-27T21:05:19.262Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T21:05:19.262Z] + case "${OS_FAMILY}" in [2022-09-27T21:05:19.262Z] + dpkg -l [2022-09-27T21:05:19.262Z] + grep '^ii' [2022-09-27T21:05:19.262Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T21:05:19.262Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T21:05:19.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T21:05:19.262Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' [2022-09-27T21:05:19.262Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [2022-09-27T21:05:19.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [Pipeline] echo [2022-09-27T21:05:19.273Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T21:05:19.547Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:05:20.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:05:20.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:05:20.166Z] prd-ubuntu20.04-docker-8c-8g-1403 does not seem to be running inside a container [2022-09-27T21:05:20.210Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T21:05:20.392Z] $ docker top e64baa785b49f593f9295c59f9b35fc85f27708753c7507a5a5331e2b7796a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:05:20.719Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T21:05:21.004Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T21:05:21.290Z] + ls /var/log/sa-host [2022-09-27T21:05:21.291Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:05:21.352Z] provisioning config files... [2022-09-27T21:05:21.362Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config2858377073262233985tmp [Pipeline] { [Pipeline] echo [2022-09-27T21:05:21.377Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:21.657Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T21:05:21.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:21.991Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T21:05:21.998Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:22.277Z] ---> sudo-logs.sh [2022-09-27T21:05:22.277Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T21:05:22.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:22.589Z] ---> job-cost.sh [2022-09-27T21:05:22.589Z] lf-activate-venv: SKIPPING [2022-09-27T21:05:22.589Z] DEBUG: total: 0.2199999988079071 [2022-09-27T21:05:22.589Z] INFO: Retrieving Stack Cost... [2022-09-27T21:05:23.158Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:05:23.417Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T21:05:23.428Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:05:23.710Z] ---> logs-deploy.sh [2022-09-27T21:05:23.710Z] lf-activate-venv: SKIPPING [2022-09-27T21:05:23.711Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/2 [2022-09-27T21:05:23.711Z] INFO: archiving workspace using pattern(s): [2022-09-27T21:05:24.648Z] Archives upload complete. [2022-09-27T21:05:24.648Z] INFO: archiving logs to Nexus