Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3ee41877b048388e7c3cdab8b1927d49f235cab 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-ssh276811487617389600.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh14768593846804114647.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh643750191443579204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16568228750615889102.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10266591503725694636.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-9817 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # 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 Avoid second fetch Checking out Revision a3ee41877b048388e7c3cdab8b1927d49f235cab (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 Commit message: "Merge pull request #571 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git rev-list --no-walk 34e0713d5cb4423ba00455ee6be9f8bcdcba86ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:54:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:54:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:54:44 ========================================================= 06:54:44 EdgeX Global Pipelines Version Info 06:54:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:54:45 ------------------- 06:54:45 stable info: 06:54:45 ------------------- 06:54:45 Commited By: Cherry Wang cherry@iotechsys.com 06:54:45 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:54:45 Message: update stable to v1.0.263 06:54:45 ------------------- 06:54:45 experimental info: 06:54:45 ------------------- 06:54:45 Commited By: Cherry Wang cherry@iotechsys.com 06:54:45 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:54:45 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:54:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3ee418 [Pipeline] echo 06:54:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:46 provisioning config files... 06:54:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17043496413919937248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:54:47 ---> ****-login.sh 06:54:47 nexus3.edgexfoundry.org:10001 06:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:47 Configure a credential helper to remove this warning. See 06:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:47 06:54:47 Login Succeeded 06:54:47 nexus3.edgexfoundry.org:10002 06:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:47 Configure a credential helper to remove this warning. See 06:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:47 06:54:47 Login Succeeded 06:54:47 nexus3.edgexfoundry.org:10003 06:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:47 Configure a credential helper to remove this warning. See 06:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:47 06:54:47 Login Succeeded 06:54:47 nexus3.edgexfoundry.org:10004 06:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:47 Configure a credential helper to remove this warning. See 06:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:47 06:54:47 Login Succeeded 06:54:47 ****.io 06:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:54:47 Configure a credential helper to remove this warning. See 06:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:54:47 06:54:47 Login Succeeded 06:54:47 ---> ****-login.sh ends [Pipeline] } 06:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:54:48 + git rev-list -1 --merges a3ee41877b048388e7c3cdab8b1927d49f235cab~1..a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] echo 06:54:48 -----------> git rev-list -1 --merges a3ee41877b048388e7c3cdab8b1927d49f235cab~1..a3ee41877b048388e7c3cdab8b1927d49f235cab a3ee41877b048388e7c3cdab8b1927d49f235cab 06:54:48 a3ee41877b048388e7c3cdab8b1927d49f235cab [false] [Pipeline] sh 06:54:48 + git log --format=format:%s -1 a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] echo 06:54:48 ========================================================= 06:54:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:54:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:48 + git log --format=format:%s -1 a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] echo 06:54:48 [semverPrep] GIT_COMMIT: a3ee41877b048388e7c3cdab8b1927d49f235cab, Commit Message: Merge pull request #571 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 06:54:48 [semverPrep] This is not a build commit. [Pipeline] sh 06:54:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:49 + grep -v github /etc/ssh/ssh_known_hosts 06:54:49 + [ -e /tmp/ssh_known_hosts ] 06:54:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:54:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:54:49 + sudo tee -a /etc/ssh/ssh_known_hosts 06:54:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:49 06:54:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:50 0.1.4: Pulling from edgex-devops/py-git-semver 06:54:50 b85a868b505f: Pulling fs layer 06:54:50 e2be974225ed: Pulling fs layer 06:54:50 339a4e72a1f5: Pulling fs layer 06:54:50 988bab9f4d93: Pulling fs layer 06:54:50 1469e6f7b9e6: Pulling fs layer 06:54:50 eaf3925da568: Pulling fs layer 06:54:50 bab4dde63d76: Pulling fs layer 06:54:50 bde34c3a00c8: Pulling fs layer 06:54:50 b352a97aabf1: Pulling fs layer 06:54:50 4872d77fe225: Pulling fs layer 06:54:50 5851b861e8e6: Pulling fs layer 06:54:50 988bab9f4d93: Waiting 06:54:50 1469e6f7b9e6: Waiting 06:54:50 eaf3925da568: Waiting 06:54:50 bab4dde63d76: Waiting 06:54:50 bde34c3a00c8: Waiting 06:54:50 b352a97aabf1: Waiting 06:54:50 4872d77fe225: Waiting 06:54:50 5851b861e8e6: Waiting 06:54:50 e2be974225ed: Download complete 06:54:50 988bab9f4d93: Verifying Checksum 06:54:50 988bab9f4d93: Download complete 06:54:50 1469e6f7b9e6: Verifying Checksum 06:54:50 1469e6f7b9e6: Download complete 06:54:50 339a4e72a1f5: Verifying Checksum 06:54:50 339a4e72a1f5: Download complete 06:54:50 eaf3925da568: Verifying Checksum 06:54:50 eaf3925da568: Download complete 06:54:50 bde34c3a00c8: Verifying Checksum 06:54:50 bde34c3a00c8: Download complete 06:54:50 b352a97aabf1: Verifying Checksum 06:54:50 b352a97aabf1: Download complete 06:54:50 4872d77fe225: Verifying Checksum 06:54:50 4872d77fe225: Download complete 06:54:50 5851b861e8e6: Download complete 06:54:50 b85a868b505f: Verifying Checksum 06:54:50 b85a868b505f: Download complete 06:54:50 bab4dde63d76: Verifying Checksum 06:54:50 bab4dde63d76: Download complete 06:54:51 b85a868b505f: Pull complete 06:54:51 e2be974225ed: Pull complete 06:54:52 339a4e72a1f5: Pull complete 06:54:52 988bab9f4d93: Pull complete 06:54:52 1469e6f7b9e6: Pull complete 06:54:52 eaf3925da568: Pull complete 06:54:53 bab4dde63d76: Pull complete 06:54:53 bde34c3a00c8: Pull complete 06:54:54 b352a97aabf1: Pull complete 06:54:54 4872d77fe225: Pull complete 06:54:54 5851b861e8e6: Pull complete 06:54:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:54 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 06:54:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:58 $ docker top 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 -eo pid,comm 06:54:58 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). 06:54:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:58 [ssh-agent] Looking for ssh-agent implementation... 06:54:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:58 $ docker exec 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 ssh-agent 06:54:58 SSH_AUTH_SOCK=/tmp/ssh-Nv5gZz7cc5wl/agent.32 06:54:58 SSH_AGENT_PID=38 06:54:58 Running ssh-add (command line suppressed) 06:54:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4770846239529778948.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4770846239529778948.key) 06:54:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:58 + git tag --points-at HEAD [Pipeline] } 06:54:58 $ docker exec --env ******** --env ******** 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 ssh-agent -k 06:54:59 unset SSH_AUTH_SOCK; 06:54:59 unset SSH_AGENT_PID; 06:54:59 echo Agent pid 38 killed; 06:54:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:54:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:59 [ssh-agent] Looking for ssh-agent implementation... 06:54:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:59 $ docker exec 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 ssh-agent 06:54:59 SSH_AUTH_SOCK=/tmp/ssh-nmv8PsIQ6Jnh/agent.71 06:54:59 SSH_AGENT_PID=77 06:54:59 Running ssh-add (command line suppressed) 06:54:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15475990457082156223.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15475990457082156223.key) 06:54:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:59 + git semver init 06:55:00 2024-09-09 06:54:59,922 [run_init] DEBUG init version:0.0.0 force:False 06:55:00 2024-09-09 06:54:59,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:55:00 2024-09-09 06:54:59,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:55:00 2024-09-09 06:54:59,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:55:01 2024-09-09 06:55:01,447 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:55:01 2024-09-09 06:55:01,447 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:55:01 2024-09-09 06:55:01,448 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:55:01 2024-09-09 06:55:01,448 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:55:01 3.2.0-dev.23 [Pipeline] } 06:55:01 $ docker exec --env ******** --env ******** 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 ssh-agent -k 06:55:01 unset SSH_AUTH_SOCK; 06:55:01 unset SSH_AGENT_PID; 06:55:01 echo Agent pid 77 killed; 06:55:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:55:02 + git semver [Pipeline] } 06:55:02 $ docker stop --time=1 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 06:55:03 $ docker rm -f --volumes 2f81564a2d58d2105c1b4650ec84fb4006e10e494fda530ad12d2f10564b8d05 [Pipeline] // withDockerContainer [Pipeline] sh 06:55:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:55:04 Stashed 1 file(s) [Pipeline] echo 06:55:04 [edgeXSemver]: initialized semver on version 3.2.0-dev.23 [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 06:55:04 provisioning config files... 06:55:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15144759878446973235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:04 ---> ****-login.sh 06:55:04 nexus3.edgexfoundry.org:10001 06:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:04 Configure a credential helper to remove this warning. See 06:55:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:04 06:55:04 Login Succeeded 06:55:04 nexus3.edgexfoundry.org:10002 06:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:04 Configure a credential helper to remove this warning. See 06:55:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:04 06:55:04 Login Succeeded 06:55:04 nexus3.edgexfoundry.org:10003 06:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:05 Configure a credential helper to remove this warning. See 06:55:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:05 06:55:05 Login Succeeded 06:55:05 nexus3.edgexfoundry.org:10004 06:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:05 Configure a credential helper to remove this warning. See 06:55:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:05 06:55:05 Login Succeeded 06:55:05 ****.io 06:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:05 Configure a credential helper to remove this warning. See 06:55:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:05 06:55:05 Login Succeeded 06:55:05 ---> ****-login.sh ends [Pipeline] } 06:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:05 ========================================================= 06:55:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:55:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:55:05 Sending build context to Docker daemon 17.92MB 06:55:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:55:05 Step 2/10 : FROM ${BASE} AS builder 06:55:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:55:06 619be1103602: Pulling fs layer 06:55:06 7862e08f4a3e: Pulling fs layer 06:55:06 5df492c9dc93: Pulling fs layer 06:55:06 7629e6793208: Pulling fs layer 06:55:06 4f4fb700ef54: Pulling fs layer 06:55:06 7629e6793208: Waiting 06:55:06 fb5054dd5b73: Pulling fs layer 06:55:06 eeca6798cff9: Pulling fs layer 06:55:06 aa269ceb94a6: Pulling fs layer 06:55:06 4f4fb700ef54: Waiting 06:55:06 fb5054dd5b73: Waiting 06:55:06 eeca6798cff9: Waiting 06:55:06 aa269ceb94a6: Waiting 06:55:06 ada007ff1a6a: Pulling fs layer 06:55:06 7862e08f4a3e: Verifying Checksum 06:55:06 7862e08f4a3e: Download complete 06:55:06 7629e6793208: Verifying Checksum 06:55:06 7629e6793208: Download complete 06:55:06 4f4fb700ef54: Download complete 06:55:06 619be1103602: Verifying Checksum 06:55:06 619be1103602: Download complete 06:55:06 fb5054dd5b73: Verifying Checksum 06:55:06 fb5054dd5b73: Download complete 06:55:06 eeca6798cff9: Verifying Checksum 06:55:06 eeca6798cff9: Download complete 06:55:06 619be1103602: Pull complete 06:55:06 ada007ff1a6a: Verifying Checksum 06:55:06 ada007ff1a6a: Download complete 06:55:06 7862e08f4a3e: Pull complete 06:55:06 5df492c9dc93: Verifying Checksum 06:55:06 5df492c9dc93: Download complete 06:55:06 aa269ceb94a6: Verifying Checksum 06:55:06 aa269ceb94a6: Download complete 06:55:10 5df492c9dc93: Pull complete 06:55:10 7629e6793208: Pull complete 06:55:10 4f4fb700ef54: Pull complete 06:55:10 fb5054dd5b73: Pull complete 06:55:10 eeca6798cff9: Pull complete 06:55:12 aa269ceb94a6: Pull complete 06:55:12 ada007ff1a6a: Pull complete 06:55:12 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:55:12 ---> f489d0715acc 06:55:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:55:17 ---> Running in 423de119808d 06:55:17 Removing intermediate container 423de119808d 06:55:17 ---> 1a7777c3f2f4 06:55:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:55:17 ---> Running in ccf6e5f99190 06:55:17 Removing intermediate container ccf6e5f99190 06:55:17 ---> 34eccf795365 06:55:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:55:17 ---> Running in 3fc11a8bc14d 06:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:55:18 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:55:18 (2/8) Installing libedit (20221030.3.1-r1) 06:55:18 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:55:18 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:55:18 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:55:18 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:55:18 (7/8) Installing openssh-server (9.3_p2-r2) 06:55:18 (8/8) Installing openssh (9.3_p2-r2) 06:55:18 Executing busybox-1.36.1-r5.trigger 06:55:18 OK: 270 MiB in 60 packages 06:55:19 Removing intermediate container 3fc11a8bc14d 06:55:19 ---> af7b82bf5c07 06:55:19 Step 6/10 : WORKDIR /device-modbus-go 06:55:19 ---> Running in a202325b76d0 06:55:19 Removing intermediate container a202325b76d0 06:55:19 ---> 7132050f0416 06:55:19 Step 7/10 : COPY go.mod vendor* ./ 06:55:19 ---> a49dcfc6cebd 06:55:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:55:19 ---> Running in 93abeaa8a3b8 06:55:19 Still waiting to schedule task 06:55:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:56:15 Removing intermediate container 93abeaa8a3b8 06:56:15 ---> ae94ee539630 06:56:15 Step 9/10 : COPY . . 06:56:15 ---> 7191ae13eb8f 06:56:15 Step 10/10 : RUN ${MAKE} 06:56:15 ---> Running in 10e7cb1391bf 06:56:15 noop 06:56:15 Removing intermediate container 10e7cb1391bf 06:56:15 ---> de275a81508c 06:56:15 Successfully built de275a81508c 06:56:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:16 + docker inspect -f . ci-base-image-x86_64 06:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:16 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 06:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 06:56:16 $ docker top 3543b4c1434b64ea68ae6d06b0605408003b8d52ba2fc6ae6f5294ffb1661923 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:16 + go version 06:56:16 go version go1.21.9 linux/amd64 [Pipeline] } 06:56:16 $ docker stop --time=1 3543b4c1434b64ea68ae6d06b0605408003b8d52ba2fc6ae6f5294ffb1661923 06:56:18 $ docker rm -f --volumes 3543b4c1434b64ea68ae6d06b0605408003b8d52ba2fc6ae6f5294ffb1661923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:18 + docker inspect -f . ci-base-image-x86_64 06:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:18 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 06:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 06:56:19 $ docker top b296984371805dc442752ee1a4526e84bd6caa98d289b36d340daad27e52d183 -eo pid,comm [Pipeline] { [Pipeline] sh 06:56:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:56:19 + make test 06:56:19 go test ./... -coverprofile=coverage.out 06:56:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:56:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:56:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements 06:56:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9818 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:56:44 Running in /w/workspace/device-modbus-go/162 [Pipeline] { [Pipeline] checkout 06:56:44 The recommended git tool is: git 06:56:46 go vet ./... 06:56:48 using credential edgex-jenkins-ssh 06:56:48 Cloning the remote Git repository 06:56:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:56:48 > git init /w/workspace/device-modbus-go/162 # timeout=10 06:56:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:56:49 > git --version # timeout=10 06:56:49 > git --version # 'git version 2.25.1' 06:56:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:56:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:56:51 ./bin/test-attribution-txt.sh 06:56:51 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:56:51 $ docker stop --time=1 b296984371805dc442752ee1a4526e84bd6caa98d289b36d340daad27e52d183 06:56:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:56:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:51 Avoid second fetch 06:56:51 Checking out Revision a3ee41877b048388e7c3cdab8b1927d49f235cab (main) 06:56:52 Commit message: "Merge pull request #571 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" 06:56:51 > git config core.sparsecheckout # timeout=10 06:56:52 > git checkout -f a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 06:56:56 $ docker rm -f --volumes b296984371805dc442752ee1a4526e84bd6caa98d289b36d340daad27e52d183 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:56:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:56:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:56:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:56:57 Dload Upload Total Spent Left Speed 06:56:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86675 0 --:--:-- --:--:-- --:--:-- 86675 [Pipeline] sh [Pipeline] sh 06:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:56:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:56:58 + ls -al . 06:56:58 total 272 06:56:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 06:56 . 06:56:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 06:54 .. 06:56:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 06:54 .dockerignore 06:56:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 06:56 .git 06:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:54 .github 06:56:58 -rw-rw-r-- 1 jenkins jenkins 266 Sep 9 06:54 .gitignore 06:56:58 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 06:54 .golangci.yml 06:56:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 06:55 .semver 06:56:58 -rw-rw-r-- 1 jenkins jenkins 19432 Sep 9 06:54 Attribution.txt 06:56:58 -rw-rw-r-- 1 jenkins jenkins 16388 Sep 9 06:54 CHANGELOG.md 06:56:58 -rw-rw-r-- 1 jenkins jenkins 1474 Sep 9 06:54 Dockerfile 06:56:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 06:54 GOVERNANCE.md 06:56:58 -rw-rw-r-- 1 jenkins jenkins 658 Sep 9 06:54 Jenkinsfile 06:56:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 06:54 LICENSE 06:56:58 -rw-rw-r-- 1 jenkins jenkins 1942 Sep 9 06:54 Makefile 06:56:58 -rw-rw-r-- 1 jenkins jenkins 622 Sep 9 06:54 OWNERS.md 06:56:58 -rw-rw-r-- 1 jenkins jenkins 4463 Sep 9 06:54 README.md 06:56:58 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 06:55 VERSION 06:56:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 06:54 bin 06:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:54 cmd 06:56:58 -rw-r--r-- 1 jenkins jenkins 24601 Sep 9 06:56 coverage.out 06:56:58 -rw-rw-r-- 1 jenkins jenkins 7186 Sep 9 06:54 go.mod 06:56:58 -rw-rw-r-- 1 jenkins jenkins 102017 Sep 9 06:54 go.sum 06:56:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:54 internal 06:56:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 06:54 simulator 06:56:58 -rw-rw-r-- 1 jenkins jenkins 229 Sep 9 06:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:58 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 06:56:58 /etc/docker/daemon.json 06:56:58 { 06:56:58 "registry-mirrors": [ 06:56:58 "https://nexus3.edgexfoundry.org:10001" 06:56:58 ], 06:56:58 "bip": "10.250.0.254/24", 06:56:58 "hosts": [ 06:56:58 "tcp://0.0.0.0:5555", 06:56:58 "unix:///var/run/docker.sock" 06:56:58 ], 06:56:58 "mtu": 1458, 06:56:58 "selinux-enabled": true, 06:56:58 "seccomp-profile": "/etc/docker/seccomp.json" 06:56:58 } [Pipeline] sh 06:56:58 + 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=a3ee41877b048388e7c3cdab8b1927d49f235cab --label arch=amd64 --label version=3.2.0-dev.23 . 06:56:58 Sending build context to Docker daemon 17.94MB 06:56:58 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:56:58 Step 2/23 : FROM ${BASE} AS builder 06:56:58 ---> de275a81508c 06:56:58 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:56:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:56:58 ---> Running in 4e693c5f21f3 06:56:59 + sudo service docker restart 06:56:59 Removing intermediate container 4e693c5f21f3 06:56:59 ---> 58412aa8061b 06:56:59 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:56:59 ---> Running in a9b32203df69 06:56:59 Removing intermediate container a9b32203df69 06:56:59 ---> fe54b8e4188e 06:56:59 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:56:59 ---> Running in c11b9f62eb8e 06:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:56:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:56:59 OK: 270 MiB in 60 packages 06:56:59 Removing intermediate container c11b9f62eb8e 06:56:59 ---> 5ba016ac498b 06:56:59 Step 6/23 : WORKDIR /device-modbus-go 06:56:59 ---> Running in 659de023b20b 06:57:00 Removing intermediate container 659de023b20b 06:57:00 ---> 9d8e0e3e8a54 06:57:00 Step 7/23 : COPY go.mod vendor* ./ 06:57:00 ---> 27851b9f4611 06:57:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:00 ---> Running in daae96edf05d 06:57:00 Removing intermediate container daae96edf05d 06:57:00 ---> b87ad8a270a9 06:57:00 Step 9/23 : COPY . . 06:57:01 ---> 6c49acea7830 06:57:01 Step 10/23 : RUN ${MAKE} 06:57:01 ---> Running in d18745860343 06:57:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:17 provisioning config files... 06:57:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/162@tmp/config14149192756877367925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:17 ---> ****-login.sh 06:57:17 nexus3.edgexfoundry.org:10001 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 nexus3.edgexfoundry.org:10002 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 nexus3.edgexfoundry.org:10003 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:19 Configure a credential helper to remove this warning. See 06:57:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:19 06:57:19 Login Succeeded 06:57:19 nexus3.edgexfoundry.org:10004 06:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:19 Configure a credential helper to remove this warning. See 06:57:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:19 06:57:19 Login Succeeded 06:57:19 ****.io 06:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:19 Configure a credential helper to remove this warning. See 06:57:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:19 06:57:19 Login Succeeded 06:57:19 ---> ****-login.sh ends [Pipeline] } 06:57:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:57:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:57:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:57:20 ========================================================= 06:57:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:57:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:57:20 Sending build context to Docker daemon 9.097MB 06:57:21 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:57:21 Step 2/10 : FROM ${BASE} AS builder 06:57:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:57:21 c6b39de5b339: Pulling fs layer 06:57:21 a69c41024577: Pulling fs layer 06:57:21 d6de4b400683: Pulling fs layer 06:57:21 35cb2a7552d0: Pulling fs layer 06:57:21 4f4fb700ef54: Pulling fs layer 06:57:21 464afbd9ba4c: Pulling fs layer 06:57:21 00f215d4a9da: Pulling fs layer 06:57:21 d496ad576159: Pulling fs layer 06:57:21 35cb2a7552d0: Waiting 06:57:21 4f4fb700ef54: Waiting 06:57:21 464afbd9ba4c: Waiting 06:57:21 00f215d4a9da: Waiting 06:57:21 d496ad576159: Waiting 06:57:21 a69c41024577: Verifying Checksum 06:57:21 a69c41024577: Download complete 06:57:21 35cb2a7552d0: Verifying Checksum 06:57:21 35cb2a7552d0: Download complete 06:57:21 4f4fb700ef54: Verifying Checksum 06:57:21 4f4fb700ef54: Download complete 06:57:21 464afbd9ba4c: Verifying Checksum 06:57:21 464afbd9ba4c: Download complete 06:57:21 c6b39de5b339: Verifying Checksum 06:57:21 c6b39de5b339: Download complete 06:57:21 d496ad576159: Verifying Checksum 06:57:21 d496ad576159: Download complete 06:57:22 c6b39de5b339: Pull complete 06:57:22 a69c41024577: Pull complete 06:57:23 d6de4b400683: Verifying Checksum 06:57:23 d6de4b400683: Download complete 06:57:24 00f215d4a9da: Verifying Checksum 06:57:24 00f215d4a9da: Download complete 06:57:33 Removing intermediate container d18745860343 06:57:33 ---> 4cc5aafce7ee 06:57:33 Step 11/23 : FROM alpine:3.18 06:57:33 3.18: Pulling from library/alpine 06:57:33 1cc3d825d8b2: Pulling fs layer 06:57:33 1cc3d825d8b2: Verifying Checksum 06:57:33 1cc3d825d8b2: Download complete 06:57:33 1cc3d825d8b2: Pull complete 06:57:33 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 06:57:33 Status: Downloaded newer image for alpine:3.18 06:57:33 ---> 2c64cf60f6f0 06:57:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:57:33 ---> Running in e6994c4ba015 06:57:33 Removing intermediate container e6994c4ba015 06:57:33 ---> 844bac330a0b 06:57:33 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:57:33 ---> Running in 95a76b3eb459 06:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:57:33 (1/1) Installing dumb-init (1.2.5-r2) 06:57:33 Executing busybox-1.36.1-r7.trigger 06:57:33 OK: 7 MiB in 16 packages 06:57:34 Removing intermediate container 95a76b3eb459 06:57:34 ---> 260671ab2fbb 06:57:34 Step 14/23 : RUN apk --no-cache upgrade 06:57:34 ---> Running in ab4610aaa127 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:57:34 OK: 7 MiB in 16 packages 06:57:35 Removing intermediate container ab4610aaa127 06:57:35 ---> a17ceaa7a7e3 06:57:35 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:57:36 ---> 96dacd96bef9 06:57:36 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:57:36 ---> 64468eecfb5b 06:57:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:57:36 ---> ba6bcd78f76f 06:57:36 Step 18/23 : EXPOSE 59901 06:57:36 ---> Running in 65b07740d2e6 06:57:36 d6de4b400683: Pull complete 06:57:36 35cb2a7552d0: Pull complete 06:57:36 4f4fb700ef54: Pull complete 06:57:36 464afbd9ba4c: Pull complete 06:57:36 Removing intermediate container 65b07740d2e6 06:57:36 ---> 26a9ca3ecb1f 06:57:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:57:36 ---> Running in 1f6f19bf9ffd 06:57:36 Removing intermediate container 1f6f19bf9ffd 06:57:36 ---> 49e78db6e9f2 06:57:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:57:36 ---> Running in 8c50144669c0 06:57:36 Removing intermediate container 8c50144669c0 06:57:36 ---> 53c7a66058ce 06:57:36 Step 21/23 : LABEL arch=amd64 06:57:36 ---> Running in 51402d32fecb 06:57:36 Removing intermediate container 51402d32fecb 06:57:36 ---> 0b9fa6c86776 06:57:36 Step 22/23 : LABEL git_sha=a3ee41877b048388e7c3cdab8b1927d49f235cab 06:57:36 ---> Running in 90e2f1c7baa4 06:57:36 Removing intermediate container 90e2f1c7baa4 06:57:36 ---> 538efc6e5640 06:57:36 Step 23/23 : LABEL version=3.2.0-dev.23 06:57:36 ---> Running in 1c23053fffe2 06:57:36 Removing intermediate container 1c23053fffe2 06:57:36 ---> ad1aa00ec1f2 06:57:36 [Warning] One or more build-args [ARCH] were not consumed 06:57:36 Successfully built ad1aa00ec1f2 06:57:36 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:37 provisioning config files... 06:57:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6598506768070378084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:37 ---> ****-login.sh 06:57:37 nexus3.edgexfoundry.org:10001 06:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:37 Configure a credential helper to remove this warning. See 06:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:37 06:57:37 Login Succeeded 06:57:37 nexus3.edgexfoundry.org:10002 06:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:37 Configure a credential helper to remove this warning. See 06:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:37 06:57:37 Login Succeeded 06:57:37 nexus3.edgexfoundry.org:10003 06:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:37 Configure a credential helper to remove this warning. See 06:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:37 06:57:37 Login Succeeded 06:57:37 nexus3.edgexfoundry.org:10004 06:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:37 Configure a credential helper to remove this warning. See 06:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:37 06:57:37 Login Succeeded 06:57:37 ****.io 06:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:37 Configure a credential helper to remove this warning. See 06:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:37 06:57:37 Login Succeeded 06:57:37 ---> ****-login.sh ends [Pipeline] } 06:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:57:38 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:57:38 a3ee41877b048388e7c3cdab8b1927d49f235cab 06:57:38 latest 06:57:38 3.2.0-dev.23 06:57:38 a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 06:57:38 main 06:57:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:38 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab 06:57:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:57:38 6f9d1e940fea: Preparing 06:57:38 02f2771d327c: Preparing 06:57:38 16d407434151: Preparing 06:57:38 0c3009be0d1c: Preparing 06:57:38 d64169ea0cd8: Preparing 06:57:38 d62a02444d39: Preparing 06:57:38 d62a02444d39: Waiting 06:57:38 0c3009be0d1c: Pushed 06:57:38 02f2771d327c: Pushed 06:57:38 d62a02444d39: Layer already exists 06:57:38 d64169ea0cd8: Pushed 06:57:38 6f9d1e940fea: Pushed 06:57:41 16d407434151: Pushed 06:57:41 a3ee41877b048388e7c3cdab8b1927d49f235cab: digest: sha256:434def1f3587149a54e21d7d34aad534feaff3a990872bb227c5973f4ee05255 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:57:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:57:42 6f9d1e940fea: Preparing 06:57:42 02f2771d327c: Preparing 06:57:42 16d407434151: Preparing 06:57:42 0c3009be0d1c: Preparing 06:57:42 d64169ea0cd8: Preparing 06:57:42 d62a02444d39: Preparing 06:57:42 d62a02444d39: Waiting 06:57:42 6f9d1e940fea: Layer already exists 06:57:42 02f2771d327c: Layer already exists 06:57:42 d64169ea0cd8: Layer already exists 06:57:42 16d407434151: Layer already exists 06:57:42 0c3009be0d1c: Layer already exists 06:57:42 d62a02444d39: Layer already exists 06:57:42 latest: digest: sha256:434def1f3587149a54e21d7d34aad534feaff3a990872bb227c5973f4ee05255 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.23 06:57:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:57:43 6f9d1e940fea: Preparing 06:57:43 02f2771d327c: Preparing 06:57:43 16d407434151: Preparing 06:57:43 0c3009be0d1c: Preparing 06:57:43 d64169ea0cd8: Preparing 06:57:43 d62a02444d39: Preparing 06:57:43 d62a02444d39: Waiting 06:57:43 d64169ea0cd8: Layer already exists 06:57:43 16d407434151: Layer already exists 06:57:43 02f2771d327c: Layer already exists 06:57:43 0c3009be0d1c: Layer already exists 06:57:43 6f9d1e940fea: Layer already exists 06:57:43 d62a02444d39: Layer already exists 06:57:43 3.2.0-dev.23: digest: sha256:434def1f3587149a54e21d7d34aad534feaff3a990872bb227c5973f4ee05255 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 06:57:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:57:43 6f9d1e940fea: Preparing 06:57:43 02f2771d327c: Preparing 06:57:43 16d407434151: Preparing 06:57:43 0c3009be0d1c: Preparing 06:57:43 d64169ea0cd8: Preparing 06:57:43 d62a02444d39: Preparing 06:57:43 d62a02444d39: Waiting 06:57:43 16d407434151: Layer already exists 06:57:43 02f2771d327c: Layer already exists 06:57:43 0c3009be0d1c: Layer already exists 06:57:43 6f9d1e940fea: Layer already exists 06:57:43 d64169ea0cd8: Layer already exists 06:57:43 d62a02444d39: Layer already exists 06:57:43 a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23: digest: sha256:434def1f3587149a54e21d7d34aad534feaff3a990872bb227c5973f4ee05255 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:57:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:57:44 6f9d1e940fea: Preparing 06:57:44 02f2771d327c: Preparing 06:57:44 16d407434151: Preparing 06:57:44 0c3009be0d1c: Preparing 06:57:44 d64169ea0cd8: Preparing 06:57:44 d62a02444d39: Preparing 06:57:44 d62a02444d39: Waiting 06:57:44 6f9d1e940fea: Layer already exists 06:57:44 02f2771d327c: Layer already exists 06:57:44 0c3009be0d1c: Layer already exists 06:57:44 d64169ea0cd8: Layer already exists 06:57:44 16d407434151: Layer already exists 06:57:44 d62a02444d39: Layer already exists 06:57:44 main: digest: sha256:434def1f3587149a54e21d7d34aad534feaff3a990872bb227c5973f4ee05255 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:57:44 ===================================================== [Pipeline] echo 06:57:44 taggedImages: 06:57:44 - nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab 06:57:44 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:57:44 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.23 06:57:44 - nexus3.edgexfoundry.org:10004/device-modbus:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 06:57:44 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } 06:57:44 00f215d4a9da: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:57:45 06:57:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:57:45 latest: Pulling from edgex-lftools-log-publisher 06:57:45 5eb5b503b376: Pulling fs layer 06:57:45 5c69ac0246d0: Pulling fs layer 06:57:45 ec43610c2a17: Pulling fs layer 06:57:45 3a2ae6a8a46f: Pulling fs layer 06:57:45 33b1e0a273af: Pulling fs layer 06:57:45 5d3b04190fa2: Pulling fs layer 06:57:45 2f39f015ded8: Pulling fs layer 06:57:45 3a2ae6a8a46f: Waiting 06:57:45 33b1e0a273af: Waiting 06:57:45 5d3b04190fa2: Waiting 06:57:45 2f39f015ded8: Waiting 06:57:45 5c69ac0246d0: Verifying Checksum 06:57:45 5c69ac0246d0: Download complete 06:57:45 3a2ae6a8a46f: Verifying Checksum 06:57:45 3a2ae6a8a46f: Download complete 06:57:45 33b1e0a273af: Verifying Checksum 06:57:45 33b1e0a273af: Download complete 06:57:45 5d3b04190fa2: Verifying Checksum 06:57:45 5d3b04190fa2: Download complete 06:57:45 ec43610c2a17: Verifying Checksum 06:57:45 5eb5b503b376: Verifying Checksum 06:57:45 5eb5b503b376: Download complete 06:57:46 2f39f015ded8: Download complete 06:57:46 d496ad576159: Pull complete 06:57:46 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:57:46 ---> f246e2811388 06:57:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:57:46 5eb5b503b376: Pull complete 06:57:46 5c69ac0246d0: Pull complete 06:57:47 ec43610c2a17: Pull complete 06:57:47 3a2ae6a8a46f: Pull complete 06:57:47 33b1e0a273af: Pull complete 06:57:47 5d3b04190fa2: Pull complete 06:57:48 ---> Running in 672bf308c2cc 06:57:48 Removing intermediate container 672bf308c2cc 06:57:48 ---> c196c84f93d1 06:57:48 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:57:48 ---> Running in e76c7c17bdca 06:57:49 Removing intermediate container e76c7c17bdca 06:57:49 ---> 0c7ece2076ca 06:57:49 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:57:49 ---> Running in 11686d1104e1 06:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:57:51 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:57:51 (2/8) Installing libedit (20221030.3.1-r1) 06:57:51 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:57:51 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:57:51 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:57:51 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:57:51 (7/8) Installing openssh-server (9.3_p2-r2) 06:57:51 (8/8) Installing openssh (9.3_p2-r2) 06:57:51 Executing busybox-1.36.1-r5.trigger 06:57:51 OK: 272 MiB in 60 packages 06:57:51 2f39f015ded8: Pull complete 06:57:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:57:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:57:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:52 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 06:57:52 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:57:52 Removing intermediate container 11686d1104e1 06:57:52 ---> 4dc475147e4c 06:57:52 Step 6/10 : WORKDIR /device-modbus-go 06:57:52 ---> Running in 5df75aa4cb36 06:57:52 Removing intermediate container 5df75aa4cb36 06:57:52 ---> b3cacfd4a817 06:57:52 Step 7/10 : COPY go.mod vendor* ./ 06:57:53 ---> 8173e617b43e 06:57:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:53 ---> Running in 3b08681b3756 06:57:56 $ docker top 86941996306ce27da19f4c82e7b13ecd28fe492cb4af899e2e5a6a80f0ba7976 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:56 ---> job-cost.sh 06:57:56 lf-activate-venv: SKIPPING 06:57:56 INFO: No Stack... 06:57:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:57:57 INFO: Archiving Costs [Pipeline] sh 06:57:57 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:57:57 + cut -d, -f6 [Pipeline] lock 06:57:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] 06:57:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] did not exist. Created. 06:57:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:57:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:57:58 Stashed 1 file(s) [Pipeline] } 06:57:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 06:57:58 $ docker stop --time=1 86941996306ce27da19f4c82e7b13ecd28fe492cb4af899e2e5a6a80f0ba7976 06:57:59 $ docker rm -f --volumes 86941996306ce27da19f4c82e7b13ecd28fe492cb4af899e2e5a6a80f0ba7976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:59:45 Removing intermediate container 3b08681b3756 06:59:45 ---> 4933af9a9c6a 06:59:45 Step 9/10 : COPY . . 06:59:45 ---> 8714860d2e7b 06:59:45 Step 10/10 : RUN ${MAKE} 06:59:45 ---> Running in e94d178a1e83 06:59:45 noop 06:59:45 Removing intermediate container e94d178a1e83 06:59:45 ---> f9123dd731d3 06:59:45 Successfully built f9123dd731d3 06:59:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:45 + docker inspect -f . ci-base-image-arm64 06:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:45 prd-ubuntu20.04-docker-arm64-4c-16g-9818 does not seem to be running inside a container 06:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/162 -v /w/workspace/device-modbus-go/162:/w/workspace/device-modbus-go/162:rw,z -v /w/workspace/device-modbus-go/162@tmp:/w/workspace/device-modbus-go/162@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 ******** ci-base-image-arm64 cat 06:59:47 $ docker top 9b498f1624f6af0bd75852216c357ebef879335ee4d35ca9738acc64931a2f29 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:47 + go version 06:59:47 go version go1.21.9 linux/arm64 [Pipeline] } 06:59:47 $ docker stop --time=1 9b498f1624f6af0bd75852216c357ebef879335ee4d35ca9738acc64931a2f29 06:59:49 $ docker rm -f --volumes 9b498f1624f6af0bd75852216c357ebef879335ee4d35ca9738acc64931a2f29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:50 + docker inspect -f . ci-base-image-arm64 06:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-9818 does not seem to be running inside a container 06:59:50 $ 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/162 -v /w/workspace/device-modbus-go/162:/w/workspace/device-modbus-go/162:rw,z -v /w/workspace/device-modbus-go/162@tmp:/w/workspace/device-modbus-go/162@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 ******** ci-base-image-arm64 cat 06:59:51 $ docker top 183e5dc7bbbd20a6f7c398d29df0792a49ee18645e132e138647b1af46adb599 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:51 + git config --global --add safe.directory /w/workspace/device-modbus-go/162 [Pipeline] fileExists [Pipeline] sh 06:59:52 + make test 06:59:52 go test ./... -coverprofile=coverage.out 06:59:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:03:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:03:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.9% of statements 07:03:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:03:44 go vet ./... 07:04:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:04:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:04:23 ./bin/test-attribution-txt.sh 07:04:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 07:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:04:23 $ docker stop --time=1 183e5dc7bbbd20a6f7c398d29df0792a49ee18645e132e138647b1af46adb599 07:04:25 $ docker rm -f --volumes 183e5dc7bbbd20a6f7c398d29df0792a49ee18645e132e138647b1af46adb599 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:27 Warning: overwriting stash ‘coverage-report’ 07:04:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:04:28 + ls -al . 07:04:28 total 268 07:04:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 06:59 . 07:04:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 06:56 .. 07:04:28 -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 06:56 .dockerignore 07:04:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 06:56 .git 07:04:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:56 .github 07:04:28 -rw-rw-r-- 1 jenkins jenkins 266 Sep 9 06:56 .gitignore 07:04:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 06:56 .golangci.yml 07:04:28 -rw-rw-r-- 1 jenkins jenkins 19432 Sep 9 06:56 Attribution.txt 07:04:28 -rw-rw-r-- 1 jenkins jenkins 16388 Sep 9 06:56 CHANGELOG.md 07:04:28 -rw-rw-r-- 1 jenkins jenkins 1474 Sep 9 06:56 Dockerfile 07:04:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 06:56 GOVERNANCE.md 07:04:28 -rw-rw-r-- 1 jenkins jenkins 658 Sep 9 06:56 Jenkinsfile 07:04:28 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 06:56 LICENSE 07:04:28 -rw-rw-r-- 1 jenkins jenkins 1942 Sep 9 06:56 Makefile 07:04:28 -rw-rw-r-- 1 jenkins jenkins 622 Sep 9 06:56 OWNERS.md 07:04:28 -rw-rw-r-- 1 jenkins jenkins 4463 Sep 9 06:56 README.md 07:04:28 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 06:55 VERSION 07:04:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 06:56 bin 07:04:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:56 cmd 07:04:28 -rw-r--r-- 1 jenkins jenkins 24601 Sep 9 07:03 coverage.out 07:04:28 -rw-rw-r-- 1 jenkins jenkins 7186 Sep 9 06:56 go.mod 07:04:28 -rw-rw-r-- 1 jenkins jenkins 102017 Sep 9 06:56 go.sum 07:04:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 06:56 internal 07:04:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 06:56 simulator 07:04:28 -rw-rw-r-- 1 jenkins jenkins 229 Sep 9 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:28 + 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=a3ee41877b048388e7c3cdab8b1927d49f235cab --label arch=arm64 --label version=3.2.0-dev.23 . 07:04:29 Sending build context to Docker daemon 9.122MB 07:04:29 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:04:29 Step 2/23 : FROM ${BASE} AS builder 07:04:29 ---> f9123dd731d3 07:04:29 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:04:29 ---> Running in ae3193ab0fef 07:04:29 Removing intermediate container ae3193ab0fef 07:04:29 ---> 51242d2e8e26 07:04:29 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:04:29 ---> Running in e1f05b79b90d 07:04:30 Removing intermediate container e1f05b79b90d 07:04:30 ---> 74ab05815327 07:04:30 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:04:30 ---> Running in 4f28a530652c 07:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:04:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:04:32 OK: 272 MiB in 60 packages 07:04:33 Removing intermediate container 4f28a530652c 07:04:33 ---> edbd92f52a10 07:04:33 Step 6/23 : WORKDIR /device-modbus-go 07:04:33 ---> Running in a7d87806756b 07:04:33 Removing intermediate container a7d87806756b 07:04:33 ---> c1e5a09c81c8 07:04:33 Step 7/23 : COPY go.mod vendor* ./ 07:04:34 ---> bb9058211ef7 07:04:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:04:34 ---> Running in 2a8479c3cf9e 07:04:36 Removing intermediate container 2a8479c3cf9e 07:04:36 ---> dd2d5a41a8aa 07:04:36 Step 9/23 : COPY . . 07:04:37 ---> 2c3a038346ab 07:04:37 Step 10/23 : RUN ${MAKE} 07:04:37 ---> Running in b024131b2b1c 07:04:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:08:00 Removing intermediate container b024131b2b1c 07:08:00 ---> b6bee3e681ad 07:08:00 Step 11/23 : FROM alpine:3.18 07:08:00 3.18: Pulling from library/alpine 07:08:00 720f3032cd11: Pulling fs layer 07:08:00 720f3032cd11: Verifying Checksum 07:08:00 720f3032cd11: Download complete 07:08:00 720f3032cd11: Pull complete 07:08:00 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 07:08:00 Status: Downloaded newer image for alpine:3.18 07:08:00 ---> 3e834921e367 07:08:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:08:00 ---> Running in c6b1c1b2eec2 07:08:00 Removing intermediate container c6b1c1b2eec2 07:08:00 ---> 4c0a30d5a0bb 07:08:00 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:08:00 ---> Running in 051c2332fe28 07:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:08:00 (1/1) Installing dumb-init (1.2.5-r2) 07:08:00 Executing busybox-1.36.1-r7.trigger 07:08:00 OK: 8 MiB in 16 packages 07:08:00 Removing intermediate container 051c2332fe28 07:08:00 ---> f85d673c9335 07:08:00 Step 14/23 : RUN apk --no-cache upgrade 07:08:00 ---> Running in e7ecf51d8608 07:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:08:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:08:00 OK: 8 MiB in 16 packages 07:08:00 Removing intermediate container e7ecf51d8608 07:08:00 ---> ead8086713f3 07:08:00 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:08:02 ---> 6446397d5eed 07:08:02 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:08:02 ---> c890b709722d 07:08:02 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:08:03 ---> 1a098c16a84b 07:08:03 Step 18/23 : EXPOSE 59901 07:08:03 ---> Running in 1c0d53e826c8 07:08:03 Removing intermediate container 1c0d53e826c8 07:08:03 ---> 65aa7ee24078 07:08:03 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:08:03 ---> Running in 66688ee15818 07:08:03 Removing intermediate container 66688ee15818 07:08:03 ---> 4a116283da40 07:08:03 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:08:03 ---> Running in 42172547d7a7 07:08:04 Removing intermediate container 42172547d7a7 07:08:04 ---> 8e231284c02e 07:08:04 Step 21/23 : LABEL arch=arm64 07:08:04 ---> Running in f4cda6c23e9d 07:08:04 Removing intermediate container f4cda6c23e9d 07:08:04 ---> 73330b25e1c0 07:08:04 Step 22/23 : LABEL git_sha=a3ee41877b048388e7c3cdab8b1927d49f235cab 07:08:04 ---> Running in de2fa1bea003 07:08:05 Removing intermediate container de2fa1bea003 07:08:05 ---> 1d4cb2cb35ea 07:08:05 Step 23/23 : LABEL version=3.2.0-dev.23 07:08:05 ---> Running in 4904efdaabcf 07:08:05 Removing intermediate container 4904efdaabcf 07:08:05 ---> cca15b2ae0a0 07:08:05 [Warning] One or more build-args [ARCH] were not consumed 07:08:05 Successfully built cca15b2ae0a0 07:08:05 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:05 provisioning config files... 07:08:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/162@tmp/config226070682872186749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:05 ---> ****-login.sh 07:08:05 nexus3.edgexfoundry.org:10001 07:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:06 Configure a credential helper to remove this warning. See 07:08:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:06 07:08:06 Login Succeeded 07:08:06 nexus3.edgexfoundry.org:10002 07:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:06 Configure a credential helper to remove this warning. See 07:08:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:06 07:08:06 Login Succeeded 07:08:06 nexus3.edgexfoundry.org:10003 07:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:06 Configure a credential helper to remove this warning. See 07:08:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:06 07:08:06 Login Succeeded 07:08:06 nexus3.edgexfoundry.org:10004 07:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:07 Configure a credential helper to remove this warning. See 07:08:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:07 07:08:07 Login Succeeded 07:08:07 ****.io 07:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:07 Configure a credential helper to remove this warning. See 07:08:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:07 07:08:07 Login Succeeded 07:08:07 ---> ****-login.sh ends [Pipeline] } 07:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:08:07 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:08:07 a3ee41877b048388e7c3cdab8b1927d49f235cab 07:08:07 latest 07:08:07 3.2.0-dev.23 07:08:07 a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 07:08:07 main 07:08:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab 07:08:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:08:08 5be0d067aa59: Preparing 07:08:08 59f62bf0f11a: Preparing 07:08:08 9d450ecf9b0d: Preparing 07:08:08 5b5c03f8ccac: Preparing 07:08:08 53260d8018af: Preparing 07:08:08 4aeaa0e7d41f: Preparing 07:08:08 4aeaa0e7d41f: Waiting 07:08:08 53260d8018af: Pushed 07:08:08 5be0d067aa59: Pushed 07:08:08 5b5c03f8ccac: Pushed 07:08:08 59f62bf0f11a: Pushed 07:08:08 4aeaa0e7d41f: Layer already exists 07:08:15 9d450ecf9b0d: Pushed 07:08:15 a3ee41877b048388e7c3cdab8b1927d49f235cab: digest: sha256:fd376f6168a39e8eb793517929e1462aed8daa9af7f54419156e10556ee9c977 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:08:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:08:15 5be0d067aa59: Preparing 07:08:15 59f62bf0f11a: Preparing 07:08:15 9d450ecf9b0d: Preparing 07:08:15 5b5c03f8ccac: Preparing 07:08:15 53260d8018af: Preparing 07:08:15 4aeaa0e7d41f: Preparing 07:08:15 5b5c03f8ccac: Layer already exists 07:08:15 53260d8018af: Layer already exists 07:08:15 59f62bf0f11a: Layer already exists 07:08:15 9d450ecf9b0d: Layer already exists 07:08:15 4aeaa0e7d41f: Layer already exists 07:08:15 5be0d067aa59: Layer already exists 07:08:16 latest: digest: sha256:fd376f6168a39e8eb793517929e1462aed8daa9af7f54419156e10556ee9c977 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.23 07:08:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:08:16 5be0d067aa59: Preparing 07:08:16 59f62bf0f11a: Preparing 07:08:16 9d450ecf9b0d: Preparing 07:08:16 5b5c03f8ccac: Preparing 07:08:16 53260d8018af: Preparing 07:08:16 4aeaa0e7d41f: Preparing 07:08:16 4aeaa0e7d41f: Waiting 07:08:16 53260d8018af: Layer already exists 07:08:16 5b5c03f8ccac: Layer already exists 07:08:16 59f62bf0f11a: Layer already exists 07:08:16 5be0d067aa59: Layer already exists 07:08:16 9d450ecf9b0d: Layer already exists 07:08:16 4aeaa0e7d41f: Layer already exists 07:08:17 3.2.0-dev.23: digest: sha256:fd376f6168a39e8eb793517929e1462aed8daa9af7f54419156e10556ee9c977 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 07:08:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:08:17 5be0d067aa59: Preparing 07:08:17 59f62bf0f11a: Preparing 07:08:17 9d450ecf9b0d: Preparing 07:08:17 5b5c03f8ccac: Preparing 07:08:17 53260d8018af: Preparing 07:08:17 4aeaa0e7d41f: Preparing 07:08:17 4aeaa0e7d41f: Waiting 07:08:17 5be0d067aa59: Layer already exists 07:08:17 53260d8018af: Layer already exists 07:08:17 9d450ecf9b0d: Layer already exists 07:08:17 5b5c03f8ccac: Layer already exists 07:08:17 59f62bf0f11a: Layer already exists 07:08:17 4aeaa0e7d41f: Layer already exists 07:08:17 a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23: digest: sha256:fd376f6168a39e8eb793517929e1462aed8daa9af7f54419156e10556ee9c977 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:08:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:08:18 5be0d067aa59: Preparing 07:08:18 59f62bf0f11a: Preparing 07:08:18 9d450ecf9b0d: Preparing 07:08:18 5b5c03f8ccac: Preparing 07:08:18 53260d8018af: Preparing 07:08:18 4aeaa0e7d41f: Preparing 07:08:18 4aeaa0e7d41f: Waiting 07:08:18 5be0d067aa59: Layer already exists 07:08:18 9d450ecf9b0d: Layer already exists 07:08:18 59f62bf0f11a: Layer already exists 07:08:18 53260d8018af: Layer already exists 07:08:18 5b5c03f8ccac: Layer already exists 07:08:18 4aeaa0e7d41f: Layer already exists 07:08:18 main: digest: sha256:fd376f6168a39e8eb793517929e1462aed8daa9af7f54419156e10556ee9c977 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:08:19 ===================================================== [Pipeline] echo 07:08:19 taggedImages: 07:08:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab 07:08:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:08:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.23 07:08:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a3ee41877b048388e7c3cdab8b1927d49f235cab-3.2.0-dev.23 07:08:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:19 07:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:19 arm64: Pulling from edgex-lftools-log-publisher 07:08:19 8998bd30e6a1: Pulling fs layer 07:08:19 04944245beec: Pulling fs layer 07:08:19 699f458cf7ca: Pulling fs layer 07:08:19 765212b225bb: Pulling fs layer 07:08:19 f23df028b6ca: Pulling fs layer 07:08:19 d65c8cfc05b1: Pulling fs layer 07:08:19 2437ff75d9bd: Pulling fs layer 07:08:19 f23df028b6ca: Waiting 07:08:19 2437ff75d9bd: Waiting 07:08:19 765212b225bb: Waiting 07:08:19 d65c8cfc05b1: Waiting 07:08:20 04944245beec: Verifying Checksum 07:08:20 04944245beec: Download complete 07:08:20 765212b225bb: Verifying Checksum 07:08:20 765212b225bb: Download complete 07:08:20 f23df028b6ca: Download complete 07:08:20 d65c8cfc05b1: Verifying Checksum 07:08:20 d65c8cfc05b1: Download complete 07:08:20 699f458cf7ca: Verifying Checksum 07:08:20 699f458cf7ca: Download complete 07:08:20 8998bd30e6a1: Verifying Checksum 07:08:20 8998bd30e6a1: Download complete 07:08:22 2437ff75d9bd: Verifying Checksum 07:08:22 2437ff75d9bd: Download complete 07:08:25 8998bd30e6a1: Pull complete 07:08:25 04944245beec: Pull complete 07:08:27 699f458cf7ca: Pull complete 07:08:27 765212b225bb: Pull complete 07:08:28 f23df028b6ca: Pull complete 07:08:28 d65c8cfc05b1: Pull complete 07:08:46 2437ff75d9bd: Pull complete 07:08:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:46 prd-ubuntu20.04-docker-arm64-4c-16g-9818 does not seem to be running inside a container 07:08:47 $ 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/162 -v /w/workspace/device-modbus-go/162:/w/workspace/device-modbus-go/162:rw,z -v /w/workspace/device-modbus-go/162@tmp:/w/workspace/device-modbus-go/162@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:08:49 $ docker top c0f875d9972546b7e7c41ee8e9412479fa60d574377974e7c4fa153a029a30de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:50 ---> job-cost.sh 07:08:50 lf-activate-venv: SKIPPING 07:08:50 INFO: No Stack... 07:08:50 INFO: Retrieving Pricing Info for: v3-standard-4 07:08:51 INFO: Archiving Costs [Pipeline] sh 07:08:52 + cat /w/workspace/device-modbus-go/162/archives/cost.csv 07:08:52 + cut -d, -f6 [Pipeline] lock 07:08:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] 07:08:52 Resource [jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] did not exist. Created. 07:08:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:52 /w/workspace/device-modbus-go/162@tmp/durable-0fabafbd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:08:53 + echo total: 0.10999999940395355 [Pipeline] stash 07:08:53 Warning: overwriting stash ‘stack-cost’ 07:08:53 Stashed 1 file(s) [Pipeline] } 07:08:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 07:08:53 $ docker stop --time=1 c0f875d9972546b7e7c41ee8e9412479fa60d574377974e7c4fa153a029a30de 07:08:54 $ docker rm -f --volumes c0f875d9972546b7e7c41ee8e9412479fa60d574377974e7c4fa153a029a30de [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 07:08:55 provisioning config files... 07:08:55 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9287129072797371862tmp [Pipeline] { [Pipeline] sh 07:08:55 + set +x 07:08:55 + bash -s -- 07:08:55 + curl -s https://codecov.io/bash 07:08:55 07:08:55 _____ _ 07:08:55 / ____| | | 07:08:55 | | ___ __| | ___ ___ _____ __ 07:08:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:55 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:55 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:55 Bash-1.0.6 07:08:55 07:08:55 07:08:55 ==> git version 2.25.1 found 07:08:55 ==> 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 07:08:55 Release-Date: 2020-01-08 07:08:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:08:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:08:55 ==> Jenkins CI detected. 07:08:55 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:08:55 project root: . 07:08:55 --> token set from env 07:08:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:55 ==> Running gcov in . (disable via -X gcov) 07:08:55 ==> Python coveragepy not found 07:08:55 ==> Searching for coverage reports in: 07:08:55 + . 07:08:55 -> Found 1 reports 07:08:55 ==> Detecting git/mercurial file structure 07:08:55 ==> Reading reports 07:08:55 + ./coverage.out bytes=24601 07:08:55 ==> Appending adjustments 07:08:55 https://docs.codecov.io/docs/fixing-reports 07:08:55 + Found adjustments 07:08:55 ==> Gzipping contents 07:08:55 4.0K /tmp/codecov.gzaF2q.gz 07:08:55 ==> Uploading reports 07:08:55 url: https://codecov.io 07:08:55 query: branch=main&commit=a3ee41877b048388e7c3cdab8b1927d49f235cab&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:55 -> Pinging Codecov 07:08:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a3ee41877b048388e7c3cdab8b1927d49f235cab&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:55 -> Uploading to 07:08:55 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/55DBCA73C666E3227836607328DD7E49/a3ee41877b048388e7c3cdab8b1927d49f235cab/991370ea-a099-4c98-9581-154108790c79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T070855Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78fd35609534a2ae1e0e82b662537aad4fbe4e50f5eeb55d2d761249660bb79e 07:08:55 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:55 Dload Upload Total Spent Left Speed 07:08:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18746 --:--:-- --:--:-- --:--:-- 18655 100 3843 0 0 100 3843 0 16353 --:--:-- --:--:-- --:--:-- 16283 07:08:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] } 07:08:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:08:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:08:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:08:56 07:08:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:08:57 latest: Pulling from edgex-devops/edgex-snyk-go 07:08:57 619be1103602: Already exists 07:08:57 f8ea3408117e: Pulling fs layer 07:08:57 91320369b822: Pulling fs layer 07:08:57 0406650e8295: Pulling fs layer 07:08:57 4f4fb700ef54: Pulling fs layer 07:08:57 96d80e3f36e1: Pulling fs layer 07:08:57 bcf3aedb951c: Pulling fs layer 07:08:57 96d80e3f36e1: Waiting 07:08:57 bcf3aedb951c: Waiting 07:08:57 4f4fb700ef54: Waiting 07:08:57 0406650e8295: Verifying Checksum 07:08:57 0406650e8295: Download complete 07:08:57 f8ea3408117e: Verifying Checksum 07:08:57 4f4fb700ef54: Download complete 07:08:57 f8ea3408117e: Pull complete 07:08:57 96d80e3f36e1: Verifying Checksum 07:08:57 96d80e3f36e1: Download complete 07:08:57 91320369b822: Download complete 07:08:57 bcf3aedb951c: Verifying Checksum 07:08:57 bcf3aedb951c: Download complete 07:09:00 91320369b822: Pull complete 07:09:00 0406650e8295: Pull complete 07:09:00 4f4fb700ef54: Pull complete 07:09:00 96d80e3f36e1: Pull complete 07:09:04 bcf3aedb951c: Pull complete 07:09:04 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:09:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:04 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:09:08 $ docker top 99df7d41d7499bcb30e0f9c5a6a40f3c267dce1db008ac1321c31e9b52fbdac6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:09:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:09:09 + set -o pipefail 07:09:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:09:19 07:09:19 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:09:19 07:09:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/9334b8d8-3f67-42f2-a118-8c8d2f04b55a 07:09:19 07:09:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:09:19 07:09:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:09:19 07:09:19 07:09:19 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:09:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:09:19 $ docker stop --time=1 99df7d41d7499bcb30e0f9c5a6a40f3c267dce1db008ac1321c31e9b52fbdac6 07:09:26 $ docker rm -f --volumes 99df7d41d7499bcb30e0f9c5a6a40f3c267dce1db008ac1321c31e9b52fbdac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:09:26 + git log --format=format:%s -1 a3ee41877b048388e7c3cdab8b1927d49f235cab [Pipeline] sh 07:09:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:09:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:09:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:27 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:09:28 $ docker top c0ac4fe9c39c756fc73994d7ef3ca0b47ebb994d2f0fe3fe0a2d2ed88a6d2b94 -eo pid,comm 07:09:28 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). 07:09:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:28 [ssh-agent] Looking for ssh-agent implementation... 07:09:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:28 $ docker exec c0ac4fe9c39c756fc73994d7ef3ca0b47ebb994d2f0fe3fe0a2d2ed88a6d2b94 ssh-agent 07:09:28 SSH_AUTH_SOCK=/tmp/ssh-GduKVb8saj2F/agent.32 07:09:28 SSH_AGENT_PID=38 07:09:28 Running ssh-add (command line suppressed) 07:09:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13297100715169875771.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13297100715169875771.key) 07:09:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:29 + git semver tag 07:09:29 2024-09-09 07:09:29,179 [run_tag] DEBUG tag force:False 07:09:29 2024-09-09 07:09:29,179 [check_head_tag] DEBUG check head tag 07:09:29 2024-09-09 07:09:29,181 [execute] INFO git cat-file --batch-check 07:09:29 2024-09-09 07:09:29,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:09:29 2024-09-09 07:09:29,185 [execute] INFO git cat-file --batch 07:09:29 2024-09-09 07:09:29,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:09:29 2024-09-09 07:09:29,207 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:29 2024-09-09 07:09:29,208 [execute] INFO git tag -a v3.2.0-dev.23 -m v3.2.0-dev.23 07:09:29 2024-09-09 07:09:29,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.23', '-m', 'v3.2.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:09:29 2024-09-09 07:09:29,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:29 3.2.0-dev.23 [Pipeline] } 07:09:29 $ docker exec --env ******** --env ******** c0ac4fe9c39c756fc73994d7ef3ca0b47ebb994d2f0fe3fe0a2d2ed88a6d2b94 ssh-agent -k 07:09:29 unset SSH_AUTH_SOCK; 07:09:29 unset SSH_AGENT_PID; 07:09:29 echo Agent pid 38 killed; 07:09:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:29 + git semver [Pipeline] } 07:09:29 $ docker stop --time=1 c0ac4fe9c39c756fc73994d7ef3ca0b47ebb994d2f0fe3fe0a2d2ed88a6d2b94 07:09:31 $ docker rm -f --volumes c0ac4fe9c39c756fc73994d7ef3ca0b47ebb994d2f0fe3fe0a2d2ed88a6d2b94 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:09:31 07:09:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:09:31 0.23.1-centos7: Pulling from edgex-lftools 07:09:31 ab5ef0e58194: Pulling fs layer 07:09:31 9712f1f96733: Pulling fs layer 07:09:31 63f879dbbcfc: Pulling fs layer 07:09:31 0d9ebad4ef96: Pulling fs layer 07:09:31 e9a5061849ea: Pulling fs layer 07:09:31 d747dcd14b5f: Pulling fs layer 07:09:31 2de7ff778b66: Pulling fs layer 07:09:31 d747dcd14b5f: Waiting 07:09:31 2de7ff778b66: Waiting 07:09:31 e9a5061849ea: Waiting 07:09:31 0d9ebad4ef96: Waiting 07:09:31 9712f1f96733: Verifying Checksum 07:09:31 9712f1f96733: Download complete 07:09:32 63f879dbbcfc: Verifying Checksum 07:09:32 63f879dbbcfc: Download complete 07:09:32 e9a5061849ea: Download complete 07:09:32 d747dcd14b5f: Download complete 07:09:32 0d9ebad4ef96: Verifying Checksum 07:09:32 0d9ebad4ef96: Download complete 07:09:32 ab5ef0e58194: Verifying Checksum 07:09:32 ab5ef0e58194: Download complete 07:09:32 2de7ff778b66: Verifying Checksum 07:09:32 2de7ff778b66: Download complete 07:09:35 ab5ef0e58194: Pull complete 07:09:35 9712f1f96733: Pull complete 07:09:35 63f879dbbcfc: Pull complete 07:09:40 0d9ebad4ef96: Pull complete 07:09:40 e9a5061849ea: Pull complete 07:09:40 d747dcd14b5f: Pull complete 07:09:40 2de7ff778b66: Pull complete 07:09:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:09:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:40 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:09:46 $ docker top 8965f27da2a2ffc839ff8ff7ee15bde612129d2d89a6d6e24e51df64f603ce5e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:09:47 provisioning config files... 07:09:47 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17593509276775290765tmp 07:09:47 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5322044081465740791tmp 07:09:47 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8457542524306839229tmp [Pipeline] { [Pipeline] echo 07:09:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:09:47 ---> sigul-configuration.sh 07:09:47 gpg: directory `/root/.gnupg' created 07:09:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:09:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:09:47 gpg: keyring `/root/.gnupg/secring.gpg' created 07:09:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:09:47 gpg: CAST5 encrypted data 07:09:47 gpg: encrypted with 1 passphrase 07:09:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:09:47 + mkdir /home/jenkins 07:09:47 + mkdir /home/jenkins/sigul [Pipeline] sh 07:09:48 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:09:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:09:48 ---> sigul-install.sh 07:09:48 Sigul already installed; skipping installation. [Pipeline] sh 07:09:48 + git tag --list 07:09:48 0.7.1 07:09:48 v1.0.0 07:09:48 v1.1.0 07:09:48 v1.1.1 07:09:48 v1.2.2 07:09:48 v1.3.0 07:09:48 v1.3.1 07:09:48 v2.0.0 07:09:48 v2.1.0 07:09:48 v2.1.1 07:09:48 v2.2.0 07:09:48 v2.3.0 07:09:48 v3.0 07:09:48 v3.0.0 07:09:48 v3.1 07:09:48 v3.1.0 07:09:48 v3.1.0-dev.1 07:09:48 v3.1.0-dev.10 07:09:48 v3.1.0-dev.11 07:09:48 v3.1.0-dev.12 07:09:48 v3.1.0-dev.13 07:09:48 v3.1.0-dev.14 07:09:48 v3.1.0-dev.15 07:09:48 v3.1.0-dev.16 07:09:48 v3.1.0-dev.17 07:09:48 v3.1.0-dev.18 07:09:48 v3.1.0-dev.19 07:09:48 v3.1.0-dev.2 07:09:48 v3.1.0-dev.20 07:09:48 v3.1.0-dev.21 07:09:48 v3.1.0-dev.22 07:09:48 v3.1.0-dev.23 07:09:48 v3.1.0-dev.24 07:09:48 v3.1.0-dev.25 07:09:48 v3.1.0-dev.3 07:09:48 v3.1.0-dev.4 07:09:48 v3.1.0-dev.5 07:09:48 v3.1.0-dev.6 07:09:48 v3.1.0-dev.7 07:09:48 v3.1.0-dev.8 07:09:48 v3.1.0-dev.9 07:09:48 v3.1.1 07:09:48 v3.1.1-dev.1 07:09:48 v3.2.0-dev.1 07:09:48 v3.2.0-dev.10 07:09:48 v3.2.0-dev.11 07:09:48 v3.2.0-dev.12 07:09:48 v3.2.0-dev.13 07:09:48 v3.2.0-dev.14 07:09:48 v3.2.0-dev.15 07:09:48 v3.2.0-dev.16 07:09:48 v3.2.0-dev.17 07:09:48 v3.2.0-dev.18 07:09:48 v3.2.0-dev.19 07:09:48 v3.2.0-dev.2 07:09:48 v3.2.0-dev.20 07:09:48 v3.2.0-dev.21 07:09:48 v3.2.0-dev.22 07:09:48 v3.2.0-dev.23 07:09:48 v3.2.0-dev.3 07:09:48 v3.2.0-dev.4 07:09:48 v3.2.0-dev.5 07:09:48 v3.2.0-dev.6 07:09:48 v3.2.0-dev.7 07:09:48 v3.2.0-dev.8 07:09:48 v3.2.0-dev.9 [Pipeline] sh 07:09:48 + lftools sign git-tag v3.2.0-dev.23 07:09:49 Signing Git tag with Sigul... 07:09:49 Signing v3.2.0-dev.23 [Pipeline] echo 07:09:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:09:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:09:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:09:50 $ docker stop --time=1 8965f27da2a2ffc839ff8ff7ee15bde612129d2d89a6d6e24e51df64f603ce5e 07:09:51 $ docker rm -f --volumes 8965f27da2a2ffc839ff8ff7ee15bde612129d2d89a6d6e24e51df64f603ce5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:09:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:09:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:52 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:09:52 $ docker top 50f16d424700b26f7dbec54e0fb92083db8bd59cff5d86f108ed47b5bbc4feea -eo pid,comm 07:09:52 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). 07:09:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:52 [ssh-agent] Looking for ssh-agent implementation... 07:09:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:52 $ docker exec 50f16d424700b26f7dbec54e0fb92083db8bd59cff5d86f108ed47b5bbc4feea ssh-agent 07:09:52 SSH_AUTH_SOCK=/tmp/ssh-kDfhkNpmTFfN/agent.31 07:09:52 SSH_AGENT_PID=37 07:09:52 Running ssh-add (command line suppressed) 07:09:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2239117532114580345.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2239117532114580345.key) 07:09:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:53 + git semver bump pre 07:09:53 2024-09-09 07:09:53,436 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:53 2024-09-09 07:09:53,436 [bump_version] DEBUG bumping version:3.2.0-dev.23 on axis:pre with prefix:dev 07:09:53 2024-09-09 07:09:53,436 [bump_version] DEBUG bumped version:3.2.0-dev.24 07:09:53 2024-09-09 07:09:53,436 [write_version] DEBUG write version:3.2.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:09:53 2024-09-09 07:09:53,436 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:53 2024-09-09 07:09:53,437 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:53 2024-09-09 07:09:53,438 [execute] INFO git cat-file --batch-check 07:09:53 2024-09-09 07:09:53,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:53 2024-09-09 07:09:53,444 [execute] INFO git cat-file --batch 07:09:53 2024-09-09 07:09:53,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:53 2024-09-09 07:09:53,448 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:53 3.2.0-dev.24 [Pipeline] } 07:09:53 $ docker exec --env ******** --env ******** 50f16d424700b26f7dbec54e0fb92083db8bd59cff5d86f108ed47b5bbc4feea ssh-agent -k 07:09:53 unset SSH_AUTH_SOCK; 07:09:53 unset SSH_AGENT_PID; 07:09:53 echo Agent pid 37 killed; 07:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:53 + git semver [Pipeline] } 07:09:54 $ docker stop --time=1 50f16d424700b26f7dbec54e0fb92083db8bd59cff5d86f108ed47b5bbc4feea 07:09:55 $ docker rm -f --volumes 50f16d424700b26f7dbec54e0fb92083db8bd59cff5d86f108ed47b5bbc4feea [Pipeline] // withDockerContainer [Pipeline] sh 07:09:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:09:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:09:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:56 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:09:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:09:56 $ docker top 8312eb68bd89ef578ef2fd6bfaef3157107e91eabf0f259e53597a4a0634589a -eo pid,comm 07:09:56 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). 07:09:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:56 [ssh-agent] Looking for ssh-agent implementation... 07:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:56 $ docker exec 8312eb68bd89ef578ef2fd6bfaef3157107e91eabf0f259e53597a4a0634589a ssh-agent 07:09:56 SSH_AUTH_SOCK=/tmp/ssh-L1JFw0hvfRrf/agent.32 07:09:56 SSH_AGENT_PID=39 07:09:56 Running ssh-add (command line suppressed) 07:09:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12568683583129743102.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12568683583129743102.key) 07:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:57 + git semver push 07:09:57 2024-09-09 07:09:57,446 [run_push] DEBUG push 07:09:57 2024-09-09 07:09:57,447 [execute] INFO git cat-file --batch-check 07:09:57 2024-09-09 07:09:57,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:57 2024-09-09 07:09:57,451 [execute] INFO git rev-list 303af8b31e32c95c72db317bac9142910ac509ab -- 07:09:57 2024-09-09 07:09:57,451 [execute] DEBUG Popen(['git', 'rev-list', '303af8b31e32c95c72db317bac9142910ac509ab', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:09:57 2024-09-09 07:09:57,462 [execute] INFO git fetch -v origin 07:09:57 2024-09-09 07:09:57,463 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:09:58 2024-09-09 07:09:57,920 [run_push] DEBUG no remote changes detected 07:09:58 2024-09-09 07:09:57,921 [execute] INFO git push origin semver 07:09:58 2024-09-09 07:09:57,921 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:09:58 2024-09-09 07:09:58,651 [run_push] DEBUG push all version tags 07:09:58 2024-09-09 07:09:58,652 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:09:58 2024-09-09 07:09:58,653 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:09:59 2024-09-09 07:09:59,391 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:09:59 3.2.0-dev.24 [Pipeline] } 07:09:59 $ docker exec --env ******** --env ******** 8312eb68bd89ef578ef2fd6bfaef3157107e91eabf0f259e53597a4a0634589a ssh-agent -k 07:09:59 unset SSH_AUTH_SOCK; 07:09:59 unset SSH_AGENT_PID; 07:09:59 echo Agent pid 39 killed; 07:09:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:00 + git semver [Pipeline] } 07:10:00 $ docker stop --time=1 8312eb68bd89ef578ef2fd6bfaef3157107e91eabf0f259e53597a4a0634589a 07:10:01 $ docker rm -f --volumes 8312eb68bd89ef578ef2fd6bfaef3157107e91eabf0f259e53597a4a0634589a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:10:02 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:10:02 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:10:02 total 16 07:10:02 drwxr-xr-x 3 root root 4096 Sep 9 06:57 . 07:10:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 07:09 .. 07:10:02 drwxr-xr-x 2 root root 4096 Sep 9 06:57 cost 07:10:02 -rw-r--r-- 1 root root 88 Sep 9 06:57 cost.csv 07:10:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:10:02 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:10:02 total 16 07:10:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 06:57 . 07:10:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 07:09 .. 07:10:02 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 06:57 cost 07:10:02 -rw-r--r-- 1 jenkins jenkins 88 Sep 9 06:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:10:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:03 ---> package-listing.sh 07:10:03 ++ tr '[:upper:]' '[:lower:]' 07:10:03 ++ facter osfamily 07:10:03 + OS_FAMILY=debian 07:10:03 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:10:03 + START_PACKAGES=/tmp/packages_start.txt 07:10:03 + END_PACKAGES=/tmp/packages_end.txt 07:10:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:03 + PACKAGES=/tmp/packages_start.txt 07:10:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:10:03 + PACKAGES=/tmp/packages_end.txt 07:10:03 + case "${OS_FAMILY}" in 07:10:03 + dpkg -l 07:10:03 + grep '^ii' 07:10:03 + '[' -f /tmp/packages_start.txt ']' 07:10:03 + '[' -f /tmp/packages_end.txt ']' 07:10:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:10:03 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:10:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:10:03 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:10:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:04 prd-ubuntu20.04-docker-8c-8g-9817 does not seem to be running inside a container 07:10:04 $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:10:04 $ docker top 34c796fdced3728b09607e9aed67f5cadcd3a8875d90bc791ef7c31fa827e096 -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:10:05 + mkdir -p /var/log/sysstat [Pipeline] sh 07:10:05 + ls /var/log/sa-host 07:10:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:05 provisioning config files... 07:10:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11238502905205073511tmp [Pipeline] { [Pipeline] echo 07:10:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:10:06 ---> create-netrc.sh [Pipeline] } 07:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:10:06 ---> python-tools-install.sh [Pipeline] echo 07:10:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:10:06 ---> sudo-logs.sh 07:10:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:10:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:10:07 ---> job-cost.sh 07:10:07 lf-activate-venv: SKIPPING 07:10:07 DEBUG: total: 0.2199999988079071 07:10:07 INFO: Retrieving Stack Cost... 07:10:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:08 INFO: Archiving Costs [Pipeline] echo 07:10:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:10:08 ---> logs-deploy.sh 07:10:08 lf-activate-venv: SKIPPING 07:10:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/162 07:10:08 INFO: archiving workspace using pattern(s): 07:10:09 Archives upload complete. 07:10:09 INFO: archiving logs to Nexus