Pull request #1246 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5223691eb3bb5b290cb8f149ecd205d6edbf1ada+e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (4fd401925074053d9d7c214caa027145f77a9bcf) 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-ssh10689338874956387214.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh3948975753703991059.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1246/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-1246/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh752597627714353079.key Verifying host key using known hosts file > 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-1246/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6440518673683196119.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh9707193301524321212.key Verifying host key using known hosts file > 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-1246/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-1246/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11769761545688158032.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-95613 in /w/workspace/gexfoundry_device-sdk-go_PR-1246 [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-1246 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1246/head:refs/remotes/origin/PR-1246 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit 5223691eb3bb5b290cb8f149ecd205d6edbf1ada Merge succeeded, producing 5223691eb3bb5b290cb8f149ecd205d6edbf1ada Checking out Revision 5223691eb3bb5b290cb8f149ecd205d6edbf1ada (PR-1246) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T05:59:50.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T05:59:50.760Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T05:59:50.862Z] ========================================================= [2022-10-25T05:59:50.862Z] EdgeX Global Pipelines Version Info [2022-10-25T05:59:50.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T05:59:51.605Z] ------------------- [2022-10-25T05:59:51.605Z] stable info: [2022-10-25T05:59:51.605Z] ------------------- [2022-10-25T05:59:51.605Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T05:59:51.605Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T05:59:51.605Z] Message: update stable to v1.0.243 [2022-10-25T05:59:52.176Z] ------------------- [2022-10-25T05:59:52.176Z] experimental info: [2022-10-25T05:59:52.176Z] ------------------- [2022-10-25T05:59:52.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T05:59:52.176Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T05:59:52.176Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T05:59:52.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-25T05:59:52.522Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-25T05:59:52.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T05:59:52.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T05:59:52.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T05:59:52.681Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T05:59:52.723Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T05:59:52.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-25T05:59:52.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T05:59:52.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T05:59:52.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T05:59:52.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-25T05:59:52.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T05:59:52.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T05:59:53.020Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T05:59:53.056Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T05:59:53.093Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T05:59:53.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T05:59:53.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T05:59:53.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T05:59:53.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T05:59:53.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-25T05:59:53.305Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T05:59:53.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T05:59:53.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T05:59:53.421Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T05:59:53.463Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T05:59:53.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1246 [Pipeline] echo [2022-10-25T05:59:53.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1246 [Pipeline] echo [2022-10-25T05:59:53.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1246 [Pipeline] echo [2022-10-25T05:59:53.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo [2022-10-25T05:59:53.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5223691 [Pipeline] echo [2022-10-25T05:59:53.680Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T05:59:53.790Z] provisioning config files... [2022-10-25T05:59:53.828Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config17508028686093591983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T05:59:54.169Z] ---> docker-login.sh [2022-10-25T05:59:54.169Z] nexus3.edgexfoundry.org:10001 [2022-10-25T05:59:54.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T05:59:54.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T05:59:54.690Z] Configure a credential helper to remove this warning. See [2022-10-25T05:59:54.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T05:59:54.690Z] [2022-10-25T05:59:54.690Z] Login Succeeded [2022-10-25T05:59:54.690Z] nexus3.edgexfoundry.org:10002 [2022-10-25T05:59:54.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T05:59:54.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T05:59:54.690Z] Configure a credential helper to remove this warning. See [2022-10-25T05:59:54.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T05:59:54.690Z] [2022-10-25T05:59:54.690Z] Login Succeeded [2022-10-25T05:59:54.690Z] nexus3.edgexfoundry.org:10003 [2022-10-25T05:59:54.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T05:59:54.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T05:59:54.951Z] Configure a credential helper to remove this warning. See [2022-10-25T05:59:54.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T05:59:54.951Z] [2022-10-25T05:59:54.951Z] Login Succeeded [2022-10-25T05:59:54.951Z] nexus3.edgexfoundry.org:10004 [2022-10-25T05:59:54.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T05:59:54.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T05:59:54.952Z] Configure a credential helper to remove this warning. See [2022-10-25T05:59:54.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T05:59:54.952Z] [2022-10-25T05:59:54.952Z] Login Succeeded [2022-10-25T05:59:54.952Z] docker.io [2022-10-25T05:59:54.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T05:59:55.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T05:59:55.213Z] Configure a credential helper to remove this warning. See [2022-10-25T05:59:55.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T05:59:55.213Z] [2022-10-25T05:59:55.474Z] Login Succeeded [2022-10-25T05:59:55.474Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T05:59:55.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T05:59:56.128Z] + git rev-list -1 --merges 5223691eb3bb5b290cb8f149ecd205d6edbf1ada~1..5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo [2022-10-25T05:59:56.181Z] -----------> git rev-list -1 --merges 5223691eb3bb5b290cb8f149ecd205d6edbf1ada~1..5223691eb3bb5b290cb8f149ecd205d6edbf1ada 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [false] [Pipeline] sh [2022-10-25T05:59:56.492Z] + git log --format=format:%s -1 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo [2022-10-25T05:59:56.527Z] ========================================================= [2022-10-25T05:59:56.527Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T05:59:56.527Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T05:59:56.960Z] + git log --format=format:%s -1 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] echo [2022-10-25T05:59:56.988Z] [semverPrep] GIT_COMMIT: 5223691eb3bb5b290cb8f149ecd205d6edbf1ada, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-25T05:59:57.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T05:59:57.470Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T05:59:57.470Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T05:59:57.470Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T05:59:57.470Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T05:59:57.470Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T05:59:57.470Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T05:59:57.470Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T05:59:57.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T05:59:57.894Z] [2022-10-25T05:59:57.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T05:59:58.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T05:59:58.278Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T05:59:58.278Z] b85a868b505f: Pulling fs layer [2022-10-25T05:59:58.278Z] e2be974225ed: Pulling fs layer [2022-10-25T05:59:58.278Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T05:59:58.278Z] 988bab9f4d93: Pulling fs layer [2022-10-25T05:59:58.278Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T05:59:58.278Z] eaf3925da568: Pulling fs layer [2022-10-25T05:59:58.278Z] bab4dde63d76: Pulling fs layer [2022-10-25T05:59:58.278Z] bde34c3a00c8: Pulling fs layer [2022-10-25T05:59:58.278Z] b352a97aabf1: Pulling fs layer [2022-10-25T05:59:58.278Z] 4872d77fe225: Pulling fs layer [2022-10-25T05:59:58.278Z] 5851b861e8e6: Pulling fs layer [2022-10-25T05:59:58.278Z] bab4dde63d76: Waiting [2022-10-25T05:59:58.278Z] bde34c3a00c8: Waiting [2022-10-25T05:59:58.278Z] b352a97aabf1: Waiting [2022-10-25T05:59:58.278Z] 4872d77fe225: Waiting [2022-10-25T05:59:58.278Z] 5851b861e8e6: Waiting [2022-10-25T05:59:58.278Z] 988bab9f4d93: Waiting [2022-10-25T05:59:58.278Z] 1469e6f7b9e6: Waiting [2022-10-25T05:59:58.278Z] e2be974225ed: Verifying Checksum [2022-10-25T05:59:58.278Z] e2be974225ed: Download complete [2022-10-25T05:59:58.278Z] 988bab9f4d93: Verifying Checksum [2022-10-25T05:59:58.278Z] 988bab9f4d93: Download complete [2022-10-25T05:59:58.537Z] 1469e6f7b9e6: Download complete [2022-10-25T05:59:58.537Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T05:59:58.537Z] 339a4e72a1f5: Download complete [2022-10-25T05:59:58.537Z] eaf3925da568: Verifying Checksum [2022-10-25T05:59:58.537Z] eaf3925da568: Download complete [2022-10-25T05:59:58.537Z] bde34c3a00c8: Verifying Checksum [2022-10-25T05:59:58.537Z] bde34c3a00c8: Download complete [2022-10-25T05:59:58.537Z] b352a97aabf1: Download complete [2022-10-25T05:59:58.537Z] 4872d77fe225: Download complete [2022-10-25T05:59:58.537Z] 5851b861e8e6: Verifying Checksum [2022-10-25T05:59:58.537Z] 5851b861e8e6: Download complete [2022-10-25T05:59:58.537Z] b85a868b505f: Verifying Checksum [2022-10-25T05:59:58.537Z] b85a868b505f: Download complete [2022-10-25T05:59:58.797Z] bab4dde63d76: Verifying Checksum [2022-10-25T05:59:58.797Z] bab4dde63d76: Download complete [2022-10-25T06:00:00.176Z] b85a868b505f: Pull complete [2022-10-25T06:00:00.176Z] e2be974225ed: Pull complete [2022-10-25T06:00:00.760Z] 339a4e72a1f5: Pull complete [2022-10-25T06:00:00.760Z] 988bab9f4d93: Pull complete [2022-10-25T06:00:01.019Z] 1469e6f7b9e6: Pull complete [2022-10-25T06:00:01.019Z] eaf3925da568: Pull complete [2022-10-25T06:00:02.930Z] bab4dde63d76: Pull complete [2022-10-25T06:00:02.930Z] bde34c3a00c8: Pull complete [2022-10-25T06:00:03.190Z] b352a97aabf1: Pull complete [2022-10-25T06:00:03.190Z] 4872d77fe225: Pull complete [2022-10-25T06:00:03.450Z] 5851b861e8e6: Pull complete [2022-10-25T06:00:03.450Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T06:00:03.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T06:00:03.451Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T06:00:03.651Z] prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container [2022-10-25T06:00:03.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 [2022-10-25T06:00:06.996Z] $ docker top a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc -eo pid,comm [2022-10-25T06:00:07.060Z] 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). [2022-10-25T06:00:07.060Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T06:00:07.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T06:00:07.192Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T06:00:07.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T06:00:07.311Z] $ docker exec a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent [2022-10-25T06:00:07.431Z] SSH_AUTH_SOCK=/tmp/ssh-9JpS27pZLVWy/agent.32 [2022-10-25T06:00:07.431Z] SSH_AGENT_PID=38 [2022-10-25T06:00:07.439Z] Running ssh-add (command line suppressed) [2022-10-25T06:00:07.549Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_4638601078795222040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_4638601078795222040.key) [2022-10-25T06:00:07.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T06:00:07.914Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T06:00:07.938Z] $ docker exec --env ******** --env ******** a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent -k [2022-10-25T06:00:08.042Z] unset SSH_AUTH_SOCK; [2022-10-25T06:00:08.043Z] unset SSH_AGENT_PID; [2022-10-25T06:00:08.043Z] echo Agent pid 38 killed; [2022-10-25T06:00:08.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T06:00:08.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T06:00:08.149Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T06:00:08.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T06:00:08.275Z] $ docker exec a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent [2022-10-25T06:00:08.391Z] SSH_AUTH_SOCK=/tmp/ssh-D6Jz1CcFbZg4/agent.71 [2022-10-25T06:00:08.391Z] SSH_AGENT_PID=77 [2022-10-25T06:00:08.396Z] Running ssh-add (command line suppressed) [2022-10-25T06:00:08.513Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_3042316800163750737.key (/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/private_key_3042316800163750737.key) [2022-10-25T06:00:08.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T06:00:08.859Z] + git semver init [2022-10-25T06:00:09.120Z] 2022-10-25 06:00:09,034 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T06:00:09.120Z] 2022-10-25 06:00:09,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver [2022-10-25T06:00:09.120Z] 2022-10-25 06:00:09,035 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver [2022-10-25T06:00:09.120Z] 2022-10-25 06:00:09,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246, universal_newlines=False, shell=None, istream=None) [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,058 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.git/info/exclude [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 with force:False [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,059 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,064 [execute] INFO git cat-file --batch-check [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,071 [execute] INFO git cat-file --batch [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T06:00:10.500Z] 2022-10-25 06:00:10,076 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1246/.semver/PR-1246 [2022-10-25T06:00:10.500Z] 0.0.0 [Pipeline] } [2022-10-25T06:00:10.525Z] $ docker exec --env ******** --env ******** a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc ssh-agent -k [2022-10-25T06:00:10.632Z] unset SSH_AUTH_SOCK; [2022-10-25T06:00:10.632Z] unset SSH_AGENT_PID; [2022-10-25T06:00:10.633Z] echo Agent pid 77 killed; [2022-10-25T06:00:10.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T06:00:11.054Z] + git semver [Pipeline] } [2022-10-25T06:00:11.333Z] $ docker stop --time=1 a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc [2022-10-25T06:00:12.618Z] $ docker rm -f a070f0748b5ffe1c6c1d6f57fde8e266dc40ea212ac7f7ce34417b27ba40e1dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T06:00:13.034Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T06:00:13.274Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T06:00:13.290Z] [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 [2022-10-25T06:00:13.830Z] provisioning config files... [2022-10-25T06:00:13.839Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config3460524030137536939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T06:00:14.187Z] ---> docker-login.sh [2022-10-25T06:00:14.188Z] nexus3.edgexfoundry.org:10001 [2022-10-25T06:00:14.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T06:00:14.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T06:00:14.188Z] Configure a credential helper to remove this warning. See [2022-10-25T06:00:14.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T06:00:14.188Z] [2022-10-25T06:00:14.188Z] Login Succeeded [2022-10-25T06:00:14.188Z] nexus3.edgexfoundry.org:10002 [2022-10-25T06:00:14.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T06:00:14.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T06:00:14.188Z] Configure a credential helper to remove this warning. See [2022-10-25T06:00:14.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T06:00:14.188Z] [2022-10-25T06:00:14.188Z] Login Succeeded [2022-10-25T06:00:14.188Z] nexus3.edgexfoundry.org:10003 [2022-10-25T06:00:14.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T06:00:14.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T06:00:14.448Z] Configure a credential helper to remove this warning. See [2022-10-25T06:00:14.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T06:00:14.448Z] [2022-10-25T06:00:14.448Z] Login Succeeded [2022-10-25T06:00:14.448Z] nexus3.edgexfoundry.org:10004 [2022-10-25T06:00:14.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T06:00:14.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T06:00:14.448Z] Configure a credential helper to remove this warning. See [2022-10-25T06:00:14.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T06:00:14.448Z] [2022-10-25T06:00:14.448Z] Login Succeeded [2022-10-25T06:00:14.448Z] docker.io [2022-10-25T06:00:14.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T06:00:14.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T06:00:14.966Z] Configure a credential helper to remove this warning. See [2022-10-25T06:00:14.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T06:00:14.966Z] [2022-10-25T06:00:14.966Z] Login Succeeded [2022-10-25T06:00:14.966Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T06:00:14.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T06:00:15.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T06:00:15.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T06:00:15.242Z] ========================================================= [2022-10-25T06:00:15.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T06:00:15.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T06:00:15.756Z] + 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 . [2022-10-25T06:00:15.756Z] Sending build context to Docker daemon 10.06MB [2022-10-25T06:00:15.756Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T06:00:15.756Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T06:00:16.020Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T06:00:16.020Z] 213ec9aee27d: Pulling fs layer [2022-10-25T06:00:16.020Z] 4583459ba037: Pulling fs layer [2022-10-25T06:00:16.020Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T06:00:16.020Z] 53926ce57604: Pulling fs layer [2022-10-25T06:00:16.020Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T06:00:16.020Z] 30f14e443154: Pulling fs layer [2022-10-25T06:00:16.020Z] 801331c1e519: Pulling fs layer [2022-10-25T06:00:16.020Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T06:00:16.020Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T06:00:16.020Z] 53926ce57604: Waiting [2022-10-25T06:00:16.020Z] 21b2b0c7a3f4: Waiting [2022-10-25T06:00:16.020Z] 30f14e443154: Waiting [2022-10-25T06:00:16.020Z] 801331c1e519: Waiting [2022-10-25T06:00:16.020Z] 99cc6dd402b0: Waiting [2022-10-25T06:00:16.020Z] 7d9ed39f4882: Waiting [2022-10-25T06:00:16.020Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T06:00:16.020Z] 93c1e223e6f2: Download complete [2022-10-25T06:00:16.020Z] 4583459ba037: Download complete [2022-10-25T06:00:16.020Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T06:00:16.020Z] 21b2b0c7a3f4: Download complete [2022-10-25T06:00:16.020Z] 30f14e443154: Verifying Checksum [2022-10-25T06:00:16.020Z] 30f14e443154: Download complete [2022-10-25T06:00:16.020Z] 213ec9aee27d: Verifying Checksum [2022-10-25T06:00:16.020Z] 213ec9aee27d: Download complete [2022-10-25T06:00:16.020Z] 801331c1e519: Verifying Checksum [2022-10-25T06:00:16.020Z] 801331c1e519: Download complete [2022-10-25T06:00:16.020Z] 213ec9aee27d: Pull complete [2022-10-25T06:00:16.279Z] 4583459ba037: Pull complete [2022-10-25T06:00:16.279Z] 93c1e223e6f2: Pull complete [2022-10-25T06:00:16.279Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T06:00:16.279Z] 7d9ed39f4882: Download complete [2022-10-25T06:00:16.852Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T06:00:16.853Z] 99cc6dd402b0: Download complete [2022-10-25T06:00:16.853Z] 53926ce57604: Verifying Checksum [2022-10-25T06:00:16.853Z] 53926ce57604: Download complete [2022-10-25T06:00:21.038Z] 53926ce57604: Pull complete [2022-10-25T06:00:21.038Z] 21b2b0c7a3f4: Pull complete [2022-10-25T06:00:21.038Z] 30f14e443154: Pull complete [2022-10-25T06:00:21.038Z] 801331c1e519: Pull complete [2022-10-25T06:00:23.565Z] 99cc6dd402b0: Pull complete [2022-10-25T06:00:24.130Z] 7d9ed39f4882: Pull complete [2022-10-25T06:00:24.130Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T06:00:24.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T06:00:24.130Z] ---> 1dedd983c030 [2022-10-25T06:00:24.130Z] Step 3/11 : ARG MAKE=make build [2022-10-25T06:00:28.393Z] ---> Running in d3ab9432b8cd [2022-10-25T06:00:28.652Z] Removing intermediate container d3ab9432b8cd [2022-10-25T06:00:28.652Z] ---> 891b2a0a0f99 [2022-10-25T06:00:28.652Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-25T06:00:28.652Z] ---> Running in c2343626c389 [2022-10-25T06:00:28.652Z] Removing intermediate container c2343626c389 [2022-10-25T06:00:28.652Z] ---> 0b9ff697aec3 [2022-10-25T06:00:28.652Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T06:00:28.652Z] ---> Running in 280a9937affe [2022-10-25T06:00:28.674Z] Still waiting to schedule task [2022-10-25T06:00:28.675Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T06:00:28.910Z] Removing intermediate container 280a9937affe [2022-10-25T06:00:28.911Z] ---> ced06e35e0e8 [2022-10-25T06:00:28.911Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T06:00:28.911Z] ---> Running in e548b750836f [2022-10-25T06:00:29.477Z] Removing intermediate container e548b750836f [2022-10-25T06:00:29.477Z] ---> eeda3e595271 [2022-10-25T06:00:29.477Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T06:00:29.477Z] ---> Running in d2991c85e78b [2022-10-25T06:00:29.735Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T06:00:30.670Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T06:00:30.929Z] OK: 211 MiB in 51 packages [2022-10-25T06:00:31.187Z] Removing intermediate container d2991c85e78b [2022-10-25T06:00:31.187Z] ---> efb3bc9a35d3 [2022-10-25T06:00:31.187Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T06:00:31.447Z] ---> d9fa0b1e587a [2022-10-25T06:00:31.447Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T06:00:31.447Z] ---> Running in 62593bb1e4a7 [2022-10-25T06:01:03.563Z] Removing intermediate container 62593bb1e4a7 [2022-10-25T06:01:03.563Z] ---> dc1b762c704d [2022-10-25T06:01:03.563Z] Step 10/11 : COPY . . [2022-10-25T06:01:03.563Z] ---> ad67682303eb [2022-10-25T06:01:03.563Z] Step 11/11 : RUN ${MAKE} [2022-10-25T06:01:03.563Z] ---> Running in 0271da006eb0 [2022-10-25T06:01:03.563Z] noop [2022-10-25T06:01:03.563Z] Removing intermediate container 0271da006eb0 [2022-10-25T06:01:03.563Z] ---> 8c0a7ad64f6c [2022-10-25T06:01:03.563Z] Successfully built 8c0a7ad64f6c [2022-10-25T06:01:03.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T06:01:04.002Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T06:01:04.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T06:01:04.146Z] prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container [2022-10-25T06:01:04.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 [2022-10-25T06:01:04.617Z] $ docker top 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T06:01:05.009Z] + go version [2022-10-25T06:01:05.009Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T06:01:05.043Z] $ docker stop --time=1 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d [2022-10-25T06:01:06.318Z] $ docker rm -f 9013c9ef08cc3e5fe06fa95554cff0360697fca5f10e23e9022ca4c42cf1ed0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T06:01:06.993Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T06:01:06.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T06:01:07.160Z] prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container [2022-10-25T06:01:07.191Z] $ 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-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 [2022-10-25T06:01:07.522Z] $ docker top 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T06:01:07.907Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1246 [Pipeline] fileExists [Pipeline] sh [2022-10-25T06:01:08.261Z] + make test [2022-10-25T06:01:08.261Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-25T06:01:14.824Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-25T06:01:29.700Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-10-25T06:01:29.700Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-25T06:01:29.700Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 73.1% of statements [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-25T06:01:29.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-25T06:01:30.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-25T06:01:30.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-25T06:01:30.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-25T06:01:30.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-10-25T06:01:30.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-25T06:01:48.333Z] 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." [2022-10-25T06:01:48.333Z] GO111MODULE=on go vet ./... [2022-10-25T06:01:51.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T06:01:51.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T06:01:51.628Z] ./bin/test-attribution-txt.sh [2022-10-25T06:01:51.628Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-25T06:01:51.628Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-25T06:01:51.628Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-25T06:01:51.628Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-25T06:01:51.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T06:01:51.738Z] $ docker stop --time=1 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 [2022-10-25T06:01:55.672Z] $ docker rm -f 35598cd43277b877b630a9897926b4e02ee85b35d1384f31481ca62f0eba7053 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T06:01:56.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T06:01:56.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T06:01:57.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T06:01:57.421Z] + ls -al . [2022-10-25T06:01:57.421Z] total 280 [2022-10-25T06:01:57.421Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 06:01 . [2022-10-25T06:01:57.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 05:59 .. [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 05:59 .dockerignore [2022-10-25T06:01:57.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 06:01 .git [2022-10-25T06:01:57.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 05:59 .github [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 05:59 .gitignore [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 05:59 .golangci.yml [2022-10-25T06:01:57.421Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 06:00 .semver [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 05:59 CHANGELOG.md [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 05:59 GOVERNANCE.md [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 05:59 Jenkinsfile [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 05:59 LICENSE [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 05:59 Makefile [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 05:59 OWNERS.md [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 05:59 README.md [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 06:00 VERSION [2022-10-25T06:01:57.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 05:59 bin [2022-10-25T06:01:57.421Z] -rw-r--r-- 1 jenkins jenkins 101760 Oct 25 06:01 coverage.out [2022-10-25T06:01:57.421Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 05:59 example [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 05:59 go.mod [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 05:59 go.sum [2022-10-25T06:01:57.421Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 05:59 internal [2022-10-25T06:01:57.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 05:59 openapi [2022-10-25T06:01:57.421Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 05:59 pkg [2022-10-25T06:01:57.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 05:59 snap [2022-10-25T06:01:57.421Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T06:01:57.828Z] + 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=5223691eb3bb5b290cb8f149ecd205d6edbf1ada --label arch=amd64 --label version=0.0.0 . [2022-10-25T06:01:57.828Z] Sending build context to Docker daemon 10.16MB [2022-10-25T06:01:57.828Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T06:01:57.828Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T06:01:57.828Z] ---> 8c0a7ad64f6c [2022-10-25T06:01:57.828Z] Step 3/25 : ARG MAKE=make build [2022-10-25T06:01:58.086Z] ---> Running in 623b59a90635 [2022-10-25T06:01:58.344Z] Removing intermediate container 623b59a90635 [2022-10-25T06:01:58.344Z] ---> 21e3f2d8ab05 [2022-10-25T06:01:58.344Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-25T06:01:58.344Z] ---> Running in 3167e781b6a8 [2022-10-25T06:01:58.602Z] Removing intermediate container 3167e781b6a8 [2022-10-25T06:01:58.602Z] ---> d2d7d09b971e [2022-10-25T06:01:58.602Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T06:01:58.602Z] ---> Running in 77ed91873c04 [2022-10-25T06:01:58.602Z] Removing intermediate container 77ed91873c04 [2022-10-25T06:01:58.602Z] ---> ce8857db04fe [2022-10-25T06:01:58.602Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T06:01:58.602Z] ---> Running in 3c9cd05d4028 [2022-10-25T06:01:59.171Z] Removing intermediate container 3c9cd05d4028 [2022-10-25T06:01:59.171Z] ---> 72e81eb584ed [2022-10-25T06:01:59.171Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T06:01:59.171Z] ---> Running in af8eac702a56 [2022-10-25T06:01:59.428Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T06:02:00.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T06:02:00.626Z] OK: 211 MiB in 51 packages [2022-10-25T06:02:00.885Z] Removing intermediate container af8eac702a56 [2022-10-25T06:02:00.885Z] ---> 71b8ce109541 [2022-10-25T06:02:00.885Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-25T06:02:01.143Z] ---> 698abea2d41c [2022-10-25T06:02:01.143Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T06:02:01.143Z] ---> Running in 9f8f7358d0bd [2022-10-25T06:02:01.712Z] Removing intermediate container 9f8f7358d0bd [2022-10-25T06:02:01.712Z] ---> 4eb72ced99f5 [2022-10-25T06:02:01.712Z] Step 10/25 : COPY . . [2022-10-25T06:02:02.278Z] ---> 5a49db67936c [2022-10-25T06:02:02.278Z] Step 11/25 : RUN ${MAKE} [2022-10-25T06:02:02.278Z] ---> Running in 786462a2eda7 [2022-10-25T06:02:02.537Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-25T06:02:20.644Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-25T06:02:26.416Z] Removing intermediate container 786462a2eda7 [2022-10-25T06:02:26.416Z] ---> 0dfbfd822b6e [2022-10-25T06:02:26.416Z] Step 12/25 : FROM alpine:3.16 [2022-10-25T06:02:26.675Z] 3.16: Pulling from library/alpine [2022-10-25T06:02:26.934Z] 213ec9aee27d: Already exists [2022-10-25T06:02:27.192Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T06:02:27.192Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T06:02:27.192Z] ---> 9c6f07244728 [2022-10-25T06:02:27.192Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T06:02:27.192Z] ---> Running in d35392ab3106 [2022-10-25T06:02:27.451Z] Removing intermediate container d35392ab3106 [2022-10-25T06:02:27.451Z] ---> 099537a0d294 [2022-10-25T06:02:27.451Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T06:02:27.451Z] ---> Running in 5ac617aaecdd [2022-10-25T06:02:28.018Z] Removing intermediate container 5ac617aaecdd [2022-10-25T06:02:28.018Z] ---> 65471e8b5d61 [2022-10-25T06:02:28.018Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-25T06:02:28.018Z] ---> Running in 16d9a0925801 [2022-10-25T06:02:28.277Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T06:02:29.212Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T06:02:29.469Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T06:02:29.469Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-25T06:02:29.469Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T06:02:29.727Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-25T06:02:29.727Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-25T06:02:30.005Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T06:02:30.005Z] OK: 8 MiB in 19 packages [2022-10-25T06:02:30.264Z] Removing intermediate container 16d9a0925801 [2022-10-25T06:02:30.264Z] ---> 6a1dd37d4785 [2022-10-25T06:02:30.264Z] Step 16/25 : WORKDIR / [2022-10-25T06:02:30.264Z] ---> Running in bfe6f46ca641 [2022-10-25T06:02:30.523Z] Removing intermediate container bfe6f46ca641 [2022-10-25T06:02:30.523Z] ---> 4034f7a2a37f [2022-10-25T06:02:30.523Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-25T06:02:30.523Z] ---> be26670393a0 [2022-10-25T06:02:30.523Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-25T06:02:31.089Z] ---> 74d059c1f93a [2022-10-25T06:02:31.089Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-25T06:02:31.347Z] ---> 95128e7ac4df [2022-10-25T06:02:31.347Z] Step 20/25 : EXPOSE 59999 [2022-10-25T06:02:31.347Z] ---> Running in 3e680f469b90 [2022-10-25T06:02:31.347Z] Removing intermediate container 3e680f469b90 [2022-10-25T06:02:31.347Z] ---> 735ce5fbecf4 [2022-10-25T06:02:31.347Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-25T06:02:31.347Z] ---> Running in 43cac7937e06 [2022-10-25T06:02:31.606Z] Removing intermediate container 43cac7937e06 [2022-10-25T06:02:31.606Z] ---> c4e1b2617ba5 [2022-10-25T06:02:31.606Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T06:02:31.606Z] ---> Running in 338840a5265a [2022-10-25T06:02:31.606Z] Removing intermediate container 338840a5265a [2022-10-25T06:02:31.606Z] ---> 07a495fe373a [2022-10-25T06:02:31.606Z] Step 23/25 : LABEL arch=amd64 [2022-10-25T06:02:31.606Z] ---> Running in 4a862b46c104 [2022-10-25T06:02:31.606Z] Removing intermediate container 4a862b46c104 [2022-10-25T06:02:31.606Z] ---> 412bc3e88671 [2022-10-25T06:02:31.606Z] Step 24/25 : LABEL git_sha=5223691eb3bb5b290cb8f149ecd205d6edbf1ada [2022-10-25T06:02:31.866Z] ---> Running in 55fbc29ad5c2 [2022-10-25T06:02:31.866Z] Removing intermediate container 55fbc29ad5c2 [2022-10-25T06:02:31.866Z] ---> 0649ed1a3c04 [2022-10-25T06:02:31.866Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T06:02:31.866Z] ---> Running in fbd3d2c468bb [2022-10-25T06:02:31.866Z] Removing intermediate container fbd3d2c468bb [2022-10-25T06:02:31.866Z] ---> 5b478f57777a [2022-10-25T06:02:31.866Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T06:02:31.866Z] Successfully built 5b478f57777a [2022-10-25T06:02:31.866Z] 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 [2022-10-25T06:02:32.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T06:02:32.720Z] [2022-10-25T06:02:32.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T06:02:33.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T06:02:33.149Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T06:02:33.149Z] 5eb5b503b376: Pulling fs layer [2022-10-25T06:02:33.149Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T06:02:33.149Z] ec43610c2a17: Pulling fs layer [2022-10-25T06:02:33.149Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T06:02:33.149Z] 33b1e0a273af: Pulling fs layer [2022-10-25T06:02:33.149Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T06:02:33.149Z] 2f39f015ded8: Pulling fs layer [2022-10-25T06:02:33.149Z] 3a2ae6a8a46f: Waiting [2022-10-25T06:02:33.149Z] 33b1e0a273af: Waiting [2022-10-25T06:02:33.149Z] 5d3b04190fa2: Waiting [2022-10-25T06:02:33.149Z] 2f39f015ded8: Waiting [2022-10-25T06:02:33.149Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T06:02:33.149Z] 5c69ac0246d0: Download complete [2022-10-25T06:02:33.149Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T06:02:33.149Z] 3a2ae6a8a46f: Download complete [2022-10-25T06:02:33.408Z] 33b1e0a273af: Verifying Checksum [2022-10-25T06:02:33.408Z] 33b1e0a273af: Download complete [2022-10-25T06:02:33.408Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T06:02:33.408Z] 5d3b04190fa2: Download complete [2022-10-25T06:02:33.408Z] ec43610c2a17: Verifying Checksum [2022-10-25T06:02:33.408Z] ec43610c2a17: Download complete [2022-10-25T06:02:33.408Z] 5eb5b503b376: Verifying Checksum [2022-10-25T06:02:33.408Z] 5eb5b503b376: Download complete [2022-10-25T06:02:33.978Z] 2f39f015ded8: Download complete [2022-10-25T06:02:34.545Z] 5eb5b503b376: Pull complete [2022-10-25T06:02:34.806Z] 5c69ac0246d0: Pull complete [2022-10-25T06:02:35.072Z] ec43610c2a17: Pull complete [2022-10-25T06:02:35.348Z] 3a2ae6a8a46f: Pull complete [2022-10-25T06:02:35.612Z] 33b1e0a273af: Pull complete [2022-10-25T06:02:35.612Z] 5d3b04190fa2: Pull complete [2022-10-25T06:02:39.807Z] 2f39f015ded8: Pull complete [2022-10-25T06:02:39.807Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T06:02:39.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T06:02:39.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T06:02:40.023Z] prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container [2022-10-25T06:02:40.060Z] $ 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-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 [2022-10-25T06:02:44.479Z] $ docker top 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T06:02:44.933Z] ---> job-cost.sh [2022-10-25T06:02:44.933Z] lf-activate-venv: SKIPPING [2022-10-25T06:02:44.933Z] INFO: No Stack... [2022-10-25T06:02:45.193Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T06:02:45.760Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T06:02:46.114Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/cost.csv [2022-10-25T06:02:46.114Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T06:02:46.156Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [2022-10-25T06:02:46.161Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] did not exist. Created. [2022-10-25T06:02:46.161Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T06:02:46.551Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T06:02:46.597Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T06:02:46.622Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T06:02:46.697Z] $ docker stop --time=1 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 [2022-10-25T06:02:47.844Z] $ docker rm -f 78d6e3f481b7dce1874da55ba29a7c77206ada386cd86553a3c12803957a6245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T08:40:46.814Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116817 in /w/workspace/gexfoundry_device-sdk-go_PR-1246 [Pipeline] { [Pipeline] ws [2022-10-25T08:40:46.856Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T08:40:46.930Z] The recommended git tool is: git [2022-10-25T08:40:52.854Z] using credential edgex-jenkins-ssh [2022-10-25T08:40:52.868Z] Cloning the remote Git repository [2022-10-25T08:40:52.918Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-25T08:40:52.995Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-25T08:40:53.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-25T08:40:53.139Z] > git --version # timeout=10 [2022-10-25T08:40:53.164Z] > git --version # 'git version 2.25.1' [2022-10-25T08:40:53.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:40:53.220Z] Verifying host key using known hosts file [2022-10-25T08:40:53.448Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T08:40:53.463Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T08:40:55.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-25T08:40:55.082Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T08:40:56.641Z] Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [2022-10-25T08:40:56.892Z] Merge succeeded, producing 5223691eb3bb5b290cb8f149ecd205d6edbf1ada [2022-10-25T08:40:56.893Z] Checking out Revision 5223691eb3bb5b290cb8f149ecd205d6edbf1ada (PR-1246) [2022-10-25T08:40:55.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-25T08:40:55.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-25T08:40:55.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:40:56.003Z] Verifying host key using known hosts file [2022-10-25T08:40:56.010Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T08:40:56.022Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1246/head:refs/remotes/origin/PR-1246 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T08:40:56.662Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T08:40:56.678Z] > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 [2022-10-25T08:40:56.792Z] > git remote # timeout=10 [2022-10-25T08:40:56.813Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T08:40:56.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T08:40:56.842Z] Verifying host key using known hosts file [2022-10-25T08:40:56.846Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T08:40:56.854Z] > git merge e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 [2022-10-25T08:40:56.879Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T08:40:56.901Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T08:40:56.917Z] > git checkout -f 5223691eb3bb5b290cb8f149ecd205d6edbf1ada # timeout=10 [2022-10-25T08:40:57.391Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-25T08:40:57.445Z] > git --version # timeout=10 [2022-10-25T08:40:57.458Z] > git --version # 'git version 2.25.1' [2022-10-25T08:40:57.487Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:40:58.622Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T08:40:58.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:40:58.622Z] Dload Upload Total Spent Left Speed [2022-10-25T08:40:58.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-10-25T08:40:59.194Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T08:40:59.531Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-10-25T08:40:59.531Z] /etc/docker/daemon.json [2022-10-25T08:40:59.531Z] { [2022-10-25T08:40:59.531Z] "registry-mirrors": [ [2022-10-25T08:40:59.531Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T08:40:59.531Z] ], [2022-10-25T08:40:59.531Z] "bip": "10.250.0.254/24", [2022-10-25T08:40:59.531Z] "hosts": [ [2022-10-25T08:40:59.531Z] "tcp://0.0.0.0:5555", [2022-10-25T08:40:59.531Z] "unix:///var/run/docker.sock" [2022-10-25T08:40:59.531Z] ], [2022-10-25T08:40:59.531Z] "mtu": 1458, [2022-10-25T08:40:59.531Z] "selinux-enabled": true, [2022-10-25T08:40:59.531Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T08:40:59.531Z] } [Pipeline] sh [2022-10-25T08:40:59.883Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T08:41:00.238Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:41:22.421Z] provisioning config files... [2022-10-25T08:41:22.450Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17592115028757777960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:41:22.841Z] ---> docker-login.sh [2022-10-25T08:41:22.841Z] nexus3.edgexfoundry.org:10001 [2022-10-25T08:41:23.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:41:23.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:41:23.431Z] Configure a credential helper to remove this warning. See [2022-10-25T08:41:23.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:41:23.431Z] [2022-10-25T08:41:23.431Z] Login Succeeded [2022-10-25T08:41:23.431Z] nexus3.edgexfoundry.org:10002 [2022-10-25T08:41:23.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:41:23.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:41:23.973Z] Configure a credential helper to remove this warning. See [2022-10-25T08:41:23.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:41:23.973Z] [2022-10-25T08:41:23.973Z] Login Succeeded [2022-10-25T08:41:23.973Z] nexus3.edgexfoundry.org:10003 [2022-10-25T08:41:24.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:41:24.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:41:24.249Z] Configure a credential helper to remove this warning. See [2022-10-25T08:41:24.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:41:24.249Z] [2022-10-25T08:41:24.249Z] Login Succeeded [2022-10-25T08:41:24.249Z] nexus3.edgexfoundry.org:10004 [2022-10-25T08:41:24.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:41:24.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:41:24.791Z] Configure a credential helper to remove this warning. See [2022-10-25T08:41:24.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:41:24.791Z] [2022-10-25T08:41:24.791Z] Login Succeeded [2022-10-25T08:41:24.791Z] docker.io [2022-10-25T08:41:25.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T08:41:25.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T08:41:25.331Z] Configure a credential helper to remove this warning. See [2022-10-25T08:41:25.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T08:41:25.331Z] [2022-10-25T08:41:25.331Z] Login Succeeded [2022-10-25T08:41:25.331Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T08:41:25.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T08:41:25.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:41:25.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T08:41:25.720Z] ========================================================= [2022-10-25T08:41:25.720Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T08:41:25.720Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:41:26.233Z] + 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 . [2022-10-25T08:41:26.504Z] Sending build context to Docker daemon 5.412MB [2022-10-25T08:41:26.779Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:41:26.779Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-25T08:41:26.779Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T08:41:26.779Z] 9b18e9b68314: Pulling fs layer [2022-10-25T08:41:26.779Z] d32db5db7311: Pulling fs layer [2022-10-25T08:41:26.779Z] d0c4b47475fc: Pulling fs layer [2022-10-25T08:41:26.779Z] 5831b945b038: Pulling fs layer [2022-10-25T08:41:26.779Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T08:41:26.779Z] e10730c5d714: Pulling fs layer [2022-10-25T08:41:26.779Z] 5dd5c2283517: Pulling fs layer [2022-10-25T08:41:26.779Z] d5ac0230b979: Pulling fs layer [2022-10-25T08:41:26.779Z] 5831b945b038: Waiting [2022-10-25T08:41:26.779Z] 86bbec2aaacd: Waiting [2022-10-25T08:41:26.779Z] e10730c5d714: Waiting [2022-10-25T08:41:26.779Z] 5dd5c2283517: Waiting [2022-10-25T08:41:26.779Z] d5ac0230b979: Waiting [2022-10-25T08:41:26.779Z] d0c4b47475fc: Verifying Checksum [2022-10-25T08:41:26.779Z] d0c4b47475fc: Download complete [2022-10-25T08:41:26.779Z] d32db5db7311: Download complete [2022-10-25T08:41:26.779Z] 86bbec2aaacd: Download complete [2022-10-25T08:41:26.779Z] e10730c5d714: Verifying Checksum [2022-10-25T08:41:26.779Z] e10730c5d714: Download complete [2022-10-25T08:41:26.779Z] 9b18e9b68314: Verifying Checksum [2022-10-25T08:41:26.779Z] 9b18e9b68314: Download complete [2022-10-25T08:41:28.229Z] 9b18e9b68314: Pull complete [2022-10-25T08:41:28.499Z] d5ac0230b979: Verifying Checksum [2022-10-25T08:41:28.499Z] d5ac0230b979: Download complete [2022-10-25T08:41:28.771Z] d32db5db7311: Pull complete [2022-10-25T08:41:29.740Z] 5dd5c2283517: Verifying Checksum [2022-10-25T08:41:29.740Z] 5dd5c2283517: Download complete [2022-10-25T08:41:30.011Z] d0c4b47475fc: Pull complete [2022-10-25T08:41:30.596Z] 5831b945b038: Verifying Checksum [2022-10-25T08:41:30.596Z] 5831b945b038: Download complete [2022-10-25T08:41:42.971Z] 5831b945b038: Pull complete [2022-10-25T08:41:42.971Z] 86bbec2aaacd: Pull complete [2022-10-25T08:41:42.971Z] e10730c5d714: Pull complete [2022-10-25T08:41:49.656Z] 5dd5c2283517: Pull complete [2022-10-25T08:41:51.143Z] d5ac0230b979: Pull complete [2022-10-25T08:41:51.143Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T08:41:51.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T08:41:51.144Z] ---> 59b3b1a385d4 [2022-10-25T08:41:51.144Z] Step 3/11 : ARG MAKE=make build [2022-10-25T08:41:52.134Z] ---> Running in a80e5b3985ce [2022-10-25T08:41:52.422Z] Removing intermediate container a80e5b3985ce [2022-10-25T08:41:52.422Z] ---> 5daa330b3bcd [2022-10-25T08:41:52.422Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-25T08:41:52.422Z] ---> Running in 7212e2d7b41b [2022-10-25T08:41:52.690Z] Removing intermediate container 7212e2d7b41b [2022-10-25T08:41:52.690Z] ---> e91d3f3bb2f0 [2022-10-25T08:41:52.690Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T08:41:52.960Z] ---> Running in 660cfa459df7 [2022-10-25T08:41:53.232Z] Removing intermediate container 660cfa459df7 [2022-10-25T08:41:53.232Z] ---> e4d4b5969836 [2022-10-25T08:41:53.232Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:41:53.232Z] ---> Running in 29c5f79b6849 [2022-10-25T08:41:55.190Z] Removing intermediate container 29c5f79b6849 [2022-10-25T08:41:55.190Z] ---> f93fd500d1a0 [2022-10-25T08:41:55.190Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T08:41:55.190Z] ---> Running in 7ce788ac940d [2022-10-25T08:41:56.159Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:41:57.122Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:41:58.087Z] OK: 221 MiB in 51 packages [2022-10-25T08:41:58.688Z] Removing intermediate container 7ce788ac940d [2022-10-25T08:41:58.688Z] ---> 7abbdcc073c0 [2022-10-25T08:41:58.688Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-25T08:41:59.277Z] ---> 25595fe84d74 [2022-10-25T08:41:59.277Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:41:59.277Z] ---> Running in 20164491bf9c [2022-10-25T08:42:55.799Z] Removing intermediate container 20164491bf9c [2022-10-25T08:42:55.799Z] ---> 344c0d6a3f85 [2022-10-25T08:42:55.799Z] Step 10/11 : COPY . . [2022-10-25T08:42:55.799Z] ---> 21eb72841334 [2022-10-25T08:42:55.799Z] Step 11/11 : RUN ${MAKE} [2022-10-25T08:42:55.799Z] ---> Running in 424151b6ef6f [2022-10-25T08:42:56.068Z] noop [2022-10-25T08:42:56.661Z] Removing intermediate container 424151b6ef6f [2022-10-25T08:42:56.661Z] ---> 3d778f945b5b [2022-10-25T08:42:56.661Z] Successfully built 3d778f945b5b [2022-10-25T08:42:56.661Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:42:57.149Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T08:42:57.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:42:57.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container [2022-10-25T08:42:57.502Z] $ 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 [2022-10-25T08:42:58.767Z] $ docker top 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:42:59.672Z] + go version [2022-10-25T08:42:59.672Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T08:42:59.711Z] $ docker stop --time=1 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c [2022-10-25T08:43:01.363Z] $ docker rm -f 88e1f897f354b206d816befd0089201613e6c2645d89362324e6f5cd0900683c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:43:02.230Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T08:43:02.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:43:02.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container [2022-10-25T08:43:02.545Z] $ 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 [2022-10-25T08:43:03.770Z] $ docker top 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:43:04.678Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T08:43:05.382Z] + make test [2022-10-25T08:43:05.382Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-25T08:43:44.284Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-25T08:46:06.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-25T08:46:06.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-25T08:46:06.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-25T08:46:06.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-25T08:46:06.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-25T08:46:07.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.523s coverage: 27.6% of statements [2022-10-25T08:46:07.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.544s coverage: 78.9% of statements [2022-10-25T08:46:07.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-25T08:46:17.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.402s coverage: 73.1% of statements [2022-10-25T08:46:17.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-25T08:46:17.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-25T08:46:19.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.504s coverage: 54.4% of statements [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-25T08:46:19.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.416s coverage: 65.1% of statements [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-25T08:46:19.489Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.647s coverage: 89.2% of statements [2022-10-25T08:46:19.489Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-25T08:46:22.832Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.238s coverage: 4.7% of statements [2022-10-25T08:46:22.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-25T08:46:23.426Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T08:46:23.426Z] GO111MODULE=on go vet ./... [2022-10-25T08:48:00.062Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T08:48:00.062Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T08:48:00.062Z] ./bin/test-attribution-txt.sh [2022-10-25T08:48:00.062Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-25T08:48:00.062Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-25T08:48:00.062Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-25T08:48:00.062Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-25T08:48:00.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T08:48:00.129Z] $ docker stop --time=1 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 [2022-10-25T08:48:01.895Z] $ docker rm -f 2acac88575c65e894a76882a9e6d3f93af771c7c8dd427f35594240a204a4bd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T08:48:03.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T08:48:03.351Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T08:48:03.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T08:48:04.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T08:48:04.714Z] + ls -al . [2022-10-25T08:48:04.714Z] total 276 [2022-10-25T08:48:04.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 08:43 . [2022-10-25T08:48:04.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:40 .. [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 08:40 .dockerignore [2022-10-25T08:48:04.714Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:40 .git [2022-10-25T08:48:04.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:40 .github [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 08:40 .gitignore [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:40 .golangci.yml [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 08:40 CHANGELOG.md [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:40 GOVERNANCE.md [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 08:40 Jenkinsfile [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 08:40 LICENSE [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 08:40 Makefile [2022-10-25T08:48:04.714Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 08:40 OWNERS.md [2022-10-25T08:48:04.715Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 08:40 README.md [2022-10-25T08:48:04.715Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 06:00 VERSION [2022-10-25T08:48:04.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:40 bin [2022-10-25T08:48:04.715Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 08:46 coverage.out [2022-10-25T08:48:04.715Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 08:40 example [2022-10-25T08:48:04.715Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 08:40 go.mod [2022-10-25T08:48:04.715Z] -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 08:40 go.sum [2022-10-25T08:48:04.715Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 08:40 internal [2022-10-25T08:48:04.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:40 openapi [2022-10-25T08:48:04.715Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 08:40 pkg [2022-10-25T08:48:04.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:40 snap [2022-10-25T08:48:04.715Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 08:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:48:05.115Z] + 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=5223691eb3bb5b290cb8f149ecd205d6edbf1ada --label arch=arm64 --label version=0.0.0 . [2022-10-25T08:48:05.380Z] Sending build context to Docker daemon 5.514MB [2022-10-25T08:48:05.380Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T08:48:05.380Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T08:48:05.380Z] ---> 3d778f945b5b [2022-10-25T08:48:05.380Z] Step 3/25 : ARG MAKE=make build [2022-10-25T08:48:05.647Z] ---> Running in 6258c0f22ca9 [2022-10-25T08:48:05.912Z] Removing intermediate container 6258c0f22ca9 [2022-10-25T08:48:05.912Z] ---> ade652ef19b7 [2022-10-25T08:48:05.912Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-25T08:48:05.912Z] ---> Running in 4edb211afd55 [2022-10-25T08:48:06.179Z] Removing intermediate container 4edb211afd55 [2022-10-25T08:48:06.179Z] ---> 0a55e27ca245 [2022-10-25T08:48:06.179Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T08:48:06.179Z] ---> Running in 6b5516807261 [2022-10-25T08:48:06.451Z] Removing intermediate container 6b5516807261 [2022-10-25T08:48:06.451Z] ---> 063d33f46f7a [2022-10-25T08:48:06.451Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:48:06.724Z] ---> Running in a7fe2aa1286b [2022-10-25T08:48:08.151Z] Removing intermediate container a7fe2aa1286b [2022-10-25T08:48:08.151Z] ---> c9dd03727c2f [2022-10-25T08:48:08.151Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-25T08:48:08.151Z] ---> Running in 0cad9b760fef [2022-10-25T08:48:09.109Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:48:10.066Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:48:11.024Z] OK: 221 MiB in 51 packages [2022-10-25T08:48:11.608Z] Removing intermediate container 0cad9b760fef [2022-10-25T08:48:11.608Z] ---> 39ef9323ead2 [2022-10-25T08:48:11.608Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-25T08:48:12.198Z] ---> 7c50899d94b6 [2022-10-25T08:48:12.198Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T08:48:12.198Z] ---> Running in cf5f49f9afe3 [2022-10-25T08:48:14.137Z] Removing intermediate container cf5f49f9afe3 [2022-10-25T08:48:14.137Z] ---> 55239e2b7d55 [2022-10-25T08:48:14.137Z] Step 10/25 : COPY . . [2022-10-25T08:48:15.098Z] ---> 73af391839df [2022-10-25T08:48:15.098Z] Step 11/25 : RUN ${MAKE} [2022-10-25T08:48:15.098Z] ---> Running in 11ad167a7dcf [2022-10-25T08:48:16.064Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-25T08:50:22.750Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-25T08:50:25.332Z] Removing intermediate container 11ad167a7dcf [2022-10-25T08:50:25.332Z] ---> b007331869b2 [2022-10-25T08:50:25.332Z] Step 12/25 : FROM alpine:3.16 [2022-10-25T08:50:26.289Z] 3.16: Pulling from library/alpine [2022-10-25T08:50:26.289Z] 9b18e9b68314: Already exists [2022-10-25T08:50:26.556Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T08:50:26.556Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T08:50:26.556Z] ---> a6215f271958 [2022-10-25T08:50:26.556Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T08:50:26.556Z] ---> Running in fb7f08a4772b [2022-10-25T08:50:26.823Z] Removing intermediate container fb7f08a4772b [2022-10-25T08:50:26.823Z] ---> 9cb1631f2cdc [2022-10-25T08:50:26.823Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T08:50:26.823Z] ---> Running in aab827bb37a6 [2022-10-25T08:50:28.765Z] Removing intermediate container aab827bb37a6 [2022-10-25T08:50:28.765Z] ---> 0de4e23a0043 [2022-10-25T08:50:28.765Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-25T08:50:28.765Z] ---> Running in 57c5a5432054 [2022-10-25T08:50:29.347Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T08:50:30.306Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T08:50:31.265Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T08:50:31.265Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-25T08:50:31.531Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T08:50:31.531Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-25T08:50:31.798Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-25T08:50:31.798Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T08:50:31.798Z] OK: 8 MiB in 19 packages [2022-10-25T08:50:32.763Z] Removing intermediate container 57c5a5432054 [2022-10-25T08:50:32.764Z] ---> 9cf0c0ac889c [2022-10-25T08:50:32.764Z] Step 16/25 : WORKDIR / [2022-10-25T08:50:32.764Z] ---> Running in 4cf0fe27c113 [2022-10-25T08:50:33.030Z] Removing intermediate container 4cf0fe27c113 [2022-10-25T08:50:33.030Z] ---> 6948bdcb7d5d [2022-10-25T08:50:33.030Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-25T08:50:33.613Z] ---> ed7f65b2a6e8 [2022-10-25T08:50:33.613Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-25T08:50:35.022Z] ---> 1bf87d14d054 [2022-10-25T08:50:35.022Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-25T08:50:35.608Z] ---> daab9b177e56 [2022-10-25T08:50:35.608Z] Step 20/25 : EXPOSE 59999 [2022-10-25T08:50:35.608Z] ---> Running in bcb9ac5d7bbb [2022-10-25T08:50:35.876Z] Removing intermediate container bcb9ac5d7bbb [2022-10-25T08:50:35.876Z] ---> 74a126fd625a [2022-10-25T08:50:35.876Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-25T08:50:35.876Z] ---> Running in dce1e27728eb [2022-10-25T08:50:36.144Z] Removing intermediate container dce1e27728eb [2022-10-25T08:50:36.144Z] ---> 84ea7c8c5cc6 [2022-10-25T08:50:36.144Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T08:50:36.429Z] ---> Running in 8cbcb16ce62a [2022-10-25T08:50:36.429Z] Removing intermediate container 8cbcb16ce62a [2022-10-25T08:50:36.429Z] ---> e5121b00eb6e [2022-10-25T08:50:36.429Z] Step 23/25 : LABEL arch=arm64 [2022-10-25T08:50:36.696Z] ---> Running in 6941b5e6e449 [2022-10-25T08:50:36.964Z] Removing intermediate container 6941b5e6e449 [2022-10-25T08:50:36.964Z] ---> 29a249a95f0d [2022-10-25T08:50:36.964Z] Step 24/25 : LABEL git_sha=5223691eb3bb5b290cb8f149ecd205d6edbf1ada [2022-10-25T08:50:36.964Z] ---> Running in 9de765e781fe [2022-10-25T08:50:37.231Z] Removing intermediate container 9de765e781fe [2022-10-25T08:50:37.231Z] ---> f3e853f29a97 [2022-10-25T08:50:37.231Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T08:50:37.231Z] ---> Running in 85a8fc2b4b5e [2022-10-25T08:50:37.497Z] Removing intermediate container 85a8fc2b4b5e [2022-10-25T08:50:37.497Z] ---> da923175ecdc [2022-10-25T08:50:37.497Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T08:50:37.497Z] Successfully built da923175ecdc [2022-10-25T08:50:37.497Z] 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 [2022-10-25T08:50:38.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:50:38.279Z] [2022-10-25T08:50:38.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:50:38.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:50:38.667Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T08:50:38.667Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T08:50:38.667Z] 04944245beec: Pulling fs layer [2022-10-25T08:50:38.667Z] 699f458cf7ca: Pulling fs layer [2022-10-25T08:50:38.667Z] 765212b225bb: Pulling fs layer [2022-10-25T08:50:38.667Z] f23df028b6ca: Pulling fs layer [2022-10-25T08:50:38.667Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T08:50:38.667Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T08:50:38.667Z] f23df028b6ca: Waiting [2022-10-25T08:50:38.667Z] d65c8cfc05b1: Waiting [2022-10-25T08:50:38.667Z] 765212b225bb: Waiting [2022-10-25T08:50:38.667Z] 2437ff75d9bd: Waiting [2022-10-25T08:50:38.933Z] 04944245beec: Verifying Checksum [2022-10-25T08:50:38.933Z] 04944245beec: Download complete [2022-10-25T08:50:38.933Z] 765212b225bb: Verifying Checksum [2022-10-25T08:50:38.933Z] 765212b225bb: Download complete [2022-10-25T08:50:38.933Z] f23df028b6ca: Verifying Checksum [2022-10-25T08:50:38.933Z] f23df028b6ca: Download complete [2022-10-25T08:50:38.933Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T08:50:38.933Z] d65c8cfc05b1: Download complete [2022-10-25T08:50:39.205Z] 699f458cf7ca: Verifying Checksum [2022-10-25T08:50:39.205Z] 699f458cf7ca: Download complete [2022-10-25T08:50:39.469Z] 8998bd30e6a1: Download complete [2022-10-25T08:50:41.413Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T08:50:41.413Z] 2437ff75d9bd: Download complete [2022-10-25T08:50:43.358Z] 8998bd30e6a1: Pull complete [2022-10-25T08:50:43.626Z] 04944245beec: Pull complete [2022-10-25T08:50:45.031Z] 699f458cf7ca: Pull complete [2022-10-25T08:50:45.031Z] 765212b225bb: Pull complete [2022-10-25T08:50:45.990Z] f23df028b6ca: Pull complete [2022-10-25T08:50:45.990Z] d65c8cfc05b1: Pull complete [2022-10-25T08:51:00.993Z] 2437ff75d9bd: Pull complete [2022-10-25T08:51:00.993Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T08:51:00.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T08:51:00.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:51:01.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-116817 does not seem to be running inside a container [2022-10-25T08:51:01.357Z] $ 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 [2022-10-25T08:51:03.909Z] $ docker top c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:04.859Z] ---> job-cost.sh [2022-10-25T08:51:04.859Z] lf-activate-venv: SKIPPING [2022-10-25T08:51:04.859Z] INFO: No Stack... [2022-10-25T08:51:05.446Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T08:51:06.038Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T08:51:06.697Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-25T08:51:06.698Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T08:51:06.794Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [2022-10-25T08:51:06.799Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] did not exist. Created. [2022-10-25T08:51:06.799Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T08:51:07.212Z] /w/workspace/device-sdk-go/1@tmp/durable-cbf192cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T08:51:07.564Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T08:51:07.598Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T08:51:07.652Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T08:51:07.665Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1246-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T08:51:07.734Z] $ docker stop --time=1 c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 [2022-10-25T08:51:09.232Z] $ docker rm -f c454791addce061cf858a9d47c0794036960b20e836d77f570d9c3c8af978772 [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 [2022-10-25T08:51:10.147Z] provisioning config files... [2022-10-25T08:51:10.154Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config13062046519199814386tmp [Pipeline] { [Pipeline] sh [2022-10-25T08:51:10.485Z] + set +x [2022-10-25T08:51:10.485Z] + curl -s https://codecov.io/bash [2022-10-25T08:51:10.485Z] + bash -s -- [2022-10-25T08:51:10.485Z] [2022-10-25T08:51:10.485Z] _____ _ [2022-10-25T08:51:10.485Z] / ____| | | [2022-10-25T08:51:10.485Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T08:51:10.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T08:51:10.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T08:51:10.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T08:51:10.485Z] Bash-1.0.6 [2022-10-25T08:51:10.485Z] [2022-10-25T08:51:10.485Z] [2022-10-25T08:51:10.485Z] ==> git version 2.25.1 found [2022-10-25T08:51:10.485Z] ==> 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 [2022-10-25T08:51:10.485Z] Release-Date: 2020-01-08 [2022-10-25T08:51:10.485Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T08:51:10.485Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T08:51:10.485Z] ==> Jenkins CI detected. [2022-10-25T08:51:10.485Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1246 [2022-10-25T08:51:10.485Z] project root: . [2022-10-25T08:51:10.485Z] --> token set from env [2022-10-25T08:51:10.485Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T08:51:10.485Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T08:51:10.485Z] ==> Python coveragepy not found [2022-10-25T08:51:10.485Z] ==> Searching for coverage reports in: [2022-10-25T08:51:10.485Z] + . [2022-10-25T08:51:10.485Z] -> Found 1 reports [2022-10-25T08:51:10.485Z] ==> Detecting git/mercurial file structure [2022-10-25T08:51:10.485Z] ==> Reading reports [2022-10-25T08:51:10.485Z] + ./coverage.out bytes=101759 [2022-10-25T08:51:10.485Z] ==> Appending adjustments [2022-10-25T08:51:10.485Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T08:51:10.744Z] + Found adjustments [2022-10-25T08:51:10.744Z] ==> Gzipping contents [2022-10-25T08:51:11.002Z] 16K /tmp/codecov.Vk3cMS.gz [2022-10-25T08:51:11.002Z] ==> Uploading reports [2022-10-25T08:51:11.002Z] url: https://codecov.io [2022-10-25T08:51:11.003Z] query: branch=PR-1246&commit=5223691eb3bb5b290cb8f149ecd205d6edbf1ada&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1246%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1246&job=&cmd_args= [2022-10-25T08:51:11.003Z] -> Pinging Codecov [2022-10-25T08:51:11.003Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1246&commit=5223691eb3bb5b290cb8f149ecd205d6edbf1ada&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1246%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1246&job=&cmd_args= [2022-10-25T08:51:11.262Z] -> Uploading to [2022-10-25T08:51:11.262Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/7E55EF52A471D76F132DFD9A03CDDE97/5223691eb3bb5b290cb8f149ecd205d6edbf1ada/2dd48d6d-9899-4089-806e-782650d4021c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T085110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96e01d9a9761a7a3bffd1b3b2a6c98a8412ce7b626f7912ea02e7a1cdb693dca [2022-10-25T08:51:11.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T08:51:11.263Z] Dload Upload Total Spent Left Speed [2022-10-25T08:51:11.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14683 0 0 100 14683 0 59445 --:--:-- --:--:-- --:--:-- 59686 [2022-10-25T08:51:11.523Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5223691eb3bb5b290cb8f149ecd205d6edbf1ada [Pipeline] } [2022-10-25T08:51:11.554Z] 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 [2022-10-25T08:51:13.262Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives ] [2022-10-25T08:51:13.262Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives [2022-10-25T08:51:13.262Z] total 16 [2022-10-25T08:51:13.262Z] drwxr-xr-x 3 root root 4096 Oct 25 06:02 . [2022-10-25T08:51:13.262Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 06:02 .. [2022-10-25T08:51:13.262Z] drwxr-xr-x 2 root root 4096 Oct 25 06:02 cost [2022-10-25T08:51:13.262Z] -rw-r--r-- 1 root root 86 Oct 25 06:02 cost.csv [2022-10-25T08:51:13.262Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives [2022-10-25T08:51:13.262Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives [2022-10-25T08:51:13.262Z] total 16 [2022-10-25T08:51:13.262Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 06:02 . [2022-10-25T08:51:13.262Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 06:02 .. [2022-10-25T08:51:13.262Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 06:02 cost [2022-10-25T08:51:13.262Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:13.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:14.482Z] ---> package-listing.sh [2022-10-25T08:51:14.482Z] ++ facter osfamily [2022-10-25T08:51:14.482Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T08:51:14.742Z] + OS_FAMILY=debian [2022-10-25T08:51:14.742Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1246 [2022-10-25T08:51:14.742Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T08:51:14.742Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T08:51:14.742Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T08:51:14.742Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T08:51:14.742Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1246 ']' [2022-10-25T08:51:14.742Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T08:51:14.742Z] + case "${OS_FAMILY}" in [2022-10-25T08:51:14.742Z] + dpkg -l [2022-10-25T08:51:14.742Z] + grep '^ii' [2022-10-25T08:51:14.742Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T08:51:14.742Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T08:51:14.742Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T08:51:14.742Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1246 ']' [2022-10-25T08:51:14.742Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/ [2022-10-25T08:51:14.742Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1246/archives/ [Pipeline] echo [2022-10-25T08:51:14.776Z] 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-1246/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T08:51:15.065Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T08:51:15.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T08:51:15.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T08:51:15.843Z] prd-ubuntu20.04-docker-8c-8g-95613 does not seem to be running inside a container [2022-10-25T08:51:15.880Z] $ 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-1246/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-1246 -v /w/workspace/gexfoundry_device-sdk-go_PR-1246:/w/workspace/gexfoundry_device-sdk-go_PR-1246:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1246@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 [2022-10-25T08:51:16.237Z] $ docker top 7a051c9522d8c8d57bab2ac25039de50359a03238c93a7da5c0c2ea778a6e3b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T08:51:16.632Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T08:51:16.941Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T08:51:17.254Z] + ls /var/log/sa-host [2022-10-25T08:51:17.254Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T08:51:17.388Z] provisioning config files... [2022-10-25T08:51:17.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1246@tmp/config2576059014434231116tmp [Pipeline] { [Pipeline] echo [2022-10-25T08:51:17.452Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:17.801Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T08:51:17.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:18.259Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T08:51:18.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:18.605Z] ---> sudo-logs.sh [2022-10-25T08:51:18.605Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T08:51:18.684Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:19.002Z] ---> job-cost.sh [2022-10-25T08:51:19.002Z] lf-activate-venv: SKIPPING [2022-10-25T08:51:19.002Z] DEBUG: total: 0.2199999988079071 [2022-10-25T08:51:19.002Z] INFO: Retrieving Stack Cost... [2022-10-25T08:51:19.571Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T08:51:19.832Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T08:51:19.863Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T08:51:20.174Z] ---> logs-deploy.sh [2022-10-25T08:51:20.174Z] lf-activate-venv: SKIPPING [2022-10-25T08:51:20.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1246/1 [2022-10-25T08:51:20.174Z] INFO: archiving workspace using pattern(s): [2022-10-25T08:51:21.113Z] Archives upload complete. [2022-10-25T08:51:21.373Z] INFO: archiving logs to Nexus