Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at d3157763bdfd8f49e0a7266dceddd97d249ca275 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from d3157763bdfd8f49e0a7266dceddd97d249ca275 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-ssh9474135234206999129.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9806549716067847587.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13605020528867570189.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh7299009154245699289.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-onvif-camera/branches/PR-125/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-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh251390764896912007.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-503’ Running on prd-ubuntu20.04-docker-8c-8g-514 in /w/workspace/undry_device-onvif-camera_PR-125 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 56ee218f541bcf25f6288b8561fa9a253b5c2639 Checking out Revision 56ee218f541bcf25f6288b8561fa9a253b5c2639 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56ee218f541bcf25f6288b8561fa9a253b5c2639 # timeout=10 Commit message: "Merge commit 'd3157763bdfd8f49e0a7266dceddd97d249ca275' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 27a02180d062f98e024e154abdcad3026828c88f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:23 ========================================================= 02:11:23 EdgeX Global Pipelines Version Info 02:11:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:11:24 ------------------- 02:11:24 stable info: 02:11:24 ------------------- 02:11:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:24 Message: update stable to v1.0.239 02:11:24 ------------------- 02:11:24 experimental info: 02:11:24 ------------------- 02:11:24 Commited By: **** collab-it+edgex@linuxfoundation.org 02:11:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:11:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56ee218f541bcf25f6288b8561fa9a253b5c2639 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56ee218 [Pipeline] echo 02:11:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:25 provisioning config files... 02:11:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config9604783597323939383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:25 ---> docker-login.sh 02:11:25 nexus3.edgexfoundry.org:10001 02:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:25 Configure a credential helper to remove this warning. See 02:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:25 02:11:25 Login Succeeded 02:11:25 nexus3.edgexfoundry.org:10002 02:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:25 Configure a credential helper to remove this warning. See 02:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:25 02:11:25 Login Succeeded 02:11:25 nexus3.edgexfoundry.org:10003 02:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:26 Configure a credential helper to remove this warning. See 02:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:26 02:11:26 Login Succeeded 02:11:26 nexus3.edgexfoundry.org:10004 02:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:26 Configure a credential helper to remove this warning. See 02:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:26 02:11:26 Login Succeeded 02:11:26 docker.io 02:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:26 Configure a credential helper to remove this warning. See 02:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:26 02:11:26 Login Succeeded 02:11:26 ---> docker-login.sh ends [Pipeline] } 02:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:26 + git rev-list -1 --merges 56ee218f541bcf25f6288b8561fa9a253b5c2639~1..56ee218f541bcf25f6288b8561fa9a253b5c2639 [Pipeline] echo 02:11:26 -----------> git rev-list -1 --merges 56ee218f541bcf25f6288b8561fa9a253b5c2639~1..56ee218f541bcf25f6288b8561fa9a253b5c2639 56ee218f541bcf25f6288b8561fa9a253b5c2639 02:11:26 56ee218f541bcf25f6288b8561fa9a253b5c2639 [false] [Pipeline] sh 02:11:27 + git log --format=format:%s -1 56ee218f541bcf25f6288b8561fa9a253b5c2639 [Pipeline] echo 02:11:27 ========================================================= 02:11:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:27 + git log --format=format:%s -1 56ee218f541bcf25f6288b8561fa9a253b5c2639 [Pipeline] echo 02:11:27 [semverPrep] GIT_COMMIT: 56ee218f541bcf25f6288b8561fa9a253b5c2639, Commit Message: Merge commit 'd3157763bdfd8f49e0a7266dceddd97d249ca275' into HEAD [Pipeline] echo 02:11:27 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:27 + grep -v github /etc/ssh/ssh_known_hosts 02:11:27 + [ -e /tmp/ssh_known_hosts ] 02:11:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:27 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:28 02:11:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:28 0.1.4: Pulling from edgex-devops/py-git-semver 02:11:28 b85a868b505f: Pulling fs layer 02:11:28 e2be974225ed: Pulling fs layer 02:11:28 339a4e72a1f5: Pulling fs layer 02:11:28 988bab9f4d93: Pulling fs layer 02:11:28 1469e6f7b9e6: Pulling fs layer 02:11:28 eaf3925da568: Pulling fs layer 02:11:28 bab4dde63d76: Pulling fs layer 02:11:28 bde34c3a00c8: Pulling fs layer 02:11:28 b352a97aabf1: Pulling fs layer 02:11:28 4872d77fe225: Pulling fs layer 02:11:28 5851b861e8e6: Pulling fs layer 02:11:28 bde34c3a00c8: Waiting 02:11:28 eaf3925da568: Waiting 02:11:28 988bab9f4d93: Waiting 02:11:28 1469e6f7b9e6: Waiting 02:11:28 b352a97aabf1: Waiting 02:11:28 bab4dde63d76: Waiting 02:11:28 5851b861e8e6: Waiting 02:11:28 4872d77fe225: Waiting 02:11:28 e2be974225ed: Download complete 02:11:28 988bab9f4d93: Verifying Checksum 02:11:28 988bab9f4d93: Download complete 02:11:28 1469e6f7b9e6: Verifying Checksum 02:11:28 1469e6f7b9e6: Download complete 02:11:28 339a4e72a1f5: Verifying Checksum 02:11:28 339a4e72a1f5: Download complete 02:11:28 eaf3925da568: Verifying Checksum 02:11:28 eaf3925da568: Download complete 02:11:28 bde34c3a00c8: Verifying Checksum 02:11:28 bde34c3a00c8: Download complete 02:11:28 b352a97aabf1: Verifying Checksum 02:11:28 b352a97aabf1: Download complete 02:11:28 4872d77fe225: Download complete 02:11:28 5851b861e8e6: Verifying Checksum 02:11:28 5851b861e8e6: Download complete 02:11:28 b85a868b505f: Verifying Checksum 02:11:28 b85a868b505f: Download complete 02:11:29 bab4dde63d76: Verifying Checksum 02:11:29 bab4dde63d76: Download complete 02:11:30 b85a868b505f: Pull complete 02:11:30 e2be974225ed: Pull complete 02:11:30 339a4e72a1f5: Pull complete 02:11:30 988bab9f4d93: Pull complete 02:11:31 1469e6f7b9e6: Pull complete 02:11:31 eaf3925da568: Pull complete 02:11:33 bab4dde63d76: Pull complete 02:11:33 bde34c3a00c8: Pull complete 02:11:33 b352a97aabf1: Pull complete 02:11:33 4872d77fe225: Pull complete 02:11:33 5851b861e8e6: Pull complete 02:11:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:33 prd-ubuntu20.04-docker-8c-8g-514 does not seem to be running inside a container 02:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:35 $ docker top 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 -eo pid,comm 02:11:35 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). 02:11:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:35 [ssh-agent] Looking for ssh-agent implementation... 02:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:35 $ docker exec 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 ssh-agent 02:11:36 SSH_AUTH_SOCK=/tmp/ssh-Brcz4f4seNDt/agent.32 02:11:36 SSH_AGENT_PID=38 02:11:36 Running ssh-add (command line suppressed) 02:11:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_6001982573988821085.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_6001982573988821085.key) 02:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:36 + git tag --points-at HEAD [Pipeline] } 02:11:36 $ docker exec --env ******** --env ******** 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 ssh-agent -k 02:11:36 unset SSH_AUTH_SOCK; 02:11:36 unset SSH_AGENT_PID; 02:11:36 echo Agent pid 38 killed; 02:11:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:36 [ssh-agent] Looking for ssh-agent implementation... 02:11:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:36 $ docker exec 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 ssh-agent 02:11:36 SSH_AUTH_SOCK=/tmp/ssh-QT12fyO9SnKO/agent.71 02:11:36 SSH_AGENT_PID=77 02:11:36 Running ssh-add (command line suppressed) 02:11:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14196867961279814450.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14196867961279814450.key) 02:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:37 + git semver init 02:11:37 2022-09-22 02:11:37,439 [run_init] DEBUG init version:0.0.0 force:False 02:11:37 2022-09-22 02:11:37,439 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:37 2022-09-22 02:11:37,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 02:11:37 2022-09-22 02:11:37,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 02:11:38 2022-09-22 02:11:38,408 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 02:11:38 2022-09-22 02:11:38,408 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 02:11:38 2022-09-22 02:11:38,409 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:38 2022-09-22 02:11:38,413 [execute] INFO git cat-file --batch-check 02:11:38 2022-09-22 02:11:38,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:38 2022-09-22 02:11:38,421 [execute] INFO git cat-file --batch 02:11:38 2022-09-22 02:11:38,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:11:38 2022-09-22 02:11:38,427 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:11:38 0.0.0 [Pipeline] } 02:11:38 $ docker exec --env ******** --env ******** 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 ssh-agent -k 02:11:38 unset SSH_AUTH_SOCK; 02:11:38 unset SSH_AGENT_PID; 02:11:38 echo Agent pid 77 killed; 02:11:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:38 + git semver [Pipeline] } 02:11:39 $ docker stop --time=1 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 02:11:40 $ docker rm -f 989ecad30fa1f8cce4a515bd6329c98ab375ad052b7de07472b5bba2ffb53fb5 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:40 Stashed 1 file(s) [Pipeline] echo 02:11:40 [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 02:11:41 provisioning config files... 02:11:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config17896830864750288250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:41 ---> docker-login.sh 02:11:41 nexus3.edgexfoundry.org:10001 02:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:41 Configure a credential helper to remove this warning. See 02:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:41 02:11:41 Login Succeeded 02:11:41 nexus3.edgexfoundry.org:10002 02:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:41 Configure a credential helper to remove this warning. See 02:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:41 02:11:41 Login Succeeded 02:11:41 nexus3.edgexfoundry.org:10003 02:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:41 Configure a credential helper to remove this warning. See 02:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:41 02:11:41 Login Succeeded 02:11:41 nexus3.edgexfoundry.org:10004 02:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:41 Configure a credential helper to remove this warning. See 02:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:41 02:11:41 Login Succeeded 02:11:41 docker.io 02:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:42 Configure a credential helper to remove this warning. See 02:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:42 02:11:42 Login Succeeded 02:11:42 ---> docker-login.sh ends [Pipeline] } 02:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:42 ========================================================= 02:11:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:11:42 Sending build context to Docker daemon 20.71MB 02:11:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:11:42 Step 2/13 : FROM ${BASE} AS builder 02:11:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:42 2408cc74d12b: Pulling fs layer 02:11:42 ea60b727a1ce: Pulling fs layer 02:11:42 30c4a7721957: Pulling fs layer 02:11:42 370296b7ddb6: Pulling fs layer 02:11:42 7c6cee850709: Pulling fs layer 02:11:42 39a5fcdaea64: Pulling fs layer 02:11:42 d94ebbe4e438: Pulling fs layer 02:11:42 bcfd1f05c69d: Pulling fs layer 02:11:42 59ccb84bbe0f: Pulling fs layer 02:11:42 370296b7ddb6: Waiting 02:11:42 7c6cee850709: Waiting 02:11:42 39a5fcdaea64: Waiting 02:11:42 bcfd1f05c69d: Waiting 02:11:42 59ccb84bbe0f: Waiting 02:11:42 d94ebbe4e438: Waiting 02:11:42 30c4a7721957: Verifying Checksum 02:11:42 30c4a7721957: Download complete 02:11:42 ea60b727a1ce: Verifying Checksum 02:11:42 ea60b727a1ce: Download complete 02:11:42 7c6cee850709: Verifying Checksum 02:11:42 7c6cee850709: Download complete 02:11:42 39a5fcdaea64: Download complete 02:11:42 2408cc74d12b: Verifying Checksum 02:11:42 2408cc74d12b: Download complete 02:11:42 d94ebbe4e438: Download complete 02:11:42 2408cc74d12b: Pull complete 02:11:43 ea60b727a1ce: Pull complete 02:11:43 30c4a7721957: Pull complete 02:11:43 59ccb84bbe0f: Verifying Checksum 02:11:43 59ccb84bbe0f: Download complete 02:11:43 bcfd1f05c69d: Verifying Checksum 02:11:43 bcfd1f05c69d: Download complete 02:11:43 370296b7ddb6: Verifying Checksum 02:11:43 370296b7ddb6: Download complete 02:11:47 370296b7ddb6: Pull complete 02:11:47 7c6cee850709: Pull complete 02:11:47 39a5fcdaea64: Pull complete 02:11:47 d94ebbe4e438: Pull complete 02:11:49 bcfd1f05c69d: Pull complete 02:11:50 59ccb84bbe0f: Pull complete 02:11:50 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 02:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:50 ---> a4fb48ad2a94 02:11:50 Step 3/13 : ARG MAKE="make build" 02:11:54 ---> Running in 7166c48503c7 02:11:54 Removing intermediate container 7166c48503c7 02:11:54 ---> 19d1e0e56bd0 02:11:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:11:54 ---> Running in 3df664ba8407 02:11:54 Removing intermediate container 3df664ba8407 02:11:54 ---> fc1c27baf7c9 02:11:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:11:54 ---> Running in d964360a4af8 02:11:54 Removing intermediate container d964360a4af8 02:11:54 ---> 82cef987a0d1 02:11:54 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:11:54 ---> Running in 6aa7d2d40063 02:11:54 Removing intermediate container 6aa7d2d40063 02:11:54 ---> 6ee8c9b8585a 02:11:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:11:54 ---> Running in 9dc9b540d22b 02:11:55 Removing intermediate container 9dc9b540d22b 02:11:55 ---> 1b49a356f998 02:11:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:55 ---> Running in 3ffc1ef6f731 02:11:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:56 Still waiting to schedule task 02:11:56 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-511’ 02:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:56 OK: 211 MiB in 51 packages 02:11:56 Removing intermediate container 3ffc1ef6f731 02:11:56 ---> 31cce8f2816e 02:11:56 Step 9/13 : WORKDIR /device-onvif-camera 02:11:56 ---> Running in 74f3d8510380 02:11:56 Removing intermediate container 74f3d8510380 02:11:56 ---> 6379610aa4ea 02:11:56 Step 10/13 : COPY go.mod vendor* ./ 02:11:56 ---> 25baec8a0bae 02:11:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:56 ---> Running in fb5cbd703c4e 02:12:18 Removing intermediate container fb5cbd703c4e 02:12:18 ---> 61a2efbd2466 02:12:18 Step 12/13 : COPY . . 02:12:18 ---> 6b716f573b26 02:12:18 Step 13/13 : RUN ${MAKE} 02:12:18 ---> Running in b266e4756622 02:12:18 noop 02:12:18 Removing intermediate container b266e4756622 02:12:18 ---> 54ea28a17315 02:12:18 Successfully built 54ea28a17315 02:12:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:19 + docker inspect -f . ci-base-image-x86_64 02:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:19 prd-ubuntu20.04-docker-8c-8g-514 does not seem to be running inside a container 02:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:19 $ docker top 011a50bb25de8b2596dc30d3f0655f3af2c1d6c0ac9d1bbde490bdd5116c9535 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:19 + go version 02:12:19 go version go1.18.3 linux/amd64 [Pipeline] } 02:12:19 $ docker stop --time=1 011a50bb25de8b2596dc30d3f0655f3af2c1d6c0ac9d1bbde490bdd5116c9535 02:12:21 $ docker rm -f 011a50bb25de8b2596dc30d3f0655f3af2c1d6c0ac9d1bbde490bdd5116c9535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:21 + docker inspect -f . ci-base-image-x86_64 02:12:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:21 prd-ubuntu20.04-docker-8c-8g-514 does not seem to be running inside a container 02:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:21 $ docker top dd98bf24ea6d2ca69def185ebe314dc634187e60baf5cbcc3192339e2394cbbc -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:22 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 02:12:22 + make test 02:12:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements 02:12:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.465s coverage: 86.5% of statements 02:12:43 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." 02:12:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:47 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:47 $ docker stop --time=1 dd98bf24ea6d2ca69def185ebe314dc634187e60baf5cbcc3192339e2394cbbc 02:12:50 $ docker rm -f dd98bf24ea6d2ca69def185ebe314dc634187e60baf5cbcc3192339e2394cbbc [Pipeline] // withDockerContainer [Pipeline] sh 02:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:12:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:51 + ls -al . 02:12:51 total 236 02:12:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 02:12 . 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:11 .. 02:12:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 02:12 .git 02:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 02:11 .github 02:12:51 -rw-rw-r-- 1 jenkins jenkins 418 Sep 22 02:11 .gitignore 02:12:51 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 02:11 .golangci.yml 02:12:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 02:11 .semver 02:12:51 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 22 02:11 Attribution.txt 02:12:51 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 22 02:11 CHANGELOG.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 1742 Sep 22 02:11 Dockerfile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 02:11 GOVERNANCE.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 734 Sep 22 02:11 Jenkinsfile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 22 02:11 LICENSE 02:12:51 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 22 02:11 Makefile 02:12:51 -rw-rw-r-- 1 jenkins jenkins 625 Sep 22 02:11 OWNERS.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 22 02:11 README.md 02:12:51 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 02:11 VERSION 02:12:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 02:11 bin 02:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 02:11 cmd 02:12:51 -rw-r--r-- 1 jenkins jenkins 79818 Sep 22 02:12 coverage.out 02:12:51 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 02:11 doc 02:12:51 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 22 02:11 go.mod 02:12:51 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 22 02:11 go.sum 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:11 internal 02:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:11 snap 02:12:51 -rw-rw-r-- 1 jenkins jenkins 236 Sep 22 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:52 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=56ee218f541bcf25f6288b8561fa9a253b5c2639 --label arch=amd64 --label version=0.0.0 . 02:12:52 Sending build context to Docker daemon 20.79MB 02:12:52 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:12:52 Step 2/27 : FROM ${BASE} AS builder 02:12:52 ---> 54ea28a17315 02:12:52 Step 3/27 : ARG MAKE="make build" 02:12:52 ---> Running in e379b48e3df2 02:12:52 Removing intermediate container e379b48e3df2 02:12:52 ---> e65093b87011 02:12:52 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:52 ---> Running in d3e1bf225836 02:12:52 Removing intermediate container d3e1bf225836 02:12:52 ---> 713f9b9db462 02:12:52 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 02:12:52 ---> Running in 87f62a3c14b7 02:12:52 Removing intermediate container 87f62a3c14b7 02:12:52 ---> 31e53952e6db 02:12:52 Step 6/27 : LABEL Name=edgex-device-onvif-camera 02:12:52 ---> Running in 3649a4e31cd6 02:12:52 Removing intermediate container 3649a4e31cd6 02:12:52 ---> 1ff77bd0ad43 02:12:52 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:12:52 ---> Running in dc9699ed77d9 02:12:53 Removing intermediate container dc9699ed77d9 02:12:53 ---> 199195fc641c 02:12:53 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:53 ---> Running in 2412bcd391f2 02:12:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:55 OK: 211 MiB in 51 packages 02:12:55 Removing intermediate container 2412bcd391f2 02:12:55 ---> 48c7c58609cf 02:12:55 Step 9/27 : WORKDIR /device-onvif-camera 02:12:55 ---> Running in ba06d918d5ea 02:12:55 Removing intermediate container ba06d918d5ea 02:12:55 ---> 704d5cef1295 02:12:55 Step 10/27 : COPY go.mod vendor* ./ 02:12:55 ---> efb2c8c1ebe0 02:12:55 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:55 ---> Running in f51d346e22bb 02:12:56 Removing intermediate container f51d346e22bb 02:12:56 ---> a16863a89b89 02:12:56 Step 12/27 : COPY . . 02:12:57 ---> 5cd8bab3b8d2 02:12:57 Step 13/27 : RUN ${MAKE} 02:12:57 ---> Running in 2ed43208c7cc 02:12:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:13:23 Removing intermediate container 2ed43208c7cc 02:13:23 ---> 070e701d3af5 02:13:23 Step 14/27 : FROM alpine:3.16 02:13:23 3.16: Pulling from library/alpine 02:13:23 213ec9aee27d: Pulling fs layer 02:13:23 213ec9aee27d: Verifying Checksum 02:13:23 213ec9aee27d: Download complete 02:13:23 213ec9aee27d: Pull complete 02:13:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:13:23 Status: Downloaded newer image for alpine:3.16 02:13:23 ---> 9c6f07244728 02:13:23 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:23 ---> Running in 9ccda7eaf68d 02:13:23 Removing intermediate container 9ccda7eaf68d 02:13:23 ---> f0eb244d6f7c 02:13:23 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:13:23 ---> Running in 343c9b60acc4 02:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:23 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:13:23 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:13:23 (3/21) Installing readline (8.1.2-r0) 02:13:23 (4/21) Installing bash (5.1.16-r2) 02:13:23 Executing bash-5.1.16-r2.post-install 02:13:23 (5/21) Installing ca-certificates (20220614-r0) 02:13:23 (6/21) Installing brotli-libs (1.0.9-r6) 02:13:23 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:13:23 (8/21) Installing libcurl (7.83.1-r3) 02:13:23 (9/21) Installing curl (7.83.1-r3) 02:13:23 (10/21) Installing dumb-init (1.2.5-r1) 02:13:23 (11/21) Installing oniguruma (6.9.8-r0) 02:13:23 (12/21) Installing jq (1.6-r1) 02:13:23 (13/21) Installing popt (1.18-r0) 02:13:23 (14/21) Installing pcre (8.45-r2) 02:13:23 (15/21) Installing slang (2.3.2-r0) 02:13:23 (16/21) Installing newt (0.52.21-r2) 02:13:23 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:13:23 (18/21) Installing libsodium (1.0.18-r0) 02:13:23 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:23 (20/21) Installing libzmq (4.3.4-r0) 02:13:23 (21/21) Installing zeromq (4.3.4-r0) 02:13:23 Executing busybox-1.35.0-r17.trigger 02:13:23 Executing ca-certificates-20220614-r0.trigger 02:13:23 OK: 17 MiB in 35 packages 02:13:23 Removing intermediate container 343c9b60acc4 02:13:23 ---> 05f5bc2b65c0 02:13:23 Step 17/27 : WORKDIR / 02:13:23 ---> Running in aa2521006c85 02:13:23 Removing intermediate container aa2521006c85 02:13:23 ---> 7d35c3781f27 02:13:23 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:13:24 ---> 539224ecf128 02:13:24 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:24 ---> 8a257e9ed576 02:13:24 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:24 ---> 43303c8630c4 02:13:24 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:13:24 ---> 1f4db3876af2 02:13:24 Step 22/27 : EXPOSE 59984 02:13:24 ---> Running in 55bfb42815fd 02:13:25 Removing intermediate container 55bfb42815fd 02:13:25 ---> 65bc16a04d34 02:13:25 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:13:25 ---> Running in 6a60a7e0940a 02:13:25 Removing intermediate container 6a60a7e0940a 02:13:25 ---> 9a5382c431a1 02:13:25 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:25 ---> Running in f69dcc5f2078 02:13:25 Removing intermediate container f69dcc5f2078 02:13:25 ---> 9cacc42bcc8a 02:13:25 Step 25/27 : LABEL arch=amd64 02:13:25 ---> Running in a923a1e92303 02:13:25 Removing intermediate container a923a1e92303 02:13:25 ---> c33929bca547 02:13:25 Step 26/27 : LABEL git_sha=56ee218f541bcf25f6288b8561fa9a253b5c2639 02:13:25 ---> Running in 1d3e8a7ffd16 02:13:25 Removing intermediate container 1d3e8a7ffd16 02:13:25 ---> 4e7fc88d2c88 02:13:25 Step 27/27 : LABEL version=0.0.0 02:13:25 ---> Running in ea362c73d83d 02:13:25 Removing intermediate container ea362c73d83d 02:13:25 ---> c58f7cb086b2 02:13:25 [Warning] One or more build-args [ARCH] were not consumed 02:13:25 Successfully built c58f7cb086b2 02:13:25 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:25 02:13:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:26 latest: Pulling from edgex-lftools-log-publisher 02:13:26 5eb5b503b376: Pulling fs layer 02:13:26 5c69ac0246d0: Pulling fs layer 02:13:26 ec43610c2a17: Pulling fs layer 02:13:26 3a2ae6a8a46f: Pulling fs layer 02:13:26 33b1e0a273af: Pulling fs layer 02:13:26 5d3b04190fa2: Pulling fs layer 02:13:26 2f39f015ded8: Pulling fs layer 02:13:26 3a2ae6a8a46f: Waiting 02:13:26 33b1e0a273af: Waiting 02:13:26 5d3b04190fa2: Waiting 02:13:26 2f39f015ded8: Waiting 02:13:26 5c69ac0246d0: Download complete 02:13:26 3a2ae6a8a46f: Verifying Checksum 02:13:26 3a2ae6a8a46f: Download complete 02:13:26 33b1e0a273af: Download complete 02:13:26 5d3b04190fa2: Verifying Checksum 02:13:26 5d3b04190fa2: Download complete 02:13:26 ec43610c2a17: Download complete 02:13:26 5eb5b503b376: Verifying Checksum 02:13:26 5eb5b503b376: Download complete 02:13:27 2f39f015ded8: Download complete 02:13:27 5eb5b503b376: Pull complete 02:13:27 5c69ac0246d0: Pull complete 02:13:28 ec43610c2a17: Pull complete 02:13:28 3a2ae6a8a46f: Pull complete 02:13:28 33b1e0a273af: Pull complete 02:13:28 5d3b04190fa2: Pull complete 02:13:34 2f39f015ded8: Pull complete 02:13:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:34 prd-ubuntu20.04-docker-8c-8g-514 does not seem to be running inside a container 02:13:34 $ 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/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:37 $ docker top ab18086c821885b6d508a056546a4cf0a2879eaab354f41042af65350ccfbb71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:38 ---> job-cost.sh 02:13:38 lf-activate-venv: SKIPPING 02:13:38 INFO: No Stack... 02:13:38 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:38 INFO: Archiving Costs [Pipeline] sh 02:13:39 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 02:13:39 + cut -d, -f6 [Pipeline] lock 02:13:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] 02:13:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] did not exist. Created. 02:13:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:39 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:39 Stashed 1 file(s) [Pipeline] } 02:13:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:39 $ docker stop --time=1 ab18086c821885b6d508a056546a4cf0a2879eaab354f41042af65350ccfbb71 02:13:40 $ docker rm -f ab18086c821885b6d508a056546a4cf0a2879eaab354f41042af65350ccfbb71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:15:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-517 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 02:15:32 Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout 02:15:32 The recommended git tool is: git 02:15:38 using credential edgex-jenkins-ssh 02:15:38 Cloning the remote Git repository 02:15:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:15:38 > git init /w/workspace/device-onvif-camera/14 # timeout=10 02:15:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:38 > git --version # timeout=10 02:15:38 > git --version # 'git version 2.25.1' 02:15:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:38 Verifying host key using known hosts file 02:15:38 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. 02:15:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:40 Verifying host key using known hosts file 02:15:40 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. 02:15:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:15:41 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 02:15:42 Merge succeeded, producing f3595103bc07ebe8b23326f08c660f113c1e4c2e 02:15:42 Checking out Revision f3595103bc07ebe8b23326f08c660f113c1e4c2e (PR-125) 02:15:41 > git config core.sparsecheckout # timeout=10 02:15:41 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 02:15:41 > git remote # timeout=10 02:15:41 > git config --get remote.origin.url # timeout=10 02:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:41 Verifying host key using known hosts file 02:15:41 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. 02:15:41 > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 02:15:42 > git rev-parse HEAD^{commit} # timeout=10 02:15:42 > git config core.sparsecheckout # timeout=10 02:15:42 > git checkout -f f3595103bc07ebe8b23326f08c660f113c1e4c2e # timeout=10 02:15:45 Commit message: "Merge commit 'd3157763bdfd8f49e0a7266dceddd97d249ca275' into HEAD" 02:15:45 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:46 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:46 Dload Upload Total Spent Left Speed 02:15:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 02:15:45 > git rev-list --no-walk 27a02180d062f98e024e154abdcad3026828c88f # timeout=10 02:15:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:47 + sudo tee /etc/docker/daemon.new 02:15:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:47 { 02:15:47 "registry-mirrors": [ 02:15:47 "https://nexus3.edgexfoundry.org:10001" 02:15:47 ], 02:15:47 "bip": "10.250.0.254/24", 02:15:47 "hosts": [ 02:15:47 "tcp://0.0.0.0:5555", 02:15:47 "unix:///var/run/docker.sock" 02:15:47 ], 02:15:47 "mtu": 1458, 02:15:47 "selinux-enabled": true, 02:15:47 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:47 } [Pipeline] sh 02:15:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:06 provisioning config files... 02:16:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config410979095754980506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:07 ---> docker-login.sh 02:16:07 nexus3.edgexfoundry.org:10001 02:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 nexus3.edgexfoundry.org:10002 02:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 nexus3.edgexfoundry.org:10003 02:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 nexus3.edgexfoundry.org:10004 02:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:09 Configure a credential helper to remove this warning. See 02:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:09 02:16:09 Login Succeeded 02:16:09 docker.io 02:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:09 Configure a credential helper to remove this warning. See 02:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:09 02:16:09 Login Succeeded 02:16:09 ---> docker-login.sh ends [Pipeline] } 02:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:16:09 ========================================================= 02:16:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:16:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:16:10 Sending build context to Docker daemon 14.17MB 02:16:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 02:16:10 Step 2/13 : FROM ${BASE} AS builder 02:16:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:16:10 b3c136eddcbf: Pulling fs layer 02:16:10 c0a3192eca97: Pulling fs layer 02:16:10 a050256f5b6f: Pulling fs layer 02:16:10 656be50a0ddc: Pulling fs layer 02:16:10 2bbca73fdf42: Pulling fs layer 02:16:10 46d945488cbd: Pulling fs layer 02:16:10 8a5474983e97: Pulling fs layer 02:16:10 329c88fbcd65: Pulling fs layer 02:16:10 656be50a0ddc: Waiting 02:16:10 46d945488cbd: Waiting 02:16:10 8a5474983e97: Waiting 02:16:10 2bbca73fdf42: Waiting 02:16:10 329c88fbcd65: Waiting 02:16:10 a050256f5b6f: Download complete 02:16:10 c0a3192eca97: Verifying Checksum 02:16:10 c0a3192eca97: Download complete 02:16:10 2bbca73fdf42: Verifying Checksum 02:16:10 2bbca73fdf42: Download complete 02:16:11 46d945488cbd: Verifying Checksum 02:16:11 46d945488cbd: Download complete 02:16:11 b3c136eddcbf: Verifying Checksum 02:16:11 b3c136eddcbf: Download complete 02:16:12 b3c136eddcbf: Pull complete 02:16:12 329c88fbcd65: Verifying Checksum 02:16:12 329c88fbcd65: Download complete 02:16:12 c0a3192eca97: Pull complete 02:16:12 a050256f5b6f: Pull complete 02:16:13 8a5474983e97: Verifying Checksum 02:16:13 8a5474983e97: Download complete 02:16:14 656be50a0ddc: Verifying Checksum 02:16:14 656be50a0ddc: Download complete 02:16:26 656be50a0ddc: Pull complete 02:16:26 2bbca73fdf42: Pull complete 02:16:26 46d945488cbd: Pull complete 02:16:31 8a5474983e97: Pull complete 02:16:33 329c88fbcd65: Pull complete 02:16:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 02:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:16:33 ---> ff4287adb874 02:16:33 Step 3/13 : ARG MAKE="make build" 02:16:35 ---> Running in 0e6514a4634b 02:16:35 Removing intermediate container 0e6514a4634b 02:16:35 ---> c5778782908a 02:16:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:16:36 ---> Running in ae1ee9c24a4e 02:16:36 Removing intermediate container ae1ee9c24a4e 02:16:36 ---> 166a37e2bce7 02:16:36 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:16:36 ---> Running in 8ee8bbb00420 02:16:36 Removing intermediate container 8ee8bbb00420 02:16:36 ---> 2b548f0ca9e7 02:16:36 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:16:36 ---> Running in 9176aa49fd24 02:16:37 Removing intermediate container 9176aa49fd24 02:16:37 ---> e9ac44beb621 02:16:37 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:16:37 ---> Running in a607f1f09525 02:16:39 Removing intermediate container a607f1f09525 02:16:39 ---> 23ed3a938392 02:16:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:39 ---> Running in 37a1b011d5cc 02:16:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:16:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:16:41 OK: 221 MiB in 51 packages 02:16:42 Removing intermediate container 37a1b011d5cc 02:16:42 ---> ccd4bfb3e5dc 02:16:42 Step 9/13 : WORKDIR /device-onvif-camera 02:16:42 ---> Running in 39dba16fbee5 02:16:42 Removing intermediate container 39dba16fbee5 02:16:42 ---> b06ac4335042 02:16:42 Step 10/13 : COPY go.mod vendor* ./ 02:16:43 ---> 3e1e7b8d7a89 02:16:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:43 ---> Running in bf46eb44be3e 02:17:39 Removing intermediate container bf46eb44be3e 02:17:39 ---> 8aa7dd9b40ce 02:17:39 Step 12/13 : COPY . . 02:17:39 ---> 4a85daf20da4 02:17:39 Step 13/13 : RUN ${MAKE} 02:17:39 ---> Running in 7abc11647b5b 02:17:39 noop 02:17:39 Removing intermediate container 7abc11647b5b 02:17:39 ---> 946e3efbe5dc 02:17:39 Successfully built 946e3efbe5dc 02:17:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:40 + docker inspect -f . ci-base-image-arm64 02:17:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:40 prd-ubuntu20.04-docker-arm64-4c-16g-517 does not seem to be running inside a container 02:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:41 $ docker top 8490b04d0eeb3bc5df2fb44096117e6e3d87a3736c63fecf25031e36e664fd13 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:42 + go version 02:17:42 go version go1.18.3 linux/arm64 [Pipeline] } 02:17:42 $ docker stop --time=1 8490b04d0eeb3bc5df2fb44096117e6e3d87a3736c63fecf25031e36e664fd13 02:17:44 $ docker rm -f 8490b04d0eeb3bc5df2fb44096117e6e3d87a3736c63fecf25031e36e664fd13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:44 + docker inspect -f . ci-base-image-arm64 02:17:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:45 prd-ubuntu20.04-docker-arm64-4c-16g-517 does not seem to be running inside a container 02:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:46 $ docker top 1d1debc4d4382882a2b680e05f752b37386136bbc0586573e5d5dc80f64491de -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/14 [Pipeline] fileExists [Pipeline] sh 02:17:47 + make test 02:17:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:19:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:19:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.225s coverage: 28.6% of statements 02:19:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:19:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.807s coverage: 86.5% of statements 02:19:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:19:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:20:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:20:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:20:27 ./bin/test-attribution-txt.sh [Pipeline] echo 02:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:20:28 $ docker stop --time=1 1d1debc4d4382882a2b680e05f752b37386136bbc0586573e5d5dc80f64491de 02:20:30 $ docker rm -f 1d1debc4d4382882a2b680e05f752b37386136bbc0586573e5d5dc80f64491de [Pipeline] // withDockerContainer [Pipeline] sh 02:20:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:20:31 Warning: overwriting stash ‘coverage-report’ 02:20:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:20:32 + ls -al . 02:20:32 total 232 02:20:32 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 02:17 . 02:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:15 .. 02:20:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 02:15 .git 02:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 02:15 .github 02:20:32 -rw-rw-r-- 1 jenkins jenkins 418 Sep 22 02:15 .gitignore 02:20:32 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 02:15 .golangci.yml 02:20:32 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 22 02:15 Attribution.txt 02:20:32 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 22 02:15 CHANGELOG.md 02:20:32 -rw-rw-r-- 1 jenkins jenkins 1742 Sep 22 02:15 Dockerfile 02:20:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 02:15 GOVERNANCE.md 02:20:32 -rw-rw-r-- 1 jenkins jenkins 734 Sep 22 02:15 Jenkinsfile 02:20:32 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 22 02:15 LICENSE 02:20:32 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 22 02:15 Makefile 02:20:32 -rw-rw-r-- 1 jenkins jenkins 625 Sep 22 02:15 OWNERS.md 02:20:32 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 22 02:15 README.md 02:20:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 02:11 VERSION 02:20:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 02:15 bin 02:20:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 02:15 cmd 02:20:32 -rw-r--r-- 1 jenkins jenkins 79818 Sep 22 02:19 coverage.out 02:20:32 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 02:15 doc 02:20:32 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 22 02:15 go.mod 02:20:32 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 22 02:15 go.sum 02:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:15 internal 02:20:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 02:15 snap 02:20:32 -rw-rw-r-- 1 jenkins jenkins 236 Sep 22 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:33 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f3595103bc07ebe8b23326f08c660f113c1e4c2e --label arch=arm64 --label version=0.0.0 . 02:20:33 Sending build context to Docker daemon 14.25MB 02:20:33 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:20:33 Step 2/27 : FROM ${BASE} AS builder 02:20:33 ---> 946e3efbe5dc 02:20:33 Step 3/27 : ARG MAKE="make build" 02:20:34 ---> Running in 2842a3fbf011 02:20:35 Removing intermediate container 2842a3fbf011 02:20:35 ---> 1e69e9082817 02:20:35 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:20:35 ---> Running in b33eca7b6113 02:20:36 Removing intermediate container b33eca7b6113 02:20:36 ---> 3a85862b9c16 02:20:36 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 02:20:36 ---> Running in 8db819a5bf03 02:20:36 Removing intermediate container 8db819a5bf03 02:20:36 ---> ad65d4abf0c7 02:20:36 Step 6/27 : LABEL Name=edgex-device-onvif-camera 02:20:36 ---> Running in a95156a98136 02:20:38 Removing intermediate container a95156a98136 02:20:38 ---> aac513962d04 02:20:38 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:20:38 ---> Running in 46e36dca8541 02:20:41 Removing intermediate container 46e36dca8541 02:20:41 ---> 9a53c78e9df4 02:20:41 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:20:41 ---> Running in 980dc0912f36 02:20:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:20:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:20:46 OK: 221 MiB in 51 packages 02:20:47 Removing intermediate container 980dc0912f36 02:20:47 ---> 2be41f1f7723 02:20:47 Step 9/27 : WORKDIR /device-onvif-camera 02:20:47 ---> Running in 27b1e3658d76 02:20:47 Removing intermediate container 27b1e3658d76 02:20:47 ---> 5aaffebe729b 02:20:47 Step 10/27 : COPY go.mod vendor* ./ 02:20:48 ---> dcfb36d8fd34 02:20:48 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:48 ---> Running in ea1116f164aa 02:20:50 Removing intermediate container ea1116f164aa 02:20:50 ---> b2d0467769f3 02:20:50 Step 12/27 : COPY . . 02:20:52 ---> e78278ad1ba7 02:20:52 Step 13/27 : RUN ${MAKE} 02:20:52 ---> Running in 61960692d4da 02:20:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:23:30 Removing intermediate container 61960692d4da 02:23:30 ---> eb1f18b8f2b8 02:23:30 Step 14/27 : FROM alpine:3.16 02:23:30 3.16: Pulling from library/alpine 02:23:30 9b18e9b68314: Pulling fs layer 02:23:30 9b18e9b68314: Verifying Checksum 02:23:30 9b18e9b68314: Download complete 02:23:30 9b18e9b68314: Pull complete 02:23:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:23:30 Status: Downloaded newer image for alpine:3.16 02:23:30 ---> a6215f271958 02:23:30 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:23:30 ---> Running in fc87c5c31df2 02:23:30 Removing intermediate container fc87c5c31df2 02:23:30 ---> 0a1c0a7c3da8 02:23:30 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:23:30 ---> Running in a23e83a8dbe8 02:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:23:30 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:23:30 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:23:30 (3/21) Installing readline (8.1.2-r0) 02:23:30 (4/21) Installing bash (5.1.16-r2) 02:23:30 Executing bash-5.1.16-r2.post-install 02:23:30 (5/21) Installing ca-certificates (20220614-r0) 02:23:30 (6/21) Installing brotli-libs (1.0.9-r6) 02:23:30 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:23:30 (8/21) Installing libcurl (7.83.1-r3) 02:23:30 (9/21) Installing curl (7.83.1-r3) 02:23:30 (10/21) Installing dumb-init (1.2.5-r1) 02:23:30 (11/21) Installing oniguruma (6.9.8-r0) 02:23:30 (12/21) Installing jq (1.6-r1) 02:23:30 (13/21) Installing popt (1.18-r0) 02:23:30 (14/21) Installing pcre (8.45-r2) 02:23:30 (15/21) Installing slang (2.3.2-r0) 02:23:30 (16/21) Installing newt (0.52.21-r2) 02:23:30 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:23:30 (18/21) Installing libsodium (1.0.18-r0) 02:23:30 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:23:30 (20/21) Installing libzmq (4.3.4-r0) 02:23:30 (21/21) Installing zeromq (4.3.4-r0) 02:23:30 Executing busybox-1.35.0-r17.trigger 02:23:30 Executing ca-certificates-20220614-r0.trigger 02:23:30 OK: 16 MiB in 35 packages 02:23:30 Removing intermediate container a23e83a8dbe8 02:23:30 ---> 35ed3a32680a 02:23:30 Step 17/27 : WORKDIR / 02:23:30 ---> Running in 79e7493f926b 02:23:30 Removing intermediate container 79e7493f926b 02:23:30 ---> d7b84b092a6f 02:23:30 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 02:23:30 ---> b35375e84057 02:23:30 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:23:30 ---> 0a5a27dacf35 02:23:30 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:23:30 ---> d02eadcfa854 02:23:30 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:23:30 ---> 301f0a5ad0c8 02:23:30 Step 22/27 : EXPOSE 59984 02:23:30 ---> Running in 8145d85a58f3 02:23:30 Removing intermediate container 8145d85a58f3 02:23:30 ---> 4f547f2f2938 02:23:30 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:23:30 ---> Running in e855ebe6dc53 02:23:30 Removing intermediate container e855ebe6dc53 02:23:30 ---> 0ea4801eb645 02:23:30 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:23:30 ---> Running in d2736b49a3d9 02:23:30 Removing intermediate container d2736b49a3d9 02:23:30 ---> a5868e4a2b4d 02:23:30 Step 25/27 : LABEL arch=arm64 02:23:30 ---> Running in 239bdf95d524 02:23:30 Removing intermediate container 239bdf95d524 02:23:30 ---> d7e352af8a13 02:23:30 Step 26/27 : LABEL git_sha=f3595103bc07ebe8b23326f08c660f113c1e4c2e 02:23:30 ---> Running in 102f6fa94122 02:23:30 Removing intermediate container 102f6fa94122 02:23:30 ---> 9cbda614154b 02:23:30 Step 27/27 : LABEL version=0.0.0 02:23:30 ---> Running in b11bcc4b961c 02:23:30 Removing intermediate container b11bcc4b961c 02:23:30 ---> 17116dff21d5 02:23:30 [Warning] One or more build-args [ARCH] were not consumed 02:23:30 Successfully built 17116dff21d5 02:23:30 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:30 02:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:31 arm64: Pulling from edgex-lftools-log-publisher 02:23:31 8998bd30e6a1: Pulling fs layer 02:23:31 04944245beec: Pulling fs layer 02:23:31 699f458cf7ca: Pulling fs layer 02:23:31 765212b225bb: Pulling fs layer 02:23:31 f23df028b6ca: Pulling fs layer 02:23:31 d65c8cfc05b1: Pulling fs layer 02:23:31 2437ff75d9bd: Pulling fs layer 02:23:31 f23df028b6ca: Waiting 02:23:31 d65c8cfc05b1: Waiting 02:23:31 2437ff75d9bd: Waiting 02:23:31 765212b225bb: Waiting 02:23:31 04944245beec: Verifying Checksum 02:23:31 04944245beec: Download complete 02:23:31 765212b225bb: Download complete 02:23:31 f23df028b6ca: Verifying Checksum 02:23:31 f23df028b6ca: Download complete 02:23:31 d65c8cfc05b1: Verifying Checksum 02:23:31 d65c8cfc05b1: Download complete 02:23:31 699f458cf7ca: Verifying Checksum 02:23:31 699f458cf7ca: Download complete 02:23:32 8998bd30e6a1: Verifying Checksum 02:23:32 8998bd30e6a1: Download complete 02:23:34 2437ff75d9bd: Verifying Checksum 02:23:34 2437ff75d9bd: Download complete 02:23:35 8998bd30e6a1: Pull complete 02:23:36 04944245beec: Pull complete 02:23:37 699f458cf7ca: Pull complete 02:23:37 765212b225bb: Pull complete 02:23:38 f23df028b6ca: Pull complete 02:23:38 d65c8cfc05b1: Pull complete 02:23:53 2437ff75d9bd: Pull complete 02:23:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-517 does not seem to be running inside a container 02:23:53 $ 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-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:23:56 $ docker top 253d78411bbe0f829a322f2c00c78dfbbb47c9362a0d52fe8fe5bf9915d26c92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:56 ---> job-cost.sh 02:23:57 lf-activate-venv: SKIPPING 02:23:57 INFO: No Stack... 02:23:57 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:58 INFO: Archiving Costs [Pipeline] sh 02:23:59 + cat /w/workspace/device-onvif-camera/14/archives/cost.csv 02:23:59 + cut -d, -f6 [Pipeline] lock 02:23:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] 02:23:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] did not exist. Created. 02:23:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:59 /w/workspace/device-onvif-camera/14@tmp/durable-07904d25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:59 + echo total: 0.10999999940395355 [Pipeline] stash 02:24:00 Warning: overwriting stash ‘stack-cost’ 02:24:00 Stashed 1 file(s) [Pipeline] } 02:24:00 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-14-stack-cost] [Pipeline] // lock [Pipeline] } 02:24:00 $ docker stop --time=1 253d78411bbe0f829a322f2c00c78dfbbb47c9362a0d52fe8fe5bf9915d26c92 02:24:01 $ docker rm -f 253d78411bbe0f829a322f2c00c78dfbbb47c9362a0d52fe8fe5bf9915d26c92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:24:02 provisioning config files... 02:24:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config15639544979518401179tmp [Pipeline] { [Pipeline] sh 02:24:02 + set +x 02:24:02 + curl -s https://codecov.io/bash 02:24:02 + bash -s -- 02:24:02 02:24:02 _____ _ 02:24:02 / ____| | | 02:24:02 | | ___ __| | ___ ___ _____ __ 02:24:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:24:02 | |___| (_) | (_| | __/ (_| (_) \ V / 02:24:02 \_____\___/ \__,_|\___|\___\___/ \_/ 02:24:02 Bash-1.0.6 02:24:02 02:24:02 02:24:02 ==> git version 2.25.1 found 02:24:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:24:02 Release-Date: 2020-01-08 02:24:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:24:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:24:02 ==> Jenkins CI detected. 02:24:02 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 02:24:02 project root: . 02:24:02 --> token set from env 02:24:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:24:02 ==> Running gcov in . (disable via -X gcov) 02:24:02 ==> Python coveragepy not found 02:24:02 ==> Searching for coverage reports in: 02:24:02 + . 02:24:02 -> Found 1 reports 02:24:02 ==> Detecting git/mercurial file structure 02:24:02 ==> Reading reports 02:24:02 + ./coverage.out bytes=79818 02:24:02 ==> Appending adjustments 02:24:02 https://docs.codecov.io/docs/fixing-reports 02:24:02 + Found adjustments 02:24:02 ==> Gzipping contents 02:24:02 12K /tmp/codecov.3n1flu.gz 02:24:02 ==> Uploading reports 02:24:02 url: https://codecov.io 02:24:02 query: branch=PR-125&commit=56ee218f541bcf25f6288b8561fa9a253b5c2639&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:24:02 -> Pinging Codecov 02:24:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=56ee218f541bcf25f6288b8561fa9a253b5c2639&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:24:03 -> Uploading to 02:24:03 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/F29A59C45E3A92E06B3E522C9905F8EF/56ee218f541bcf25f6288b8561fa9a253b5c2639/d207ac32-17e7-4944-b841-e132f640fbc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T022402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4be6faf00898cc8a5876eaa004642eec633c069881d400b285cb5ee9b612d5f8 02:24:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:24:03 Dload Upload Total Spent Left Speed 02:24:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10987 0 0 100 10987 0 44481 --:--:-- --:--:-- --:--:-- 44481 02:24:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/56ee218f541bcf25f6288b8561fa9a253b5c2639 [Pipeline] } 02:24:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:24:03 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 02:24:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:24:03 total 16 02:24:03 drwxr-xr-x 3 root root 4096 Sep 22 02:13 . 02:24:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 02:13 .. 02:24:03 drwxr-xr-x 2 root root 4096 Sep 22 02:13 cost 02:24:03 -rw-r--r-- 1 root root 92 Sep 22 02:13 cost.csv 02:24:03 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 02:24:03 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:24:03 total 16 02:24:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 02:13 . 02:24:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 02:13 .. 02:24:03 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 02:13 cost 02:24:03 -rw-r--r-- 1 jenkins jenkins 92 Sep 22 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:24:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:24:04 ---> package-listing.sh 02:24:04 ++ facter osfamily 02:24:04 ++ tr '[:upper:]' '[:lower:]' 02:24:05 + OS_FAMILY=debian 02:24:05 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 02:24:05 + START_PACKAGES=/tmp/packages_start.txt 02:24:05 + END_PACKAGES=/tmp/packages_end.txt 02:24:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:24:05 + PACKAGES=/tmp/packages_start.txt 02:24:05 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:24:05 + PACKAGES=/tmp/packages_end.txt 02:24:05 + case "${OS_FAMILY}" in 02:24:05 + dpkg -l 02:24:05 + grep '^ii' 02:24:05 + '[' -f /tmp/packages_start.txt ']' 02:24:05 + '[' -f /tmp/packages_end.txt ']' 02:24:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:24:05 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:24:05 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 02:24:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 02:24:05 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/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:24:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:24:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:06 prd-ubuntu20.04-docker-8c-8g-514 does not seem to be running inside a container 02:24:06 $ 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/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:24:06 $ docker top 368a1ed370da64a98d771ee8f8bfaa83f63d6bae5b1f19707e0295fe42257063 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:06 + touch /tmp/pre-build-complete [Pipeline] sh 02:24:07 + mkdir -p /var/log/sysstat [Pipeline] sh 02:24:07 + ls /var/log/sa-host 02:24:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:07 provisioning config files... 02:24:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14210527089829901645tmp [Pipeline] { [Pipeline] echo 02:24:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:24:07 ---> create-netrc.sh [Pipeline] } 02:24:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:24:08 ---> python-tools-install.sh [Pipeline] echo 02:24:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:24:08 ---> sudo-logs.sh 02:24:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:24:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:24:08 ---> job-cost.sh 02:24:08 lf-activate-venv: SKIPPING 02:24:08 DEBUG: total: 0.2199999988079071 02:24:08 INFO: Retrieving Stack Cost... 02:24:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:24:09 INFO: Archiving Costs [Pipeline] echo 02:24:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:24:10 ---> logs-deploy.sh 02:24:10 lf-activate-venv: SKIPPING 02:24:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/14 02:24:10 INFO: archiving workspace using pattern(s): 02:24:11 Archives upload complete. 02:24:11 INFO: archiving logs to Nexus 02:24:11 ---> uname -a: 02:24:11 Linux prd-ubuntu20-04-docker-8c-8g-514 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:24:11 02:24:11 02:24:11 ---> lscpu: 02:24:11 Architecture: x86_64 02:24:11 CPU op-mode(s): 32-bit, 64-bit 02:24:11 Byte Order: Little Endian 02:24:11 Address sizes: 40 bits physical, 48 bits virtual 02:24:11 CPU(s): 8 02:24:11 On-line CPU(s) list: 0-7 02:24:11 Thread(s) per core: 1 02:24:11 Core(s) per socket: 1 02:24:11 Socket(s): 8 02:24:11 NUMA node(s): 1 02:24:11 Vendor ID: AuthenticAMD 02:24:11 CPU family: 23 02:24:11 Model: 49 02:24:11 Model name: AMD EPYC-Rome Processor 02:24:11 Stepping: 0 02:24:11 CPU MHz: 2799.998 02:24:11 BogoMIPS: 5599.99 02:24:11 Virtualization: AMD-V 02:24:11 Hypervisor vendor: KVM 02:24:11 Virtualization type: full 02:24:11 L1d cache: 256 KiB 02:24:11 L1i cache: 256 KiB 02:24:11 L2 cache: 4 MiB 02:24:11 L3 cache: 128 MiB 02:24:11 NUMA node0 CPU(s): 0-7 02:24:11 Vulnerability Itlb multihit: Not affected 02:24:11 Vulnerability L1tf: Not affected 02:24:11 Vulnerability Mds: Not affected 02:24:11 Vulnerability Meltdown: Not affected 02:24:11 Vulnerability Mmio stale data: Not affected 02:24:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:24:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:24:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:24:11 Vulnerability Srbds: Not affected 02:24:11 Vulnerability Tsx async abort: Not affected 02:24:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:24:11 02:24:11