Pull request #1249 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a43bf3ceac6661ab89f1aea70c9fab2af54a2b86+5c206d5ec711179ff4ebe49da9da22b1560eb8ca (334a5c39a944acadbf2fe798a6cfe7eff928ce2d) 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-ssh17598521096893470553.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-ssh6202760662345600155.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-1249/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-1249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18286155258851060842.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-1249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16479886724525523765.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-ssh481420057963082552.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-1249/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-1249/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10387111205462196337.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 ‘prd-ubuntu20.04-docker-8c-8g-117053’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117059 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [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-1249 # 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/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 Merge succeeded, producing a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 Checking out Revision a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 (PR-1249) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T04:06:31.024Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git config core.sparsecheckout # timeout=10 > git checkout -f a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # 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 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # timeout=10 [2022-10-26T04:06:31.194Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T04:06:31.302Z] ========================================================= [2022-10-26T04:06:31.302Z] EdgeX Global Pipelines Version Info [2022-10-26T04:06:31.302Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:06:32.027Z] ------------------- [2022-10-26T04:06:32.027Z] stable info: [2022-10-26T04:06:32.027Z] ------------------- [2022-10-26T04:06:32.027Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T04:06:32.027Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T04:06:32.027Z] Message: update stable to v1.0.243 [2022-10-26T04:06:32.596Z] ------------------- [2022-10-26T04:06:32.596Z] experimental info: [2022-10-26T04:06:32.596Z] ------------------- [2022-10-26T04:06:32.596Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T04:06:32.596Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T04:06:32.596Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T04:06:32.874Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-26T04:06:32.907Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-26T04:06:32.945Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T04:06:32.981Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T04:06:33.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T04:06:33.061Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T04:06:33.104Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T04:06:33.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-26T04:06:33.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T04:06:33.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T04:06:33.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T04:06:33.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-26T04:06:33.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T04:06:33.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T04:06:33.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T04:06:33.443Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:06:33.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:06:33.518Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T04:06:33.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T04:06:33.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T04:06:33.645Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T04:06:33.684Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-26T04:06:33.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T04:06:33.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T04:06:33.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T04:06:33.844Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T04:06:33.884Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T04:06:33.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1249 [Pipeline] echo [2022-10-26T04:06:33.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1249 [Pipeline] echo [2022-10-26T04:06:33.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1249 [Pipeline] echo [2022-10-26T04:06:34.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [Pipeline] echo [2022-10-26T04:06:34.076Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a43bf3c [Pipeline] echo [2022-10-26T04:06:34.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:06:34.235Z] provisioning config files... [2022-10-26T04:06:34.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config9259348942278890625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:06:34.587Z] ---> docker-login.sh [2022-10-26T04:06:34.587Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:06:34.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:35.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:35.106Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:35.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:35.106Z] [2022-10-26T04:06:35.106Z] Login Succeeded [2022-10-26T04:06:35.106Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:06:35.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:35.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:35.106Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:35.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:35.106Z] [2022-10-26T04:06:35.106Z] Login Succeeded [2022-10-26T04:06:35.106Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:06:35.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:35.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:35.369Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:35.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:35.369Z] [2022-10-26T04:06:35.369Z] Login Succeeded [2022-10-26T04:06:35.369Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:06:35.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:35.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:35.369Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:35.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:35.369Z] [2022-10-26T04:06:35.369Z] Login Succeeded [2022-10-26T04:06:35.369Z] docker.io [2022-10-26T04:06:35.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:35.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:35.939Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:35.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:35.939Z] [2022-10-26T04:06:35.939Z] Login Succeeded [2022-10-26T04:06:35.939Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:06:35.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T04:06:36.605Z] + git rev-list -1 --merges a43bf3ceac6661ab89f1aea70c9fab2af54a2b86~1..a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [Pipeline] echo [2022-10-26T04:06:36.652Z] -----------> git rev-list -1 --merges a43bf3ceac6661ab89f1aea70c9fab2af54a2b86~1..a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [false] [Pipeline] sh [2022-10-26T04:06:36.961Z] + git log --format=format:%s -1 a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [Pipeline] echo [2022-10-26T04:06:36.993Z] ========================================================= [2022-10-26T04:06:36.993Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T04:06:36.993Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T04:06:37.409Z] + git log --format=format:%s -1 a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [Pipeline] echo [2022-10-26T04:06:37.440Z] [semverPrep] GIT_COMMIT: a43bf3ceac6661ab89f1aea70c9fab2af54a2b86, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-26T04:06:37.471Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T04:06:37.882Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T04:06:37.882Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T04:06:37.882Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T04:06:37.882Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T04:06:37.882Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T04:06:37.882Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T04:06:37.882Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:06:38.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:06:38.404Z] [2022-10-26T04:06:38.404Z] 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-26T04:06:38.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:06:38.809Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T04:06:38.809Z] b85a868b505f: Pulling fs layer [2022-10-26T04:06:38.809Z] e2be974225ed: Pulling fs layer [2022-10-26T04:06:38.809Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T04:06:38.809Z] 988bab9f4d93: Pulling fs layer [2022-10-26T04:06:38.809Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T04:06:38.809Z] eaf3925da568: Pulling fs layer [2022-10-26T04:06:38.809Z] bab4dde63d76: Pulling fs layer [2022-10-26T04:06:38.809Z] bde34c3a00c8: Pulling fs layer [2022-10-26T04:06:38.809Z] b352a97aabf1: Pulling fs layer [2022-10-26T04:06:38.809Z] 4872d77fe225: Pulling fs layer [2022-10-26T04:06:38.809Z] 5851b861e8e6: Pulling fs layer [2022-10-26T04:06:38.809Z] bab4dde63d76: Waiting [2022-10-26T04:06:38.809Z] 5851b861e8e6: Waiting [2022-10-26T04:06:38.809Z] 4872d77fe225: Waiting [2022-10-26T04:06:38.809Z] 988bab9f4d93: Waiting [2022-10-26T04:06:38.809Z] bde34c3a00c8: Waiting [2022-10-26T04:06:38.809Z] b352a97aabf1: Waiting [2022-10-26T04:06:38.809Z] 1469e6f7b9e6: Waiting [2022-10-26T04:06:38.809Z] eaf3925da568: Waiting [2022-10-26T04:06:38.809Z] e2be974225ed: Verifying Checksum [2022-10-26T04:06:38.809Z] e2be974225ed: Download complete [2022-10-26T04:06:38.809Z] 988bab9f4d93: Verifying Checksum [2022-10-26T04:06:38.809Z] 988bab9f4d93: Download complete [2022-10-26T04:06:39.069Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T04:06:39.069Z] 339a4e72a1f5: Download complete [2022-10-26T04:06:39.069Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T04:06:39.069Z] 1469e6f7b9e6: Download complete [2022-10-26T04:06:39.069Z] eaf3925da568: Verifying Checksum [2022-10-26T04:06:39.069Z] eaf3925da568: Download complete [2022-10-26T04:06:39.069Z] bde34c3a00c8: Verifying Checksum [2022-10-26T04:06:39.069Z] bde34c3a00c8: Download complete [2022-10-26T04:06:39.069Z] b352a97aabf1: Verifying Checksum [2022-10-26T04:06:39.069Z] b352a97aabf1: Download complete [2022-10-26T04:06:39.069Z] 4872d77fe225: Verifying Checksum [2022-10-26T04:06:39.069Z] 4872d77fe225: Download complete [2022-10-26T04:06:39.069Z] 5851b861e8e6: Verifying Checksum [2022-10-26T04:06:39.069Z] 5851b861e8e6: Download complete [2022-10-26T04:06:39.069Z] b85a868b505f: Download complete [2022-10-26T04:06:39.328Z] bab4dde63d76: Verifying Checksum [2022-10-26T04:06:39.328Z] bab4dde63d76: Download complete [2022-10-26T04:06:40.266Z] b85a868b505f: Pull complete [2022-10-26T04:06:40.525Z] e2be974225ed: Pull complete [2022-10-26T04:06:41.093Z] 339a4e72a1f5: Pull complete [2022-10-26T04:06:41.093Z] 988bab9f4d93: Pull complete [2022-10-26T04:06:41.352Z] 1469e6f7b9e6: Pull complete [2022-10-26T04:06:41.352Z] eaf3925da568: Pull complete [2022-10-26T04:06:43.255Z] bab4dde63d76: Pull complete [2022-10-26T04:06:43.255Z] bde34c3a00c8: Pull complete [2022-10-26T04:06:43.255Z] b352a97aabf1: Pull complete [2022-10-26T04:06:43.255Z] 4872d77fe225: Pull complete [2022-10-26T04:06:43.515Z] 5851b861e8e6: Pull complete [2022-10-26T04:06:43.515Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T04:06:43.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T04:06:43.515Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:06:43.730Z] prd-ubuntu20.04-docker-8c-8g-117059 does not seem to be running inside a container [2022-10-26T04:06:43.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T04:06:44.993Z] $ docker top 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 -eo pid,comm [2022-10-26T04:06:45.044Z] 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-26T04:06:45.044Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T04:06:45.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T04:06:45.176Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T04:06:45.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T04:06:45.309Z] $ docker exec 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 ssh-agent [2022-10-26T04:06:45.412Z] SSH_AUTH_SOCK=/tmp/ssh-PR1PESJ9mVAM/agent.33 [2022-10-26T04:06:45.412Z] SSH_AGENT_PID=39 [2022-10-26T04:06:45.419Z] Running ssh-add (command line suppressed) [2022-10-26T04:06:45.531Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_4230606766782551159.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_4230606766782551159.key) [2022-10-26T04:06:45.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T04:06:45.874Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T04:06:45.905Z] $ docker exec --env ******** --env ******** 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 ssh-agent -k [2022-10-26T04:06:45.994Z] unset SSH_AUTH_SOCK; [2022-10-26T04:06:45.994Z] unset SSH_AGENT_PID; [2022-10-26T04:06:45.994Z] echo Agent pid 39 killed; [2022-10-26T04:06:46.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T04:06:46.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T04:06:46.088Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T04:06:46.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T04:06:46.204Z] $ docker exec 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 ssh-agent [2022-10-26T04:06:46.315Z] SSH_AUTH_SOCK=/tmp/ssh-3cc4ZucWfSG5/agent.71 [2022-10-26T04:06:46.315Z] SSH_AGENT_PID=77 [2022-10-26T04:06:46.320Z] Running ssh-add (command line suppressed) [2022-10-26T04:06:46.431Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_15397962953773612857.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_15397962953773612857.key) [2022-10-26T04:06:46.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T04:06:46.779Z] + git semver init [2022-10-26T04:06:47.039Z] 2022-10-26 04:06:46,986 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T04:06:47.039Z] 2022-10-26 04:06:46,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver [2022-10-26T04:06:47.039Z] 2022-10-26 04:06:46,987 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver [2022-10-26T04:06:47.039Z] 2022-10-26 04:06:46,987 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249, universal_newlines=False, shell=None, istream=None) [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,962 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.git/info/exclude [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 with force:False [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,962 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,966 [execute] INFO git cat-file --batch-check [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,973 [execute] INFO git cat-file --batch [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T04:06:47.977Z] 2022-10-26 04:06:47,980 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 [2022-10-26T04:06:47.977Z] 0.0.0 [Pipeline] } [2022-10-26T04:06:48.259Z] $ docker exec --env ******** --env ******** 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 ssh-agent -k [2022-10-26T04:06:48.383Z] unset SSH_AUTH_SOCK; [2022-10-26T04:06:48.383Z] unset SSH_AGENT_PID; [2022-10-26T04:06:48.384Z] echo Agent pid 77 killed; [2022-10-26T04:06:48.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T04:06:48.828Z] + git semver [Pipeline] } [2022-10-26T04:06:49.118Z] $ docker stop --time=1 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 [2022-10-26T04:06:50.808Z] $ docker rm -f 637f0ad8b7ac72cfc7adf570e20b96274bd469f9fe76559920ee287b7ae594b6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:06:51.308Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T04:06:51.562Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T04:06:51.579Z] [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-26T04:06:52.229Z] provisioning config files... [2022-10-26T04:06:52.238Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config7419081129272946469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:06:52.591Z] ---> docker-login.sh [2022-10-26T04:06:52.591Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:06:52.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:52.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:52.591Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:52.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:52.591Z] [2022-10-26T04:06:52.591Z] Login Succeeded [2022-10-26T04:06:52.591Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:06:52.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:52.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:52.591Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:52.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:52.591Z] [2022-10-26T04:06:52.591Z] Login Succeeded [2022-10-26T04:06:52.591Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:06:52.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:52.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:52.850Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:52.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:52.850Z] [2022-10-26T04:06:52.850Z] Login Succeeded [2022-10-26T04:06:52.850Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:06:52.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:52.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:52.850Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:52.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:52.850Z] [2022-10-26T04:06:52.850Z] Login Succeeded [2022-10-26T04:06:52.850Z] docker.io [2022-10-26T04:06:53.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:06:53.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:06:53.371Z] Configure a credential helper to remove this warning. See [2022-10-26T04:06:53.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:06:53.371Z] [2022-10-26T04:06:53.371Z] Login Succeeded [2022-10-26T04:06:53.371Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:06:53.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T04:06:53.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:06:53.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:06:53.646Z] ========================================================= [2022-10-26T04:06:53.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T04:06:53.646Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:06:54.125Z] + 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-26T04:06:54.125Z] Sending build context to Docker daemon 10.08MB [2022-10-26T04:06:54.125Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:06:54.125Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T04:06:54.125Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T04:06:54.125Z] 213ec9aee27d: Pulling fs layer [2022-10-26T04:06:54.125Z] 4583459ba037: Pulling fs layer [2022-10-26T04:06:54.125Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T04:06:54.125Z] 53926ce57604: Pulling fs layer [2022-10-26T04:06:54.125Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T04:06:54.125Z] 30f14e443154: Pulling fs layer [2022-10-26T04:06:54.125Z] 801331c1e519: Pulling fs layer [2022-10-26T04:06:54.125Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T04:06:54.125Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T04:06:54.125Z] 99cc6dd402b0: Waiting [2022-10-26T04:06:54.125Z] 30f14e443154: Waiting [2022-10-26T04:06:54.125Z] 801331c1e519: Waiting [2022-10-26T04:06:54.125Z] 53926ce57604: Waiting [2022-10-26T04:06:54.125Z] 21b2b0c7a3f4: Waiting [2022-10-26T04:06:54.125Z] 93c1e223e6f2: Download complete [2022-10-26T04:06:54.125Z] 4583459ba037: Verifying Checksum [2022-10-26T04:06:54.125Z] 4583459ba037: Download complete [2022-10-26T04:06:54.389Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T04:06:54.389Z] 21b2b0c7a3f4: Download complete [2022-10-26T04:06:54.389Z] 30f14e443154: Verifying Checksum [2022-10-26T04:06:54.389Z] 30f14e443154: Download complete [2022-10-26T04:06:54.389Z] 213ec9aee27d: Verifying Checksum [2022-10-26T04:06:54.389Z] 213ec9aee27d: Download complete [2022-10-26T04:06:54.389Z] 801331c1e519: Download complete [2022-10-26T04:06:54.389Z] 213ec9aee27d: Pull complete [2022-10-26T04:06:54.657Z] 4583459ba037: Pull complete [2022-10-26T04:06:54.657Z] 93c1e223e6f2: Pull complete [2022-10-26T04:06:54.917Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T04:06:54.917Z] 7d9ed39f4882: Download complete [2022-10-26T04:06:54.917Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T04:06:54.917Z] 99cc6dd402b0: Download complete [2022-10-26T04:06:55.175Z] 53926ce57604: Verifying Checksum [2022-10-26T04:06:55.175Z] 53926ce57604: Download complete [2022-10-26T04:06:58.459Z] 53926ce57604: Pull complete [2022-10-26T04:06:58.719Z] 21b2b0c7a3f4: Pull complete [2022-10-26T04:06:58.719Z] 30f14e443154: Pull complete [2022-10-26T04:06:58.719Z] 801331c1e519: Pull complete [2022-10-26T04:07:01.254Z] 99cc6dd402b0: Pull complete [2022-10-26T04:07:01.826Z] 7d9ed39f4882: Pull complete [2022-10-26T04:07:01.826Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T04:07:01.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T04:07:01.826Z] ---> 1dedd983c030 [2022-10-26T04:07:01.826Z] Step 3/10 : ARG MAKE=make build [2022-10-26T04:07:06.029Z] ---> Running in b812a058ac90 [2022-10-26T04:07:06.029Z] Removing intermediate container b812a058ac90 [2022-10-26T04:07:06.029Z] ---> 843b1b60bfed [2022-10-26T04:07:06.029Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T04:07:06.029Z] ---> Running in bc816fdf6835 [2022-10-26T04:07:06.029Z] Removing intermediate container bc816fdf6835 [2022-10-26T04:07:06.029Z] ---> 1dce451830a2 [2022-10-26T04:07:06.029Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:07:06.029Z] ---> Running in 763ce53d8e64 [2022-10-26T04:07:06.029Z] Removing intermediate container 763ce53d8e64 [2022-10-26T04:07:06.029Z] ---> 51f96ed1b886 [2022-10-26T04:07:06.029Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:07:06.029Z] ---> Running in d160b797b2e5 [2022-10-26T04:07:06.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:07:06.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:07:06.548Z] OK: 211 MiB in 51 packages [2022-10-26T04:07:06.805Z] Removing intermediate container d160b797b2e5 [2022-10-26T04:07:06.805Z] ---> ca3a1ed063c8 [2022-10-26T04:07:06.805Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T04:07:06.805Z] ---> d0f131bcc3dc [2022-10-26T04:07:06.805Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:07:06.805Z] ---> Running in e382d735ce13 [2022-10-26T04:07:07.054Z] Still waiting to schedule task [2022-10-26T04:07:07.054Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117054’ is offline [2022-10-26T04:07:28.835Z] Removing intermediate container e382d735ce13 [2022-10-26T04:07:28.835Z] ---> 8270e1d19f2e [2022-10-26T04:07:28.835Z] Step 9/10 : COPY . . [2022-10-26T04:07:28.835Z] ---> fe59776882b8 [2022-10-26T04:07:28.835Z] Step 10/10 : RUN ${MAKE} [2022-10-26T04:07:28.835Z] ---> Running in 704d9917938d [2022-10-26T04:07:28.835Z] noop [2022-10-26T04:07:28.835Z] Removing intermediate container 704d9917938d [2022-10-26T04:07:28.835Z] ---> 3814d926c597 [2022-10-26T04:07:28.835Z] Successfully built 3814d926c597 [2022-10-26T04:07:28.835Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:07:29.264Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T04:07:29.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:07:29.393Z] prd-ubuntu20.04-docker-8c-8g-117059 does not seem to be running inside a container [2022-10-26T04:07:29.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T04:07:29.752Z] $ docker top db92e2c7435cb0de2fcf8262336f0c3d3cbfe4bb9fec7f7822a2c7d13cd6bd73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:07:30.144Z] + go version [2022-10-26T04:07:30.144Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T04:07:30.177Z] $ docker stop --time=1 db92e2c7435cb0de2fcf8262336f0c3d3cbfe4bb9fec7f7822a2c7d13cd6bd73 [2022-10-26T04:07:31.429Z] $ docker rm -f db92e2c7435cb0de2fcf8262336f0c3d3cbfe4bb9fec7f7822a2c7d13cd6bd73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:07:32.232Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T04:07:32.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:07:32.372Z] prd-ubuntu20.04-docker-8c-8g-117059 does not seem to be running inside a container [2022-10-26T04:07:32.405Z] $ 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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T04:07:32.841Z] $ docker top 8e782221b0109bb6dfd8afd13f950e95b8ab3fbcf517985956eff0fd052ddf6e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:07:33.224Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] fileExists [Pipeline] sh [2022-10-26T04:07:33.648Z] + make test [2022-10-26T04:07:33.649Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T04:07:40.206Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.101s coverage: 73.1% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.822s coverage: 89.2% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T04:07:55.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.7% of statements [2022-10-26T04:07:55.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T04:08:13.378Z] 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-26T04:08:13.378Z] GO111MODULE=on go vet ./... [2022-10-26T04:08:14.316Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T04:08:14.316Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T04:08:14.316Z] ./bin/test-attribution-txt.sh [2022-10-26T04:08:14.316Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T04:08:14.316Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T04:08:14.316Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T04:08:14.316Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T04:08:14.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T04:08:14.385Z] $ docker stop --time=1 8e782221b0109bb6dfd8afd13f950e95b8ab3fbcf517985956eff0fd052ddf6e [2022-10-26T04:08:16.786Z] $ docker rm -f 8e782221b0109bb6dfd8afd13f950e95b8ab3fbcf517985956eff0fd052ddf6e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:08:17.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T04:08:17.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T04:08:18.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T04:08:18.428Z] + ls -al . [2022-10-26T04:08:18.428Z] total 280 [2022-10-26T04:08:18.428Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 04:07 . [2022-10-26T04:08:18.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:06 .. [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:06 .dockerignore [2022-10-26T04:08:18.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:07 .git [2022-10-26T04:08:18.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:06 .github [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:06 .gitignore [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:06 .golangci.yml [2022-10-26T04:08:18.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:06 .semver [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:06 CHANGELOG.md [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:06 GOVERNANCE.md [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:06 Jenkinsfile [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:06 LICENSE [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:06 Makefile [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:06 OWNERS.md [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:06 README.md [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:06 VERSION [2022-10-26T04:08:18.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:06 bin [2022-10-26T04:08:18.428Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:07 coverage.out [2022-10-26T04:08:18.428Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:06 example [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:06 go.mod [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:06 go.sum [2022-10-26T04:08:18.428Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:06 internal [2022-10-26T04:08:18.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:06 openapi [2022-10-26T04:08:18.428Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:06 pkg [2022-10-26T04:08:18.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:06 snap [2022-10-26T04:08:18.428Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:08:18.815Z] + 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=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 --label arch=amd64 --label version=0.0.0 . [2022-10-26T04:08:18.815Z] Sending build context to Docker daemon 10.19MB [2022-10-26T04:08:18.815Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:08:18.815Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T04:08:18.815Z] ---> 3814d926c597 [2022-10-26T04:08:18.815Z] Step 3/23 : ARG MAKE=make build [2022-10-26T04:08:18.815Z] ---> Running in 29539342b4f3 [2022-10-26T04:08:19.075Z] Removing intermediate container 29539342b4f3 [2022-10-26T04:08:19.075Z] ---> e30ea9287279 [2022-10-26T04:08:19.075Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T04:08:19.075Z] ---> Running in 55680a4418c4 [2022-10-26T04:08:19.075Z] Removing intermediate container 55680a4418c4 [2022-10-26T04:08:19.075Z] ---> 7da323ce4ba5 [2022-10-26T04:08:19.075Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:08:19.075Z] ---> Running in ec4545100ff4 [2022-10-26T04:08:19.333Z] Removing intermediate container ec4545100ff4 [2022-10-26T04:08:19.333Z] ---> 1a1c5bb55c36 [2022-10-26T04:08:19.333Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:08:19.333Z] ---> Running in 07d5cffde394 [2022-10-26T04:08:19.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:19.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:19.851Z] OK: 211 MiB in 51 packages [2022-10-26T04:08:20.109Z] Removing intermediate container 07d5cffde394 [2022-10-26T04:08:20.109Z] ---> c7aa32be9663 [2022-10-26T04:08:20.109Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T04:08:20.109Z] ---> 9081d4982fb3 [2022-10-26T04:08:20.109Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:08:20.368Z] ---> Running in 3a3d30ba1802 [2022-10-26T04:08:20.935Z] Removing intermediate container 3a3d30ba1802 [2022-10-26T04:08:20.935Z] ---> dbd5177b45ad [2022-10-26T04:08:20.935Z] Step 9/23 : COPY . . [2022-10-26T04:08:21.502Z] ---> a80cca595a99 [2022-10-26T04:08:21.502Z] Step 10/23 : RUN ${MAKE} [2022-10-26T04:08:21.502Z] ---> Running in 41e26cb804dd [2022-10-26T04:08:21.761Z] 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-26T04:08:36.683Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117062 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] { [Pipeline] ws [2022-10-26T04:08:36.728Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-26T04:08:36.800Z] The recommended git tool is: git [2022-10-26T04:08:39.838Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T04:08:42.506Z] using credential edgex-jenkins-ssh [2022-10-26T04:08:42.521Z] Cloning the remote Git repository [2022-10-26T04:08:42.571Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:08:42.654Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-26T04:08:42.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:08:42.788Z] > git --version # timeout=10 [2022-10-26T04:08:42.813Z] > git --version # 'git version 2.25.1' [2022-10-26T04:08:42.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:08:42.860Z] Verifying host key using known hosts file [2022-10-26T04:08:43.036Z] 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-26T04:08:44.029Z] Removing intermediate container 41e26cb804dd [2022-10-26T04:08:44.029Z] ---> 8c8de3917a32 [2022-10-26T04:08:44.029Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T04:08:44.288Z] 3.16: Pulling from library/alpine [2022-10-26T04:08:44.288Z] 213ec9aee27d: Already exists [2022-10-26T04:08:43.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T04:08:44.547Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T04:08:44.547Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T04:08:44.547Z] ---> 9c6f07244728 [2022-10-26T04:08:44.547Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:08:44.547Z] ---> Running in 268e75f7c532 [2022-10-26T04:08:44.547Z] Removing intermediate container 268e75f7c532 [2022-10-26T04:08:44.547Z] ---> 67becb4761f7 [2022-10-26T04:08:44.547Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T04:08:44.547Z] ---> Running in a683fbcc803f [2022-10-26T04:08:45.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:45.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T04:08:45.384Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T04:08:45.384Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T04:08:45.384Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T04:08:45.384Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T04:08:45.384Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T04:08:45.384Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T04:08:45.384Z] OK: 8 MiB in 19 packages [2022-10-26T04:08:45.644Z] Removing intermediate container a683fbcc803f [2022-10-26T04:08:45.644Z] ---> 4ff06260c9e7 [2022-10-26T04:08:45.644Z] Step 14/23 : WORKDIR / [2022-10-26T04:08:45.644Z] ---> Running in 8f43e2589709 [2022-10-26T04:08:44.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T04:08:44.678Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T04:08:45.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T04:08:45.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T04:08:45.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:08:45.577Z] Verifying host key using known hosts file [2022-10-26T04:08:45.584Z] 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-26T04:08:45.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T04:08:45.901Z] Removing intermediate container 8f43e2589709 [2022-10-26T04:08:45.902Z] ---> de2ef6ad930d [2022-10-26T04:08:45.902Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T04:08:45.902Z] ---> 5addcd492b6d [2022-10-26T04:08:45.902Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T04:08:46.181Z] Merging remotes/origin/main commit 5c206d5ec711179ff4ebe49da9da22b1560eb8ca into PR head commit a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [2022-10-26T04:08:46.422Z] Merge succeeded, producing a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [2022-10-26T04:08:46.423Z] Checking out Revision a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 (PR-1249) [2022-10-26T04:08:46.840Z] ---> cd50b3214520 [2022-10-26T04:08:46.840Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T04:08:46.840Z] ---> 3eef79611710 [2022-10-26T04:08:46.840Z] Step 18/23 : EXPOSE 59999 [2022-10-26T04:08:46.840Z] ---> Running in e6b6dc4ab6b6 [2022-10-26T04:08:46.840Z] Removing intermediate container e6b6dc4ab6b6 [2022-10-26T04:08:46.840Z] ---> 1a1891ddc0aa [2022-10-26T04:08:46.840Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T04:08:46.840Z] ---> Running in 4d302bd55933 [2022-10-26T04:08:46.840Z] Removing intermediate container 4d302bd55933 [2022-10-26T04:08:46.840Z] ---> 7f36b3641ab8 [2022-10-26T04:08:46.840Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T04:08:46.840Z] ---> Running in ca406c8e696e [2022-10-26T04:08:46.962Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-10-26T04:08:47.015Z] > git --version # timeout=10 [2022-10-26T04:08:47.027Z] > git --version # 'git version 2.25.1' [2022-10-26T04:08:47.050Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T04:08:46.206Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T04:08:46.224Z] > git checkout -f a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # timeout=10 [2022-10-26T04:08:46.328Z] > git remote # timeout=10 [2022-10-26T04:08:46.343Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T04:08:46.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T04:08:46.365Z] Verifying host key using known hosts file [2022-10-26T04:08:46.368Z] 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-26T04:08:46.378Z] > git merge 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 [2022-10-26T04:08:46.405Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T04:08:46.429Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T04:08:46.443Z] > git checkout -f a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # timeout=10 [2022-10-26T04:08:47.099Z] Removing intermediate container ca406c8e696e [2022-10-26T04:08:47.099Z] ---> e6da0d786e9a [2022-10-26T04:08:47.099Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T04:08:47.099Z] ---> Running in 2285fccbbcd5 [2022-10-26T04:08:47.099Z] Removing intermediate container 2285fccbbcd5 [2022-10-26T04:08:47.099Z] ---> 7a83d3d6278b [2022-10-26T04:08:47.099Z] Step 22/23 : LABEL git_sha=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [2022-10-26T04:08:47.099Z] ---> Running in de56b5a995d3 [Pipeline] withEnv [Pipeline] { [2022-10-26T04:08:47.358Z] Removing intermediate container de56b5a995d3 [2022-10-26T04:08:47.358Z] ---> c0847f35526e [2022-10-26T04:08:47.358Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T04:08:47.358Z] ---> Running in fd6cb43ca197 [2022-10-26T04:08:47.358Z] Removing intermediate container fd6cb43ca197 [2022-10-26T04:08:47.358Z] ---> 174a4379395d [2022-10-26T04:08:47.358Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T04:08:47.358Z] Successfully built 174a4379395d [2022-10-26T04:08:47.358Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:08:48.297Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T04:08:48.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T04:08:48.297Z] Dload Upload Total Spent Left Speed [2022-10-26T04:08:48.297Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 91985 [2022-10-26T04:08:48.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:08:48.431Z] [2022-10-26T04:08:48.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2022-10-26T04:08:48.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:08:48.811Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T04:08:48.811Z] 5eb5b503b376: Pulling fs layer [2022-10-26T04:08:48.811Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T04:08:48.811Z] ec43610c2a17: Pulling fs layer [2022-10-26T04:08:48.811Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T04:08:48.811Z] 33b1e0a273af: Pulling fs layer [2022-10-26T04:08:48.811Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T04:08:48.811Z] 2f39f015ded8: Pulling fs layer [2022-10-26T04:08:48.811Z] 5d3b04190fa2: Waiting [2022-10-26T04:08:48.811Z] 2f39f015ded8: Waiting [2022-10-26T04:08:48.811Z] 3a2ae6a8a46f: Waiting [2022-10-26T04:08:48.811Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T04:08:48.811Z] 5c69ac0246d0: Download complete [2022-10-26T04:08:48.811Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T04:08:48.811Z] 3a2ae6a8a46f: Download complete [2022-10-26T04:08:48.811Z] 33b1e0a273af: Verifying Checksum [2022-10-26T04:08:48.811Z] 33b1e0a273af: Download complete [2022-10-26T04:08:48.811Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T04:08:48.811Z] 5d3b04190fa2: Download complete [2022-10-26T04:08:48.915Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T04:08:49.071Z] ec43610c2a17: Verifying Checksum [2022-10-26T04:08:49.071Z] ec43610c2a17: Download complete [2022-10-26T04:08:49.071Z] 5eb5b503b376: Verifying Checksum [2022-10-26T04:08:49.071Z] 5eb5b503b376: Download complete [2022-10-26T04:08:49.259Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T04:08:49.259Z] + sudo tee /etc/docker/daemon.new [2022-10-26T04:08:49.259Z] { [2022-10-26T04:08:49.259Z] "registry-mirrors": [ [2022-10-26T04:08:49.259Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T04:08:49.259Z] ], [2022-10-26T04:08:49.259Z] "bip": "10.250.0.254/24", [2022-10-26T04:08:49.259Z] "hosts": [ [2022-10-26T04:08:49.259Z] "tcp://0.0.0.0:5555", [2022-10-26T04:08:49.259Z] "unix:///var/run/docker.sock" [2022-10-26T04:08:49.259Z] ], [2022-10-26T04:08:49.259Z] "mtu": 1458, [2022-10-26T04:08:49.259Z] "selinux-enabled": true, [2022-10-26T04:08:49.259Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T04:08:49.259Z] } [Pipeline] sh [2022-10-26T04:08:49.603Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-10-26T04:08:49.637Z] 2f39f015ded8: Download complete [Pipeline] sh [2022-10-26T04:08:49.954Z] + sudo service docker restart [2022-10-26T04:08:50.206Z] 5eb5b503b376: Pull complete [2022-10-26T04:08:50.465Z] 5c69ac0246d0: Pull complete [2022-10-26T04:08:51.032Z] ec43610c2a17: Pull complete [2022-10-26T04:08:51.032Z] 3a2ae6a8a46f: Pull complete [2022-10-26T04:08:51.032Z] 33b1e0a273af: Pull complete [2022-10-26T04:08:51.290Z] 5d3b04190fa2: Pull complete [2022-10-26T04:08:55.474Z] 2f39f015ded8: Pull complete [2022-10-26T04:08:55.474Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T04:08:55.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:08:55.474Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:08:55.708Z] prd-ubuntu20.04-docker-8c-8g-117059 does not seem to be running inside a container [2022-10-26T04:08:55.739Z] $ 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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T04:08:58.234Z] $ docker top 97fbc488db9b23119c6feaa965a7fa8551deb45bc2650b295454859b411c37c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:08:58.689Z] ---> job-cost.sh [2022-10-26T04:08:58.689Z] lf-activate-venv: SKIPPING [2022-10-26T04:08:58.689Z] INFO: No Stack... [2022-10-26T04:08:59.258Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T04:08:59.518Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T04:08:59.834Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/cost.csv [2022-10-26T04:08:59.834Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T04:08:59.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [2022-10-26T04:08:59.878Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] did not exist. Created. [2022-10-26T04:08:59.878Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T04:09:00.255Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T04:09:00.308Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T04:09:00.333Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T04:09:00.418Z] $ docker stop --time=1 97fbc488db9b23119c6feaa965a7fa8551deb45bc2650b295454859b411c37c3 [2022-10-26T04:09:01.596Z] $ docker rm -f 97fbc488db9b23119c6feaa965a7fa8551deb45bc2650b295454859b411c37c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:09:08.280Z] provisioning config files... [2022-10-26T04:09:08.302Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1931059683038688240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:09:08.683Z] ---> docker-login.sh [2022-10-26T04:09:08.683Z] nexus3.edgexfoundry.org:10001 [2022-10-26T04:09:08.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:09:09.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:09:09.220Z] Configure a credential helper to remove this warning. See [2022-10-26T04:09:09.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:09:09.220Z] [2022-10-26T04:09:09.220Z] Login Succeeded [2022-10-26T04:09:09.220Z] nexus3.edgexfoundry.org:10002 [2022-10-26T04:09:09.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:09:09.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:09:09.762Z] Configure a credential helper to remove this warning. See [2022-10-26T04:09:09.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:09:09.762Z] [2022-10-26T04:09:09.762Z] Login Succeeded [2022-10-26T04:09:09.762Z] nexus3.edgexfoundry.org:10003 [2022-10-26T04:09:09.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:09:10.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:09:10.031Z] Configure a credential helper to remove this warning. See [2022-10-26T04:09:10.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:09:10.031Z] [2022-10-26T04:09:10.031Z] Login Succeeded [2022-10-26T04:09:10.031Z] nexus3.edgexfoundry.org:10004 [2022-10-26T04:09:10.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:09:10.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:09:10.299Z] Configure a credential helper to remove this warning. See [2022-10-26T04:09:10.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:09:10.299Z] [2022-10-26T04:09:10.299Z] Login Succeeded [2022-10-26T04:09:10.299Z] docker.io [2022-10-26T04:09:10.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T04:09:10.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T04:09:10.834Z] Configure a credential helper to remove this warning. See [2022-10-26T04:09:10.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T04:09:10.834Z] [2022-10-26T04:09:10.834Z] Login Succeeded [2022-10-26T04:09:10.834Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T04:09:10.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T04:09:11.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:09:11.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T04:09:11.192Z] ========================================================= [2022-10-26T04:09:11.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T04:09:11.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:09:11.678Z] + 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-26T04:09:11.948Z] Sending build context to Docker daemon 5.421MB [2022-10-26T04:09:11.948Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:09:11.948Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T04:09:12.233Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T04:09:12.233Z] 9b18e9b68314: Pulling fs layer [2022-10-26T04:09:12.233Z] d32db5db7311: Pulling fs layer [2022-10-26T04:09:12.233Z] d0c4b47475fc: Pulling fs layer [2022-10-26T04:09:12.233Z] 5831b945b038: Pulling fs layer [2022-10-26T04:09:12.233Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T04:09:12.233Z] e10730c5d714: Pulling fs layer [2022-10-26T04:09:12.233Z] 5dd5c2283517: Pulling fs layer [2022-10-26T04:09:12.233Z] d5ac0230b979: Pulling fs layer [2022-10-26T04:09:12.233Z] 86bbec2aaacd: Waiting [2022-10-26T04:09:12.234Z] e10730c5d714: Waiting [2022-10-26T04:09:12.234Z] 5dd5c2283517: Waiting [2022-10-26T04:09:12.234Z] d5ac0230b979: Waiting [2022-10-26T04:09:12.234Z] 5831b945b038: Waiting [2022-10-26T04:09:12.234Z] d0c4b47475fc: Verifying Checksum [2022-10-26T04:09:12.234Z] d0c4b47475fc: Download complete [2022-10-26T04:09:12.234Z] d32db5db7311: Verifying Checksum [2022-10-26T04:09:12.234Z] d32db5db7311: Download complete [2022-10-26T04:09:12.234Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T04:09:12.234Z] 86bbec2aaacd: Download complete [2022-10-26T04:09:12.234Z] e10730c5d714: Download complete [2022-10-26T04:09:12.507Z] 9b18e9b68314: Download complete [2022-10-26T04:09:13.105Z] 9b18e9b68314: Pull complete [2022-10-26T04:09:13.377Z] d5ac0230b979: Verifying Checksum [2022-10-26T04:09:13.377Z] d5ac0230b979: Download complete [2022-10-26T04:09:14.495Z] d32db5db7311: Pull complete [2022-10-26T04:09:14.495Z] 5dd5c2283517: Verifying Checksum [2022-10-26T04:09:14.495Z] 5dd5c2283517: Download complete [2022-10-26T04:09:14.762Z] d0c4b47475fc: Pull complete [2022-10-26T04:09:15.344Z] 5831b945b038: Verifying Checksum [2022-10-26T04:09:15.344Z] 5831b945b038: Download complete [2022-10-26T04:09:27.652Z] 5831b945b038: Pull complete [2022-10-26T04:09:27.652Z] 86bbec2aaacd: Pull complete [2022-10-26T04:09:27.652Z] e10730c5d714: Pull complete [2022-10-26T04:09:31.912Z] 5dd5c2283517: Pull complete [2022-10-26T04:09:33.858Z] d5ac0230b979: Pull complete [2022-10-26T04:09:33.858Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T04:09:33.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T04:09:33.858Z] ---> 59b3b1a385d4 [2022-10-26T04:09:33.858Z] Step 3/10 : ARG MAKE=make build [2022-10-26T04:09:35.803Z] ---> Running in d5dc8a0752cd [2022-10-26T04:09:36.070Z] Removing intermediate container d5dc8a0752cd [2022-10-26T04:09:36.070Z] ---> 523a4a2d2dfd [2022-10-26T04:09:36.070Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T04:09:36.070Z] ---> Running in 04e99d52a4a6 [2022-10-26T04:09:36.337Z] Removing intermediate container 04e99d52a4a6 [2022-10-26T04:09:36.337Z] ---> 4a5846d38a10 [2022-10-26T04:09:36.337Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:09:36.337Z] ---> Running in b9d90aa9df1d [2022-10-26T04:09:36.605Z] Removing intermediate container b9d90aa9df1d [2022-10-26T04:09:36.605Z] ---> a11f403883e3 [2022-10-26T04:09:36.605Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:09:36.872Z] ---> Running in 1faa120f54fc [2022-10-26T04:09:37.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:09:38.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:09:39.061Z] OK: 221 MiB in 51 packages [2022-10-26T04:09:40.018Z] Removing intermediate container 1faa120f54fc [2022-10-26T04:09:40.018Z] ---> a0c3900f62b2 [2022-10-26T04:09:40.018Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T04:09:40.602Z] ---> 637dbaf8d6a5 [2022-10-26T04:09:40.602Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:09:40.602Z] ---> Running in d66f5ff26375 [2022-10-26T04:10:37.030Z] Removing intermediate container d66f5ff26375 [2022-10-26T04:10:37.030Z] ---> f7b1936ee44d [2022-10-26T04:10:37.030Z] Step 9/10 : COPY . . [2022-10-26T04:10:37.030Z] ---> 6b9cf96e98d8 [2022-10-26T04:10:37.030Z] Step 10/10 : RUN ${MAKE} [2022-10-26T04:10:37.030Z] ---> Running in 0c1ea3adc5aa [2022-10-26T04:10:37.030Z] noop [2022-10-26T04:10:37.301Z] Removing intermediate container 0c1ea3adc5aa [2022-10-26T04:10:37.301Z] ---> 436c2f6b7d2a [2022-10-26T04:10:37.301Z] Successfully built 436c2f6b7d2a [2022-10-26T04:10:37.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:10:37.779Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T04:10:37.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:10:38.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-117062 does not seem to be running inside a container [2022-10-26T04:10:38.103Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-26T04:10:39.570Z] $ docker top e2e77e5d931990221363b9781db002b01eb1bd0f630c0384dbab850681a9b716 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:10:40.466Z] + go version [2022-10-26T04:10:40.466Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T04:10:40.503Z] $ docker stop --time=1 e2e77e5d931990221363b9781db002b01eb1bd0f630c0384dbab850681a9b716 [2022-10-26T04:10:42.187Z] $ docker rm -f e2e77e5d931990221363b9781db002b01eb1bd0f630c0384dbab850681a9b716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:10:43.041Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T04:10:43.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:10:43.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-117062 does not seem to be running inside a container [2022-10-26T04:10:43.372Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-26T04:10:44.558Z] $ docker top 218886e549719139f2a38e296120661dd3be3f189bd84a461c9cc3521c215070 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:10:45.414Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-26T04:10:45.821Z] + make test [2022-10-26T04:10:46.105Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T04:11:24.979Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T04:13:31.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T04:13:31.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T04:13:31.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T04:13:31.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T04:13:31.673Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T04:13:41.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.620s coverage: 27.6% of statements [2022-10-26T04:13:41.780Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.415s coverage: 78.9% of statements [2022-10-26T04:13:41.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T04:13:51.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.717s coverage: 73.1% of statements [2022-10-26T04:13:51.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T04:13:51.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T04:13:56.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.159s coverage: 54.4% of statements [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T04:13:56.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.800s coverage: 65.1% of statements [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T04:13:56.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.347s coverage: 89.2% of statements [2022-10-26T04:13:56.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T04:14:00.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.304s coverage: 4.7% of statements [2022-10-26T04:14:00.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T04:14:01.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T04:14:01.418Z] GO111MODULE=on go vet ./... [2022-10-26T04:15:53.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T04:15:53.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T04:15:53.158Z] ./bin/test-attribution-txt.sh [2022-10-26T04:15:53.158Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T04:15:53.158Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T04:15:53.158Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T04:15:53.158Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T04:15:53.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T04:15:53.234Z] $ docker stop --time=1 218886e549719139f2a38e296120661dd3be3f189bd84a461c9cc3521c215070 [2022-10-26T04:15:55.262Z] $ docker rm -f 218886e549719139f2a38e296120661dd3be3f189bd84a461c9cc3521c215070 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T04:15:56.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T04:15:57.009Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T04:15:57.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T04:15:58.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T04:15:58.732Z] + ls -al . [2022-10-26T04:15:58.732Z] total 276 [2022-10-26T04:15:58.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:10 . [2022-10-26T04:15:58.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:08 .. [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:08 .dockerignore [2022-10-26T04:15:58.732Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:08 .git [2022-10-26T04:15:58.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:08 .github [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:08 .gitignore [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:08 .golangci.yml [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 04:08 CHANGELOG.md [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:08 GOVERNANCE.md [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:08 Jenkinsfile [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:08 LICENSE [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 04:08 Makefile [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:08 OWNERS.md [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 04:08 README.md [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:06 VERSION [2022-10-26T04:15:58.732Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:08 bin [2022-10-26T04:15:58.732Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 04:14 coverage.out [2022-10-26T04:15:58.732Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:08 example [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 04:08 go.mod [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 04:08 go.sum [2022-10-26T04:15:58.732Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 04:08 internal [2022-10-26T04:15:58.732Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:08 openapi [2022-10-26T04:15:58.732Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:08 pkg [2022-10-26T04:15:58.732Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:08 snap [2022-10-26T04:15:58.732Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:15:59.210Z] + 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=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 --label arch=arm64 --label version=0.0.0 . [2022-10-26T04:15:59.825Z] Sending build context to Docker daemon 5.523MB [2022-10-26T04:15:59.825Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T04:15:59.825Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T04:15:59.825Z] ---> 436c2f6b7d2a [2022-10-26T04:15:59.825Z] Step 3/23 : ARG MAKE=make build [2022-10-26T04:15:59.825Z] ---> Running in 4711a1b578a3 [2022-10-26T04:16:00.107Z] Removing intermediate container 4711a1b578a3 [2022-10-26T04:16:00.107Z] ---> 4b96c0ec5804 [2022-10-26T04:16:00.107Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T04:16:00.382Z] ---> Running in 7e8bb737fa26 [2022-10-26T04:16:00.657Z] Removing intermediate container 7e8bb737fa26 [2022-10-26T04:16:00.657Z] ---> f279afa181ce [2022-10-26T04:16:00.657Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:16:00.932Z] ---> Running in e85f193c714b [2022-10-26T04:16:01.206Z] Removing intermediate container e85f193c714b [2022-10-26T04:16:01.206Z] ---> 08034eb81a77 [2022-10-26T04:16:01.206Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T04:16:01.206Z] ---> Running in 56586a343cdb [2022-10-26T04:16:02.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:16:02.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:16:03.610Z] OK: 221 MiB in 51 packages [2022-10-26T04:16:04.604Z] Removing intermediate container 56586a343cdb [2022-10-26T04:16:04.604Z] ---> c09082a205a7 [2022-10-26T04:16:04.604Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T04:16:06.045Z] ---> 1aa145d5f3c4 [2022-10-26T04:16:06.045Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T04:16:06.045Z] ---> Running in b3d485e6fc6b [2022-10-26T04:16:08.661Z] Removing intermediate container b3d485e6fc6b [2022-10-26T04:16:08.661Z] ---> 8292de4e6e1e [2022-10-26T04:16:08.661Z] Step 9/23 : COPY . . [2022-10-26T04:16:09.630Z] ---> 08de6e62d15f [2022-10-26T04:16:09.630Z] Step 10/23 : RUN ${MAKE} [2022-10-26T04:16:09.630Z] ---> Running in c4f3a28fa75f [2022-10-26T04:16:10.607Z] 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-26T04:18:47.372Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T04:18:50.724Z] Removing intermediate container c4f3a28fa75f [2022-10-26T04:18:50.724Z] ---> 086664d89c07 [2022-10-26T04:18:50.724Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T04:18:51.310Z] 3.16: Pulling from library/alpine [2022-10-26T04:18:51.579Z] 9b18e9b68314: Already exists [2022-10-26T04:18:51.847Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T04:18:51.847Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T04:18:51.847Z] ---> a6215f271958 [2022-10-26T04:18:51.847Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T04:18:53.232Z] ---> Running in 7cd51b51dd82 [2022-10-26T04:18:53.503Z] Removing intermediate container 7cd51b51dd82 [2022-10-26T04:18:53.504Z] ---> eae461c037b8 [2022-10-26T04:18:53.504Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T04:18:53.504Z] ---> Running in 48c232e0ff80 [2022-10-26T04:18:54.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T04:18:54.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T04:18:56.337Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T04:18:56.337Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T04:18:56.337Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T04:18:56.337Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T04:18:56.337Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T04:18:56.337Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T04:18:56.337Z] OK: 8 MiB in 19 packages [2022-10-26T04:18:57.305Z] Removing intermediate container 48c232e0ff80 [2022-10-26T04:18:57.305Z] ---> 81c8b335b415 [2022-10-26T04:18:57.305Z] Step 14/23 : WORKDIR / [2022-10-26T04:18:57.305Z] ---> Running in 3353c9c8dd85 [2022-10-26T04:18:57.575Z] Removing intermediate container 3353c9c8dd85 [2022-10-26T04:18:57.575Z] ---> 2ef396fdcbaf [2022-10-26T04:18:57.575Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T04:18:58.161Z] ---> 06de25ba1189 [2022-10-26T04:18:58.161Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T04:19:00.119Z] ---> 3b95187523d3 [2022-10-26T04:19:00.119Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T04:19:00.391Z] ---> 4a31123c7b00 [2022-10-26T04:19:00.391Z] Step 18/23 : EXPOSE 59999 [2022-10-26T04:19:00.391Z] ---> Running in 6a1899e7eb5f [2022-10-26T04:19:00.660Z] Removing intermediate container 6a1899e7eb5f [2022-10-26T04:19:00.660Z] ---> 50d85cc58043 [2022-10-26T04:19:00.660Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T04:19:00.930Z] ---> Running in 39497c4cb5f4 [2022-10-26T04:19:01.198Z] Removing intermediate container 39497c4cb5f4 [2022-10-26T04:19:01.198Z] ---> 0680732536c6 [2022-10-26T04:19:01.198Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T04:19:01.198Z] ---> Running in 1503daedd8c5 [2022-10-26T04:19:01.466Z] Removing intermediate container 1503daedd8c5 [2022-10-26T04:19:01.466Z] ---> c9ca8ee8b89f [2022-10-26T04:19:01.466Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T04:19:01.741Z] ---> Running in 4e8d6f3415a6 [2022-10-26T04:19:02.011Z] Removing intermediate container 4e8d6f3415a6 [2022-10-26T04:19:02.011Z] ---> add41978d0e7 [2022-10-26T04:19:02.011Z] Step 22/23 : LABEL git_sha=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [2022-10-26T04:19:02.011Z] ---> Running in b4dc61922d32 [2022-10-26T04:19:02.297Z] Removing intermediate container b4dc61922d32 [2022-10-26T04:19:02.297Z] ---> 2e6c853fad9b [2022-10-26T04:19:02.297Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T04:19:02.565Z] ---> Running in 0fc473bbbf08 [2022-10-26T04:19:02.834Z] Removing intermediate container 0fc473bbbf08 [2022-10-26T04:19:02.834Z] ---> 74d59561c95a [2022-10-26T04:19:02.834Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T04:19:02.834Z] Successfully built 74d59561c95a [2022-10-26T04:19:02.834Z] 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-26T04:19:03.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:19:03.635Z] [2022-10-26T04:19:03.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:19:04.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:19:04.313Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T04:19:04.314Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T04:19:04.314Z] 04944245beec: Pulling fs layer [2022-10-26T04:19:04.314Z] 699f458cf7ca: Pulling fs layer [2022-10-26T04:19:04.314Z] 765212b225bb: Pulling fs layer [2022-10-26T04:19:04.314Z] f23df028b6ca: Pulling fs layer [2022-10-26T04:19:04.314Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T04:19:04.314Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T04:19:04.314Z] d65c8cfc05b1: Waiting [2022-10-26T04:19:04.314Z] f23df028b6ca: Waiting [2022-10-26T04:19:04.314Z] 2437ff75d9bd: Waiting [2022-10-26T04:19:04.314Z] 765212b225bb: Waiting [2022-10-26T04:19:04.314Z] 04944245beec: Verifying Checksum [2022-10-26T04:19:04.314Z] 04944245beec: Download complete [2022-10-26T04:19:04.314Z] 765212b225bb: Verifying Checksum [2022-10-26T04:19:04.314Z] 765212b225bb: Download complete [2022-10-26T04:19:04.314Z] f23df028b6ca: Verifying Checksum [2022-10-26T04:19:04.314Z] f23df028b6ca: Download complete [2022-10-26T04:19:04.585Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T04:19:04.585Z] d65c8cfc05b1: Download complete [2022-10-26T04:19:04.585Z] 699f458cf7ca: Verifying Checksum [2022-10-26T04:19:04.585Z] 699f458cf7ca: Download complete [2022-10-26T04:19:04.855Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T04:19:04.855Z] 8998bd30e6a1: Download complete [2022-10-26T04:19:07.464Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T04:19:07.464Z] 2437ff75d9bd: Download complete [2022-10-26T04:19:08.874Z] 8998bd30e6a1: Pull complete [2022-10-26T04:19:09.460Z] 04944245beec: Pull complete [2022-10-26T04:19:10.878Z] 699f458cf7ca: Pull complete [2022-10-26T04:19:11.146Z] 765212b225bb: Pull complete [2022-10-26T04:19:11.732Z] f23df028b6ca: Pull complete [2022-10-26T04:19:11.999Z] d65c8cfc05b1: Pull complete [2022-10-26T04:19:27.019Z] 2437ff75d9bd: Pull complete [2022-10-26T04:19:27.019Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T04:19:27.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T04:19:27.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:19:27.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-117062 does not seem to be running inside a container [2022-10-26T04:19:27.424Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T04:19:30.415Z] $ docker top d8532bd50d009a819738608aed5821cccfe309ad3f322ac524268130c7354c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:31.360Z] ---> job-cost.sh [2022-10-26T04:19:31.360Z] lf-activate-venv: SKIPPING [2022-10-26T04:19:31.360Z] INFO: No Stack... [2022-10-26T04:19:31.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T04:19:32.903Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T04:19:33.567Z] + cut -d, -f6 [2022-10-26T04:19:33.567Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-10-26T04:19:33.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [2022-10-26T04:19:33.627Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] did not exist. Created. [2022-10-26T04:19:33.627Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T04:19:34.032Z] /w/workspace/device-sdk-go/1@tmp/durable-0f448829/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T04:19:34.967Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T04:19:35.005Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T04:19:35.068Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T04:19:35.086Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T04:19:35.153Z] $ docker stop --time=1 d8532bd50d009a819738608aed5821cccfe309ad3f322ac524268130c7354c1a [2022-10-26T04:19:36.639Z] $ docker rm -f d8532bd50d009a819738608aed5821cccfe309ad3f322ac524268130c7354c1a [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-26T04:19:37.612Z] provisioning config files... [2022-10-26T04:19:37.620Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config15632612327955951489tmp [Pipeline] { [Pipeline] sh [2022-10-26T04:19:37.956Z] + set +x [2022-10-26T04:19:37.956Z] + curl -s https://codecov.io/bash [2022-10-26T04:19:37.956Z] + bash -s -- [2022-10-26T04:19:37.956Z] [2022-10-26T04:19:37.956Z] _____ _ [2022-10-26T04:19:37.956Z] / ____| | | [2022-10-26T04:19:37.956Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T04:19:37.956Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T04:19:37.956Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T04:19:37.956Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T04:19:37.956Z] Bash-1.0.6 [2022-10-26T04:19:37.956Z] [2022-10-26T04:19:37.956Z] [2022-10-26T04:19:37.956Z] ==> git version 2.25.1 found [2022-10-26T04:19:37.956Z] ==> 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-26T04:19:37.956Z] Release-Date: 2020-01-08 [2022-10-26T04:19:37.956Z] 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-26T04:19:37.956Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T04:19:37.956Z] ==> Jenkins CI detected. [2022-10-26T04:19:37.956Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1249 [2022-10-26T04:19:37.956Z] project root: . [2022-10-26T04:19:37.956Z] --> token set from env [2022-10-26T04:19:37.956Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T04:19:37.956Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T04:19:37.956Z] ==> Python coveragepy not found [2022-10-26T04:19:37.956Z] ==> Searching for coverage reports in: [2022-10-26T04:19:37.956Z] + . [2022-10-26T04:19:37.956Z] -> Found 1 reports [2022-10-26T04:19:37.956Z] ==> Detecting git/mercurial file structure [2022-10-26T04:19:37.956Z] ==> Reading reports [2022-10-26T04:19:37.956Z] + ./coverage.out bytes=101759 [2022-10-26T04:19:37.956Z] ==> Appending adjustments [2022-10-26T04:19:37.956Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T04:19:38.216Z] + Found adjustments [2022-10-26T04:19:38.476Z] ==> Gzipping contents [2022-10-26T04:19:38.476Z] 16K /tmp/codecov.Cb5eN2.gz [2022-10-26T04:19:38.476Z] ==> Uploading reports [2022-10-26T04:19:38.476Z] url: https://codecov.io [2022-10-26T04:19:38.476Z] query: branch=PR-1249&commit=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= [2022-10-26T04:19:38.476Z] -> Pinging Codecov [2022-10-26T04:19:38.476Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1249&commit=a43bf3ceac6661ab89f1aea70c9fab2af54a2b86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= [2022-10-26T04:19:38.737Z] -> Uploading to [2022-10-26T04:19:38.737Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/a43bf3ceac6661ab89f1aea70c9fab2af54a2b86/23d9b882-6cbb-420b-8149-4a8580dc883f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T041938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14f2b51dd5836682247f956de72ad7b93698de2620df5656fdfd58541cf03459 [2022-10-26T04:19:38.737Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T04:19:38.737Z] Dload Upload Total Spent Left Speed [2022-10-26T04:19:38.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14701 0 0 100 14701 0 57877 --:--:-- --:--:-- --:--:-- 57877 [2022-10-26T04:19:38.995Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 [Pipeline] } [2022-10-26T04:19:39.019Z] 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-26T04:19:40.805Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives ] [2022-10-26T04:19:40.805Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T04:19:40.805Z] total 16 [2022-10-26T04:19:40.805Z] drwxr-xr-x 3 root root 4096 Oct 26 04:08 . [2022-10-26T04:19:40.805Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. [2022-10-26T04:19:40.805Z] drwxr-xr-x 2 root root 4096 Oct 26 04:08 cost [2022-10-26T04:19:40.805Z] -rw-r--r-- 1 root root 86 Oct 26 04:08 cost.csv [2022-10-26T04:19:40.805Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T04:19:40.805Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T04:19:40.805Z] total 16 [2022-10-26T04:19:40.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:08 . [2022-10-26T04:19:40.805Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:09 .. [2022-10-26T04:19:40.805Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 04:08 cost [2022-10-26T04:19:40.805Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:41.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:42.023Z] ---> package-listing.sh [2022-10-26T04:19:42.023Z] ++ facter osfamily [2022-10-26T04:19:42.023Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T04:19:42.284Z] + OS_FAMILY=debian [2022-10-26T04:19:42.284Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1249 [2022-10-26T04:19:42.284Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T04:19:42.284Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T04:19:42.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T04:19:42.284Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T04:19:42.284Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' [2022-10-26T04:19:42.284Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T04:19:42.284Z] + case "${OS_FAMILY}" in [2022-10-26T04:19:42.284Z] + dpkg -l [2022-10-26T04:19:42.284Z] + grep '^ii' [2022-10-26T04:19:42.284Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T04:19:42.284Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T04:19:42.284Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T04:19:42.284Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' [2022-10-26T04:19:42.284Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ [2022-10-26T04:19:42.284Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ [Pipeline] echo [2022-10-26T04:19:42.314Z] 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-1249/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T04:19:42.607Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T04:19:43.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T04:19:43.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T04:19:43.375Z] prd-ubuntu20.04-docker-8c-8g-117059 does not seem to be running inside a container [2022-10-26T04:19:43.403Z] $ 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-1249/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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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-26T04:19:43.591Z] $ docker top 0f4d57b8fd3e6b65096b2c7243cc08d7c03040f48166699294b02db7c3cead11 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T04:19:43.986Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T04:19:44.293Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T04:19:44.598Z] + ls /var/log/sa-host [2022-10-26T04:19:44.598Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T04:19:44.819Z] provisioning config files... [2022-10-26T04:19:44.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config172015723239937730tmp [Pipeline] { [Pipeline] echo [2022-10-26T04:19:44.877Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:45.186Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T04:19:45.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:45.623Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T04:19:45.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:45.964Z] ---> sudo-logs.sh [2022-10-26T04:19:45.964Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T04:19:46.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:46.354Z] ---> job-cost.sh [2022-10-26T04:19:46.354Z] lf-activate-venv: SKIPPING [2022-10-26T04:19:46.354Z] DEBUG: total: 0.2199999988079071 [2022-10-26T04:19:46.354Z] INFO: Retrieving Stack Cost... [2022-10-26T04:19:46.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T04:19:47.179Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T04:19:47.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T04:19:47.525Z] ---> logs-deploy.sh [2022-10-26T04:19:47.525Z] lf-activate-venv: SKIPPING [2022-10-26T04:19:47.526Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1249/1 [2022-10-26T04:19:47.526Z] INFO: archiving workspace using pattern(s): [2022-10-26T04:19:48.462Z] Archives upload complete. [2022-10-26T04:19:48.462Z] INFO: archiving logs to Nexus