Pull request #591 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aad41a6113c575b10fead21217372f6fec762bf2+11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 (d47c837d04d77dd92fee4cb7cd301defba0c972d) 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-ssh9389116853476693305.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh1819141601874260042.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh426479701491865559.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11200238893007852134.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14692370568681763881.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-591/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-591/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5214383722243645920.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 ‘prd-centos7-blackbox-4c-2g-26003’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-26004’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-26117’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-26112’ is offline ‘prd-ubuntu20.04-docker-8c-8g-26114’ is offline ‘prd-ubuntu20.04-docker-8c-8g-26120’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-26115’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-26116’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26121 in /w/workspace/xfoundry_device-modbus-go_PR-591 [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/xfoundry_device-modbus-go_PR-591 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit aad41a6113c575b10fead21217372f6fec762bf2 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aad41a6113c575b10fead21217372f6fec762bf2 # timeout=10 > git remote # timeout=10 Merge succeeded, producing aad41a6113c575b10fead21217372f6fec762bf2 Checking out Revision aad41a6113c575b10fead21217372f6fec762bf2 (PR-591) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aad41a6113c575b10fead21217372f6fec762bf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T05:11:26.072Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T05:11:26.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T05:11:26.429Z] ========================================================= [2024-11-11T05:11:26.430Z] EdgeX Global Pipelines Version Info [2024-11-11T05:11:26.430Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:11:27.191Z] ------------------- [2024-11-11T05:11:27.191Z] stable info: [2024-11-11T05:11:27.191Z] ------------------- [2024-11-11T05:11:27.191Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T05:11:27.191Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T05:11:27.191Z] Message: update stable to v1.0.265 [2024-11-11T05:11:27.761Z] ------------------- [2024-11-11T05:11:27.761Z] experimental info: [2024-11-11T05:11:27.761Z] ------------------- [2024-11-11T05:11:27.761Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T05:11:27.761Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T05:11:27.761Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T05:11:28.012Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-11T05:11:28.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-11T05:11:28.138Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T05:11:28.199Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T05:11:28.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T05:11:28.320Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T05:11:28.382Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T05:11:28.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-11T05:11:28.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T05:11:28.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T05:11:28.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T05:11:28.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-11T05:11:28.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T05:11:28.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T05:11:28.864Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T05:11:28.930Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T05:11:28.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T05:11:29.047Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T05:11:29.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T05:11:29.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T05:11:29.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-11T05:11:29.271Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-11T05:11:29.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T05:11:29.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T05:11:29.445Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T05:11:29.500Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T05:11:29.555Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T05:11:29.612Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo [2024-11-11T05:11:29.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo [2024-11-11T05:11:29.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo [2024-11-11T05:11:29.799Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aad41a6113c575b10fead21217372f6fec762bf2 [Pipeline] echo [2024-11-11T05:11:29.859Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aad41a6 [Pipeline] echo [2024-11-11T05:11:29.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T05:11:30.073Z] provisioning config files... [2024-11-11T05:11:30.090Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/config5604199439679803228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:11:30.479Z] ---> ****-login.sh [2024-11-11T05:11:30.479Z] nexus3.edgexfoundry.org:10001 [2024-11-11T05:11:30.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:30.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:30.741Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:30.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:30.741Z] [2024-11-11T05:11:30.741Z] Login Succeeded [2024-11-11T05:11:30.741Z] nexus3.edgexfoundry.org:10002 [2024-11-11T05:11:31.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:31.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:31.004Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:31.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:31.004Z] [2024-11-11T05:11:31.004Z] Login Succeeded [2024-11-11T05:11:31.004Z] nexus3.edgexfoundry.org:10003 [2024-11-11T05:11:31.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:31.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:31.004Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:31.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:31.004Z] [2024-11-11T05:11:31.004Z] Login Succeeded [2024-11-11T05:11:31.004Z] nexus3.edgexfoundry.org:10004 [2024-11-11T05:11:31.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:31.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:31.267Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:31.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:31.267Z] [2024-11-11T05:11:31.267Z] Login Succeeded [2024-11-11T05:11:31.267Z] ****.io [2024-11-11T05:11:31.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:31.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:31.527Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:31.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:31.527Z] [2024-11-11T05:11:31.527Z] Login Succeeded [2024-11-11T05:11:31.527Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T05:11:31.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T05:11:32.271Z] + git rev-list -1 --merges aad41a6113c575b10fead21217372f6fec762bf2~1..aad41a6113c575b10fead21217372f6fec762bf2 [Pipeline] echo [2024-11-11T05:11:32.322Z] -----------> git rev-list -1 --merges aad41a6113c575b10fead21217372f6fec762bf2~1..aad41a6113c575b10fead21217372f6fec762bf2 aad41a6113c575b10fead21217372f6fec762bf2 [false] [Pipeline] sh [2024-11-11T05:11:32.646Z] + git log --format=format:%s -1 aad41a6113c575b10fead21217372f6fec762bf2 [Pipeline] echo [2024-11-11T05:11:32.687Z] ========================================================= [2024-11-11T05:11:32.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T05:11:32.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T05:11:33.149Z] + git log --format=format:%s -1 aad41a6113c575b10fead21217372f6fec762bf2 [Pipeline] echo [2024-11-11T05:11:33.189Z] [semverPrep] GIT_COMMIT: aad41a6113c575b10fead21217372f6fec762bf2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-11T05:11:33.234Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T05:11:33.629Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T05:11:33.629Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T05:11:33.629Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T05:11:33.629Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T05:11:33.629Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T05:11:33.629Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T05:11:33.629Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:11:34.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T05:11:34.091Z] [2024-11-11T05:11:34.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:11:34.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T05:11:34.491Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T05:11:34.491Z] b85a868b505f: Pulling fs layer [2024-11-11T05:11:34.491Z] e2be974225ed: Pulling fs layer [2024-11-11T05:11:34.491Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T05:11:34.491Z] 988bab9f4d93: Pulling fs layer [2024-11-11T05:11:34.491Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T05:11:34.491Z] eaf3925da568: Pulling fs layer [2024-11-11T05:11:34.491Z] bab4dde63d76: Pulling fs layer [2024-11-11T05:11:34.491Z] bde34c3a00c8: Pulling fs layer [2024-11-11T05:11:34.491Z] b352a97aabf1: Pulling fs layer [2024-11-11T05:11:34.491Z] 4872d77fe225: Pulling fs layer [2024-11-11T05:11:34.491Z] 5851b861e8e6: Pulling fs layer [2024-11-11T05:11:34.491Z] b352a97aabf1: Waiting [2024-11-11T05:11:34.491Z] bab4dde63d76: Waiting [2024-11-11T05:11:34.491Z] bde34c3a00c8: Waiting [2024-11-11T05:11:34.491Z] 4872d77fe225: Waiting [2024-11-11T05:11:34.491Z] 5851b861e8e6: Waiting [2024-11-11T05:11:34.491Z] 1469e6f7b9e6: Waiting [2024-11-11T05:11:34.491Z] eaf3925da568: Waiting [2024-11-11T05:11:34.491Z] e2be974225ed: Download complete [2024-11-11T05:11:34.491Z] 988bab9f4d93: Verifying Checksum [2024-11-11T05:11:34.491Z] 988bab9f4d93: Download complete [2024-11-11T05:11:34.491Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T05:11:34.491Z] 1469e6f7b9e6: Download complete [2024-11-11T05:11:34.491Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T05:11:34.491Z] 339a4e72a1f5: Download complete [2024-11-11T05:11:34.749Z] eaf3925da568: Verifying Checksum [2024-11-11T05:11:34.749Z] eaf3925da568: Download complete [2024-11-11T05:11:34.749Z] bde34c3a00c8: Verifying Checksum [2024-11-11T05:11:34.749Z] bde34c3a00c8: Download complete [2024-11-11T05:11:34.750Z] b352a97aabf1: Download complete [2024-11-11T05:11:34.750Z] 4872d77fe225: Verifying Checksum [2024-11-11T05:11:34.750Z] 4872d77fe225: Download complete [2024-11-11T05:11:34.750Z] 5851b861e8e6: Download complete [2024-11-11T05:11:34.750Z] b85a868b505f: Verifying Checksum [2024-11-11T05:11:34.750Z] b85a868b505f: Download complete [2024-11-11T05:11:35.007Z] bab4dde63d76: Verifying Checksum [2024-11-11T05:11:35.007Z] bab4dde63d76: Download complete [2024-11-11T05:11:35.943Z] b85a868b505f: Pull complete [2024-11-11T05:11:36.202Z] e2be974225ed: Pull complete [2024-11-11T05:11:36.786Z] 339a4e72a1f5: Pull complete [2024-11-11T05:11:36.786Z] 988bab9f4d93: Pull complete [2024-11-11T05:11:37.049Z] 1469e6f7b9e6: Pull complete [2024-11-11T05:11:37.049Z] eaf3925da568: Pull complete [2024-11-11T05:11:38.954Z] bab4dde63d76: Pull complete [2024-11-11T05:11:39.213Z] bde34c3a00c8: Pull complete [2024-11-11T05:11:39.213Z] b352a97aabf1: Pull complete [2024-11-11T05:11:39.471Z] 4872d77fe225: Pull complete [2024-11-11T05:11:39.471Z] 5851b861e8e6: Pull complete [2024-11-11T05:11:39.471Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T05:11:39.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T05:11:39.471Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:11:39.772Z] prd-ubuntu20.04-docker-8c-8g-26121 does not seem to be running inside a container [2024-11-11T05:11:39.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-591 -v /w/workspace/xfoundry_device-modbus-go_PR-591:/w/workspace/xfoundry_device-modbus-go_PR-591:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-591@tmp:/w/workspace/xfoundry_device-modbus-go_PR-591@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 [2024-11-11T05:11:42.008Z] $ docker top eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b -eo pid,comm [2024-11-11T05:11:42.068Z] 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). [2024-11-11T05:11:42.068Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T05:11:42.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T05:11:42.244Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T05:11:42.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T05:11:42.359Z] $ docker exec eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b ssh-agent [2024-11-11T05:11:42.475Z] SSH_AUTH_SOCK=/tmp/ssh-6b5IkRfAAQBL/agent.32 [2024-11-11T05:11:42.476Z] SSH_AGENT_PID=38 [2024-11-11T05:11:42.480Z] Running ssh-add (command line suppressed) [2024-11-11T05:11:42.594Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-591@tmp/private_key_11668751476246066343.key (/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/private_key_11668751476246066343.key) [2024-11-11T05:11:42.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T05:11:42.957Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T05:11:42.980Z] $ docker exec --env ******** --env ******** eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b ssh-agent -k [2024-11-11T05:11:43.090Z] unset SSH_AUTH_SOCK; [2024-11-11T05:11:43.090Z] unset SSH_AGENT_PID; [2024-11-11T05:11:43.090Z] echo Agent pid 38 killed; [2024-11-11T05:11:43.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T05:11:43.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T05:11:43.228Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T05:11:43.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T05:11:43.341Z] $ docker exec eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b ssh-agent [2024-11-11T05:11:43.460Z] SSH_AUTH_SOCK=/tmp/ssh-PxhTTtv3cLym/agent.71 [2024-11-11T05:11:43.460Z] SSH_AGENT_PID=77 [2024-11-11T05:11:43.466Z] Running ssh-add (command line suppressed) [2024-11-11T05:11:43.581Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-591@tmp/private_key_5977809296861766880.key (/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/private_key_5977809296861766880.key) [2024-11-11T05:11:43.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T05:11:43.951Z] + git semver init [2024-11-11T05:11:44.213Z] 2024-11-11 05:11:44,118 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T05:11:44.213Z] 2024-11-11 05:11:44,119 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-591/.semver [2024-11-11T05:11:44.213Z] 2024-11-11 05:11:44,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-591/.semver [2024-11-11T05:11:44.213Z] 2024-11-11 05:11:44,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-591/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-591, universal_newlines=False, shell=None, istream=None) [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,118 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-591/.git/info/exclude [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-591/.semver/PR-591 with force:False [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,119 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-591/.semver/PR-591 [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,124 [execute] INFO git cat-file --batch-check [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-591/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,130 [execute] INFO git cat-file --batch [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-591/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T05:11:45.154Z] 2024-11-11 05:11:45,136 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-591/.semver/PR-591 [2024-11-11T05:11:45.154Z] 0.0.0 [Pipeline] } [2024-11-11T05:11:45.432Z] $ docker exec --env ******** --env ******** eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b ssh-agent -k [2024-11-11T05:11:45.541Z] unset SSH_AUTH_SOCK; [2024-11-11T05:11:45.541Z] unset SSH_AGENT_PID; [2024-11-11T05:11:45.542Z] echo Agent pid 77 killed; [2024-11-11T05:11:45.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T05:11:46.019Z] + git semver [Pipeline] } [2024-11-11T05:11:46.309Z] $ docker stop --time=1 eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b [2024-11-11T05:11:47.602Z] $ docker rm -f --volumes eb88371cb0021c88a891379072b4bbed9c34c6d12db41f4d94c5652b8f9dd57b [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T05:11:48.030Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T05:11:48.341Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T05:11:48.367Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T05:11:49.092Z] provisioning config files... [2024-11-11T05:11:49.104Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/config3153073618002512991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:11:49.478Z] ---> ****-login.sh [2024-11-11T05:11:49.478Z] nexus3.edgexfoundry.org:10001 [2024-11-11T05:11:49.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:49.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:49.478Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:49.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:49.479Z] [2024-11-11T05:11:49.479Z] Login Succeeded [2024-11-11T05:11:49.479Z] nexus3.edgexfoundry.org:10002 [2024-11-11T05:11:49.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:49.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:49.479Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:49.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:49.479Z] [2024-11-11T05:11:49.479Z] Login Succeeded [2024-11-11T05:11:49.479Z] nexus3.edgexfoundry.org:10003 [2024-11-11T05:11:49.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:49.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:49.741Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:49.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:49.741Z] [2024-11-11T05:11:49.741Z] Login Succeeded [2024-11-11T05:11:49.741Z] nexus3.edgexfoundry.org:10004 [2024-11-11T05:11:49.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:49.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:49.741Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:49.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:49.741Z] [2024-11-11T05:11:49.741Z] Login Succeeded [2024-11-11T05:11:49.741Z] ****.io [2024-11-11T05:11:50.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:11:50.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:11:50.001Z] Configure a credential helper to remove this warning. See [2024-11-11T05:11:50.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:11:50.001Z] [2024-11-11T05:11:50.001Z] Login Succeeded [2024-11-11T05:11:50.001Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T05:11:50.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T05:11:50.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T05:11:50.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T05:11:50.351Z] ========================================================= [2024-11-11T05:11:50.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T05:11:50.351Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:11:50.854Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T05:11:50.854Z] Sending build context to Docker daemon 18.03MB [2024-11-11T05:11:50.854Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T05:11:50.854Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T05:11:50.854Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T05:11:50.854Z] 43c4264eed91: Pulling fs layer [2024-11-11T05:11:50.854Z] 4cc291be95ef: Pulling fs layer [2024-11-11T05:11:50.854Z] 2ac1f1163629: Pulling fs layer [2024-11-11T05:11:50.854Z] 5c3c966382ef: Pulling fs layer [2024-11-11T05:11:50.854Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T05:11:50.854Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T05:11:50.854Z] 9f66e0745190: Pulling fs layer [2024-11-11T05:11:50.854Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T05:11:50.854Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T05:11:50.854Z] 4f4fb700ef54: Waiting [2024-11-11T05:11:50.854Z] 5d5c8e513c77: Waiting [2024-11-11T05:11:50.854Z] 9f66e0745190: Waiting [2024-11-11T05:11:50.854Z] 5c3c966382ef: Waiting [2024-11-11T05:11:50.854Z] f49a43e4bbc0: Waiting [2024-11-11T05:11:50.854Z] 561ebcabdf7f: Waiting [2024-11-11T05:11:51.117Z] 4cc291be95ef: Verifying Checksum [2024-11-11T05:11:51.117Z] 4cc291be95ef: Download complete [2024-11-11T05:11:51.117Z] 5c3c966382ef: Verifying Checksum [2024-11-11T05:11:51.117Z] 5c3c966382ef: Download complete [2024-11-11T05:11:51.117Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T05:11:51.117Z] 4f4fb700ef54: Download complete [2024-11-11T05:11:51.117Z] 5d5c8e513c77: Verifying Checksum [2024-11-11T05:11:51.117Z] 5d5c8e513c77: Download complete [2024-11-11T05:11:51.117Z] 43c4264eed91: Download complete [2024-11-11T05:11:51.117Z] 9f66e0745190: Verifying Checksum [2024-11-11T05:11:51.117Z] 9f66e0745190: Download complete [2024-11-11T05:11:51.117Z] 43c4264eed91: Pull complete [2024-11-11T05:11:51.377Z] 561ebcabdf7f: Verifying Checksum [2024-11-11T05:11:51.377Z] 561ebcabdf7f: Download complete [2024-11-11T05:11:51.377Z] 4cc291be95ef: Pull complete [2024-11-11T05:11:51.636Z] 2ac1f1163629: Verifying Checksum [2024-11-11T05:11:51.636Z] 2ac1f1163629: Download complete [2024-11-11T05:11:51.636Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T05:11:51.636Z] f49a43e4bbc0: Download complete [2024-11-11T05:11:55.842Z] 2ac1f1163629: Pull complete [2024-11-11T05:11:55.843Z] 5c3c966382ef: Pull complete [2024-11-11T05:11:55.843Z] 4f4fb700ef54: Pull complete [2024-11-11T05:11:55.843Z] 5d5c8e513c77: Pull complete [2024-11-11T05:11:55.843Z] 9f66e0745190: Pull complete [2024-11-11T05:11:58.379Z] f49a43e4bbc0: Pull complete [2024-11-11T05:11:58.379Z] 561ebcabdf7f: Pull complete [2024-11-11T05:11:58.379Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T05:11:58.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T05:11:58.379Z] ---> 3a752c3f9dda [2024-11-11T05:11:58.379Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-11T05:12:02.588Z] ---> Running in 1b8a66503bc3 [2024-11-11T05:12:02.588Z] Removing intermediate container 1b8a66503bc3 [2024-11-11T05:12:02.588Z] ---> 285f48ac3580 [2024-11-11T05:12:02.588Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T05:12:02.588Z] ---> Running in d03acdda1b9e [2024-11-11T05:12:02.588Z] Removing intermediate container d03acdda1b9e [2024-11-11T05:12:02.588Z] ---> 3150c53d5af3 [2024-11-11T05:12:02.588Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-11T05:12:02.588Z] ---> Running in 97ecab65945a [2024-11-11T05:12:02.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T05:12:02.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T05:12:02.848Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-11T05:12:02.848Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-11T05:12:02.848Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-11T05:12:02.848Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:12:02.848Z] OK: 252 MiB in 62 packages [2024-11-11T05:12:03.418Z] Removing intermediate container 97ecab65945a [2024-11-11T05:12:03.418Z] ---> 2ed32845dd79 [2024-11-11T05:12:03.418Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-11T05:12:03.418Z] ---> Running in cfb80f0472be [2024-11-11T05:12:03.418Z] Removing intermediate container cfb80f0472be [2024-11-11T05:12:03.418Z] ---> 754c7f9157b1 [2024-11-11T05:12:03.418Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T05:12:03.678Z] ---> 51fb05b44e94 [2024-11-11T05:12:03.678Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T05:12:03.678Z] ---> Running in d15b7d5823e5 [2024-11-11T05:12:03.873Z] Still waiting to schedule task [2024-11-11T05:12:03.873Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26119’ [2024-11-11T05:12:50.432Z] Removing intermediate container d15b7d5823e5 [2024-11-11T05:12:50.432Z] ---> 53e8b646b5b9 [2024-11-11T05:12:50.432Z] Step 9/10 : COPY . . [2024-11-11T05:12:50.432Z] ---> 9a74af09315c [2024-11-11T05:12:50.432Z] Step 10/10 : RUN ${MAKE} [2024-11-11T05:12:50.432Z] ---> Running in a8967fc23816 [2024-11-11T05:12:50.432Z] noop [2024-11-11T05:12:50.432Z] Removing intermediate container a8967fc23816 [2024-11-11T05:12:50.432Z] ---> 94b294a96104 [2024-11-11T05:12:50.432Z] Successfully built 94b294a96104 [2024-11-11T05:12:50.432Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:12:50.912Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T05:12:50.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:12:51.104Z] prd-ubuntu20.04-docker-8c-8g-26121 does not seem to be running inside a container [2024-11-11T05:12:51.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-591 -v /w/workspace/xfoundry_device-modbus-go_PR-591:/w/workspace/xfoundry_device-modbus-go_PR-591:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-591@tmp:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T05:12:51.494Z] $ docker top 0f1d94f1ce5c49f31a67847c3fcd94ba277f713665e4012ed14774171c43e954 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:12:51.915Z] + go version [2024-11-11T05:12:51.915Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T05:12:51.952Z] $ docker stop --time=1 0f1d94f1ce5c49f31a67847c3fcd94ba277f713665e4012ed14774171c43e954 [2024-11-11T05:12:53.246Z] $ docker rm -f --volumes 0f1d94f1ce5c49f31a67847c3fcd94ba277f713665e4012ed14774171c43e954 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:12:54.034Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T05:12:54.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:12:54.203Z] prd-ubuntu20.04-docker-8c-8g-26121 does not seem to be running inside a container [2024-11-11T05:12:54.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-591 -v /w/workspace/xfoundry_device-modbus-go_PR-591:/w/workspace/xfoundry_device-modbus-go_PR-591:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-591@tmp:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T05:12:54.608Z] $ docker top 85a8b7f4c4b764aa33187b33e66ae3d9ff3ac56e55f3b4822be55dff4246604d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:12:55.121Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-591 [Pipeline] fileExists [Pipeline] sh [2024-11-11T05:12:55.490Z] + make test [2024-11-11T05:12:55.490Z] go test ./... -coverprofile=coverage.out [2024-11-11T05:12:56.863Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-11T05:13:18.803Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-11T05:13:18.803Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements [2024-11-11T05:13:29.703Z] go vet ./... [2024-11-11T05:13:34.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T05:13:34.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T05:13:34.976Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T05:13:35.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T05:13:35.078Z] $ docker stop --time=1 85a8b7f4c4b764aa33187b33e66ae3d9ff3ac56e55f3b4822be55dff4246604d [2024-11-11T05:13:38.249Z] $ docker rm -f --volumes 85a8b7f4c4b764aa33187b33e66ae3d9ff3ac56e55f3b4822be55dff4246604d [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T05:13:38.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T05:13:38.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T05:13:39.617Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T05:13:39.936Z] + ls -al . [2024-11-11T05:13:39.936Z] total 260 [2024-11-11T05:13:39.936Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 05:12 . [2024-11-11T05:13:39.936Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:11 .. [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 05:11 .dockerignore [2024-11-11T05:13:39.936Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 05:13 .git [2024-11-11T05:13:39.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:11 .github [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 11 05:11 .gitignore [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 05:11 .golangci.yml [2024-11-11T05:13:39.936Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 05:11 .semver [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 11 05:11 Attribution.txt [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 11 05:11 CHANGELOG.md [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 11 05:11 Dockerfile [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 05:11 GOVERNANCE.md [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 11 05:11 Jenkinsfile [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 05:11 LICENSE [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 11 05:11 Makefile [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 11 05:11 OWNERS.md [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 11 05:11 README.md [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 05:11 VERSION [2024-11-11T05:13:39.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:11 bin [2024-11-11T05:13:39.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:11 cmd [2024-11-11T05:13:39.936Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 11 05:13 coverage.out [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 6441 Nov 11 05:11 go.mod [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 87679 Nov 11 05:11 go.sum [2024-11-11T05:13:39.936Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:11 internal [2024-11-11T05:13:39.936Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:11 simulator [2024-11-11T05:13:39.936Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 11 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:13:40.376Z] + 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=aad41a6113c575b10fead21217372f6fec762bf2 --label arch=amd64 --label version=0.0.0 . [2024-11-11T05:13:40.376Z] Sending build context to Docker daemon 18.05MB [2024-11-11T05:13:40.376Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T05:13:40.376Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-11T05:13:40.376Z] ---> 94b294a96104 [2024-11-11T05:13:40.376Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-11T05:13:40.636Z] ---> Running in 10c4d63916d1 [2024-11-11T05:13:40.636Z] Removing intermediate container 10c4d63916d1 [2024-11-11T05:13:40.636Z] ---> 54c0d3134533 [2024-11-11T05:13:40.636Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T05:13:40.898Z] ---> Running in 6f1e824f2bbe [2024-11-11T05:13:40.898Z] Removing intermediate container 6f1e824f2bbe [2024-11-11T05:13:40.898Z] ---> 699830855ff8 [2024-11-11T05:13:40.898Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-11T05:13:40.898Z] ---> Running in 6ada5ca45c11 [2024-11-11T05:13:41.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T05:13:41.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T05:13:41.418Z] OK: 252 MiB in 62 packages [2024-11-11T05:13:41.988Z] Removing intermediate container 6ada5ca45c11 [2024-11-11T05:13:41.988Z] ---> 3dbc6fd7da65 [2024-11-11T05:13:41.988Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-11T05:13:41.988Z] ---> Running in 3e90651df9ef [2024-11-11T05:13:41.988Z] Removing intermediate container 3e90651df9ef [2024-11-11T05:13:41.988Z] ---> 1a3dfed19e70 [2024-11-11T05:13:41.988Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-11T05:13:42.249Z] ---> 5a5da7689b03 [2024-11-11T05:13:42.249Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T05:13:42.249Z] ---> Running in 83c192c08cd3 [2024-11-11T05:13:42.820Z] Removing intermediate container 83c192c08cd3 [2024-11-11T05:13:42.820Z] ---> 9ef8ee253ab5 [2024-11-11T05:13:42.820Z] Step 9/23 : COPY . . [2024-11-11T05:13:43.392Z] ---> ceedcff4d42b [2024-11-11T05:13:43.392Z] Step 10/23 : RUN ${MAKE} [2024-11-11T05:13:43.392Z] ---> Running in 7c985a776437 [2024-11-11T05:13:43.654Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.5 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-11T05:14:15.743Z] Removing intermediate container 7c985a776437 [2024-11-11T05:14:15.743Z] ---> 8dfc395c0fe9 [2024-11-11T05:14:15.743Z] Step 11/23 : FROM alpine:3.20 [2024-11-11T05:14:15.743Z] 3.20: Pulling from library/alpine [2024-11-11T05:14:15.743Z] 43c4264eed91: Already exists [2024-11-11T05:14:15.743Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T05:14:15.743Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T05:14:15.743Z] ---> 91ef0af61f39 [2024-11-11T05:14:15.743Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-11T05:14:15.743Z] ---> Running in ffb647273351 [2024-11-11T05:14:15.743Z] Removing intermediate container ffb647273351 [2024-11-11T05:14:15.743Z] ---> 19a7802e92dd [2024-11-11T05:14:15.743Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-11T05:14:15.743Z] ---> Running in adc3682abb25 [2024-11-11T05:14:15.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:15.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:15.743Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T05:14:15.743Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:14:15.743Z] OK: 8 MiB in 15 packages [2024-11-11T05:14:15.743Z] Removing intermediate container adc3682abb25 [2024-11-11T05:14:15.743Z] ---> 993888c737bf [2024-11-11T05:14:15.743Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-11T05:14:16.006Z] ---> Running in 45a0157ca514 [2024-11-11T05:14:16.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:16.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:16.525Z] Upgrading critical system libraries and apk-tools: [2024-11-11T05:14:16.525Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T05:14:16.525Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:14:16.525Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T05:14:16.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:16.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T05:14:17.046Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:14:17.046Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:14:17.046Z] OK: 8 MiB in 15 packages [2024-11-11T05:14:17.620Z] Removing intermediate container 45a0157ca514 [2024-11-11T05:14:17.620Z] ---> 42b90ec50d00 [2024-11-11T05:14:17.620Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-11T05:14:18.557Z] ---> 71661ec8c523 [2024-11-11T05:14:18.557Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-11T05:14:18.557Z] ---> ebcf6ff64c7c [2024-11-11T05:14:18.557Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-11T05:14:18.816Z] ---> a6c880cfeff6 [2024-11-11T05:14:18.816Z] Step 18/23 : EXPOSE 59901 [2024-11-11T05:14:18.816Z] ---> Running in b6ea71d3208d [2024-11-11T05:14:18.816Z] Removing intermediate container b6ea71d3208d [2024-11-11T05:14:18.816Z] ---> 404d04e4f903 [2024-11-11T05:14:18.816Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-11T05:14:18.816Z] ---> Running in d824bef373b8 [2024-11-11T05:14:19.075Z] Removing intermediate container d824bef373b8 [2024-11-11T05:14:19.075Z] ---> 0ca3769a58a3 [2024-11-11T05:14:19.075Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T05:14:19.075Z] ---> Running in 026bbe7c75ff [2024-11-11T05:14:19.075Z] Removing intermediate container 026bbe7c75ff [2024-11-11T05:14:19.075Z] ---> 91fb3d9147fc [2024-11-11T05:14:19.075Z] Step 21/23 : LABEL arch=amd64 [2024-11-11T05:14:19.075Z] ---> Running in e5f30bf2acd2 [2024-11-11T05:14:19.075Z] Removing intermediate container e5f30bf2acd2 [2024-11-11T05:14:19.075Z] ---> 0e8ea86a2438 [2024-11-11T05:14:19.075Z] Step 22/23 : LABEL git_sha=aad41a6113c575b10fead21217372f6fec762bf2 [2024-11-11T05:14:19.075Z] ---> Running in b8bb5223ab6d [2024-11-11T05:14:19.340Z] Removing intermediate container b8bb5223ab6d [2024-11-11T05:14:19.340Z] ---> b9aaa661987c [2024-11-11T05:14:19.340Z] Step 23/23 : LABEL version=0.0.0 [2024-11-11T05:14:19.340Z] ---> Running in c99c70f017d8 [2024-11-11T05:14:19.340Z] Removing intermediate container c99c70f017d8 [2024-11-11T05:14:19.340Z] ---> 15e4c8b3e21e [2024-11-11T05:14:19.340Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T05:14:19.340Z] Successfully built 15e4c8b3e21e [2024-11-11T05:14:19.340Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [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 [2024-11-11T05:14:20.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T05:14:20.454Z] [2024-11-11T05:14:20.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:14:20.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T05:14:20.852Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T05:14:20.852Z] 5eb5b503b376: Pulling fs layer [2024-11-11T05:14:20.852Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T05:14:20.852Z] ec43610c2a17: Pulling fs layer [2024-11-11T05:14:20.852Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T05:14:20.852Z] 33b1e0a273af: Pulling fs layer [2024-11-11T05:14:20.852Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T05:14:20.852Z] 2f39f015ded8: Pulling fs layer [2024-11-11T05:14:20.852Z] 3a2ae6a8a46f: Waiting [2024-11-11T05:14:20.852Z] 2f39f015ded8: Waiting [2024-11-11T05:14:20.852Z] 5d3b04190fa2: Waiting [2024-11-11T05:14:20.852Z] 33b1e0a273af: Waiting [2024-11-11T05:14:20.852Z] 5c69ac0246d0: Download complete [2024-11-11T05:14:20.852Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-11T05:14:20.852Z] 3a2ae6a8a46f: Download complete [2024-11-11T05:14:20.852Z] 33b1e0a273af: Verifying Checksum [2024-11-11T05:14:20.852Z] 33b1e0a273af: Download complete [2024-11-11T05:14:20.852Z] ec43610c2a17: Verifying Checksum [2024-11-11T05:14:20.852Z] ec43610c2a17: Download complete [2024-11-11T05:14:20.852Z] 5d3b04190fa2: Download complete [2024-11-11T05:14:21.111Z] 5eb5b503b376: Verifying Checksum [2024-11-11T05:14:21.111Z] 5eb5b503b376: Download complete [2024-11-11T05:14:21.677Z] 2f39f015ded8: Verifying Checksum [2024-11-11T05:14:22.244Z] 5eb5b503b376: Pull complete [2024-11-11T05:14:22.503Z] 5c69ac0246d0: Pull complete [2024-11-11T05:14:22.761Z] ec43610c2a17: Pull complete [2024-11-11T05:14:23.020Z] 3a2ae6a8a46f: Pull complete [2024-11-11T05:14:23.280Z] 33b1e0a273af: Pull complete [2024-11-11T05:14:23.280Z] 5d3b04190fa2: Pull complete [2024-11-11T05:14:27.467Z] 2f39f015ded8: Pull complete [2024-11-11T05:14:27.468Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T05:14:27.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T05:14:27.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:14:27.733Z] prd-ubuntu20.04-docker-8c-8g-26121 does not seem to be running inside a container [2024-11-11T05:14:27.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-591 -v /w/workspace/xfoundry_device-modbus-go_PR-591:/w/workspace/xfoundry_device-modbus-go_PR-591:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-591@tmp:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T05:14:30.458Z] $ docker top 9e762e5369393d99aa982887a202dbe77600814e4ed89038a250d995b34ff456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:14:30.932Z] ---> job-cost.sh [2024-11-11T05:14:30.932Z] lf-activate-venv: SKIPPING [2024-11-11T05:14:30.932Z] INFO: No Stack... [2024-11-11T05:14:31.500Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T05:14:31.762Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T05:14:32.087Z] + cut -d, -f6 [2024-11-11T05:14:32.087Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-591/archives/cost.csv [Pipeline] lock [2024-11-11T05:14:32.146Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [2024-11-11T05:14:32.152Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] did not exist. Created. [2024-11-11T05:14:32.158Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T05:14:32.585Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T05:14:32.647Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T05:14:32.688Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T05:14:32.777Z] $ docker stop --time=1 9e762e5369393d99aa982887a202dbe77600814e4ed89038a250d995b34ff456 [2024-11-11T05:14:33.930Z] $ docker rm -f --volumes 9e762e5369393d99aa982887a202dbe77600814e4ed89038a250d995b34ff456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T05:14:57.893Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26123 in /w/workspace/xfoundry_device-modbus-go_PR-591 [Pipeline] { [Pipeline] ws [2024-11-11T05:14:57.957Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-11-11T05:15:01.057Z] The recommended git tool is: git [2024-11-11T05:15:06.897Z] using credential edgex-jenkins-ssh [2024-11-11T05:15:06.928Z] Cloning the remote Git repository [2024-11-11T05:15:06.989Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-11T05:15:07.106Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-11-11T05:15:07.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-11T05:15:07.299Z] > git --version # timeout=10 [2024-11-11T05:15:07.325Z] > git --version # 'git version 2.25.1' [2024-11-11T05:15:07.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T05:15:07.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T05:15:09.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-11T05:15:09.647Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T05:15:10.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-11T05:15:10.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-11T05:15:10.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T05:15:10.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T05:15:11.445Z] Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit aad41a6113c575b10fead21217372f6fec762bf2 [2024-11-11T05:15:11.892Z] Merge succeeded, producing aad41a6113c575b10fead21217372f6fec762bf2 [2024-11-11T05:15:11.892Z] Checking out Revision aad41a6113c575b10fead21217372f6fec762bf2 (PR-591) [2024-11-11T05:15:12.641Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-11T05:15:12.716Z] > git --version # timeout=10 [2024-11-11T05:15:12.730Z] > git --version # 'git version 2.25.1' [2024-11-11T05:15:12.750Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T05:15:11.469Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T05:15:11.544Z] > git checkout -f aad41a6113c575b10fead21217372f6fec762bf2 # timeout=10 [2024-11-11T05:15:11.644Z] > git remote # timeout=10 [2024-11-11T05:15:11.667Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T05:15:11.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T05:15:11.810Z] > git merge 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 [2024-11-11T05:15:11.869Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T05:15:11.901Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T05:15:11.921Z] > git checkout -f aad41a6113c575b10fead21217372f6fec762bf2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T05:15:17.989Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T05:15:17.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T05:15:17.989Z] Dload Upload Total Spent Left Speed [2024-11-11T05:15:17.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-11-11T05:15:18.357Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T05:15:18.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-11T05:15:18.740Z] + sudo tee /etc/docker/daemon.new [2024-11-11T05:15:18.740Z] { [2024-11-11T05:15:18.740Z] "registry-mirrors": [ [2024-11-11T05:15:18.740Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T05:15:18.740Z] ], [2024-11-11T05:15:18.740Z] "bip": "10.250.0.254/24", [2024-11-11T05:15:18.740Z] "hosts": [ [2024-11-11T05:15:18.740Z] "tcp://0.0.0.0:5555", [2024-11-11T05:15:18.740Z] "unix:///var/run/docker.sock" [2024-11-11T05:15:18.740Z] ], [2024-11-11T05:15:18.740Z] "mtu": 1458, [2024-11-11T05:15:18.740Z] "selinux-enabled": true, [2024-11-11T05:15:18.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T05:15:18.740Z] } [Pipeline] sh [2024-11-11T05:15:19.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T05:15:19.494Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T05:15:37.938Z] provisioning config files... [2024-11-11T05:15:37.978Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15428517339343376361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:15:38.551Z] ---> ****-login.sh [2024-11-11T05:15:38.551Z] nexus3.edgexfoundry.org:10001 [2024-11-11T05:15:39.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:15:39.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:15:39.427Z] Configure a credential helper to remove this warning. See [2024-11-11T05:15:39.427Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:15:39.427Z] [2024-11-11T05:15:39.427Z] Login Succeeded [2024-11-11T05:15:39.427Z] nexus3.edgexfoundry.org:10002 [2024-11-11T05:15:39.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:15:39.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:15:39.984Z] Configure a credential helper to remove this warning. See [2024-11-11T05:15:39.984Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:15:39.984Z] [2024-11-11T05:15:39.984Z] Login Succeeded [2024-11-11T05:15:39.984Z] nexus3.edgexfoundry.org:10003 [2024-11-11T05:15:40.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:15:40.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:15:40.262Z] Configure a credential helper to remove this warning. See [2024-11-11T05:15:40.262Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:15:40.262Z] [2024-11-11T05:15:40.262Z] Login Succeeded [2024-11-11T05:15:40.262Z] nexus3.edgexfoundry.org:10004 [2024-11-11T05:15:40.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:15:40.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:15:40.806Z] Configure a credential helper to remove this warning. See [2024-11-11T05:15:40.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:15:40.806Z] [2024-11-11T05:15:40.806Z] Login Succeeded [2024-11-11T05:15:40.806Z] ****.io [2024-11-11T05:15:41.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T05:15:41.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T05:15:41.345Z] Configure a credential helper to remove this warning. See [2024-11-11T05:15:41.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T05:15:41.345Z] [2024-11-11T05:15:41.345Z] Login Succeeded [2024-11-11T05:15:41.345Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T05:15:41.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T05:15:41.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T05:15:41.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T05:15:42.010Z] ========================================================= [2024-11-11T05:15:42.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T05:15:42.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:15:42.586Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T05:15:43.187Z] Sending build context to Docker daemon 9.16MB [2024-11-11T05:15:43.187Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T05:15:43.187Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T05:15:43.457Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T05:15:43.457Z] cf04c63912e1: Pulling fs layer [2024-11-11T05:15:43.457Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T05:15:43.457Z] a37a00ec5f00: Pulling fs layer [2024-11-11T05:15:43.457Z] 50b3750afda1: Pulling fs layer [2024-11-11T05:15:43.457Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T05:15:43.457Z] 80978eb59214: Pulling fs layer [2024-11-11T05:15:43.457Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T05:15:43.457Z] c5a475d317c9: Pulling fs layer [2024-11-11T05:15:43.457Z] 50b3750afda1: Waiting [2024-11-11T05:15:43.457Z] 80978eb59214: Waiting [2024-11-11T05:15:43.457Z] c9f46d7d2bd2: Waiting [2024-11-11T05:15:43.457Z] c5a475d317c9: Waiting [2024-11-11T05:15:43.457Z] 4f4fb700ef54: Waiting [2024-11-11T05:15:43.457Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T05:15:43.457Z] 55b35a11ae5e: Download complete [2024-11-11T05:15:43.457Z] 50b3750afda1: Verifying Checksum [2024-11-11T05:15:43.457Z] 50b3750afda1: Download complete [2024-11-11T05:15:43.457Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T05:15:43.457Z] 4f4fb700ef54: Download complete [2024-11-11T05:15:43.457Z] 80978eb59214: Verifying Checksum [2024-11-11T05:15:43.457Z] 80978eb59214: Download complete [2024-11-11T05:15:43.457Z] cf04c63912e1: Verifying Checksum [2024-11-11T05:15:43.457Z] cf04c63912e1: Download complete [2024-11-11T05:15:44.430Z] c5a475d317c9: Verifying Checksum [2024-11-11T05:15:44.430Z] c5a475d317c9: Download complete [2024-11-11T05:15:44.430Z] cf04c63912e1: Pull complete [2024-11-11T05:15:45.028Z] 55b35a11ae5e: Pull complete [2024-11-11T05:15:46.004Z] a37a00ec5f00: Verifying Checksum [2024-11-11T05:15:46.004Z] a37a00ec5f00: Download complete [2024-11-11T05:15:46.595Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T05:15:46.595Z] c9f46d7d2bd2: Download complete [2024-11-11T05:16:01.637Z] a37a00ec5f00: Pull complete [2024-11-11T05:16:01.637Z] 50b3750afda1: Pull complete [2024-11-11T05:16:01.637Z] 4f4fb700ef54: Pull complete [2024-11-11T05:16:01.637Z] 80978eb59214: Pull complete [2024-11-11T05:16:08.319Z] c9f46d7d2bd2: Pull complete [2024-11-11T05:16:10.264Z] c5a475d317c9: Pull complete [2024-11-11T05:16:10.264Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T05:16:10.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T05:16:10.264Z] ---> be29e6b0f0d4 [2024-11-11T05:16:10.264Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-11T05:16:10.848Z] ---> Running in 177578641ea9 [2024-11-11T05:16:11.430Z] Removing intermediate container 177578641ea9 [2024-11-11T05:16:11.430Z] ---> 62533edab69b [2024-11-11T05:16:11.430Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T05:16:11.430Z] ---> Running in caeaa7ad52bc [2024-11-11T05:16:11.708Z] Removing intermediate container caeaa7ad52bc [2024-11-11T05:16:11.708Z] ---> fd7c47eec0b4 [2024-11-11T05:16:11.708Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-11T05:16:11.708Z] ---> Running in 8a6c35b1d351 [2024-11-11T05:16:13.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:16:13.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:16:14.796Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-11T05:16:14.796Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-11T05:16:14.796Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-11T05:16:14.796Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:16:14.796Z] OK: 244 MiB in 62 packages [2024-11-11T05:16:16.209Z] Removing intermediate container 8a6c35b1d351 [2024-11-11T05:16:16.209Z] ---> 4af13449aea8 [2024-11-11T05:16:16.209Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-11T05:16:16.209Z] ---> Running in e08641d84f04 [2024-11-11T05:16:16.478Z] Removing intermediate container e08641d84f04 [2024-11-11T05:16:16.478Z] ---> 69eb2edad2a8 [2024-11-11T05:16:16.478Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T05:16:17.064Z] ---> 8d550022c627 [2024-11-11T05:16:17.064Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T05:16:17.064Z] ---> Running in 5cbbaffc21eb [2024-11-11T05:18:09.679Z] Removing intermediate container 5cbbaffc21eb [2024-11-11T05:18:09.680Z] ---> 7dfc3203be27 [2024-11-11T05:18:09.680Z] Step 9/10 : COPY . . [2024-11-11T05:18:09.680Z] ---> 9c3f075b7f36 [2024-11-11T05:18:09.680Z] Step 10/10 : RUN ${MAKE} [2024-11-11T05:18:09.680Z] ---> Running in b1f5c4fd5d57 [2024-11-11T05:18:09.680Z] noop [2024-11-11T05:18:09.680Z] Removing intermediate container b1f5c4fd5d57 [2024-11-11T05:18:09.680Z] ---> 1d85b4bc9ae8 [2024-11-11T05:18:09.680Z] Successfully built 1d85b4bc9ae8 [2024-11-11T05:18:09.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:18:10.213Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T05:18:10.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:18:10.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-26123 does not seem to be running inside a container [2024-11-11T05:18:10.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T05:18:11.870Z] $ docker top c489378cb9b4eb39d5b0218781c447e9faee1475c1272a5af3d334e3a5fadac2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:18:12.762Z] + go version [2024-11-11T05:18:12.762Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T05:18:12.809Z] $ docker stop --time=1 c489378cb9b4eb39d5b0218781c447e9faee1475c1272a5af3d334e3a5fadac2 [2024-11-11T05:18:14.395Z] $ docker rm -f --volumes c489378cb9b4eb39d5b0218781c447e9faee1475c1272a5af3d334e3a5fadac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:18:15.328Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T05:18:15.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:18:15.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-26123 does not seem to be running inside a container [2024-11-11T05:18:15.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T05:18:16.841Z] $ docker top 3c7553d3ac3d3877fda2331a9d30905e3f808959aec0e08869cde5666d84d00e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:18:17.731Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T05:18:18.143Z] + make test [2024-11-11T05:18:18.412Z] go test ./... -coverprofile=coverage.out [2024-11-11T05:18:23.758Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-11T05:21:45.543Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-11T05:21:48.885Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 48.0% of statements [2024-11-11T05:21:49.840Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T05:21:49.840Z] go vet ./... [2024-11-11T05:22:36.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T05:22:36.901Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T05:22:36.901Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T05:22:36.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T05:22:36.998Z] $ docker stop --time=1 3c7553d3ac3d3877fda2331a9d30905e3f808959aec0e08869cde5666d84d00e [2024-11-11T05:22:38.924Z] $ docker rm -f --volumes 3c7553d3ac3d3877fda2331a9d30905e3f808959aec0e08869cde5666d84d00e [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T05:22:40.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T05:22:40.631Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T05:22:41.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T05:22:41.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T05:22:42.173Z] + ls -al . [2024-11-11T05:22:42.173Z] total 256 [2024-11-11T05:22:42.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 05:18 . [2024-11-11T05:22:42.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 05:15 .. [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 05:15 .dockerignore [2024-11-11T05:22:42.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 05:15 .git [2024-11-11T05:22:42.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:15 .github [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 11 05:15 .gitignore [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 05:15 .golangci.yml [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 11 05:15 Attribution.txt [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 11 05:15 CHANGELOG.md [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 11 05:15 Dockerfile [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 05:15 GOVERNANCE.md [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 11 05:15 Jenkinsfile [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 05:15 LICENSE [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 2524 Nov 11 05:15 Makefile [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 11 05:15 OWNERS.md [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 11 05:15 README.md [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 05:11 VERSION [2024-11-11T05:22:42.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:15 bin [2024-11-11T05:22:42.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:15 cmd [2024-11-11T05:22:42.173Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 11 05:21 coverage.out [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 6441 Nov 11 05:15 go.mod [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 87679 Nov 11 05:15 go.sum [2024-11-11T05:22:42.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 05:15 internal [2024-11-11T05:22:42.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 05:15 simulator [2024-11-11T05:22:42.173Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 11 05:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:22:42.643Z] + 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=aad41a6113c575b10fead21217372f6fec762bf2 --label arch=arm64 --label version=0.0.0 . [2024-11-11T05:22:43.230Z] Sending build context to Docker daemon 9.186MB [2024-11-11T05:22:43.230Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T05:22:43.230Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-11T05:22:43.230Z] ---> 1d85b4bc9ae8 [2024-11-11T05:22:43.230Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-11T05:22:43.230Z] ---> Running in 45b85fb4b5a0 [2024-11-11T05:22:43.813Z] Removing intermediate container 45b85fb4b5a0 [2024-11-11T05:22:43.813Z] ---> 3b1429b714b9 [2024-11-11T05:22:43.813Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T05:22:43.813Z] ---> Running in 8ed24bbbdd89 [2024-11-11T05:22:44.082Z] Removing intermediate container 8ed24bbbdd89 [2024-11-11T05:22:44.082Z] ---> fb9e6c596004 [2024-11-11T05:22:44.082Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-11T05:22:44.082Z] ---> Running in 96a0bd666d29 [2024-11-11T05:22:45.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:22:45.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:22:47.021Z] OK: 244 MiB in 62 packages [2024-11-11T05:22:47.608Z] Removing intermediate container 96a0bd666d29 [2024-11-11T05:22:47.608Z] ---> 89aef0f3d59a [2024-11-11T05:22:47.608Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-11T05:22:47.881Z] ---> Running in 8c21049adc90 [2024-11-11T05:22:48.148Z] Removing intermediate container 8c21049adc90 [2024-11-11T05:22:48.148Z] ---> f0124f3ae047 [2024-11-11T05:22:48.148Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-11T05:22:48.419Z] ---> f29c833aa469 [2024-11-11T05:22:48.419Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T05:22:48.689Z] ---> Running in 1d3d432ffce0 [2024-11-11T05:22:50.629Z] Removing intermediate container 1d3d432ffce0 [2024-11-11T05:22:50.629Z] ---> 5d61e985c676 [2024-11-11T05:22:50.629Z] Step 9/23 : COPY . . [2024-11-11T05:22:51.661Z] ---> d25ebc8cc61e [2024-11-11T05:22:51.661Z] Step 10/23 : RUN ${MAKE} [2024-11-11T05:22:51.661Z] ---> Running in e240df320c6b [2024-11-11T05:22:52.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.5 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-11T05:26:14.383Z] Removing intermediate container e240df320c6b [2024-11-11T05:26:14.383Z] ---> 33af5d43cbe0 [2024-11-11T05:26:14.383Z] Step 11/23 : FROM alpine:3.20 [2024-11-11T05:26:14.383Z] 3.20: Pulling from library/alpine [2024-11-11T05:26:14.383Z] cf04c63912e1: Already exists [2024-11-11T05:26:14.383Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T05:26:14.383Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T05:26:14.383Z] ---> c157a85ed455 [2024-11-11T05:26:14.383Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-11T05:26:14.383Z] ---> Running in f16930fc98dc [2024-11-11T05:26:14.383Z] Removing intermediate container f16930fc98dc [2024-11-11T05:26:14.383Z] ---> 5e725f81d33d [2024-11-11T05:26:14.383Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-11T05:26:14.383Z] ---> Running in 8fb404086a44 [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T05:26:14.383Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:26:14.383Z] OK: 9 MiB in 15 packages [2024-11-11T05:26:14.383Z] Removing intermediate container 8fb404086a44 [2024-11-11T05:26:14.383Z] ---> 3ab6e2b5987d [2024-11-11T05:26:14.383Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-11T05:26:14.383Z] ---> Running in 564cba0ca690 [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] Upgrading critical system libraries and apk-tools: [2024-11-11T05:26:14.383Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T05:26:14.383Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:26:14.383Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:26:14.383Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:26:14.383Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:26:14.383Z] OK: 9 MiB in 15 packages [2024-11-11T05:26:14.383Z] Removing intermediate container 564cba0ca690 [2024-11-11T05:26:14.383Z] ---> 09119e873bb0 [2024-11-11T05:26:14.383Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-11T05:26:14.652Z] ---> ecbfde3d168b [2024-11-11T05:26:14.652Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-11T05:26:15.239Z] ---> ac2606af6078 [2024-11-11T05:26:15.239Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-11T05:26:15.842Z] ---> 239527cabd9f [2024-11-11T05:26:15.842Z] Step 18/23 : EXPOSE 59901 [2024-11-11T05:26:15.842Z] ---> Running in 6af0451b01f2 [2024-11-11T05:26:16.114Z] Removing intermediate container 6af0451b01f2 [2024-11-11T05:26:16.114Z] ---> e790b4f3c03d [2024-11-11T05:26:16.114Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-11T05:26:16.114Z] ---> Running in a4d30687ea1b [2024-11-11T05:26:16.383Z] Removing intermediate container a4d30687ea1b [2024-11-11T05:26:16.383Z] ---> 04501240f0b1 [2024-11-11T05:26:16.383Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T05:26:16.655Z] ---> Running in f41c98dcc516 [2024-11-11T05:26:16.927Z] Removing intermediate container f41c98dcc516 [2024-11-11T05:26:16.927Z] ---> 3472707fb58b [2024-11-11T05:26:16.927Z] Step 21/23 : LABEL arch=arm64 [2024-11-11T05:26:16.927Z] ---> Running in 43402bc730ee [2024-11-11T05:26:17.198Z] Removing intermediate container 43402bc730ee [2024-11-11T05:26:17.198Z] ---> 0442552c5811 [2024-11-11T05:26:17.198Z] Step 22/23 : LABEL git_sha=aad41a6113c575b10fead21217372f6fec762bf2 [2024-11-11T05:26:17.465Z] ---> Running in 21013a49b2c3 [2024-11-11T05:26:17.744Z] Removing intermediate container 21013a49b2c3 [2024-11-11T05:26:17.744Z] ---> 3a8d77c5a5bb [2024-11-11T05:26:17.744Z] Step 23/23 : LABEL version=0.0.0 [2024-11-11T05:26:17.744Z] ---> Running in fe09cb6f7f73 [2024-11-11T05:26:18.011Z] Removing intermediate container fe09cb6f7f73 [2024-11-11T05:26:18.011Z] ---> 77c92ca20957 [2024-11-11T05:26:18.011Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T05:26:18.011Z] Successfully built 77c92ca20957 [2024-11-11T05:26:18.011Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:26:18.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:26:18.939Z] [2024-11-11T05:26:18.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:26:19.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:26:19.654Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T05:26:19.654Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T05:26:19.654Z] 04944245beec: Pulling fs layer [2024-11-11T05:26:19.654Z] 699f458cf7ca: Pulling fs layer [2024-11-11T05:26:19.654Z] 765212b225bb: Pulling fs layer [2024-11-11T05:26:19.654Z] f23df028b6ca: Pulling fs layer [2024-11-11T05:26:19.654Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T05:26:19.654Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T05:26:19.654Z] f23df028b6ca: Waiting [2024-11-11T05:26:19.654Z] d65c8cfc05b1: Waiting [2024-11-11T05:26:19.654Z] 2437ff75d9bd: Waiting [2024-11-11T05:26:19.654Z] 765212b225bb: Waiting [2024-11-11T05:26:19.654Z] 04944245beec: Verifying Checksum [2024-11-11T05:26:19.654Z] 04944245beec: Download complete [2024-11-11T05:26:19.654Z] 765212b225bb: Verifying Checksum [2024-11-11T05:26:19.654Z] 765212b225bb: Download complete [2024-11-11T05:26:19.654Z] f23df028b6ca: Verifying Checksum [2024-11-11T05:26:19.654Z] f23df028b6ca: Download complete [2024-11-11T05:26:19.654Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T05:26:19.654Z] d65c8cfc05b1: Download complete [2024-11-11T05:26:19.924Z] 699f458cf7ca: Verifying Checksum [2024-11-11T05:26:19.924Z] 699f458cf7ca: Download complete [2024-11-11T05:26:20.192Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T05:26:20.192Z] 8998bd30e6a1: Download complete [2024-11-11T05:26:22.785Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T05:26:22.785Z] 2437ff75d9bd: Download complete [2024-11-11T05:26:25.375Z] 8998bd30e6a1: Pull complete [2024-11-11T05:26:25.642Z] 04944245beec: Pull complete [2024-11-11T05:26:27.585Z] 699f458cf7ca: Pull complete [2024-11-11T05:26:27.585Z] 765212b225bb: Pull complete [2024-11-11T05:26:28.543Z] f23df028b6ca: Pull complete [2024-11-11T05:26:28.543Z] d65c8cfc05b1: Pull complete [2024-11-11T05:26:46.749Z] 2437ff75d9bd: Pull complete [2024-11-11T05:26:46.749Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T05:26:46.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:26:46.749Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:26:47.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-26123 does not seem to be running inside a container [2024-11-11T05:26:47.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T05:26:50.188Z] $ docker top 4a135db34ba75d05b1298652f6e5caa698476bbe7465326bb870d4f2cc6d678e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:26:51.119Z] ---> job-cost.sh [2024-11-11T05:26:51.119Z] lf-activate-venv: SKIPPING [2024-11-11T05:26:51.119Z] INFO: No Stack... [2024-11-11T05:26:51.787Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T05:26:52.372Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T05:26:53.043Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-11-11T05:26:53.043Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T05:26:53.139Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [2024-11-11T05:26:53.147Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] did not exist. Created. [2024-11-11T05:26:53.154Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T05:26:53.917Z] /w/workspace/device-modbus-go/1@tmp/durable-28e8073f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T05:26:54.597Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T05:26:54.637Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T05:26:54.685Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T05:26:54.706Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-591-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T05:26:54.805Z] $ docker stop --time=1 4a135db34ba75d05b1298652f6e5caa698476bbe7465326bb870d4f2cc6d678e [2024-11-11T05:26:56.705Z] $ docker rm -f --volumes 4a135db34ba75d05b1298652f6e5caa698476bbe7465326bb870d4f2cc6d678e [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 [2024-11-11T05:26:57.742Z] provisioning config files... [2024-11-11T05:26:57.753Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/config2112175318121584084tmp [Pipeline] { [Pipeline] sh [2024-11-11T05:26:58.103Z] + set +x [2024-11-11T05:26:58.103Z] + bash -s -- [2024-11-11T05:26:58.103Z] + curl -s https://codecov.io/bash [2024-11-11T05:26:58.103Z] [2024-11-11T05:26:58.103Z] _____ _ [2024-11-11T05:26:58.103Z] / ____| | | [2024-11-11T05:26:58.103Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T05:26:58.103Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T05:26:58.103Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T05:26:58.103Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T05:26:58.103Z] Bash-1.0.6 [2024-11-11T05:26:58.103Z] [2024-11-11T05:26:58.103Z] [2024-11-11T05:26:58.103Z] ==> git version 2.25.1 found [2024-11-11T05:26:58.103Z] ==> 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 [2024-11-11T05:26:58.103Z] Release-Date: 2020-01-08 [2024-11-11T05:26:58.103Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-11T05:26:58.103Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T05:26:58.103Z] ==> Jenkins CI detected. [2024-11-11T05:26:58.103Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-591 [2024-11-11T05:26:58.103Z] project root: . [2024-11-11T05:26:58.103Z] --> token set from env [2024-11-11T05:26:58.103Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T05:26:58.103Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T05:26:58.103Z] ==> Python coveragepy not found [2024-11-11T05:26:58.103Z] ==> Searching for coverage reports in: [2024-11-11T05:26:58.103Z] + . [2024-11-11T05:26:58.103Z] -> Found 1 reports [2024-11-11T05:26:58.103Z] ==> Detecting git/mercurial file structure [2024-11-11T05:26:58.103Z] ==> Reading reports [2024-11-11T05:26:58.103Z] + ./coverage.out bytes=25464 [2024-11-11T05:26:58.103Z] ==> Appending adjustments [2024-11-11T05:26:58.103Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T05:26:58.363Z] + Found adjustments [2024-11-11T05:26:58.363Z] ==> Gzipping contents [2024-11-11T05:26:58.363Z] 4.0K /tmp/codecov.6PhQHj.gz [2024-11-11T05:26:58.363Z] ==> Uploading reports [2024-11-11T05:26:58.363Z] url: https://codecov.io [2024-11-11T05:26:58.363Z] query: branch=PR-591&commit=aad41a6113c575b10fead21217372f6fec762bf2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-591%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=591&job=&cmd_args= [2024-11-11T05:26:58.363Z] -> Pinging Codecov [2024-11-11T05:26:58.363Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-591&commit=aad41a6113c575b10fead21217372f6fec762bf2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-591%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=591&job=&cmd_args= [2024-11-11T05:26:58.931Z] -> Uploading to [2024-11-11T05:26:58.931Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/aad41a6113c575b10fead21217372f6fec762bf2/8e8cf27d-84a8-409a-86d5-3f57a60e9b1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T052658Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=36976b08bda524b301416d1e12497936f8f24f5d395c31c0045e1b6454937a5f [2024-11-11T05:26:58.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T05:26:58.931Z] Dload Upload Total Spent Left Speed [2024-11-11T05:26:59.190Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 18373 --:--:-- --:--:-- --:--:-- 18460 [2024-11-11T05:26:59.190Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/aad41a6113c575b10fead21217372f6fec762bf2 [Pipeline] } [2024-11-11T05:26:59.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 [2024-11-11T05:27:01.414Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-591/archives ] [2024-11-11T05:27:01.414Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-591/archives [2024-11-11T05:27:01.414Z] total 16 [2024-11-11T05:27:01.414Z] drwxr-xr-x 3 root root 4096 Nov 11 05:14 . [2024-11-11T05:27:01.414Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 05:14 .. [2024-11-11T05:27:01.414Z] drwxr-xr-x 2 root root 4096 Nov 11 05:14 cost [2024-11-11T05:27:01.414Z] -rw-r--r-- 1 root root 88 Nov 11 05:14 cost.csv [2024-11-11T05:27:01.414Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-591/archives [2024-11-11T05:27:01.414Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-591/archives [2024-11-11T05:27:01.414Z] total 16 [2024-11-11T05:27:01.414Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 05:14 . [2024-11-11T05:27:01.414Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 05:14 .. [2024-11-11T05:27:01.414Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 05:14 cost [2024-11-11T05:27:01.414Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 11 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:01.765Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:02.678Z] ---> package-listing.sh [2024-11-11T05:27:02.678Z] ++ facter osfamily [2024-11-11T05:27:02.678Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T05:27:02.937Z] + OS_FAMILY=debian [2024-11-11T05:27:02.937Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-591 [2024-11-11T05:27:02.937Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T05:27:02.937Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T05:27:02.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T05:27:02.937Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T05:27:02.937Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-591 ']' [2024-11-11T05:27:02.937Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T05:27:02.937Z] + case "${OS_FAMILY}" in [2024-11-11T05:27:02.937Z] + dpkg -l [2024-11-11T05:27:02.937Z] + grep '^ii' [2024-11-11T05:27:02.937Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T05:27:02.937Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T05:27:02.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T05:27:02.937Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-591 ']' [2024-11-11T05:27:02.937Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-591/archives/ [2024-11-11T05:27:02.937Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-591/archives/ [Pipeline] echo [2024-11-11T05:27:02.987Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-591/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T05:27:03.286Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:27:03.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T05:27:03.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:27:04.141Z] prd-ubuntu20.04-docker-8c-8g-26121 does not seem to be running inside a container [2024-11-11T05:27:04.161Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-591/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-591 -v /w/workspace/xfoundry_device-modbus-go_PR-591:/w/workspace/xfoundry_device-modbus-go_PR-591:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-591@tmp:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T05:27:04.370Z] $ docker top a6f28108ce366c69997770bc283044b9aec367240061d4c4a061a46818c20bf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:27:04.799Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T05:27:05.121Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T05:27:05.426Z] + ls /var/log/sa-host [2024-11-11T05:27:05.426Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T05:27:05.591Z] provisioning config files... [2024-11-11T05:27:05.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-591@tmp/config10829546385957477811tmp [Pipeline] { [Pipeline] echo [2024-11-11T05:27:05.676Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:06.003Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T05:27:06.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:06.455Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T05:27:06.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:06.879Z] ---> sudo-logs.sh [2024-11-11T05:27:06.879Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T05:27:06.977Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:07.341Z] ---> job-cost.sh [2024-11-11T05:27:07.341Z] lf-activate-venv: SKIPPING [2024-11-11T05:27:07.341Z] DEBUG: total: 0.2199999988079071 [2024-11-11T05:27:07.341Z] INFO: Retrieving Stack Cost... [2024-11-11T05:27:07.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T05:27:08.196Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T05:27:08.246Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:27:08.576Z] ---> logs-deploy.sh [2024-11-11T05:27:08.576Z] lf-activate-venv: SKIPPING [2024-11-11T05:27:08.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-591/1 [2024-11-11T05:27:08.576Z] INFO: archiving workspace using pattern(s): [2024-11-11T05:27:09.514Z] Archives upload complete. [2024-11-11T05:27:09.774Z] INFO: archiving logs to Nexus