Pull request #1247 event Pull request #1247 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc7b62386720b2783d5f0a96e14e42e769aa7d06+7fe7de0be30ee91d764ec87773cd7be423c2e190 (4a4f6e63a574b8cdd7d312b6395bbadd16e27996) 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-ssh2145847400181403516.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-ssh15019300529788146746.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1605350976800603641.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 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-ssh9486459365150143425.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4473279984236814918.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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-116884’ is offline ‘prd-ubuntu20.04-docker-8c-8g-116885’ is offline Running on prd-ubuntu20.04-docker-8c-8g-116886 in /w/workspace/gexfoundry_device-sdk-go_PR-1247 [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-1247 # 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/1247/head:refs/remotes/origin/PR-1247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7fe7de0be30ee91d764ec87773cd7be423c2e190 into PR head commit fc7b62386720b2783d5f0a96e14e42e769aa7d06 Merge succeeded, producing fc7b62386720b2783d5f0a96e14e42e769aa7d06 Checking out Revision fc7b62386720b2783d5f0a96e14e42e769aa7d06 (PR-1247) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:37:47 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 fc7b62386720b2783d5f0a96e14e42e769aa7d06 # 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 7fe7de0be30ee91d764ec87773cd7be423c2e190 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc7b62386720b2783d5f0a96e14e42e769aa7d06 # timeout=10 > git rev-list --no-walk bbe756859ecc8b3519e48aeb8f41cd658003b139 # timeout=10 15:37:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:37:47 ========================================================= 15:37:47 EdgeX Global Pipelines Version Info 15:37:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:37:48 ------------------- 15:37:48 stable info: 15:37:48 ------------------- 15:37:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:48 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:37:48 Message: update stable to v1.0.243 15:37:49 ------------------- 15:37:49 experimental info: 15:37:49 ------------------- 15:37:49 Commited By: **** collab-it+edgex@linuxfoundation.org 15:37:49 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:37:49 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1247 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1247 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1247 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc7b62386720b2783d5f0a96e14e42e769aa7d06 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc7b623 [Pipeline] echo 15:37:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:49 provisioning config files... 15:37:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config150996906597697143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:49 ---> docker-login.sh 15:37:49 nexus3.edgexfoundry.org:10001 15:37:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:50 Configure a credential helper to remove this warning. See 15:37:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:50 15:37:50 Login Succeeded 15:37:50 nexus3.edgexfoundry.org:10002 15:37:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:50 Configure a credential helper to remove this warning. See 15:37:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:50 15:37:50 Login Succeeded 15:37:50 nexus3.edgexfoundry.org:10003 15:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:51 Configure a credential helper to remove this warning. See 15:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:51 15:37:51 Login Succeeded 15:37:51 nexus3.edgexfoundry.org:10004 15:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:51 Configure a credential helper to remove this warning. See 15:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:51 15:37:51 Login Succeeded 15:37:51 docker.io 15:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:51 Configure a credential helper to remove this warning. See 15:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:51 15:37:51 Login Succeeded 15:37:51 ---> docker-login.sh ends [Pipeline] } 15:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:37:52 + git rev-list -1 --merges fc7b62386720b2783d5f0a96e14e42e769aa7d06~1..fc7b62386720b2783d5f0a96e14e42e769aa7d06 [Pipeline] echo 15:37:52 -----------> git rev-list -1 --merges fc7b62386720b2783d5f0a96e14e42e769aa7d06~1..fc7b62386720b2783d5f0a96e14e42e769aa7d06 fc7b62386720b2783d5f0a96e14e42e769aa7d06 [false] [Pipeline] sh 15:37:52 + git log --format=format:%s -1 fc7b62386720b2783d5f0a96e14e42e769aa7d06 [Pipeline] echo 15:37:52 ========================================================= 15:37:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:37:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:52 + git log --format=format:%s -1 fc7b62386720b2783d5f0a96e14e42e769aa7d06 [Pipeline] echo 15:37:52 [semverPrep] GIT_COMMIT: fc7b62386720b2783d5f0a96e14e42e769aa7d06, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 15:37:52 [semverPrep] This is not a build commit. [Pipeline] sh 15:37:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:37:53 + grep -v github /etc/ssh/ssh_known_hosts 15:37:53 + [ -e /tmp/ssh_known_hosts ] 15:37:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:37:53 + + sudo tee -a /etc/ssh/ssh_known_hosts 15:37:53 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:37:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:37:53 15:37:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:37:54 0.1.4: Pulling from edgex-devops/py-git-semver 15:37:54 b85a868b505f: Pulling fs layer 15:37:54 e2be974225ed: Pulling fs layer 15:37:54 339a4e72a1f5: Pulling fs layer 15:37:54 988bab9f4d93: Pulling fs layer 15:37:54 1469e6f7b9e6: Pulling fs layer 15:37:54 eaf3925da568: Pulling fs layer 15:37:54 bab4dde63d76: Pulling fs layer 15:37:54 bde34c3a00c8: Pulling fs layer 15:37:54 b352a97aabf1: Pulling fs layer 15:37:54 4872d77fe225: Pulling fs layer 15:37:54 5851b861e8e6: Pulling fs layer 15:37:54 988bab9f4d93: Waiting 15:37:54 1469e6f7b9e6: Waiting 15:37:54 bde34c3a00c8: Waiting 15:37:54 bab4dde63d76: Waiting 15:37:54 b352a97aabf1: Waiting 15:37:54 eaf3925da568: Waiting 15:37:54 5851b861e8e6: Waiting 15:37:54 4872d77fe225: Waiting 15:37:54 e2be974225ed: Download complete 15:37:54 988bab9f4d93: Verifying Checksum 15:37:54 988bab9f4d93: Download complete 15:37:54 1469e6f7b9e6: Verifying Checksum 15:37:54 1469e6f7b9e6: Download complete 15:37:54 eaf3925da568: Verifying Checksum 15:37:54 eaf3925da568: Download complete 15:37:54 339a4e72a1f5: Verifying Checksum 15:37:54 339a4e72a1f5: Download complete 15:37:54 b352a97aabf1: Verifying Checksum 15:37:54 b352a97aabf1: Download complete 15:37:54 4872d77fe225: Verifying Checksum 15:37:54 4872d77fe225: Download complete 15:37:54 5851b861e8e6: Verifying Checksum 15:37:54 5851b861e8e6: Download complete 15:37:54 b85a868b505f: Verifying Checksum 15:37:54 b85a868b505f: Download complete 15:37:54 bab4dde63d76: Verifying Checksum 15:37:54 bab4dde63d76: Download complete 15:37:55 b85a868b505f: Pull complete 15:37:55 e2be974225ed: Pull complete 15:37:56 339a4e72a1f5: Pull complete 15:37:56 988bab9f4d93: Pull complete 15:37:56 1469e6f7b9e6: Pull complete 15:37:56 eaf3925da568: Pull complete 15:37:58 bab4dde63d76: Pull complete 15:37:58 bde34c3a00c8: Pull complete 15:37:59 b352a97aabf1: Pull complete 15:37:59 4872d77fe225: Pull complete 15:37:59 5851b861e8e6: Pull complete 15:37:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:37:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:37:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:59 prd-ubuntu20.04-docker-8c-8g-116886 does not seem to be running inside a container 15:37:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:38:06 $ docker top 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 -eo pid,comm 15:38:06 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). 15:38:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:06 [ssh-agent] Looking for ssh-agent implementation... 15:38:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:06 $ docker exec 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 ssh-agent 15:38:07 SSH_AUTH_SOCK=/tmp/ssh-XQg7rHB0PzS6/agent.14 15:38:07 SSH_AGENT_PID=20 15:38:07 Running ssh-add (command line suppressed) 15:38:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_3826617989509523377.key (/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_3826617989509523377.key) 15:38:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:07 + git tag --points-at HEAD [Pipeline] } 15:38:07 $ docker exec --env ******** --env ******** 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 ssh-agent -k 15:38:07 unset SSH_AUTH_SOCK; 15:38:07 unset SSH_AGENT_PID; 15:38:07 echo Agent pid 20 killed; 15:38:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:07 [ssh-agent] Looking for ssh-agent implementation... 15:38:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:07 $ docker exec 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 ssh-agent 15:38:07 SSH_AUTH_SOCK=/tmp/ssh-PTlWN2PVhiPV/agent.71 15:38:07 SSH_AGENT_PID=77 15:38:07 Running ssh-add (command line suppressed) 15:38:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_16023987550045111008.key (/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_16023987550045111008.key) 15:38:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:08 + git semver init 15:38:08 2022-10-25 15:38:08,386 [run_init] DEBUG init version:0.0.0 force:False 15:38:08 2022-10-25 15:38:08,387 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver 15:38:08 2022-10-25 15:38:08,387 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver 15:38:08 2022-10-25 15:38:08,387 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247, universal_newlines=False, shell=None, istream=None) 15:38:09 2022-10-25 15:38:09,480 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.git/info/exclude 15:38:09 2022-10-25 15:38:09,481 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 with force:False 15:38:09 2022-10-25 15:38:09,481 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 15:38:09 2022-10-25 15:38:09,485 [execute] INFO git cat-file --batch-check 15:38:09 2022-10-25 15:38:09,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver, universal_newlines=False, shell=None, istream=) 15:38:09 2022-10-25 15:38:09,492 [execute] INFO git cat-file --batch 15:38:09 2022-10-25 15:38:09,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver, universal_newlines=False, shell=None, istream=) 15:38:09 2022-10-25 15:38:09,497 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 15:38:09 0.0.0 [Pipeline] } 15:38:09 $ docker exec --env ******** --env ******** 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 ssh-agent -k 15:38:09 unset SSH_AUTH_SOCK; 15:38:09 unset SSH_AGENT_PID; 15:38:09 echo Agent pid 77 killed; 15:38:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:10 + git semver [Pipeline] } 15:38:10 $ docker stop --time=1 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 15:38:11 $ docker rm -f 1047a397a8892a90ddf3121cad25214104f887e471f0ce20480d3cc58d3b0538 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:12 Stashed 1 file(s) [Pipeline] echo 15:38:12 [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 15:38:12 provisioning config files... 15:38:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config12428011428736422720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:12 ---> docker-login.sh 15:38:12 nexus3.edgexfoundry.org:10001 15:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:12 Configure a credential helper to remove this warning. See 15:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:12 15:38:12 Login Succeeded 15:38:12 nexus3.edgexfoundry.org:10002 15:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:12 Configure a credential helper to remove this warning. See 15:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:12 15:38:12 Login Succeeded 15:38:12 nexus3.edgexfoundry.org:10003 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 nexus3.edgexfoundry.org:10004 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 docker.io 15:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:13 Configure a credential helper to remove this warning. See 15:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:13 15:38:13 Login Succeeded 15:38:13 ---> docker-login.sh ends [Pipeline] } 15:38:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:13 ========================================================= 15:38:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:38:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:13 + 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 . 15:38:13 Sending build context to Docker daemon 10.06MB 15:38:13 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 15:38:13 Step 2/11 : FROM ${BASE} AS builder 15:38:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:13 213ec9aee27d: Pulling fs layer 15:38:13 4583459ba037: Pulling fs layer 15:38:13 93c1e223e6f2: Pulling fs layer 15:38:13 53926ce57604: Pulling fs layer 15:38:13 21b2b0c7a3f4: Pulling fs layer 15:38:13 30f14e443154: Pulling fs layer 15:38:13 801331c1e519: Pulling fs layer 15:38:13 99cc6dd402b0: Pulling fs layer 15:38:13 801331c1e519: Waiting 15:38:13 30f14e443154: Waiting 15:38:13 53926ce57604: Waiting 15:38:13 21b2b0c7a3f4: Waiting 15:38:13 7d9ed39f4882: Pulling fs layer 15:38:13 99cc6dd402b0: Waiting 15:38:13 7d9ed39f4882: Waiting 15:38:13 93c1e223e6f2: Verifying Checksum 15:38:13 93c1e223e6f2: Download complete 15:38:13 4583459ba037: Verifying Checksum 15:38:13 4583459ba037: Download complete 15:38:14 21b2b0c7a3f4: Verifying Checksum 15:38:14 21b2b0c7a3f4: Download complete 15:38:14 30f14e443154: Verifying Checksum 15:38:14 30f14e443154: Download complete 15:38:14 213ec9aee27d: Verifying Checksum 15:38:14 213ec9aee27d: Download complete 15:38:14 801331c1e519: Verifying Checksum 15:38:14 801331c1e519: Download complete 15:38:14 213ec9aee27d: Pull complete 15:38:14 4583459ba037: Pull complete 15:38:14 93c1e223e6f2: Pull complete 15:38:14 7d9ed39f4882: Verifying Checksum 15:38:14 7d9ed39f4882: Download complete 15:38:14 99cc6dd402b0: Verifying Checksum 15:38:14 99cc6dd402b0: Download complete 15:38:15 53926ce57604: Verifying Checksum 15:38:15 53926ce57604: Download complete 15:38:19 53926ce57604: Pull complete 15:38:19 21b2b0c7a3f4: Pull complete 15:38:19 30f14e443154: Pull complete 15:38:19 801331c1e519: Pull complete 15:38:20 99cc6dd402b0: Pull complete 15:38:21 7d9ed39f4882: Pull complete 15:38:21 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 15:38:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:38:21 ---> 1dedd983c030 15:38:21 Step 3/11 : ARG MAKE=make build 15:38:26 ---> Running in b469b37a236f 15:38:26 Removing intermediate container b469b37a236f 15:38:26 ---> 8bee7b51ba89 15:38:26 Step 4/11 : WORKDIR /device-sdk-go 15:38:26 ---> Running in 4d71d3bbf7c5 15:38:26 Removing intermediate container 4d71d3bbf7c5 15:38:26 ---> 29069792984c 15:38:26 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:38:26 ---> Running in 8e48dd1b3672 15:38:26 Removing intermediate container 8e48dd1b3672 15:38:26 ---> b3bbc399b408 15:38:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:26 ---> Running in a2e577fb7fa1 15:38:27 Removing intermediate container a2e577fb7fa1 15:38:27 ---> e223990a2b0d 15:38:27 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:38:27 ---> Running in 1aeacc4bf947 15:38:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:38:27 Still waiting to schedule task 15:38:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-116881’ 15:38:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:38:27 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:38:27 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:38:27 OK: 211 MiB in 51 packages 15:38:28 Removing intermediate container 1aeacc4bf947 15:38:28 ---> 55f71ae95a7b 15:38:28 Step 8/11 : COPY go.mod vendor* ./ 15:38:28 ---> 36e59774ec5d 15:38:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:28 ---> Running in 7863247d2107 15:38:54 Removing intermediate container 7863247d2107 15:38:54 ---> ac8ec7bc15a4 15:38:54 Step 10/11 : COPY . . 15:38:54 ---> 64ee745bdd52 15:38:54 Step 11/11 : RUN ${MAKE} 15:38:54 ---> Running in 93022622a077 15:38:54 noop 15:38:54 Removing intermediate container 93022622a077 15:38:54 ---> bca6bea74b93 15:38:54 Successfully built bca6bea74b93 15:38:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:55 + docker inspect -f . ci-base-image-x86_64 15:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:55 prd-ubuntu20.04-docker-8c-8g-116886 does not seem to be running inside a container 15:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 ******** -e ******** ci-base-image-x86_64 cat 15:38:55 $ docker top 0b7c248273558936d59b109b20bfa7fc0fed645ed7471efdaee0be569bad491d -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:56 + go version 15:38:56 go version go1.18.7 linux/amd64 [Pipeline] } 15:38:56 $ docker stop --time=1 0b7c248273558936d59b109b20bfa7fc0fed645ed7471efdaee0be569bad491d 15:38:57 $ docker rm -f 0b7c248273558936d59b109b20bfa7fc0fed645ed7471efdaee0be569bad491d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:58 + docker inspect -f . ci-base-image-x86_64 15:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:58 prd-ubuntu20.04-docker-8c-8g-116886 does not seem to be running inside a container 15:38:58 $ 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-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 ******** -e ******** ci-base-image-x86_64 cat 15:38:58 $ docker top a3d76c9ad2fa1f89b788b94543b8b13b87887fbf62236707acf06be00998901b -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1247 [Pipeline] fileExists [Pipeline] sh 15:38:59 + make test 15:38:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:39:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.094s coverage: 78.9% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 73.1% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.107s coverage: 54.4% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.736s coverage: 89.2% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:39:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.7% of statements 15:39:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:39:32 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." 15:39:32 GO111MODULE=on go vet ./... 15:39:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:39:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:39:36 ./bin/test-attribution-txt.sh 15:39:36 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:39:36 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:39:36 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:39:36 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:39:36 $ docker stop --time=1 a3d76c9ad2fa1f89b788b94543b8b13b87887fbf62236707acf06be00998901b 15:39:42 $ docker rm -f a3d76c9ad2fa1f89b788b94543b8b13b87887fbf62236707acf06be00998901b [Pipeline] // withDockerContainer [Pipeline] sh 15:39:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:39:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:39:44 + ls -al . 15:39:44 total 280 15:39:44 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 15:38 . 15:39:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 15:37 .. 15:39:44 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 15:37 .dockerignore 15:39:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 15:39 .git 15:39:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 15:37 .github 15:39:44 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 15:37 .gitignore 15:39:44 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 15:37 .golangci.yml 15:39:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 15:38 .semver 15:39:44 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 15:37 CHANGELOG.md 15:39:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 15:37 GOVERNANCE.md 15:39:44 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 15:37 Jenkinsfile 15:39:44 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 15:37 LICENSE 15:39:44 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 15:37 Makefile 15:39:44 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 15:37 OWNERS.md 15:39:44 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 15:37 README.md 15:39:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 15:38 VERSION 15:39:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 15:37 bin 15:39:44 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 15:39 coverage.out 15:39:44 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 15:37 example 15:39:44 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 15:37 go.mod 15:39:44 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 15:37 go.sum 15:39:44 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 15:37 internal 15:39:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 15:37 openapi 15:39:44 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 15:37 pkg 15:39:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 15:37 snap 15:39:44 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:44 + 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=fc7b62386720b2783d5f0a96e14e42e769aa7d06 --label arch=amd64 --label version=0.0.0 . 15:39:44 Sending build context to Docker daemon 10.16MB 15:39:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:39:44 Step 2/25 : FROM ${BASE} AS builder 15:39:44 ---> bca6bea74b93 15:39:44 Step 3/25 : ARG MAKE=make build 15:39:44 ---> Running in 4ec106f539d1 15:39:44 Removing intermediate container 4ec106f539d1 15:39:44 ---> 8812c53dff26 15:39:44 Step 4/25 : WORKDIR /device-sdk-go 15:39:44 ---> Running in 6c23ee6e4f63 15:39:44 Removing intermediate container 6c23ee6e4f63 15:39:44 ---> fce81efe944c 15:39:44 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:39:45 ---> Running in 2ed47c6cca4c 15:39:45 Removing intermediate container 2ed47c6cca4c 15:39:45 ---> b2bb4a0ba3da 15:39:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:39:45 ---> Running in 92a94fc7d311 15:39:45 Removing intermediate container 92a94fc7d311 15:39:45 ---> 514d3fb1fbbd 15:39:45 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:39:45 ---> Running in f31b95b235f0 15:39:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:39:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:39:46 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:39:46 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:39:46 OK: 211 MiB in 51 packages 15:39:46 Removing intermediate container f31b95b235f0 15:39:46 ---> 975adb7ad3fa 15:39:46 Step 8/25 : COPY go.mod vendor* ./ 15:39:46 ---> aef1b0e95d60 15:39:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:46 ---> Running in 3dd6a51fc820 15:39:47 Removing intermediate container 3dd6a51fc820 15:39:47 ---> a601e62cb4cf 15:39:47 Step 10/25 : COPY . . 15:39:47 ---> 1a7dc732c1f8 15:39:47 Step 11/25 : RUN ${MAKE} 15:39:47 ---> Running in aa1811ab03bd 15:39:48 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 15:40:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:40:07 Removing intermediate container aa1811ab03bd 15:40:07 ---> 88ce923edebe 15:40:07 Step 12/25 : FROM alpine:3.16 15:40:07 3.16: Pulling from library/alpine 15:40:07 213ec9aee27d: Already exists 15:40:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:40:08 Status: Downloaded newer image for alpine:3.16 15:40:08 ---> 9c6f07244728 15:40:08 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:40:08 ---> Running in 1b43f340a7e3 15:40:08 Removing intermediate container 1b43f340a7e3 15:40:08 ---> 78dacdc1a9d0 15:40:08 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:40:08 ---> Running in 3813cc7fc0f1 15:40:08 Removing intermediate container 3813cc7fc0f1 15:40:08 ---> b36435bfb5a1 15:40:08 Step 15/25 : RUN apk add --update --no-cache zeromq 15:40:08 ---> Running in 75e1e91c8e35 15:40:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:40:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:40:09 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:40:09 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:40:09 ERROR: unable to select packages: 15:40:09  zeromq (no such package): 15:40:09 required by: world[zeromq] 15:40:09 The command '/bin/sh -c apk add --update --no-cache zeromq' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:09 15:40:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:10 latest: Pulling from edgex-lftools-log-publisher 15:40:10 5eb5b503b376: Pulling fs layer 15:40:10 5c69ac0246d0: Pulling fs layer 15:40:10 ec43610c2a17: Pulling fs layer 15:40:10 3a2ae6a8a46f: Pulling fs layer 15:40:10 33b1e0a273af: Pulling fs layer 15:40:10 5d3b04190fa2: Pulling fs layer 15:40:10 2f39f015ded8: Pulling fs layer 15:40:10 33b1e0a273af: Waiting 15:40:10 5d3b04190fa2: Waiting 15:40:10 2f39f015ded8: Waiting 15:40:10 3a2ae6a8a46f: Waiting 15:40:10 5c69ac0246d0: Download complete 15:40:10 3a2ae6a8a46f: Download complete 15:40:10 33b1e0a273af: Verifying Checksum 15:40:10 33b1e0a273af: Download complete 15:40:10 5d3b04190fa2: Verifying Checksum 15:40:10 ec43610c2a17: Verifying Checksum 15:40:10 ec43610c2a17: Download complete 15:40:10 5eb5b503b376: Verifying Checksum 15:40:10 5eb5b503b376: Download complete 15:40:10 2f39f015ded8: Download complete 15:40:11 5eb5b503b376: Pull complete 15:40:11 5c69ac0246d0: Pull complete 15:40:12 ec43610c2a17: Pull complete 15:40:12 3a2ae6a8a46f: Pull complete 15:40:12 33b1e0a273af: Pull complete 15:40:12 5d3b04190fa2: Pull complete 15:40:16 2f39f015ded8: Pull complete 15:40:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:40:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:16 prd-ubuntu20.04-docker-8c-8g-116886 does not seem to be running inside a container 15:40:16 $ 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-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:40:20 $ docker top a60a1e2c7af678bc4ccea62d3b7d3e6bff2ac1e4d36576a90835325105e9c25c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:20 ---> job-cost.sh 15:40:20 lf-activate-venv: SKIPPING 15:40:20 INFO: No Stack... 15:40:20 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:21 INFO: Archiving Costs [Pipeline] sh 15:40:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/cost.csv 15:40:21 + cut -d, -f6 [Pipeline] lock 15:40:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] 15:40:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] did not exist. Created. 15:40:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:40:21 + echo total: 0.2199999988079071 [Pipeline] stash 15:40:21 Stashed 1 file(s) [Pipeline] } 15:40:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:40:21 $ docker stop --time=1 a60a1e2c7af678bc4ccea62d3b7d3e6bff2ac1e4d36576a90835325105e9c25c 15:40:22 $ docker rm -f a60a1e2c7af678bc4ccea62d3b7d3e6bff2ac1e4d36576a90835325105e9c25c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:40:23 Failed in branch amd64 15:41:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116890 in /w/workspace/gexfoundry_device-sdk-go_PR-1247 [Pipeline] { [Pipeline] ws 15:41:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:41:20 The recommended git tool is: git 15:41:26 using credential edgex-jenkins-ssh 15:41:26 Cloning the remote Git repository 15:41:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:41:27 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:41:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:41:27 > git --version # timeout=10 15:41:27 > git --version # 'git version 2.25.1' 15:41:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:27 Verifying host key using known hosts file 15:41:27 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. 15:41:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:41:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:41:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:30 Verifying host key using known hosts file 15:41:30 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. 15:41:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1247/head:refs/remotes/origin/PR-1247 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:41:30 Merging remotes/origin/main commit 7fe7de0be30ee91d764ec87773cd7be423c2e190 into PR head commit fc7b62386720b2783d5f0a96e14e42e769aa7d06 15:41:31 Merge succeeded, producing fc7b62386720b2783d5f0a96e14e42e769aa7d06 15:41:31 Checking out Revision fc7b62386720b2783d5f0a96e14e42e769aa7d06 (PR-1247) 15:41:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:30 > git config core.sparsecheckout # timeout=10 15:41:30 > git checkout -f fc7b62386720b2783d5f0a96e14e42e769aa7d06 # timeout=10 15:41:31 > git remote # timeout=10 15:41:31 > git config --get remote.origin.url # timeout=10 15:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:31 Verifying host key using known hosts file 15:41:31 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. 15:41:31 > git merge 7fe7de0be30ee91d764ec87773cd7be423c2e190 # timeout=10 15:41:31 > git rev-parse HEAD^{commit} # timeout=10 15:41:31 > git config core.sparsecheckout # timeout=10 15:41:31 > git checkout -f fc7b62386720b2783d5f0a96e14e42e769aa7d06 # timeout=10 15:41:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:41:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:41:32 Dload Upload Total Spent Left Speed 15:41:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 15:41:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:41:33 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 15:41:33 15:41:33 { 15:41:33 "registry-mirrors": [ 15:41:33 "https://nexus3.edgexfoundry.org:10001" 15:41:33 ], 15:41:33 "bip": "10.250.0.254/24", 15:41:33 "hosts": [ 15:41:33 "tcp://0.0.0.0:5555", 15:41:33 "unix:///var/run/docker.sock" 15:41:33 ], 15:41:33 "mtu": 1458, 15:41:33 "selinux-enabled": true, 15:41:33 "seccomp-profile": "/etc/docker/seccomp.json" 15:41:33 } [Pipeline] sh 15:41:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:41:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:52 provisioning config files... 15:41:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8735504001270776633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:52 ---> docker-login.sh 15:41:52 nexus3.edgexfoundry.org:10001 15:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:53 Configure a credential helper to remove this warning. See 15:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:53 15:41:53 Login Succeeded 15:41:53 nexus3.edgexfoundry.org:10002 15:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:54 Configure a credential helper to remove this warning. See 15:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:54 15:41:54 Login Succeeded 15:41:54 nexus3.edgexfoundry.org:10003 15:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:54 Configure a credential helper to remove this warning. See 15:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:54 15:41:54 Login Succeeded 15:41:54 nexus3.edgexfoundry.org:10004 15:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:54 Configure a credential helper to remove this warning. See 15:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:54 15:41:54 Login Succeeded 15:41:54 docker.io 15:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:55 Configure a credential helper to remove this warning. See 15:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:55 15:41:55 Login Succeeded 15:41:55 ---> docker-login.sh ends [Pipeline] } 15:41:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:41:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:55 ========================================================= 15:41:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:41:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:56 + 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 . 15:41:56 Sending build context to Docker daemon 5.409MB 15:41:56 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 15:41:56 Step 2/11 : FROM ${BASE} AS builder 15:41:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:41:56 9b18e9b68314: Pulling fs layer 15:41:56 d32db5db7311: Pulling fs layer 15:41:56 d0c4b47475fc: Pulling fs layer 15:41:56 5831b945b038: Pulling fs layer 15:41:56 86bbec2aaacd: Pulling fs layer 15:41:56 e10730c5d714: Pulling fs layer 15:41:56 5dd5c2283517: Pulling fs layer 15:41:56 d5ac0230b979: Pulling fs layer 15:41:56 e10730c5d714: Waiting 15:41:56 5dd5c2283517: Waiting 15:41:56 5831b945b038: Waiting 15:41:56 86bbec2aaacd: Waiting 15:41:56 d5ac0230b979: Waiting 15:41:56 d0c4b47475fc: Verifying Checksum 15:41:56 d0c4b47475fc: Download complete 15:41:56 d32db5db7311: Download complete 15:41:56 86bbec2aaacd: Verifying Checksum 15:41:56 86bbec2aaacd: Download complete 15:41:56 e10730c5d714: Verifying Checksum 15:41:56 e10730c5d714: Download complete 15:41:57 9b18e9b68314: Verifying Checksum 15:41:58 d5ac0230b979: Verifying Checksum 15:41:58 d5ac0230b979: Download complete 15:41:58 9b18e9b68314: Pull complete 15:41:58 d32db5db7311: Pull complete 15:41:59 d0c4b47475fc: Pull complete 15:41:59 5dd5c2283517: Verifying Checksum 15:41:59 5dd5c2283517: Download complete 15:42:00 5831b945b038: Verifying Checksum 15:42:00 5831b945b038: Download complete 15:42:12 5831b945b038: Pull complete 15:42:12 86bbec2aaacd: Pull complete 15:42:12 e10730c5d714: Pull complete 15:42:19 5dd5c2283517: Pull complete 15:42:20 d5ac0230b979: Pull complete 15:42:20 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 15:42:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:42:20 ---> 59b3b1a385d4 15:42:20 Step 3/11 : ARG MAKE=make build 15:42:23 ---> Running in d6653aa9555c 15:42:23 Removing intermediate container d6653aa9555c 15:42:23 ---> 3aebac3f6923 15:42:23 Step 4/11 : WORKDIR /device-sdk-go 15:42:23 ---> Running in 51e93c861782 15:42:23 Removing intermediate container 51e93c861782 15:42:23 ---> d1e28d2bc956 15:42:23 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:42:23 ---> Running in 817408764b2d 15:42:24 Removing intermediate container 817408764b2d 15:42:24 ---> b44e4452c0e7 15:42:24 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:24 ---> Running in 816887d4cb8a 15:42:26 Removing intermediate container 816887d4cb8a 15:42:26 ---> 13f6293793eb 15:42:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:42:26 ---> Running in 24203120eeec 15:42:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:42:27 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:42:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:42:28 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:42:28 OK: 221 MiB in 51 packages 15:42:29 Removing intermediate container 24203120eeec 15:42:29 ---> 488596e57067 15:42:29 Step 8/11 : COPY go.mod vendor* ./ 15:42:29 ---> edaf6a62b00f 15:42:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:29 ---> Running in 1261da798312 15:43:26 Removing intermediate container 1261da798312 15:43:26 ---> 2b2d840f7354 15:43:26 Step 10/11 : COPY . . 15:43:27 ---> 01a01cd35cac 15:43:27 Step 11/11 : RUN ${MAKE} 15:43:27 ---> Running in 86a04caf2e1b 15:43:28 noop 15:43:29 Removing intermediate container 86a04caf2e1b 15:43:29 ---> 7e8df5ae7892 15:43:29 Successfully built 7e8df5ae7892 15:43:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:29 + docker inspect -f . ci-base-image-arm64 15:43:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:29 prd-ubuntu20.04-docker-arm64-4c-16g-116890 does not seem to be running inside a container 15:43:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:43:31 $ docker top a7a8307294c40c9b0d3a2b06215cd4e9f16291777399b477d64eb8ac264f21fb -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:32 + go version 15:43:32 go version go1.18.7 linux/arm64 [Pipeline] } 15:43:32 $ docker stop --time=1 a7a8307294c40c9b0d3a2b06215cd4e9f16291777399b477d64eb8ac264f21fb 15:43:33 $ docker rm -f a7a8307294c40c9b0d3a2b06215cd4e9f16291777399b477d64eb8ac264f21fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:34 + docker inspect -f . ci-base-image-arm64 15:43:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-116890 does not seem to be running inside a container 15:43:34 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:43:36 $ docker top ea0b2cbb332c7b058d54205205709508d5edcfe82d08a4e55511188079bf29d9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:37 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 15:43:37 + make test 15:43:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:44:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:46:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:46:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.482s coverage: 27.6% of statements 15:46:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.573s coverage: 78.9% of statements 15:46:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:46:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.459s coverage: 73.1% of statements 15:46:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:46:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.538s coverage: 54.4% of statements 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.468s coverage: 65.1% of statements 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.381s coverage: 89.2% of statements 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.338s coverage: 4.7% of statements 15:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:46:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:46:59 GO111MODULE=on go vet ./... 15:48:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:48:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:48:50 ./bin/test-attribution-txt.sh 15:48:50 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:48:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:48:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:48:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:48:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:48:50 $ docker stop --time=1 ea0b2cbb332c7b058d54205205709508d5edcfe82d08a4e55511188079bf29d9 15:48:52 $ docker rm -f ea0b2cbb332c7b058d54205205709508d5edcfe82d08a4e55511188079bf29d9 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:48:54 Warning: overwriting stash ‘coverage-report’ 15:48:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:55 + ls -al . 15:48:55 total 276 15:48:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 15:43 . 15:48:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 15:41 .. 15:48:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 15:41 .dockerignore 15:48:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 15:41 .git 15:48:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 15:41 .github 15:48:55 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 15:41 .gitignore 15:48:55 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 15:41 .golangci.yml 15:48:55 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 15:41 CHANGELOG.md 15:48:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 15:41 GOVERNANCE.md 15:48:55 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 15:41 Jenkinsfile 15:48:55 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 15:41 LICENSE 15:48:55 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 15:41 Makefile 15:48:55 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 15:41 OWNERS.md 15:48:55 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 15:41 README.md 15:48:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 15:38 VERSION 15:48:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 15:41 bin 15:48:55 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 15:46 coverage.out 15:48:55 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 15:41 example 15:48:55 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 15:41 go.mod 15:48:55 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 15:41 go.sum 15:48:55 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 15:41 internal 15:48:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 15:41 openapi 15:48:55 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 15:41 pkg 15:48:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 15:41 snap 15:48:55 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:55 + 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=fc7b62386720b2783d5f0a96e14e42e769aa7d06 --label arch=arm64 --label version=0.0.0 . 15:48:56 Sending build context to Docker daemon 5.511MB 15:48:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:48:56 Step 2/25 : FROM ${BASE} AS builder 15:48:56 ---> 7e8df5ae7892 15:48:56 Step 3/25 : ARG MAKE=make build 15:48:56 ---> Running in bb1ff5f71662 15:48:56 Removing intermediate container bb1ff5f71662 15:48:56 ---> 20dd8fb05c50 15:48:56 Step 4/25 : WORKDIR /device-sdk-go 15:48:57 ---> Running in cad7c73ffc5a 15:48:57 Removing intermediate container cad7c73ffc5a 15:48:57 ---> 8b1efec636ea 15:48:57 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:48:57 ---> Running in aab0f27b0c78 15:48:57 Removing intermediate container aab0f27b0c78 15:48:57 ---> 25195bb0a27f 15:48:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:57 ---> Running in e55392c43caf 15:48:59 Removing intermediate container e55392c43caf 15:48:59 ---> 368ae2f48d01 15:48:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:48:59 ---> Running in 888365e9464e 15:49:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:49:01 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:49:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:49:01 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:49:01 OK: 221 MiB in 51 packages 15:49:02 Removing intermediate container 888365e9464e 15:49:02 ---> 287fb18d5143 15:49:02 Step 8/25 : COPY go.mod vendor* ./ 15:49:02 ---> 1a49133834e3 15:49:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:02 ---> Running in ebd1c83aba16 15:49:04 Removing intermediate container ebd1c83aba16 15:49:04 ---> c1ec52f4ac6f 15:49:04 Step 10/25 : COPY . . 15:49:06 ---> 88f05d1b0423 15:49:06 Step 11/25 : RUN ${MAKE} 15:49:06 ---> Running in 10740b891e66 15:49:07 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 15:51:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:51:44 Removing intermediate container 10740b891e66 15:51:44 ---> 7d37380873d2 15:51:44 Step 12/25 : FROM alpine:3.16 15:51:44 3.16: Pulling from library/alpine 15:51:44 9b18e9b68314: Already exists 15:51:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:51:44 Status: Downloaded newer image for alpine:3.16 15:51:44 ---> a6215f271958 15:51:44 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:51:44 ---> Running in f979941c80d1 15:51:44 Removing intermediate container f979941c80d1 15:51:44 ---> 631314c5be8b 15:51:44 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:44 ---> Running in 62af1b9670fa 15:51:46 Removing intermediate container 62af1b9670fa 15:51:46 ---> fbd8a7919aca 15:51:46 Step 15/25 : RUN apk add --update --no-cache zeromq 15:51:46 ---> Running in 7ff2181f20b4 15:51:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:51:47 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 15:51:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:51:47 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 15:51:47 ERROR: unable to select packages: 15:51:47  zeromq (no such package): 15:51:47 required by: world[zeromq] 15:51:48 The command '/bin/sh -c apk add --update --no-cache zeromq' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:51:48 15:51:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:51:48 arm64: Pulling from edgex-lftools-log-publisher 15:51:48 8998bd30e6a1: Pulling fs layer 15:51:48 04944245beec: Pulling fs layer 15:51:48 699f458cf7ca: Pulling fs layer 15:51:48 765212b225bb: Pulling fs layer 15:51:48 f23df028b6ca: Pulling fs layer 15:51:48 d65c8cfc05b1: Pulling fs layer 15:51:48 2437ff75d9bd: Pulling fs layer 15:51:48 f23df028b6ca: Waiting 15:51:48 d65c8cfc05b1: Waiting 15:51:48 2437ff75d9bd: Waiting 15:51:48 765212b225bb: Waiting 15:51:49 04944245beec: Verifying Checksum 15:51:49 04944245beec: Download complete 15:51:49 765212b225bb: Verifying Checksum 15:51:49 765212b225bb: Download complete 15:51:49 f23df028b6ca: Verifying Checksum 15:51:49 f23df028b6ca: Download complete 15:51:49 d65c8cfc05b1: Verifying Checksum 15:51:49 d65c8cfc05b1: Download complete 15:51:49 699f458cf7ca: Verifying Checksum 15:51:49 699f458cf7ca: Download complete 15:51:49 8998bd30e6a1: Verifying Checksum 15:51:49 8998bd30e6a1: Download complete 15:51:51 2437ff75d9bd: Verifying Checksum 15:51:51 2437ff75d9bd: Download complete 15:51:53 8998bd30e6a1: Pull complete 15:51:53 04944245beec: Pull complete 15:51:55 699f458cf7ca: Pull complete 15:51:55 765212b225bb: Pull complete 15:51:55 f23df028b6ca: Pull complete 15:51:56 d65c8cfc05b1: Pull complete 15:52:08 2437ff75d9bd: Pull complete 15:52:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:52:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:08 prd-ubuntu20.04-docker-arm64-4c-16g-116890 does not seem to be running inside a container 15:52:08 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:52:11 $ docker top ae354e7f167f9f540b81bf5539669a231076dcf5008a28ae07959461000bb19a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:12 ---> job-cost.sh 15:52:12 lf-activate-venv: SKIPPING 15:52:12 INFO: No Stack... 15:52:13 INFO: Retrieving Pricing Info for: v3-standard-4 15:52:13 INFO: Archiving Costs [Pipeline] sh 15:52:14 + cut -d, -f6 15:52:14 + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 15:52:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] 15:52:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] did not exist. Created. 15:52:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:15 /w/workspace/device-sdk-go/3@tmp/durable-2c9dc447/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:52:15 + echo total: 0.10999999940395355 [Pipeline] stash 15:52:15 Warning: overwriting stash ‘stack-cost’ 15:52:15 Stashed 1 file(s) [Pipeline] } 15:52:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:15 $ docker stop --time=1 ae354e7f167f9f540b81bf5539669a231076dcf5008a28ae07959461000bb19a 15:52:17 $ docker rm -f ae354e7f167f9f540b81bf5539669a231076dcf5008a28ae07959461000bb19a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:17 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:52:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives ] 15:52:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 15:52:18 total 16 15:52:18 drwxr-xr-x 3 root root 4096 Oct 25 15:40 . 15:52:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 15:40 .. 15:52:18 drwxr-xr-x 2 root root 4096 Oct 25 15:40 cost 15:52:18 -rw-r--r-- 1 root root 86 Oct 25 15:40 cost.csv 15:52:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 15:52:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 15:52:18 total 16 15:52:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 15:40 . 15:52:18 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 15:40 .. 15:52:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 15:40 cost 15:52:18 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 15:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:52:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:52:19 ---> package-listing.sh 15:52:19 ++ facter osfamily 15:52:19 ++ tr '[:upper:]' '[:lower:]' 15:52:19 + OS_FAMILY=debian 15:52:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1247 15:52:19 + START_PACKAGES=/tmp/packages_start.txt 15:52:19 + END_PACKAGES=/tmp/packages_end.txt 15:52:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:52:19 + PACKAGES=/tmp/packages_start.txt 15:52:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1247 ']' 15:52:19 + PACKAGES=/tmp/packages_end.txt 15:52:19 + case "${OS_FAMILY}" in 15:52:19 + dpkg -l 15:52:19 + grep '^ii' 15:52:19 + '[' -f /tmp/packages_start.txt ']' 15:52:19 + '[' -f /tmp/packages_end.txt ']' 15:52:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:52:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1247 ']' 15:52:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/ 15:52:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/ [Pipeline] echo 15:52:19 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-1247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:52:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:20 prd-ubuntu20.04-docker-8c-8g-116886 does not seem to be running inside a container 15:52:20 $ 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-1247/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-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 15:52:20 $ docker top c9ff4131e49966a79096efec4556cc1981869ae11ff519569cee2349285a8056 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:21 + touch /tmp/pre-build-complete [Pipeline] sh 15:52:21 + mkdir -p /var/log/sysstat [Pipeline] sh 15:52:21 + ls /var/log/sa-host 15:52:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:21 provisioning config files... 15:52:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config14085179374714092911tmp [Pipeline] { [Pipeline] echo 15:52:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:52:22 ---> create-netrc.sh [Pipeline] } 15:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:52:22 ---> python-tools-install.sh [Pipeline] echo 15:52:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:52:22 ---> sudo-logs.sh 15:52:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:52:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:52:23 ---> job-cost.sh 15:52:23 lf-activate-venv: SKIPPING 15:52:23 DEBUG: total: 0.2199999988079071 15:52:23 INFO: Retrieving Stack Cost... 15:52:23 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:23 INFO: Archiving Costs [Pipeline] echo 15:52:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:52:24 ---> logs-deploy.sh 15:52:24 lf-activate-venv: SKIPPING 15:52:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1247/3 15:52:24 INFO: archiving workspace using pattern(s): 15:52:25 Archives upload complete. 15:52:25 INFO: archiving logs to Nexus 15:52:25 ---> uname -a: 15:52:25 Linux prd-ubuntu20-04-docker-8c-8g-116886 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:52:25 15:52:25