Pull request #1285 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca9300308b3c88e78586fc6d633b07019df9a0ff+f7483b2115c0bc3e87dc0caadd8ed2c7a64f6299 (c971758353ad8bcb95b2a10767be8ba7dfe55c94) 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-ssh14274710014884470001.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12170478932874232727.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5023533004815482797.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1285/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14645343581309157587.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh376310726464047553.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1285/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15088333458356974757.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [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.18 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/v2 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-3074 in /w/workspace/gexfoundry_device-sdk-go_PR-1285 [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/gexfoundry_device-sdk-go_PR-1285 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1285/head:refs/remotes/origin/PR-1285 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7483b2115c0bc3e87dc0caadd8ed2c7a64f6299 into PR head commit ca9300308b3c88e78586fc6d633b07019df9a0ff Merge succeeded, producing ca9300308b3c88e78586fc6d633b07019df9a0ff Checking out Revision ca9300308b3c88e78586fc6d633b07019df9a0ff (PR-1285) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T04:03:45.847Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ca9300308b3c88e78586fc6d633b07019df9a0ff # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f7483b2115c0bc3e87dc0caadd8ed2c7a64f6299 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca9300308b3c88e78586fc6d633b07019df9a0ff # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T04:03:46.030Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T04:03:46.131Z] ========================================================= [2023-01-19T04:03:46.131Z] EdgeX Global Pipelines Version Info [2023-01-19T04:03:46.131Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:03:46.552Z] jq: error (at :4): Cannot index string with string "ref" [2023-01-19T04:03:46.817Z] ------------------- [2023-01-19T04:03:46.817Z] stable info: [2023-01-19T04:03:46.817Z] ------------------- [2023-01-19T04:03:46.817Z] Commited By: [2023-01-19T04:03:46.817Z] Commit SHA: null [2023-01-19T04:03:46.817Z] Message: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [2023-01-19T04:03:47.077Z] jq: error (at :4): Cannot index string with string "ref" [2023-01-19T04:03:47.343Z] ------------------- [2023-01-19T04:03:47.343Z] experimental info: [2023-01-19T04:03:47.343Z] ------------------- [2023-01-19T04:03:47.343Z] Commited By: [2023-01-19T04:03:47.343Z] Commit SHA: null [2023-01-19T04:03:47.343Z] Message: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T04:03:47.640Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-19T04:03:47.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-19T04:03:47.713Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T04:03:47.756Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T04:03:47.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T04:03:47.840Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T04:03:47.881Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T04:03:47.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-19T04:03:47.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T04:03:48.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T04:03:48.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T04:03:48.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-19T04:03:48.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T04:03:48.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T04:03:48.213Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T04:03:48.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T04:03:48.293Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T04:03:48.333Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T04:03:48.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T04:03:48.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T04:03:48.439Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-19T04:03:48.476Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-19T04:03:48.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T04:03:48.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T04:03:48.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T04:03:48.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T04:03:48.686Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T04:03:48.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1285 [Pipeline] echo [2023-01-19T04:03:48.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1285 [Pipeline] echo [2023-01-19T04:03:48.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1285 [Pipeline] echo [2023-01-19T04:03:48.834Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca9300308b3c88e78586fc6d633b07019df9a0ff [Pipeline] echo [2023-01-19T04:03:48.880Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca93003 [Pipeline] echo [2023-01-19T04:03:48.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T04:03:49.029Z] provisioning config files... [2023-01-19T04:03:49.049Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/config16769808283016662551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:03:49.400Z] ---> docker-login.sh [2023-01-19T04:03:49.400Z] nexus3.edgexfoundry.org:10001 [2023-01-19T04:03:49.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:03:49.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:03:49.660Z] Configure a credential helper to remove this warning. See [2023-01-19T04:03:49.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:03:49.660Z] [2023-01-19T04:03:49.660Z] Login Succeeded [2023-01-19T04:03:49.660Z] nexus3.edgexfoundry.org:10002 [2023-01-19T04:03:49.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:03:49.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:03:49.660Z] Configure a credential helper to remove this warning. See [2023-01-19T04:03:49.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:03:49.660Z] [2023-01-19T04:03:49.660Z] Login Succeeded [2023-01-19T04:03:49.660Z] nexus3.edgexfoundry.org:10003 [2023-01-19T04:03:49.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:03:49.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:03:49.919Z] Configure a credential helper to remove this warning. See [2023-01-19T04:03:49.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:03:49.919Z] [2023-01-19T04:03:49.919Z] Login Succeeded [2023-01-19T04:03:49.919Z] nexus3.edgexfoundry.org:10004 [2023-01-19T04:03:49.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:03:49.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:03:49.919Z] Configure a credential helper to remove this warning. See [2023-01-19T04:03:49.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:03:49.919Z] [2023-01-19T04:03:49.919Z] Login Succeeded [2023-01-19T04:03:49.919Z] docker.io [2023-01-19T04:03:50.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:03:50.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:03:50.178Z] Configure a credential helper to remove this warning. See [2023-01-19T04:03:50.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:03:50.178Z] [2023-01-19T04:03:50.178Z] Login Succeeded [2023-01-19T04:03:50.178Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T04:03:50.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T04:03:50.823Z] + git rev-list -1 --merges ca9300308b3c88e78586fc6d633b07019df9a0ff~1..ca9300308b3c88e78586fc6d633b07019df9a0ff [Pipeline] echo [2023-01-19T04:03:50.883Z] -----------> git rev-list -1 --merges ca9300308b3c88e78586fc6d633b07019df9a0ff~1..ca9300308b3c88e78586fc6d633b07019df9a0ff ca9300308b3c88e78586fc6d633b07019df9a0ff [false] [Pipeline] sh [2023-01-19T04:03:51.190Z] + git log --format=format:%s -1 ca9300308b3c88e78586fc6d633b07019df9a0ff [Pipeline] echo [2023-01-19T04:03:51.223Z] ========================================================= [2023-01-19T04:03:51.223Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T04:03:51.223Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T04:03:51.649Z] + git log --format=format:%s -1 ca9300308b3c88e78586fc6d633b07019df9a0ff [Pipeline] echo [2023-01-19T04:03:51.682Z] [semverPrep] GIT_COMMIT: ca9300308b3c88e78586fc6d633b07019df9a0ff, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-19T04:03:51.711Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T04:03:52.083Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T04:03:52.083Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T04:03:52.083Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T04:03:52.083Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T04:03:52.083Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T04:03:52.083Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-19T04:03:52.083Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:03:52.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T04:03:52.507Z] [2023-01-19T04:03:52.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:03:52.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T04:03:52.899Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T04:03:52.899Z] b85a868b505f: Pulling fs layer [2023-01-19T04:03:52.899Z] e2be974225ed: Pulling fs layer [2023-01-19T04:03:52.899Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T04:03:52.899Z] 988bab9f4d93: Pulling fs layer [2023-01-19T04:03:52.899Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T04:03:52.899Z] eaf3925da568: Pulling fs layer [2023-01-19T04:03:52.899Z] bab4dde63d76: Pulling fs layer [2023-01-19T04:03:52.899Z] bde34c3a00c8: Pulling fs layer [2023-01-19T04:03:52.899Z] b352a97aabf1: Pulling fs layer [2023-01-19T04:03:52.899Z] 4872d77fe225: Pulling fs layer [2023-01-19T04:03:52.899Z] 5851b861e8e6: Pulling fs layer [2023-01-19T04:03:52.899Z] bde34c3a00c8: Waiting [2023-01-19T04:03:52.899Z] 4872d77fe225: Waiting [2023-01-19T04:03:52.899Z] 988bab9f4d93: Waiting [2023-01-19T04:03:52.899Z] bab4dde63d76: Waiting [2023-01-19T04:03:52.899Z] 5851b861e8e6: Waiting [2023-01-19T04:03:52.899Z] 1469e6f7b9e6: Waiting [2023-01-19T04:03:52.899Z] eaf3925da568: Waiting [2023-01-19T04:03:52.899Z] e2be974225ed: Download complete [2023-01-19T04:03:52.899Z] 988bab9f4d93: Verifying Checksum [2023-01-19T04:03:52.899Z] 988bab9f4d93: Download complete [2023-01-19T04:03:53.164Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T04:03:53.164Z] 1469e6f7b9e6: Download complete [2023-01-19T04:03:53.164Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T04:03:53.164Z] 339a4e72a1f5: Download complete [2023-01-19T04:03:53.164Z] eaf3925da568: Verifying Checksum [2023-01-19T04:03:53.164Z] eaf3925da568: Download complete [2023-01-19T04:03:53.164Z] b352a97aabf1: Download complete [2023-01-19T04:03:53.164Z] 4872d77fe225: Verifying Checksum [2023-01-19T04:03:53.164Z] 4872d77fe225: Download complete [2023-01-19T04:03:53.423Z] 5851b861e8e6: Verifying Checksum [2023-01-19T04:03:53.423Z] 5851b861e8e6: Download complete [2023-01-19T04:03:53.423Z] b85a868b505f: Verifying Checksum [2023-01-19T04:03:53.423Z] b85a868b505f: Download complete [2023-01-19T04:03:53.682Z] bab4dde63d76: Verifying Checksum [2023-01-19T04:03:53.682Z] bab4dde63d76: Download complete [2023-01-19T04:03:54.619Z] b85a868b505f: Pull complete [2023-01-19T04:03:54.619Z] e2be974225ed: Pull complete [2023-01-19T04:03:55.185Z] 339a4e72a1f5: Pull complete [2023-01-19T04:03:55.185Z] 988bab9f4d93: Pull complete [2023-01-19T04:03:55.447Z] 1469e6f7b9e6: Pull complete [2023-01-19T04:03:55.447Z] eaf3925da568: Pull complete [2023-01-19T04:03:57.357Z] bab4dde63d76: Pull complete [2023-01-19T04:03:57.358Z] bde34c3a00c8: Pull complete [2023-01-19T04:03:57.358Z] b352a97aabf1: Pull complete [2023-01-19T04:03:57.358Z] 4872d77fe225: Pull complete [2023-01-19T04:03:57.617Z] 5851b861e8e6: Pull complete [2023-01-19T04:03:57.617Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T04:03:57.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T04:03:57.617Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:03:57.837Z] prd-ubuntu20.04-docker-8c-8g-3074 does not seem to be running inside a container [2023-01-19T04:03:57.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1285 -v /w/workspace/gexfoundry_device-sdk-go_PR-1285:/w/workspace/gexfoundry_device-sdk-go_PR-1285:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1285@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-19T04:04:00.155Z] $ docker top 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc -eo pid,comm [2023-01-19T04:04:00.225Z] 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-01-19T04:04:00.225Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T04:04:00.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T04:04:00.347Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T04:04:00.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T04:04:00.463Z] $ docker exec 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc ssh-agent [2023-01-19T04:04:00.595Z] SSH_AUTH_SOCK=/tmp/ssh-k016EXzDLNJe/agent.32 [2023-01-19T04:04:00.595Z] SSH_AGENT_PID=38 [2023-01-19T04:04:00.600Z] Running ssh-add (command line suppressed) [2023-01-19T04:04:00.697Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/private_key_5383993429856806037.key (/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/private_key_5383993429856806037.key) [2023-01-19T04:04:00.719Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T04:04:01.043Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T04:04:01.061Z] $ docker exec --env ******** --env ******** 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc ssh-agent -k [2023-01-19T04:04:01.167Z] unset SSH_AUTH_SOCK; [2023-01-19T04:04:01.167Z] unset SSH_AGENT_PID; [2023-01-19T04:04:01.167Z] echo Agent pid 38 killed; [2023-01-19T04:04:01.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T04:04:01.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T04:04:01.277Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T04:04:01.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T04:04:01.399Z] $ docker exec 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc ssh-agent [2023-01-19T04:04:01.523Z] SSH_AUTH_SOCK=/tmp/ssh-ZuW4lI2swzQc/agent.70 [2023-01-19T04:04:01.523Z] SSH_AGENT_PID=76 [2023-01-19T04:04:01.528Z] Running ssh-add (command line suppressed) [2023-01-19T04:04:01.639Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/private_key_13623671262804557581.key (/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/private_key_13623671262804557581.key) [2023-01-19T04:04:01.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T04:04:01.990Z] + git semver init [2023-01-19T04:04:02.250Z] 2023-01-19 04:04:02,172 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T04:04:02.250Z] 2023-01-19 04:04:02,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver [2023-01-19T04:04:02.250Z] 2023-01-19 04:04:02,173 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver [2023-01-19T04:04:02.250Z] 2023-01-19 04:04:02,173 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1285, universal_newlines=False, shell=None, istream=None) [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,170 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285/.git/info/exclude [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,171 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver/PR-1285 with force:False [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,171 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver/PR-1285 [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,175 [execute] INFO git cat-file --batch-check [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,182 [execute] INFO git cat-file --batch [2023-01-19T04:04:03.192Z] 2023-01-19 04:04:03,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T04:04:03.451Z] 2023-01-19 04:04:03,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1285/.semver/PR-1285 [2023-01-19T04:04:03.451Z] 0.0.0 [Pipeline] } [2023-01-19T04:04:03.466Z] $ docker exec --env ******** --env ******** 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc ssh-agent -k [2023-01-19T04:04:03.575Z] unset SSH_AUTH_SOCK; [2023-01-19T04:04:03.575Z] unset SSH_AGENT_PID; [2023-01-19T04:04:03.576Z] echo Agent pid 76 killed; [2023-01-19T04:04:03.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T04:04:04.022Z] + git semver [Pipeline] } [2023-01-19T04:04:04.300Z] $ docker stop --time=1 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc [2023-01-19T04:04:05.606Z] $ docker rm -f --volumes 9db8939e64c895513c222053b6aa976db8eb0394587f8329d19424a9bd82bffc [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T04:04:06.003Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T04:04:06.264Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T04:04:06.280Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T04:04:06.910Z] provisioning config files... [2023-01-19T04:04:06.919Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/config507856595780965832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:04:07.263Z] ---> docker-login.sh [2023-01-19T04:04:07.263Z] nexus3.edgexfoundry.org:10001 [2023-01-19T04:04:07.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:04:07.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:04:07.263Z] Configure a credential helper to remove this warning. See [2023-01-19T04:04:07.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:04:07.263Z] [2023-01-19T04:04:07.263Z] Login Succeeded [2023-01-19T04:04:07.263Z] nexus3.edgexfoundry.org:10002 [2023-01-19T04:04:07.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:04:07.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:04:07.263Z] Configure a credential helper to remove this warning. See [2023-01-19T04:04:07.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:04:07.263Z] [2023-01-19T04:04:07.263Z] Login Succeeded [2023-01-19T04:04:07.263Z] nexus3.edgexfoundry.org:10003 [2023-01-19T04:04:07.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:04:07.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:04:07.521Z] Configure a credential helper to remove this warning. See [2023-01-19T04:04:07.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:04:07.521Z] [2023-01-19T04:04:07.521Z] Login Succeeded [2023-01-19T04:04:07.521Z] nexus3.edgexfoundry.org:10004 [2023-01-19T04:04:07.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:04:07.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:04:07.521Z] Configure a credential helper to remove this warning. See [2023-01-19T04:04:07.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:04:07.521Z] [2023-01-19T04:04:07.521Z] Login Succeeded [2023-01-19T04:04:07.521Z] docker.io [2023-01-19T04:04:07.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:04:07.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:04:07.781Z] Configure a credential helper to remove this warning. See [2023-01-19T04:04:07.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:04:07.781Z] [2023-01-19T04:04:07.781Z] Login Succeeded [2023-01-19T04:04:07.781Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T04:04:07.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T04:04:07.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T04:04:08.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T04:04:08.047Z] ========================================================= [2023-01-19T04:04:08.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T04:04:08.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:04:08.507Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T04:04:08.507Z] Sending build context to Docker daemon 10.52MB [2023-01-19T04:04:08.507Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T04:04:08.507Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-19T04:04:08.782Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T04:04:08.782Z] 213ec9aee27d: Pulling fs layer [2023-01-19T04:04:08.782Z] 4583459ba037: Pulling fs layer [2023-01-19T04:04:08.782Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T04:04:08.782Z] 53926ce57604: Pulling fs layer [2023-01-19T04:04:08.782Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T04:04:08.782Z] 22ff95d597cd: Pulling fs layer [2023-01-19T04:04:08.782Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T04:04:08.782Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T04:04:08.782Z] a7acece74701: Pulling fs layer [2023-01-19T04:04:08.782Z] 53926ce57604: Waiting [2023-01-19T04:04:08.782Z] 22ff95d597cd: Waiting [2023-01-19T04:04:08.782Z] 21b2b0c7a3f4: Waiting [2023-01-19T04:04:08.782Z] 12d6caf4c0d1: Waiting [2023-01-19T04:04:08.782Z] 96b7cbca73a9: Waiting [2023-01-19T04:04:08.782Z] a7acece74701: Waiting [2023-01-19T04:04:08.782Z] 93c1e223e6f2: Verifying Checksum [2023-01-19T04:04:08.782Z] 93c1e223e6f2: Download complete [2023-01-19T04:04:08.782Z] 4583459ba037: Verifying Checksum [2023-01-19T04:04:08.782Z] 4583459ba037: Download complete [2023-01-19T04:04:08.782Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-19T04:04:08.782Z] 21b2b0c7a3f4: Download complete [2023-01-19T04:04:08.782Z] 22ff95d597cd: Verifying Checksum [2023-01-19T04:04:08.782Z] 22ff95d597cd: Download complete [2023-01-19T04:04:08.782Z] 213ec9aee27d: Verifying Checksum [2023-01-19T04:04:08.782Z] 213ec9aee27d: Download complete [2023-01-19T04:04:08.782Z] 12d6caf4c0d1: Verifying Checksum [2023-01-19T04:04:08.782Z] 12d6caf4c0d1: Download complete [2023-01-19T04:04:09.046Z] 213ec9aee27d: Pull complete [2023-01-19T04:04:09.046Z] 4583459ba037: Pull complete [2023-01-19T04:04:09.046Z] 93c1e223e6f2: Pull complete [2023-01-19T04:04:09.651Z] a7acece74701: Verifying Checksum [2023-01-19T04:04:09.651Z] a7acece74701: Download complete [2023-01-19T04:04:09.916Z] 53926ce57604: Verifying Checksum [2023-01-19T04:04:09.916Z] 53926ce57604: Download complete [2023-01-19T04:04:09.916Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T04:04:09.916Z] 96b7cbca73a9: Download complete [2023-01-19T04:04:14.099Z] 53926ce57604: Pull complete [2023-01-19T04:04:14.099Z] 21b2b0c7a3f4: Pull complete [2023-01-19T04:04:14.099Z] 22ff95d597cd: Pull complete [2023-01-19T04:04:14.099Z] 12d6caf4c0d1: Pull complete [2023-01-19T04:04:15.480Z] 96b7cbca73a9: Pull complete [2023-01-19T04:04:16.413Z] a7acece74701: Pull complete [2023-01-19T04:04:16.413Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T04:04:16.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T04:04:16.413Z] ---> db6d94c90886 [2023-01-19T04:04:16.413Z] Step 3/10 : ARG MAKE=make build [2023-01-19T04:04:20.612Z] ---> Running in b28c832f1151 [2023-01-19T04:04:20.612Z] Removing intermediate container b28c832f1151 [2023-01-19T04:04:20.612Z] ---> bdf116e7aba4 [2023-01-19T04:04:20.612Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-19T04:04:20.612Z] ---> Running in 8e384f64366e [2023-01-19T04:04:20.612Z] Removing intermediate container 8e384f64366e [2023-01-19T04:04:20.612Z] ---> 65e5e8ee2ba2 [2023-01-19T04:04:20.612Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-19T04:04:20.612Z] ---> Running in 5d9d652ce5ba [2023-01-19T04:04:20.612Z] Removing intermediate container 5d9d652ce5ba [2023-01-19T04:04:20.612Z] ---> 308992f3b730 [2023-01-19T04:04:20.612Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-19T04:04:20.612Z] ---> Running in 4f265d2d2c6e [2023-01-19T04:04:20.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T04:04:20.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T04:04:21.128Z] OK: 211 MiB in 51 packages [2023-01-19T04:04:21.387Z] Removing intermediate container 4f265d2d2c6e [2023-01-19T04:04:21.387Z] ---> 1a7ef0e114bf [2023-01-19T04:04:21.387Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-19T04:04:21.645Z] ---> 4f05597dc1d5 [2023-01-19T04:04:21.645Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T04:04:21.645Z] ---> Running in 899e2b73a68e [2023-01-19T04:04:21.738Z] Still waiting to schedule task [2023-01-19T04:04:21.738Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-19T04:04:48.210Z] Removing intermediate container 899e2b73a68e [2023-01-19T04:04:48.210Z] ---> ebab0fb7c481 [2023-01-19T04:04:48.210Z] Step 9/10 : COPY . . [2023-01-19T04:04:48.210Z] ---> e67491e21e32 [2023-01-19T04:04:48.210Z] Step 10/10 : RUN ${MAKE} [2023-01-19T04:04:48.210Z] ---> Running in d8955b0dc9fb [2023-01-19T04:04:48.210Z] noop [2023-01-19T04:04:48.210Z] Removing intermediate container d8955b0dc9fb [2023-01-19T04:04:48.210Z] ---> 31764073b636 [2023-01-19T04:04:48.210Z] Successfully built 31764073b636 [2023-01-19T04:04:48.210Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:04:48.657Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T04:04:48.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:04:48.800Z] prd-ubuntu20.04-docker-8c-8g-3074 does not seem to be running inside a container [2023-01-19T04:04:48.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1285 -v /w/workspace/gexfoundry_device-sdk-go_PR-1285:/w/workspace/gexfoundry_device-sdk-go_PR-1285:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T04:04:49.171Z] $ docker top 325d4f05b6113dda6d0f285f94117954c5ddf56d3c001b5ca3a5991258f92185 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T04:04:49.545Z] + go version [2023-01-19T04:04:49.545Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T04:04:49.585Z] $ docker stop --time=1 325d4f05b6113dda6d0f285f94117954c5ddf56d3c001b5ca3a5991258f92185 [2023-01-19T04:04:50.863Z] $ docker rm -f --volumes 325d4f05b6113dda6d0f285f94117954c5ddf56d3c001b5ca3a5991258f92185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:04:51.556Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T04:04:51.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:04:51.706Z] prd-ubuntu20.04-docker-8c-8g-3074 does not seem to be running inside a container [2023-01-19T04:04:51.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1285 -v /w/workspace/gexfoundry_device-sdk-go_PR-1285:/w/workspace/gexfoundry_device-sdk-go_PR-1285:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T04:04:52.057Z] $ docker top b07adedbae699c0f96de6a616de8e77980efca2d08a28045d43413c8e45a73ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T04:04:52.442Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1285 [Pipeline] fileExists [Pipeline] sh [2023-01-19T04:04:52.799Z] + make test [2023-01-19T04:04:52.799Z] go test -race -coverprofile=coverage.out ./... [2023-01-19T04:04:59.375Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.052s coverage: 78.9% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 73.6% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 60.6% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.1% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.738s coverage: 89.2% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-19T04:05:14.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.6% of statements [2023-01-19T04:05:14.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-19T04:05:26.422Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-19T04:05:26.422Z] GO111MODULE=on go vet ./... [2023-01-19T04:05:29.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T04:05:29.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T04:05:29.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-19T04:05:29.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T04:05:29.765Z] $ docker stop --time=1 b07adedbae699c0f96de6a616de8e77980efca2d08a28045d43413c8e45a73ae [2023-01-19T04:05:33.434Z] $ docker rm -f --volumes b07adedbae699c0f96de6a616de8e77980efca2d08a28045d43413c8e45a73ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T04:05:34.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T04:05:34.159Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T04:05:34.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T04:05:35.218Z] + ls -al . [2023-01-19T04:05:35.218Z] total 272 [2023-01-19T04:05:35.218Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 04:04 . [2023-01-19T04:05:35.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:03 .. [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 04:03 .dockerignore [2023-01-19T04:05:35.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:05 .git [2023-01-19T04:05:35.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:03 .github [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 19 04:03 .gitignore [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 04:03 .golangci.yml [2023-01-19T04:05:35.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 04:04 .semver [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 19 04:03 CHANGELOG.md [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 04:03 GOVERNANCE.md [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 19 04:03 Jenkinsfile [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 04:03 LICENSE [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 19 04:03 Makefile [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 19 04:03 OWNERS.md [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 19 04:03 README.md [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 04:04 VERSION [2023-01-19T04:05:35.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:03 bin [2023-01-19T04:05:35.218Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 19 04:05 coverage.out [2023-01-19T04:05:35.218Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 04:03 example [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 19 04:03 go.mod [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 19 04:03 go.sum [2023-01-19T04:05:35.218Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 19 04:03 internal [2023-01-19T04:05:35.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:03 openapi [2023-01-19T04:05:35.218Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 04:03 pkg [2023-01-19T04:05:35.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:03 snap [2023-01-19T04:05:35.218Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:05:35.629Z] + 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=ca9300308b3c88e78586fc6d633b07019df9a0ff --label arch=amd64 --label version=0.0.0 . [2023-01-19T04:05:35.629Z] Sending build context to Docker daemon 10.62MB [2023-01-19T04:05:35.629Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T04:05:35.629Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-19T04:05:35.629Z] ---> 31764073b636 [2023-01-19T04:05:35.629Z] Step 3/23 : ARG MAKE=make build [2023-01-19T04:05:35.888Z] ---> Running in fc54c1feb6cc [2023-01-19T04:05:35.888Z] Removing intermediate container fc54c1feb6cc [2023-01-19T04:05:35.888Z] ---> d719b64779fe [2023-01-19T04:05:35.888Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-19T04:05:35.888Z] ---> Running in 67fb0c338031 [2023-01-19T04:05:35.888Z] Removing intermediate container 67fb0c338031 [2023-01-19T04:05:35.888Z] ---> c6adb926b772 [2023-01-19T04:05:35.888Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-19T04:05:35.888Z] ---> Running in c4935fbe7e35 [2023-01-19T04:05:35.888Z] Removing intermediate container c4935fbe7e35 [2023-01-19T04:05:35.888Z] ---> 01649baf3aa0 [2023-01-19T04:05:35.888Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-19T04:05:35.888Z] ---> Running in 3382e888b090 [2023-01-19T04:05:36.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T04:05:36.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T04:05:36.662Z] OK: 211 MiB in 51 packages [2023-01-19T04:05:36.921Z] Removing intermediate container 3382e888b090 [2023-01-19T04:05:36.921Z] ---> 1f1269a41f8b [2023-01-19T04:05:36.921Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-19T04:05:37.180Z] ---> 291800c910ca [2023-01-19T04:05:37.180Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T04:05:37.180Z] ---> Running in bb6a913a8e6f [2023-01-19T04:05:37.745Z] Removing intermediate container bb6a913a8e6f [2023-01-19T04:05:37.745Z] ---> 01d4a4fb29ef [2023-01-19T04:05:37.745Z] Step 9/23 : COPY . . [2023-01-19T04:05:38.313Z] ---> 5070dfe15ffe [2023-01-19T04:05:38.313Z] Step 10/23 : RUN ${MAKE} [2023-01-19T04:05:38.313Z] ---> Running in 7c469872c294 [2023-01-19T04:05:38.572Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-19T04:05:56.644Z] Removing intermediate container 7c469872c294 [2023-01-19T04:05:56.644Z] ---> 0476e16fb84e [2023-01-19T04:05:56.644Z] Step 11/23 : FROM alpine:3.16 [2023-01-19T04:05:56.644Z] 3.16: Pulling from library/alpine [2023-01-19T04:05:56.644Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T04:05:56.644Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T04:05:56.644Z] ca7dd9ec2225: Download complete [2023-01-19T04:05:56.644Z] ca7dd9ec2225: Pull complete [2023-01-19T04:05:56.644Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T04:05:56.644Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T04:05:56.644Z] ---> bfe296a52501 [2023-01-19T04:05:56.644Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-19T04:05:56.644Z] ---> Running in 6570cbf66d88 [2023-01-19T04:05:56.644Z] Removing intermediate container 6570cbf66d88 [2023-01-19T04:05:56.644Z] ---> 26acef19a376 [2023-01-19T04:05:56.644Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-19T04:05:56.644Z] ---> Running in 38dae5cb5823 [2023-01-19T04:05:56.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T04:05:56.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T04:05:57.161Z] OK: 6 MiB in 14 packages [2023-01-19T04:05:57.419Z] Removing intermediate container 38dae5cb5823 [2023-01-19T04:05:57.419Z] ---> 60187e84f861 [2023-01-19T04:05:57.419Z] Step 14/23 : WORKDIR / [2023-01-19T04:05:57.419Z] ---> Running in ad23e899320a [2023-01-19T04:05:57.419Z] Removing intermediate container ad23e899320a [2023-01-19T04:05:57.419Z] ---> 27d323caa0a7 [2023-01-19T04:05:57.419Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-19T04:05:57.676Z] ---> 343d895f2902 [2023-01-19T04:05:57.676Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-19T04:05:58.256Z] ---> 444d6f8d9ea5 [2023-01-19T04:05:58.256Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-19T04:05:58.256Z] ---> b8af23313e5d [2023-01-19T04:05:58.256Z] Step 18/23 : EXPOSE 59999 [2023-01-19T04:05:58.514Z] ---> Running in 052bd990de04 [2023-01-19T04:05:58.514Z] Removing intermediate container 052bd990de04 [2023-01-19T04:05:58.514Z] ---> 9d05522ea3cb [2023-01-19T04:05:58.514Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-19T04:05:58.514Z] ---> Running in 58720ea871a9 [2023-01-19T04:05:58.514Z] Removing intermediate container 58720ea871a9 [2023-01-19T04:05:58.514Z] ---> 0ef95fe9f69e [2023-01-19T04:05:58.514Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T04:05:58.514Z] ---> Running in cec182b4fc0d [2023-01-19T04:05:58.514Z] Removing intermediate container cec182b4fc0d [2023-01-19T04:05:58.514Z] ---> 983e7f47ddd3 [2023-01-19T04:05:58.514Z] Step 21/23 : LABEL arch=amd64 [2023-01-19T04:05:58.773Z] ---> Running in 857963f68fc4 [2023-01-19T04:05:58.773Z] Removing intermediate container 857963f68fc4 [2023-01-19T04:05:58.773Z] ---> 6d272ae0f488 [2023-01-19T04:05:58.773Z] Step 22/23 : LABEL git_sha=ca9300308b3c88e78586fc6d633b07019df9a0ff [2023-01-19T04:05:58.773Z] ---> Running in 7ece6c6cf86f [2023-01-19T04:05:58.773Z] Removing intermediate container 7ece6c6cf86f [2023-01-19T04:05:58.773Z] ---> 481407d512ff [2023-01-19T04:05:58.773Z] Step 23/23 : LABEL version=0.0.0 [2023-01-19T04:05:58.773Z] ---> Running in 4a7e2b6f4305 [2023-01-19T04:05:58.773Z] Removing intermediate container 4a7e2b6f4305 [2023-01-19T04:05:58.773Z] ---> d07da8ac8fbc [2023-01-19T04:05:58.773Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T04:05:58.773Z] Successfully built d07da8ac8fbc [2023-01-19T04:05:58.773Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:05:59.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T04:05:59.593Z] [2023-01-19T04:05:59.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:05:59.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T04:05:59.966Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T04:05:59.966Z] 5eb5b503b376: Pulling fs layer [2023-01-19T04:05:59.966Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T04:05:59.966Z] ec43610c2a17: Pulling fs layer [2023-01-19T04:05:59.966Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T04:05:59.966Z] 33b1e0a273af: Pulling fs layer [2023-01-19T04:05:59.966Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T04:05:59.966Z] 2f39f015ded8: Pulling fs layer [2023-01-19T04:05:59.966Z] 33b1e0a273af: Waiting [2023-01-19T04:05:59.966Z] 5d3b04190fa2: Waiting [2023-01-19T04:05:59.966Z] 2f39f015ded8: Waiting [2023-01-19T04:05:59.966Z] 3a2ae6a8a46f: Waiting [2023-01-19T04:05:59.966Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T04:05:59.966Z] 5c69ac0246d0: Download complete [2023-01-19T04:05:59.966Z] 3a2ae6a8a46f: Download complete [2023-01-19T04:06:00.225Z] 33b1e0a273af: Verifying Checksum [2023-01-19T04:06:00.225Z] 33b1e0a273af: Download complete [2023-01-19T04:06:00.225Z] 5d3b04190fa2: Download complete [2023-01-19T04:06:00.225Z] ec43610c2a17: Verifying Checksum [2023-01-19T04:06:00.225Z] ec43610c2a17: Download complete [2023-01-19T04:06:00.226Z] 5eb5b503b376: Verifying Checksum [2023-01-19T04:06:00.226Z] 5eb5b503b376: Download complete [2023-01-19T04:06:01.162Z] 2f39f015ded8: Download complete [2023-01-19T04:06:01.420Z] 5eb5b503b376: Pull complete [2023-01-19T04:06:01.420Z] 5c69ac0246d0: Pull complete [2023-01-19T04:06:01.983Z] ec43610c2a17: Pull complete [2023-01-19T04:06:01.983Z] 3a2ae6a8a46f: Pull complete [2023-01-19T04:06:02.240Z] 33b1e0a273af: Pull complete [2023-01-19T04:06:02.240Z] 5d3b04190fa2: Pull complete [2023-01-19T04:06:06.416Z] 2f39f015ded8: Pull complete [2023-01-19T04:06:06.416Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T04:06:06.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T04:06:06.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:06:06.614Z] prd-ubuntu20.04-docker-8c-8g-3074 does not seem to be running inside a container [2023-01-19T04:06:06.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1285 -v /w/workspace/gexfoundry_device-sdk-go_PR-1285:/w/workspace/gexfoundry_device-sdk-go_PR-1285:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T04:06:09.659Z] $ docker top e8e6f6334f2254e0682348da6a217b39462acc191265d8d9312e5ffd5d3461e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:06:10.092Z] ---> job-cost.sh [2023-01-19T04:06:10.092Z] lf-activate-venv: SKIPPING [2023-01-19T04:06:10.092Z] INFO: No Stack... [2023-01-19T04:06:10.354Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T04:06:10.613Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T04:06:10.923Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives/cost.csv [2023-01-19T04:06:10.924Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T04:06:10.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [2023-01-19T04:06:10.978Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] did not exist. Created. [2023-01-19T04:06:10.979Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T04:06:11.448Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T04:06:11.502Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T04:06:11.528Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T04:06:11.607Z] $ docker stop --time=1 e8e6f6334f2254e0682348da6a217b39462acc191265d8d9312e5ffd5d3461e0 [2023-01-19T04:06:12.756Z] $ docker rm -f --volumes e8e6f6334f2254e0682348da6a217b39462acc191265d8d9312e5ffd5d3461e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T04:06:48.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3080 in /w/workspace/gexfoundry_device-sdk-go_PR-1285 [Pipeline] { [Pipeline] ws [2023-01-19T04:06:48.493Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-19T04:06:48.567Z] The recommended git tool is: git [2023-01-19T04:06:56.958Z] using credential edgex-jenkins-ssh [2023-01-19T04:06:56.981Z] Cloning the remote Git repository [2023-01-19T04:06:57.039Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-19T04:06:57.146Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-19T04:06:57.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-19T04:06:57.366Z] > git --version # timeout=10 [2023-01-19T04:06:57.392Z] > git --version # 'git version 2.25.1' [2023-01-19T04:06:57.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T04:06:57.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T04:06:59.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-19T04:06:59.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T04:07:00.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-19T04:07:00.943Z] Merging remotes/origin/main commit f7483b2115c0bc3e87dc0caadd8ed2c7a64f6299 into PR head commit ca9300308b3c88e78586fc6d633b07019df9a0ff [2023-01-19T04:07:01.206Z] Merge succeeded, producing ca9300308b3c88e78586fc6d633b07019df9a0ff [2023-01-19T04:07:01.207Z] Checking out Revision ca9300308b3c88e78586fc6d633b07019df9a0ff (PR-1285) [2023-01-19T04:07:01.816Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-19T04:07:01.867Z] > git --version # timeout=10 [2023-01-19T04:07:01.880Z] > git --version # 'git version 2.25.1' [2023-01-19T04:07:01.897Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T04:07:00.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-19T04:07:00.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T04:07:00.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1285/head:refs/remotes/origin/PR-1285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T04:07:00.965Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T04:07:00.986Z] > git checkout -f ca9300308b3c88e78586fc6d633b07019df9a0ff # timeout=10 [2023-01-19T04:07:01.099Z] > git remote # timeout=10 [2023-01-19T04:07:01.123Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T04:07:01.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T04:07:01.155Z] > git merge f7483b2115c0bc3e87dc0caadd8ed2c7a64f6299 # timeout=10 [2023-01-19T04:07:01.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T04:07:01.215Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T04:07:01.238Z] > git checkout -f ca9300308b3c88e78586fc6d633b07019df9a0ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T04:07:03.029Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T04:07:03.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T04:07:03.029Z] Dload Upload Total Spent Left Speed [2023-01-19T04:07:03.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-01-19T04:07:03.721Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T04:07:04.062Z] + sudo tee /etc/docker/daemon.new [2023-01-19T04:07:04.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T04:07:04.062Z] { [2023-01-19T04:07:04.062Z] "registry-mirrors": [ [2023-01-19T04:07:04.062Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T04:07:04.062Z] ], [2023-01-19T04:07:04.062Z] "bip": "10.250.0.254/24", [2023-01-19T04:07:04.062Z] "hosts": [ [2023-01-19T04:07:04.062Z] "tcp://0.0.0.0:5555", [2023-01-19T04:07:04.062Z] "unix:///var/run/docker.sock" [2023-01-19T04:07:04.062Z] ], [2023-01-19T04:07:04.062Z] "mtu": 1458, [2023-01-19T04:07:04.062Z] "selinux-enabled": true, [2023-01-19T04:07:04.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T04:07:04.062Z] } [Pipeline] sh [2023-01-19T04:07:04.420Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T04:07:04.797Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T04:07:23.160Z] provisioning config files... [2023-01-19T04:07:23.192Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11854257568044408415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:07:23.596Z] ---> docker-login.sh [2023-01-19T04:07:23.596Z] nexus3.edgexfoundry.org:10001 [2023-01-19T04:07:24.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:07:24.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:07:24.187Z] Configure a credential helper to remove this warning. See [2023-01-19T04:07:24.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:07:24.187Z] [2023-01-19T04:07:24.187Z] Login Succeeded [2023-01-19T04:07:24.187Z] nexus3.edgexfoundry.org:10002 [2023-01-19T04:07:24.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:07:24.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:07:24.730Z] Configure a credential helper to remove this warning. See [2023-01-19T04:07:24.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:07:24.730Z] [2023-01-19T04:07:24.730Z] Login Succeeded [2023-01-19T04:07:24.730Z] nexus3.edgexfoundry.org:10003 [2023-01-19T04:07:25.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:07:25.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:07:25.000Z] Configure a credential helper to remove this warning. See [2023-01-19T04:07:25.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:07:25.000Z] [2023-01-19T04:07:25.000Z] Login Succeeded [2023-01-19T04:07:25.000Z] nexus3.edgexfoundry.org:10004 [2023-01-19T04:07:25.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:07:25.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:07:25.557Z] Configure a credential helper to remove this warning. See [2023-01-19T04:07:25.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:07:25.557Z] [2023-01-19T04:07:25.557Z] Login Succeeded [2023-01-19T04:07:25.557Z] docker.io [2023-01-19T04:07:25.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T04:07:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T04:07:26.122Z] Configure a credential helper to remove this warning. See [2023-01-19T04:07:26.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T04:07:26.122Z] [2023-01-19T04:07:26.122Z] Login Succeeded [2023-01-19T04:07:26.122Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T04:07:26.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T04:07:26.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T04:07:26.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T04:07:26.750Z] ========================================================= [2023-01-19T04:07:26.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T04:07:26.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:07:27.263Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T04:07:27.859Z] Sending build context to Docker daemon 5.683MB [2023-01-19T04:07:27.859Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T04:07:27.859Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-19T04:07:27.859Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T04:07:27.859Z] 9b18e9b68314: Pulling fs layer [2023-01-19T04:07:27.859Z] 35d82f9e3411: Pulling fs layer [2023-01-19T04:07:27.859Z] e16973657156: Pulling fs layer [2023-01-19T04:07:27.859Z] fc693d55d65f: Pulling fs layer [2023-01-19T04:07:27.859Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T04:07:27.859Z] dda99020689f: Pulling fs layer [2023-01-19T04:07:27.859Z] db1c61fa0a46: Pulling fs layer [2023-01-19T04:07:27.859Z] 891c053d2c06: Pulling fs layer [2023-01-19T04:07:27.859Z] fc693d55d65f: Waiting [2023-01-19T04:07:27.859Z] 7e9fc2657dce: Waiting [2023-01-19T04:07:27.859Z] dda99020689f: Waiting [2023-01-19T04:07:27.859Z] db1c61fa0a46: Waiting [2023-01-19T04:07:27.859Z] 891c053d2c06: Waiting [2023-01-19T04:07:27.859Z] e16973657156: Verifying Checksum [2023-01-19T04:07:27.859Z] e16973657156: Download complete [2023-01-19T04:07:27.859Z] 35d82f9e3411: Verifying Checksum [2023-01-19T04:07:28.143Z] 35d82f9e3411: Download complete [2023-01-19T04:07:28.143Z] 7e9fc2657dce: Download complete [2023-01-19T04:07:28.143Z] dda99020689f: Verifying Checksum [2023-01-19T04:07:28.143Z] dda99020689f: Download complete [2023-01-19T04:07:28.143Z] 9b18e9b68314: Verifying Checksum [2023-01-19T04:07:29.136Z] 9b18e9b68314: Pull complete [2023-01-19T04:07:29.412Z] 891c053d2c06: Verifying Checksum [2023-01-19T04:07:29.412Z] 891c053d2c06: Download complete [2023-01-19T04:07:30.007Z] 35d82f9e3411: Pull complete [2023-01-19T04:07:30.284Z] e16973657156: Pull complete [2023-01-19T04:07:31.019Z] db1c61fa0a46: Verifying Checksum [2023-01-19T04:07:31.020Z] db1c61fa0a46: Download complete [2023-01-19T04:07:31.643Z] fc693d55d65f: Verifying Checksum [2023-01-19T04:07:31.643Z] fc693d55d65f: Download complete [2023-01-19T04:07:43.983Z] fc693d55d65f: Pull complete [2023-01-19T04:07:43.983Z] 7e9fc2657dce: Pull complete [2023-01-19T04:07:43.983Z] dda99020689f: Pull complete [2023-01-19T04:07:49.367Z] db1c61fa0a46: Pull complete [2023-01-19T04:07:50.788Z] 891c053d2c06: Pull complete [2023-01-19T04:07:50.788Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T04:07:50.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T04:07:50.788Z] ---> f96f9c87975a [2023-01-19T04:07:50.788Z] Step 3/10 : ARG MAKE=make build [2023-01-19T04:07:52.760Z] ---> Running in 26fbb9b686e8 [2023-01-19T04:07:53.030Z] Removing intermediate container 26fbb9b686e8 [2023-01-19T04:07:53.030Z] ---> 23c8d2b3d799 [2023-01-19T04:07:53.030Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-19T04:07:53.030Z] ---> Running in bd6c76f57dcd [2023-01-19T04:07:53.621Z] Removing intermediate container bd6c76f57dcd [2023-01-19T04:07:53.621Z] ---> 7d214d4f120a [2023-01-19T04:07:53.621Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-19T04:07:53.621Z] ---> Running in e38e1e07ada8 [2023-01-19T04:07:53.893Z] Removing intermediate container e38e1e07ada8 [2023-01-19T04:07:53.893Z] ---> 93a7fe39c959 [2023-01-19T04:07:53.893Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-19T04:07:53.893Z] ---> Running in 27d20803aabd [2023-01-19T04:07:55.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T04:07:55.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T04:07:57.004Z] OK: 221 MiB in 51 packages [2023-01-19T04:07:57.603Z] Removing intermediate container 27d20803aabd [2023-01-19T04:07:57.603Z] ---> 8a540b26ed20 [2023-01-19T04:07:57.603Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-19T04:07:58.195Z] ---> 366f54d5477f [2023-01-19T04:07:58.195Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T04:07:58.467Z] ---> Running in bf0efa9a7b54 [2023-01-19T04:09:06.370Z] Removing intermediate container bf0efa9a7b54 [2023-01-19T04:09:06.370Z] ---> 59baa3d6c9e4 [2023-01-19T04:09:06.370Z] Step 9/10 : COPY . . [2023-01-19T04:09:06.370Z] ---> 732c5ed2ed50 [2023-01-19T04:09:06.370Z] Step 10/10 : RUN ${MAKE} [2023-01-19T04:09:06.370Z] ---> Running in 5c19572eb548 [2023-01-19T04:09:06.370Z] noop [2023-01-19T04:09:06.370Z] Removing intermediate container 5c19572eb548 [2023-01-19T04:09:06.370Z] ---> 2290d55b50f6 [2023-01-19T04:09:06.370Z] Successfully built 2290d55b50f6 [2023-01-19T04:09:06.370Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:09:06.849Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T04:09:06.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:09:07.101Z] prd-ubuntu20.04-docker-arm64-4c-16g-3080 does not seem to be running inside a container [2023-01-19T04:09:07.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T04:09:08.369Z] $ docker top 38bab0b89895ab5cf511a237e13d8a83b9fb74c10ea9147af0ed8321447c2047 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T04:09:09.253Z] + go version [2023-01-19T04:09:09.253Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T04:09:09.286Z] $ docker stop --time=1 38bab0b89895ab5cf511a237e13d8a83b9fb74c10ea9147af0ed8321447c2047 [2023-01-19T04:09:10.871Z] $ docker rm -f --volumes 38bab0b89895ab5cf511a237e13d8a83b9fb74c10ea9147af0ed8321447c2047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:09:11.709Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T04:09:11.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:09:11.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-3080 does not seem to be running inside a container [2023-01-19T04:09:12.025Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T04:09:15.703Z] $ docker top 4219dc3b7c49cf0a87097bed070ef8cd49cbfbb93ef52a7ee284ba51b9e87a2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T04:09:16.603Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T04:09:17.316Z] + make test [2023-01-19T04:09:17.316Z] go test -race -coverprofile=coverage.out ./... [2023-01-19T04:09:56.221Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-19T04:12:17.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-19T04:12:17.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-19T04:12:17.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-19T04:12:17.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-19T04:12:17.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-19T04:12:24.648Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.434s coverage: 27.6% of statements [2023-01-19T04:12:25.619Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.493s coverage: 78.9% of statements [2023-01-19T04:12:25.619Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-19T04:12:32.309Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.442s coverage: 73.6% of statements [2023-01-19T04:12:32.309Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-19T04:12:32.309Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-19T04:12:33.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.574s coverage: 60.6% of statements [2023-01-19T04:12:33.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-19T04:12:33.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-19T04:12:33.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-19T04:12:33.759Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-19T04:12:34.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.475s coverage: 65.1% of statements [2023-01-19T04:12:34.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-19T04:12:34.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-19T04:12:34.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.284s coverage: 89.2% of statements [2023-01-19T04:12:34.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-19T04:12:34.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.302s coverage: 4.6% of statements [2023-01-19T04:12:34.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-19T04:12:35.711Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T04:12:35.711Z] GO111MODULE=on go vet ./... [2023-01-19T04:14:27.443Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T04:14:27.443Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T04:14:27.443Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-19T04:14:27.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T04:14:27.511Z] $ docker stop --time=1 4219dc3b7c49cf0a87097bed070ef8cd49cbfbb93ef52a7ee284ba51b9e87a2b [2023-01-19T04:14:30.377Z] $ docker rm -f --volumes 4219dc3b7c49cf0a87097bed070ef8cd49cbfbb93ef52a7ee284ba51b9e87a2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T04:14:31.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T04:14:31.894Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T04:14:32.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T04:14:33.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T04:14:33.491Z] + ls -al . [2023-01-19T04:14:33.491Z] total 268 [2023-01-19T04:14:33.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:09 . [2023-01-19T04:14:33.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:06 .. [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 04:07 .dockerignore [2023-01-19T04:14:33.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:07 .git [2023-01-19T04:14:33.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:07 .github [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 19 04:07 .gitignore [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 04:07 .golangci.yml [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 19 04:07 CHANGELOG.md [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 04:07 GOVERNANCE.md [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 19 04:07 Jenkinsfile [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 04:07 LICENSE [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 19 04:07 Makefile [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 19 04:07 OWNERS.md [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 19 04:07 README.md [2023-01-19T04:14:33.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 04:04 VERSION [2023-01-19T04:14:33.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:07 bin [2023-01-19T04:14:33.492Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 19 04:12 coverage.out [2023-01-19T04:14:33.492Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 04:07 example [2023-01-19T04:14:33.492Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 19 04:07 go.mod [2023-01-19T04:14:33.492Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 19 04:07 go.sum [2023-01-19T04:14:33.492Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 19 04:07 internal [2023-01-19T04:14:33.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:07 openapi [2023-01-19T04:14:33.492Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 04:07 pkg [2023-01-19T04:14:33.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:07 snap [2023-01-19T04:14:33.492Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:14:33.907Z] + 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=ca9300308b3c88e78586fc6d633b07019df9a0ff --label arch=arm64 --label version=0.0.0 . [2023-01-19T04:14:34.177Z] Sending build context to Docker daemon 5.785MB [2023-01-19T04:14:34.445Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T04:14:34.445Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-19T04:14:34.445Z] ---> 2290d55b50f6 [2023-01-19T04:14:34.445Z] Step 3/23 : ARG MAKE=make build [2023-01-19T04:14:34.445Z] ---> Running in af10e52ec804 [2023-01-19T04:14:34.719Z] Removing intermediate container af10e52ec804 [2023-01-19T04:14:34.719Z] ---> 709e8a37452f [2023-01-19T04:14:34.719Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-19T04:14:34.987Z] ---> Running in 42bb45ecc943 [2023-01-19T04:14:35.254Z] Removing intermediate container 42bb45ecc943 [2023-01-19T04:14:35.254Z] ---> b356c3f385a7 [2023-01-19T04:14:35.254Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-19T04:14:35.254Z] ---> Running in c808f4f24fda [2023-01-19T04:14:35.524Z] Removing intermediate container c808f4f24fda [2023-01-19T04:14:35.524Z] ---> 703f6d99eea6 [2023-01-19T04:14:35.524Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-19T04:14:35.795Z] ---> Running in 46edf3948aef [2023-01-19T04:14:36.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T04:14:37.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T04:14:37.991Z] OK: 221 MiB in 51 packages [2023-01-19T04:14:38.951Z] Removing intermediate container 46edf3948aef [2023-01-19T04:14:38.951Z] ---> 9cef049e9565 [2023-01-19T04:14:38.951Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-19T04:14:39.546Z] ---> 530a544c9d70 [2023-01-19T04:14:39.546Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T04:14:39.546Z] ---> Running in 54a5c4eab686 [2023-01-19T04:14:42.899Z] Removing intermediate container 54a5c4eab686 [2023-01-19T04:14:42.899Z] ---> 5f42075d6eec [2023-01-19T04:14:42.899Z] Step 9/23 : COPY . . [2023-01-19T04:14:43.869Z] ---> 3a3b3e46c119 [2023-01-19T04:14:43.869Z] Step 10/23 : RUN ${MAKE} [2023-01-19T04:14:43.869Z] ---> Running in 67b0a9985bdd [2023-01-19T04:14:44.834Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-19T04:17:06.548Z] Removing intermediate container 67b0a9985bdd [2023-01-19T04:17:06.548Z] ---> 9144ca3a3f93 [2023-01-19T04:17:06.548Z] Step 11/23 : FROM alpine:3.16 [2023-01-19T04:17:06.548Z] 3.16: Pulling from library/alpine [2023-01-19T04:17:06.548Z] 6875df1f5354: Pulling fs layer [2023-01-19T04:17:06.548Z] 6875df1f5354: Verifying Checksum [2023-01-19T04:17:06.548Z] 6875df1f5354: Download complete [2023-01-19T04:17:06.548Z] 6875df1f5354: Pull complete [2023-01-19T04:17:06.548Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T04:17:06.548Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T04:17:06.548Z] ---> 2b4661558fb8 [2023-01-19T04:17:06.548Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-19T04:17:06.548Z] ---> Running in 9746de4da16c [2023-01-19T04:17:06.548Z] Removing intermediate container 9746de4da16c [2023-01-19T04:17:06.548Z] ---> 0fc3ecce2b52 [2023-01-19T04:17:06.548Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-19T04:17:06.548Z] ---> Running in 901fe74094c3 [2023-01-19T04:17:06.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T04:17:06.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T04:17:06.548Z] OK: 5 MiB in 14 packages [2023-01-19T04:17:06.548Z] Removing intermediate container 901fe74094c3 [2023-01-19T04:17:06.548Z] ---> b580af849056 [2023-01-19T04:17:06.548Z] Step 14/23 : WORKDIR / [2023-01-19T04:17:06.548Z] ---> Running in bf4f47dd8ab7 [2023-01-19T04:17:06.548Z] Removing intermediate container bf4f47dd8ab7 [2023-01-19T04:17:06.548Z] ---> 04f92b5d89f6 [2023-01-19T04:17:06.548Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-19T04:17:06.548Z] ---> b701d0f65bcd [2023-01-19T04:17:06.548Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-19T04:17:06.548Z] ---> 3eb82e479b8a [2023-01-19T04:17:06.548Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-19T04:17:06.548Z] ---> 36febf415247 [2023-01-19T04:17:06.548Z] Step 18/23 : EXPOSE 59999 [2023-01-19T04:17:06.548Z] ---> Running in b8c76f15f47b [2023-01-19T04:17:06.548Z] Removing intermediate container b8c76f15f47b [2023-01-19T04:17:06.548Z] ---> 6d9d56b4a79a [2023-01-19T04:17:06.548Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-19T04:17:06.548Z] ---> Running in f217ea69d38c [2023-01-19T04:17:06.548Z] Removing intermediate container f217ea69d38c [2023-01-19T04:17:06.548Z] ---> c5c81a1e027d [2023-01-19T04:17:06.548Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T04:17:06.548Z] ---> Running in dee8b8e15aa0 [2023-01-19T04:17:06.548Z] Removing intermediate container dee8b8e15aa0 [2023-01-19T04:17:06.548Z] ---> 3dc4b543af4b [2023-01-19T04:17:06.548Z] Step 21/23 : LABEL arch=arm64 [2023-01-19T04:17:06.548Z] ---> Running in e448d86970f0 [2023-01-19T04:17:06.548Z] Removing intermediate container e448d86970f0 [2023-01-19T04:17:06.548Z] ---> 19b780116e44 [2023-01-19T04:17:06.548Z] Step 22/23 : LABEL git_sha=ca9300308b3c88e78586fc6d633b07019df9a0ff [2023-01-19T04:17:06.548Z] ---> Running in 9f6d9bfb563e [2023-01-19T04:17:06.548Z] Removing intermediate container 9f6d9bfb563e [2023-01-19T04:17:06.548Z] ---> 399e3ae12c45 [2023-01-19T04:17:06.548Z] Step 23/23 : LABEL version=0.0.0 [2023-01-19T04:17:06.548Z] ---> Running in ea44b2daf7ca [2023-01-19T04:17:06.548Z] Removing intermediate container ea44b2daf7ca [2023-01-19T04:17:06.548Z] ---> b76665f3e446 [2023-01-19T04:17:06.548Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T04:17:06.548Z] Successfully built b76665f3e446 [2023-01-19T04:17:06.548Z] 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-01-19T04:17:07.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T04:17:07.392Z] [2023-01-19T04:17:07.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:17:07.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T04:17:07.791Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T04:17:07.791Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T04:17:07.791Z] 04944245beec: Pulling fs layer [2023-01-19T04:17:07.791Z] 699f458cf7ca: Pulling fs layer [2023-01-19T04:17:07.791Z] 765212b225bb: Pulling fs layer [2023-01-19T04:17:07.791Z] f23df028b6ca: Pulling fs layer [2023-01-19T04:17:07.791Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T04:17:07.791Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T04:17:07.791Z] 765212b225bb: Waiting [2023-01-19T04:17:07.791Z] f23df028b6ca: Waiting [2023-01-19T04:17:07.791Z] d65c8cfc05b1: Waiting [2023-01-19T04:17:07.791Z] 2437ff75d9bd: Waiting [2023-01-19T04:17:08.078Z] 04944245beec: Verifying Checksum [2023-01-19T04:17:08.078Z] 04944245beec: Download complete [2023-01-19T04:17:08.078Z] 765212b225bb: Download complete [2023-01-19T04:17:08.078Z] f23df028b6ca: Verifying Checksum [2023-01-19T04:17:08.078Z] f23df028b6ca: Download complete [2023-01-19T04:17:08.361Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T04:17:08.361Z] d65c8cfc05b1: Download complete [2023-01-19T04:17:08.361Z] 699f458cf7ca: Verifying Checksum [2023-01-19T04:17:08.361Z] 699f458cf7ca: Download complete [2023-01-19T04:17:08.656Z] 8998bd30e6a1: Verifying Checksum [2023-01-19T04:17:08.656Z] 8998bd30e6a1: Download complete [2023-01-19T04:17:11.274Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T04:17:11.274Z] 2437ff75d9bd: Download complete [2023-01-19T04:17:12.682Z] 8998bd30e6a1: Pull complete [2023-01-19T04:17:12.947Z] 04944245beec: Pull complete [2023-01-19T04:17:13.904Z] 699f458cf7ca: Pull complete [2023-01-19T04:17:14.171Z] 765212b225bb: Pull complete [2023-01-19T04:17:14.751Z] f23df028b6ca: Pull complete [2023-01-19T04:17:15.706Z] d65c8cfc05b1: Pull complete [2023-01-19T04:17:30.704Z] 2437ff75d9bd: Pull complete [2023-01-19T04:17:30.704Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T04:17:30.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T04:17:30.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:17:31.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-3080 does not seem to be running inside a container [2023-01-19T04:17:31.111Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T04:17:33.825Z] $ docker top 501ac84b34fb7f7d3ecdbc03d5a86b06ec9d37265966a0e14b950ed0f95add64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:34.726Z] ---> job-cost.sh [2023-01-19T04:17:34.726Z] lf-activate-venv: SKIPPING [2023-01-19T04:17:34.726Z] INFO: No Stack... [2023-01-19T04:17:35.307Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T04:17:35.895Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T04:17:36.547Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-19T04:17:36.547Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T04:17:36.631Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [2023-01-19T04:17:36.636Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] did not exist. Created. [2023-01-19T04:17:36.636Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T04:17:37.362Z] /w/workspace/device-sdk-go/1@tmp/durable-bdb31aee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T04:17:38.025Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T04:17:38.058Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T04:17:38.120Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T04:17:38.135Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T04:17:38.209Z] $ docker stop --time=1 501ac84b34fb7f7d3ecdbc03d5a86b06ec9d37265966a0e14b950ed0f95add64 [2023-01-19T04:17:39.777Z] $ docker rm -f --volumes 501ac84b34fb7f7d3ecdbc03d5a86b06ec9d37265966a0e14b950ed0f95add64 [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-01-19T04:17:40.691Z] provisioning config files... [2023-01-19T04:17:40.698Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/config6199756931005385810tmp [Pipeline] { [Pipeline] sh [2023-01-19T04:17:41.032Z] + set +x [2023-01-19T04:17:41.032Z] + + curl -s https://codecov.io/bash [2023-01-19T04:17:41.032Z] bash -s -- [2023-01-19T04:17:41.032Z] [2023-01-19T04:17:41.032Z] _____ _ [2023-01-19T04:17:41.032Z] / ____| | | [2023-01-19T04:17:41.032Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T04:17:41.032Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T04:17:41.032Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T04:17:41.032Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T04:17:41.032Z] Bash-1.0.6 [2023-01-19T04:17:41.032Z] [2023-01-19T04:17:41.032Z] [2023-01-19T04:17:41.032Z] ==> git version 2.25.1 found [2023-01-19T04:17:41.032Z] ==> 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-01-19T04:17:41.032Z] Release-Date: 2020-01-08 [2023-01-19T04:17:41.032Z] 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-01-19T04:17:41.032Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T04:17:41.032Z] ==> Jenkins CI detected. [2023-01-19T04:17:41.032Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1285 [2023-01-19T04:17:41.032Z] project root: . [2023-01-19T04:17:41.032Z] --> token set from env [2023-01-19T04:17:41.032Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T04:17:41.032Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T04:17:41.032Z] ==> Python coveragepy not found [2023-01-19T04:17:41.032Z] ==> Searching for coverage reports in: [2023-01-19T04:17:41.032Z] + . [2023-01-19T04:17:41.032Z] -> Found 1 reports [2023-01-19T04:17:41.032Z] ==> Detecting git/mercurial file structure [2023-01-19T04:17:41.032Z] ==> Reading reports [2023-01-19T04:17:41.032Z] + ./coverage.out bytes=100832 [2023-01-19T04:17:41.032Z] ==> Appending adjustments [2023-01-19T04:17:41.032Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T04:17:41.601Z] + Found adjustments [2023-01-19T04:17:41.601Z] ==> Gzipping contents [2023-01-19T04:17:41.601Z] 16K /tmp/codecov.tbwYYA.gz [2023-01-19T04:17:41.601Z] ==> Uploading reports [2023-01-19T04:17:41.601Z] url: https://codecov.io [2023-01-19T04:17:41.601Z] query: branch=PR-1285&commit=ca9300308b3c88e78586fc6d633b07019df9a0ff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1285&job=&cmd_args= [2023-01-19T04:17:41.601Z] -> Pinging Codecov [2023-01-19T04:17:41.601Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1285&commit=ca9300308b3c88e78586fc6d633b07019df9a0ff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1285%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1285&job=&cmd_args= [2023-01-19T04:17:42.172Z] -> Uploading to [2023-01-19T04:17:42.172Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/7E55EF52A471D76F132DFD9A03CDDE97/ca9300308b3c88e78586fc6d633b07019df9a0ff/849475d5-a59b-4cee-b815-3fab4400cafa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T041741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d74201d091200c0d3d4d615dac4c8ea046e75c94684a1577d55eadd89193e44 [2023-01-19T04:17:42.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T04:17:42.172Z] Dload Upload Total Spent Left Speed [2023-01-19T04:17:42.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14710 0 0 100 14710 0 54080 --:--:-- --:--:-- --:--:-- 54080 [2023-01-19T04:17:42.432Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ca9300308b3c88e78586fc6d633b07019df9a0ff [Pipeline] } [2023-01-19T04:17:42.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-19T04:17:44.133Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives ] [2023-01-19T04:17:44.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives [2023-01-19T04:17:44.133Z] total 16 [2023-01-19T04:17:44.133Z] drwxr-xr-x 3 root root 4096 Jan 19 04:06 . [2023-01-19T04:17:44.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 19 04:06 .. [2023-01-19T04:17:44.133Z] drwxr-xr-x 2 root root 4096 Jan 19 04:06 cost [2023-01-19T04:17:44.133Z] -rw-r--r-- 1 root root 86 Jan 19 04:06 cost.csv [2023-01-19T04:17:44.133Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives [2023-01-19T04:17:44.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives [2023-01-19T04:17:44.133Z] total 16 [2023-01-19T04:17:44.133Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 04:06 . [2023-01-19T04:17:44.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 19 04:06 .. [2023-01-19T04:17:44.133Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 04:06 cost [2023-01-19T04:17:44.133Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 19 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:44.463Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:45.350Z] ---> package-listing.sh [2023-01-19T04:17:45.351Z] ++ facter osfamily [2023-01-19T04:17:45.351Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T04:17:45.610Z] + OS_FAMILY=debian [2023-01-19T04:17:45.610Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1285 [2023-01-19T04:17:45.610Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T04:17:45.610Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T04:17:45.610Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T04:17:45.610Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T04:17:45.610Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1285 ']' [2023-01-19T04:17:45.610Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T04:17:45.610Z] + case "${OS_FAMILY}" in [2023-01-19T04:17:45.610Z] + dpkg -l [2023-01-19T04:17:45.610Z] + grep '^ii' [2023-01-19T04:17:45.610Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T04:17:45.610Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T04:17:45.610Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T04:17:45.610Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1285 ']' [2023-01-19T04:17:45.610Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives/ [2023-01-19T04:17:45.610Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1285/archives/ [Pipeline] echo [2023-01-19T04:17:45.644Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T04:17:45.937Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T04:17:46.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T04:17:46.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T04:17:46.714Z] prd-ubuntu20.04-docker-8c-8g-3074 does not seem to be running inside a container [2023-01-19T04:17:46.750Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1285 -v /w/workspace/gexfoundry_device-sdk-go_PR-1285:/w/workspace/gexfoundry_device-sdk-go_PR-1285:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1285@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-01-19T04:17:46.941Z] $ docker top 149250058f82a910545c95277479d428d51317a6fa71d41087e11c0e8e4ad82f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T04:17:47.321Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T04:17:47.631Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T04:17:47.942Z] + ls /var/log/sa-host [2023-01-19T04:17:47.942Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T04:17:48.091Z] provisioning config files... [2023-01-19T04:17:48.100Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1285@tmp/config15393545082111646236tmp [Pipeline] { [Pipeline] echo [2023-01-19T04:17:48.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:48.458Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T04:17:48.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:48.879Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T04:17:48.908Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:49.219Z] ---> sudo-logs.sh [2023-01-19T04:17:49.219Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T04:17:49.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:49.608Z] ---> job-cost.sh [2023-01-19T04:17:49.608Z] lf-activate-venv: SKIPPING [2023-01-19T04:17:49.608Z] DEBUG: total: 0.2199999988079071 [2023-01-19T04:17:49.608Z] INFO: Retrieving Stack Cost... [2023-01-19T04:17:50.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T04:17:50.436Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T04:17:50.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T04:17:50.788Z] ---> logs-deploy.sh [2023-01-19T04:17:50.788Z] lf-activate-venv: SKIPPING [2023-01-19T04:17:50.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1285/1 [2023-01-19T04:17:50.788Z] INFO: archiving workspace using pattern(s): [2023-01-19T04:17:51.725Z] Archives upload complete. [2023-01-19T04:17:51.725Z] INFO: archiving logs to Nexus