Pull request #174 updated 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 66447988b5970b64981174d7c941281712afb8e7 rather than b97ce1133f5971d6dce92a429640f3712fec6155 Obtained Jenkinsfile from 66447988b5970b64981174d7c941281712afb8e7 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-ssh3052885948995156268.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-ssh8830352188769951900.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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1287230423630022341.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-ssh16221063743216213343.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18230562062256421604.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-7746’ Running on prd-ubuntu20.04-docker-8c-8g-7748 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # 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 Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit b97ce1133f5971d6dce92a429640f3712fec6155 Merge succeeded, producing 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 Checking out Revision 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 (PR-174) > 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b97ce1133f5971d6dce92a429640f3712fec6155 # 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 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 # timeout=10 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:49:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:49:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:49:32 ========================================================= 12:49:32 EdgeX Global Pipelines Version Info 12:49:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e62772acba2629e5e85c07c20038cd47759a26e9 # timeout=10 12:49:32 ------------------- 12:49:32 stable info: 12:49:32 ------------------- 12:49:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:49:32 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:49:32 Message: update stable to v1.0.239 12:49:33 ------------------- 12:49:33 experimental info: 12:49:33 ------------------- 12:49:33 Commited By: **** collab-it+edgex@linuxfoundation.org 12:49:33 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:49:33 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:49:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ae89fe [Pipeline] echo 12:49:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:49:34 provisioning config files... 12:49:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config14077336302670139736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:34 ---> docker-login.sh 12:49:34 nexus3.edgexfoundry.org:10001 12:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:34 Configure a credential helper to remove this warning. See 12:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:34 12:49:34 Login Succeeded 12:49:34 nexus3.edgexfoundry.org:10002 12:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:35 Configure a credential helper to remove this warning. See 12:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:35 12:49:35 Login Succeeded 12:49:35 nexus3.edgexfoundry.org:10003 12:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:35 Configure a credential helper to remove this warning. See 12:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:35 12:49:35 Login Succeeded 12:49:35 nexus3.edgexfoundry.org:10004 12:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:35 Configure a credential helper to remove this warning. See 12:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:35 12:49:35 Login Succeeded 12:49:35 docker.io 12:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:35 Configure a credential helper to remove this warning. See 12:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:35 12:49:35 Login Succeeded 12:49:35 ---> docker-login.sh ends [Pipeline] } 12:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:49:35 + git rev-list -1 --merges 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87~1..4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo 12:49:35 -----------> git rev-list -1 --merges 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87~1..4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 12:49:35 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [false] [Pipeline] sh 12:49:36 + git log --format=format:%s -1 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo 12:49:36 ========================================================= 12:49:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:49:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:49:36 + git log --format=format:%s -1 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo 12:49:36 [semverPrep] GIT_COMMIT: 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87, Commit Message: Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD [Pipeline] echo 12:49:36 [semverPrep] This is not a build commit. [Pipeline] sh 12:49:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:49:36 + grep -v github /etc/ssh/ssh_known_hosts 12:49:36 + [ -e /tmp/ssh_known_hosts ] 12:49:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:49:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:49:36 + sudo tee -a /etc/ssh/ssh_known_hosts 12:49:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:49:37 12:49:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:49:37 0.1.4: Pulling from edgex-devops/py-git-semver 12:49:37 b85a868b505f: Pulling fs layer 12:49:37 e2be974225ed: Pulling fs layer 12:49:37 339a4e72a1f5: Pulling fs layer 12:49:37 988bab9f4d93: Pulling fs layer 12:49:37 1469e6f7b9e6: Pulling fs layer 12:49:37 eaf3925da568: Pulling fs layer 12:49:37 bab4dde63d76: Pulling fs layer 12:49:37 bde34c3a00c8: Pulling fs layer 12:49:37 b352a97aabf1: Pulling fs layer 12:49:37 4872d77fe225: Pulling fs layer 12:49:37 5851b861e8e6: Pulling fs layer 12:49:37 1469e6f7b9e6: Waiting 12:49:37 988bab9f4d93: Waiting 12:49:37 b352a97aabf1: Waiting 12:49:37 eaf3925da568: Waiting 12:49:37 bde34c3a00c8: Waiting 12:49:37 bab4dde63d76: Waiting 12:49:37 4872d77fe225: Waiting 12:49:37 e2be974225ed: Download complete 12:49:37 988bab9f4d93: Download complete 12:49:37 1469e6f7b9e6: Verifying Checksum 12:49:37 1469e6f7b9e6: Download complete 12:49:37 339a4e72a1f5: Verifying Checksum 12:49:37 339a4e72a1f5: Download complete 12:49:37 eaf3925da568: Verifying Checksum 12:49:37 eaf3925da568: Download complete 12:49:37 bde34c3a00c8: Download complete 12:49:37 b352a97aabf1: Download complete 12:49:37 4872d77fe225: Verifying Checksum 12:49:37 4872d77fe225: Download complete 12:49:37 5851b861e8e6: Download complete 12:49:37 b85a868b505f: Verifying Checksum 12:49:37 b85a868b505f: Download complete 12:49:38 bab4dde63d76: Verifying Checksum 12:49:38 bab4dde63d76: Download complete 12:49:39 b85a868b505f: Pull complete 12:49:39 e2be974225ed: Pull complete 12:49:39 339a4e72a1f5: Pull complete 12:49:39 988bab9f4d93: Pull complete 12:49:40 1469e6f7b9e6: Pull complete 12:49:40 eaf3925da568: Pull complete 12:49:42 bab4dde63d76: Pull complete 12:49:42 bde34c3a00c8: Pull complete 12:49:42 b352a97aabf1: Pull complete 12:49:42 4872d77fe225: Pull complete 12:49:42 5851b861e8e6: Pull complete 12:49:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:49:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:42 prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container 12:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:49:45 $ docker top 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 -eo pid,comm 12:49:45 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). 12:49:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:49:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:49:45 [ssh-agent] Looking for ssh-agent implementation... 12:49:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:49:45 $ docker exec 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent 12:49:45 SSH_AUTH_SOCK=/tmp/ssh-NMkHvqc8AALN/agent.32 12:49:45 SSH_AGENT_PID=38 12:49:46 Running ssh-add (command line suppressed) 12:49:46 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2203305215344222840.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2203305215344222840.key) 12:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:49:46 + git tag --points-at HEAD [Pipeline] } 12:49:46 $ docker exec --env ******** --env ******** 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent -k 12:49:46 unset SSH_AUTH_SOCK; 12:49:46 unset SSH_AGENT_PID; 12:49:46 echo Agent pid 38 killed; 12:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:49:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:49:46 [ssh-agent] Looking for ssh-agent implementation... 12:49:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:49:46 $ docker exec 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent 12:49:46 SSH_AUTH_SOCK=/tmp/ssh-kIC6MZIZCtqa/agent.70 12:49:46 SSH_AGENT_PID=76 12:49:46 Running ssh-add (command line suppressed) 12:49:46 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_508223548998518059.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_508223548998518059.key) 12:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:49:47 + git semver init 12:49:47 2022-10-12 12:49:47,365 [run_init] DEBUG init version:0.0.0 force:False 12:49:47 2022-10-12 12:49:47,365 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 12:49:47 2022-10-12 12:49:47,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 12:49:47 2022-10-12 12:49:47,366 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) 12:49:48 2022-10-12 12:49:48,391 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 12:49:48 2022-10-12 12:49:48,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 12:49:48 2022-10-12 12:49:48,392 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 12:49:48 2022-10-12 12:49:48,396 [execute] INFO git cat-file --batch-check 12:49:48 2022-10-12 12:49:48,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 12:49:48 2022-10-12 12:49:48,403 [execute] INFO git cat-file --batch 12:49:48 2022-10-12 12:49:48,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 12:49:48 2022-10-12 12:49:48,408 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 12:49:48 0.0.0 [Pipeline] } 12:49:48 $ docker exec --env ******** --env ******** 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent -k 12:49:48 unset SSH_AUTH_SOCK; 12:49:48 unset SSH_AGENT_PID; 12:49:48 echo Agent pid 76 killed; 12:49:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:49:49 + git semver [Pipeline] } 12:49:49 $ docker stop --time=1 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 12:49:50 $ docker rm -f 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 [Pipeline] // withDockerContainer [Pipeline] sh 12:49:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:49:51 Stashed 1 file(s) [Pipeline] echo 12:49:51 [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 12:49:51 provisioning config files... 12:49:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config5108073051661019014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:51 ---> docker-login.sh 12:49:51 nexus3.edgexfoundry.org:10001 12:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:51 Configure a credential helper to remove this warning. See 12:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:51 12:49:51 Login Succeeded 12:49:51 nexus3.edgexfoundry.org:10002 12:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:51 Configure a credential helper to remove this warning. See 12:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:51 12:49:51 Login Succeeded 12:49:51 nexus3.edgexfoundry.org:10003 12:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:52 Configure a credential helper to remove this warning. See 12:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:52 12:49:52 Login Succeeded 12:49:52 nexus3.edgexfoundry.org:10004 12:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:52 Configure a credential helper to remove this warning. See 12:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:52 12:49:52 Login Succeeded 12:49:52 docker.io 12:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:52 Configure a credential helper to remove this warning. See 12:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:52 12:49:52 Login Succeeded 12:49:52 ---> docker-login.sh ends [Pipeline] } 12:49:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:49:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:52 ========================================================= 12:49:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:49:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:53 + 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 . 12:49:53 Sending build context to Docker daemon 21.32MB 12:49:53 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 12:49:53 Step 2/14 : FROM ${BASE} AS builder 12:49:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:49:53 213ec9aee27d: Pulling fs layer 12:49:53 4583459ba037: Pulling fs layer 12:49:53 93c1e223e6f2: Pulling fs layer 12:49:53 53926ce57604: Pulling fs layer 12:49:53 21b2b0c7a3f4: Pulling fs layer 12:49:53 30f14e443154: Pulling fs layer 12:49:53 801331c1e519: Pulling fs layer 12:49:53 99cc6dd402b0: Pulling fs layer 12:49:53 7d9ed39f4882: Pulling fs layer 12:49:53 21b2b0c7a3f4: Waiting 12:49:53 30f14e443154: Waiting 12:49:53 801331c1e519: Waiting 12:49:53 99cc6dd402b0: Waiting 12:49:53 7d9ed39f4882: Waiting 12:49:53 53926ce57604: Waiting 12:49:53 93c1e223e6f2: Verifying Checksum 12:49:53 93c1e223e6f2: Download complete 12:49:53 4583459ba037: Download complete 12:49:53 21b2b0c7a3f4: Verifying Checksum 12:49:53 21b2b0c7a3f4: Download complete 12:49:53 30f14e443154: Verifying Checksum 12:49:53 30f14e443154: Download complete 12:49:53 213ec9aee27d: Verifying Checksum 12:49:53 213ec9aee27d: Download complete 12:49:53 801331c1e519: Verifying Checksum 12:49:53 801331c1e519: Download complete 12:49:53 213ec9aee27d: Pull complete 12:49:53 4583459ba037: Pull complete 12:49:53 93c1e223e6f2: Pull complete 12:49:54 7d9ed39f4882: Verifying Checksum 12:49:54 7d9ed39f4882: Download complete 12:49:54 53926ce57604: Verifying Checksum 12:49:54 53926ce57604: Download complete 12:49:54 99cc6dd402b0: Verifying Checksum 12:49:54 99cc6dd402b0: Download complete 12:49:57 53926ce57604: Pull complete 12:49:57 21b2b0c7a3f4: Pull complete 12:49:57 30f14e443154: Pull complete 12:49:57 801331c1e519: Pull complete 12:49:59 99cc6dd402b0: Pull complete 12:50:00 7d9ed39f4882: Pull complete 12:50:00 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 12:50:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:50:00 ---> 1dedd983c030 12:50:00 Step 3/14 : ARG ADD_BUILD_TAGS="" 12:50:06 Still waiting to schedule task 12:50:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:50:07 ---> Running in f54ad41a8af2 12:50:07 Removing intermediate container f54ad41a8af2 12:50:07 ---> e2b94a0f223e 12:50:07 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:08 ---> Running in 22a0e87fa0bf 12:50:08 Removing intermediate container 22a0e87fa0bf 12:50:08 ---> 44d35641e481 12:50:08 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:50:08 ---> Running in 62f1d29661a1 12:50:08 Removing intermediate container 62f1d29661a1 12:50:08 ---> 2f522b55dbc6 12:50:08 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 12:50:09 ---> Running in 22e0b6000ef6 12:50:09 Removing intermediate container 22e0b6000ef6 12:50:09 ---> 78dedcb9175c 12:50:09 Step 7/14 : LABEL Name=edgex-device-onvif-camera 12:50:09 ---> Running in 5ff539bf202a 12:50:09 Removing intermediate container 5ff539bf202a 12:50:09 ---> 4d19a3de7b35 12:50:09 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:50:09 ---> Running in 72babcfaf7d6 12:50:10 Removing intermediate container 72babcfaf7d6 12:50:10 ---> 47f23f38c4b1 12:50:10 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:50:10 ---> Running in 7d6c3ecb04dd 12:50:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:50:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:50:11 OK: 211 MiB in 51 packages 12:50:12 Removing intermediate container 7d6c3ecb04dd 12:50:12 ---> 8072d8e3b1b3 12:50:12 Step 10/14 : WORKDIR /device-onvif-camera 12:50:12 ---> Running in 5420402563f9 12:50:12 Removing intermediate container 5420402563f9 12:50:12 ---> ed17eda9d4a2 12:50:12 Step 11/14 : COPY go.mod vendor* ./ 12:50:12 ---> 9942e971afb2 12:50:12 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:50:12 ---> Running in 4e7d4b5c0227 12:50:39 Removing intermediate container 4e7d4b5c0227 12:50:39 ---> ea82bfe62ced 12:50:39 Step 13/14 : COPY . . 12:50:39 ---> d926330bbcac 12:50:39 Step 14/14 : RUN ${MAKE} 12:50:39 ---> Running in 86ed6db6c872 12:50:39 noop 12:50:39 Removing intermediate container 86ed6db6c872 12:50:39 ---> 9124a654f635 12:50:39 Successfully built 9124a654f635 12:50:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:39 + docker inspect -f . ci-base-image-x86_64 12:50:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:39 prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container 12:50:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 ******** ci-base-image-x86_64 cat 12:50:40 $ docker top 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:40 + go version 12:50:40 go version go1.18.7 linux/amd64 [Pipeline] } 12:50:40 $ docker stop --time=1 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 12:50:41 $ docker rm -f 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:42 + docker inspect -f . ci-base-image-x86_64 12:50:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:42 prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container 12:50:42 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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 ******** ci-base-image-x86_64 cat 12:50:42 $ docker top 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:43 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 12:50:43 + make test 12:50:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:50:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 12:50:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 12:50:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 12:50:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 12:50:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.294s coverage: 86.5% of statements 12:51:01 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." 12:51:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:51:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:51:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:51:04 ./bin/test-attribution-txt.sh [Pipeline] echo 12:51:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:51:04 $ docker stop --time=1 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d 12:51:08 $ docker rm -f 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d [Pipeline] // withDockerContainer [Pipeline] sh 12:51:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:51:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:51:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:51:09 + ls -al . 12:51:09 total 236 12:51:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 12:50 . 12:51:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 .. 12:51:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 12:50 .git 12:51:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:49 .github 12:51:09 -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 12:49 .gitignore 12:51:09 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 12:49 .golangci.yml 12:51:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 12:49 .semver 12:51:09 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 12:49 Attribution.txt 12:51:09 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 12:49 CHANGELOG.md 12:51:09 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 12:49 Dockerfile 12:51:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 12:49 GOVERNANCE.md 12:51:09 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 12:49 Jenkinsfile 12:51:09 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 12:49 LICENSE 12:51:09 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 12:49 Makefile 12:51:09 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 12:49 OWNERS.md 12:51:09 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 12:49 README.md 12:51:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 12:49 VERSION 12:51:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 12:49 bin 12:51:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:49 cmd 12:51:09 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 12:50 coverage.out 12:51:09 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 12:49 doc 12:51:09 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 12:49 go.mod 12:51:09 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 12:49 go.sum 12:51:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 internal 12:51:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 snap 12:51:09 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 12:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:09 + 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=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 --label arch=amd64 --label version=0.0.0 . 12:51:09 Sending build context to Docker daemon 21.4MB 12:51:09 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 12:51:09 Step 2/27 : FROM ${BASE} AS builder 12:51:09 ---> 9124a654f635 12:51:09 Step 3/27 : ARG ADD_BUILD_TAGS="" 12:51:10 ---> Running in d46ade509347 12:51:11 Removing intermediate container d46ade509347 12:51:11 ---> 90cf56314a53 12:51:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:51:11 ---> Running in 83a478d38a17 12:51:11 Removing intermediate container 83a478d38a17 12:51:11 ---> dd5eb7e349b9 12:51:11 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:51:11 ---> Running in d52074c71484 12:51:11 Removing intermediate container d52074c71484 12:51:11 ---> 908957e6328c 12:51:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 12:51:11 ---> Running in 9eaeb5c8d16d 12:51:11 Removing intermediate container 9eaeb5c8d16d 12:51:11 ---> 1f3e0e29f29e 12:51:11 Step 7/27 : LABEL Name=edgex-device-onvif-camera 12:51:11 ---> Running in e2b0305cc311 12:51:12 Removing intermediate container e2b0305cc311 12:51:12 ---> 7ceb4bf5f757 12:51:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:51:12 ---> Running in ce13e2ff83e9 12:51:12 Removing intermediate container ce13e2ff83e9 12:51:12 ---> 8220c26e8694 12:51:12 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:51:12 ---> Running in 90450def4a75 12:51:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:51:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:51:14 OK: 211 MiB in 51 packages 12:51:14 Removing intermediate container 90450def4a75 12:51:14 ---> 1ac9f0617b61 12:51:14 Step 10/27 : WORKDIR /device-onvif-camera 12:51:14 ---> Running in 1724247d1c84 12:51:14 Removing intermediate container 1724247d1c84 12:51:14 ---> f1016299b12c 12:51:14 Step 11/27 : COPY go.mod vendor* ./ 12:51:14 ---> 521c1bab4773 12:51:14 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:14 ---> Running in 4ad5065708fd 12:51:15 Removing intermediate container 4ad5065708fd 12:51:15 ---> 51ccf6f01b7c 12:51:15 Step 13/27 : COPY . . 12:51:16 ---> 6779755d0635 12:51:16 Step 14/27 : RUN ${MAKE} 12:51:16 ---> Running in 77d28dc954e7 12:51:16 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 12:51:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7749 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws 12:51:34 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 12:51:34 The recommended git tool is: git 12:51:39 using credential edgex-jenkins-ssh 12:51:39 Cloning the remote Git repository 12:51:39 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 12:51:39 > git init /w/workspace/device-onvif-camera/7 # timeout=10 12:51:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 12:51:39 > git --version # timeout=10 12:51:39 > git --version # 'git version 2.25.1' 12:51:39 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:39 Verifying host key using known hosts file 12:51:39 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. 12:51:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:51:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 12:51:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:51:42 Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit b97ce1133f5971d6dce92a429640f3712fec6155 12:51:42 Removing intermediate container 77d28dc954e7 12:51:42 ---> c5fb28161b6c 12:51:42 Step 15/27 : FROM alpine:3.16 12:51:42 3.16: Pulling from library/alpine 12:51:42 213ec9aee27d: Already exists 12:51:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:51:42 Status: Downloaded newer image for alpine:3.16 12:51:42 ---> 9c6f07244728 12:51:42 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 12:51:43 ---> Running in ca3599b1a5d9 12:51:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 12:51:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 12:51:42 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:42 Verifying host key using known hosts file 12:51:42 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. 12:51:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:51:42 > git config core.sparsecheckout # timeout=10 12:51:42 > git checkout -f b97ce1133f5971d6dce92a429640f3712fec6155 # timeout=10 12:51:42 > git remote # timeout=10 12:51:43 > git config --get remote.origin.url # timeout=10 12:51:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:51:43 Verifying host key using known hosts file 12:51:43 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. 12:51:43 > git merge 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 12:51:43 Removing intermediate container ca3599b1a5d9 12:51:43 ---> 9768bb4fd7bd 12:51:43 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 12:51:43 Merge succeeded, producing 185109018fe04e04d048a5b865df7b17774e4144 12:51:43 Checking out Revision 185109018fe04e04d048a5b865df7b17774e4144 (PR-174) 12:51:43 ---> Running in b0c624e64023 12:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:51:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:51:44 (1/6) Installing dumb-init (1.2.5-r1) 12:51:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 12:51:44 (3/6) Installing libsodium (1.0.18-r0) 12:51:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 12:51:43 > git rev-parse HEAD^{commit} # timeout=10 12:51:43 > git config core.sparsecheckout # timeout=10 12:51:43 > git checkout -f 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 12:51:44 (5/6) Installing libzmq (4.3.4-r0) 12:51:44 (6/6) Installing zeromq (4.3.4-r0) 12:51:44 Executing busybox-1.35.0-r17.trigger 12:51:44 OK: 8 MiB in 20 packages 12:51:45 Removing intermediate container b0c624e64023 12:51:45 ---> aaf9116f0b84 12:51:45 Step 18/27 : WORKDIR / 12:51:46 ---> Running in f13c001ebf5d 12:51:46 Removing intermediate container f13c001ebf5d 12:51:46 ---> 5a8c8eb83419 12:51:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 12:51:46 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" 12:51:46 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:51:46 > git rev-list --no-walk e62772acba2629e5e85c07c20038cd47759a26e9 # timeout=10 12:51:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 12:51:47 Dload Upload Total Spent Left Speed 12:51:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 12:51:47 ---> 2afb94108be1 12:51:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 12:51:48 ---> 9255556592a4 12:51:48 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [Pipeline] sh 12:51:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:51:48 ---> 326847acea6d 12:51:48 Step 22/27 : EXPOSE 59984 12:51:48 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 12:51:48 /etc/docker/daemon.json 12:51:48 { 12:51:48 "registry-mirrors": [ 12:51:48 "https://nexus3.edgexfoundry.org:10001" 12:51:48 ], 12:51:48 "bip": "10.250.0.254/24", 12:51:48 "hosts": [ 12:51:48 "tcp://0.0.0.0:5555", 12:51:48 "unix:///var/run/docker.sock" 12:51:48 ], 12:51:48 "mtu": 1458, 12:51:48 "selinux-enabled": true, 12:51:48 "seccomp-profile": "/etc/docker/seccomp.json" 12:51:48 } [Pipeline] sh 12:51:48 ---> Running in 736588b4f95e 12:51:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:51:49 Removing intermediate container 736588b4f95e 12:51:49 ---> 3081ebb7ba1d 12:51:49 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 12:51:49 ---> Running in 925e789e06cd 12:51:49 + sudo service docker restart 12:51:50 Removing intermediate container 925e789e06cd 12:51:50 ---> d221e430d5f3 12:51:50 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:51:50 ---> Running in 0a5b879ed24c 12:51:50 Removing intermediate container 0a5b879ed24c 12:51:50 ---> 7f13ccbb9b1a 12:51:50 Step 25/27 : LABEL arch=amd64 12:51:50 ---> Running in d064d75b178d 12:51:51 Removing intermediate container d064d75b178d 12:51:51 ---> a17fa74b68f7 12:51:51 Step 26/27 : LABEL git_sha=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 12:51:51 ---> Running in c626bd133751 12:51:52 Removing intermediate container c626bd133751 12:51:52 ---> 40d5983b7d68 12:51:52 Step 27/27 : LABEL version=0.0.0 12:51:52 ---> Running in ec1892a4a789 12:51:52 Removing intermediate container ec1892a4a789 12:51:52 ---> 56ff802abe97 12:51:52 [Warning] One or more build-args [ARCH] were not consumed 12:51:52 Successfully built 56ff802abe97 12:51:52 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 12:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:53 12:51:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:53 latest: Pulling from edgex-lftools-log-publisher 12:51:53 5eb5b503b376: Pulling fs layer 12:51:53 5c69ac0246d0: Pulling fs layer 12:51:53 ec43610c2a17: Pulling fs layer 12:51:53 3a2ae6a8a46f: Pulling fs layer 12:51:53 33b1e0a273af: Pulling fs layer 12:51:53 5d3b04190fa2: Pulling fs layer 12:51:53 2f39f015ded8: Pulling fs layer 12:51:53 2f39f015ded8: Waiting 12:51:53 3a2ae6a8a46f: Waiting 12:51:53 5d3b04190fa2: Waiting 12:51:53 33b1e0a273af: Waiting 12:51:53 5c69ac0246d0: Download complete 12:51:53 3a2ae6a8a46f: Verifying Checksum 12:51:53 3a2ae6a8a46f: Download complete 12:51:53 ec43610c2a17: Verifying Checksum 12:51:53 ec43610c2a17: Download complete 12:51:53 33b1e0a273af: Verifying Checksum 12:51:53 33b1e0a273af: Download complete 12:51:53 5d3b04190fa2: Download complete 12:51:54 5eb5b503b376: Download complete 12:51:54 2f39f015ded8: Download complete 12:51:55 5eb5b503b376: Pull complete 12:51:55 5c69ac0246d0: Pull complete 12:51:56 ec43610c2a17: Pull complete 12:51:56 3a2ae6a8a46f: Pull complete 12:51:57 33b1e0a273af: Pull complete 12:51:57 5d3b04190fa2: Pull complete 12:52:01 2f39f015ded8: Pull complete 12:52:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:52:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:52:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:01 prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container 12:52:02 $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-lftools-log-publisher:latest cat 12:52:08 $ docker top d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 12:52:08 provisioning config files... 12:52:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config13021075120528836572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:09 ---> job-cost.sh 12:52:09 lf-activate-venv: SKIPPING 12:52:09 INFO: No Stack... 12:52:09 ---> docker-login.sh 12:52:09 nexus3.edgexfoundry.org:10001 12:52:09 INFO: Retrieving Pricing Info for: v3-standard-8 12:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:09 INFO: Archiving Costs [Pipeline] sh 12:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:09 Configure a credential helper to remove this warning. See 12:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:09 12:52:09 Login Succeeded 12:52:09 nexus3.edgexfoundry.org:10002 12:52:09 + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv 12:52:09 + cut -d, -f6 [Pipeline] lock 12:52:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] 12:52:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] did not exist. Created. 12:52:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 + echo total: 0.2199999988079071 [Pipeline] stash 12:52:10 Stashed 1 file(s) [Pipeline] } 12:52:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] // lock [Pipeline] } 12:52:10 $ docker stop --time=1 d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 nexus3.edgexfoundry.org:10003 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 nexus3.edgexfoundry.org:10004 12:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:10 Configure a credential helper to remove this warning. See 12:52:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:10 12:52:10 Login Succeeded 12:52:10 docker.io 12:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:11 $ docker rm -f d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb 12:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:11 Configure a credential helper to remove this warning. See 12:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:11 12:52:11 Login Succeeded 12:52:11 ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:52:11 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:52:12 ========================================================= 12:52:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:52:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:12 + 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 . 12:52:12 Sending build context to Docker daemon 14.76MB 12:52:12 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 12:52:12 Step 2/14 : FROM ${BASE} AS builder 12:52:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:52:12 9b18e9b68314: Pulling fs layer 12:52:12 d32db5db7311: Pulling fs layer 12:52:12 d0c4b47475fc: Pulling fs layer 12:52:12 5831b945b038: Pulling fs layer 12:52:12 86bbec2aaacd: Pulling fs layer 12:52:12 e10730c5d714: Pulling fs layer 12:52:12 5dd5c2283517: Pulling fs layer 12:52:12 d5ac0230b979: Pulling fs layer 12:52:12 5831b945b038: Waiting 12:52:12 86bbec2aaacd: Waiting 12:52:12 e10730c5d714: Waiting 12:52:12 5dd5c2283517: Waiting 12:52:12 d5ac0230b979: Waiting 12:52:12 d0c4b47475fc: Verifying Checksum 12:52:12 d0c4b47475fc: Download complete 12:52:12 d32db5db7311: Verifying Checksum 12:52:12 d32db5db7311: Download complete 12:52:12 86bbec2aaacd: Verifying Checksum 12:52:12 86bbec2aaacd: Download complete 12:52:13 e10730c5d714: Verifying Checksum 12:52:13 e10730c5d714: Download complete 12:52:13 9b18e9b68314: Verifying Checksum 12:52:13 9b18e9b68314: Download complete 12:52:14 9b18e9b68314: Pull complete 12:52:14 d5ac0230b979: Verifying Checksum 12:52:14 d5ac0230b979: Download complete 12:52:14 d32db5db7311: Pull complete 12:52:14 d0c4b47475fc: Pull complete 12:52:15 5dd5c2283517: Verifying Checksum 12:52:15 5dd5c2283517: Download complete 12:52:15 5831b945b038: Verifying Checksum 12:52:15 5831b945b038: Download complete 12:52:28 5831b945b038: Pull complete 12:52:28 86bbec2aaacd: Pull complete 12:52:28 e10730c5d714: Pull complete 12:52:35 5dd5c2283517: Pull complete 12:52:36 d5ac0230b979: Pull complete 12:52:36 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 12:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:52:36 ---> 59b3b1a385d4 12:52:36 Step 3/14 : ARG ADD_BUILD_TAGS="" 12:52:38 ---> Running in 8f811079dfd6 12:52:38 Removing intermediate container 8f811079dfd6 12:52:38 ---> 096a223043df 12:52:38 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:52:38 ---> Running in 604401edc150 12:52:38 Removing intermediate container 604401edc150 12:52:38 ---> a65038776263 12:52:38 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:52:38 ---> Running in 73a31f56b3d6 12:52:39 Removing intermediate container 73a31f56b3d6 12:52:39 ---> 1f1cd477f461 12:52:39 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 12:52:39 ---> Running in deb67f06be52 12:52:39 Removing intermediate container deb67f06be52 12:52:39 ---> 65c0d212f0dc 12:52:39 Step 7/14 : LABEL Name=edgex-device-onvif-camera 12:52:39 ---> Running in 6ec1a4430bc4 12:52:39 Removing intermediate container 6ec1a4430bc4 12:52:39 ---> 55369c384528 12:52:39 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:52:39 ---> Running in 91dfffe6e254 12:52:41 Removing intermediate container 91dfffe6e254 12:52:41 ---> 574261c68eae 12:52:41 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:52:41 ---> Running in 08a4f8307f00 12:52:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:52:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:52:44 OK: 221 MiB in 51 packages 12:52:45 Removing intermediate container 08a4f8307f00 12:52:45 ---> 02b544f63fef 12:52:45 Step 10/14 : WORKDIR /device-onvif-camera 12:52:45 ---> Running in cf94cb676745 12:52:45 Removing intermediate container cf94cb676745 12:52:45 ---> a18ea53d5221 12:52:45 Step 11/14 : COPY go.mod vendor* ./ 12:52:46 ---> 66d4bd3bea9c 12:52:46 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:52:46 ---> Running in 5ba046840c77 12:53:42 Removing intermediate container 5ba046840c77 12:53:42 ---> 01f3bdd19409 12:53:42 Step 13/14 : COPY . . 12:53:42 ---> 90c77f5f34f4 12:53:42 Step 14/14 : RUN ${MAKE} 12:53:42 ---> Running in 73cac3bf440f 12:53:42 noop 12:53:42 Removing intermediate container 73cac3bf440f 12:53:42 ---> 6e4095dd94db 12:53:42 Successfully built 6e4095dd94db 12:53:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:42 + docker inspect -f . ci-base-image-arm64 12:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:43 prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container 12:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat 12:53:44 $ docker top a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:45 + go version 12:53:45 go version go1.18.7 linux/arm64 [Pipeline] } 12:53:45 $ docker stop --time=1 a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 12:53:46 $ docker rm -f a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:47 + docker inspect -f . ci-base-image-arm64 12:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:47 prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container 12:53:47 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat 12:53:48 $ docker top 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:49 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 12:53:49 + make test 12:53:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:53:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 12:55:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 12:55:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.193s coverage: 28.2% of statements 12:55:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 12:55:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.834s coverage: 86.5% of statements 12:55:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:55:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:56:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:56:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:56:19 ./bin/test-attribution-txt.sh [Pipeline] echo 12:56:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:56:19 $ docker stop --time=1 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af 12:56:21 $ docker rm -f 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af [Pipeline] // withDockerContainer [Pipeline] sh 12:56:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:56:22 Warning: overwriting stash ‘coverage-report’ 12:56:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:24 + ls -al . 12:56:24 total 232 12:56:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 12:53 . 12:56:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 .. 12:56:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 12:51 .git 12:56:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:51 .github 12:56:24 -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 12:51 .gitignore 12:56:24 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 12:51 .golangci.yml 12:56:24 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 12:51 Attribution.txt 12:56:24 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 12:51 CHANGELOG.md 12:56:24 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 12:51 Dockerfile 12:56:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 12:51 GOVERNANCE.md 12:56:24 -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 12:51 Jenkinsfile 12:56:24 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 12:51 LICENSE 12:56:24 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 12:51 Makefile 12:56:24 -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 12:51 OWNERS.md 12:56:24 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 12:51 README.md 12:56:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 12:49 VERSION 12:56:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 12:51 bin 12:56:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:51 cmd 12:56:24 -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 12:55 coverage.out 12:56:24 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 12:51 doc 12:56:24 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 12:51 go.mod 12:56:24 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 12:51 go.sum 12:56:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 internal 12:56:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 snap 12:56:24 -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 12:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:24 + 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=185109018fe04e04d048a5b865df7b17774e4144 --label arch=arm64 --label version=0.0.0 . 12:56:26 Sending build context to Docker daemon 14.84MB 12:56:26 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 12:56:26 Step 2/27 : FROM ${BASE} AS builder 12:56:26 ---> 6e4095dd94db 12:56:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 12:56:26 ---> Running in 3d5ef8fa0315 12:56:26 Removing intermediate container 3d5ef8fa0315 12:56:26 ---> 7742ee36f455 12:56:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:56:26 ---> Running in a987bb2f5390 12:56:26 Removing intermediate container a987bb2f5390 12:56:26 ---> 28f19bea2268 12:56:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:56:26 ---> Running in 293b6a392894 12:56:27 Removing intermediate container 293b6a392894 12:56:27 ---> 85a4ff42698c 12:56:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 12:56:27 ---> Running in ef6c2eabfce6 12:56:27 Removing intermediate container ef6c2eabfce6 12:56:27 ---> 613e46cf9c9f 12:56:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 12:56:27 ---> Running in 25566ed5ef06 12:56:28 Removing intermediate container 25566ed5ef06 12:56:28 ---> eae8cdd0adbc 12:56:28 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:28 ---> Running in 456ebe253b4c 12:56:29 Removing intermediate container 456ebe253b4c 12:56:29 ---> 800e01d6a381 12:56:29 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:29 ---> Running in 168e3a09e4b2 12:56:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:56:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:56:32 OK: 221 MiB in 51 packages 12:56:34 Removing intermediate container 168e3a09e4b2 12:56:34 ---> 93aa6f79a2fe 12:56:34 Step 10/27 : WORKDIR /device-onvif-camera 12:56:34 ---> Running in 5540eda6213e 12:56:34 Removing intermediate container 5540eda6213e 12:56:34 ---> e62a6ccea955 12:56:34 Step 11/27 : COPY go.mod vendor* ./ 12:56:34 ---> 945dad233d34 12:56:34 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:35 ---> Running in 0663d19ce6c7 12:56:37 Removing intermediate container 0663d19ce6c7 12:56:37 ---> 178486a51865 12:56:37 Step 13/27 : COPY . . 12:56:41 ---> 7120fdce92e6 12:56:41 Step 14/27 : RUN ${MAKE} 12:56:41 ---> Running in 0990e717d376 12:56:42 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 12:59:03 Removing intermediate container 0990e717d376 12:59:03 ---> 999e48913ff3 12:59:03 Step 15/27 : FROM alpine:3.16 12:59:03 3.16: Pulling from library/alpine 12:59:03 9b18e9b68314: Already exists 12:59:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:59:03 Status: Downloaded newer image for alpine:3.16 12:59:03 ---> a6215f271958 12:59:03 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 12:59:03 ---> Running in afbee5326927 12:59:03 Removing intermediate container afbee5326927 12:59:03 ---> 83367b3362dd 12:59:03 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 12:59:03 ---> Running in a721df47d5b8 12:59:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:59:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:59:03 (1/6) Installing dumb-init (1.2.5-r1) 12:59:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 12:59:03 (3/6) Installing libsodium (1.0.18-r0) 12:59:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 12:59:03 (5/6) Installing libzmq (4.3.4-r0) 12:59:03 (6/6) Installing zeromq (4.3.4-r0) 12:59:03 Executing busybox-1.35.0-r17.trigger 12:59:03 OK: 8 MiB in 20 packages 12:59:03 Removing intermediate container a721df47d5b8 12:59:03 ---> dbccf55c2fc0 12:59:03 Step 18/27 : WORKDIR / 12:59:03 ---> Running in d98c358f3c9d 12:59:03 Removing intermediate container d98c358f3c9d 12:59:03 ---> d1ad1db08e65 12:59:03 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 12:59:04 ---> 41565c024a56 12:59:04 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 12:59:05 ---> ed78d49952c6 12:59:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 12:59:06 ---> 537a970accce 12:59:06 Step 22/27 : EXPOSE 59984 12:59:06 ---> Running in d5d899468308 12:59:06 Removing intermediate container d5d899468308 12:59:06 ---> bce6b190ee2e 12:59:06 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 12:59:07 ---> Running in 94f1e37d3347 12:59:07 Removing intermediate container 94f1e37d3347 12:59:07 ---> 83b4be69c125 12:59:07 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:59:07 ---> Running in 0c0a714d412a 12:59:07 Removing intermediate container 0c0a714d412a 12:59:07 ---> 75904f4783af 12:59:07 Step 25/27 : LABEL arch=arm64 12:59:07 ---> Running in 3532524d2f73 12:59:07 Removing intermediate container 3532524d2f73 12:59:07 ---> 82aea6af2296 12:59:07 Step 26/27 : LABEL git_sha=185109018fe04e04d048a5b865df7b17774e4144 12:59:07 ---> Running in ff0ff9477b9c 12:59:08 Removing intermediate container ff0ff9477b9c 12:59:08 ---> 53caee6048d0 12:59:08 Step 27/27 : LABEL version=0.0.0 12:59:08 ---> Running in 3504954eabf3 12:59:08 Removing intermediate container 3504954eabf3 12:59:08 ---> 78e66f651045 12:59:08 [Warning] One or more build-args [ARCH] were not consumed 12:59:08 Successfully built 78e66f651045 12:59:08 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 12:59:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:09 12:59:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:09 arm64: Pulling from edgex-lftools-log-publisher 12:59:09 8998bd30e6a1: Pulling fs layer 12:59:09 04944245beec: Pulling fs layer 12:59:09 699f458cf7ca: Pulling fs layer 12:59:09 765212b225bb: Pulling fs layer 12:59:09 f23df028b6ca: Pulling fs layer 12:59:09 d65c8cfc05b1: Pulling fs layer 12:59:09 2437ff75d9bd: Pulling fs layer 12:59:09 f23df028b6ca: Waiting 12:59:09 d65c8cfc05b1: Waiting 12:59:09 2437ff75d9bd: Waiting 12:59:09 765212b225bb: Waiting 12:59:09 04944245beec: Verifying Checksum 12:59:09 04944245beec: Download complete 12:59:09 765212b225bb: Verifying Checksum 12:59:09 765212b225bb: Download complete 12:59:09 f23df028b6ca: Verifying Checksum 12:59:09 f23df028b6ca: Download complete 12:59:09 d65c8cfc05b1: Verifying Checksum 12:59:09 d65c8cfc05b1: Download complete 12:59:09 699f458cf7ca: Verifying Checksum 12:59:09 699f458cf7ca: Download complete 12:59:10 8998bd30e6a1: Verifying Checksum 12:59:10 8998bd30e6a1: Download complete 12:59:12 2437ff75d9bd: Verifying Checksum 12:59:12 2437ff75d9bd: Download complete 12:59:14 8998bd30e6a1: Pull complete 12:59:14 04944245beec: Pull complete 12:59:16 699f458cf7ca: Pull complete 12:59:16 765212b225bb: Pull complete 12:59:16 f23df028b6ca: Pull complete 12:59:17 d65c8cfc05b1: Pull complete 12:59:32 2437ff75d9bd: Pull complete 12:59:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:32 prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container 12:59:32 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-lftools-log-publisher:arm64 cat 12:59:34 $ docker top 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:35 ---> job-cost.sh 12:59:35 lf-activate-venv: SKIPPING 12:59:35 INFO: No Stack... 12:59:35 INFO: Retrieving Pricing Info for: v3-standard-4 12:59:36 INFO: Archiving Costs [Pipeline] sh 12:59:37 + cut -d, -f6 12:59:37 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock 12:59:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] 12:59:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] did not exist. Created. 12:59:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:37 /w/workspace/device-onvif-camera/7@tmp/durable-6dbc1402/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:59:37 + echo total: 0.10999999940395355 [Pipeline] stash 12:59:37 Warning: overwriting stash ‘stack-cost’ 12:59:38 Stashed 1 file(s) [Pipeline] } 12:59:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:38 $ docker stop --time=1 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 12:59:39 $ docker rm -f 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 [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 12:59:40 provisioning config files... 12:59:40 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13306030253683762783tmp [Pipeline] { [Pipeline] sh 12:59:40 + set +x 12:59:40 + curl -s https://codecov.io/bash 12:59:40 + bash -s -- 12:59:40 12:59:40 _____ _ 12:59:40 / ____| | | 12:59:40 | | ___ __| | ___ ___ _____ __ 12:59:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:59:40 | |___| (_) | (_| | __/ (_| (_) \ V / 12:59:40 \_____\___/ \__,_|\___|\___\___/ \_/ 12:59:40 Bash-1.0.6 12:59:40 12:59:40 12:59:40 ==> git version 2.25.1 found 12:59:40 ==> 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 12:59:40 Release-Date: 2020-01-08 12:59:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:59:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:59:40 ==> Jenkins CI detected. 12:59:40 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 12:59:40 project root: . 12:59:40 --> token set from env 12:59:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:59:40 ==> Running gcov in . (disable via -X gcov) 12:59:40 ==> Python coveragepy not found 12:59:40 ==> Searching for coverage reports in: 12:59:40 + . 12:59:40 -> Found 1 reports 12:59:40 ==> Detecting git/mercurial file structure 12:59:40 ==> Reading reports 12:59:40 + ./coverage.out bytes=78636 12:59:40 ==> Appending adjustments 12:59:40 https://docs.codecov.io/docs/fixing-reports 12:59:40 + Found adjustments 12:59:40 ==> Gzipping contents 12:59:40 12K /tmp/codecov.yN0lGi.gz 12:59:40 ==> Uploading reports 12:59:40 url: https://codecov.io 12:59:40 query: branch=PR-174&commit=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 12:59:40 -> Pinging Codecov 12:59:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 12:59:40 -> Uploading to 12:59:40 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/4ae89fea4f66dfff4d62a58ba7af1d536c02ca87/d71a78d1-d114-4caf-9758-b11fc5c888bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T125940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06e027cc89602bfc1f518968bda36e3aff4aeda52e57fd17843619a3e3fe0ce1 12:59:40 % Total % Received % Xferd Average Speed Time Time Time Current 12:59:40 Dload Upload Total Spent Left Speed 12:59:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10749 0 0 100 10749 0 42318 --:--:-- --:--:-- --:--:-- 42318 12:59:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] } 12:59:41 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 12:59:41 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 12:59:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 12:59:41 total 16 12:59:41 drwxr-xr-x 3 root root 4096 Oct 12 12:52 . 12:59:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 12:52 .. 12:59:41 drwxr-xr-x 2 root root 4096 Oct 12 12:52 cost 12:59:41 -rw-r--r-- 1 root root 91 Oct 12 12:52 cost.csv 12:59:41 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 12:59:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 12:59:41 total 16 12:59:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 12:52 . 12:59:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 12:52 .. 12:59:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 12:52 cost 12:59:41 -rw-r--r-- 1 jenkins jenkins 91 Oct 12 12:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:59:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:59:43 ---> package-listing.sh 12:59:43 ++ facter osfamily 12:59:43 ++ tr '[:upper:]' '[:lower:]' 12:59:43 + OS_FAMILY=debian 12:59:43 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 12:59:43 + START_PACKAGES=/tmp/packages_start.txt 12:59:43 + END_PACKAGES=/tmp/packages_end.txt 12:59:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:59:43 + PACKAGES=/tmp/packages_start.txt 12:59:43 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 12:59:43 + PACKAGES=/tmp/packages_end.txt 12:59:43 + case "${OS_FAMILY}" in 12:59:43 + dpkg -l 12:59:43 + grep '^ii' 12:59:43 + '[' -f /tmp/packages_start.txt ']' 12:59:43 + '[' -f /tmp/packages_end.txt ']' 12:59:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:59:43 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 12:59:43 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 12:59:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo 12:59:43 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:59:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:44 prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container 12:59:44 $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:59:44 $ docker top 13f3640426e01bc70135773596ad75238b1d690deefe6da162db6a0bb7cb6a6f -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:44 + touch /tmp/pre-build-complete [Pipeline] sh 12:59:45 + mkdir -p /var/log/sysstat [Pipeline] sh 12:59:45 + ls /var/log/sa-host 12:59:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:45 provisioning config files... 12:59:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4538287153062659399tmp [Pipeline] { [Pipeline] echo 12:59:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:59:45 ---> create-netrc.sh [Pipeline] } 12:59:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:59:46 ---> python-tools-install.sh [Pipeline] echo 12:59:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:59:46 ---> sudo-logs.sh 12:59:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:59:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:59:46 ---> job-cost.sh 12:59:46 lf-activate-venv: SKIPPING 12:59:46 DEBUG: total: 0.2199999988079071 12:59:46 INFO: Retrieving Stack Cost... 12:59:47 INFO: Retrieving Pricing Info for: v3-standard-8 12:59:47 INFO: Archiving Costs [Pipeline] echo 12:59:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:59:47 ---> logs-deploy.sh 12:59:47 lf-activate-venv: SKIPPING 12:59:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/7 12:59:47 INFO: archiving workspace using pattern(s): 12:59:48 Archives upload complete. 12:59:48 INFO: archiving logs to Nexus 12:59:49 ---> uname -a: 12:59:49 Linux prd-ubuntu20-04-docker-8c-8g-7748 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:59:49 12:59:49 12:59:49 ---> lscpu: 12:59:49 Architecture: x86_64 12:59:49 CPU op-mode(s): 32-bit, 64-bit 12:59:49 Byte Order: Little Endian 12:59:49 Address sizes: 40 bits physical, 48 bits virtual 12:59:49 CPU(s): 8 12:59:49 On-line CPU(s) list: 0-7 12:59:49 Thread(s) per core: 1 12:59:49 Core(s) per socket: 1 12:59:49 Socket(s): 8 12:59:49 NUMA node(s): 1 12:59:49 Vendor ID: AuthenticAMD 12:59:49 CPU family: 23 12:59:49 Model: 49 12:59:49 Model name: AMD EPYC-Rome Processor 12:59:49 Stepping: 0 12:59:49 CPU MHz: 2799.988 12:59:49 BogoMIPS: 5599.97 12:59:49 Virtualization: AMD-V 12:59:49 Hypervisor vendor: KVM 12:59:49 Virtualization type: full 12:59:49 L1d cache: 256 KiB 12:59:49 L1i cache: 256 KiB 12:59:49 L2 cache: 4 MiB 12:59:49 L3 cache: 128 MiB 12:59:49 NUMA node0 CPU(s): 0-7 12:59:49 Vulnerability Itlb multihit: Not affected 12:59:49 Vulnerability L1tf: Not affected 12:59:49 Vulnerability Mds: Not affected 12:59:49 Vulnerability Meltdown: Not affected 12:59:49 Vulnerability Mmio stale data: Not affected 12:59:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:59:49 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:59:49 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:59:49 Vulnerability Srbds: Not affected 12:59:49 Vulnerability Tsx async abort: Not affected 12:59:49 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 12:59:49 12:59:49 12:59:49 ---> nproc: 12:59:49 8 12:59:49 12:59:49 12:59:49 ---> df -h: 12:59:49 Filesystem Size Used Avail Use% Mounted on 12:59:49 overlay 155G 12G 144G 8% / 12:59:49 tmpfs 64M 0 64M 0% /dev 12:59:49 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:59:49 shm 64M 0 64M 0% /dev/shm 12:59:49 /dev/vda1 155G 12G 144G 8% /facter-os 12:59:49 12:59:49 12:59:49 ---> sar -b -r -n DEV: 12:59:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7748) 10/12/22 _x86_64_ (8 CPU) 12:59:49 12:59:49 12:48:41 LINUX RESTART (8 CPU) 12:59:49 12:59:49 12:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:59:49 12:50:01 235.86 43.56 192.30 0.00 4883.19 72448.73 0.00 12:59:49 12:51:01 175.82 1.25 174.57 0.00 19.73 75383.84 0.00 12:59:49 12:52:01 174.54 0.20 174.34 0.00 11.20 44039.59 0.00 12:59:49 12:53:01 34.19 0.00 34.19 0.00 0.00 32654.57 0.00 12:59:49 12:54:01 42.76 10.86 31.89 0.00 2920.05 21613.46 0.00 12:59:49 12:55:01 4.83 0.00 4.83 0.00 0.00 16827.46 0.00 12:59:49 12:56:01 3.50 0.00 3.50 0.00 0.00 16812.40 0.00 12:59:49 12:57:01 3.95 0.00 3.95 0.00 0.00 16819.33 0.00 12:59:49 12:58:01 2.58 0.00 2.58 0.00 0.00 11704.45 0.00 12:59:49 12:59:01 1.97 0.00 1.97 0.00 0.00 32.39 0.00 12:59:49 Average: 68.00 5.59 62.41 0.00 783.42 30833.62 0.00 12:59:49 12:59:49 12:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:59:49 12:50:01 29176088 31601344 728900 2.22 71848 2630332 1852824 5.46 1000988 2362156 528824 12:59:49 12:51:01 28332872 31529656 777052 2.36 135840 3254916 2056504 6.06 1287072 2811784 151656 12:59:49 12:52:01 27751884 31567376 739540 2.25 148052 3825992 1869032 5.51 1294652 3349052 469408 12:59:49 12:53:01 27758380 31574416 731824 2.23 148300 3826004 1766904 5.21 1297632 3336988 204 12:59:49 12:54:01 27448540 31542216 749076 2.28 166768 4075852 1784032 5.26 1471572 3450536 264 12:59:49 12:55:01 27464648 31558352 733556 2.23 166848 4075840 1766408 5.21 1452460 3450452 12 12:59:49 12:56:01 27465516 31559316 732612 2.23 166928 4075852 1766408 5.21 1452136 3450456 16 12:59:49 12:57:01 27472516 31566484 725504 2.21 167012 4075848 1766408 5.21 1444596 3450564 24 12:59:49 12:58:01 27472712 31566812 725112 2.21 167088 4075852 1766408 5.21 1444960 3450576 32 12:59:49 12:59:01 27472704 31567236 724972 2.20 167176 4075860 1766408 5.21 1444468 3450920 48 12:59:49 Average: 27781586 31563321 736815 2.24 150586 3799235 1816134 5.35 1359054 3256348 115049 12:59:49 12:59:49 12:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:59:49 12:50:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 12:59:49 12:50:01 docker0 9.15 8.38 0.84 106.04 0.00 0.00 0.00 0.00 12:59:49 12:50:01 ens3 743.71 530.00 6561.92 134.79 0.00 0.00 0.00 0.00 12:59:49 12:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 12:51:01 docker0 147.43 178.24 11.84 1735.18 0.00 0.00 0.00 0.00 12:59:49 12:51:01 veth464b532 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 12:59:49 12:51:01 ens3 212.01 170.40 1768.55 28.67 0.00 0.00 0.00 0.00 12:59:49 12:52:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 12:59:49 12:52:01 docker0 8.72 12.60 0.53 98.64 0.00 0.00 0.00 0.00 12:59:49 12:52:01 ens3 141.58 91.73 2639.63 21.53 0.00 0.00 0.00 0.00 12:59:49 12:53:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 12:59:49 12:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:53:01 ens3 10.21 6.85 11.48 3.99 0.00 0.00 0.00 0.00 12:59:49 12:54:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 12:59:49 12:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:54:01 ens3 83.05 47.48 1303.60 8.81 0.00 0.00 0.00 0.00 12:59:49 12:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 12:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:55:01 ens3 0.60 0.43 0.20 0.16 0.00 0.00 0.00 0.00 12:59:49 12:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:56:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 12:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:57:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 12:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:58:01 ens3 0.02 0.03 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 12:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:49 12:59:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 12:59:49 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 12:59:49 Average: docker0 16.53 19.92 1.32 193.99 0.00 0.00 0.00 0.00 12:59:49 Average: ens3 119.14 84.71 1228.54 19.80 0.00 0.00 0.00 0.00 12:59:49 12:59:49 12:59:49 ---> sar -P ALL: 12:59:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7748) 10/12/22 _x86_64_ (8 CPU) 12:59:49 12:59:49 12:48:41 LINUX RESTART (8 CPU) 12:59:49 12:59:49 12:49:01 CPU %user %nice %system %iowait %steal %idle 12:59:49 12:50:01 all 9.39 0.00 3.07 5.68 0.07 81.80 12:59:49 12:50:01 0 11.09 0.00 2.89 5.67 0.05 80.30 12:59:49 12:50:01 1 7.94 0.00 3.13 1.28 0.10 87.54 12:59:49 12:50:01 2 9.19 0.00 2.66 1.58 0.05 86.52 12:59:49 12:50:01 3 11.85 0.00 3.22 1.65 0.08 83.20 12:59:49 12:50:01 4 6.74 0.00 3.33 11.43 0.05 78.44 12:59:49 12:50:01 5 6.34 0.00 2.68 2.80 0.05 88.13 12:59:49 12:50:01 6 11.46 0.00 3.00 15.33 0.05 70.16 12:59:49 12:50:01 7 10.53 0.00 3.64 5.67 0.08 80.08 12:59:49 12:51:01 all 22.80 0.00 4.61 5.20 0.07 67.32 12:59:49 12:51:01 0 23.27 0.00 4.21 0.79 0.07 71.65 12:59:49 12:51:01 1 22.53 0.00 4.42 1.92 0.07 71.06 12:59:49 12:51:01 2 22.27 0.00 4.61 0.62 0.07 72.44 12:59:49 12:51:01 3 21.91 0.00 4.15 0.22 0.07 73.66 12:59:49 12:51:01 4 24.03 0.00 4.58 1.65 0.08 69.66 12:59:49 12:51:01 5 23.21 0.00 4.68 18.63 0.07 53.41 12:59:49 12:51:01 6 22.29 0.00 4.86 10.23 0.08 62.54 12:59:49 12:51:01 7 22.87 0.00 5.36 7.66 0.08 64.02 12:59:49 12:52:01 all 21.41 0.00 4.64 5.43 0.08 68.44 12:59:49 12:52:01 0 21.47 0.00 4.52 10.58 0.08 63.35 12:59:49 12:52:01 1 21.37 0.00 4.77 1.76 0.08 72.03 12:59:49 12:52:01 2 23.16 0.00 4.70 1.62 0.08 70.44 12:59:49 12:52:01 3 19.99 0.00 4.42 4.75 0.08 70.76 12:59:49 12:52:01 4 20.37 0.00 5.06 0.47 0.07 74.04 12:59:49 12:52:01 5 22.39 0.00 4.58 3.65 0.10 69.27 12:59:49 12:52:01 6 20.60 0.00 4.42 19.57 0.07 55.33 12:59:49 12:52:01 7 21.91 0.00 4.64 1.06 0.10 72.29 12:59:49 12:53:01 all 0.39 0.00 0.18 1.76 0.01 97.65 12:59:49 12:53:01 0 0.23 0.00 0.20 0.02 0.00 99.55 12:59:49 12:53:01 1 0.40 0.00 0.10 1.05 0.02 98.43 12:59:49 12:53:01 2 0.10 0.00 0.13 2.72 0.02 97.03 12:59:49 12:53:01 3 0.15 0.00 0.12 0.00 0.00 99.73 12:59:49 12:53:01 4 0.17 0.00 0.37 7.99 0.02 91.46 12:59:49 12:53:01 5 0.62 0.00 0.23 1.19 0.00 97.96 12:59:49 12:53:01 6 0.22 0.00 0.10 0.18 0.02 99.48 12:59:49 12:53:01 7 1.26 0.00 0.22 0.95 0.02 97.55 12:59:49 12:54:01 all 1.38 0.00 0.80 0.64 0.02 97.16 12:59:49 12:54:01 0 0.97 0.00 0.50 0.67 0.02 97.85 12:59:49 12:54:01 1 2.09 0.00 0.52 0.20 0.00 97.20 12:59:49 12:54:01 2 0.95 0.00 0.55 1.75 0.00 96.75 12:59:49 12:54:01 3 1.79 0.00 1.77 0.88 0.02 95.55 12:59:49 12:54:01 4 0.72 0.00 0.82 0.92 0.05 97.49 12:59:49 12:54:01 5 0.97 0.00 0.48 0.05 0.02 98.48 12:59:49 12:54:01 6 2.22 0.00 0.95 0.20 0.02 96.61 12:59:49 12:54:01 7 1.33 0.00 0.84 0.45 0.02 97.36 12:59:49 12:55:01 all 0.04 0.00 0.02 0.02 0.00 99.91 12:59:49 12:55:01 0 0.02 0.00 0.00 0.10 0.00 99.88 12:59:49 12:55:01 1 0.03 0.00 0.02 0.00 0.00 99.95 12:59:49 12:55:01 2 0.02 0.00 0.02 0.03 0.02 99.92 12:59:49 12:55:01 3 0.15 0.00 0.02 0.00 0.00 99.83 12:59:49 12:55:01 4 0.03 0.00 0.02 0.00 0.00 99.95 12:59:49 12:55:01 5 0.03 0.00 0.02 0.00 0.00 99.95 12:59:49 12:55:01 6 0.03 0.00 0.03 0.00 0.00 99.93 12:59:49 12:55:01 7 0.03 0.00 0.07 0.00 0.02 99.88 12:59:49 12:56:01 all 0.18 0.00 0.01 0.04 0.01 99.77 12:59:49 12:56:01 0 0.03 0.00 0.02 0.23 0.00 99.72 12:59:49 12:56:01 1 0.03 0.00 0.02 0.00 0.02 99.93 12:59:49 12:56:01 2 1.26 0.00 0.00 0.05 0.00 98.69 12:59:49 12:56:01 3 0.03 0.00 0.00 0.00 0.00 99.97 12:59:49 12:56:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:59:49 12:56:01 5 0.02 0.00 0.03 0.00 0.02 99.93 12:59:49 12:56:01 6 0.00 0.00 0.00 0.00 0.00 100.00 12:59:49 12:56:01 7 0.02 0.00 0.03 0.00 0.02 99.93 12:59:49 12:57:01 all 0.02 0.00 0.01 0.03 0.00 99.94 12:59:49 12:57:01 0 0.02 0.00 0.00 0.22 0.00 99.77 12:59:49 12:57:01 1 0.03 0.00 0.02 0.00 0.00 99.95 12:59:49 12:57:01 2 0.02 0.00 0.02 0.02 0.00 99.95 12:59:49 12:57:01 3 0.00 0.00 0.00 0.00 0.00 100.00 12:59:49 12:57:01 4 0.00 0.00 0.00 0.00 0.00 100.00 12:59:49 12:57:01 5 0.02 0.00 0.02 0.02 0.00 99.95 12:59:49 12:57:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:59:49 12:57:01 7 0.03 0.00 0.02 0.00 0.00 99.95 12:59:49 12:58:01 all 0.01 0.00 0.00 0.02 0.00 99.96 12:59:49 12:58:01 0 0.02 0.00 0.00 0.10 0.00 99.88 12:59:49 12:58:01 1 0.05 0.00 0.00 0.00 0.00 99.95 12:59:49 12:58:01 2 0.00 0.00 0.00 0.03 0.00 99.97 12:59:49 12:58:01 3 0.02 0.00 0.00 0.00 0.00 99.98 12:59:49 12:58:01 4 0.00 0.00 0.02 0.00 0.00 99.98 12:59:49 12:58:01 5 0.02 0.00 0.02 0.00 0.00 99.97 12:59:49 12:58:01 6 0.00 0.00 0.00 0.00 0.00 100.00 12:59:49 12:58:01 7 0.02 0.00 0.00 0.00 0.02 99.97 12:59:49 12:59:01 all 0.03 0.00 0.01 0.02 0.01 99.93 12:59:49 12:59:01 0 0.05 0.00 0.03 0.07 0.00 99.85 12:59:49 12:59:01 1 0.05 0.00 0.00 0.00 0.02 99.93 12:59:49 12:59:01 2 0.02 0.00 0.00 0.00 0.00 99.98 12:59:49 12:59:01 3 0.00 0.00 0.00 0.00 0.02 99.98 12:59:49 12:59:01 4 0.03 0.00 0.00 0.00 0.00 99.97 12:59:49 12:59:01 5 0.07 0.00 0.03 0.08 0.02 99.80 12:59:49 12:59:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:59:49 12:59:01 7 0.03 0.00 0.00 0.00 0.02 99.95 12:59:49 Average: all 5.53 0.00 1.33 1.87 0.03 91.25 12:59:49 Average: 0 5.68 0.00 1.23 1.83 0.02 91.23 12:59:49 Average: 1 5.43 0.00 1.29 0.62 0.03 92.63 12:59:49 Average: 2 5.67 0.00 1.26 0.84 0.02 92.21 12:59:49 Average: 3 5.55 0.00 1.36 0.75 0.03 92.31 12:59:49 Average: 4 5.17 0.00 1.41 2.24 0.03 91.15 12:59:49 Average: 5 5.32 0.00 1.27 2.62 0.03 90.76 12:59:49 Average: 6 5.64 0.00 1.33 4.52 0.02 88.49 12:59:49 Average: 7 5.75 0.00 1.47 1.57 0.04 91.18 12:59:49 12:59:49 12:59:49