Pull request #452 opened 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from d8efb5639a2b1160a579bc2232ace4dedeb4b665+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (0d45a1143704037eedc1be5d0c0e7fb8f072beac) 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-ssh2646989658645012672.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2996235221410287235.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7292803738499859826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8503792319746131966.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12037686959172045119.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6764635604876963140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-7104 in /w/workspace/xfoundry_device-modbus-go_PR-452 [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-452 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d8efb5639a2b1160a579bc2232ace4dedeb4b665 Merge succeeded, producing d8efb5639a2b1160a579bc2232ace4dedeb4b665 Checking out Revision d8efb5639a2b1160a579bc2232ace4dedeb4b665 (PR-452) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-07T08:16:49.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-07T08:16:49.911Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T08:16:50.013Z] ========================================================= [2023-04-07T08:16:50.013Z] EdgeX Global Pipelines Version Info [2023-04-07T08:16:50.013Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:16:50.772Z] ------------------- [2023-04-07T08:16:50.772Z] stable info: [2023-04-07T08:16:50.772Z] ------------------- [2023-04-07T08:16:50.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T08:16:50.772Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T08:16:50.772Z] Message: update stable to v1.0.245 [2023-04-07T08:16:51.345Z] ------------------- [2023-04-07T08:16:51.345Z] experimental info: [2023-04-07T08:16:51.346Z] ------------------- [2023-04-07T08:16:51.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T08:16:51.346Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T08:16:51.346Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T08:16:51.650Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-07T08:16:51.696Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-07T08:16:51.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T08:16:51.780Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T08:16:51.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T08:16:51.867Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T08:16:51.903Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T08:16:51.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-07T08:16:51.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T08:16:52.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T08:16:52.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T08:16:52.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-07T08:16:52.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T08:16:52.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T08:16:52.235Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T08:16:52.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T08:16:52.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T08:16:52.361Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T08:16:52.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T08:16:52.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T08:16:52.476Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-07T08:16:52.515Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-07T08:16:52.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T08:16:52.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T08:16:52.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T08:16:52.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T08:16:52.722Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T08:16:52.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo [2023-04-07T08:16:52.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo [2023-04-07T08:16:52.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo [2023-04-07T08:16:52.869Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo [2023-04-07T08:16:52.909Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8efb56 [Pipeline] echo [2023-04-07T08:16:52.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T08:16:53.059Z] provisioning config files... [2023-04-07T08:16:53.074Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config4600372949320811859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:16:53.409Z] ---> docker-login.sh [2023-04-07T08:16:53.409Z] nexus3.edgexfoundry.org:10001 [2023-04-07T08:16:53.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:16:53.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:16:53.670Z] Configure a credential helper to remove this warning. See [2023-04-07T08:16:53.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:16:53.670Z] [2023-04-07T08:16:53.670Z] Login Succeeded [2023-04-07T08:16:53.670Z] nexus3.edgexfoundry.org:10002 [2023-04-07T08:16:53.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:16:53.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:16:53.929Z] Configure a credential helper to remove this warning. See [2023-04-07T08:16:53.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:16:53.929Z] [2023-04-07T08:16:53.929Z] Login Succeeded [2023-04-07T08:16:53.929Z] nexus3.edgexfoundry.org:10003 [2023-04-07T08:16:53.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:16:53.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:16:53.929Z] Configure a credential helper to remove this warning. See [2023-04-07T08:16:53.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:16:53.929Z] [2023-04-07T08:16:53.929Z] Login Succeeded [2023-04-07T08:16:53.929Z] nexus3.edgexfoundry.org:10004 [2023-04-07T08:16:53.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:16:54.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:16:54.191Z] Configure a credential helper to remove this warning. See [2023-04-07T08:16:54.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:16:54.191Z] [2023-04-07T08:16:54.191Z] Login Succeeded [2023-04-07T08:16:54.191Z] docker.io [2023-04-07T08:16:54.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:16:54.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:16:54.450Z] Configure a credential helper to remove this warning. See [2023-04-07T08:16:54.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:16:54.450Z] [2023-04-07T08:16:54.450Z] Login Succeeded [2023-04-07T08:16:54.450Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T08:16:54.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T08:16:55.126Z] + git rev-list -1 --merges d8efb5639a2b1160a579bc2232ace4dedeb4b665~1..d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo [2023-04-07T08:16:55.164Z] -----------> git rev-list -1 --merges d8efb5639a2b1160a579bc2232ace4dedeb4b665~1..d8efb5639a2b1160a579bc2232ace4dedeb4b665 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [false] [Pipeline] sh [2023-04-07T08:16:55.474Z] + git log --format=format:%s -1 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo [2023-04-07T08:16:55.514Z] ========================================================= [2023-04-07T08:16:55.514Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T08:16:55.514Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T08:16:55.959Z] + git log --format=format:%s -1 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo [2023-04-07T08:16:55.994Z] [semverPrep] GIT_COMMIT: d8efb5639a2b1160a579bc2232ace4dedeb4b665, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo [2023-04-07T08:16:56.023Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T08:16:56.429Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T08:16:56.429Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T08:16:56.429Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T08:16:56.429Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T08:16:56.429Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T08:16:56.429Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T08:16:56.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:16:56.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T08:16:56.915Z] [2023-04-07T08:16:56.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:16:57.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T08:16:57.289Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T08:16:57.289Z] b85a868b505f: Pulling fs layer [2023-04-07T08:16:57.290Z] e2be974225ed: Pulling fs layer [2023-04-07T08:16:57.290Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T08:16:57.290Z] 988bab9f4d93: Pulling fs layer [2023-04-07T08:16:57.290Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T08:16:57.290Z] eaf3925da568: Pulling fs layer [2023-04-07T08:16:57.290Z] bab4dde63d76: Pulling fs layer [2023-04-07T08:16:57.290Z] bde34c3a00c8: Pulling fs layer [2023-04-07T08:16:57.290Z] b352a97aabf1: Pulling fs layer [2023-04-07T08:16:57.290Z] 4872d77fe225: Pulling fs layer [2023-04-07T08:16:57.290Z] 5851b861e8e6: Pulling fs layer [2023-04-07T08:16:57.290Z] bab4dde63d76: Waiting [2023-04-07T08:16:57.290Z] bde34c3a00c8: Waiting [2023-04-07T08:16:57.290Z] b352a97aabf1: Waiting [2023-04-07T08:16:57.290Z] 988bab9f4d93: Waiting [2023-04-07T08:16:57.290Z] 5851b861e8e6: Waiting [2023-04-07T08:16:57.290Z] 4872d77fe225: Waiting [2023-04-07T08:16:57.290Z] 1469e6f7b9e6: Waiting [2023-04-07T08:16:57.290Z] eaf3925da568: Waiting [2023-04-07T08:16:57.290Z] e2be974225ed: Download complete [2023-04-07T08:16:57.290Z] 988bab9f4d93: Verifying Checksum [2023-04-07T08:16:57.290Z] 988bab9f4d93: Download complete [2023-04-07T08:16:57.549Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T08:16:57.549Z] 1469e6f7b9e6: Download complete [2023-04-07T08:16:57.549Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T08:16:57.549Z] 339a4e72a1f5: Download complete [2023-04-07T08:16:57.549Z] eaf3925da568: Verifying Checksum [2023-04-07T08:16:57.549Z] eaf3925da568: Download complete [2023-04-07T08:16:57.549Z] bde34c3a00c8: Verifying Checksum [2023-04-07T08:16:57.549Z] bde34c3a00c8: Download complete [2023-04-07T08:16:57.549Z] b352a97aabf1: Download complete [2023-04-07T08:16:57.549Z] 4872d77fe225: Download complete [2023-04-07T08:16:57.549Z] 5851b861e8e6: Verifying Checksum [2023-04-07T08:16:57.549Z] 5851b861e8e6: Download complete [2023-04-07T08:16:57.549Z] b85a868b505f: Verifying Checksum [2023-04-07T08:16:57.549Z] b85a868b505f: Download complete [2023-04-07T08:16:57.808Z] bab4dde63d76: Verifying Checksum [2023-04-07T08:16:57.808Z] bab4dde63d76: Download complete [2023-04-07T08:16:58.746Z] b85a868b505f: Pull complete [2023-04-07T08:16:59.006Z] e2be974225ed: Pull complete [2023-04-07T08:16:59.263Z] 339a4e72a1f5: Pull complete [2023-04-07T08:16:59.523Z] 988bab9f4d93: Pull complete [2023-04-07T08:16:59.781Z] 1469e6f7b9e6: Pull complete [2023-04-07T08:16:59.781Z] eaf3925da568: Pull complete [2023-04-07T08:17:01.686Z] bab4dde63d76: Pull complete [2023-04-07T08:17:01.686Z] bde34c3a00c8: Pull complete [2023-04-07T08:17:01.686Z] b352a97aabf1: Pull complete [2023-04-07T08:17:01.686Z] 4872d77fe225: Pull complete [2023-04-07T08:17:01.686Z] 5851b861e8e6: Pull complete [2023-04-07T08:17:01.686Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T08:17:01.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T08:17:01.686Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:17:01.944Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-04-07T08:17:01.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-07T08:17:03.499Z] $ docker top 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 -eo pid,comm [2023-04-07T08:17:03.556Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-07T08:17:03.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T08:17:03.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T08:17:03.689Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T08:17:03.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T08:17:03.804Z] $ docker exec 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent [2023-04-07T08:17:03.922Z] SSH_AUTH_SOCK=/tmp/ssh-NSkz7hOqroqI/agent.33 [2023-04-07T08:17:03.922Z] SSH_AGENT_PID=39 [2023-04-07T08:17:03.929Z] Running ssh-add (command line suppressed) [2023-04-07T08:17:04.034Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7527095891389124435.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7527095891389124435.key) [2023-04-07T08:17:04.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T08:17:04.386Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T08:17:04.412Z] $ docker exec --env ******** --env ******** 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent -k [2023-04-07T08:17:04.514Z] unset SSH_AUTH_SOCK; [2023-04-07T08:17:04.514Z] unset SSH_AGENT_PID; [2023-04-07T08:17:04.514Z] echo Agent pid 39 killed; [2023-04-07T08:17:04.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T08:17:04.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T08:17:04.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T08:17:04.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T08:17:04.722Z] $ docker exec 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent [2023-04-07T08:17:04.839Z] SSH_AUTH_SOCK=/tmp/ssh-pmbOm4mHdUzm/agent.71 [2023-04-07T08:17:04.839Z] SSH_AGENT_PID=76 [2023-04-07T08:17:04.844Z] Running ssh-add (command line suppressed) [2023-04-07T08:17:04.942Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7049253801780693694.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7049253801780693694.key) [2023-04-07T08:17:04.968Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T08:17:05.301Z] + git semver init [2023-04-07T08:17:05.561Z] 2023-04-07 08:17:05,546 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T08:17:05.561Z] 2023-04-07 08:17:05,547 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver [2023-04-07T08:17:05.561Z] 2023-04-07 08:17:05,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver [2023-04-07T08:17:05.561Z] 2023-04-07 08:17:05,548 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-452/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452, universal_newlines=False, shell=None, istream=None) [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,314 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,315 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 with force:False [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,315 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,320 [execute] INFO git cat-file --batch-check [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,327 [execute] INFO git cat-file --batch [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T08:17:06.504Z] 2023-04-07 08:17:06,334 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 [2023-04-07T08:17:06.504Z] 0.0.0 [Pipeline] } [2023-04-07T08:17:06.529Z] $ docker exec --env ******** --env ******** 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent -k [2023-04-07T08:17:06.635Z] unset SSH_AUTH_SOCK; [2023-04-07T08:17:06.635Z] unset SSH_AGENT_PID; [2023-04-07T08:17:06.635Z] echo Agent pid 76 killed; [2023-04-07T08:17:06.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T08:17:07.082Z] + git semver [Pipeline] } [2023-04-07T08:17:07.364Z] $ docker stop --time=1 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 [2023-04-07T08:17:08.651Z] $ docker rm -f --volumes 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T08:17:09.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T08:17:09.320Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T08:17:09.340Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T08:17:09.957Z] provisioning config files... [2023-04-07T08:17:09.968Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config17671061102570772396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:17:10.321Z] ---> docker-login.sh [2023-04-07T08:17:10.321Z] nexus3.edgexfoundry.org:10001 [2023-04-07T08:17:10.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:17:10.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:17:10.321Z] Configure a credential helper to remove this warning. See [2023-04-07T08:17:10.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:17:10.321Z] [2023-04-07T08:17:10.321Z] Login Succeeded [2023-04-07T08:17:10.321Z] nexus3.edgexfoundry.org:10002 [2023-04-07T08:17:10.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:17:10.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:17:10.321Z] Configure a credential helper to remove this warning. See [2023-04-07T08:17:10.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:17:10.321Z] [2023-04-07T08:17:10.321Z] Login Succeeded [2023-04-07T08:17:10.321Z] nexus3.edgexfoundry.org:10003 [2023-04-07T08:17:10.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:17:10.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:17:10.582Z] Configure a credential helper to remove this warning. See [2023-04-07T08:17:10.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:17:10.582Z] [2023-04-07T08:17:10.582Z] Login Succeeded [2023-04-07T08:17:10.582Z] nexus3.edgexfoundry.org:10004 [2023-04-07T08:17:10.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:17:10.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:17:10.582Z] Configure a credential helper to remove this warning. See [2023-04-07T08:17:10.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:17:10.582Z] [2023-04-07T08:17:10.582Z] Login Succeeded [2023-04-07T08:17:10.582Z] docker.io [2023-04-07T08:17:10.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:17:10.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:17:10.843Z] Configure a credential helper to remove this warning. See [2023-04-07T08:17:10.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:17:10.843Z] [2023-04-07T08:17:10.843Z] Login Succeeded [2023-04-07T08:17:10.843Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T08:17:10.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T08:17:11.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T08:17:11.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T08:17:11.138Z] ========================================================= [2023-04-07T08:17:11.138Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T08:17:11.138Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:17:11.750Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-07T08:17:11.750Z] Sending build context to Docker daemon 6.449MB [2023-04-07T08:17:11.750Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T08:17:11.750Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T08:17:11.750Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T08:17:11.750Z] 63b65145d645: Pulling fs layer [2023-04-07T08:17:11.750Z] a2d21d5440eb: Pulling fs layer [2023-04-07T08:17:11.750Z] 935e6c44a52c: Pulling fs layer [2023-04-07T08:17:11.750Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T08:17:11.750Z] 30dea6a524f1: Pulling fs layer [2023-04-07T08:17:11.750Z] a2aff8979fd8: Pulling fs layer [2023-04-07T08:17:11.750Z] 6808be2612f2: Pulling fs layer [2023-04-07T08:17:11.750Z] f25807f1079a: Pulling fs layer [2023-04-07T08:17:11.750Z] 30dea6a524f1: Waiting [2023-04-07T08:17:11.750Z] a2aff8979fd8: Waiting [2023-04-07T08:17:11.750Z] 94cc34f8dd06: Waiting [2023-04-07T08:17:11.750Z] 6808be2612f2: Waiting [2023-04-07T08:17:11.750Z] a2d21d5440eb: Download complete [2023-04-07T08:17:11.750Z] 94cc34f8dd06: Verifying Checksum [2023-04-07T08:17:11.750Z] 94cc34f8dd06: Download complete [2023-04-07T08:17:12.013Z] 30dea6a524f1: Verifying Checksum [2023-04-07T08:17:12.013Z] 30dea6a524f1: Download complete [2023-04-07T08:17:12.013Z] 63b65145d645: Verifying Checksum [2023-04-07T08:17:12.013Z] 63b65145d645: Download complete [2023-04-07T08:17:12.013Z] a2aff8979fd8: Verifying Checksum [2023-04-07T08:17:12.013Z] a2aff8979fd8: Download complete [2023-04-07T08:17:12.013Z] 63b65145d645: Pull complete [2023-04-07T08:17:12.276Z] a2d21d5440eb: Pull complete [2023-04-07T08:17:12.276Z] f25807f1079a: Verifying Checksum [2023-04-07T08:17:12.276Z] f25807f1079a: Download complete [2023-04-07T08:17:12.535Z] 935e6c44a52c: Verifying Checksum [2023-04-07T08:17:12.535Z] 935e6c44a52c: Download complete [2023-04-07T08:17:12.794Z] 6808be2612f2: Verifying Checksum [2023-04-07T08:17:16.083Z] 935e6c44a52c: Pull complete [2023-04-07T08:17:16.083Z] 94cc34f8dd06: Pull complete [2023-04-07T08:17:16.083Z] 30dea6a524f1: Pull complete [2023-04-07T08:17:16.083Z] a2aff8979fd8: Pull complete [2023-04-07T08:17:18.613Z] 6808be2612f2: Pull complete [2023-04-07T08:17:18.873Z] f25807f1079a: Pull complete [2023-04-07T08:17:18.873Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T08:17:18.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T08:17:18.873Z] ---> 3b553350e43f [2023-04-07T08:17:18.873Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-07T08:17:20.779Z] ---> Running in 16aa1e7e5bbc [2023-04-07T08:17:20.779Z] Removing intermediate container 16aa1e7e5bbc [2023-04-07T08:17:20.779Z] ---> 777a428059f5 [2023-04-07T08:17:20.779Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T08:17:20.779Z] ---> Running in e97744f0de2f [2023-04-07T08:17:20.779Z] Removing intermediate container e97744f0de2f [2023-04-07T08:17:20.779Z] ---> aa861e54fee8 [2023-04-07T08:17:20.779Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-07T08:17:20.779Z] ---> Running in fc709e35dbb1 [2023-04-07T08:17:21.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T08:17:21.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T08:17:21.300Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-07T08:17:21.300Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-07T08:17:21.300Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-07T08:17:21.300Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T08:17:21.300Z] OK: 270 MiB in 61 packages [2023-04-07T08:17:21.868Z] Removing intermediate container fc709e35dbb1 [2023-04-07T08:17:21.869Z] ---> a290771e0e91 [2023-04-07T08:17:21.869Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-07T08:17:21.869Z] ---> Running in 748562ed292c [2023-04-07T08:17:21.869Z] Removing intermediate container 748562ed292c [2023-04-07T08:17:21.869Z] ---> 80e3cc03fb1e [2023-04-07T08:17:21.869Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T08:17:22.128Z] ---> a106eca1fd53 [2023-04-07T08:17:22.128Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T08:17:22.128Z] ---> Running in fbdfe0b0d8da [2023-04-07T08:17:24.767Z] Still waiting to schedule task [2023-04-07T08:17:24.767Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-07T08:17:48.695Z] Removing intermediate container fbdfe0b0d8da [2023-04-07T08:17:48.695Z] ---> 8415bf86936e [2023-04-07T08:17:48.695Z] Step 9/10 : COPY . . [2023-04-07T08:17:48.695Z] ---> ddc3085a7cde [2023-04-07T08:17:48.695Z] Step 10/10 : RUN ${MAKE} [2023-04-07T08:17:48.695Z] ---> Running in cf2f7cca3d0f [2023-04-07T08:17:48.695Z] noop [2023-04-07T08:17:48.695Z] Removing intermediate container cf2f7cca3d0f [2023-04-07T08:17:48.695Z] ---> 98bb11766dde [2023-04-07T08:17:48.695Z] Successfully built 98bb11766dde [2023-04-07T08:17:48.695Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:17:49.138Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T08:17:49.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:17:49.300Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-04-07T08:17:49.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-07T08:17:49.688Z] $ docker top 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T08:17:50.184Z] + go version [2023-04-07T08:17:50.184Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T08:17:50.208Z] $ docker stop --time=1 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 [2023-04-07T08:17:51.505Z] $ docker rm -f --volumes 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:17:52.215Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T08:17:52.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:17:52.364Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-04-07T08:17:52.391Z] $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-07T08:17:52.735Z] $ docker top d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T08:17:53.131Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh [2023-04-07T08:17:53.487Z] + make test [2023-04-07T08:17:53.487Z] go test ./... -coverprofile=coverage.out [2023-04-07T08:17:58.764Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-07T08:18:08.762Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-07T08:18:08.762Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements [2023-04-07T08:18:14.030Z] go vet ./... [2023-04-07T08:18:17.312Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T08:18:17.312Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T08:18:17.312Z] ./bin/test-attribution-txt.sh [2023-04-07T08:18:17.312Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T08:18:17.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T08:18:17.375Z] $ docker stop --time=1 d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 [2023-04-07T08:18:19.607Z] $ docker rm -f --volumes d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T08:18:20.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T08:18:20.187Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-07T08:18:20.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T08:18:21.219Z] + ls -al . [2023-04-07T08:18:21.219Z] total 180 [2023-04-07T08:18:21.219Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 08:17 . [2023-04-07T08:18:21.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:16 .. [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 08:16 .dockerignore [2023-04-07T08:18:21.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 08:17 .git [2023-04-07T08:18:21.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 .github [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 7 08:16 .gitignore [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 08:16 .golangci.yml [2023-04-07T08:18:21.219Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 08:17 .semver [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 7 08:16 Attribution.txt [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 7 08:16 CHANGELOG.md [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 7 08:16 Dockerfile [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 08:16 GOVERNANCE.md [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 08:16 Jenkinsfile [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 08:16 LICENSE [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 7 08:16 Makefile [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 08:16 OWNERS.md [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 7 08:16 README.md [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 08:17 VERSION [2023-04-07T08:18:21.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:16 bin [2023-04-07T08:18:21.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 cmd [2023-04-07T08:18:21.219Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 7 08:18 coverage.out [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 7 08:16 go.mod [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 7 08:16 go.sum [2023-04-07T08:18:21.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 internal [2023-04-07T08:18:21.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:16 simulator [2023-04-07T08:18:21.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:16 snap [2023-04-07T08:18:21.219Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 08:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:18:21.625Z] + 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=d8efb5639a2b1160a579bc2232ace4dedeb4b665 --label arch=amd64 --label version=0.0.0 . [2023-04-07T08:18:21.625Z] Sending build context to Docker daemon 6.474MB [2023-04-07T08:18:21.625Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T08:18:21.625Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-07T08:18:21.625Z] ---> 98bb11766dde [2023-04-07T08:18:21.625Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-07T08:18:21.625Z] ---> Running in fe6a87527bcd [2023-04-07T08:18:21.885Z] Removing intermediate container fe6a87527bcd [2023-04-07T08:18:21.885Z] ---> 7a48a8541131 [2023-04-07T08:18:21.885Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T08:18:21.885Z] ---> Running in 1aa4e1460cee [2023-04-07T08:18:21.885Z] Removing intermediate container 1aa4e1460cee [2023-04-07T08:18:21.885Z] ---> 81139ffc86b6 [2023-04-07T08:18:21.885Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-07T08:18:21.885Z] ---> Running in 68c1e61e9266 [2023-04-07T08:18:22.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T08:18:22.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T08:18:22.660Z] OK: 270 MiB in 61 packages [2023-04-07T08:18:22.918Z] Removing intermediate container 68c1e61e9266 [2023-04-07T08:18:22.918Z] ---> 1a0af6d48a63 [2023-04-07T08:18:22.918Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-07T08:18:23.176Z] ---> Running in 2711858f697e [2023-04-07T08:18:23.176Z] Removing intermediate container 2711858f697e [2023-04-07T08:18:23.176Z] ---> cb91fc6d3b74 [2023-04-07T08:18:23.176Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-07T08:18:23.176Z] ---> 1711eeaba89d [2023-04-07T08:18:23.176Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T08:18:23.435Z] ---> Running in 3f5fe4b99734 [2023-04-07T08:18:24.003Z] Removing intermediate container 3f5fe4b99734 [2023-04-07T08:18:24.003Z] ---> c6f4a8255ea0 [2023-04-07T08:18:24.003Z] Step 9/22 : COPY . . [2023-04-07T08:18:24.570Z] ---> 2bfa42919a0c [2023-04-07T08:18:24.570Z] Step 10/22 : RUN ${MAKE} [2023-04-07T08:18:24.570Z] ---> Running in 93b8fdb4abda [2023-04-07T08:18:24.827Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-07T08:18:42.907Z] Removing intermediate container 93b8fdb4abda [2023-04-07T08:18:42.907Z] ---> 692506c82dc3 [2023-04-07T08:18:42.907Z] Step 11/22 : FROM alpine:3.17 [2023-04-07T08:18:42.907Z] 3.17: Pulling from library/alpine [2023-04-07T08:18:42.907Z] f56be85fc22e: Pulling fs layer [2023-04-07T08:18:42.907Z] f56be85fc22e: Verifying Checksum [2023-04-07T08:18:42.907Z] f56be85fc22e: Download complete [2023-04-07T08:18:42.907Z] f56be85fc22e: Pull complete [2023-04-07T08:18:42.907Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T08:18:42.907Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T08:18:42.907Z] ---> 9ed4aefc74f6 [2023-04-07T08:18:42.907Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-07T08:18:42.907Z] ---> Running in 77592ff80696 [2023-04-07T08:18:42.907Z] Removing intermediate container 77592ff80696 [2023-04-07T08:18:42.907Z] ---> e9252e918945 [2023-04-07T08:18:42.907Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-07T08:18:42.907Z] ---> Running in 01c180f4e393 [2023-04-07T08:18:42.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T08:18:42.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T08:18:43.167Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T08:18:43.167Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T08:18:43.167Z] OK: 7 MiB in 16 packages [2023-04-07T08:18:43.427Z] Removing intermediate container 01c180f4e393 [2023-04-07T08:18:43.427Z] ---> 454ee2b12c87 [2023-04-07T08:18:43.427Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-07T08:18:43.996Z] ---> 12a0095620ce [2023-04-07T08:18:43.996Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-07T08:18:44.256Z] ---> 032c9fe8be0f [2023-04-07T08:18:44.256Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-07T08:18:44.256Z] ---> 4f6cad790a11 [2023-04-07T08:18:44.256Z] Step 17/22 : EXPOSE 59901 [2023-04-07T08:18:44.515Z] ---> Running in c207086923a8 [2023-04-07T08:18:44.515Z] Removing intermediate container c207086923a8 [2023-04-07T08:18:44.515Z] ---> c59161a9d0cd [2023-04-07T08:18:44.515Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-07T08:18:44.515Z] ---> Running in e5ca7c4d9b3d [2023-04-07T08:18:44.515Z] Removing intermediate container e5ca7c4d9b3d [2023-04-07T08:18:44.515Z] ---> fd9b3d77779f [2023-04-07T08:18:44.515Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-07T08:18:44.780Z] ---> Running in 0dfec13f728b [2023-04-07T08:18:44.780Z] Removing intermediate container 0dfec13f728b [2023-04-07T08:18:44.780Z] ---> aa2fd8258f7a [2023-04-07T08:18:44.780Z] Step 20/22 : LABEL arch=amd64 [2023-04-07T08:18:44.780Z] ---> Running in 38d414863f81 [2023-04-07T08:18:45.039Z] Removing intermediate container 38d414863f81 [2023-04-07T08:18:45.039Z] ---> 677a8d23cfc8 [2023-04-07T08:18:45.039Z] Step 21/22 : LABEL git_sha=d8efb5639a2b1160a579bc2232ace4dedeb4b665 [2023-04-07T08:18:45.039Z] ---> Running in 6018fa0cb60f [2023-04-07T08:18:45.039Z] Removing intermediate container 6018fa0cb60f [2023-04-07T08:18:45.039Z] ---> ccc77923bfde [2023-04-07T08:18:45.039Z] Step 22/22 : LABEL version=0.0.0 [2023-04-07T08:18:45.039Z] ---> Running in b827609954e6 [2023-04-07T08:18:45.300Z] Removing intermediate container b827609954e6 [2023-04-07T08:18:45.300Z] ---> 9f496aa8dcea [2023-04-07T08:18:45.300Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T08:18:45.300Z] Successfully built 9f496aa8dcea [2023-04-07T08:18:45.300Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:18:46.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T08:18:46.228Z] [2023-04-07T08:18:46.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:18:46.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T08:18:46.603Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T08:18:46.603Z] 5eb5b503b376: Pulling fs layer [2023-04-07T08:18:46.603Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T08:18:46.603Z] ec43610c2a17: Pulling fs layer [2023-04-07T08:18:46.603Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T08:18:46.603Z] 33b1e0a273af: Pulling fs layer [2023-04-07T08:18:46.603Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T08:18:46.603Z] 2f39f015ded8: Pulling fs layer [2023-04-07T08:18:46.603Z] 33b1e0a273af: Waiting [2023-04-07T08:18:46.603Z] 5d3b04190fa2: Waiting [2023-04-07T08:18:46.603Z] 2f39f015ded8: Waiting [2023-04-07T08:18:46.603Z] 3a2ae6a8a46f: Waiting [2023-04-07T08:18:46.603Z] 5c69ac0246d0: Download complete [2023-04-07T08:18:46.603Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-07T08:18:46.603Z] 3a2ae6a8a46f: Download complete [2023-04-07T08:18:46.603Z] 33b1e0a273af: Verifying Checksum [2023-04-07T08:18:46.603Z] 33b1e0a273af: Download complete [2023-04-07T08:18:46.603Z] 5d3b04190fa2: Verifying Checksum [2023-04-07T08:18:46.603Z] 5d3b04190fa2: Download complete [2023-04-07T08:18:46.603Z] ec43610c2a17: Verifying Checksum [2023-04-07T08:18:46.603Z] ec43610c2a17: Download complete [2023-04-07T08:18:46.864Z] 5eb5b503b376: Verifying Checksum [2023-04-07T08:18:46.864Z] 5eb5b503b376: Download complete [2023-04-07T08:18:47.430Z] 2f39f015ded8: Download complete [2023-04-07T08:18:48.012Z] 5eb5b503b376: Pull complete [2023-04-07T08:18:48.012Z] 5c69ac0246d0: Pull complete [2023-04-07T08:18:48.584Z] ec43610c2a17: Pull complete [2023-04-07T08:18:48.584Z] 3a2ae6a8a46f: Pull complete [2023-04-07T08:18:48.584Z] 33b1e0a273af: Pull complete [2023-04-07T08:18:48.844Z] 5d3b04190fa2: Pull complete [2023-04-07T08:18:53.087Z] 2f39f015ded8: Pull complete [2023-04-07T08:18:53.087Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T08:18:53.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T08:18:53.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:18:53.318Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-04-07T08:18:53.343Z] $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-07T08:18:55.183Z] $ docker top d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:18:55.651Z] ---> job-cost.sh [2023-04-07T08:18:55.651Z] lf-activate-venv: SKIPPING [2023-04-07T08:18:55.651Z] INFO: No Stack... [2023-04-07T08:18:55.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T08:18:56.475Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T08:18:56.805Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv [2023-04-07T08:18:56.805Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T08:18:56.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [2023-04-07T08:18:56.849Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] did not exist. Created. [2023-04-07T08:18:56.849Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T08:18:57.268Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T08:18:57.322Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T08:18:57.350Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T08:18:57.428Z] $ docker stop --time=1 d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb [2023-04-07T08:18:58.652Z] $ docker rm -f --volumes d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-07T08:18:59.218Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7113 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws [2023-04-07T08:18:59.270Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-07T08:18:59.346Z] Selected Git installation does not exist. Using Default [2023-04-07T08:18:59.346Z] The recommended git tool is: NONE [2023-04-07T08:19:05.134Z] using credential edgex-jenkins-ssh [2023-04-07T08:19:05.155Z] Cloning the remote Git repository [2023-04-07T08:19:05.236Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-07T08:19:05.345Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-07T08:19:05.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-07T08:19:05.506Z] > git --version # timeout=10 [2023-04-07T08:19:05.530Z] > git --version # 'git version 2.25.1' [2023-04-07T08:19:05.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T08:19:05.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T08:19:06.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-07T08:19:06.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T08:19:07.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-07T08:19:07.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-07T08:19:07.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T08:19:07.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T08:19:08.402Z] Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d8efb5639a2b1160a579bc2232ace4dedeb4b665 [2023-04-07T08:19:08.719Z] Merge succeeded, producing d8efb5639a2b1160a579bc2232ace4dedeb4b665 [2023-04-07T08:19:08.720Z] Checking out Revision d8efb5639a2b1160a579bc2232ace4dedeb4b665 (PR-452) [2023-04-07T08:19:08.421Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T08:19:08.513Z] > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 [2023-04-07T08:19:08.604Z] > git remote # timeout=10 [2023-04-07T08:19:08.627Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T08:19:08.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T08:19:08.675Z] > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 [2023-04-07T08:19:08.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T08:19:08.727Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T08:19:08.743Z] > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 [2023-04-07T08:19:12.245Z] Commit message: "feat!: Consume SDK interface changes" [2023-04-07T08:19:12.301Z] > git --version # timeout=10 [2023-04-07T08:19:12.315Z] > git --version # 'git version 2.25.1' [2023-04-07T08:19:12.334Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T08:19:13.508Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T08:19:13.508Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T08:19:13.508Z] Dload Upload Total Spent Left Speed [2023-04-07T08:19:13.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-04-07T08:19:14.226Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T08:19:14.587Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T08:19:14.587Z] + sudo tee /etc/docker/daemon.new [2023-04-07T08:19:14.587Z] { [2023-04-07T08:19:14.587Z] "registry-mirrors": [ [2023-04-07T08:19:14.587Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T08:19:14.587Z] ], [2023-04-07T08:19:14.587Z] "bip": "10.250.0.254/24", [2023-04-07T08:19:14.587Z] "hosts": [ [2023-04-07T08:19:14.587Z] "tcp://0.0.0.0:5555", [2023-04-07T08:19:14.587Z] "unix:///var/run/docker.sock" [2023-04-07T08:19:14.587Z] ], [2023-04-07T08:19:14.587Z] "mtu": 1458, [2023-04-07T08:19:14.587Z] "selinux-enabled": true, [2023-04-07T08:19:14.587Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T08:19:14.587Z] } [Pipeline] sh [2023-04-07T08:19:14.943Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T08:19:15.290Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T08:19:33.617Z] provisioning config files... [2023-04-07T08:19:33.645Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1240622272912732272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:19:34.034Z] ---> docker-login.sh [2023-04-07T08:19:34.034Z] nexus3.edgexfoundry.org:10001 [2023-04-07T08:19:34.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:19:34.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:19:34.581Z] Configure a credential helper to remove this warning. See [2023-04-07T08:19:34.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:19:34.581Z] [2023-04-07T08:19:34.581Z] Login Succeeded [2023-04-07T08:19:34.581Z] nexus3.edgexfoundry.org:10002 [2023-04-07T08:19:34.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:19:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:19:35.123Z] Configure a credential helper to remove this warning. See [2023-04-07T08:19:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:19:35.123Z] [2023-04-07T08:19:35.123Z] Login Succeeded [2023-04-07T08:19:35.123Z] nexus3.edgexfoundry.org:10003 [2023-04-07T08:19:35.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:19:35.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:19:35.394Z] Configure a credential helper to remove this warning. See [2023-04-07T08:19:35.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:19:35.394Z] [2023-04-07T08:19:35.394Z] Login Succeeded [2023-04-07T08:19:35.394Z] nexus3.edgexfoundry.org:10004 [2023-04-07T08:19:35.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:19:35.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:19:35.667Z] Configure a credential helper to remove this warning. See [2023-04-07T08:19:35.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:19:35.667Z] [2023-04-07T08:19:35.667Z] Login Succeeded [2023-04-07T08:19:35.667Z] docker.io [2023-04-07T08:19:35.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T08:19:36.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T08:19:36.206Z] Configure a credential helper to remove this warning. See [2023-04-07T08:19:36.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T08:19:36.206Z] [2023-04-07T08:19:36.206Z] Login Succeeded [2023-04-07T08:19:36.206Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T08:19:36.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T08:19:36.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T08:19:36.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T08:19:36.695Z] ========================================================= [2023-04-07T08:19:36.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T08:19:36.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:19:37.188Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-07T08:19:37.456Z] Sending build context to Docker daemon 3.383MB [2023-04-07T08:19:37.456Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T08:19:37.456Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-07T08:19:37.726Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T08:19:37.726Z] af6eaf76a39c: Pulling fs layer [2023-04-07T08:19:37.726Z] 55522c791124: Pulling fs layer [2023-04-07T08:19:37.726Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T08:19:37.726Z] 169dfbe0d373: Pulling fs layer [2023-04-07T08:19:37.726Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T08:19:37.726Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T08:19:37.726Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T08:19:37.726Z] 169dfbe0d373: Waiting [2023-04-07T08:19:37.726Z] e1ff8fa3b103: Waiting [2023-04-07T08:19:37.726Z] 52ebb69f0ebf: Waiting [2023-04-07T08:19:37.726Z] 5abe8eddf0d5: Waiting [2023-04-07T08:19:37.726Z] 55522c791124: Verifying Checksum [2023-04-07T08:19:37.726Z] 55522c791124: Download complete [2023-04-07T08:19:37.726Z] 169dfbe0d373: Verifying Checksum [2023-04-07T08:19:37.726Z] 169dfbe0d373: Download complete [2023-04-07T08:19:37.726Z] e1ff8fa3b103: Verifying Checksum [2023-04-07T08:19:37.726Z] e1ff8fa3b103: Download complete [2023-04-07T08:19:37.726Z] af6eaf76a39c: Verifying Checksum [2023-04-07T08:19:37.726Z] af6eaf76a39c: Download complete [2023-04-07T08:19:38.711Z] af6eaf76a39c: Pull complete [2023-04-07T08:19:38.711Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T08:19:38.711Z] 5abe8eddf0d5: Download complete [2023-04-07T08:19:40.138Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T08:19:40.138Z] ce5c4a1c91eb: Download complete [2023-04-07T08:19:40.138Z] 52ebb69f0ebf: Download complete [2023-04-07T08:19:41.102Z] 55522c791124: Pull complete [2023-04-07T08:19:53.449Z] ce5c4a1c91eb: Pull complete [2023-04-07T08:19:53.449Z] 169dfbe0d373: Pull complete [2023-04-07T08:19:53.449Z] e1ff8fa3b103: Pull complete [2023-04-07T08:19:58.817Z] 52ebb69f0ebf: Pull complete [2023-04-07T08:20:00.240Z] 5abe8eddf0d5: Pull complete [2023-04-07T08:20:00.240Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T08:20:00.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T08:20:00.509Z] ---> 6cb57ee374ae [2023-04-07T08:20:00.509Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-07T08:20:02.461Z] ---> Running in b6c0859acd80 [2023-04-07T08:20:02.461Z] Removing intermediate container b6c0859acd80 [2023-04-07T08:20:02.461Z] ---> d4c82a7181b8 [2023-04-07T08:20:02.461Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T08:20:02.461Z] ---> Running in 6943319013c6 [2023-04-07T08:20:02.729Z] Removing intermediate container 6943319013c6 [2023-04-07T08:20:02.729Z] ---> 54d0021faefc [2023-04-07T08:20:02.729Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-07T08:20:02.996Z] ---> Running in 0271ac1ce07a [2023-04-07T08:20:03.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T08:20:04.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T08:20:05.510Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-07T08:20:05.510Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-07T08:20:05.510Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-07T08:20:05.510Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T08:20:05.510Z] OK: 270 MiB in 61 packages [2023-04-07T08:20:08.861Z] Removing intermediate container 0271ac1ce07a [2023-04-07T08:20:08.861Z] ---> 17255bbc5826 [2023-04-07T08:20:08.861Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-07T08:20:08.861Z] ---> Running in 0f96abc5e318 [2023-04-07T08:20:08.861Z] Removing intermediate container 0f96abc5e318 [2023-04-07T08:20:08.861Z] ---> 0a5eff32ca48 [2023-04-07T08:20:08.861Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-07T08:20:09.129Z] ---> 9f8f2fc674dd [2023-04-07T08:20:09.129Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T08:20:09.129Z] ---> Running in 2067407f71b1 [2023-04-07T08:21:16.978Z] Removing intermediate container 2067407f71b1 [2023-04-07T08:21:16.978Z] ---> 5eeddac49800 [2023-04-07T08:21:16.978Z] Step 9/10 : COPY . . [2023-04-07T08:21:16.978Z] ---> f94a911f2ef4 [2023-04-07T08:21:16.978Z] Step 10/10 : RUN ${MAKE} [2023-04-07T08:21:16.978Z] ---> Running in 7aa11851daf6 [2023-04-07T08:21:16.978Z] noop [2023-04-07T08:21:16.978Z] Removing intermediate container 7aa11851daf6 [2023-04-07T08:21:16.978Z] ---> c6203f1107d6 [2023-04-07T08:21:16.978Z] Successfully built c6203f1107d6 [2023-04-07T08:21:16.978Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:21:17.456Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T08:21:17.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:21:17.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container [2023-04-07T08:21:17.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T08:21:18.986Z] $ docker top 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T08:21:19.831Z] + go version [2023-04-07T08:21:19.831Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T08:21:19.877Z] $ docker stop --time=1 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 [2023-04-07T08:21:21.472Z] $ docker rm -f --volumes 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:21:22.296Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T08:21:22.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:21:22.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container [2023-04-07T08:21:22.629Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-07T08:21:23.838Z] $ docker top 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T08:21:24.409Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-07T08:21:25.064Z] + make test [2023-04-07T08:21:25.337Z] go test ./... -coverprofile=coverage.out [2023-04-07T08:21:57.574Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-07T08:23:49.235Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-07T08:23:49.235Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.4% of statements [2023-04-07T08:23:49.235Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-07T08:23:49.235Z] go vet ./... [2023-04-07T08:24:21.483Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-07T08:24:21.483Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-07T08:24:21.752Z] ./bin/test-attribution-txt.sh [2023-04-07T08:24:21.752Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-07T08:24:22.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-07T08:24:22.089Z] $ docker stop --time=1 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 [2023-04-07T08:24:23.956Z] $ docker rm -f --volumes 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T08:24:25.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-07T08:24:25.162Z] Warning: overwriting stash ‘coverage-report’ [2023-04-07T08:24:25.697Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T08:24:26.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-07T08:24:26.620Z] + ls -al . [2023-04-07T08:24:26.621Z] total 176 [2023-04-07T08:24:26.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 08:21 . [2023-04-07T08:24:26.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:19 .. [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 08:19 .dockerignore [2023-04-07T08:24:26.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 08:19 .git [2023-04-07T08:24:26.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 .github [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 7 08:19 .gitignore [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 08:19 .golangci.yml [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 7 08:19 Attribution.txt [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 7 08:19 CHANGELOG.md [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 7 08:19 Dockerfile [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 08:19 GOVERNANCE.md [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 08:19 Jenkinsfile [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 08:19 LICENSE [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 7 08:19 Makefile [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 08:19 OWNERS.md [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 7 08:19 README.md [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 08:17 VERSION [2023-04-07T08:24:26.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:19 bin [2023-04-07T08:24:26.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 cmd [2023-04-07T08:24:26.621Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 7 08:23 coverage.out [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 7 08:19 go.mod [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 7 08:19 go.sum [2023-04-07T08:24:26.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 internal [2023-04-07T08:24:26.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:19 simulator [2023-04-07T08:24:26.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:19 snap [2023-04-07T08:24:26.621Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 08:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:24:27.030Z] + 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=d8efb5639a2b1160a579bc2232ace4dedeb4b665 --label arch=arm64 --label version=0.0.0 . [2023-04-07T08:24:27.298Z] Sending build context to Docker daemon 3.408MB [2023-04-07T08:24:27.298Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T08:24:27.298Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-07T08:24:27.298Z] ---> c6203f1107d6 [2023-04-07T08:24:27.298Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-07T08:24:27.566Z] ---> Running in ed625a8afb67 [2023-04-07T08:24:27.833Z] Removing intermediate container ed625a8afb67 [2023-04-07T08:24:27.833Z] ---> 877f1ec9e1c4 [2023-04-07T08:24:27.833Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T08:24:27.833Z] ---> Running in 7c63fab4ed32 [2023-04-07T08:24:28.103Z] Removing intermediate container 7c63fab4ed32 [2023-04-07T08:24:28.103Z] ---> ac7ec2b9031d [2023-04-07T08:24:28.103Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-07T08:24:28.103Z] ---> Running in ad865e62c102 [2023-04-07T08:24:29.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T08:24:29.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T08:24:30.719Z] OK: 270 MiB in 61 packages [2023-04-07T08:24:32.139Z] Removing intermediate container ad865e62c102 [2023-04-07T08:24:32.139Z] ---> 812fe670cd03 [2023-04-07T08:24:32.139Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-07T08:24:32.139Z] ---> Running in 4e4d29e1cbd9 [2023-04-07T08:24:32.412Z] Removing intermediate container 4e4d29e1cbd9 [2023-04-07T08:24:32.412Z] ---> e3ec788ac7ba [2023-04-07T08:24:32.412Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-07T08:24:32.679Z] ---> 4ea01c0599bd [2023-04-07T08:24:32.679Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T08:24:32.948Z] ---> Running in 4ddae7915473 [2023-04-07T08:24:35.521Z] Removing intermediate container 4ddae7915473 [2023-04-07T08:24:35.522Z] ---> 82d84fa2c4b5 [2023-04-07T08:24:35.522Z] Step 9/22 : COPY . . [2023-04-07T08:24:36.107Z] ---> d56d5d891878 [2023-04-07T08:24:36.107Z] Step 10/22 : RUN ${MAKE} [2023-04-07T08:24:36.107Z] ---> Running in f45011603335 [2023-04-07T08:24:37.073Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-07T08:26:43.758Z] Removing intermediate container f45011603335 [2023-04-07T08:26:43.758Z] ---> 6e71f1645184 [2023-04-07T08:26:43.758Z] Step 11/22 : FROM alpine:3.17 [2023-04-07T08:26:43.758Z] 3.17: Pulling from library/alpine [2023-04-07T08:26:43.758Z] c41833b44d91: Pulling fs layer [2023-04-07T08:26:43.758Z] c41833b44d91: Download complete [2023-04-07T08:26:43.758Z] c41833b44d91: Pull complete [2023-04-07T08:26:43.758Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-07T08:26:43.758Z] Status: Downloaded newer image for alpine:3.17 [2023-04-07T08:26:43.758Z] ---> 51e60588ff2c [2023-04-07T08:26:43.758Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-07T08:26:43.758Z] ---> Running in 85ba640beeac [2023-04-07T08:26:43.758Z] Removing intermediate container 85ba640beeac [2023-04-07T08:26:43.758Z] ---> 5babab42f3ab [2023-04-07T08:26:43.758Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-07T08:26:43.758Z] ---> Running in d7b582bf7d2a [2023-04-07T08:26:44.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T08:26:44.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T08:26:45.565Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-07T08:26:45.565Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T08:26:45.565Z] OK: 8 MiB in 16 packages [2023-04-07T08:26:46.531Z] Removing intermediate container d7b582bf7d2a [2023-04-07T08:26:46.531Z] ---> 259def3c665f [2023-04-07T08:26:46.531Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-07T08:26:47.934Z] ---> 9e24734f3c0e [2023-04-07T08:26:47.934Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-07T08:26:48.205Z] ---> 66f7eb44927f [2023-04-07T08:26:48.205Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-07T08:26:48.789Z] ---> 743a3a71a24a [2023-04-07T08:26:48.789Z] Step 17/22 : EXPOSE 59901 [2023-04-07T08:26:48.789Z] ---> Running in ad2f3ba690a4 [2023-04-07T08:26:49.057Z] Removing intermediate container ad2f3ba690a4 [2023-04-07T08:26:49.057Z] ---> e030ea86a944 [2023-04-07T08:26:49.057Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-07T08:26:49.057Z] ---> Running in 2ff5454c59d6 [2023-04-07T08:26:49.326Z] Removing intermediate container 2ff5454c59d6 [2023-04-07T08:26:49.326Z] ---> c7bb326ad13b [2023-04-07T08:26:49.326Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-07T08:26:49.593Z] ---> Running in 4bbe69d41744 [2023-04-07T08:26:49.866Z] Removing intermediate container 4bbe69d41744 [2023-04-07T08:26:49.866Z] ---> 39dd9889432e [2023-04-07T08:26:49.866Z] Step 20/22 : LABEL arch=arm64 [2023-04-07T08:26:49.866Z] ---> Running in cbe362383155 [2023-04-07T08:26:50.134Z] Removing intermediate container cbe362383155 [2023-04-07T08:26:50.134Z] ---> 2d4d4c0a5247 [2023-04-07T08:26:50.134Z] Step 21/22 : LABEL git_sha=d8efb5639a2b1160a579bc2232ace4dedeb4b665 [2023-04-07T08:26:50.134Z] ---> Running in 2a8a44628e01 [2023-04-07T08:26:50.403Z] Removing intermediate container 2a8a44628e01 [2023-04-07T08:26:50.403Z] ---> ed21919821a7 [2023-04-07T08:26:50.403Z] Step 22/22 : LABEL version=0.0.0 [2023-04-07T08:26:50.671Z] ---> Running in a3c732de2b91 [2023-04-07T08:26:50.938Z] Removing intermediate container a3c732de2b91 [2023-04-07T08:26:50.938Z] ---> 2d5231e5196e [2023-04-07T08:26:50.938Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-07T08:26:50.938Z] Successfully built 2d5231e5196e [2023-04-07T08:26:50.938Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:26:51.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T08:26:51.766Z] [2023-04-07T08:26:51.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:26:52.167Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T08:26:52.168Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T08:26:52.168Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T08:26:52.168Z] 04944245beec: Pulling fs layer [2023-04-07T08:26:52.168Z] 699f458cf7ca: Pulling fs layer [2023-04-07T08:26:52.168Z] 765212b225bb: Pulling fs layer [2023-04-07T08:26:52.168Z] f23df028b6ca: Pulling fs layer [2023-04-07T08:26:52.168Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T08:26:52.168Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T08:26:52.168Z] 765212b225bb: Waiting [2023-04-07T08:26:52.168Z] f23df028b6ca: Waiting [2023-04-07T08:26:52.168Z] d65c8cfc05b1: Waiting [2023-04-07T08:26:52.168Z] 2437ff75d9bd: Waiting [2023-04-07T08:26:52.439Z] 04944245beec: Verifying Checksum [2023-04-07T08:26:52.439Z] 04944245beec: Download complete [2023-04-07T08:26:52.439Z] 765212b225bb: Verifying Checksum [2023-04-07T08:26:52.439Z] 765212b225bb: Download complete [2023-04-07T08:26:52.439Z] f23df028b6ca: Verifying Checksum [2023-04-07T08:26:52.439Z] f23df028b6ca: Download complete [2023-04-07T08:26:52.439Z] d65c8cfc05b1: Verifying Checksum [2023-04-07T08:26:52.439Z] d65c8cfc05b1: Download complete [2023-04-07T08:26:52.713Z] 699f458cf7ca: Verifying Checksum [2023-04-07T08:26:52.713Z] 699f458cf7ca: Download complete [2023-04-07T08:26:52.982Z] 8998bd30e6a1: Verifying Checksum [2023-04-07T08:26:52.982Z] 8998bd30e6a1: Download complete [2023-04-07T08:26:55.563Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T08:26:55.563Z] 2437ff75d9bd: Download complete [2023-04-07T08:26:56.973Z] 8998bd30e6a1: Pull complete [2023-04-07T08:26:57.239Z] 04944245beec: Pull complete [2023-04-07T08:26:58.650Z] 699f458cf7ca: Pull complete [2023-04-07T08:26:58.917Z] 765212b225bb: Pull complete [2023-04-07T08:26:59.501Z] f23df028b6ca: Pull complete [2023-04-07T08:26:59.769Z] d65c8cfc05b1: Pull complete [2023-04-07T08:27:14.759Z] 2437ff75d9bd: Pull complete [2023-04-07T08:27:14.759Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T08:27:14.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T08:27:14.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:27:15.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container [2023-04-07T08:27:15.155Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-07T08:27:17.682Z] $ docker top d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:18.262Z] ---> job-cost.sh [2023-04-07T08:27:18.529Z] lf-activate-venv: SKIPPING [2023-04-07T08:27:18.529Z] INFO: No Stack... [2023-04-07T08:27:18.795Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T08:27:19.755Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T08:27:20.409Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-04-07T08:27:20.409Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T08:27:20.497Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [2023-04-07T08:27:20.502Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] did not exist. Created. [2023-04-07T08:27:20.502Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T08:27:20.916Z] /w/workspace/device-modbus-go/1@tmp/durable-8b11befe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T08:27:21.277Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T08:27:21.317Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T08:27:21.364Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T08:27:21.381Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T08:27:21.462Z] $ docker stop --time=1 d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b [2023-04-07T08:27:22.945Z] $ docker rm -f --volumes d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-07T08:27:23.914Z] provisioning config files... [2023-04-07T08:27:23.924Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config13190424986361252225tmp [Pipeline] { [Pipeline] sh [2023-04-07T08:27:24.280Z] + set +x [2023-04-07T08:27:24.280Z] + curl -s https://codecov.io/bash [2023-04-07T08:27:24.280Z] + bash -s -- [2023-04-07T08:27:24.280Z] [2023-04-07T08:27:24.280Z] _____ _ [2023-04-07T08:27:24.280Z] / ____| | | [2023-04-07T08:27:24.280Z] | | ___ __| | ___ ___ _____ __ [2023-04-07T08:27:24.280Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-07T08:27:24.280Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-07T08:27:24.280Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-07T08:27:24.280Z] Bash-1.0.6 [2023-04-07T08:27:24.280Z] [2023-04-07T08:27:24.280Z] [2023-04-07T08:27:24.280Z] ==> git version 2.25.1 found [2023-04-07T08:27:24.280Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-07T08:27:24.280Z] Release-Date: 2020-01-08 [2023-04-07T08:27:24.280Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-07T08:27:24.280Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-07T08:27:24.280Z] ==> Jenkins CI detected. [2023-04-07T08:27:24.280Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-452 [2023-04-07T08:27:24.280Z] project root: . [2023-04-07T08:27:24.280Z] --> token set from env [2023-04-07T08:27:24.280Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-07T08:27:24.549Z] ==> Running gcov in . (disable via -X gcov) [2023-04-07T08:27:24.549Z] ==> Python coveragepy not found [2023-04-07T08:27:24.549Z] ==> Searching for coverage reports in: [2023-04-07T08:27:24.549Z] + . [2023-04-07T08:27:24.549Z] -> Found 1 reports [2023-04-07T08:27:24.549Z] ==> Detecting git/mercurial file structure [2023-04-07T08:27:24.549Z] ==> Reading reports [2023-04-07T08:27:24.549Z] + ./coverage.out bytes=24076 [2023-04-07T08:27:24.549Z] ==> Appending adjustments [2023-04-07T08:27:24.549Z] https://docs.codecov.io/docs/fixing-reports [2023-04-07T08:27:24.549Z] + Found adjustments [2023-04-07T08:27:24.549Z] ==> Gzipping contents [2023-04-07T08:27:24.549Z] 4.0K /tmp/codecov.E4yU4G.gz [2023-04-07T08:27:24.549Z] ==> Uploading reports [2023-04-07T08:27:24.549Z] url: https://codecov.io [2023-04-07T08:27:24.549Z] query: branch=PR-452&commit=d8efb5639a2b1160a579bc2232ace4dedeb4b665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= [2023-04-07T08:27:24.549Z] -> Pinging Codecov [2023-04-07T08:27:24.549Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-452&commit=d8efb5639a2b1160a579bc2232ace4dedeb4b665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= [2023-04-07T08:27:24.812Z] -> Uploading to [2023-04-07T08:27:24.812Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-07/55DBCA73C666E3227836607328DD7E49/d8efb5639a2b1160a579bc2232ace4dedeb4b665/00e2ba33-6726-4cb4-a228-334b304674b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T082724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9803bc32f52ca237cedfffc2d039edd05e0140a76718bc0daff43528182906f8 [2023-04-07T08:27:24.812Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T08:27:24.813Z] Dload Upload Total Spent Left Speed [2023-04-07T08:27:25.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3916 0 0 100 3916 0 12551 --:--:-- --:--:-- --:--:-- 12591 [2023-04-07T08:27:25.088Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] } [2023-04-07T08:27:25.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-07T08:27:26.878Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] [2023-04-07T08:27:26.878Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-07T08:27:26.878Z] total 16 [2023-04-07T08:27:26.878Z] drwxr-xr-x 3 root root 4096 Apr 7 08:18 . [2023-04-07T08:27:26.878Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:18 .. [2023-04-07T08:27:26.878Z] drwxr-xr-x 2 root root 4096 Apr 7 08:18 cost [2023-04-07T08:27:26.878Z] -rw-r--r-- 1 root root 89 Apr 7 08:18 cost.csv [2023-04-07T08:27:26.878Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-07T08:27:26.878Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives [2023-04-07T08:27:26.878Z] total 16 [2023-04-07T08:27:26.878Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 08:18 . [2023-04-07T08:27:26.878Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:18 .. [2023-04-07T08:27:26.878Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 08:18 cost [2023-04-07T08:27:26.878Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 7 08:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:27.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:28.328Z] ---> package-listing.sh [2023-04-07T08:27:28.328Z] ++ facter osfamily [2023-04-07T08:27:28.328Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T08:27:28.328Z] + OS_FAMILY=debian [2023-04-07T08:27:28.328Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 [2023-04-07T08:27:28.328Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T08:27:28.328Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T08:27:28.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T08:27:28.328Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T08:27:28.328Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' [2023-04-07T08:27:28.328Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T08:27:28.328Z] + case "${OS_FAMILY}" in [2023-04-07T08:27:28.328Z] + dpkg -l [2023-04-07T08:27:28.328Z] + grep '^ii' [2023-04-07T08:27:28.328Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T08:27:28.328Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T08:27:28.328Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T08:27:28.328Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' [2023-04-07T08:27:28.328Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [2023-04-07T08:27:28.328Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [Pipeline] echo [2023-04-07T08:27:28.376Z] 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T08:27:28.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T08:27:29.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T08:27:29.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T08:27:29.230Z] prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container [2023-04-07T08:27:29.260Z] $ 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-452/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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-07T08:27:33.424Z] $ docker top f9ba5271119aa3b55200a7213fe02a35cd2f903a77742f378bbaf4f8318df78f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T08:27:33.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T08:27:34.188Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T08:27:34.547Z] + ls /var/log/sa-host [2023-04-07T08:27:34.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T08:27:34.753Z] provisioning config files... [2023-04-07T08:27:34.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config8455832818135611212tmp [Pipeline] { [Pipeline] echo [2023-04-07T08:27:34.809Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:35.124Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T08:27:35.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:35.546Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T08:27:35.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:35.895Z] ---> sudo-logs.sh [2023-04-07T08:27:35.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T08:27:35.981Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:36.291Z] ---> job-cost.sh [2023-04-07T08:27:36.291Z] lf-activate-venv: SKIPPING [2023-04-07T08:27:36.291Z] DEBUG: total: 0.2199999988079071 [2023-04-07T08:27:36.291Z] INFO: Retrieving Stack Cost... [2023-04-07T08:27:36.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T08:27:36.826Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T08:27:36.861Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T08:27:37.192Z] ---> logs-deploy.sh [2023-04-07T08:27:37.192Z] lf-activate-venv: SKIPPING [2023-04-07T08:27:37.192Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/1 [2023-04-07T08:27:37.192Z] INFO: archiving workspace using pattern(s): [2023-04-07T08:27:38.587Z] Archives upload complete. [2023-04-07T08:27:38.587Z] INFO: archiving logs to Nexus