Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 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-ssh14345973132739346853.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5895002857876045020.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh943933845740020821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh12454817895639214732.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-ssh7365062677174570787.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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4894 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 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503)" > 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 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 > git rev-list --no-walk c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-30T15:34:41.871Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T15:34:41.922Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T15:34:41.938Z] ========================================================= [2023-08-30T15:34:41.938Z] EdgeX Global Pipelines Version Info [2023-08-30T15:34:41.938Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:34:42.667Z] ------------------- [2023-08-30T15:34:42.667Z] stable info: [2023-08-30T15:34:42.667Z] ------------------- [2023-08-30T15:34:42.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T15:34:42.667Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T15:34:42.667Z] Message: update stable to v1.0.253 [2023-08-30T15:34:43.239Z] ------------------- [2023-08-30T15:34:43.239Z] experimental info: [2023-08-30T15:34:43.239Z] ------------------- [2023-08-30T15:34:43.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T15:34:43.239Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T15:34:43.239Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T15:34:43.415Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-30T15:34:43.425Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-30T15:34:43.435Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T15:34:43.445Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T15:34:43.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T15:34:43.484Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-30T15:34:43.503Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-30T15:34:43.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-30T15:34:43.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-30T15:34:43.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T15:34:43.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T15:34:43.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-30T15:34:43.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T15:34:43.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T15:34:43.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T15:34:43.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T15:34:43.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T15:34:43.710Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T15:34:43.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T15:34:43.747Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T15:34:43.764Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-30T15:34:43.775Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-30T15:34:43.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-30T15:34:43.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-30T15:34:43.824Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-30T15:34:43.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T15:34:43.857Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-30T15:34:43.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-30T15:34:43.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-30T15:34:43.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-30T15:34:43.917Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo [2023-08-30T15:34:43.934Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 301ec9e [Pipeline] echo [2023-08-30T15:34:43.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T15:34:43.987Z] provisioning config files... [2023-08-30T15:34:43.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10824635860489203209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:34:44.298Z] ---> docker-login.sh [2023-08-30T15:34:44.298Z] nexus3.edgexfoundry.org:10001 [2023-08-30T15:34:44.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:34:44.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:34:44.558Z] Configure a credential helper to remove this warning. See [2023-08-30T15:34:44.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:34:44.558Z] [2023-08-30T15:34:44.558Z] Login Succeeded [2023-08-30T15:34:44.558Z] nexus3.edgexfoundry.org:10002 [2023-08-30T15:34:44.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:34:44.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:34:44.819Z] Configure a credential helper to remove this warning. See [2023-08-30T15:34:44.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:34:44.819Z] [2023-08-30T15:34:44.819Z] Login Succeeded [2023-08-30T15:34:44.819Z] nexus3.edgexfoundry.org:10003 [2023-08-30T15:34:44.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:34:44.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:34:44.819Z] Configure a credential helper to remove this warning. See [2023-08-30T15:34:44.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:34:44.819Z] [2023-08-30T15:34:44.819Z] Login Succeeded [2023-08-30T15:34:44.819Z] nexus3.edgexfoundry.org:10004 [2023-08-30T15:34:44.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:34:45.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:34:45.080Z] Configure a credential helper to remove this warning. See [2023-08-30T15:34:45.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:34:45.080Z] [2023-08-30T15:34:45.080Z] Login Succeeded [2023-08-30T15:34:45.080Z] docker.io [2023-08-30T15:34:45.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:34:45.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:34:45.339Z] Configure a credential helper to remove this warning. See [2023-08-30T15:34:45.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:34:45.339Z] [2023-08-30T15:34:45.339Z] Login Succeeded [2023-08-30T15:34:45.339Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T15:34:45.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-30T15:34:45.726Z] + git rev-list -1 --merges 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0~1..301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo [2023-08-30T15:34:45.773Z] -----------> git rev-list -1 --merges 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0~1..301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [false] [Pipeline] sh [2023-08-30T15:34:46.061Z] + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo [2023-08-30T15:34:46.090Z] ========================================================= [2023-08-30T15:34:46.090Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T15:34:46.090Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T15:34:46.421Z] + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] echo [2023-08-30T15:34:46.431Z] [semverPrep] GIT_COMMIT: 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503) [Pipeline] echo [2023-08-30T15:34:46.440Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-30T15:34:46.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T15:34:46.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T15:34:46.790Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T15:34:46.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T15:34:46.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-30T15:34:46.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-30T15:34:46.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:34:47.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:34:47.212Z] [2023-08-30T15:34:47.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:34:47.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:34:47.512Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T15:34:47.512Z] b85a868b505f: Pulling fs layer [2023-08-30T15:34:47.512Z] e2be974225ed: Pulling fs layer [2023-08-30T15:34:47.512Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T15:34:47.512Z] 988bab9f4d93: Pulling fs layer [2023-08-30T15:34:47.512Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T15:34:47.512Z] eaf3925da568: Pulling fs layer [2023-08-30T15:34:47.512Z] bab4dde63d76: Pulling fs layer [2023-08-30T15:34:47.512Z] bde34c3a00c8: Pulling fs layer [2023-08-30T15:34:47.512Z] b352a97aabf1: Pulling fs layer [2023-08-30T15:34:47.512Z] 4872d77fe225: Pulling fs layer [2023-08-30T15:34:47.512Z] 5851b861e8e6: Pulling fs layer [2023-08-30T15:34:47.512Z] 988bab9f4d93: Waiting [2023-08-30T15:34:47.512Z] 1469e6f7b9e6: Waiting [2023-08-30T15:34:47.512Z] eaf3925da568: Waiting [2023-08-30T15:34:47.512Z] bab4dde63d76: Waiting [2023-08-30T15:34:47.512Z] bde34c3a00c8: Waiting [2023-08-30T15:34:47.512Z] b352a97aabf1: Waiting [2023-08-30T15:34:47.512Z] 4872d77fe225: Waiting [2023-08-30T15:34:47.512Z] 5851b861e8e6: Waiting [2023-08-30T15:34:47.512Z] e2be974225ed: Verifying Checksum [2023-08-30T15:34:47.512Z] e2be974225ed: Download complete [2023-08-30T15:34:47.512Z] 988bab9f4d93: Verifying Checksum [2023-08-30T15:34:47.512Z] 988bab9f4d93: Download complete [2023-08-30T15:34:47.771Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T15:34:47.771Z] 1469e6f7b9e6: Download complete [2023-08-30T15:34:47.771Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T15:34:47.771Z] 339a4e72a1f5: Download complete [2023-08-30T15:34:47.771Z] eaf3925da568: Verifying Checksum [2023-08-30T15:34:47.771Z] eaf3925da568: Download complete [2023-08-30T15:34:47.771Z] bde34c3a00c8: Download complete [2023-08-30T15:34:47.771Z] b352a97aabf1: Download complete [2023-08-30T15:34:47.771Z] 4872d77fe225: Download complete [2023-08-30T15:34:47.771Z] 5851b861e8e6: Verifying Checksum [2023-08-30T15:34:47.771Z] 5851b861e8e6: Download complete [2023-08-30T15:34:47.771Z] b85a868b505f: Verifying Checksum [2023-08-30T15:34:47.771Z] b85a868b505f: Download complete [2023-08-30T15:34:48.034Z] bab4dde63d76: Download complete [2023-08-30T15:34:49.414Z] b85a868b505f: Pull complete [2023-08-30T15:34:49.414Z] e2be974225ed: Pull complete [2023-08-30T15:34:49.674Z] 339a4e72a1f5: Pull complete [2023-08-30T15:34:49.674Z] 988bab9f4d93: Pull complete [2023-08-30T15:34:49.933Z] 1469e6f7b9e6: Pull complete [2023-08-30T15:34:50.192Z] eaf3925da568: Pull complete [2023-08-30T15:34:51.587Z] bab4dde63d76: Pull complete [2023-08-30T15:34:51.587Z] bde34c3a00c8: Pull complete [2023-08-30T15:34:51.847Z] b352a97aabf1: Pull complete [2023-08-30T15:34:51.847Z] 4872d77fe225: Pull complete [2023-08-30T15:34:51.847Z] 5851b861e8e6: Pull complete [2023-08-30T15:34:51.847Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T15:34:51.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:34:51.847Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:34:51.937Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:34:51.967Z] $ 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-08-30T15:34:54.722Z] $ docker top bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 -eo pid,comm [2023-08-30T15:34:54.775Z] 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-08-30T15:34:54.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T15:34:54.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T15:34:54.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T15:34:54.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T15:34:54.928Z] $ docker exec bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent [2023-08-30T15:34:55.026Z] SSH_AUTH_SOCK=/tmp/ssh-IO1sF6gMi75X/agent.32 [2023-08-30T15:34:55.026Z] SSH_AGENT_PID=38 [2023-08-30T15:34:55.032Z] Running ssh-add (command line suppressed) [2023-08-30T15:34:55.143Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15027179341169520491.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15027179341169520491.key) [2023-08-30T15:34:55.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T15:34:55.444Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T15:34:55.459Z] $ docker exec --env ******** --env ******** bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent -k [2023-08-30T15:34:55.552Z] unset SSH_AUTH_SOCK; [2023-08-30T15:34:55.552Z] unset SSH_AGENT_PID; [2023-08-30T15:34:55.552Z] echo Agent pid 38 killed; [2023-08-30T15:34:55.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T15:34:55.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T15:34:55.584Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T15:34:55.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T15:34:55.694Z] $ docker exec bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent [2023-08-30T15:34:55.796Z] SSH_AUTH_SOCK=/tmp/ssh-bYnjhDgr1Nvw/agent.70 [2023-08-30T15:34:55.796Z] SSH_AGENT_PID=76 [2023-08-30T15:34:55.801Z] Running ssh-add (command line suppressed) [2023-08-30T15:34:55.914Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11434819126084444399.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11434819126084444399.key) [2023-08-30T15:34:55.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T15:34:56.207Z] + git semver init [2023-08-30T15:34:56.465Z] 2023-08-30 15:34:56,384 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T15:34:56.465Z] 2023-08-30 15:34:56,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-30T15:34:56.465Z] 2023-08-30 15:34:56,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-30T15:34:56.465Z] 2023-08-30 15:34:56,385 [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-08-30T15:34:57.405Z] 2023-08-30 15:34:57,264 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-30T15:34:57.405Z] 2023-08-30 15:34:57,265 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-30T15:34:57.405Z] 2023-08-30 15:34:57,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:34:57.405Z] 2023-08-30 15:34:57,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:34:57.405Z] 3.1.0-dev.17 [Pipeline] } [2023-08-30T15:34:57.417Z] $ docker exec --env ******** --env ******** bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 ssh-agent -k [2023-08-30T15:34:57.517Z] unset SSH_AUTH_SOCK; [2023-08-30T15:34:57.517Z] unset SSH_AGENT_PID; [2023-08-30T15:34:57.517Z] echo Agent pid 76 killed; [2023-08-30T15:34:57.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T15:34:57.829Z] + git semver [Pipeline] } [2023-08-30T15:34:58.107Z] $ docker stop --time=1 bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 [2023-08-30T15:34:59.402Z] $ docker rm -f --volumes bf9ac478bcd4bc9b10fea059d19c43e410511df6f0b2ea570967174f7a316180 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T15:34:59.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T15:34:59.955Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T15:34:59.957Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.17 [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-08-30T15:35:00.094Z] provisioning config files... [2023-08-30T15:35:00.107Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11489975306146452826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:35:00.407Z] ---> docker-login.sh [2023-08-30T15:35:00.407Z] nexus3.edgexfoundry.org:10001 [2023-08-30T15:35:00.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:35:00.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:35:00.407Z] Configure a credential helper to remove this warning. See [2023-08-30T15:35:00.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:35:00.407Z] [2023-08-30T15:35:00.407Z] Login Succeeded [2023-08-30T15:35:00.407Z] nexus3.edgexfoundry.org:10002 [2023-08-30T15:35:00.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:35:00.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:35:00.407Z] Configure a credential helper to remove this warning. See [2023-08-30T15:35:00.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:35:00.407Z] [2023-08-30T15:35:00.407Z] Login Succeeded [2023-08-30T15:35:00.407Z] nexus3.edgexfoundry.org:10003 [2023-08-30T15:35:00.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:35:00.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:35:00.668Z] Configure a credential helper to remove this warning. See [2023-08-30T15:35:00.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:35:00.668Z] [2023-08-30T15:35:00.668Z] Login Succeeded [2023-08-30T15:35:00.668Z] nexus3.edgexfoundry.org:10004 [2023-08-30T15:35:00.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:35:00.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:35:00.668Z] Configure a credential helper to remove this warning. See [2023-08-30T15:35:00.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:35:00.668Z] [2023-08-30T15:35:00.668Z] Login Succeeded [2023-08-30T15:35:00.668Z] docker.io [2023-08-30T15:35:00.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:35:00.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:35:00.930Z] Configure a credential helper to remove this warning. See [2023-08-30T15:35:00.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:35:00.930Z] [2023-08-30T15:35:00.930Z] Login Succeeded [2023-08-30T15:35:00.930Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T15:35:00.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T15:35:00.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T15:35:01.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T15:35:01.008Z] ========================================================= [2023-08-30T15:35:01.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-30T15:35:01.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:35:01.321Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T15:35:01.321Z] Sending build context to Docker daemon 11.08MB [2023-08-30T15:35:01.321Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T15:35:01.321Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T15:35:01.321Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-30T15:35:01.321Z] 4db1b89c0bd1: Pulling fs layer [2023-08-30T15:35:01.321Z] 6911f1a30b25: Pulling fs layer [2023-08-30T15:35:01.321Z] e194b8c5c2a9: Pulling fs layer [2023-08-30T15:35:01.321Z] 6863d3e3a2b1: Pulling fs layer [2023-08-30T15:35:01.321Z] ec0bb842ea78: Pulling fs layer [2023-08-30T15:35:01.321Z] 40a00589a448: Pulling fs layer [2023-08-30T15:35:01.321Z] 6c08303d61cc: Pulling fs layer [2023-08-30T15:35:01.321Z] 798269fcf238: Pulling fs layer [2023-08-30T15:35:01.321Z] 40a00589a448: Waiting [2023-08-30T15:35:01.321Z] 6c08303d61cc: Waiting [2023-08-30T15:35:01.321Z] 798269fcf238: Waiting [2023-08-30T15:35:01.321Z] 6863d3e3a2b1: Waiting [2023-08-30T15:35:01.581Z] 6911f1a30b25: Verifying Checksum [2023-08-30T15:35:01.581Z] 6911f1a30b25: Download complete [2023-08-30T15:35:01.581Z] 6863d3e3a2b1: Verifying Checksum [2023-08-30T15:35:01.581Z] 6863d3e3a2b1: Download complete [2023-08-30T15:35:01.581Z] 4db1b89c0bd1: Verifying Checksum [2023-08-30T15:35:01.581Z] 4db1b89c0bd1: Download complete [2023-08-30T15:35:01.581Z] ec0bb842ea78: Download complete [2023-08-30T15:35:01.581Z] 40a00589a448: Verifying Checksum [2023-08-30T15:35:01.581Z] 40a00589a448: Download complete [2023-08-30T15:35:01.581Z] 4db1b89c0bd1: Pull complete [2023-08-30T15:35:01.840Z] 6911f1a30b25: Pull complete [2023-08-30T15:35:02.099Z] 798269fcf238: Verifying Checksum [2023-08-30T15:35:02.099Z] 798269fcf238: Download complete [2023-08-30T15:35:02.099Z] e194b8c5c2a9: Verifying Checksum [2023-08-30T15:35:02.099Z] e194b8c5c2a9: Download complete [2023-08-30T15:35:02.357Z] 6c08303d61cc: Verifying Checksum [2023-08-30T15:35:02.357Z] 6c08303d61cc: Download complete [2023-08-30T15:35:05.643Z] e194b8c5c2a9: Pull complete [2023-08-30T15:35:05.643Z] 6863d3e3a2b1: Pull complete [2023-08-30T15:35:05.643Z] ec0bb842ea78: Pull complete [2023-08-30T15:35:05.643Z] 40a00589a448: Pull complete [2023-08-30T15:35:08.172Z] 6c08303d61cc: Pull complete [2023-08-30T15:35:08.739Z] 798269fcf238: Pull complete [2023-08-30T15:35:08.739Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-30T15:35:08.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-30T15:35:08.739Z] ---> ec979cd7f677 [2023-08-30T15:35:08.739Z] Step 3/10 : ARG MAKE=make build [2023-08-30T15:35:14.067Z] ---> Running in 864be2a1131a [2023-08-30T15:35:14.067Z] Removing intermediate container 864be2a1131a [2023-08-30T15:35:14.067Z] ---> 525f09f48689 [2023-08-30T15:35:14.067Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T15:35:14.067Z] ---> Running in 3c62b84bf315 [2023-08-30T15:35:14.067Z] Removing intermediate container 3c62b84bf315 [2023-08-30T15:35:14.067Z] ---> e23a10674c1f [2023-08-30T15:35:14.067Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T15:35:14.067Z] ---> Running in 5330f3f7534d [2023-08-30T15:35:14.067Z] Removing intermediate container 5330f3f7534d [2023-08-30T15:35:14.067Z] ---> 3aa37cf98288 [2023-08-30T15:35:14.067Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T15:35:14.067Z] ---> Running in 808fb7843cdf [2023-08-30T15:35:14.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T15:35:14.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T15:35:14.326Z] OK: 265 MiB in 53 packages [2023-08-30T15:35:14.584Z] Removing intermediate container 808fb7843cdf [2023-08-30T15:35:14.584Z] ---> 7737857dbeff [2023-08-30T15:35:14.584Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T15:35:14.584Z] ---> abaa25e84652 [2023-08-30T15:35:14.584Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T15:35:14.584Z] ---> Running in e1acba8bca24 [2023-08-30T15:35:15.053Z] Still waiting to schedule task [2023-08-30T15:35:15.053Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-30T15:36:10.847Z] Removing intermediate container e1acba8bca24 [2023-08-30T15:36:10.847Z] ---> 8688a4e8b09e [2023-08-30T15:36:10.847Z] Step 9/10 : COPY . . [2023-08-30T15:36:10.847Z] ---> 77b257b556ec [2023-08-30T15:36:10.847Z] Step 10/10 : RUN ${MAKE} [2023-08-30T15:36:10.847Z] ---> Running in 2d1ab43be9a0 [2023-08-30T15:36:10.847Z] noop [2023-08-30T15:36:10.847Z] Removing intermediate container 2d1ab43be9a0 [2023-08-30T15:36:10.847Z] ---> 0db21ce5e8ef [2023-08-30T15:36:10.847Z] Successfully built 0db21ce5e8ef [2023-08-30T15:36:10.847Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:36:11.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T15:36:11.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:36:11.286Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:36:11.320Z] $ 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-08-30T15:36:11.676Z] $ docker top 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T15:36:12.022Z] + go version [2023-08-30T15:36:12.022Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-30T15:36:12.037Z] $ docker stop --time=1 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba [2023-08-30T15:36:13.303Z] $ docker rm -f --volumes 06ff92a0536d9b645b2dddcc5652cba257a63a8c404bc81faf3ebb39386978ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:36:13.702Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T15:36:13.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:36:13.771Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:36:13.809Z] $ 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-08-30T15:36:14.127Z] $ docker top 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T15:36:14.472Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-30T15:36:14.773Z] + make test [2023-08-30T15:36:14.773Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T15:36:21.331Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T15:36:33.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T15:36:33.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T15:36:33.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T15:36:33.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T15:36:33.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T15:36:33.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements [2023-08-30T15:36:33.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements [2023-08-30T15:36:34.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T15:36:34.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T15:36:34.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 86.0% of statements [2023-08-30T15:36:34.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T15:36:35.235Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.081s coverage: 71.8% of statements [2023-08-30T15:36:36.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T15:36:36.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T15:36:36.169Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T15:36:38.069Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements [2023-08-30T15:36:39.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.012s coverage: 43.8% of statements [2023-08-30T15:36:39.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-08-30T15:36:39.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-08-30T15:36:39.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-08-30T15:36:41.796Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4895 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-30T15:36:41.808Z] Running in /w/workspace/device-sdk-go/246 [Pipeline] { [Pipeline] checkout [2023-08-30T15:36:41.842Z] The recommended git tool is: git [2023-08-30T15:36:46.671Z] using credential edgex-jenkins-ssh [2023-08-30T15:36:46.685Z] Cloning the remote Git repository [2023-08-30T15:36:46.724Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T15:36:46.841Z] > git init /w/workspace/device-sdk-go/246 # timeout=10 [2023-08-30T15:36:46.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T15:36:46.981Z] > git --version # timeout=10 [2023-08-30T15:36:47.005Z] > git --version # 'git version 2.25.1' [2023-08-30T15:36:47.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T15:36:47.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T15:36:48.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-30T15:36:48.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T15:36:49.493Z] Avoid second fetch [2023-08-30T15:36:49.493Z] Checking out Revision 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 (main) [2023-08-30T15:36:50.068Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1503)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T15:36:49.510Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T15:36:49.590Z] > git checkout -f 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 [2023-08-30T15:36:50.886Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T15:36:50.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T15:36:50.886Z] Dload Upload Total Spent Left Speed [2023-08-30T15:36:50.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-08-30T15:36:51.489Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T15:36:51.817Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-30T15:36:51.818Z] + sudo tee /etc/docker/daemon.new [2023-08-30T15:36:51.818Z] { [2023-08-30T15:36:51.818Z] "registry-mirrors": [ [2023-08-30T15:36:51.818Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T15:36:51.818Z] ], [2023-08-30T15:36:51.818Z] "bip": "10.250.0.254/24", [2023-08-30T15:36:51.818Z] "hosts": [ [2023-08-30T15:36:51.818Z] "tcp://0.0.0.0:5555", [2023-08-30T15:36:51.818Z] "unix:///var/run/docker.sock" [2023-08-30T15:36:51.818Z] ], [2023-08-30T15:36:51.818Z] "mtu": 1458, [2023-08-30T15:36:51.818Z] "selinux-enabled": true, [2023-08-30T15:36:51.818Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T15:36:51.818Z] } [Pipeline] sh [2023-08-30T15:36:52.149Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T15:36:52.502Z] + sudo service docker restart [2023-08-30T15:37:00.997Z] GO111MODULE=on go vet ./... [2023-08-30T15:37:01.284Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T15:37:01.284Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T15:37:01.284Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T15:37:01.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T15:37:01.583Z] $ docker stop --time=1 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 [2023-08-30T15:37:05.718Z] $ docker rm -f --volumes 3c8d9bdd6663d3ed412c5b04054f41c13701f1c2746e9873dadfda4ee9d89ef7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T15:37:06.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T15:37:06.309Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-30T15:37:06.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T15:37:07.173Z] + ls -al . [2023-08-30T15:37:07.173Z] total 304 [2023-08-30T15:37:07.173Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 15:36 . [2023-08-30T15:37:07.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:34 .. [2023-08-30T15:37:07.173Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 15:34 .dockerignore [2023-08-30T15:37:07.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 15:34 .git [2023-08-30T15:37:07.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:34 .github [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 15:34 .gitignore [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 15:34 .golangci.yml [2023-08-30T15:37:07.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 15:34 .semver [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 15:34 CHANGELOG.md [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 15:34 GOVERNANCE.md [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 15:34 Jenkinsfile [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 15:34 LICENSE [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 15:34 Makefile [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 15:34 OWNERS.md [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 15:34 README.md [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 15:34 VERSION [2023-08-30T15:37:07.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:34 bin [2023-08-30T15:37:07.174Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 15:36 coverage.out [2023-08-30T15:37:07.174Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 15:34 example [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 15:34 go.mod [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 15:34 go.sum [2023-08-30T15:37:07.174Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:34 internal [2023-08-30T15:37:07.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 15:34 openapi [2023-08-30T15:37:07.174Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 15:34 pkg [2023-08-30T15:37:07.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:34 snap [2023-08-30T15:37:07.174Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 15:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:37:07.519Z] + 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 --label arch=amd64 --label version=3.1.0-dev.17 . [2023-08-30T15:37:07.519Z] Sending build context to Docker daemon 11.2MB [2023-08-30T15:37:07.519Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T15:37:07.519Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T15:37:07.519Z] ---> 0db21ce5e8ef [2023-08-30T15:37:07.519Z] Step 3/23 : ARG MAKE=make build [2023-08-30T15:37:07.777Z] ---> Running in c8e1e0a5cf4e [2023-08-30T15:37:07.777Z] Removing intermediate container c8e1e0a5cf4e [2023-08-30T15:37:07.777Z] ---> 7b13e73b271d [2023-08-30T15:37:07.777Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T15:37:07.777Z] ---> Running in 39c6c4b04c69 [2023-08-30T15:37:08.036Z] Removing intermediate container 39c6c4b04c69 [2023-08-30T15:37:08.036Z] ---> de7f7a97627e [2023-08-30T15:37:08.036Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T15:37:08.036Z] ---> Running in 80f657b9b6a7 [2023-08-30T15:37:08.036Z] Removing intermediate container 80f657b9b6a7 [2023-08-30T15:37:08.036Z] ---> b9ce2bdd2f6c [2023-08-30T15:37:08.036Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T15:37:08.036Z] ---> Running in 7bc3c4828c93 [2023-08-30T15:37:08.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T15:37:08.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T15:37:08.822Z] OK: 265 MiB in 53 packages [2023-08-30T15:37:09.081Z] Removing intermediate container 7bc3c4828c93 [2023-08-30T15:37:09.081Z] ---> db0cda48d886 [2023-08-30T15:37:09.081Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T15:37:09.081Z] ---> 69757646fa54 [2023-08-30T15:37:09.081Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T15:37:09.341Z] ---> Running in 0ac38001068b [2023-08-30T15:37:09.909Z] Removing intermediate container 0ac38001068b [2023-08-30T15:37:09.909Z] ---> e42ab752e26e [2023-08-30T15:37:09.909Z] Step 9/23 : COPY . . [2023-08-30T15:37:10.476Z] ---> 554685576d01 [2023-08-30T15:37:10.476Z] Step 10/23 : RUN ${MAKE} [2023-08-30T15:37:10.476Z] ---> Running in a1f60eb9db48 [Pipeline] withEnv [Pipeline] { [2023-08-30T15:37:10.736Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] configFileProvider [2023-08-30T15:37:10.737Z] provisioning config files... [2023-08-30T15:37:10.758Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/246@tmp/config7467951352731630887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:37:11.104Z] ---> docker-login.sh [2023-08-30T15:37:11.104Z] nexus3.edgexfoundry.org:10001 [2023-08-30T15:37:11.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:37:11.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:37:11.638Z] Configure a credential helper to remove this warning. See [2023-08-30T15:37:11.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:37:11.638Z] [2023-08-30T15:37:11.638Z] Login Succeeded [2023-08-30T15:37:11.638Z] nexus3.edgexfoundry.org:10002 [2023-08-30T15:37:11.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:37:11.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:37:11.908Z] Configure a credential helper to remove this warning. See [2023-08-30T15:37:11.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:37:11.908Z] [2023-08-30T15:37:11.908Z] Login Succeeded [2023-08-30T15:37:11.908Z] nexus3.edgexfoundry.org:10003 [2023-08-30T15:37:12.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:37:12.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:37:12.453Z] Configure a credential helper to remove this warning. See [2023-08-30T15:37:12.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:37:12.453Z] [2023-08-30T15:37:12.453Z] Login Succeeded [2023-08-30T15:37:12.453Z] nexus3.edgexfoundry.org:10004 [2023-08-30T15:37:12.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:37:12.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:37:12.721Z] Configure a credential helper to remove this warning. See [2023-08-30T15:37:12.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:37:12.721Z] [2023-08-30T15:37:12.721Z] Login Succeeded [2023-08-30T15:37:12.721Z] docker.io [2023-08-30T15:37:12.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T15:37:13.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T15:37:13.256Z] Configure a credential helper to remove this warning. See [2023-08-30T15:37:13.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T15:37:13.256Z] [2023-08-30T15:37:13.256Z] Login Succeeded [2023-08-30T15:37:13.256Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T15:37:13.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T15:37:13.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T15:37:13.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T15:37:13.534Z] ========================================================= [2023-08-30T15:37:13.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-30T15:37:13.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:37:13.875Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-30T15:37:14.149Z] Sending build context to Docker daemon 5.915MB [2023-08-30T15:37:14.149Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T15:37:14.149Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T15:37:14.418Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-30T15:37:14.418Z] edb6bdbacee9: Pulling fs layer [2023-08-30T15:37:14.418Z] 5f9638ab2659: Pulling fs layer [2023-08-30T15:37:14.418Z] 8d51d6327a98: Pulling fs layer [2023-08-30T15:37:14.418Z] 8b374f2dd631: Pulling fs layer [2023-08-30T15:37:14.418Z] ec14aa9079de: Pulling fs layer [2023-08-30T15:37:14.418Z] 2f466654f4bb: Pulling fs layer [2023-08-30T15:37:14.418Z] 554e91adad29: Pulling fs layer [2023-08-30T15:37:14.418Z] 2f466654f4bb: Waiting [2023-08-30T15:37:14.418Z] 8b374f2dd631: Waiting [2023-08-30T15:37:14.418Z] 554e91adad29: Waiting [2023-08-30T15:37:14.418Z] 5f9638ab2659: Download complete [2023-08-30T15:37:14.418Z] 8b374f2dd631: Verifying Checksum [2023-08-30T15:37:14.418Z] 8b374f2dd631: Download complete [2023-08-30T15:37:14.418Z] ec14aa9079de: Verifying Checksum [2023-08-30T15:37:14.418Z] ec14aa9079de: Download complete [2023-08-30T15:37:14.418Z] edb6bdbacee9: Verifying Checksum [2023-08-30T15:37:14.418Z] edb6bdbacee9: Download complete [2023-08-30T15:37:15.848Z] edb6bdbacee9: Pull complete [2023-08-30T15:37:15.848Z] 554e91adad29: Verifying Checksum [2023-08-30T15:37:15.848Z] 554e91adad29: Download complete [2023-08-30T15:37:16.119Z] 5f9638ab2659: Pull complete [2023-08-30T15:37:17.145Z] 2f466654f4bb: Verifying Checksum [2023-08-30T15:37:17.145Z] 2f466654f4bb: Download complete [2023-08-30T15:37:17.145Z] 8d51d6327a98: Verifying Checksum [2023-08-30T15:37:17.145Z] 8d51d6327a98: Download complete [2023-08-30T15:37:29.481Z] 8d51d6327a98: Pull complete [2023-08-30T15:37:29.481Z] 8b374f2dd631: Pull complete [2023-08-30T15:37:29.481Z] ec14aa9079de: Pull complete [2023-08-30T15:37:33.017Z] Removing intermediate container a1f60eb9db48 [2023-08-30T15:37:33.017Z] ---> 2caab2438580 [2023-08-30T15:37:33.017Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T15:37:33.017Z] 3.17: Pulling from library/alpine [2023-08-30T15:37:33.017Z] 9398808236ff: Pulling fs layer [2023-08-30T15:37:33.017Z] 9398808236ff: Verifying Checksum [2023-08-30T15:37:33.017Z] 9398808236ff: Download complete [2023-08-30T15:37:33.017Z] 9398808236ff: Pull complete [2023-08-30T15:37:33.017Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T15:37:33.017Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T15:37:33.017Z] ---> 1e0b8b5322fc [2023-08-30T15:37:33.017Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T15:37:33.017Z] ---> Running in ccf484b4458f [2023-08-30T15:37:33.017Z] Removing intermediate container ccf484b4458f [2023-08-30T15:37:33.017Z] ---> ea10e24ff863 [2023-08-30T15:37:33.017Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T15:37:33.017Z] ---> Running in bfc38c55d9fd [2023-08-30T15:37:33.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T15:37:33.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T15:37:33.017Z] OK: 7 MiB in 15 packages [2023-08-30T15:37:33.017Z] Removing intermediate container bfc38c55d9fd [2023-08-30T15:37:33.017Z] ---> 1f25008eacb6 [2023-08-30T15:37:33.017Z] Step 14/23 : WORKDIR / [2023-08-30T15:37:33.017Z] ---> Running in 0f850508ac6e [2023-08-30T15:37:33.276Z] Removing intermediate container 0f850508ac6e [2023-08-30T15:37:33.276Z] ---> c0b720c094a9 [2023-08-30T15:37:33.276Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T15:37:33.276Z] ---> 36a342f179d9 [2023-08-30T15:37:33.276Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T15:37:34.210Z] ---> c8059b6b17f3 [2023-08-30T15:37:34.210Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T15:37:34.210Z] ---> 52912eee6bff [2023-08-30T15:37:34.210Z] Step 18/23 : EXPOSE 59999 [2023-08-30T15:37:34.210Z] ---> Running in 4c0ac1f673ac [2023-08-30T15:37:34.210Z] Removing intermediate container 4c0ac1f673ac [2023-08-30T15:37:34.210Z] ---> 3e8ab1a036f7 [2023-08-30T15:37:34.210Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T15:37:34.210Z] ---> Running in b06f984418e2 [2023-08-30T15:37:34.210Z] Removing intermediate container b06f984418e2 [2023-08-30T15:37:34.210Z] ---> f9db14a75d09 [2023-08-30T15:37:34.210Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T15:37:34.468Z] ---> Running in c6aa1bc066ce [2023-08-30T15:37:34.468Z] Removing intermediate container c6aa1bc066ce [2023-08-30T15:37:34.468Z] ---> 083b47196073 [2023-08-30T15:37:34.468Z] Step 21/23 : LABEL arch=amd64 [2023-08-30T15:37:34.468Z] ---> Running in bad737962694 [2023-08-30T15:37:34.468Z] Removing intermediate container bad737962694 [2023-08-30T15:37:34.468Z] ---> 0d8021d3734d [2023-08-30T15:37:34.468Z] Step 22/23 : LABEL git_sha=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [2023-08-30T15:37:34.468Z] ---> Running in 4c41c30ce1b1 [2023-08-30T15:37:34.468Z] Removing intermediate container 4c41c30ce1b1 [2023-08-30T15:37:34.468Z] ---> 48292e3e5b7f [2023-08-30T15:37:34.468Z] Step 23/23 : LABEL version=3.1.0-dev.17 [2023-08-30T15:37:34.468Z] ---> Running in 25a61c2f4f3d [2023-08-30T15:37:34.727Z] Removing intermediate container 25a61c2f4f3d [2023-08-30T15:37:34.727Z] ---> d92f5dcbbae0 [2023-08-30T15:37:34.727Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T15:37:34.727Z] Successfully built d92f5dcbbae0 [2023-08-30T15:37:34.727Z] 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 [2023-08-30T15:37:34.834Z] 2f466654f4bb: Pull complete Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:37:35.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T15:37:35.145Z] [2023-08-30T15:37:35.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:37:35.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T15:37:35.440Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T15:37:35.440Z] 5eb5b503b376: Pulling fs layer [2023-08-30T15:37:35.440Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T15:37:35.440Z] ec43610c2a17: Pulling fs layer [2023-08-30T15:37:35.440Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T15:37:35.440Z] 33b1e0a273af: Pulling fs layer [2023-08-30T15:37:35.440Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T15:37:35.440Z] 2f39f015ded8: Pulling fs layer [2023-08-30T15:37:35.440Z] 3a2ae6a8a46f: Waiting [2023-08-30T15:37:35.440Z] 33b1e0a273af: Waiting [2023-08-30T15:37:35.440Z] 5d3b04190fa2: Waiting [2023-08-30T15:37:35.440Z] 5c69ac0246d0: Download complete [2023-08-30T15:37:35.440Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-30T15:37:35.440Z] 3a2ae6a8a46f: Download complete [2023-08-30T15:37:35.440Z] 33b1e0a273af: Verifying Checksum [2023-08-30T15:37:35.440Z] 33b1e0a273af: Download complete [2023-08-30T15:37:35.440Z] ec43610c2a17: Verifying Checksum [2023-08-30T15:37:35.440Z] ec43610c2a17: Download complete [2023-08-30T15:37:35.440Z] 5d3b04190fa2: Download complete [2023-08-30T15:37:35.698Z] 5eb5b503b376: Verifying Checksum [2023-08-30T15:37:35.698Z] 5eb5b503b376: Download complete [2023-08-30T15:37:36.264Z] 2f39f015ded8: Verifying Checksum [2023-08-30T15:37:36.264Z] 2f39f015ded8: Download complete [2023-08-30T15:37:36.828Z] 5eb5b503b376: Pull complete [2023-08-30T15:37:37.086Z] 5c69ac0246d0: Pull complete [2023-08-30T15:37:37.345Z] ec43610c2a17: Pull complete [2023-08-30T15:37:37.345Z] 3a2ae6a8a46f: Pull complete [2023-08-30T15:37:37.426Z] 554e91adad29: Pull complete [2023-08-30T15:37:37.426Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-30T15:37:37.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-30T15:37:37.426Z] ---> 1e15ea492957 [2023-08-30T15:37:37.426Z] Step 3/10 : ARG MAKE=make build [2023-08-30T15:37:37.603Z] 33b1e0a273af: Pull complete [2023-08-30T15:37:37.603Z] 5d3b04190fa2: Pull complete [2023-08-30T15:37:39.383Z] ---> Running in 4e208e4f3dd2 [2023-08-30T15:37:39.383Z] Removing intermediate container 4e208e4f3dd2 [2023-08-30T15:37:39.383Z] ---> f7bf7abf327d [2023-08-30T15:37:39.383Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T15:37:39.689Z] ---> Running in ed27d42dbe14 [2023-08-30T15:37:39.962Z] Removing intermediate container ed27d42dbe14 [2023-08-30T15:37:39.962Z] ---> 8ee70a321175 [2023-08-30T15:37:39.962Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T15:37:39.962Z] ---> Running in 4bc4e66af432 [2023-08-30T15:37:40.276Z] Removing intermediate container 4bc4e66af432 [2023-08-30T15:37:40.276Z] ---> 548584cdfd89 [2023-08-30T15:37:40.276Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T15:37:40.276Z] ---> Running in 9d162675d445 [2023-08-30T15:37:41.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T15:37:41.784Z] 2f39f015ded8: Pull complete [2023-08-30T15:37:41.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T15:37:41.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T15:37:41.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:37:41.869Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:37:41.904Z] $ 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-08-30T15:37:41.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T15:37:42.928Z] OK: 263 MiB in 53 packages [2023-08-30T15:37:43.902Z] Removing intermediate container 9d162675d445 [2023-08-30T15:37:43.902Z] ---> 3e7f39380599 [2023-08-30T15:37:43.902Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T15:37:45.316Z] ---> 25b38be0b243 [2023-08-30T15:37:45.316Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T15:37:45.316Z] ---> Running in b358ee508bda [2023-08-30T15:37:45.823Z] $ docker top f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:37:46.223Z] ---> job-cost.sh [2023-08-30T15:37:46.223Z] lf-activate-venv: SKIPPING [2023-08-30T15:37:46.223Z] INFO: No Stack... [2023-08-30T15:37:46.482Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T15:37:46.740Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T15:37:47.026Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-30T15:37:47.026Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T15:37:47.041Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [2023-08-30T15:37:47.049Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] did not exist. Created. [2023-08-30T15:37:47.049Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T15:37:47.359Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T15:37:47.402Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T15:37:47.411Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T15:37:47.430Z] $ docker stop --time=1 f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def [2023-08-30T15:37:48.574Z] $ docker rm -f --volumes f7c02d9cdd3277b8f16559e0cd528db4dc8c9cf07615ac384a5310af439c3def [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T15:38:53.232Z] Removing intermediate container b358ee508bda [2023-08-30T15:38:53.232Z] ---> e10a232748c8 [2023-08-30T15:38:53.232Z] Step 9/10 : COPY . . [2023-08-30T15:38:53.232Z] ---> c6ed78e8a3b8 [2023-08-30T15:38:53.232Z] Step 10/10 : RUN ${MAKE} [2023-08-30T15:38:53.232Z] ---> Running in 8175bb969603 [2023-08-30T15:38:53.232Z] noop [2023-08-30T15:38:53.232Z] Removing intermediate container 8175bb969603 [2023-08-30T15:38:53.233Z] ---> 6dc84e05ed05 [2023-08-30T15:38:53.233Z] Successfully built 6dc84e05ed05 [2023-08-30T15:38:53.233Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:38:53.582Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T15:38:53.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:38:53.806Z] prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container [2023-08-30T15:38:53.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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-08-30T15:38:55.205Z] $ docker top 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T15:38:56.015Z] + go version [2023-08-30T15:38:56.015Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-30T15:38:56.037Z] $ docker stop --time=1 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 [2023-08-30T15:38:57.560Z] $ docker rm -f --volumes 601b14eaa9597dd5c297c4c6c60911304e81980f154bd9ad2551c5dc8b7276d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:38:58.101Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T15:38:58.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:38:58.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container [2023-08-30T15:38:58.346Z] $ 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/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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-08-30T15:38:59.411Z] $ docker top 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T15:38:59.900Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/246 [Pipeline] fileExists [Pipeline] sh [2023-08-30T15:39:00.547Z] + make test [2023-08-30T15:39:00.547Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T15:39:39.414Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T15:42:01.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T15:42:01.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T15:42:01.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T15:42:01.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T15:42:01.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T15:42:05.343Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.241s coverage: 27.6% of statements [2023-08-30T15:42:10.695Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.291s coverage: 80.2% of statements [2023-08-30T15:42:25.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T15:42:25.693Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T15:42:25.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.354s coverage: 86.0% of statements [2023-08-30T15:42:31.039Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T15:42:31.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.487s coverage: 71.8% of statements [2023-08-30T15:42:34.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.315s coverage: 14.3% of statements [2023-08-30T15:42:36.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T15:42:36.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T15:42:40.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.426s coverage: 43.8% of statements [2023-08-30T15:42:40.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.418s coverage: 68.5% of statements [2023-08-30T15:42:40.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.476s coverage: 89.2% of statements [2023-08-30T15:42:42.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T15:42:42.813Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.266s coverage: 5.5% of statements [2023-08-30T15:42:43.773Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-30T15:42:43.773Z] GO111MODULE=on go vet ./... [2023-08-30T15:45:20.772Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T15:45:20.772Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T15:45:20.772Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T15:45:20.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T15:45:20.810Z] $ docker stop --time=1 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 [2023-08-30T15:45:22.758Z] $ docker rm -f --volumes 26e7828315d6de7c04c448bc7e1e41ed94ab65b059244b5085fbf3444aba2897 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T15:45:24.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T15:45:24.536Z] Warning: overwriting stash ‘coverage-report’ [2023-08-30T15:45:25.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T15:45:25.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T15:45:25.865Z] + ls -al . [2023-08-30T15:45:25.865Z] total 300 [2023-08-30T15:45:25.865Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 15:39 . [2023-08-30T15:45:25.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:36 .. [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 15:36 .dockerignore [2023-08-30T15:45:25.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 15:36 .git [2023-08-30T15:45:25.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:36 .github [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 15:36 .gitignore [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 15:36 .golangci.yml [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 15:36 CHANGELOG.md [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 15:36 GOVERNANCE.md [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 15:36 Jenkinsfile [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 15:36 LICENSE [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 15:36 Makefile [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 15:36 OWNERS.md [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 15:36 README.md [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 30 15:34 VERSION [2023-08-30T15:45:25.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 15:36 bin [2023-08-30T15:45:25.865Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 15:42 coverage.out [2023-08-30T15:45:25.865Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 15:36 example [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 15:36 go.mod [2023-08-30T15:45:25.865Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 15:36 go.sum [2023-08-30T15:45:25.865Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:36 internal [2023-08-30T15:45:25.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 15:36 openapi [2023-08-30T15:45:25.865Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 15:36 pkg [2023-08-30T15:45:25.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 15:36 snap [2023-08-30T15:45:25.866Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 15:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:45:26.205Z] + 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 --label arch=arm64 --label version=3.1.0-dev.17 . [2023-08-30T15:45:26.477Z] Sending build context to Docker daemon 6.036MB [2023-08-30T15:45:26.477Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T15:45:26.477Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T15:45:26.477Z] ---> 6dc84e05ed05 [2023-08-30T15:45:26.477Z] Step 3/23 : ARG MAKE=make build [2023-08-30T15:45:26.745Z] ---> Running in 25d666371817 [2023-08-30T15:45:27.013Z] Removing intermediate container 25d666371817 [2023-08-30T15:45:27.013Z] ---> 4d47772d3d08 [2023-08-30T15:45:27.013Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T15:45:27.013Z] ---> Running in 442ca3396185 [2023-08-30T15:45:27.290Z] Removing intermediate container 442ca3396185 [2023-08-30T15:45:27.290Z] ---> ffd2d3db50ba [2023-08-30T15:45:27.290Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T15:45:27.562Z] ---> Running in 9c5133dacd3d [2023-08-30T15:45:27.830Z] Removing intermediate container 9c5133dacd3d [2023-08-30T15:45:27.830Z] ---> b60f2557d966 [2023-08-30T15:45:27.830Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T15:45:27.830Z] ---> Running in 8068047cc101 [2023-08-30T15:45:28.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T15:45:29.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T15:45:30.783Z] OK: 263 MiB in 53 packages [2023-08-30T15:45:32.191Z] Removing intermediate container 8068047cc101 [2023-08-30T15:45:32.191Z] ---> bb9b92431fbb [2023-08-30T15:45:32.191Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T15:45:32.461Z] ---> 35bca725e333 [2023-08-30T15:45:32.461Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T15:45:32.461Z] ---> Running in 5b4af59970b1 [2023-08-30T15:45:35.042Z] Removing intermediate container 5b4af59970b1 [2023-08-30T15:45:35.042Z] ---> 3871d16e1c3d [2023-08-30T15:45:35.042Z] Step 9/23 : COPY . . [2023-08-30T15:45:35.624Z] ---> e8459897f94f [2023-08-30T15:45:35.624Z] Step 10/23 : RUN ${MAKE} [2023-08-30T15:45:35.624Z] ---> Running in e743ca6aec12 [2023-08-30T15:45:36.587Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-30T15:47:58.247Z] Removing intermediate container e743ca6aec12 [2023-08-30T15:47:58.247Z] ---> b81204489c46 [2023-08-30T15:47:58.247Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T15:47:58.247Z] 3.17: Pulling from library/alpine [2023-08-30T15:47:58.247Z] 4060ece20d7a: Pulling fs layer [2023-08-30T15:47:58.247Z] 4060ece20d7a: Verifying Checksum [2023-08-30T15:47:58.247Z] 4060ece20d7a: Download complete [2023-08-30T15:47:58.247Z] 4060ece20d7a: Pull complete [2023-08-30T15:47:58.247Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T15:47:58.247Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T15:47:58.247Z] ---> 8650cd65339b [2023-08-30T15:47:58.247Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T15:47:58.247Z] ---> Running in 0113f808aecf [2023-08-30T15:47:58.247Z] Removing intermediate container 0113f808aecf [2023-08-30T15:47:58.247Z] ---> 0793ad02b4f1 [2023-08-30T15:47:58.247Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T15:47:58.247Z] ---> Running in 67893849b4b6 [2023-08-30T15:47:58.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T15:47:58.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T15:48:00.240Z] OK: 7 MiB in 15 packages [2023-08-30T15:48:00.824Z] Removing intermediate container 67893849b4b6 [2023-08-30T15:48:00.824Z] ---> a846cecdb0ff [2023-08-30T15:48:00.824Z] Step 14/23 : WORKDIR / [2023-08-30T15:48:00.824Z] ---> Running in cafbeb0d36b9 [2023-08-30T15:48:01.090Z] Removing intermediate container cafbeb0d36b9 [2023-08-30T15:48:01.090Z] ---> 6a8c45519103 [2023-08-30T15:48:01.090Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T15:48:01.675Z] ---> e2aea373e227 [2023-08-30T15:48:01.675Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T15:48:03.082Z] ---> 92d24f407a69 [2023-08-30T15:48:03.082Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T15:48:03.666Z] ---> 6cd00bd8ab18 [2023-08-30T15:48:03.666Z] Step 18/23 : EXPOSE 59999 [2023-08-30T15:48:03.666Z] ---> Running in d7f351bef961 [2023-08-30T15:48:03.934Z] Removing intermediate container d7f351bef961 [2023-08-30T15:48:03.934Z] ---> 4813ecca9d13 [2023-08-30T15:48:03.934Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T15:48:04.200Z] ---> Running in 9a859bd94a66 [2023-08-30T15:48:04.467Z] Removing intermediate container 9a859bd94a66 [2023-08-30T15:48:04.467Z] ---> 388d87edb2f6 [2023-08-30T15:48:04.468Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T15:48:04.468Z] ---> Running in 4272e084bc0b [2023-08-30T15:48:04.734Z] Removing intermediate container 4272e084bc0b [2023-08-30T15:48:04.734Z] ---> c5e9c8dea336 [2023-08-30T15:48:04.734Z] Step 21/23 : LABEL arch=arm64 [2023-08-30T15:48:04.734Z] ---> Running in ff7bfb21f89d [2023-08-30T15:48:05.001Z] Removing intermediate container ff7bfb21f89d [2023-08-30T15:48:05.001Z] ---> 2875f7ed97f8 [2023-08-30T15:48:05.001Z] Step 22/23 : LABEL git_sha=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [2023-08-30T15:48:05.001Z] ---> Running in 7181d792a0ff [2023-08-30T15:48:05.268Z] Removing intermediate container 7181d792a0ff [2023-08-30T15:48:05.268Z] ---> f107da87b2b1 [2023-08-30T15:48:05.268Z] Step 23/23 : LABEL version=3.1.0-dev.17 [2023-08-30T15:48:05.534Z] ---> Running in 78280e35acc0 [2023-08-30T15:48:05.800Z] Removing intermediate container 78280e35acc0 [2023-08-30T15:48:05.800Z] ---> 05b16caa02fd [2023-08-30T15:48:05.800Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T15:48:05.800Z] Successfully built 05b16caa02fd [2023-08-30T15:48:05.800Z] 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-08-30T15:48:06.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T15:48:06.256Z] [2023-08-30T15:48:06.256Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:48:06.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T15:48:06.591Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T15:48:06.591Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T15:48:06.591Z] 04944245beec: Pulling fs layer [2023-08-30T15:48:06.591Z] 699f458cf7ca: Pulling fs layer [2023-08-30T15:48:06.591Z] 765212b225bb: Pulling fs layer [2023-08-30T15:48:06.591Z] f23df028b6ca: Pulling fs layer [2023-08-30T15:48:06.591Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T15:48:06.591Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T15:48:06.591Z] f23df028b6ca: Waiting [2023-08-30T15:48:06.591Z] d65c8cfc05b1: Waiting [2023-08-30T15:48:06.591Z] 765212b225bb: Waiting [2023-08-30T15:48:06.591Z] 2437ff75d9bd: Waiting [2023-08-30T15:48:06.859Z] 04944245beec: Verifying Checksum [2023-08-30T15:48:06.859Z] 04944245beec: Download complete [2023-08-30T15:48:06.859Z] 765212b225bb: Verifying Checksum [2023-08-30T15:48:06.859Z] 765212b225bb: Download complete [2023-08-30T15:48:06.859Z] f23df028b6ca: Verifying Checksum [2023-08-30T15:48:06.859Z] f23df028b6ca: Download complete [2023-08-30T15:48:06.859Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T15:48:06.859Z] d65c8cfc05b1: Download complete [2023-08-30T15:48:06.859Z] 699f458cf7ca: Verifying Checksum [2023-08-30T15:48:06.859Z] 699f458cf7ca: Download complete [2023-08-30T15:48:07.443Z] 8998bd30e6a1: Verifying Checksum [2023-08-30T15:48:07.443Z] 8998bd30e6a1: Download complete [2023-08-30T15:48:09.403Z] 2437ff75d9bd: Verifying Checksum [2023-08-30T15:48:09.403Z] 2437ff75d9bd: Download complete [2023-08-30T15:48:11.345Z] 8998bd30e6a1: Pull complete [2023-08-30T15:48:11.345Z] 04944245beec: Pull complete [2023-08-30T15:48:12.766Z] 699f458cf7ca: Pull complete [2023-08-30T15:48:13.033Z] 765212b225bb: Pull complete [2023-08-30T15:48:13.617Z] f23df028b6ca: Pull complete [2023-08-30T15:48:13.883Z] d65c8cfc05b1: Pull complete [2023-08-30T15:48:28.871Z] 2437ff75d9bd: Pull complete [2023-08-30T15:48:28.871Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T15:48:28.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T15:48:28.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:48:29.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-4895 does not seem to be running inside a container [2023-08-30T15:48:29.230Z] $ 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/246 -v /w/workspace/device-sdk-go/246:/w/workspace/device-sdk-go/246:rw,z -v /w/workspace/device-sdk-go/246@tmp:/w/workspace/device-sdk-go/246@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-08-30T15:48:31.989Z] $ docker top 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:48:32.880Z] ---> job-cost.sh [2023-08-30T15:48:32.881Z] lf-activate-venv: SKIPPING [2023-08-30T15:48:32.881Z] INFO: No Stack... [2023-08-30T15:48:33.152Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T15:48:34.122Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T15:48:34.775Z] + cat /w/workspace/device-sdk-go/246/archives/cost.csv [2023-08-30T15:48:34.775Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T15:48:34.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [2023-08-30T15:48:34.877Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] did not exist. Created. [2023-08-30T15:48:34.877Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T15:48:35.253Z] /w/workspace/device-sdk-go/246@tmp/durable-5100111b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T15:48:35.913Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T15:48:35.936Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T15:48:36.024Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T15:48:36.031Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-246-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T15:48:36.052Z] $ docker stop --time=1 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 [2023-08-30T15:48:37.576Z] $ docker rm -f --volumes 46af9f30c1729bade40e38ba3322f5bebcfc06f328c511912fc60ff9e0971264 [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-08-30T15:48:38.023Z] provisioning config files... [2023-08-30T15:48:38.030Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1721510763391998561tmp [Pipeline] { [Pipeline] sh [2023-08-30T15:48:38.317Z] + set +x [2023-08-30T15:48:38.317Z] + bash -s -- [2023-08-30T15:48:38.317Z] + curl -s https://codecov.io/bash [2023-08-30T15:48:38.317Z] [2023-08-30T15:48:38.317Z] _____ _ [2023-08-30T15:48:38.317Z] / ____| | | [2023-08-30T15:48:38.317Z] | | ___ __| | ___ ___ _____ __ [2023-08-30T15:48:38.317Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-30T15:48:38.317Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-30T15:48:38.317Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-30T15:48:38.317Z] Bash-1.0.6 [2023-08-30T15:48:38.317Z] [2023-08-30T15:48:38.317Z] [2023-08-30T15:48:38.317Z] ==> git version 2.25.1 found [2023-08-30T15:48:38.317Z] ==> 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-08-30T15:48:38.317Z] Release-Date: 2020-01-08 [2023-08-30T15:48:38.317Z] 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-08-30T15:48:38.317Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-30T15:48:38.317Z] ==> Jenkins CI detected. [2023-08-30T15:48:38.317Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-30T15:48:38.317Z] project root: . [2023-08-30T15:48:38.317Z] --> token set from env [2023-08-30T15:48:38.317Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-30T15:48:38.317Z] ==> Running gcov in . (disable via -X gcov) [2023-08-30T15:48:38.317Z] ==> Python coveragepy not found [2023-08-30T15:48:38.317Z] ==> Searching for coverage reports in: [2023-08-30T15:48:38.317Z] + . [2023-08-30T15:48:38.317Z] -> Found 1 reports [2023-08-30T15:48:38.317Z] ==> Detecting git/mercurial file structure [2023-08-30T15:48:38.576Z] ==> Reading reports [2023-08-30T15:48:38.576Z] + ./coverage.out bytes=120271 [2023-08-30T15:48:38.576Z] ==> Appending adjustments [2023-08-30T15:48:38.576Z] https://docs.codecov.io/docs/fixing-reports [2023-08-30T15:48:38.838Z] + Found adjustments [2023-08-30T15:48:38.838Z] ==> Gzipping contents [2023-08-30T15:48:38.838Z] 20K /tmp/codecov.odGK8T.gz [2023-08-30T15:48:38.838Z] ==> Uploading reports [2023-08-30T15:48:38.838Z] url: https://codecov.io [2023-08-30T15:48:38.838Z] query: branch=main&commit=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0&build=246&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F246%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-30T15:48:38.838Z] -> Pinging Codecov [2023-08-30T15:48:38.838Z] 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=301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0&build=246&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F246%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-30T15:48:38.838Z] -> Uploading to [2023-08-30T15:48:38.838Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-30/7E55EF52A471D76F132DFD9A03CDDE97/301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0/7d90296d-4865-41d8-a4ae-4db190c8a0f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T154838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e0d3e3f8f5329bea7949a51386b20a4f888f045ae2f6ba4d8f6e7fd8760c5a0 [2023-08-30T15:48:38.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T15:48:38.838Z] Dload Upload Total Spent Left Speed [2023-08-30T15:48:39.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16424 0 0 100 16424 0 86899 --:--:-- --:--:-- --:--:-- 86899 [2023-08-30T15:48:39.098Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] } [2023-08-30T15:48:39.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-30T15:48:39.395Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-30T15:48:39.404Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:48:39.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T15:48:39.699Z] [2023-08-30T15:48:39.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:48:39.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T15:48:39.997Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-30T15:48:39.997Z] df9b9388f04a: Pulling fs layer [2023-08-30T15:48:39.997Z] 52dc419b0ee2: Pulling fs layer [2023-08-30T15:48:39.997Z] 25bc292e5bac: Pulling fs layer [2023-08-30T15:48:39.997Z] 114826534d7a: Pulling fs layer [2023-08-30T15:48:39.997Z] 4657fd5d0bcf: Pulling fs layer [2023-08-30T15:48:39.997Z] 6ad1cebc031e: Pulling fs layer [2023-08-30T15:48:39.997Z] 8a3aa393b2d8: Pulling fs layer [2023-08-30T15:48:39.997Z] 114826534d7a: Waiting [2023-08-30T15:48:39.997Z] 8a3aa393b2d8: Waiting [2023-08-30T15:48:39.997Z] 4657fd5d0bcf: Waiting [2023-08-30T15:48:39.997Z] 6ad1cebc031e: Waiting [2023-08-30T15:48:39.997Z] 25bc292e5bac: Download complete [2023-08-30T15:48:39.997Z] 52dc419b0ee2: Verifying Checksum [2023-08-30T15:48:39.997Z] 52dc419b0ee2: Download complete [2023-08-30T15:48:39.997Z] 4657fd5d0bcf: Verifying Checksum [2023-08-30T15:48:39.997Z] 4657fd5d0bcf: Download complete [2023-08-30T15:48:39.997Z] df9b9388f04a: Download complete [2023-08-30T15:48:40.255Z] df9b9388f04a: Pull complete [2023-08-30T15:48:40.255Z] 6ad1cebc031e: Verifying Checksum [2023-08-30T15:48:40.255Z] 6ad1cebc031e: Download complete [2023-08-30T15:48:40.255Z] 52dc419b0ee2: Pull complete [2023-08-30T15:48:40.255Z] 25bc292e5bac: Pull complete [2023-08-30T15:48:40.825Z] 114826534d7a: Download complete [2023-08-30T15:48:40.825Z] 8a3aa393b2d8: Verifying Checksum [2023-08-30T15:48:40.825Z] 8a3aa393b2d8: Download complete [2023-08-30T15:48:44.113Z] 114826534d7a: Pull complete [2023-08-30T15:48:44.113Z] 4657fd5d0bcf: Pull complete [2023-08-30T15:48:44.371Z] 6ad1cebc031e: Pull complete [2023-08-30T15:48:46.902Z] 8a3aa393b2d8: Pull complete [2023-08-30T15:48:46.902Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-30T15:48:46.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T15:48:46.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:48:46.987Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:48:47.020Z] $ 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-08-30T15:48:51.510Z] $ docker top a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-30T15:48:51.567Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-30T15:48:51.844Z] + set -o pipefail [2023-08-30T15:48:51.844Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-30T15:48:58.409Z] [2023-08-30T15:48:58.409Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-30T15:48:58.409Z] [2023-08-30T15:48:58.409Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f3f70215-f847-4aba-a641-8e8980ca2f43 [2023-08-30T15:48:58.409Z] [2023-08-30T15:48:58.409Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-30T15:48:58.409Z] [2023-08-30T15:48:58.669Z] [2023-08-30T15:48:58.669Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-30T15:48:58.669Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-30T15:48:58.669Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-30T15:48:58.682Z] $ docker stop --time=1 a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 [2023-08-30T15:49:02.046Z] $ docker rm -f --volumes a44105cbc7e8f3d5ea911dae0ee93ded68105bc56cb7358ce29d559848175007 [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-08-30T15:49:02.476Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T15:49:02.489Z] provisioning config files... [2023-08-30T15:49:02.496Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1341136670850681554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:02.783Z] --> edgex-publish-swagger.sh [2023-08-30T15:49:02.783Z] === Publish openapi/v3 API === [2023-08-30T15:49:02.783Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-30T15:49:02.783Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-30T15:49:02.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T15:49:02.783Z] Dload Upload Total Spent Left Speed [2023-08-30T15:49:03.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51021 --:--:-- --:--:-- --:--:-- 50911 [2023-08-30T15:49:03.043Z] [2023-08-30T15:49:03.043Z] [Pipeline] } [2023-08-30T15:49:03.051Z] 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-08-30T15:49:03.434Z] + git log --format=format:%s -1 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 [Pipeline] sh [2023-08-30T15:49:03.723Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T15:49:03.723Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:04.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:49:04.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:49:04.108Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:49:04.143Z] $ 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-08-30T15:49:04.518Z] $ docker top beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T15:49:04.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T15:49:04.603Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T15:49:04.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T15:49:04.720Z] $ docker exec beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 ssh-agent [2023-08-30T15:49:04.828Z] SSH_AUTH_SOCK=/tmp/ssh-KQAeIzQguC4g/agent.31 [2023-08-30T15:49:04.828Z] SSH_AGENT_PID=37 [2023-08-30T15:49:04.833Z] Running ssh-add (command line suppressed) [2023-08-30T15:49:04.931Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14738032489724013458.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14738032489724013458.key) [2023-08-30T15:49:04.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T15:49:05.231Z] + git semver tag [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,416 [run_tag] DEBUG tag force:False [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,416 [check_head_tag] DEBUG check head tag [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,416 [execute] INFO git cat-file --batch-check [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,420 [execute] INFO git cat-file --batch [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,433 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,433 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,433 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-30T15:49:05.490Z] 2023-08-30 15:49:05,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:05.490Z] 3.1.0-dev.17 [Pipeline] } [2023-08-30T15:49:05.500Z] $ docker exec --env ******** --env ******** beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 ssh-agent -k [2023-08-30T15:49:05.593Z] unset SSH_AUTH_SOCK; [2023-08-30T15:49:05.594Z] unset SSH_AGENT_PID; [2023-08-30T15:49:05.594Z] echo Agent pid 37 killed; [2023-08-30T15:49:05.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T15:49:05.900Z] + git semver [Pipeline] } [2023-08-30T15:49:06.173Z] $ docker stop --time=1 beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 [2023-08-30T15:49:07.416Z] $ docker rm -f --volumes beccff894c5536986a0e27f7c6b1da23ca1ca3e8255fc9d7b3c0d739ef9497c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:07.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T15:49:07.787Z] [2023-08-30T15:49:07.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:08.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T15:49:08.086Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-30T15:49:08.086Z] ab5ef0e58194: Pulling fs layer [2023-08-30T15:49:08.086Z] 9712f1f96733: Pulling fs layer [2023-08-30T15:49:08.086Z] 63f879dbbcfc: Pulling fs layer [2023-08-30T15:49:08.086Z] 0d9ebad4ef96: Pulling fs layer [2023-08-30T15:49:08.086Z] e9a5061849ea: Pulling fs layer [2023-08-30T15:49:08.086Z] d747dcd14b5f: Pulling fs layer [2023-08-30T15:49:08.086Z] 2de7ff778b66: Pulling fs layer [2023-08-30T15:49:08.086Z] e9a5061849ea: Waiting [2023-08-30T15:49:08.086Z] d747dcd14b5f: Waiting [2023-08-30T15:49:08.086Z] 0d9ebad4ef96: Waiting [2023-08-30T15:49:08.086Z] 9712f1f96733: Verifying Checksum [2023-08-30T15:49:08.086Z] 9712f1f96733: Download complete [2023-08-30T15:49:08.345Z] 63f879dbbcfc: Verifying Checksum [2023-08-30T15:49:08.345Z] 63f879dbbcfc: Download complete [2023-08-30T15:49:08.603Z] 0d9ebad4ef96: Verifying Checksum [2023-08-30T15:49:08.603Z] 0d9ebad4ef96: Download complete [2023-08-30T15:49:08.603Z] d747dcd14b5f: Download complete [2023-08-30T15:49:08.603Z] e9a5061849ea: Verifying Checksum [2023-08-30T15:49:08.603Z] e9a5061849ea: Download complete [2023-08-30T15:49:08.603Z] ab5ef0e58194: Verifying Checksum [2023-08-30T15:49:08.603Z] ab5ef0e58194: Download complete [2023-08-30T15:49:08.861Z] 2de7ff778b66: Verifying Checksum [2023-08-30T15:49:08.861Z] 2de7ff778b66: Download complete [2023-08-30T15:49:11.393Z] ab5ef0e58194: Pull complete [2023-08-30T15:49:11.393Z] 9712f1f96733: Pull complete [2023-08-30T15:49:11.959Z] 63f879dbbcfc: Pull complete [2023-08-30T15:49:16.174Z] 0d9ebad4ef96: Pull complete [2023-08-30T15:49:16.174Z] e9a5061849ea: Pull complete [2023-08-30T15:49:16.174Z] d747dcd14b5f: Pull complete [2023-08-30T15:49:16.742Z] 2de7ff778b66: Pull complete [2023-08-30T15:49:16.742Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-30T15:49:16.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T15:49:16.742Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:49:16.832Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:49:16.864Z] $ 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-08-30T15:49:22.086Z] $ docker top 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-30T15:49:22.151Z] provisioning config files... [2023-08-30T15:49:22.157Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3269393970377173514tmp [2023-08-30T15:49:22.166Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7642005742450109596tmp [2023-08-30T15:49:22.174Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8243083576659906895tmp [Pipeline] { [Pipeline] echo [2023-08-30T15:49:22.188Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:22.467Z] ---> sigul-configuration.sh [2023-08-30T15:49:22.467Z] gpg: directory `/root/.gnupg' created [2023-08-30T15:49:22.467Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-30T15:49:22.467Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-30T15:49:22.467Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-30T15:49:22.467Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-30T15:49:22.467Z] gpg: CAST5 encrypted data [2023-08-30T15:49:22.467Z] gpg: encrypted with 1 passphrase [2023-08-30T15:49:22.467Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-30T15:49:22.750Z] + mkdir /home/jenkins [2023-08-30T15:49:22.750Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-30T15:49:23.036Z] + 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-08-30T15:49:23.044Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:23.329Z] ---> sigul-install.sh [2023-08-30T15:49:23.329Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-30T15:49:23.613Z] + git tag --list [2023-08-30T15:49:23.613Z] 0.7.1 [2023-08-30T15:49:23.613Z] delhi-tag [2023-08-30T15:49:23.613Z] v1.0.0 [2023-08-30T15:49:23.613Z] v1.1.0 [2023-08-30T15:49:23.613Z] v1.1.1 [2023-08-30T15:49:23.613Z] v1.1.2 [2023-08-30T15:49:23.613Z] v1.2.0 [2023-08-30T15:49:23.613Z] v1.2.1 [2023-08-30T15:49:23.613Z] v1.2.2 [2023-08-30T15:49:23.613Z] v1.2.3 [2023-08-30T15:49:23.613Z] v1.3.0 [2023-08-30T15:49:23.613Z] v1.4.0 [2023-08-30T15:49:23.613Z] v2.0.0 [2023-08-30T15:49:23.613Z] v2.1.0 [2023-08-30T15:49:23.613Z] v2.1.1 [2023-08-30T15:49:23.613Z] v2.2.0 [2023-08-30T15:49:23.613Z] v2.3.0 [2023-08-30T15:49:23.613Z] v2.3.1 [2023-08-30T15:49:23.613Z] v3.0 [2023-08-30T15:49:23.613Z] v3.0.0 [2023-08-30T15:49:23.613Z] v3.0.1-dev.1 [2023-08-30T15:49:23.613Z] v3.1.0-dev.1 [2023-08-30T15:49:23.613Z] v3.1.0-dev.10 [2023-08-30T15:49:23.613Z] v3.1.0-dev.11 [2023-08-30T15:49:23.613Z] v3.1.0-dev.12 [2023-08-30T15:49:23.613Z] v3.1.0-dev.13 [2023-08-30T15:49:23.613Z] v3.1.0-dev.14 [2023-08-30T15:49:23.613Z] v3.1.0-dev.15 [2023-08-30T15:49:23.613Z] v3.1.0-dev.16 [2023-08-30T15:49:23.613Z] v3.1.0-dev.17 [2023-08-30T15:49:23.613Z] v3.1.0-dev.2 [2023-08-30T15:49:23.613Z] v3.1.0-dev.3 [2023-08-30T15:49:23.613Z] v3.1.0-dev.4 [2023-08-30T15:49:23.613Z] v3.1.0-dev.5 [2023-08-30T15:49:23.613Z] v3.1.0-dev.6 [2023-08-30T15:49:23.613Z] v3.1.0-dev.7 [2023-08-30T15:49:23.613Z] v3.1.0-dev.8 [2023-08-30T15:49:23.613Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-30T15:49:23.901Z] + lftools sign git-tag v3.1.0-dev.17 [2023-08-30T15:49:24.468Z] Signing Git tag with Sigul... [2023-08-30T15:49:24.468Z] Signing v3.1.0-dev.17 [Pipeline] echo [2023-08-30T15:49:24.735Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:25.021Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-30T15:49:25.029Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-30T15:49:25.050Z] $ docker stop --time=1 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 [2023-08-30T15:49:26.304Z] $ docker rm -f --volumes 6707a1132333cb9eae2e367ac1bd83210b38c3a0e66f92c61b3fd430bfa57cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-30T15:49:26.720Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T15:49:26.720Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:27.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:49:27.020Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:49:27.099Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:49:27.161Z] $ 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-08-30T15:49:27.511Z] $ docker top dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 -eo pid,comm [2023-08-30T15:49:27.554Z] 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-08-30T15:49:27.554Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T15:49:27.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T15:49:27.590Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T15:49:27.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T15:49:27.699Z] $ docker exec dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 ssh-agent [2023-08-30T15:49:27.800Z] SSH_AUTH_SOCK=/tmp/ssh-jVOID4JtX4TM/agent.33 [2023-08-30T15:49:27.800Z] SSH_AGENT_PID=39 [2023-08-30T15:49:27.805Z] Running ssh-add (command line suppressed) [2023-08-30T15:49:27.912Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17945187017138698991.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17945187017138698991.key) [2023-08-30T15:49:27.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T15:49:28.211Z] + git semver bump pre [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [bump_version] DEBUG bumped version:3.1.0-dev.18 [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,391 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,393 [execute] INFO git cat-file --batch-check [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,398 [execute] INFO git cat-file --batch [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T15:49:28.471Z] 2023-08-30 15:49:28,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:28.471Z] 3.1.0-dev.18 [Pipeline] } [2023-08-30T15:49:28.483Z] $ docker exec --env ******** --env ******** dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 ssh-agent -k [2023-08-30T15:49:28.570Z] unset SSH_AUTH_SOCK; [2023-08-30T15:49:28.571Z] unset SSH_AGENT_PID; [2023-08-30T15:49:28.571Z] echo Agent pid 39 killed; [2023-08-30T15:49:28.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T15:49:28.888Z] + git semver [Pipeline] } [2023-08-30T15:49:29.162Z] $ docker stop --time=1 dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 [2023-08-30T15:49:30.456Z] $ docker rm -f --volumes dcdc292ea3ac98deab1c2d838716d118a0ab69f1088274ffc693602acca02757 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T15:49:30.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T15:49:30.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:31.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T15:49:31.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:49:31.168Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:49:31.203Z] $ 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-08-30T15:49:31.531Z] $ docker top f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T15:49:31.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T15:49:31.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T15:49:31.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T15:49:31.739Z] $ docker exec f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 ssh-agent [2023-08-30T15:49:31.838Z] SSH_AUTH_SOCK=/tmp/ssh-woiVthZcRxFy/agent.32 [2023-08-30T15:49:31.838Z] SSH_AGENT_PID=38 [2023-08-30T15:49:31.843Z] Running ssh-add (command line suppressed) [2023-08-30T15:49:31.949Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3956659358078613697.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3956659358078613697.key) [2023-08-30T15:49:31.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T15:49:32.244Z] + git semver push [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,413 [run_push] DEBUG push [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,414 [execute] INFO git cat-file --batch-check [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,417 [execute] INFO git rev-list f84fbd93820e7bdb8931ad92967cfab380ec2196 -- [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,417 [execute] DEBUG Popen(['git', 'rev-list', 'f84fbd93820e7bdb8931ad92967cfab380ec2196', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,429 [execute] INFO git fetch -v origin [2023-08-30T15:49:32.504Z] 2023-08-30 15:49:32,430 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-30T15:49:33.073Z] 2023-08-30 15:49:32,912 [run_push] DEBUG no remote changes detected [2023-08-30T15:49:33.073Z] 2023-08-30 15:49:32,912 [execute] INFO git push origin semver [2023-08-30T15:49:33.073Z] 2023-08-30 15:49:32,913 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-30T15:49:34.010Z] 2023-08-30 15:49:33,720 [run_push] DEBUG push all version tags [2023-08-30T15:49:34.010Z] 2023-08-30 15:49:33,721 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-30T15:49:34.010Z] 2023-08-30 15:49:33,721 [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-08-30T15:49:34.577Z] 2023-08-30 15:49:34,445 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-30T15:49:34.577Z] 3.1.0-dev.18 [Pipeline] } [2023-08-30T15:49:34.589Z] $ docker exec --env ******** --env ******** f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 ssh-agent -k [2023-08-30T15:49:34.695Z] unset SSH_AUTH_SOCK; [2023-08-30T15:49:34.695Z] unset SSH_AGENT_PID; [2023-08-30T15:49:34.695Z] echo Agent pid 38 killed; [2023-08-30T15:49:34.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T15:49:35.016Z] + git semver [Pipeline] } [2023-08-30T15:49:35.286Z] $ docker stop --time=1 f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 [2023-08-30T15:49:36.534Z] $ docker rm -f --volumes f4996b5e07639f756edb7b39e0322a28aae5d977d52ffe5f6d8fc738c7bd9664 [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-08-30T15:49:37.144Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-30T15:49:37.144Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-30T15:49:37.144Z] total 16 [2023-08-30T15:49:37.144Z] drwxr-xr-x 3 root root 4096 Aug 30 15:37 . [2023-08-30T15:49:37.144Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:49 .. [2023-08-30T15:49:37.144Z] drwxr-xr-x 2 root root 4096 Aug 30 15:37 cost [2023-08-30T15:49:37.144Z] -rw-r--r-- 1 root root 85 Aug 30 15:37 cost.csv [2023-08-30T15:49:37.144Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-30T15:49:37.144Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-30T15:49:37.144Z] total 16 [2023-08-30T15:49:37.144Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 15:37 . [2023-08-30T15:49:37.144Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 15:49 .. [2023-08-30T15:49:37.144Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 15:37 cost [2023-08-30T15:49:37.144Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 30 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:37.436Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:38.289Z] ---> package-listing.sh [2023-08-30T15:49:38.289Z] ++ facter osfamily [2023-08-30T15:49:38.289Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T15:49:38.554Z] + OS_FAMILY=debian [2023-08-30T15:49:38.554Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-30T15:49:38.554Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T15:49:38.554Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T15:49:38.554Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T15:49:38.554Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T15:49:38.554Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-30T15:49:38.554Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T15:49:38.554Z] + case "${OS_FAMILY}" in [2023-08-30T15:49:38.554Z] + dpkg -l [2023-08-30T15:49:38.554Z] + grep '^ii' [2023-08-30T15:49:38.554Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T15:49:38.554Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T15:49:38.554Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T15:49:38.554Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-30T15:49:38.554Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-30T15:49:38.554Z] + 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-08-30T15:49:38.562Z] 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-08-30T15:49:38.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T15:49:39.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T15:49:39.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T15:49:39.462Z] prd-ubuntu20.04-docker-8c-8g-4894 does not seem to be running inside a container [2023-08-30T15:49:39.493Z] $ 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-08-30T15:49:39.763Z] $ docker top 5d0e05c49383f6decf6fdf84f31e70fd54653f5bd7f2321e1421904ada92fd52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T15:49:40.098Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T15:49:40.381Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T15:49:40.663Z] + ls /var/log/sa-host [2023-08-30T15:49:40.663Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T15:49:40.810Z] provisioning config files... [2023-08-30T15:49:40.817Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14611887995091120875tmp [Pipeline] { [Pipeline] echo [2023-08-30T15:49:40.828Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:41.110Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T15:49:41.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:41.434Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T15:49:41.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:41.720Z] ---> sudo-logs.sh [2023-08-30T15:49:41.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T15:49:41.753Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:42.107Z] ---> job-cost.sh [2023-08-30T15:49:42.107Z] lf-activate-venv: SKIPPING [2023-08-30T15:49:42.107Z] DEBUG: total: 0.2199999988079071 [2023-08-30T15:49:42.107Z] INFO: Retrieving Stack Cost... [2023-08-30T15:49:42.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T15:49:42.653Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T15:49:42.679Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T15:49:43.002Z] ---> logs-deploy.sh [2023-08-30T15:49:43.002Z] lf-activate-venv: SKIPPING [2023-08-30T15:49:43.002Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/246 [2023-08-30T15:49:43.002Z] INFO: archiving workspace using pattern(s): [2023-08-30T15:49:43.940Z] Archives upload complete. [2023-08-30T15:49:43.940Z] INFO: archiving logs to Nexus