Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 487ca8dbaf5a7983b4dd4e8681142a99360f28bf 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-ssh12446067631416696165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh13072727733471488400.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15914876896085908362.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10409875411959488450.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5541368739628984023.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16241 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 487ca8dbaf5a7983b4dd4e8681142a99360f28bf (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 Commit message: "docs: Update changelog for 3.1 release (#1534)" > git rev-list --no-walk cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T16:59:51.632Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T16:59:51.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T16:59:51.702Z] ========================================================= [2023-11-01T16:59:51.702Z] EdgeX Global Pipelines Version Info [2023-11-01T16:59:51.702Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:59:52.435Z] ------------------- [2023-11-01T16:59:52.436Z] stable info: [2023-11-01T16:59:52.436Z] ------------------- [2023-11-01T16:59:52.436Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T16:59:52.436Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T16:59:52.436Z] Message: update stable to v1.0.255 [2023-11-01T16:59:53.008Z] ------------------- [2023-11-01T16:59:53.008Z] experimental info: [2023-11-01T16:59:53.008Z] ------------------- [2023-11-01T16:59:53.008Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T16:59:53.008Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T16:59:53.008Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T16:59:53.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-01T16:59:53.185Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-01T16:59:53.197Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T16:59:53.209Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T16:59:53.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T16:59:53.240Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T16:59:53.262Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T16:59:53.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-01T16:59:53.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T16:59:53.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T16:59:53.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T16:59:53.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-01T16:59:53.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T16:59:53.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T16:59:53.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T16:59:53.427Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:59:53.441Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:59:53.451Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:59:53.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T16:59:53.473Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T16:59:53.484Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-01T16:59:53.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-01T16:59:53.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T16:59:53.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T16:59:53.537Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T16:59:53.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T16:59:53.570Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T16:59:53.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-01T16:59:53.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-01T16:59:53.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-01T16:59:53.634Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo [2023-11-01T16:59:53.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 487ca8d [Pipeline] echo [2023-11-01T16:59:53.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:59:53.701Z] provisioning config files... [2023-11-01T16:59:53.714Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12929636718017605507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:59:54.014Z] ---> docker-login.sh [2023-11-01T16:59:54.014Z] nexus3.edgexfoundry.org:10001 [2023-11-01T16:59:54.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:59:54.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:59:54.274Z] Configure a credential helper to remove this warning. See [2023-11-01T16:59:54.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:59:54.274Z] [2023-11-01T16:59:54.274Z] Login Succeeded [2023-11-01T16:59:54.274Z] nexus3.edgexfoundry.org:10002 [2023-11-01T16:59:54.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:59:54.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:59:54.274Z] Configure a credential helper to remove this warning. See [2023-11-01T16:59:54.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:59:54.274Z] [2023-11-01T16:59:54.274Z] Login Succeeded [2023-11-01T16:59:54.274Z] nexus3.edgexfoundry.org:10003 [2023-11-01T16:59:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:59:54.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:59:54.533Z] Configure a credential helper to remove this warning. See [2023-11-01T16:59:54.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:59:54.533Z] [2023-11-01T16:59:54.533Z] Login Succeeded [2023-11-01T16:59:54.533Z] nexus3.edgexfoundry.org:10004 [2023-11-01T16:59:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:59:54.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:59:54.533Z] Configure a credential helper to remove this warning. See [2023-11-01T16:59:54.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:59:54.533Z] [2023-11-01T16:59:54.533Z] Login Succeeded [2023-11-01T16:59:54.533Z] docker.io [2023-11-01T16:59:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:59:54.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:59:54.793Z] Configure a credential helper to remove this warning. See [2023-11-01T16:59:54.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:59:54.793Z] [2023-11-01T16:59:54.793Z] Login Succeeded [2023-11-01T16:59:54.793Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T16:59:54.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T16:59:55.186Z] + git rev-list -1 --merges 487ca8dbaf5a7983b4dd4e8681142a99360f28bf~1..487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo [2023-11-01T16:59:55.270Z] -----------> git rev-list -1 --merges 487ca8dbaf5a7983b4dd4e8681142a99360f28bf~1..487ca8dbaf5a7983b4dd4e8681142a99360f28bf 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [false] [Pipeline] sh [2023-11-01T16:59:55.572Z] + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo [2023-11-01T16:59:55.587Z] ========================================================= [2023-11-01T16:59:55.587Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T16:59:55.587Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T16:59:55.925Z] + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo [2023-11-01T16:59:55.936Z] [semverPrep] GIT_COMMIT: 487ca8dbaf5a7983b4dd4e8681142a99360f28bf, Commit Message: docs: Update changelog for 3.1 release (#1534) [Pipeline] echo [2023-11-01T16:59:55.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T16:59:56.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T16:59:56.306Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T16:59:56.306Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T16:59:56.306Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T16:59:56.306Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T16:59:56.306Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T16:59:56.306Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:59:56.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:59:56.665Z] [2023-11-01T16:59:56.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:59:56.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:59:56.973Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T16:59:56.973Z] b85a868b505f: Pulling fs layer [2023-11-01T16:59:56.973Z] e2be974225ed: Pulling fs layer [2023-11-01T16:59:56.973Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T16:59:56.973Z] 988bab9f4d93: Pulling fs layer [2023-11-01T16:59:56.973Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T16:59:56.973Z] eaf3925da568: Pulling fs layer [2023-11-01T16:59:56.973Z] bab4dde63d76: Pulling fs layer [2023-11-01T16:59:56.973Z] bde34c3a00c8: Pulling fs layer [2023-11-01T16:59:56.973Z] b352a97aabf1: Pulling fs layer [2023-11-01T16:59:56.973Z] 4872d77fe225: Pulling fs layer [2023-11-01T16:59:56.973Z] 5851b861e8e6: Pulling fs layer [2023-11-01T16:59:56.973Z] bab4dde63d76: Waiting [2023-11-01T16:59:56.973Z] bde34c3a00c8: Waiting [2023-11-01T16:59:56.973Z] 988bab9f4d93: Waiting [2023-11-01T16:59:56.973Z] b352a97aabf1: Waiting [2023-11-01T16:59:56.973Z] 1469e6f7b9e6: Waiting [2023-11-01T16:59:56.973Z] 4872d77fe225: Waiting [2023-11-01T16:59:56.973Z] eaf3925da568: Waiting [2023-11-01T16:59:56.973Z] 5851b861e8e6: Waiting [2023-11-01T16:59:56.973Z] e2be974225ed: Download complete [2023-11-01T16:59:56.973Z] 988bab9f4d93: Verifying Checksum [2023-11-01T16:59:56.973Z] 988bab9f4d93: Download complete [2023-11-01T16:59:56.973Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T16:59:56.973Z] 339a4e72a1f5: Download complete [2023-11-01T16:59:56.973Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T16:59:56.973Z] 1469e6f7b9e6: Download complete [2023-11-01T16:59:57.235Z] eaf3925da568: Download complete [2023-11-01T16:59:57.235Z] bde34c3a00c8: Verifying Checksum [2023-11-01T16:59:57.235Z] bde34c3a00c8: Download complete [2023-11-01T16:59:57.235Z] b352a97aabf1: Verifying Checksum [2023-11-01T16:59:57.235Z] b352a97aabf1: Download complete [2023-11-01T16:59:57.235Z] 4872d77fe225: Verifying Checksum [2023-11-01T16:59:57.235Z] 4872d77fe225: Download complete [2023-11-01T16:59:57.235Z] 5851b861e8e6: Verifying Checksum [2023-11-01T16:59:57.235Z] 5851b861e8e6: Download complete [2023-11-01T16:59:57.235Z] b85a868b505f: Verifying Checksum [2023-11-01T16:59:57.235Z] b85a868b505f: Download complete [2023-11-01T16:59:57.494Z] bab4dde63d76: Verifying Checksum [2023-11-01T16:59:57.494Z] bab4dde63d76: Download complete [2023-11-01T16:59:58.437Z] b85a868b505f: Pull complete [2023-11-01T16:59:58.437Z] e2be974225ed: Pull complete [2023-11-01T16:59:59.012Z] 339a4e72a1f5: Pull complete [2023-11-01T16:59:59.581Z] 988bab9f4d93: Pull complete [2023-11-01T17:00:00.153Z] 1469e6f7b9e6: Pull complete [2023-11-01T17:00:00.413Z] eaf3925da568: Pull complete [2023-11-01T17:00:02.320Z] bab4dde63d76: Pull complete [2023-11-01T17:00:02.589Z] bde34c3a00c8: Pull complete [2023-11-01T17:00:03.168Z] b352a97aabf1: Pull complete [2023-11-01T17:00:03.168Z] 4872d77fe225: Pull complete [2023-11-01T17:00:03.507Z] 5851b861e8e6: Pull complete [2023-11-01T17:00:03.507Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T17:00:03.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T17:00:03.507Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:00:03.624Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:00:03.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T17:00:06.445Z] $ docker top 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 -eo pid,comm [2023-11-01T17:00:06.500Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T17:00:06.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T17:00:06.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T17:00:06.546Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T17:00:06.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T17:00:06.660Z] $ docker exec 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent [2023-11-01T17:00:06.773Z] SSH_AUTH_SOCK=/tmp/ssh-euWDmuKnvEA8/agent.33 [2023-11-01T17:00:06.773Z] SSH_AGENT_PID=39 [2023-11-01T17:00:06.779Z] Running ssh-add (command line suppressed) [2023-11-01T17:00:06.871Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2669110773018782324.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2669110773018782324.key) [2023-11-01T17:00:06.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T17:00:07.180Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T17:00:07.192Z] $ docker exec --env ******** --env ******** 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent -k [2023-11-01T17:00:07.284Z] unset SSH_AUTH_SOCK; [2023-11-01T17:00:07.284Z] unset SSH_AGENT_PID; [2023-11-01T17:00:07.284Z] echo Agent pid 39 killed; [2023-11-01T17:00:07.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T17:00:07.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T17:00:07.316Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T17:00:07.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T17:00:07.434Z] $ docker exec 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent [2023-11-01T17:00:07.556Z] SSH_AUTH_SOCK=/tmp/ssh-pM2lCrlbhCPQ/agent.71 [2023-11-01T17:00:07.556Z] SSH_AGENT_PID=77 [2023-11-01T17:00:07.561Z] Running ssh-add (command line suppressed) [2023-11-01T17:00:07.669Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436880289029000318.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436880289029000318.key) [2023-11-01T17:00:07.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T17:00:07.978Z] + git semver init [2023-11-01T17:00:08.238Z] 2023-11-01 17:00:08,151 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T17:00:08.238Z] 2023-11-01 17:00:08,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-01T17:00:08.238Z] 2023-11-01 17:00:08,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-11-01T17:00:08.238Z] 2023-11-01 17:00:08,153 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T17:00:09.179Z] 2023-11-01 17:00:09,160 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-11-01T17:00:09.179Z] 2023-11-01 17:00:09,160 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-11-01T17:00:09.179Z] 2023-11-01 17:00:09,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:00:09.179Z] 2023-11-01 17:00:09,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:00:09.179Z] 3.1.0-dev.39 [Pipeline] } [2023-11-01T17:00:09.188Z] $ docker exec --env ******** --env ******** 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent -k [2023-11-01T17:00:09.281Z] unset SSH_AUTH_SOCK; [2023-11-01T17:00:09.282Z] unset SSH_AGENT_PID; [2023-11-01T17:00:09.282Z] echo Agent pid 77 killed; [2023-11-01T17:00:09.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T17:00:09.594Z] + git semver [Pipeline] } [2023-11-01T17:00:09.868Z] $ docker stop --time=1 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 [2023-11-01T17:00:11.162Z] $ docker rm -f --volumes 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T17:00:11.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T17:00:11.740Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T17:00:11.743Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.39 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T17:00:11.866Z] provisioning config files... [2023-11-01T17:00:11.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14182074850830134039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:00:12.184Z] ---> docker-login.sh [2023-11-01T17:00:12.185Z] nexus3.edgexfoundry.org:10001 [2023-11-01T17:00:12.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:00:12.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:00:12.185Z] Configure a credential helper to remove this warning. See [2023-11-01T17:00:12.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:00:12.185Z] [2023-11-01T17:00:12.185Z] Login Succeeded [2023-11-01T17:00:12.185Z] nexus3.edgexfoundry.org:10002 [2023-11-01T17:00:12.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:00:12.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:00:12.185Z] Configure a credential helper to remove this warning. See [2023-11-01T17:00:12.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:00:12.185Z] [2023-11-01T17:00:12.185Z] Login Succeeded [2023-11-01T17:00:12.185Z] nexus3.edgexfoundry.org:10003 [2023-11-01T17:00:12.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:00:12.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:00:12.451Z] Configure a credential helper to remove this warning. See [2023-11-01T17:00:12.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:00:12.451Z] [2023-11-01T17:00:12.451Z] Login Succeeded [2023-11-01T17:00:12.451Z] nexus3.edgexfoundry.org:10004 [2023-11-01T17:00:12.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:00:12.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:00:12.451Z] Configure a credential helper to remove this warning. See [2023-11-01T17:00:12.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:00:12.451Z] [2023-11-01T17:00:12.451Z] Login Succeeded [2023-11-01T17:00:12.451Z] docker.io [2023-11-01T17:00:12.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:00:12.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:00:12.748Z] Configure a credential helper to remove this warning. See [2023-11-01T17:00:12.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:00:12.748Z] [2023-11-01T17:00:12.748Z] Login Succeeded [2023-11-01T17:00:12.748Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T17:00:12.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T17:00:12.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T17:00:12.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T17:00:12.842Z] ========================================================= [2023-11-01T17:00:12.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T17:00:12.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:00:13.147Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T17:00:13.147Z] Sending build context to Docker daemon 11.26MB [2023-11-01T17:00:13.147Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T17:00:13.147Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T17:00:13.147Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T17:00:13.147Z] 7264a8db6415: Pulling fs layer [2023-11-01T17:00:13.147Z] c4d48a809fc2: Pulling fs layer [2023-11-01T17:00:13.147Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T17:00:13.147Z] ad3a456e5733: Pulling fs layer [2023-11-01T17:00:13.147Z] 33e27b845d1e: Pulling fs layer [2023-11-01T17:00:13.147Z] c68163c4e522: Pulling fs layer [2023-11-01T17:00:13.147Z] 50da416c3ac9: Pulling fs layer [2023-11-01T17:00:13.147Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T17:00:13.147Z] c68163c4e522: Waiting [2023-11-01T17:00:13.147Z] 50da416c3ac9: Waiting [2023-11-01T17:00:13.147Z] ad3a456e5733: Waiting [2023-11-01T17:00:13.147Z] 23d2d4c4bb30: Waiting [2023-11-01T17:00:13.147Z] 33e27b845d1e: Waiting [2023-11-01T17:00:13.147Z] c4d48a809fc2: Download complete [2023-11-01T17:00:13.408Z] ad3a456e5733: Verifying Checksum [2023-11-01T17:00:13.408Z] ad3a456e5733: Download complete [2023-11-01T17:00:13.408Z] 33e27b845d1e: Verifying Checksum [2023-11-01T17:00:13.408Z] 33e27b845d1e: Download complete [2023-11-01T17:00:13.408Z] 7264a8db6415: Verifying Checksum [2023-11-01T17:00:13.408Z] 7264a8db6415: Download complete [2023-11-01T17:00:13.408Z] c68163c4e522: Verifying Checksum [2023-11-01T17:00:13.408Z] c68163c4e522: Download complete [2023-11-01T17:00:13.408Z] 7264a8db6415: Pull complete [2023-11-01T17:00:13.679Z] c4d48a809fc2: Pull complete [2023-11-01T17:00:13.679Z] 4f1c88b9dad5: Download complete [2023-11-01T17:00:13.679Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T17:00:13.679Z] 23d2d4c4bb30: Download complete [2023-11-01T17:00:14.251Z] 50da416c3ac9: Verifying Checksum [2023-11-01T17:00:14.251Z] 50da416c3ac9: Download complete [2023-11-01T17:00:17.088Z] 4f1c88b9dad5: Pull complete [2023-11-01T17:00:17.088Z] ad3a456e5733: Pull complete [2023-11-01T17:00:17.088Z] 33e27b845d1e: Pull complete [2023-11-01T17:00:17.088Z] c68163c4e522: Pull complete [2023-11-01T17:00:19.642Z] 50da416c3ac9: Pull complete [2023-11-01T17:00:19.919Z] 23d2d4c4bb30: Pull complete [2023-11-01T17:00:19.919Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T17:00:19.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T17:00:19.919Z] ---> 0786185ac409 [2023-11-01T17:00:19.919Z] Step 3/10 : ARG MAKE=make build [2023-11-01T17:00:26.517Z] ---> Running in 05587c516f32 [2023-11-01T17:00:26.517Z] Removing intermediate container 05587c516f32 [2023-11-01T17:00:26.517Z] ---> 34fd179cc5d0 [2023-11-01T17:00:26.517Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T17:00:26.517Z] ---> Running in cde852a32921 [2023-11-01T17:00:26.517Z] Removing intermediate container cde852a32921 [2023-11-01T17:00:26.517Z] ---> df58963f3418 [2023-11-01T17:00:26.517Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T17:00:26.517Z] ---> Running in dca5574576f6 [2023-11-01T17:00:26.518Z] Removing intermediate container dca5574576f6 [2023-11-01T17:00:26.518Z] ---> 6533f73f6189 [2023-11-01T17:00:26.518Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T17:00:26.518Z] ---> Running in bc741129081d [2023-11-01T17:00:26.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T17:00:26.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T17:00:26.518Z] OK: 264 MiB in 52 packages [2023-11-01T17:00:26.775Z] Removing intermediate container bc741129081d [2023-11-01T17:00:26.775Z] ---> daa353eecae0 [2023-11-01T17:00:26.775Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T17:00:26.830Z] Still waiting to schedule task [2023-11-01T17:00:26.831Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-01T17:00:27.033Z] ---> 7e9f8be6c3f9 [2023-11-01T17:00:27.033Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T17:00:27.033Z] ---> Running in 6819d5a89e8d [2023-11-01T17:01:14.096Z] Removing intermediate container 6819d5a89e8d [2023-11-01T17:01:14.097Z] ---> 45235366b60b [2023-11-01T17:01:14.097Z] Step 9/10 : COPY . . [2023-11-01T17:01:14.097Z] ---> 1a6facf4b432 [2023-11-01T17:01:14.097Z] Step 10/10 : RUN ${MAKE} [2023-11-01T17:01:14.097Z] ---> Running in a049239eac53 [2023-11-01T17:01:14.097Z] noop [2023-11-01T17:01:14.097Z] Removing intermediate container a049239eac53 [2023-11-01T17:01:14.097Z] ---> 8c59196387de [2023-11-01T17:01:14.097Z] Successfully built 8c59196387de [2023-11-01T17:01:14.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:01:14.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T17:01:14.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:01:14.498Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:01:14.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T17:01:14.871Z] $ docker top 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T17:01:15.216Z] + go version [2023-11-01T17:01:15.216Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T17:01:15.229Z] $ docker stop --time=1 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f [2023-11-01T17:01:16.525Z] $ docker rm -f --volumes 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:01:16.937Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T17:01:16.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:01:17.006Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:01:17.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T17:01:17.357Z] $ docker top 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T17:01:17.697Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-01T17:01:17.998Z] + make test [2023-11-01T17:01:17.998Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T17:01:24.559Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T17:01:39.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T17:01:39.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.037s coverage: 27.6% of statements [2023-11-01T17:01:39.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T17:01:39.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements [2023-11-01T17:01:39.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2023-11-01T17:01:40.925Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T17:01:40.925Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T17:01:40.925Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements [2023-11-01T17:01:41.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T17:01:44.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.4% of statements [2023-11-01T17:01:44.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.941s coverage: 45.9% of statements [2023-11-01T17:01:44.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements [2023-11-01T17:01:44.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2023-11-01T17:01:44.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-11-01T17:02:06.437Z] GO111MODULE=on go vet ./... [2023-11-01T17:02:07.005Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T17:02:07.005Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T17:02:07.005Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T17:02:07.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T17:02:07.293Z] $ docker stop --time=1 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 [2023-11-01T17:02:10.705Z] $ docker rm -f --volumes 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T17:02:11.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T17:02:11.312Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T17:02:11.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T17:02:12.037Z] + ls -al . [2023-11-01T17:02:12.037Z] total 308 [2023-11-01T17:02:12.037Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:01 . [2023-11-01T17:02:12.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:59 .. [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 16:59 .dockerignore [2023-11-01T17:02:12.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:01 .git [2023-11-01T17:02:12.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:59 .github [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 16:59 .gitignore [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 16:59 .golangci.yml [2023-11-01T17:02:12.037Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:00 .semver [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 16:59 CHANGELOG.md [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 16:59 GOVERNANCE.md [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 16:59 Jenkinsfile [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 16:59 LICENSE [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 16:59 Makefile [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 16:59 OWNERS.md [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 16:59 README.md [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 17:00 VERSION [2023-11-01T17:02:12.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 16:59 bin [2023-11-01T17:02:12.037Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 17:01 coverage.out [2023-11-01T17:02:12.037Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 16:59 example [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 16:59 go.mod [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 16:59 go.sum [2023-11-01T17:02:12.037Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:59 internal [2023-11-01T17:02:12.037Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:59 openapi [2023-11-01T17:02:12.037Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 16:59 pkg [2023-11-01T17:02:12.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:59 snap [2023-11-01T17:02:12.037Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:02:12.377Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf --label arch=amd64 --label version=3.1.0-dev.39 . [2023-11-01T17:02:12.377Z] Sending build context to Docker daemon 11.39MB [2023-11-01T17:02:12.377Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T17:02:12.377Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T17:02:12.377Z] ---> 8c59196387de [2023-11-01T17:02:12.377Z] Step 3/23 : ARG MAKE=make build [2023-11-01T17:02:12.636Z] ---> Running in 43273f397775 [2023-11-01T17:02:12.636Z] Removing intermediate container 43273f397775 [2023-11-01T17:02:12.636Z] ---> e3bf45636e7e [2023-11-01T17:02:12.636Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T17:02:12.636Z] ---> Running in 039250da2f69 [2023-11-01T17:02:12.636Z] Removing intermediate container 039250da2f69 [2023-11-01T17:02:12.636Z] ---> cadbb36a02e0 [2023-11-01T17:02:12.636Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T17:02:12.636Z] ---> Running in e0b593e233a3 [2023-11-01T17:02:12.897Z] Removing intermediate container e0b593e233a3 [2023-11-01T17:02:12.897Z] ---> 172436667782 [2023-11-01T17:02:12.897Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T17:02:12.897Z] ---> Running in 9dd22a445d02 [2023-11-01T17:02:13.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T17:02:13.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T17:02:13.415Z] OK: 264 MiB in 52 packages [2023-11-01T17:02:13.674Z] Removing intermediate container 9dd22a445d02 [2023-11-01T17:02:13.674Z] ---> c1b296f23a1e [2023-11-01T17:02:13.674Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T17:02:13.674Z] ---> b5c32191be99 [2023-11-01T17:02:13.674Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T17:02:13.674Z] ---> Running in f9c2f4c27c2b [2023-11-01T17:02:14.622Z] Removing intermediate container f9c2f4c27c2b [2023-11-01T17:02:14.622Z] ---> 67bc4505f017 [2023-11-01T17:02:14.622Z] Step 9/23 : COPY . . [2023-11-01T17:02:15.199Z] ---> 3bec16ba5620 [2023-11-01T17:02:15.199Z] Step 10/23 : RUN ${MAKE} [2023-11-01T17:02:15.199Z] ---> Running in 78039e8a3bc8 [2023-11-01T17:02:15.460Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-01T17:02:33.569Z] Removing intermediate container 78039e8a3bc8 [2023-11-01T17:02:33.569Z] ---> 81bd498086aa [2023-11-01T17:02:33.569Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T17:02:33.829Z] 3.18: Pulling from library/alpine [2023-11-01T17:02:34.088Z] 96526aa774ef: Pulling fs layer [2023-11-01T17:02:34.347Z] 96526aa774ef: Verifying Checksum [2023-11-01T17:02:34.347Z] 96526aa774ef: Download complete [2023-11-01T17:02:34.347Z] 96526aa774ef: Pull complete [2023-11-01T17:02:34.347Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T17:02:34.347Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T17:02:34.347Z] ---> 8ca4688f4f35 [2023-11-01T17:02:34.347Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T17:02:34.606Z] ---> Running in 3a4add80132b [2023-11-01T17:02:34.606Z] Removing intermediate container 3a4add80132b [2023-11-01T17:02:34.606Z] ---> c6295419f8d4 [2023-11-01T17:02:34.606Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T17:02:34.606Z] ---> Running in f7e5793876c0 [2023-11-01T17:02:34.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T17:02:35.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T17:02:35.689Z] OK: 7 MiB in 15 packages [2023-11-01T17:02:35.949Z] Removing intermediate container f7e5793876c0 [2023-11-01T17:02:35.949Z] ---> 47ca26c01cb5 [2023-11-01T17:02:35.949Z] Step 14/23 : WORKDIR / [2023-11-01T17:02:35.949Z] ---> Running in 272de7d2d18c [2023-11-01T17:02:35.949Z] Removing intermediate container 272de7d2d18c [2023-11-01T17:02:35.949Z] ---> 3a8eadb927df [2023-11-01T17:02:35.949Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T17:02:35.949Z] ---> 7f99bb80ad5e [2023-11-01T17:02:35.949Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T17:02:36.891Z] ---> aade89736b26 [2023-11-01T17:02:36.891Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T17:02:36.891Z] ---> 25d805a9fd5f [2023-11-01T17:02:36.891Z] Step 18/23 : EXPOSE 59999 [2023-11-01T17:02:36.891Z] ---> Running in dba5c15ed97f [2023-11-01T17:02:37.150Z] Removing intermediate container dba5c15ed97f [2023-11-01T17:02:37.150Z] ---> 9f95d6551947 [2023-11-01T17:02:37.150Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T17:02:37.150Z] ---> Running in 16ee8b39064a [2023-11-01T17:02:37.150Z] Removing intermediate container 16ee8b39064a [2023-11-01T17:02:37.150Z] ---> fa25b9c125a3 [2023-11-01T17:02:37.150Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T17:02:37.150Z] ---> Running in 195cda855cc4 [2023-11-01T17:02:37.150Z] Removing intermediate container 195cda855cc4 [2023-11-01T17:02:37.150Z] ---> 4613bb65aa48 [2023-11-01T17:02:37.150Z] Step 21/23 : LABEL arch=amd64 [2023-11-01T17:02:37.150Z] ---> Running in 3385c1548cc8 [2023-11-01T17:02:37.150Z] Removing intermediate container 3385c1548cc8 [2023-11-01T17:02:37.150Z] ---> 81306ebedc35 [2023-11-01T17:02:37.150Z] Step 22/23 : LABEL git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf [2023-11-01T17:02:37.410Z] ---> Running in 2f7a74910936 [2023-11-01T17:02:37.410Z] Removing intermediate container 2f7a74910936 [2023-11-01T17:02:37.410Z] ---> a7748561ed55 [2023-11-01T17:02:37.410Z] Step 23/23 : LABEL version=3.1.0-dev.39 [2023-11-01T17:02:37.410Z] ---> Running in 2405c54c222a [2023-11-01T17:02:37.410Z] Removing intermediate container 2405c54c222a [2023-11-01T17:02:37.410Z] ---> 7fd31a101605 [2023-11-01T17:02:37.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T17:02:37.410Z] Successfully built 7fd31a101605 [2023-11-01T17:02:37.410Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:02:37.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T17:02:37.824Z] [2023-11-01T17:02:37.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:02:38.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T17:02:38.123Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T17:02:38.123Z] 5eb5b503b376: Pulling fs layer [2023-11-01T17:02:38.123Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T17:02:38.123Z] ec43610c2a17: Pulling fs layer [2023-11-01T17:02:38.123Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T17:02:38.123Z] 33b1e0a273af: Pulling fs layer [2023-11-01T17:02:38.123Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T17:02:38.123Z] 2f39f015ded8: Pulling fs layer [2023-11-01T17:02:38.123Z] 33b1e0a273af: Waiting [2023-11-01T17:02:38.123Z] 5d3b04190fa2: Waiting [2023-11-01T17:02:38.123Z] 3a2ae6a8a46f: Waiting [2023-11-01T17:02:38.123Z] 2f39f015ded8: Waiting [2023-11-01T17:02:38.123Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T17:02:38.123Z] 5c69ac0246d0: Download complete [2023-11-01T17:02:38.123Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T17:02:38.123Z] 3a2ae6a8a46f: Download complete [2023-11-01T17:02:38.123Z] ec43610c2a17: Verifying Checksum [2023-11-01T17:02:38.123Z] ec43610c2a17: Download complete [2023-11-01T17:02:38.123Z] 33b1e0a273af: Verifying Checksum [2023-11-01T17:02:38.123Z] 33b1e0a273af: Download complete [2023-11-01T17:02:38.123Z] 5d3b04190fa2: Download complete [2023-11-01T17:02:38.382Z] 5eb5b503b376: Verifying Checksum [2023-11-01T17:02:38.382Z] 5eb5b503b376: Download complete [2023-11-01T17:02:38.948Z] 2f39f015ded8: Download complete [2023-11-01T17:02:39.206Z] 5eb5b503b376: Pull complete [2023-11-01T17:02:39.465Z] 5c69ac0246d0: Pull complete [2023-11-01T17:02:39.724Z] ec43610c2a17: Pull complete [2023-11-01T17:02:39.982Z] 3a2ae6a8a46f: Pull complete [2023-11-01T17:02:40.240Z] 33b1e0a273af: Pull complete [2023-11-01T17:02:40.240Z] 5d3b04190fa2: Pull complete [2023-11-01T17:02:44.426Z] 2f39f015ded8: Pull complete [2023-11-01T17:02:44.426Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T17:02:44.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T17:02:44.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:02:44.525Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:02:44.557Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T17:02:48.806Z] $ docker top c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:02:49.167Z] ---> job-cost.sh [2023-11-01T17:02:49.167Z] lf-activate-venv: SKIPPING [2023-11-01T17:02:49.167Z] INFO: No Stack... [2023-11-01T17:02:49.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T17:02:49.996Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T17:02:50.285Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-11-01T17:02:50.285Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T17:02:50.297Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [2023-11-01T17:02:50.305Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] did not exist. Created. [2023-11-01T17:02:50.305Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T17:02:50.609Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T17:02:50.645Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T17:02:50.652Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T17:02:50.675Z] $ docker stop --time=1 c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 [2023-11-01T17:02:51.819Z] $ docker rm -f --volumes c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T17:03:33.433Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16243 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-11-01T17:03:33.450Z] Running in /w/workspace/device-sdk-go/268 [Pipeline] { [Pipeline] checkout [2023-11-01T17:03:33.498Z] The recommended git tool is: git [2023-11-01T17:03:42.898Z] using credential edgex-jenkins-ssh [2023-11-01T17:03:42.915Z] Cloning the remote Git repository [2023-11-01T17:03:43.011Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T17:03:43.316Z] > git init /w/workspace/device-sdk-go/268 # timeout=10 [2023-11-01T17:03:43.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T17:03:43.566Z] > git --version # timeout=10 [2023-11-01T17:03:43.604Z] > git --version # 'git version 2.25.1' [2023-11-01T17:03:43.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T17:03:43.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T17:03:45.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T17:03:45.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T17:03:47.304Z] Avoid second fetch [2023-11-01T17:03:47.304Z] Checking out Revision 487ca8dbaf5a7983b4dd4e8681142a99360f28bf (main) [2023-11-01T17:03:48.407Z] Commit message: "docs: Update changelog for 3.1 release (#1534)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-11-01T17:03:47.327Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T17:03:47.438Z] > git checkout -f 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [Pipeline] sh [2023-11-01T17:03:49.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T17:03:49.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T17:03:49.416Z] Dload Upload Total Spent Left Speed [2023-11-01T17:03:49.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-11-01T17:03:50.495Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T17:03:50.910Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T17:03:50.910Z] + sudo tee /etc/docker/daemon.new [2023-11-01T17:03:51.197Z] { [2023-11-01T17:03:51.197Z] "registry-mirrors": [ [2023-11-01T17:03:51.197Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T17:03:51.197Z] ], [2023-11-01T17:03:51.197Z] "bip": "10.250.0.254/24", [2023-11-01T17:03:51.197Z] "hosts": [ [2023-11-01T17:03:51.197Z] "tcp://0.0.0.0:5555", [2023-11-01T17:03:51.197Z] "unix:///var/run/docker.sock" [2023-11-01T17:03:51.197Z] ], [2023-11-01T17:03:51.197Z] "mtu": 1458, [2023-11-01T17:03:51.197Z] "selinux-enabled": true, [2023-11-01T17:03:51.197Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T17:03:51.197Z] } [Pipeline] sh [2023-11-01T17:03:51.645Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T17:03:52.095Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T17:04:10.413Z] provisioning config files... [2023-11-01T17:04:10.446Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/268@tmp/config5175376494150556465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:04:10.841Z] ---> docker-login.sh [2023-11-01T17:04:10.841Z] nexus3.edgexfoundry.org:10001 [2023-11-01T17:04:11.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:04:11.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:04:11.440Z] Configure a credential helper to remove this warning. See [2023-11-01T17:04:11.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:04:11.440Z] [2023-11-01T17:04:11.440Z] Login Succeeded [2023-11-01T17:04:11.440Z] nexus3.edgexfoundry.org:10002 [2023-11-01T17:04:11.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:04:12.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:04:12.000Z] Configure a credential helper to remove this warning. See [2023-11-01T17:04:12.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:04:12.000Z] [2023-11-01T17:04:12.000Z] Login Succeeded [2023-11-01T17:04:12.000Z] nexus3.edgexfoundry.org:10003 [2023-11-01T17:04:12.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:04:12.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:04:12.275Z] Configure a credential helper to remove this warning. See [2023-11-01T17:04:12.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:04:12.275Z] [2023-11-01T17:04:12.275Z] Login Succeeded [2023-11-01T17:04:12.275Z] nexus3.edgexfoundry.org:10004 [2023-11-01T17:04:12.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:04:12.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:04:12.835Z] Configure a credential helper to remove this warning. See [2023-11-01T17:04:12.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:04:12.835Z] [2023-11-01T17:04:12.835Z] Login Succeeded [2023-11-01T17:04:12.835Z] docker.io [2023-11-01T17:04:13.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T17:04:13.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T17:04:13.393Z] Configure a credential helper to remove this warning. See [2023-11-01T17:04:13.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T17:04:13.393Z] [2023-11-01T17:04:13.393Z] Login Succeeded [2023-11-01T17:04:13.393Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T17:04:13.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T17:04:13.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T17:04:13.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T17:04:13.789Z] ========================================================= [2023-11-01T17:04:13.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T17:04:13.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:04:14.161Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T17:04:14.777Z] Sending build context to Docker daemon 6.029MB [2023-11-01T17:04:14.777Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T17:04:14.777Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T17:04:14.777Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T17:04:14.777Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T17:04:14.777Z] 5d54e960e981: Pulling fs layer [2023-11-01T17:04:14.777Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T17:04:14.777Z] f0e02332f6b5: Pulling fs layer [2023-11-01T17:04:14.778Z] cefa15bbcfad: Pulling fs layer [2023-11-01T17:04:14.778Z] 17808c966233: Pulling fs layer [2023-11-01T17:04:14.778Z] f4c1fc716caa: Pulling fs layer [2023-11-01T17:04:14.778Z] f0e02332f6b5: Waiting [2023-11-01T17:04:14.778Z] cefa15bbcfad: Waiting [2023-11-01T17:04:14.778Z] 17808c966233: Waiting [2023-11-01T17:04:14.778Z] f4c1fc716caa: Waiting [2023-11-01T17:04:14.778Z] 5d54e960e981: Verifying Checksum [2023-11-01T17:04:14.778Z] 5d54e960e981: Download complete [2023-11-01T17:04:15.050Z] f0e02332f6b5: Verifying Checksum [2023-11-01T17:04:15.050Z] f0e02332f6b5: Download complete [2023-11-01T17:04:15.050Z] cefa15bbcfad: Verifying Checksum [2023-11-01T17:04:15.050Z] cefa15bbcfad: Download complete [2023-11-01T17:04:15.050Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T17:04:15.050Z] 9fda8d8052c6: Download complete [2023-11-01T17:04:15.670Z] f4c1fc716caa: Verifying Checksum [2023-11-01T17:04:15.670Z] f4c1fc716caa: Download complete [2023-11-01T17:04:16.266Z] 9fda8d8052c6: Pull complete [2023-11-01T17:04:16.874Z] 5d54e960e981: Pull complete [2023-11-01T17:04:17.145Z] c4a7e357bf2a: Verifying Checksum [2023-11-01T17:04:17.145Z] c4a7e357bf2a: Download complete [2023-11-01T17:04:18.113Z] 17808c966233: Verifying Checksum [2023-11-01T17:04:18.113Z] 17808c966233: Download complete [2023-11-01T17:04:30.446Z] c4a7e357bf2a: Pull complete [2023-11-01T17:04:30.446Z] f0e02332f6b5: Pull complete [2023-11-01T17:04:30.716Z] cefa15bbcfad: Pull complete [2023-11-01T17:04:40.835Z] 17808c966233: Pull complete [2023-11-01T17:04:41.430Z] f4c1fc716caa: Pull complete [2023-11-01T17:04:41.430Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T17:04:41.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T17:04:41.430Z] ---> ea914061e18c [2023-11-01T17:04:41.430Z] Step 3/10 : ARG MAKE=make build [2023-11-01T17:04:42.412Z] ---> Running in 8269ca2d0ad2 [2023-11-01T17:04:42.700Z] Removing intermediate container 8269ca2d0ad2 [2023-11-01T17:04:42.700Z] ---> a489e2d06a51 [2023-11-01T17:04:42.700Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T17:04:42.700Z] ---> Running in 6cc4f47df1ed [2023-11-01T17:04:43.143Z] Removing intermediate container 6cc4f47df1ed [2023-11-01T17:04:43.143Z] ---> 9a23cb0d26ab [2023-11-01T17:04:43.143Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T17:04:43.143Z] ---> Running in e570c3ec1212 [2023-11-01T17:04:43.429Z] Removing intermediate container e570c3ec1212 [2023-11-01T17:04:43.429Z] ---> 64c15de97547 [2023-11-01T17:04:43.429Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T17:04:43.710Z] ---> Running in 349fc31a4df9 [2023-11-01T17:04:45.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T17:04:45.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T17:04:46.948Z] OK: 266 MiB in 52 packages [2023-11-01T17:04:47.562Z] Removing intermediate container 349fc31a4df9 [2023-11-01T17:04:47.562Z] ---> 11812ded15f5 [2023-11-01T17:04:47.562Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T17:04:48.156Z] ---> 0f2f50251536 [2023-11-01T17:04:48.156Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T17:04:48.433Z] ---> Running in d0160edd975a [2023-11-01T17:06:10.149Z] Removing intermediate container d0160edd975a [2023-11-01T17:06:10.149Z] ---> 36b49415202e [2023-11-01T17:06:10.149Z] Step 9/10 : COPY . . [2023-11-01T17:06:10.149Z] ---> 19b8fa3941a4 [2023-11-01T17:06:10.149Z] Step 10/10 : RUN ${MAKE} [2023-11-01T17:06:10.149Z] ---> Running in 40f539902997 [2023-11-01T17:06:10.149Z] noop [2023-11-01T17:06:10.149Z] Removing intermediate container 40f539902997 [2023-11-01T17:06:10.149Z] ---> 2a27d5c7a3ec [2023-11-01T17:06:10.149Z] Successfully built 2a27d5c7a3ec [2023-11-01T17:06:10.149Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:06:10.512Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T17:06:10.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:06:10.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container [2023-11-01T17:06:10.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T17:06:12.203Z] $ docker top 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T17:06:13.071Z] + go version [2023-11-01T17:06:13.072Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T17:06:13.097Z] $ docker stop --time=1 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e [2023-11-01T17:06:18.784Z] $ docker rm -f --volumes 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:06:19.399Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T17:06:19.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:06:19.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container [2023-11-01T17:06:19.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T17:06:21.048Z] $ docker top 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T17:06:21.950Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/268 [Pipeline] fileExists [Pipeline] sh [2023-11-01T17:06:22.612Z] + make test [2023-11-01T17:06:22.612Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T17:07:01.506Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T17:08:53.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T17:08:53.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T17:08:53.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T17:08:53.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T17:08:53.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T17:08:53.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.203s coverage: 27.6% of statements [2023-11-01T17:09:01.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.260s coverage: 81.5% of statements [2023-11-01T17:09:11.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T17:09:11.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T17:09:12.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.380s coverage: 86.0% of statements [2023-11-01T17:09:17.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T17:09:18.896Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.485s coverage: 71.8% of statements [2023-11-01T17:09:22.281Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.4% of statements [2023-11-01T17:09:22.281Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.957s coverage: 45.9% of statements [2023-11-01T17:09:22.870Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T17:09:22.870Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T17:09:24.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.385s coverage: 68.5% of statements [2023-11-01T17:09:26.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.438s coverage: 89.2% of statements [2023-11-01T17:09:27.931Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T17:09:29.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.240s coverage: 5.5% of statements [2023-11-01T17:09:29.930Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T17:09:29.930Z] GO111MODULE=on go vet ./... [2023-11-01T17:11:36.689Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T17:11:36.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T17:11:36.972Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T17:11:37.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T17:11:37.601Z] $ docker stop --time=1 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 [2023-11-01T17:11:41.488Z] $ docker rm -f --volumes 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T17:11:43.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T17:11:43.482Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T17:11:44.191Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T17:11:44.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T17:11:44.898Z] + ls -al . [2023-11-01T17:11:44.898Z] total 304 [2023-11-01T17:11:44.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 17:06 . [2023-11-01T17:11:44.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:03 .. [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:03 .dockerignore [2023-11-01T17:11:44.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:03 .git [2023-11-01T17:11:44.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:03 .github [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 17:03 .gitignore [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:03 .golangci.yml [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 17:03 CHANGELOG.md [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:03 GOVERNANCE.md [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 17:03 Jenkinsfile [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:03 LICENSE [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 17:03 Makefile [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:03 OWNERS.md [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 17:03 README.md [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 17:00 VERSION [2023-11-01T17:11:44.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:03 bin [2023-11-01T17:11:44.898Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 17:09 coverage.out [2023-11-01T17:11:44.898Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:03 example [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 17:03 go.mod [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 17:03 go.sum [2023-11-01T17:11:44.898Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:03 internal [2023-11-01T17:11:44.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:03 openapi [2023-11-01T17:11:44.898Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:03 pkg [2023-11-01T17:11:44.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:03 snap [2023-11-01T17:11:44.898Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:11:45.243Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf --label arch=arm64 --label version=3.1.0-dev.39 . [2023-11-01T17:11:45.829Z] Sending build context to Docker daemon 6.152MB [2023-11-01T17:11:45.829Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T17:11:45.829Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T17:11:45.829Z] ---> 2a27d5c7a3ec [2023-11-01T17:11:45.829Z] Step 3/23 : ARG MAKE=make build [2023-11-01T17:11:45.829Z] ---> Running in 87597a21b80c [2023-11-01T17:11:46.414Z] Removing intermediate container 87597a21b80c [2023-11-01T17:11:46.414Z] ---> 0f9bcbe06b48 [2023-11-01T17:11:46.414Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T17:11:46.414Z] ---> Running in 455d24112cf5 [2023-11-01T17:11:46.682Z] Removing intermediate container 455d24112cf5 [2023-11-01T17:11:46.682Z] ---> 7496521785da [2023-11-01T17:11:46.682Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T17:11:46.682Z] ---> Running in bfd2a679c1d0 [2023-11-01T17:11:46.951Z] Removing intermediate container bfd2a679c1d0 [2023-11-01T17:11:46.951Z] ---> ac4a0cd01d18 [2023-11-01T17:11:46.951Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T17:11:47.221Z] ---> Running in fa509d9e1905 [2023-11-01T17:11:48.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T17:11:48.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T17:11:50.185Z] OK: 266 MiB in 52 packages [2023-11-01T17:11:53.534Z] Removing intermediate container fa509d9e1905 [2023-11-01T17:11:53.534Z] ---> 5f106a218b54 [2023-11-01T17:11:53.534Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T17:11:54.122Z] ---> 402f9ba50c53 [2023-11-01T17:11:54.122Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T17:11:54.394Z] ---> Running in cfa1c0dde287 [2023-11-01T17:11:56.338Z] Removing intermediate container cfa1c0dde287 [2023-11-01T17:11:56.338Z] ---> 95848f5b3f7d [2023-11-01T17:11:56.338Z] Step 9/23 : COPY . . [2023-11-01T17:11:57.750Z] ---> e7f9a26e0fa8 [2023-11-01T17:11:57.750Z] Step 10/23 : RUN ${MAKE} [2023-11-01T17:11:57.750Z] ---> Running in 2bf61a384846 [2023-11-01T17:11:58.709Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-01T17:14:05.398Z] Removing intermediate container 2bf61a384846 [2023-11-01T17:14:05.398Z] ---> e41116f62b43 [2023-11-01T17:14:05.398Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T17:14:05.398Z] 3.18: Pulling from library/alpine [2023-11-01T17:14:05.398Z] 579b34f0a95b: Pulling fs layer [2023-11-01T17:14:05.398Z] 579b34f0a95b: Verifying Checksum [2023-11-01T17:14:05.398Z] 579b34f0a95b: Download complete [2023-11-01T17:14:05.398Z] 579b34f0a95b: Pull complete [2023-11-01T17:14:05.398Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T17:14:05.398Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T17:14:05.398Z] ---> 3cc203321400 [2023-11-01T17:14:05.398Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T17:14:05.398Z] ---> Running in cea429b49ecc [2023-11-01T17:14:05.398Z] Removing intermediate container cea429b49ecc [2023-11-01T17:14:05.398Z] ---> 8416f1734532 [2023-11-01T17:14:05.398Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T17:14:05.398Z] ---> Running in cccd5fcb140e [2023-11-01T17:14:05.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T17:14:05.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T17:14:05.398Z] OK: 8 MiB in 15 packages [2023-11-01T17:14:05.398Z] Removing intermediate container cccd5fcb140e [2023-11-01T17:14:05.398Z] ---> 602fc7cb2a50 [2023-11-01T17:14:05.398Z] Step 14/23 : WORKDIR / [2023-11-01T17:14:05.398Z] ---> Running in 8bc79f7a02e9 [2023-11-01T17:14:05.398Z] Removing intermediate container 8bc79f7a02e9 [2023-11-01T17:14:05.398Z] ---> ea41672c0046 [2023-11-01T17:14:05.398Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T17:14:05.398Z] ---> 73cfbd02be4a [2023-11-01T17:14:05.398Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T17:14:05.398Z] ---> 4bffa2a97a86 [2023-11-01T17:14:05.398Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T17:14:05.398Z] ---> b4e5279044f1 [2023-11-01T17:14:05.398Z] Step 18/23 : EXPOSE 59999 [2023-11-01T17:14:05.398Z] ---> Running in 18596edde49a [2023-11-01T17:14:05.398Z] Removing intermediate container 18596edde49a [2023-11-01T17:14:05.398Z] ---> 45f925c4cee9 [2023-11-01T17:14:05.398Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T17:14:05.398Z] ---> Running in a59c58840aaf [2023-11-01T17:14:05.671Z] Removing intermediate container a59c58840aaf [2023-11-01T17:14:05.671Z] ---> 6fc83b439284 [2023-11-01T17:14:05.671Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T17:14:05.939Z] ---> Running in 206be3bc203c [2023-11-01T17:14:06.209Z] Removing intermediate container 206be3bc203c [2023-11-01T17:14:06.209Z] ---> e5ee600795e2 [2023-11-01T17:14:06.209Z] Step 21/23 : LABEL arch=arm64 [2023-11-01T17:14:06.209Z] ---> Running in 8a46e047d2fb [2023-11-01T17:14:06.483Z] Removing intermediate container 8a46e047d2fb [2023-11-01T17:14:06.483Z] ---> cfcd6bd9c309 [2023-11-01T17:14:06.483Z] Step 22/23 : LABEL git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf [2023-11-01T17:14:06.483Z] ---> Running in 4519b38b9904 [2023-11-01T17:14:07.067Z] Removing intermediate container 4519b38b9904 [2023-11-01T17:14:07.067Z] ---> 90420ab74a9e [2023-11-01T17:14:07.067Z] Step 23/23 : LABEL version=3.1.0-dev.39 [2023-11-01T17:14:07.067Z] ---> Running in fd6b498114e1 [2023-11-01T17:14:07.332Z] Removing intermediate container fd6b498114e1 [2023-11-01T17:14:07.332Z] ---> a414592394bb [2023-11-01T17:14:07.332Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T17:14:07.332Z] Successfully built a414592394bb [2023-11-01T17:14:07.332Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:14:07.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T17:14:07.768Z] [2023-11-01T17:14:07.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:14:08.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T17:14:08.098Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T17:14:08.098Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T17:14:08.098Z] 04944245beec: Pulling fs layer [2023-11-01T17:14:08.098Z] 699f458cf7ca: Pulling fs layer [2023-11-01T17:14:08.098Z] 765212b225bb: Pulling fs layer [2023-11-01T17:14:08.098Z] f23df028b6ca: Pulling fs layer [2023-11-01T17:14:08.098Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T17:14:08.098Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T17:14:08.098Z] 765212b225bb: Waiting [2023-11-01T17:14:08.098Z] f23df028b6ca: Waiting [2023-11-01T17:14:08.098Z] d65c8cfc05b1: Waiting [2023-11-01T17:14:08.098Z] 2437ff75d9bd: Waiting [2023-11-01T17:14:08.368Z] 04944245beec: Verifying Checksum [2023-11-01T17:14:08.368Z] 04944245beec: Download complete [2023-11-01T17:14:08.368Z] 765212b225bb: Verifying Checksum [2023-11-01T17:14:08.368Z] 765212b225bb: Download complete [2023-11-01T17:14:08.368Z] f23df028b6ca: Verifying Checksum [2023-11-01T17:14:08.368Z] f23df028b6ca: Download complete [2023-11-01T17:14:08.368Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T17:14:08.368Z] d65c8cfc05b1: Download complete [2023-11-01T17:14:08.636Z] 699f458cf7ca: Verifying Checksum [2023-11-01T17:14:08.636Z] 699f458cf7ca: Download complete [2023-11-01T17:14:08.904Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T17:14:08.904Z] 8998bd30e6a1: Download complete [2023-11-01T17:14:11.491Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T17:14:11.491Z] 2437ff75d9bd: Download complete [2023-11-01T17:14:13.415Z] 8998bd30e6a1: Pull complete [2023-11-01T17:14:13.999Z] 04944245beec: Pull complete [2023-11-01T17:14:15.411Z] 699f458cf7ca: Pull complete [2023-11-01T17:14:15.678Z] 765212b225bb: Pull complete [2023-11-01T17:14:16.643Z] f23df028b6ca: Pull complete [2023-11-01T17:14:16.643Z] d65c8cfc05b1: Pull complete [2023-11-01T17:14:34.940Z] 2437ff75d9bd: Pull complete [2023-11-01T17:14:34.940Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T17:14:34.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T17:14:34.940Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:14:35.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container [2023-11-01T17:14:35.267Z] $ 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-sdk-go/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T17:14:38.090Z] $ docker top cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:14:38.984Z] ---> job-cost.sh [2023-11-01T17:14:38.984Z] lf-activate-venv: SKIPPING [2023-11-01T17:14:38.984Z] INFO: No Stack... [2023-11-01T17:14:39.570Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T17:14:40.152Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T17:14:40.476Z] + cat /w/workspace/device-sdk-go/268/archives/cost.csv [2023-11-01T17:14:40.476Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T17:14:40.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [2023-11-01T17:14:40.819Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] did not exist. Created. [2023-11-01T17:14:40.819Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T17:14:41.482Z] /w/workspace/device-sdk-go/268@tmp/durable-5f9502b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T17:14:42.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T17:14:42.163Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T17:14:42.261Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T17:14:42.268Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T17:14:42.289Z] $ docker stop --time=1 cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 [2023-11-01T17:14:43.801Z] $ docker rm -f --volumes cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-01T17:14:44.199Z] provisioning config files... [2023-11-01T17:14:44.206Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10334166170146697500tmp [Pipeline] { [Pipeline] sh [2023-11-01T17:14:44.500Z] + set +x [2023-11-01T17:14:44.500Z] + bash -s -- [2023-11-01T17:14:44.500Z] + curl -s https://codecov.io/bash [2023-11-01T17:14:44.500Z] [2023-11-01T17:14:44.500Z] _____ _ [2023-11-01T17:14:44.500Z] / ____| | | [2023-11-01T17:14:44.500Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T17:14:44.500Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T17:14:44.500Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T17:14:44.500Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T17:14:44.500Z] Bash-1.0.6 [2023-11-01T17:14:44.500Z] [2023-11-01T17:14:44.500Z] [2023-11-01T17:14:44.500Z] ==> git version 2.25.1 found [2023-11-01T17:14:44.501Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-01T17:14:44.501Z] Release-Date: 2020-01-08 [2023-11-01T17:14:44.501Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T17:14:44.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T17:14:44.501Z] ==> Jenkins CI detected. [2023-11-01T17:14:44.501Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-11-01T17:14:44.501Z] project root: . [2023-11-01T17:14:44.501Z] --> token set from env [2023-11-01T17:14:44.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T17:14:44.501Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T17:14:44.501Z] ==> Python coveragepy not found [2023-11-01T17:14:44.501Z] ==> Searching for coverage reports in: [2023-11-01T17:14:44.501Z] + . [2023-11-01T17:14:44.501Z] -> Found 1 reports [2023-11-01T17:14:44.501Z] ==> Detecting git/mercurial file structure [2023-11-01T17:14:44.501Z] ==> Reading reports [2023-11-01T17:14:44.501Z] + ./coverage.out bytes=122153 [2023-11-01T17:14:44.501Z] ==> Appending adjustments [2023-11-01T17:14:44.501Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T17:14:45.070Z] + Found adjustments [2023-11-01T17:14:45.070Z] ==> Gzipping contents [2023-11-01T17:14:45.070Z] 20K /tmp/codecov.3ULhqo.gz [2023-11-01T17:14:45.070Z] ==> Uploading reports [2023-11-01T17:14:45.070Z] url: https://codecov.io [2023-11-01T17:14:45.070Z] query: branch=main&commit=487ca8dbaf5a7983b4dd4e8681142a99360f28bf&build=268&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F268%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T17:14:45.070Z] -> Pinging Codecov [2023-11-01T17:14:45.070Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=487ca8dbaf5a7983b4dd4e8681142a99360f28bf&build=268&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F268%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-01T17:14:45.070Z] -> Uploading to [2023-11-01T17:14:45.070Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/487ca8dbaf5a7983b4dd4e8681142a99360f28bf/a49e7bc2-e48a-4ab0-9a54-28888094f774.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T171444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fdf82a75827e923255acec6f4da9b1fcd0c57eb42c4cf9535e481266b21b65a [2023-11-01T17:14:45.070Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T17:14:45.070Z] Dload Upload Total Spent Left Speed [2023-11-01T17:14:45.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 63454 --:--:-- --:--:-- --:--:-- 63454 [2023-11-01T17:14:45.331Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] } [2023-11-01T17:14:45.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-01T17:14:45.554Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-01T17:14:45.563Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:14:45.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T17:14:45.860Z] [2023-11-01T17:14:45.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:14:46.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T17:14:46.157Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-01T17:14:46.157Z] df9b9388f04a: Pulling fs layer [2023-11-01T17:14:46.157Z] 52dc419b0ee2: Pulling fs layer [2023-11-01T17:14:46.157Z] 25bc292e5bac: Pulling fs layer [2023-11-01T17:14:46.157Z] 114826534d7a: Pulling fs layer [2023-11-01T17:14:46.157Z] 4657fd5d0bcf: Pulling fs layer [2023-11-01T17:14:46.157Z] 6ad1cebc031e: Pulling fs layer [2023-11-01T17:14:46.157Z] 8a3aa393b2d8: Pulling fs layer [2023-11-01T17:14:46.157Z] 114826534d7a: Waiting [2023-11-01T17:14:46.157Z] 4657fd5d0bcf: Waiting [2023-11-01T17:14:46.157Z] 6ad1cebc031e: Waiting [2023-11-01T17:14:46.157Z] 25bc292e5bac: Verifying Checksum [2023-11-01T17:14:46.157Z] 25bc292e5bac: Download complete [2023-11-01T17:14:46.157Z] 52dc419b0ee2: Download complete [2023-11-01T17:14:46.157Z] 4657fd5d0bcf: Verifying Checksum [2023-11-01T17:14:46.157Z] 4657fd5d0bcf: Download complete [2023-11-01T17:14:46.157Z] df9b9388f04a: Verifying Checksum [2023-11-01T17:14:46.157Z] df9b9388f04a: Download complete [2023-11-01T17:14:46.417Z] df9b9388f04a: Pull complete [2023-11-01T17:14:46.418Z] 6ad1cebc031e: Verifying Checksum [2023-11-01T17:14:46.418Z] 6ad1cebc031e: Download complete [2023-11-01T17:14:46.418Z] 52dc419b0ee2: Pull complete [2023-11-01T17:14:46.418Z] 25bc292e5bac: Pull complete [2023-11-01T17:14:46.987Z] 114826534d7a: Verifying Checksum [2023-11-01T17:14:46.987Z] 114826534d7a: Download complete [2023-11-01T17:14:46.987Z] 8a3aa393b2d8: Verifying Checksum [2023-11-01T17:14:46.987Z] 8a3aa393b2d8: Download complete [2023-11-01T17:14:50.272Z] 114826534d7a: Pull complete [2023-11-01T17:14:50.272Z] 4657fd5d0bcf: Pull complete [2023-11-01T17:14:50.839Z] 6ad1cebc031e: Pull complete [2023-11-01T17:14:53.371Z] 8a3aa393b2d8: Pull complete [2023-11-01T17:14:53.371Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-01T17:14:53.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-01T17:14:53.371Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:14:53.455Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:14:53.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-01T17:14:58.803Z] $ docker top 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-01T17:14:58.872Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-11-01T17:14:59.153Z] + set -o pipefail [2023-11-01T17:14:59.153Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-11-01T17:15:04.430Z] [2023-11-01T17:15:04.430Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-11-01T17:15:04.430Z] [2023-11-01T17:15:04.430Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9898b9d9-ff1d-4cbf-81d4-1e06393088f0 [2023-11-01T17:15:04.430Z] [2023-11-01T17:15:04.430Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-01T17:15:04.430Z] [2023-11-01T17:15:04.430Z] [2023-11-01T17:15:04.430Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-01T17:15:04.430Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-01T17:15:04.430Z] More details here: https://snyk.co/ue1NS [2023-11-01T17:15:04.430Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-01T17:15:04.430Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-01T17:15:04.446Z] $ docker stop --time=1 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 [2023-11-01T17:15:09.063Z] $ docker rm -f --volumes 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-11-01T17:15:09.477Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T17:15:09.492Z] provisioning config files... [2023-11-01T17:15:09.498Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2918456467725799954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:09.796Z] --> edgex-publish-swagger.sh [2023-11-01T17:15:09.796Z] === Publish openapi/v3 API === [2023-11-01T17:15:09.796Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-11-01T17:15:09.796Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-11-01T17:15:09.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T17:15:09.796Z] Dload Upload Total Spent Left Speed [2023-11-01T17:15:10.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 50693 --:--:-- --:--:-- --:--:-- 50693 [2023-11-01T17:15:10.056Z] [2023-11-01T17:15:10.056Z] [Pipeline] } [2023-11-01T17:15:10.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T17:15:10.541Z] + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] sh [2023-11-01T17:15:10.835Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T17:15:10.835Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:11.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T17:15:11.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:15:11.214Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:15:11.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T17:15:11.698Z] $ docker top bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 -eo pid,comm [2023-11-01T17:15:11.741Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T17:15:11.741Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T17:15:11.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T17:15:11.779Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T17:15:11.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T17:15:11.894Z] $ docker exec bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 ssh-agent [2023-11-01T17:15:11.995Z] SSH_AUTH_SOCK=/tmp/ssh-svtt3a0XjXzY/agent.33 [2023-11-01T17:15:11.995Z] SSH_AGENT_PID=39 [2023-11-01T17:15:11.999Z] Running ssh-add (command line suppressed) [2023-11-01T17:15:12.115Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6417460602656050393.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6417460602656050393.key) [2023-11-01T17:15:12.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T17:15:12.411Z] + git semver tag [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,621 [run_tag] DEBUG tag force:False [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,621 [check_head_tag] DEBUG check head tag [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,622 [execute] INFO git cat-file --batch-check [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,627 [execute] INFO git cat-file --batch [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,650 [execute] INFO git tag -a v3.1.0-dev.39 -m v3.1.0-dev.39 [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,650 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.39', '-m', 'v3.1.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T17:15:12.671Z] 2023-11-01 17:15:12,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:12.671Z] 3.1.0-dev.39 [Pipeline] } [2023-11-01T17:15:12.944Z] $ docker exec --env ******** --env ******** bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 ssh-agent -k [2023-11-01T17:15:13.043Z] unset SSH_AUTH_SOCK; [2023-11-01T17:15:13.043Z] unset SSH_AGENT_PID; [2023-11-01T17:15:13.043Z] echo Agent pid 39 killed; [2023-11-01T17:15:13.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T17:15:13.368Z] + git semver [Pipeline] } [2023-11-01T17:15:13.646Z] $ docker stop --time=1 bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 [2023-11-01T17:15:14.914Z] $ docker rm -f --volumes bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:15.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T17:15:15.309Z] [2023-11-01T17:15:15.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:15.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T17:15:15.626Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-01T17:15:15.626Z] ab5ef0e58194: Pulling fs layer [2023-11-01T17:15:15.626Z] 9712f1f96733: Pulling fs layer [2023-11-01T17:15:15.626Z] 63f879dbbcfc: Pulling fs layer [2023-11-01T17:15:15.626Z] 0d9ebad4ef96: Pulling fs layer [2023-11-01T17:15:15.626Z] e9a5061849ea: Pulling fs layer [2023-11-01T17:15:15.626Z] d747dcd14b5f: Pulling fs layer [2023-11-01T17:15:15.626Z] 2de7ff778b66: Pulling fs layer [2023-11-01T17:15:15.626Z] e9a5061849ea: Waiting [2023-11-01T17:15:15.626Z] d747dcd14b5f: Waiting [2023-11-01T17:15:15.626Z] 2de7ff778b66: Waiting [2023-11-01T17:15:15.626Z] 0d9ebad4ef96: Waiting [2023-11-01T17:15:15.626Z] 9712f1f96733: Verifying Checksum [2023-11-01T17:15:15.626Z] 9712f1f96733: Download complete [2023-11-01T17:15:15.886Z] 63f879dbbcfc: Verifying Checksum [2023-11-01T17:15:15.886Z] 63f879dbbcfc: Download complete [2023-11-01T17:15:17.104Z] e9a5061849ea: Download complete [2023-11-01T17:15:17.104Z] 0d9ebad4ef96: Verifying Checksum [2023-11-01T17:15:17.104Z] 0d9ebad4ef96: Download complete [2023-11-01T17:15:17.104Z] d747dcd14b5f: Download complete [2023-11-01T17:15:17.104Z] ab5ef0e58194: Download complete [2023-11-01T17:15:17.362Z] 2de7ff778b66: Verifying Checksum [2023-11-01T17:15:17.362Z] 2de7ff778b66: Download complete [2023-11-01T17:15:19.263Z] ab5ef0e58194: Pull complete [2023-11-01T17:15:19.263Z] 9712f1f96733: Pull complete [2023-11-01T17:15:19.831Z] 63f879dbbcfc: Pull complete [2023-11-01T17:15:24.023Z] 0d9ebad4ef96: Pull complete [2023-11-01T17:15:24.023Z] e9a5061849ea: Pull complete [2023-11-01T17:15:24.023Z] d747dcd14b5f: Pull complete [2023-11-01T17:15:24.960Z] 2de7ff778b66: Pull complete [2023-11-01T17:15:24.960Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-01T17:15:24.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-01T17:15:24.960Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:15:25.037Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:15:25.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-01T17:15:32.029Z] $ docker top 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-01T17:15:32.100Z] provisioning config files... [2023-11-01T17:15:32.106Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17501090289801740673tmp [2023-11-01T17:15:32.117Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5965605602710182073tmp [2023-11-01T17:15:32.126Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12361920607799578097tmp [Pipeline] { [Pipeline] echo [2023-11-01T17:15:32.143Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:32.422Z] ---> sigul-configuration.sh [2023-11-01T17:15:32.422Z] gpg: directory `/root/.gnupg' created [2023-11-01T17:15:32.422Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-01T17:15:32.422Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-01T17:15:32.422Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-01T17:15:32.422Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-01T17:15:32.422Z] gpg: CAST5 encrypted data [2023-11-01T17:15:32.422Z] gpg: encrypted with 1 passphrase [2023-11-01T17:15:32.422Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-01T17:15:32.708Z] + mkdir /home/jenkins [2023-11-01T17:15:32.708Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-01T17:15:32.992Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-01T17:15:33.001Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:33.284Z] ---> sigul-install.sh [2023-11-01T17:15:33.284Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-01T17:15:33.567Z] + git tag --list [2023-11-01T17:15:33.567Z] 0.7.1 [2023-11-01T17:15:33.567Z] delhi-tag [2023-11-01T17:15:33.567Z] v1.0.0 [2023-11-01T17:15:33.567Z] v1.1.0 [2023-11-01T17:15:33.567Z] v1.1.1 [2023-11-01T17:15:33.567Z] v1.1.2 [2023-11-01T17:15:33.567Z] v1.2.0 [2023-11-01T17:15:33.567Z] v1.2.1 [2023-11-01T17:15:33.567Z] v1.2.2 [2023-11-01T17:15:33.567Z] v1.2.3 [2023-11-01T17:15:33.567Z] v1.3.0 [2023-11-01T17:15:33.567Z] v1.4.0 [2023-11-01T17:15:33.567Z] v2.0.0 [2023-11-01T17:15:33.567Z] v2.1.0 [2023-11-01T17:15:33.567Z] v2.1.1 [2023-11-01T17:15:33.567Z] v2.2.0 [2023-11-01T17:15:33.567Z] v2.3.0 [2023-11-01T17:15:33.567Z] v2.3.1 [2023-11-01T17:15:33.567Z] v3.0 [2023-11-01T17:15:33.567Z] v3.0.0 [2023-11-01T17:15:33.567Z] v3.0.1-dev.1 [2023-11-01T17:15:33.567Z] v3.1.0-dev.1 [2023-11-01T17:15:33.567Z] v3.1.0-dev.10 [2023-11-01T17:15:33.567Z] v3.1.0-dev.11 [2023-11-01T17:15:33.567Z] v3.1.0-dev.12 [2023-11-01T17:15:33.567Z] v3.1.0-dev.13 [2023-11-01T17:15:33.567Z] v3.1.0-dev.14 [2023-11-01T17:15:33.567Z] v3.1.0-dev.15 [2023-11-01T17:15:33.567Z] v3.1.0-dev.16 [2023-11-01T17:15:33.567Z] v3.1.0-dev.17 [2023-11-01T17:15:33.567Z] v3.1.0-dev.18 [2023-11-01T17:15:33.567Z] v3.1.0-dev.19 [2023-11-01T17:15:33.567Z] v3.1.0-dev.2 [2023-11-01T17:15:33.567Z] v3.1.0-dev.20 [2023-11-01T17:15:33.567Z] v3.1.0-dev.21 [2023-11-01T17:15:33.567Z] v3.1.0-dev.22 [2023-11-01T17:15:33.567Z] v3.1.0-dev.23 [2023-11-01T17:15:33.567Z] v3.1.0-dev.24 [2023-11-01T17:15:33.567Z] v3.1.0-dev.25 [2023-11-01T17:15:33.567Z] v3.1.0-dev.26 [2023-11-01T17:15:33.567Z] v3.1.0-dev.27 [2023-11-01T17:15:33.567Z] v3.1.0-dev.28 [2023-11-01T17:15:33.567Z] v3.1.0-dev.29 [2023-11-01T17:15:33.567Z] v3.1.0-dev.3 [2023-11-01T17:15:33.567Z] v3.1.0-dev.30 [2023-11-01T17:15:33.567Z] v3.1.0-dev.31 [2023-11-01T17:15:33.567Z] v3.1.0-dev.32 [2023-11-01T17:15:33.567Z] v3.1.0-dev.33 [2023-11-01T17:15:33.567Z] v3.1.0-dev.34 [2023-11-01T17:15:33.567Z] v3.1.0-dev.35 [2023-11-01T17:15:33.567Z] v3.1.0-dev.36 [2023-11-01T17:15:33.567Z] v3.1.0-dev.37 [2023-11-01T17:15:33.567Z] v3.1.0-dev.38 [2023-11-01T17:15:33.567Z] v3.1.0-dev.39 [2023-11-01T17:15:33.567Z] v3.1.0-dev.4 [2023-11-01T17:15:33.567Z] v3.1.0-dev.5 [2023-11-01T17:15:33.567Z] v3.1.0-dev.6 [2023-11-01T17:15:33.567Z] v3.1.0-dev.7 [2023-11-01T17:15:33.567Z] v3.1.0-dev.8 [2023-11-01T17:15:33.567Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-01T17:15:33.854Z] + lftools sign git-tag v3.1.0-dev.39 [2023-11-01T17:15:34.422Z] Signing Git tag with Sigul... [2023-11-01T17:15:34.422Z] Signing v3.1.0-dev.39 [Pipeline] echo [2023-11-01T17:15:34.688Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:34.970Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-01T17:15:34.978Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-01T17:15:35.002Z] $ docker stop --time=1 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 [2023-11-01T17:15:36.306Z] $ docker rm -f --volumes 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-01T17:15:36.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T17:15:36.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:36.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T17:15:36.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:15:37.063Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:15:37.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T17:15:37.462Z] $ docker top c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b -eo pid,comm [2023-11-01T17:15:37.511Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-01T17:15:37.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T17:15:37.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T17:15:37.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T17:15:37.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T17:15:37.684Z] $ docker exec c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b ssh-agent [2023-11-01T17:15:37.797Z] SSH_AUTH_SOCK=/tmp/ssh-WwUG9gRGurof/agent.33 [2023-11-01T17:15:37.797Z] SSH_AGENT_PID=39 [2023-11-01T17:15:37.802Z] Running ssh-add (command line suppressed) [2023-11-01T17:15:37.912Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2250746454331828775.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2250746454331828775.key) [2023-11-01T17:15:37.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T17:15:38.209Z] + git semver bump pre [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,428 [bump_version] DEBUG bumping version:3.1.0-dev.39 on axis:pre with prefix:dev [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,428 [bump_version] DEBUG bumped version:3.1.0-dev.40 [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,428 [write_version] DEBUG write version:3.1.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,429 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,431 [execute] INFO git cat-file --batch-check [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,438 [execute] INFO git cat-file --batch [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T17:15:38.470Z] 2023-11-01 17:15:38,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:38.470Z] 3.1.0-dev.40 [Pipeline] } [2023-11-01T17:15:38.484Z] $ docker exec --env ******** --env ******** c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b ssh-agent -k [2023-11-01T17:15:38.591Z] unset SSH_AUTH_SOCK; [2023-11-01T17:15:38.592Z] unset SSH_AGENT_PID; [2023-11-01T17:15:38.592Z] echo Agent pid 39 killed; [2023-11-01T17:15:38.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T17:15:38.908Z] + git semver [Pipeline] } [2023-11-01T17:15:39.184Z] $ docker stop --time=1 c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b [2023-11-01T17:15:40.444Z] $ docker rm -f --volumes c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T17:15:40.782Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T17:15:40.782Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:41.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T17:15:41.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:15:41.165Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:15:41.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T17:15:41.557Z] $ docker top b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T17:15:41.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T17:15:41.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T17:15:41.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T17:15:41.774Z] $ docker exec b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 ssh-agent [2023-11-01T17:15:41.887Z] SSH_AUTH_SOCK=/tmp/ssh-cOiZ8PylEejY/agent.32 [2023-11-01T17:15:41.887Z] SSH_AGENT_PID=38 [2023-11-01T17:15:41.892Z] Running ssh-add (command line suppressed) [2023-11-01T17:15:42.003Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13040419790874403503.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13040419790874403503.key) [2023-11-01T17:15:42.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T17:15:42.302Z] + git semver push [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,497 [run_push] DEBUG push [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,498 [execute] INFO git cat-file --batch-check [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,503 [execute] INFO git rev-list 0f47c13e40ed999e7c017e16299ebd92af35ac89 -- [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,503 [execute] DEBUG Popen(['git', 'rev-list', '0f47c13e40ed999e7c017e16299ebd92af35ac89', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,518 [execute] INFO git fetch -v origin [2023-11-01T17:15:42.562Z] 2023-11-01 17:15:42,519 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-01T17:15:43.130Z] 2023-11-01 17:15:43,074 [run_push] DEBUG no remote changes detected [2023-11-01T17:15:43.130Z] 2023-11-01 17:15:43,074 [execute] INFO git push origin semver [2023-11-01T17:15:43.130Z] 2023-11-01 17:15:43,075 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-01T17:15:44.067Z] 2023-11-01 17:15:44,048 [run_push] DEBUG push all version tags [2023-11-01T17:15:44.067Z] 2023-11-01 17:15:44,049 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-01T17:15:44.067Z] 2023-11-01 17:15:44,049 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-01T17:15:45.003Z] 2023-11-01 17:15:44,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-11-01T17:15:45.003Z] 3.1.0-dev.40 [Pipeline] } [2023-11-01T17:15:45.017Z] $ docker exec --env ******** --env ******** b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 ssh-agent -k [2023-11-01T17:15:45.116Z] unset SSH_AUTH_SOCK; [2023-11-01T17:15:45.117Z] unset SSH_AGENT_PID; [2023-11-01T17:15:45.117Z] echo Agent pid 38 killed; [2023-11-01T17:15:45.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T17:15:45.438Z] + git semver [Pipeline] } [2023-11-01T17:15:45.716Z] $ docker stop --time=1 b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 [2023-11-01T17:15:47.037Z] $ docker rm -f --volumes b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T17:15:47.557Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-11-01T17:15:47.557Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T17:15:47.557Z] total 16 [2023-11-01T17:15:47.557Z] drwxr-xr-x 3 root root 4096 Nov 1 17:02 . [2023-11-01T17:15:47.557Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:15 .. [2023-11-01T17:15:47.557Z] drwxr-xr-x 2 root root 4096 Nov 1 17:02 cost [2023-11-01T17:15:47.557Z] -rw-r--r-- 1 root root 85 Nov 1 17:02 cost.csv [2023-11-01T17:15:47.557Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T17:15:47.557Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-11-01T17:15:47.557Z] total 16 [2023-11-01T17:15:47.557Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:02 . [2023-11-01T17:15:47.557Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:15 .. [2023-11-01T17:15:47.557Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:02 cost [2023-11-01T17:15:47.557Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 1 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:47.859Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:48.717Z] ---> package-listing.sh [2023-11-01T17:15:48.717Z] ++ facter osfamily [2023-11-01T17:15:48.717Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T17:15:48.977Z] + OS_FAMILY=debian [2023-11-01T17:15:48.977Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-11-01T17:15:48.977Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T17:15:48.977Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T17:15:48.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T17:15:48.977Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T17:15:48.977Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-01T17:15:48.977Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T17:15:48.977Z] + case "${OS_FAMILY}" in [2023-11-01T17:15:48.977Z] + dpkg -l [2023-11-01T17:15:48.977Z] + grep '^ii' [2023-11-01T17:15:48.977Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T17:15:48.977Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T17:15:48.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T17:15:48.977Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-11-01T17:15:48.977Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-11-01T17:15:48.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-11-01T17:15:48.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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T17:15:49.266Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T17:15:49.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T17:15:49.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T17:15:49.892Z] prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container [2023-11-01T17:15:49.927Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T17:15:50.152Z] $ docker top 86f1635e8d2aaad932c165e864354bee368df1d2ef0d4c32cf45d70baab29bdb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T17:15:50.564Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T17:15:50.943Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T17:15:51.251Z] + ls /var/log/sa-host [2023-11-01T17:15:51.251Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T17:15:51.317Z] provisioning config files... [2023-11-01T17:15:51.326Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6554281257663588718tmp [Pipeline] { [Pipeline] echo [2023-11-01T17:15:51.339Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:51.627Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T17:15:51.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:51.962Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T17:15:51.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:52.256Z] ---> sudo-logs.sh [2023-11-01T17:15:52.256Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T17:15:52.282Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:52.568Z] ---> job-cost.sh [2023-11-01T17:15:52.568Z] lf-activate-venv: SKIPPING [2023-11-01T17:15:52.568Z] DEBUG: total: 0.2199999988079071 [2023-11-01T17:15:52.568Z] INFO: Retrieving Stack Cost... [2023-11-01T17:15:52.826Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T17:15:53.392Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T17:15:53.402Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T17:15:53.682Z] ---> logs-deploy.sh [2023-11-01T17:15:53.682Z] lf-activate-venv: SKIPPING [2023-11-01T17:15:53.682Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/268 [2023-11-01T17:15:53.682Z] INFO: archiving workspace using pattern(s): [2023-11-01T17:15:54.622Z] Archives upload complete. [2023-11-01T17:15:54.622Z] INFO: archiving logs to Nexus