Pull request #172 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 edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh10149824518807878915.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-ssh15894920149008981206.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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2880395227581487668.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-ssh14053537033491901318.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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12951653694960476528.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7400 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Merge succeeded, producing f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Checking out Revision f5aeb6614c21a3e0ce3156cc256a3d02faf462bc (PR-172) Commit message: "fix:discovery mode netscan when using docker-compose" > git config core.sparsecheckout # timeout=10 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 > git rev-list --no-walk c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-08T10:26:02.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-08T10:26:03.041Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-08T10:26:03.052Z] ========================================================= [2022-10-08T10:26:03.052Z] EdgeX Global Pipelines Version Info [2022-10-08T10:26:03.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:26:04.149Z] ------------------- [2022-10-08T10:26:04.149Z] stable info: [2022-10-08T10:26:04.149Z] ------------------- [2022-10-08T10:26:04.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-08T10:26:04.149Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-08T10:26:04.149Z] Message: update stable to v1.0.239 [2022-10-08T10:26:04.719Z] ------------------- [2022-10-08T10:26:04.719Z] experimental info: [2022-10-08T10:26:04.719Z] ------------------- [2022-10-08T10:26:04.719Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-08T10:26:04.719Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-08T10:26:04.719Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-08T10:26:04.905Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-08T10:26:04.915Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-08T10:26:04.926Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-08T10:26:04.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-08T10:26:04.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-08T10:26:04.959Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-08T10:26:04.971Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-08T10:26:04.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-08T10:26:04.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-08T10:26:05.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-08T10:26:05.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-08T10:26:05.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-08T10:26:05.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-08T10:26:05.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-08T10:26:05.061Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-08T10:26:05.076Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-08T10:26:05.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-08T10:26:05.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-08T10:26:05.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-08T10:26:05.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-08T10:26:05.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-08T10:26:05.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-08T10:26:05.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-08T10:26:05.170Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-08T10:26:05.181Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-08T10:26:05.192Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-08T10:26:05.203Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-08T10:26:05.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-08T10:26:05.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-08T10:26:05.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-08T10:26:05.248Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo [2022-10-08T10:26:05.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5aeb66 [Pipeline] echo [2022-10-08T10:26:05.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T10:26:05.334Z] provisioning config files... [2022-10-08T10:26:05.348Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2091835224222612136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:26:05.650Z] ---> docker-login.sh [2022-10-08T10:26:05.650Z] nexus3.edgexfoundry.org:10001 [2022-10-08T10:26:05.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:06.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:06.170Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:06.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:06.170Z] [2022-10-08T10:26:06.170Z] Login Succeeded [2022-10-08T10:26:06.170Z] nexus3.edgexfoundry.org:10002 [2022-10-08T10:26:06.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:06.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:06.170Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:06.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:06.170Z] [2022-10-08T10:26:06.170Z] Login Succeeded [2022-10-08T10:26:06.170Z] nexus3.edgexfoundry.org:10003 [2022-10-08T10:26:06.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:06.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:06.434Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:06.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:06.434Z] [2022-10-08T10:26:06.434Z] Login Succeeded [2022-10-08T10:26:06.434Z] nexus3.edgexfoundry.org:10004 [2022-10-08T10:26:06.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:06.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:06.434Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:06.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:06.434Z] [2022-10-08T10:26:06.434Z] Login Succeeded [2022-10-08T10:26:06.434Z] docker.io [2022-10-08T10:26:06.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:07.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:07.004Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:07.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:07.004Z] [2022-10-08T10:26:07.004Z] Login Succeeded [2022-10-08T10:26:07.004Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T10:26:07.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-08T10:26:07.399Z] + git rev-list -1 --merges f5aeb6614c21a3e0ce3156cc256a3d02faf462bc~1..f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo [2022-10-08T10:26:07.452Z] -----------> git rev-list -1 --merges f5aeb6614c21a3e0ce3156cc256a3d02faf462bc~1..f5aeb6614c21a3e0ce3156cc256a3d02faf462bc f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [false] [Pipeline] sh [2022-10-08T10:26:07.742Z] + git log --format=format:%s -1 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo [2022-10-08T10:26:07.758Z] ========================================================= [2022-10-08T10:26:07.758Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-08T10:26:07.758Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T10:26:08.077Z] + git log --format=format:%s -1 f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] echo [2022-10-08T10:26:08.088Z] [semverPrep] GIT_COMMIT: f5aeb6614c21a3e0ce3156cc256a3d02faf462bc, Commit Message: fix:discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-08T10:26:08.098Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-08T10:26:08.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-08T10:26:08.449Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-08T10:26:08.449Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-08T10:26:08.449Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-08T10:26:08.449Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-08T10:26:08.449Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-08T10:26:08.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:26:08.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T10:26:08.847Z] [2022-10-08T10:26:08.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:26:09.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T10:26:09.150Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-08T10:26:09.150Z] b85a868b505f: Pulling fs layer [2022-10-08T10:26:09.150Z] e2be974225ed: Pulling fs layer [2022-10-08T10:26:09.150Z] 339a4e72a1f5: Pulling fs layer [2022-10-08T10:26:09.150Z] 988bab9f4d93: Pulling fs layer [2022-10-08T10:26:09.150Z] 1469e6f7b9e6: Pulling fs layer [2022-10-08T10:26:09.150Z] eaf3925da568: Pulling fs layer [2022-10-08T10:26:09.150Z] bab4dde63d76: Pulling fs layer [2022-10-08T10:26:09.150Z] bde34c3a00c8: Pulling fs layer [2022-10-08T10:26:09.150Z] b352a97aabf1: Pulling fs layer [2022-10-08T10:26:09.150Z] 4872d77fe225: Pulling fs layer [2022-10-08T10:26:09.150Z] 5851b861e8e6: Pulling fs layer [2022-10-08T10:26:09.150Z] 988bab9f4d93: Waiting [2022-10-08T10:26:09.150Z] 1469e6f7b9e6: Waiting [2022-10-08T10:26:09.150Z] eaf3925da568: Waiting [2022-10-08T10:26:09.150Z] bde34c3a00c8: Waiting [2022-10-08T10:26:09.150Z] b352a97aabf1: Waiting [2022-10-08T10:26:09.150Z] bab4dde63d76: Waiting [2022-10-08T10:26:09.150Z] 4872d77fe225: Waiting [2022-10-08T10:26:09.150Z] 5851b861e8e6: Waiting [2022-10-08T10:26:09.150Z] e2be974225ed: Verifying Checksum [2022-10-08T10:26:09.150Z] e2be974225ed: Download complete [2022-10-08T10:26:09.150Z] 988bab9f4d93: Download complete [2022-10-08T10:26:09.412Z] 1469e6f7b9e6: Verifying Checksum [2022-10-08T10:26:09.412Z] 1469e6f7b9e6: Download complete [2022-10-08T10:26:09.412Z] eaf3925da568: Verifying Checksum [2022-10-08T10:26:09.412Z] eaf3925da568: Download complete [2022-10-08T10:26:09.412Z] 339a4e72a1f5: Verifying Checksum [2022-10-08T10:26:09.412Z] 339a4e72a1f5: Download complete [2022-10-08T10:26:09.412Z] bde34c3a00c8: Download complete [2022-10-08T10:26:09.412Z] b352a97aabf1: Download complete [2022-10-08T10:26:09.412Z] 4872d77fe225: Verifying Checksum [2022-10-08T10:26:09.412Z] 4872d77fe225: Download complete [2022-10-08T10:26:09.412Z] 5851b861e8e6: Verifying Checksum [2022-10-08T10:26:09.412Z] 5851b861e8e6: Download complete [2022-10-08T10:26:09.412Z] b85a868b505f: Verifying Checksum [2022-10-08T10:26:09.412Z] b85a868b505f: Download complete [2022-10-08T10:26:09.671Z] bab4dde63d76: Verifying Checksum [2022-10-08T10:26:09.671Z] bab4dde63d76: Download complete [2022-10-08T10:26:10.610Z] b85a868b505f: Pull complete [2022-10-08T10:26:10.868Z] e2be974225ed: Pull complete [2022-10-08T10:26:11.436Z] 339a4e72a1f5: Pull complete [2022-10-08T10:26:11.436Z] 988bab9f4d93: Pull complete [2022-10-08T10:26:11.694Z] 1469e6f7b9e6: Pull complete [2022-10-08T10:26:11.694Z] eaf3925da568: Pull complete [2022-10-08T10:26:13.594Z] bab4dde63d76: Pull complete [2022-10-08T10:26:13.594Z] bde34c3a00c8: Pull complete [2022-10-08T10:26:13.852Z] b352a97aabf1: Pull complete [2022-10-08T10:26:13.852Z] 4872d77fe225: Pull complete [2022-10-08T10:26:13.852Z] 5851b861e8e6: Pull complete [2022-10-08T10:26:13.852Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-08T10:26:13.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T10:26:13.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:26:13.940Z] prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container [2022-10-08T10:26:13.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-08T10:26:18.880Z] $ docker top 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e -eo pid,comm [2022-10-08T10:26:18.936Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-08T10:26:18.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-08T10:26:18.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-08T10:26:18.974Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-08T10:26:19.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-08T10:26:19.083Z] $ docker exec 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent [2022-10-08T10:26:19.192Z] SSH_AUTH_SOCK=/tmp/ssh-R2rb3lk9Na7n/agent.33 [2022-10-08T10:26:19.192Z] SSH_AGENT_PID=39 [2022-10-08T10:26:19.198Z] Running ssh-add (command line suppressed) [2022-10-08T10:26:19.293Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13371085140308959126.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13371085140308959126.key) [2022-10-08T10:26:19.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-08T10:26:19.596Z] + git tag --points-at HEAD [Pipeline] } [2022-10-08T10:26:19.604Z] $ docker exec --env ******** --env ******** 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent -k [2022-10-08T10:26:19.710Z] unset SSH_AUTH_SOCK; [2022-10-08T10:26:19.710Z] unset SSH_AGENT_PID; [2022-10-08T10:26:19.710Z] echo Agent pid 39 killed; [2022-10-08T10:26:19.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-08T10:26:19.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-08T10:26:19.744Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-08T10:26:19.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-08T10:26:19.865Z] $ docker exec 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent [2022-10-08T10:26:19.961Z] SSH_AUTH_SOCK=/tmp/ssh-QFechVLsG58F/agent.72 [2022-10-08T10:26:19.961Z] SSH_AGENT_PID=78 [2022-10-08T10:26:19.966Z] Running ssh-add (command line suppressed) [2022-10-08T10:26:20.079Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14706992931247963330.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14706992931247963330.key) [2022-10-08T10:26:20.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-08T10:26:20.387Z] + git semver init [2022-10-08T10:26:20.646Z] 2022-10-08 10:26:20,550 [run_init] DEBUG init version:0.0.0 force:False [2022-10-08T10:26:20.646Z] 2022-10-08 10:26:20,551 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-08T10:26:20.646Z] 2022-10-08 10:26:20,551 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-08T10:26:20.646Z] 2022-10-08 10:26:20,552 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,616 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,616 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,620 [execute] INFO git cat-file --batch-check [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,626 [execute] INFO git cat-file --batch [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-08T10:26:22.026Z] 2022-10-08 10:26:21,631 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-08T10:26:22.026Z] 0.0.0 [Pipeline] } [2022-10-08T10:26:22.036Z] $ docker exec --env ******** --env ******** 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e ssh-agent -k [2022-10-08T10:26:22.135Z] unset SSH_AUTH_SOCK; [2022-10-08T10:26:22.136Z] unset SSH_AGENT_PID; [2022-10-08T10:26:22.136Z] echo Agent pid 78 killed; [2022-10-08T10:26:22.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-08T10:26:22.453Z] + git semver [Pipeline] } [2022-10-08T10:26:22.726Z] $ docker stop --time=1 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e [2022-10-08T10:26:24.008Z] $ docker rm -f 1f772a7c9ae8a7be1d95b456b02b23f983677604b76ef4c08977e5ed3b3fe19e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T10:26:24.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-08T10:26:24.518Z] Stashed 1 file(s) [Pipeline] echo [2022-10-08T10:26:24.521Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T10:26:24.665Z] provisioning config files... [2022-10-08T10:26:24.673Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16077153561047989147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:26:24.968Z] ---> docker-login.sh [2022-10-08T10:26:24.968Z] nexus3.edgexfoundry.org:10001 [2022-10-08T10:26:24.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:24.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:24.968Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:24.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:24.968Z] [2022-10-08T10:26:24.968Z] Login Succeeded [2022-10-08T10:26:24.968Z] nexus3.edgexfoundry.org:10002 [2022-10-08T10:26:24.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:24.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:24.968Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:24.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:24.968Z] [2022-10-08T10:26:24.968Z] Login Succeeded [2022-10-08T10:26:24.968Z] nexus3.edgexfoundry.org:10003 [2022-10-08T10:26:25.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:25.226Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:25.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:25.226Z] [2022-10-08T10:26:25.226Z] Login Succeeded [2022-10-08T10:26:25.226Z] nexus3.edgexfoundry.org:10004 [2022-10-08T10:26:25.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:25.226Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:25.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:25.226Z] [2022-10-08T10:26:25.226Z] Login Succeeded [2022-10-08T10:26:25.226Z] docker.io [2022-10-08T10:26:25.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:26:25.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:26:25.747Z] Configure a credential helper to remove this warning. See [2022-10-08T10:26:25.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:26:25.747Z] [2022-10-08T10:26:25.747Z] Login Succeeded [2022-10-08T10:26:25.747Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T10:26:25.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-08T10:26:25.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T10:26:25.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T10:26:25.844Z] ========================================================= [2022-10-08T10:26:25.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-08T10:26:25.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:26:26.165Z] + 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 . [2022-10-08T10:26:26.165Z] Sending build context to Docker daemon 20.81MB [2022-10-08T10:26:26.165Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T10:26:26.165Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-08T10:26:26.426Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-08T10:26:26.426Z] 2408cc74d12b: Pulling fs layer [2022-10-08T10:26:26.426Z] ea60b727a1ce: Pulling fs layer [2022-10-08T10:26:26.426Z] 30c4a7721957: Pulling fs layer [2022-10-08T10:26:26.426Z] 370296b7ddb6: Pulling fs layer [2022-10-08T10:26:26.426Z] 7c6cee850709: Pulling fs layer [2022-10-08T10:26:26.426Z] aa9baa53a306: Pulling fs layer [2022-10-08T10:26:26.426Z] 8b309c321861: Pulling fs layer [2022-10-08T10:26:26.426Z] d8d76fd02f46: Pulling fs layer [2022-10-08T10:26:26.426Z] fa31f396de31: Pulling fs layer [2022-10-08T10:26:26.426Z] 7c6cee850709: Waiting [2022-10-08T10:26:26.426Z] d8d76fd02f46: Waiting [2022-10-08T10:26:26.426Z] aa9baa53a306: Waiting [2022-10-08T10:26:26.426Z] 8b309c321861: Waiting [2022-10-08T10:26:26.426Z] fa31f396de31: Waiting [2022-10-08T10:26:26.426Z] 370296b7ddb6: Waiting [2022-10-08T10:26:26.426Z] 30c4a7721957: Verifying Checksum [2022-10-08T10:26:26.426Z] 30c4a7721957: Download complete [2022-10-08T10:26:26.426Z] ea60b727a1ce: Verifying Checksum [2022-10-08T10:26:26.426Z] ea60b727a1ce: Download complete [2022-10-08T10:26:26.426Z] 7c6cee850709: Download complete [2022-10-08T10:26:26.426Z] aa9baa53a306: Verifying Checksum [2022-10-08T10:26:26.426Z] aa9baa53a306: Download complete [2022-10-08T10:26:26.426Z] 2408cc74d12b: Verifying Checksum [2022-10-08T10:26:26.426Z] 2408cc74d12b: Download complete [2022-10-08T10:26:26.426Z] 8b309c321861: Verifying Checksum [2022-10-08T10:26:26.426Z] 8b309c321861: Download complete [2022-10-08T10:26:26.426Z] 2408cc74d12b: Pull complete [2022-10-08T10:26:26.689Z] ea60b727a1ce: Pull complete [2022-10-08T10:26:26.689Z] 30c4a7721957: Pull complete [2022-10-08T10:26:26.949Z] fa31f396de31: Verifying Checksum [2022-10-08T10:26:26.949Z] fa31f396de31: Download complete [2022-10-08T10:26:26.949Z] d8d76fd02f46: Verifying Checksum [2022-10-08T10:26:26.949Z] d8d76fd02f46: Download complete [2022-10-08T10:26:27.207Z] 370296b7ddb6: Verifying Checksum [2022-10-08T10:26:27.207Z] 370296b7ddb6: Download complete [2022-10-08T10:26:30.488Z] 370296b7ddb6: Pull complete [2022-10-08T10:26:30.745Z] 7c6cee850709: Pull complete [2022-10-08T10:26:30.745Z] aa9baa53a306: Pull complete [2022-10-08T10:26:30.745Z] 8b309c321861: Pull complete [2022-10-08T10:26:32.642Z] d8d76fd02f46: Pull complete [2022-10-08T10:26:33.208Z] fa31f396de31: Pull complete [2022-10-08T10:26:33.208Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-08T10:26:33.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-08T10:26:33.208Z] ---> cef68f9685f8 [2022-10-08T10:26:33.208Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-08T10:26:39.623Z] Still waiting to schedule task [2022-10-08T10:26:39.623Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-08T10:26:41.361Z] ---> Running in 752c3302a247 [2022-10-08T10:26:41.361Z] Removing intermediate container 752c3302a247 [2022-10-08T10:26:41.361Z] ---> bc95e007e509 [2022-10-08T10:26:41.361Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T10:26:41.361Z] ---> Running in 1f1c85289128 [2022-10-08T10:26:41.361Z] Removing intermediate container 1f1c85289128 [2022-10-08T10:26:41.361Z] ---> 3956427f98db [2022-10-08T10:26:41.361Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T10:26:41.361Z] ---> Running in b0d1b1b97caa [2022-10-08T10:26:41.361Z] Removing intermediate container b0d1b1b97caa [2022-10-08T10:26:41.361Z] ---> 0d23b8074942 [2022-10-08T10:26:41.361Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T10:26:41.361Z] ---> Running in 2a926008e816 [2022-10-08T10:26:41.361Z] Removing intermediate container 2a926008e816 [2022-10-08T10:26:41.361Z] ---> c3ca692c9fce [2022-10-08T10:26:41.361Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-08T10:26:41.361Z] ---> Running in 62091190adb5 [2022-10-08T10:26:41.361Z] Removing intermediate container 62091190adb5 [2022-10-08T10:26:41.361Z] ---> e39bdb66a36f [2022-10-08T10:26:41.361Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T10:26:41.361Z] ---> Running in 78a8c63bb65c [2022-10-08T10:26:41.931Z] Removing intermediate container 78a8c63bb65c [2022-10-08T10:26:41.931Z] ---> f6093cc1bbb6 [2022-10-08T10:26:41.931Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T10:26:41.931Z] ---> Running in 68516f55eb0e [2022-10-08T10:26:42.190Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T10:26:43.133Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T10:26:43.393Z] OK: 211 MiB in 51 packages [2022-10-08T10:26:43.961Z] Removing intermediate container 68516f55eb0e [2022-10-08T10:26:43.961Z] ---> 921d7159a7d2 [2022-10-08T10:26:43.961Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-08T10:26:43.961Z] ---> Running in 13b2558ea4bd [2022-10-08T10:26:43.961Z] Removing intermediate container 13b2558ea4bd [2022-10-08T10:26:43.961Z] ---> 5ae2b0996550 [2022-10-08T10:26:43.961Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-08T10:26:43.961Z] ---> 2a8d43d52742 [2022-10-08T10:26:43.961Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T10:26:43.961Z] ---> Running in 96a0a78fc178 [2022-10-08T10:27:16.225Z] Removing intermediate container 96a0a78fc178 [2022-10-08T10:27:16.225Z] ---> 732cfe6c19b6 [2022-10-08T10:27:16.225Z] Step 13/14 : COPY . . [2022-10-08T10:27:16.484Z] ---> c337334a7f08 [2022-10-08T10:27:16.484Z] Step 14/14 : RUN ${MAKE} [2022-10-08T10:27:16.484Z] ---> Running in 2f047269cfa3 [2022-10-08T10:27:16.745Z] noop [2022-10-08T10:27:17.004Z] Removing intermediate container 2f047269cfa3 [2022-10-08T10:27:17.004Z] ---> e72327c6d9a9 [2022-10-08T10:27:17.004Z] Successfully built e72327c6d9a9 [2022-10-08T10:27:17.004Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:27:17.324Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-08T10:27:17.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:27:17.395Z] prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container [2022-10-08T10:27:17.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-08T10:27:17.822Z] $ docker top 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T10:27:18.163Z] + go version [2022-10-08T10:27:18.163Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-08T10:27:18.178Z] $ docker stop --time=1 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 [2022-10-08T10:27:19.443Z] $ docker rm -f 8adccef23f33afdbdeac225ee6a4c79949beafc52b8ce4f47a5ad93ef833a5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:27:19.827Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-08T10:27:19.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:27:19.892Z] prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container [2022-10-08T10:27:19.927Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-08T10:27:20.242Z] $ docker top 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T10:27:20.585Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-08T10:27:20.879Z] + make test [2022-10-08T10:27:20.879Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-08T10:27:21.137Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-08T10:27:33.328Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-08T10:27:33.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-08T10:27:33.586Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-08T10:27:33.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.847s coverage: 86.5% of statements [2022-10-08T10:27:41.696Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-08T10:27:41.696Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-08T10:27:44.982Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-08T10:27:44.982Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-08T10:27:44.982Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-08T10:27:44.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-08T10:27:45.008Z] $ docker stop --time=1 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 [2022-10-08T10:27:47.994Z] $ docker rm -f 920a61e5229a04efc6e2ef2987950d56724bf55bc45e15b6e76023108cd21523 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T10:27:48.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-08T10:27:48.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-08T10:27:48.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-08T10:27:49.267Z] + ls -al . [2022-10-08T10:27:49.267Z] total 236 [2022-10-08T10:27:49.267Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 10:27 . [2022-10-08T10:27:49.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 .. [2022-10-08T10:27:49.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 10:27 .git [2022-10-08T10:27:49.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:26 .github [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 10:26 .gitignore [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 10:26 .golangci.yml [2022-10-08T10:27:49.267Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 10:26 .semver [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 10:26 Attribution.txt [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 10:26 CHANGELOG.md [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 10:26 Dockerfile [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 10:26 GOVERNANCE.md [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 10:26 Jenkinsfile [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 10:26 LICENSE [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 10:26 Makefile [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 10:26 OWNERS.md [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 10:26 README.md [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 10:26 VERSION [2022-10-08T10:27:49.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 10:26 bin [2022-10-08T10:27:49.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:26 cmd [2022-10-08T10:27:49.267Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 10:27 coverage.out [2022-10-08T10:27:49.267Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 10:26 doc [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 10:26 go.mod [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 10:26 go.sum [2022-10-08T10:27:49.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 internal [2022-10-08T10:27:49.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:26 snap [2022-10-08T10:27:49.267Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 10:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:27:49.710Z] + 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=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc --label arch=amd64 --label version=0.0.0 . [2022-10-08T10:27:49.710Z] Sending build context to Docker daemon 20.89MB [2022-10-08T10:27:49.710Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T10:27:49.710Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-08T10:27:49.710Z] ---> e72327c6d9a9 [2022-10-08T10:27:49.710Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-08T10:27:49.985Z] ---> Running in 2b0133145ca7 [2022-10-08T10:27:49.985Z] Removing intermediate container 2b0133145ca7 [2022-10-08T10:27:49.985Z] ---> 12d8d8926eff [2022-10-08T10:27:49.985Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T10:27:49.985Z] ---> Running in 172431e68109 [2022-10-08T10:27:50.252Z] Removing intermediate container 172431e68109 [2022-10-08T10:27:50.252Z] ---> d9230d49eba1 [2022-10-08T10:27:50.252Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T10:27:50.252Z] ---> Running in 67bd9e5bd3bf [2022-10-08T10:27:50.252Z] Removing intermediate container 67bd9e5bd3bf [2022-10-08T10:27:50.252Z] ---> 665affc3ee6a [2022-10-08T10:27:50.252Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T10:27:50.252Z] ---> Running in 9b948887c2b0 [2022-10-08T10:27:50.252Z] Removing intermediate container 9b948887c2b0 [2022-10-08T10:27:50.252Z] ---> a174cf623af5 [2022-10-08T10:27:50.252Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-08T10:27:50.252Z] ---> Running in 771060ae8e62 [2022-10-08T10:27:50.252Z] Removing intermediate container 771060ae8e62 [2022-10-08T10:27:50.252Z] ---> 0433b24e8e1f [2022-10-08T10:27:50.252Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T10:27:50.523Z] ---> Running in 197873d7b697 [2022-10-08T10:27:50.807Z] Removing intermediate container 197873d7b697 [2022-10-08T10:27:50.807Z] ---> ae584da2095f [2022-10-08T10:27:50.807Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T10:27:51.074Z] ---> Running in 4679cec4cb96 [2022-10-08T10:27:51.074Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T10:27:52.013Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T10:27:52.272Z] OK: 211 MiB in 51 packages [2022-10-08T10:27:52.543Z] Removing intermediate container 4679cec4cb96 [2022-10-08T10:27:52.543Z] ---> 01015f7111cb [2022-10-08T10:27:52.543Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-08T10:27:52.801Z] ---> Running in 590f57d5aed0 [2022-10-08T10:27:52.801Z] Removing intermediate container 590f57d5aed0 [2022-10-08T10:27:52.801Z] ---> 27708c52dfb1 [2022-10-08T10:27:52.801Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-08T10:27:52.801Z] ---> 7b2d29875f70 [2022-10-08T10:27:52.801Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T10:27:52.801Z] ---> Running in dcdd72c68b44 [2022-10-08T10:27:53.736Z] Removing intermediate container dcdd72c68b44 [2022-10-08T10:27:53.736Z] ---> c38cd1c27f69 [2022-10-08T10:27:53.736Z] Step 13/27 : COPY . . [2022-10-08T10:27:54.670Z] ---> 36c1f396156b [2022-10-08T10:27:54.670Z] Step 14/27 : RUN ${MAKE} [2022-10-08T10:27:54.670Z] ---> Running in f0e1345d4abe [2022-10-08T10:27:54.929Z] 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 [2022-10-08T10:28:08.258Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7401 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-08T10:28:08.270Z] Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout [2022-10-08T10:28:08.306Z] The recommended git tool is: git [2022-10-08T10:28:13.084Z] using credential edgex-jenkins-ssh [2022-10-08T10:28:13.099Z] Cloning the remote Git repository [2022-10-08T10:28:13.138Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T10:28:13.209Z] > git init /w/workspace/device-onvif-camera/17 # timeout=10 [2022-10-08T10:28:13.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T10:28:13.363Z] > git --version # timeout=10 [2022-10-08T10:28:13.384Z] > git --version # 'git version 2.25.1' [2022-10-08T10:28:13.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T10:28:13.432Z] Verifying host key using known hosts file [2022-10-08T10:28:13.617Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-08T10:28:13.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-08T10:28:14.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-08T10:28:14.854Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-08T10:28:15.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-08T10:28:16.323Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-08T10:28:16.663Z] Merge succeeded, producing f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-08T10:28:16.663Z] Checking out Revision f5aeb6614c21a3e0ce3156cc256a3d02faf462bc (PR-172) [2022-10-08T10:28:15.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T10:28:15.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T10:28:15.685Z] Verifying host key using known hosts file [2022-10-08T10:28:15.691Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-08T10:28:15.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-08T10:28:16.339Z] > git config core.sparsecheckout # timeout=10 [2022-10-08T10:28:16.356Z] > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [2022-10-08T10:28:16.569Z] > git remote # timeout=10 [2022-10-08T10:28:16.586Z] > git config --get remote.origin.url # timeout=10 [2022-10-08T10:28:16.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T10:28:16.605Z] Verifying host key using known hosts file [2022-10-08T10:28:16.609Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-08T10:28:16.617Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-08T10:28:16.640Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-08T10:28:16.667Z] > git config core.sparsecheckout # timeout=10 [2022-10-08T10:28:16.680Z] > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [2022-10-08T10:28:17.363Z] Commit message: "fix:discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T10:28:18.230Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-08T10:28:18.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-08T10:28:18.230Z] Dload Upload Total Spent Left Speed [2022-10-08T10:28:18.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 61559 0 --:--:-- --:--:-- --:--:-- 61559 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 64625 [Pipeline] sh [2022-10-08T10:28:18.824Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-08T10:28:19.149Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-08T10:28:19.149Z] + sudo tee /etc/docker/daemon.new [2022-10-08T10:28:19.149Z] { [2022-10-08T10:28:19.149Z] "registry-mirrors": [ [2022-10-08T10:28:19.149Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-08T10:28:19.149Z] ], [2022-10-08T10:28:19.149Z] "bip": "10.250.0.254/24", [2022-10-08T10:28:19.149Z] "hosts": [ [2022-10-08T10:28:19.149Z] "tcp://0.0.0.0:5555", [2022-10-08T10:28:19.149Z] "unix:///var/run/docker.sock" [2022-10-08T10:28:19.149Z] ], [2022-10-08T10:28:19.149Z] "mtu": 1458, [2022-10-08T10:28:19.149Z] "selinux-enabled": true, [2022-10-08T10:28:19.149Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-08T10:28:19.149Z] } [Pipeline] sh [2022-10-08T10:28:19.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-08T10:28:19.815Z] + sudo service docker restart [2022-10-08T10:28:21.459Z] Removing intermediate container f0e1345d4abe [2022-10-08T10:28:21.459Z] ---> c3d0a00d43ff [2022-10-08T10:28:21.459Z] Step 15/27 : FROM alpine:3.16 [2022-10-08T10:28:21.459Z] 3.16: Pulling from library/alpine [2022-10-08T10:28:21.459Z] 213ec9aee27d: Pulling fs layer [2022-10-08T10:28:21.459Z] 213ec9aee27d: Download complete [2022-10-08T10:28:21.459Z] 213ec9aee27d: Pull complete [2022-10-08T10:28:21.459Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-08T10:28:21.459Z] Status: Downloaded newer image for alpine:3.16 [2022-10-08T10:28:21.459Z] ---> 9c6f07244728 [2022-10-08T10:28:21.459Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-08T10:28:21.459Z] ---> Running in 52f05d5a4ea4 [2022-10-08T10:28:21.459Z] Removing intermediate container 52f05d5a4ea4 [2022-10-08T10:28:21.459Z] ---> d12e93dade3c [2022-10-08T10:28:21.459Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-08T10:28:21.459Z] ---> Running in 58d6084e59cb [2022-10-08T10:28:21.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T10:28:21.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T10:28:21.459Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-08T10:28:21.459Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-08T10:28:21.459Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-08T10:28:21.459Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-08T10:28:21.459Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-08T10:28:21.459Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-08T10:28:21.459Z] Executing busybox-1.35.0-r17.trigger [2022-10-08T10:28:21.459Z] OK: 8 MiB in 20 packages [2022-10-08T10:28:21.459Z] Removing intermediate container 58d6084e59cb [2022-10-08T10:28:21.459Z] ---> 5f1340f86c43 [2022-10-08T10:28:21.459Z] Step 18/27 : WORKDIR / [2022-10-08T10:28:21.459Z] ---> Running in e42aef37415a [2022-10-08T10:28:21.459Z] Removing intermediate container e42aef37415a [2022-10-08T10:28:21.459Z] ---> 2fc1b9a30ff8 [2022-10-08T10:28:21.459Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-08T10:28:22.025Z] ---> c093dc62f865 [2022-10-08T10:28:22.025Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-08T10:28:22.283Z] ---> 61520ff36deb [2022-10-08T10:28:22.283Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-08T10:28:22.283Z] ---> c4ba07794ab0 [2022-10-08T10:28:22.283Z] Step 22/27 : EXPOSE 59984 [2022-10-08T10:28:22.283Z] ---> Running in 51fb96ba8098 [2022-10-08T10:28:22.542Z] Removing intermediate container 51fb96ba8098 [2022-10-08T10:28:22.542Z] ---> 7363d81227ea [2022-10-08T10:28:22.542Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-08T10:28:22.542Z] ---> Running in eb615005c4f1 [2022-10-08T10:28:22.542Z] Removing intermediate container eb615005c4f1 [2022-10-08T10:28:22.542Z] ---> 94fb5f6bfb7c [2022-10-08T10:28:22.542Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-08T10:28:22.542Z] ---> Running in 0a1abcf59f27 [2022-10-08T10:28:22.542Z] Removing intermediate container 0a1abcf59f27 [2022-10-08T10:28:22.542Z] ---> 5947ca93fc7c [2022-10-08T10:28:22.542Z] Step 25/27 : LABEL arch=amd64 [2022-10-08T10:28:22.801Z] ---> Running in 9570569d4c9b [2022-10-08T10:28:22.801Z] Removing intermediate container 9570569d4c9b [2022-10-08T10:28:22.801Z] ---> f4e46218e49d [2022-10-08T10:28:22.801Z] Step 26/27 : LABEL git_sha=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-08T10:28:22.801Z] ---> Running in c8ef069eadcf [2022-10-08T10:28:22.801Z] Removing intermediate container c8ef069eadcf [2022-10-08T10:28:22.801Z] ---> b80bd70043af [2022-10-08T10:28:22.801Z] Step 27/27 : LABEL version=0.0.0 [2022-10-08T10:28:22.801Z] ---> Running in 6ce910bb599b [2022-10-08T10:28:23.060Z] Removing intermediate container 6ce910bb599b [2022-10-08T10:28:23.061Z] ---> a978354d2b8f [2022-10-08T10:28:23.061Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-08T10:28:23.061Z] Successfully built a978354d2b8f [2022-10-08T10:28:23.061Z] 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 [2022-10-08T10:28:23.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T10:28:23.477Z] [2022-10-08T10:28:23.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:28:23.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T10:28:23.768Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-08T10:28:23.768Z] 5eb5b503b376: Pulling fs layer [2022-10-08T10:28:23.768Z] 5c69ac0246d0: Pulling fs layer [2022-10-08T10:28:23.768Z] ec43610c2a17: Pulling fs layer [2022-10-08T10:28:23.768Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-08T10:28:23.768Z] 33b1e0a273af: Pulling fs layer [2022-10-08T10:28:23.768Z] 5d3b04190fa2: Pulling fs layer [2022-10-08T10:28:23.768Z] 2f39f015ded8: Pulling fs layer [2022-10-08T10:28:23.768Z] 33b1e0a273af: Waiting [2022-10-08T10:28:23.768Z] 5d3b04190fa2: Waiting [2022-10-08T10:28:23.768Z] 2f39f015ded8: Waiting [2022-10-08T10:28:23.768Z] 3a2ae6a8a46f: Waiting [2022-10-08T10:28:23.768Z] 5c69ac0246d0: Verifying Checksum [2022-10-08T10:28:23.768Z] 5c69ac0246d0: Download complete [2022-10-08T10:28:23.768Z] 3a2ae6a8a46f: Download complete [2022-10-08T10:28:23.768Z] 33b1e0a273af: Verifying Checksum [2022-10-08T10:28:23.768Z] 33b1e0a273af: Download complete [2022-10-08T10:28:24.026Z] 5d3b04190fa2: Verifying Checksum [2022-10-08T10:28:24.026Z] 5d3b04190fa2: Download complete [2022-10-08T10:28:24.026Z] ec43610c2a17: Verifying Checksum [2022-10-08T10:28:24.026Z] ec43610c2a17: Download complete [2022-10-08T10:28:24.026Z] 5eb5b503b376: Verifying Checksum [2022-10-08T10:28:24.026Z] 5eb5b503b376: Download complete [2022-10-08T10:28:24.594Z] 2f39f015ded8: Download complete [2022-10-08T10:28:25.158Z] 5eb5b503b376: Pull complete [2022-10-08T10:28:25.416Z] 5c69ac0246d0: Pull complete [2022-10-08T10:28:25.674Z] ec43610c2a17: Pull complete [2022-10-08T10:28:25.932Z] 3a2ae6a8a46f: Pull complete [2022-10-08T10:28:26.190Z] 33b1e0a273af: Pull complete [2022-10-08T10:28:26.190Z] 5d3b04190fa2: Pull complete [2022-10-08T10:28:30.371Z] 2f39f015ded8: Pull complete [2022-10-08T10:28:30.371Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-08T10:28:30.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T10:28:30.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:28:30.441Z] prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container [2022-10-08T10:28:30.476Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-08T10:28:35.690Z] $ docker top d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:28:36.076Z] ---> job-cost.sh [2022-10-08T10:28:36.076Z] lf-activate-venv: SKIPPING [2022-10-08T10:28:36.076Z] INFO: No Stack... [2022-10-08T10:28:36.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-08T10:28:36.903Z] INFO: Archiving Costs [Pipeline] sh [2022-10-08T10:28:37.193Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-08T10:28:37.193Z] + cut -d, -f6 [Pipeline] lock [2022-10-08T10:28:37.207Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [2022-10-08T10:28:37.215Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] did not exist. Created. [2022-10-08T10:28:37.215Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-08T10:28:37.533Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-08T10:28:37.557Z] Stashed 1 file(s) [Pipeline] } [2022-10-08T10:28:37.563Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-08T10:28:37.588Z] $ docker stop --time=1 d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf [2022-10-08T10:28:38.733Z] $ docker rm -f d55bbb58edb2ab761f66f73b0dd8f7f42e285537c337b8964db777d40e60fdaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2022-10-08T10:28:38.799Z] provisioning config files... [Pipeline] } [Pipeline] // withEnv [2022-10-08T10:28:38.823Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config6136294332692046723tmp [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:28:39.169Z] ---> docker-login.sh [2022-10-08T10:28:39.169Z] nexus3.edgexfoundry.org:10001 [2022-10-08T10:28:39.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:28:39.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:28:39.710Z] Configure a credential helper to remove this warning. See [2022-10-08T10:28:39.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:28:39.710Z] [2022-10-08T10:28:39.710Z] Login Succeeded [2022-10-08T10:28:39.710Z] nexus3.edgexfoundry.org:10002 [2022-10-08T10:28:39.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:28:39.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:28:39.978Z] Configure a credential helper to remove this warning. See [2022-10-08T10:28:39.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:28:39.978Z] [2022-10-08T10:28:39.978Z] Login Succeeded [2022-10-08T10:28:39.978Z] nexus3.edgexfoundry.org:10003 [2022-10-08T10:28:40.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:28:40.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:28:40.516Z] Configure a credential helper to remove this warning. See [2022-10-08T10:28:40.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:28:40.516Z] [2022-10-08T10:28:40.516Z] Login Succeeded [2022-10-08T10:28:40.516Z] nexus3.edgexfoundry.org:10004 [2022-10-08T10:28:40.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:28:40.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:28:40.788Z] Configure a credential helper to remove this warning. See [2022-10-08T10:28:40.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:28:40.788Z] [2022-10-08T10:28:40.788Z] Login Succeeded [2022-10-08T10:28:40.788Z] docker.io [2022-10-08T10:28:41.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T10:28:41.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T10:28:41.327Z] Configure a credential helper to remove this warning. See [2022-10-08T10:28:41.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T10:28:41.327Z] [2022-10-08T10:28:41.327Z] Login Succeeded [2022-10-08T10:28:41.327Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T10:28:41.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-08T10:28:41.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T10:28:41.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T10:28:41.515Z] ========================================================= [2022-10-08T10:28:41.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-08T10:28:41.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:28:41.860Z] + 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 . [2022-10-08T10:28:42.450Z] Sending build context to Docker daemon 14.23MB [2022-10-08T10:28:42.451Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T10:28:42.451Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-08T10:28:42.451Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-08T10:28:42.451Z] b3c136eddcbf: Pulling fs layer [2022-10-08T10:28:42.451Z] c0a3192eca97: Pulling fs layer [2022-10-08T10:28:42.451Z] a050256f5b6f: Pulling fs layer [2022-10-08T10:28:42.451Z] 656be50a0ddc: Pulling fs layer [2022-10-08T10:28:42.451Z] 2bbca73fdf42: Pulling fs layer [2022-10-08T10:28:42.451Z] f607e4fc86c3: Pulling fs layer [2022-10-08T10:28:42.451Z] 4d572c569a2c: Pulling fs layer [2022-10-08T10:28:42.451Z] fcf976331f73: Pulling fs layer [2022-10-08T10:28:42.451Z] 4d572c569a2c: Waiting [2022-10-08T10:28:42.451Z] fcf976331f73: Waiting [2022-10-08T10:28:42.451Z] 656be50a0ddc: Waiting [2022-10-08T10:28:42.451Z] 2bbca73fdf42: Waiting [2022-10-08T10:28:42.451Z] a050256f5b6f: Verifying Checksum [2022-10-08T10:28:42.451Z] c0a3192eca97: Verifying Checksum [2022-10-08T10:28:42.451Z] c0a3192eca97: Download complete [2022-10-08T10:28:42.451Z] 2bbca73fdf42: Verifying Checksum [2022-10-08T10:28:42.451Z] 2bbca73fdf42: Download complete [2022-10-08T10:28:42.451Z] f607e4fc86c3: Verifying Checksum [2022-10-08T10:28:42.451Z] f607e4fc86c3: Download complete [2022-10-08T10:28:42.451Z] b3c136eddcbf: Download complete [2022-10-08T10:28:43.423Z] b3c136eddcbf: Pull complete [2022-10-08T10:28:43.694Z] fcf976331f73: Verifying Checksum [2022-10-08T10:28:43.694Z] fcf976331f73: Download complete [2022-10-08T10:28:43.969Z] c0a3192eca97: Pull complete [2022-10-08T10:28:44.241Z] a050256f5b6f: Pull complete [2022-10-08T10:28:44.831Z] 4d572c569a2c: Verifying Checksum [2022-10-08T10:28:44.831Z] 4d572c569a2c: Download complete [2022-10-08T10:28:45.420Z] 656be50a0ddc: Verifying Checksum [2022-10-08T10:28:45.420Z] 656be50a0ddc: Download complete [2022-10-08T10:28:57.755Z] 656be50a0ddc: Pull complete [2022-10-08T10:28:57.755Z] 2bbca73fdf42: Pull complete [2022-10-08T10:28:58.023Z] f607e4fc86c3: Pull complete [2022-10-08T10:29:04.686Z] 4d572c569a2c: Pull complete [2022-10-08T10:29:06.098Z] fcf976331f73: Pull complete [2022-10-08T10:29:06.099Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-08T10:29:06.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-08T10:29:06.099Z] ---> 3970a7415f9e [2022-10-08T10:29:06.099Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-08T10:29:08.125Z] ---> Running in 27900d6d70dd [2022-10-08T10:29:08.125Z] Removing intermediate container 27900d6d70dd [2022-10-08T10:29:08.125Z] ---> a7b50092edbe [2022-10-08T10:29:08.125Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T10:29:08.125Z] ---> Running in dcb8a42a5a04 [2022-10-08T10:29:08.402Z] Removing intermediate container dcb8a42a5a04 [2022-10-08T10:29:08.402Z] ---> d3bc2d35ef08 [2022-10-08T10:29:08.402Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T10:29:08.675Z] ---> Running in d9dd7dcd1a4a [2022-10-08T10:29:08.951Z] Removing intermediate container d9dd7dcd1a4a [2022-10-08T10:29:08.951Z] ---> c0cbac81566b [2022-10-08T10:29:08.951Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T10:29:08.951Z] ---> Running in 9c5dea3a254f [2022-10-08T10:29:09.236Z] Removing intermediate container 9c5dea3a254f [2022-10-08T10:29:09.236Z] ---> d2a4e71f0004 [2022-10-08T10:29:09.236Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-08T10:29:09.511Z] ---> Running in 90a24c3dc558 [2022-10-08T10:29:09.779Z] Removing intermediate container 90a24c3dc558 [2022-10-08T10:29:09.779Z] ---> c6f53dd5685a [2022-10-08T10:29:09.779Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T10:29:09.779Z] ---> Running in 8e500d6e40d3 [2022-10-08T10:29:11.724Z] Removing intermediate container 8e500d6e40d3 [2022-10-08T10:29:11.724Z] ---> ac6ff23b7565 [2022-10-08T10:29:11.724Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T10:29:11.724Z] ---> Running in fb85d35109b4 [2022-10-08T10:29:12.308Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T10:29:13.261Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T10:29:14.221Z] OK: 221 MiB in 51 packages [2022-10-08T10:29:14.809Z] Removing intermediate container fb85d35109b4 [2022-10-08T10:29:14.809Z] ---> 72decc905703 [2022-10-08T10:29:14.809Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-08T10:29:15.085Z] ---> Running in b81195ca831d [2022-10-08T10:29:15.351Z] Removing intermediate container b81195ca831d [2022-10-08T10:29:15.351Z] ---> d046e7f71de7 [2022-10-08T10:29:15.351Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-08T10:29:15.620Z] ---> 4500dafaf0cb [2022-10-08T10:29:15.620Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T10:29:15.886Z] ---> Running in f29fb89be503 [2022-10-08T10:30:12.313Z] Removing intermediate container f29fb89be503 [2022-10-08T10:30:12.313Z] ---> bc16861bee74 [2022-10-08T10:30:12.313Z] Step 13/14 : COPY . . [2022-10-08T10:30:12.313Z] ---> 132f4080ceec [2022-10-08T10:30:12.313Z] Step 14/14 : RUN ${MAKE} [2022-10-08T10:30:12.313Z] ---> Running in 27409148dc30 [2022-10-08T10:30:12.313Z] noop [2022-10-08T10:30:12.313Z] Removing intermediate container 27409148dc30 [2022-10-08T10:30:12.313Z] ---> 102010fafeb2 [2022-10-08T10:30:12.313Z] Successfully built 102010fafeb2 [2022-10-08T10:30:12.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:30:12.682Z] + docker inspect -f . ci-base-image-arm64 [2022-10-08T10:30:12.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:30:12.859Z] prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container [2022-10-08T10:30:12.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-10-08T10:30:14.074Z] $ docker top 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T10:30:14.898Z] + go version [2022-10-08T10:30:14.898Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-08T10:30:14.915Z] $ docker stop --time=1 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 [2022-10-08T10:30:16.488Z] $ docker rm -f 76199b647f25ace94638e98463bbd427c9b6ebdf394331bf5231f84837e617d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:30:17.041Z] + docker inspect -f . ci-base-image-arm64 [2022-10-08T10:30:17.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:30:17.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container [2022-10-08T10:30:17.257Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-10-08T10:30:18.382Z] $ docker top 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T10:30:18.898Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/17 [Pipeline] fileExists [Pipeline] sh [2022-10-08T10:30:19.233Z] + make test [2022-10-08T10:30:19.233Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-08T10:30:21.181Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-08T10:31:57.838Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-08T10:31:57.838Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.164s coverage: 28.2% of statements [2022-10-08T10:31:57.838Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-08T10:32:16.058Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.229s coverage: 86.5% of statements [2022-10-08T10:32:16.058Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-08T10:32:16.058Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-08T10:32:42.750Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-08T10:32:42.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-08T10:32:42.750Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-08T10:32:42.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-08T10:32:42.789Z] $ docker stop --time=1 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 [2022-10-08T10:32:44.598Z] $ docker rm -f 5c7069129d457c80c044ef151d8109b9603e35fa441f10b2e360028f1d671589 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T10:32:45.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-08T10:32:45.691Z] Warning: overwriting stash ‘coverage-report’ [2022-10-08T10:32:46.416Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T10:32:46.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-08T10:32:47.124Z] + ls -al . [2022-10-08T10:32:47.125Z] total 232 [2022-10-08T10:32:47.125Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 10:30 . [2022-10-08T10:32:47.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 .. [2022-10-08T10:32:47.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 10:28 .git [2022-10-08T10:32:47.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:28 .github [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 10:28 .gitignore [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 10:28 .golangci.yml [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 10:28 Attribution.txt [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 10:28 CHANGELOG.md [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 10:28 Dockerfile [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 10:28 GOVERNANCE.md [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 10:28 Jenkinsfile [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 10:28 LICENSE [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 10:28 Makefile [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 10:28 OWNERS.md [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 10:28 README.md [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 10:26 VERSION [2022-10-08T10:32:47.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 10:28 bin [2022-10-08T10:32:47.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 10:28 cmd [2022-10-08T10:32:47.125Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 10:32 coverage.out [2022-10-08T10:32:47.125Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 10:28 doc [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 10:28 go.mod [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 10:28 go.sum [2022-10-08T10:32:47.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 internal [2022-10-08T10:32:47.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 10:28 snap [2022-10-08T10:32:47.125Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:32:47.467Z] + 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=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc --label arch=arm64 --label version=0.0.0 . [2022-10-08T10:32:48.051Z] Sending build context to Docker daemon 14.31MB [2022-10-08T10:32:48.051Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T10:32:48.051Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-08T10:32:48.051Z] ---> 102010fafeb2 [2022-10-08T10:32:48.052Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-08T10:32:48.319Z] ---> Running in d27cc95e2f52 [2022-10-08T10:32:48.594Z] Removing intermediate container d27cc95e2f52 [2022-10-08T10:32:48.594Z] ---> 15a3a5a2a222 [2022-10-08T10:32:48.594Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T10:32:48.594Z] ---> Running in d5e5026eef45 [2022-10-08T10:32:48.864Z] Removing intermediate container d5e5026eef45 [2022-10-08T10:32:48.864Z] ---> a4d52f6b8152 [2022-10-08T10:32:48.864Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T10:32:48.864Z] ---> Running in 3f77fa4b7ebf [2022-10-08T10:32:49.449Z] Removing intermediate container 3f77fa4b7ebf [2022-10-08T10:32:49.449Z] ---> 89b22bc8e3b5 [2022-10-08T10:32:49.449Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T10:32:49.449Z] ---> Running in e5bbbb04cf67 [2022-10-08T10:32:49.717Z] Removing intermediate container e5bbbb04cf67 [2022-10-08T10:32:49.717Z] ---> 0a71357abbe4 [2022-10-08T10:32:49.717Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-08T10:32:49.717Z] ---> Running in 0fbfb3ce4787 [2022-10-08T10:32:49.985Z] Removing intermediate container 0fbfb3ce4787 [2022-10-08T10:32:49.985Z] ---> 41e47283403d [2022-10-08T10:32:49.985Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T10:32:50.256Z] ---> Running in 6ea5cfcfbfd9 [2022-10-08T10:32:52.211Z] Removing intermediate container 6ea5cfcfbfd9 [2022-10-08T10:32:52.211Z] ---> 2e043d98bace [2022-10-08T10:32:52.211Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T10:32:52.211Z] ---> Running in 222b47f4529a [2022-10-08T10:32:53.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T10:32:54.130Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T10:32:54.715Z] OK: 221 MiB in 51 packages [2022-10-08T10:32:55.681Z] Removing intermediate container 222b47f4529a [2022-10-08T10:32:55.681Z] ---> 2c38bfdfbdf3 [2022-10-08T10:32:55.681Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-08T10:32:55.947Z] ---> Running in 50367921a6f9 [2022-10-08T10:32:56.215Z] Removing intermediate container 50367921a6f9 [2022-10-08T10:32:56.215Z] ---> 0ab00cbb7044 [2022-10-08T10:32:56.215Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-08T10:32:56.801Z] ---> 5d16c3695c47 [2022-10-08T10:32:56.801Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T10:32:56.801Z] ---> Running in ddedb38cb6a0 [2022-10-08T10:32:59.389Z] Removing intermediate container ddedb38cb6a0 [2022-10-08T10:32:59.389Z] ---> 2a8ad85b8fd5 [2022-10-08T10:32:59.389Z] Step 13/27 : COPY . . [2022-10-08T10:33:01.975Z] ---> 49fa24e91e93 [2022-10-08T10:33:01.975Z] Step 14/27 : RUN ${MAKE} [2022-10-08T10:33:01.975Z] ---> Running in 5dc3e6eebb73 [2022-10-08T10:33:02.944Z] 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 [2022-10-08T10:35:24.955Z] Removing intermediate container 5dc3e6eebb73 [2022-10-08T10:35:24.955Z] ---> 39662990b9e3 [2022-10-08T10:35:24.955Z] Step 15/27 : FROM alpine:3.16 [2022-10-08T10:35:25.221Z] 3.16: Pulling from library/alpine [2022-10-08T10:35:25.486Z] 9b18e9b68314: Pulling fs layer [2022-10-08T10:35:25.753Z] 9b18e9b68314: Verifying Checksum [2022-10-08T10:35:25.753Z] 9b18e9b68314: Download complete [2022-10-08T10:35:27.165Z] 9b18e9b68314: Pull complete [2022-10-08T10:35:27.165Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-08T10:35:27.165Z] Status: Downloaded newer image for alpine:3.16 [2022-10-08T10:35:27.165Z] ---> a6215f271958 [2022-10-08T10:35:27.165Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-08T10:35:27.165Z] ---> Running in 4723bcbde4c4 [2022-10-08T10:35:27.165Z] Removing intermediate container 4723bcbde4c4 [2022-10-08T10:35:27.165Z] ---> dfa8eee04d83 [2022-10-08T10:35:27.165Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-08T10:35:27.434Z] ---> Running in 7d1a84bf4c0a [2022-10-08T10:35:28.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T10:35:28.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T10:35:29.619Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-08T10:35:29.620Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-08T10:35:29.620Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-08T10:35:29.620Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-08T10:35:29.620Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-08T10:35:29.620Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-08T10:35:29.620Z] Executing busybox-1.35.0-r17.trigger [2022-10-08T10:35:29.620Z] OK: 8 MiB in 20 packages [2022-10-08T10:35:30.580Z] Removing intermediate container 7d1a84bf4c0a [2022-10-08T10:35:30.580Z] ---> ae1d9ca0634d [2022-10-08T10:35:30.580Z] Step 18/27 : WORKDIR / [2022-10-08T10:35:30.580Z] ---> Running in 65a24a54c10e [2022-10-08T10:35:30.845Z] Removing intermediate container 65a24a54c10e [2022-10-08T10:35:30.845Z] ---> db1c203997c0 [2022-10-08T10:35:30.845Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-08T10:35:32.255Z] ---> 71c634c49817 [2022-10-08T10:35:32.255Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-08T10:35:32.838Z] ---> 83a494d21924 [2022-10-08T10:35:32.838Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-08T10:35:33.420Z] ---> ad2d62d500e2 [2022-10-08T10:35:33.420Z] Step 22/27 : EXPOSE 59984 [2022-10-08T10:35:33.420Z] ---> Running in d95e8390fca6 [2022-10-08T10:35:33.687Z] Removing intermediate container d95e8390fca6 [2022-10-08T10:35:33.687Z] ---> bb5ca223a603 [2022-10-08T10:35:33.687Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-08T10:35:33.687Z] ---> Running in b41160dc3ae9 [2022-10-08T10:35:33.953Z] Removing intermediate container b41160dc3ae9 [2022-10-08T10:35:33.953Z] ---> 27e130d4ea2a [2022-10-08T10:35:33.953Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-08T10:35:33.953Z] ---> Running in 2b72675cff04 [2022-10-08T10:35:34.225Z] Removing intermediate container 2b72675cff04 [2022-10-08T10:35:34.225Z] ---> bfaa32475b56 [2022-10-08T10:35:34.225Z] Step 25/27 : LABEL arch=arm64 [2022-10-08T10:35:34.494Z] ---> Running in 0a130b69abe1 [2022-10-08T10:35:34.760Z] Removing intermediate container 0a130b69abe1 [2022-10-08T10:35:34.760Z] ---> bc3f0e19f854 [2022-10-08T10:35:34.760Z] Step 26/27 : LABEL git_sha=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-08T10:35:34.760Z] ---> Running in 4cdc3f183e9e [2022-10-08T10:35:35.027Z] Removing intermediate container 4cdc3f183e9e [2022-10-08T10:35:35.027Z] ---> 1bea0ea36af3 [2022-10-08T10:35:35.027Z] Step 27/27 : LABEL version=0.0.0 [2022-10-08T10:35:35.027Z] ---> Running in c2c05c85a4b7 [2022-10-08T10:35:35.295Z] Removing intermediate container c2c05c85a4b7 [2022-10-08T10:35:35.295Z] ---> 6238dc6edce6 [2022-10-08T10:35:35.295Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-08T10:35:35.295Z] Successfully built 6238dc6edce6 [2022-10-08T10:35:35.295Z] 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 [2022-10-08T10:35:35.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T10:35:35.699Z] [2022-10-08T10:35:35.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:35:36.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T10:35:36.026Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-08T10:35:36.026Z] 8998bd30e6a1: Pulling fs layer [2022-10-08T10:35:36.026Z] 04944245beec: Pulling fs layer [2022-10-08T10:35:36.026Z] 699f458cf7ca: Pulling fs layer [2022-10-08T10:35:36.026Z] 765212b225bb: Pulling fs layer [2022-10-08T10:35:36.026Z] f23df028b6ca: Pulling fs layer [2022-10-08T10:35:36.026Z] d65c8cfc05b1: Pulling fs layer [2022-10-08T10:35:36.026Z] 2437ff75d9bd: Pulling fs layer [2022-10-08T10:35:36.026Z] 765212b225bb: Waiting [2022-10-08T10:35:36.026Z] d65c8cfc05b1: Waiting [2022-10-08T10:35:36.026Z] f23df028b6ca: Waiting [2022-10-08T10:35:36.295Z] 04944245beec: Verifying Checksum [2022-10-08T10:35:36.295Z] 04944245beec: Download complete [2022-10-08T10:35:36.295Z] 765212b225bb: Verifying Checksum [2022-10-08T10:35:36.295Z] 765212b225bb: Download complete [2022-10-08T10:35:36.295Z] f23df028b6ca: Verifying Checksum [2022-10-08T10:35:36.295Z] f23df028b6ca: Download complete [2022-10-08T10:35:36.295Z] d65c8cfc05b1: Verifying Checksum [2022-10-08T10:35:36.295Z] d65c8cfc05b1: Download complete [2022-10-08T10:35:36.295Z] 699f458cf7ca: Verifying Checksum [2022-10-08T10:35:36.295Z] 699f458cf7ca: Download complete [2022-10-08T10:35:36.878Z] 8998bd30e6a1: Verifying Checksum [2022-10-08T10:35:36.878Z] 8998bd30e6a1: Download complete [2022-10-08T10:35:38.822Z] 2437ff75d9bd: Verifying Checksum [2022-10-08T10:35:38.822Z] 2437ff75d9bd: Download complete [2022-10-08T10:35:40.766Z] 8998bd30e6a1: Pull complete [2022-10-08T10:35:41.349Z] 04944245beec: Pull complete [2022-10-08T10:35:42.763Z] 699f458cf7ca: Pull complete [2022-10-08T10:35:42.763Z] 765212b225bb: Pull complete [2022-10-08T10:35:43.346Z] f23df028b6ca: Pull complete [2022-10-08T10:35:43.613Z] d65c8cfc05b1: Pull complete [2022-10-08T10:35:58.614Z] 2437ff75d9bd: Pull complete [2022-10-08T10:35:58.614Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-08T10:35:58.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T10:35:58.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:35:58.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-7401 does not seem to be running inside a container [2022-10-08T10:35:58.846Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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 [2022-10-08T10:36:01.312Z] $ docker top b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:02.125Z] ---> job-cost.sh [2022-10-08T10:36:02.125Z] lf-activate-venv: SKIPPING [2022-10-08T10:36:02.125Z] INFO: No Stack... [2022-10-08T10:36:02.706Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-08T10:36:03.286Z] INFO: Archiving Costs [Pipeline] sh [2022-10-08T10:36:03.920Z] + + cutcat -d, /w/workspace/device-onvif-camera/17/archives/cost.csv -f6 [2022-10-08T10:36:03.920Z] [Pipeline] lock [2022-10-08T10:36:03.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [2022-10-08T10:36:03.959Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] did not exist. Created. [2022-10-08T10:36:03.959Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-08T10:36:04.605Z] /w/workspace/device-onvif-camera/17@tmp/durable-e940d614/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-08T10:36:04.930Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-08T10:36:04.954Z] Warning: overwriting stash ‘stack-cost’ [2022-10-08T10:36:05.008Z] Stashed 1 file(s) [Pipeline] } [2022-10-08T10:36:05.017Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-08T10:36:05.031Z] $ docker stop --time=1 b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c [2022-10-08T10:36:06.514Z] $ docker rm -f b9876e7ff6d5edb977e16576b6fae1f22f150c372fab0f21162fe24967374c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-08T10:36:06.858Z] provisioning config files... [2022-10-08T10:36:06.866Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config16623079174779137166tmp [Pipeline] { [Pipeline] sh [2022-10-08T10:36:07.166Z] + set +x [2022-10-08T10:36:07.166Z] + bash+ -s -- [2022-10-08T10:36:07.166Z] curl -s https://codecov.io/bash [2022-10-08T10:36:07.166Z] [2022-10-08T10:36:07.166Z] _____ _ [2022-10-08T10:36:07.166Z] / ____| | | [2022-10-08T10:36:07.166Z] | | ___ __| | ___ ___ _____ __ [2022-10-08T10:36:07.166Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-08T10:36:07.166Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-08T10:36:07.166Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-08T10:36:07.166Z] Bash-1.0.6 [2022-10-08T10:36:07.166Z] [2022-10-08T10:36:07.166Z] [2022-10-08T10:36:07.166Z] ==> git version 2.25.1 found [2022-10-08T10:36:07.166Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-08T10:36:07.166Z] Release-Date: 2020-01-08 [2022-10-08T10:36:07.166Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-08T10:36:07.166Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-08T10:36:07.166Z] ==> Jenkins CI detected. [2022-10-08T10:36:07.166Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-08T10:36:07.166Z] project root: . [2022-10-08T10:36:07.166Z] --> token set from env [2022-10-08T10:36:07.166Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-08T10:36:07.166Z] ==> Running gcov in . (disable via -X gcov) [2022-10-08T10:36:07.166Z] ==> Python coveragepy not found [2022-10-08T10:36:07.166Z] ==> Searching for coverage reports in: [2022-10-08T10:36:07.166Z] + . [2022-10-08T10:36:07.166Z] -> Found 1 reports [2022-10-08T10:36:07.166Z] ==> Detecting git/mercurial file structure [2022-10-08T10:36:07.425Z] ==> Reading reports [2022-10-08T10:36:07.425Z] + ./coverage.out bytes=78636 [2022-10-08T10:36:07.425Z] ==> Appending adjustments [2022-10-08T10:36:07.425Z] https://docs.codecov.io/docs/fixing-reports [2022-10-08T10:36:07.425Z] + Found adjustments [2022-10-08T10:36:07.425Z] ==> Gzipping contents [2022-10-08T10:36:07.425Z] 12K /tmp/codecov.afK5og.gz [2022-10-08T10:36:07.425Z] ==> Uploading reports [2022-10-08T10:36:07.425Z] url: https://codecov.io [2022-10-08T10:36:07.425Z] query: branch=PR-172&commit=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-08T10:36:07.425Z] -> Pinging Codecov [2022-10-08T10:36:07.425Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=f5aeb6614c21a3e0ce3156cc256a3d02faf462bc&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-08T10:36:07.993Z] -> Uploading to [2022-10-08T10:36:07.993Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-08/F29A59C45E3A92E06B3E522C9905F8EF/f5aeb6614c21a3e0ce3156cc256a3d02faf462bc/4e7e9980-8ddb-41d5-9d01-4da868356c4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221008T103607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7be05dc653905f38ca1868aed0816a210ee3d845b1ed2d1bda998f7acee880e4 [2022-10-08T10:36:07.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-08T10:36:07.993Z] Dload Upload Total Spent Left Speed [2022-10-08T10:36:07.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10708 0 0 100 10708 0 44991 --:--:-- --:--:-- --:--:-- 44991 [2022-10-08T10:36:07.993Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [Pipeline] } [2022-10-08T10:36:08.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-08T10:36:08.661Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-08T10:36:08.661Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T10:36:08.661Z] total 16 [2022-10-08T10:36:08.661Z] drwxr-xr-x 3 root root 4096 Oct 8 10:28 . [2022-10-08T10:36:08.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 10:28 .. [2022-10-08T10:36:08.661Z] drwxr-xr-x 2 root root 4096 Oct 8 10:28 cost [2022-10-08T10:36:08.661Z] -rw-r--r-- 1 root root 92 Oct 8 10:28 cost.csv [2022-10-08T10:36:08.661Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T10:36:08.661Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T10:36:08.661Z] total 16 [2022-10-08T10:36:08.661Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 10:28 . [2022-10-08T10:36:08.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 10:28 .. [2022-10-08T10:36:08.661Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 10:28 cost [2022-10-08T10:36:08.661Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 8 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:08.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:09.802Z] ---> package-listing.sh [2022-10-08T10:36:09.802Z] ++ facter osfamily [2022-10-08T10:36:09.802Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-08T10:36:10.062Z] + OS_FAMILY=debian [2022-10-08T10:36:10.062Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-08T10:36:10.062Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-08T10:36:10.062Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-08T10:36:10.062Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-08T10:36:10.062Z] + PACKAGES=/tmp/packages_start.txt [2022-10-08T10:36:10.063Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-08T10:36:10.063Z] + PACKAGES=/tmp/packages_end.txt [2022-10-08T10:36:10.063Z] + case "${OS_FAMILY}" in [2022-10-08T10:36:10.063Z] + dpkg -l [2022-10-08T10:36:10.063Z] + grep '^ii' [2022-10-08T10:36:10.063Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-08T10:36:10.063Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-08T10:36:10.063Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-08T10:36:10.063Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-08T10:36:10.063Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-08T10:36:10.063Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-08T10:36:10.073Z] 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-08T10:36:10.352Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T10:36:10.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T10:36:10.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T10:36:10.980Z] prd-ubuntu20.04-docker-8c-8g-7400 does not seem to be running inside a container [2022-10-08T10:36:11.017Z] $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 [2022-10-08T10:36:11.208Z] $ docker top 054b158a8bead56ecb87869c71e0e22d2a5b3bc6d25214233591047538fe8e84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T10:36:11.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-08T10:36:11.834Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-08T10:36:12.121Z] + ls /var/log/sa-host [2022-10-08T10:36:12.121Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T10:36:12.254Z] provisioning config files... [2022-10-08T10:36:12.262Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config13183395123905446584tmp [Pipeline] { [Pipeline] echo [2022-10-08T10:36:12.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:12.559Z] ---> create-netrc.sh [Pipeline] } [2022-10-08T10:36:12.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:12.884Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-08T10:36:12.893Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:13.176Z] ---> sudo-logs.sh [2022-10-08T10:36:13.176Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-08T10:36:13.200Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:13.480Z] ---> job-cost.sh [2022-10-08T10:36:13.480Z] lf-activate-venv: SKIPPING [2022-10-08T10:36:13.480Z] DEBUG: total: 0.2199999988079071 [2022-10-08T10:36:13.480Z] INFO: Retrieving Stack Cost... [2022-10-08T10:36:14.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-08T10:36:14.306Z] INFO: Archiving Costs [Pipeline] echo [2022-10-08T10:36:14.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T10:36:14.598Z] ---> logs-deploy.sh [2022-10-08T10:36:14.598Z] lf-activate-venv: SKIPPING [2022-10-08T10:36:14.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/17 [2022-10-08T10:36:14.598Z] INFO: archiving workspace using pattern(s): [2022-10-08T10:36:15.535Z] Archives upload complete. [2022-10-08T10:36:15.795Z] INFO: archiving logs to Nexus [2022-10-08T10:36:16.361Z] ---> uname -a: [2022-10-08T10:36:16.361Z] Linux prd-ubuntu20-04-docker-8c-8g-7400 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] ---> lscpu: [2022-10-08T10:36:16.361Z] Architecture: x86_64 [2022-10-08T10:36:16.361Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-08T10:36:16.361Z] Byte Order: Little Endian [2022-10-08T10:36:16.361Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-08T10:36:16.361Z] CPU(s): 8 [2022-10-08T10:36:16.361Z] On-line CPU(s) list: 0-7 [2022-10-08T10:36:16.361Z] Thread(s) per core: 1 [2022-10-08T10:36:16.361Z] Core(s) per socket: 1 [2022-10-08T10:36:16.361Z] Socket(s): 8 [2022-10-08T10:36:16.361Z] NUMA node(s): 1 [2022-10-08T10:36:16.361Z] Vendor ID: AuthenticAMD [2022-10-08T10:36:16.361Z] CPU family: 23 [2022-10-08T10:36:16.361Z] Model: 49 [2022-10-08T10:36:16.361Z] Model name: AMD EPYC-Rome Processor [2022-10-08T10:36:16.361Z] Stepping: 0 [2022-10-08T10:36:16.361Z] CPU MHz: 2799.998 [2022-10-08T10:36:16.361Z] BogoMIPS: 5599.99 [2022-10-08T10:36:16.361Z] Virtualization: AMD-V [2022-10-08T10:36:16.361Z] Hypervisor vendor: KVM [2022-10-08T10:36:16.361Z] Virtualization type: full [2022-10-08T10:36:16.361Z] L1d cache: 256 KiB [2022-10-08T10:36:16.361Z] L1i cache: 256 KiB [2022-10-08T10:36:16.361Z] L2 cache: 4 MiB [2022-10-08T10:36:16.361Z] L3 cache: 128 MiB [2022-10-08T10:36:16.361Z] NUMA node0 CPU(s): 0-7 [2022-10-08T10:36:16.361Z] Vulnerability Itlb multihit: Not affected [2022-10-08T10:36:16.361Z] Vulnerability L1tf: Not affected [2022-10-08T10:36:16.361Z] Vulnerability Mds: Not affected [2022-10-08T10:36:16.361Z] Vulnerability Meltdown: Not affected [2022-10-08T10:36:16.361Z] Vulnerability Mmio stale data: Not affected [2022-10-08T10:36:16.361Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-08T10:36:16.361Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-08T10:36:16.361Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-08T10:36:16.361Z] Vulnerability Srbds: Not affected [2022-10-08T10:36:16.361Z] Vulnerability Tsx async abort: Not affected [2022-10-08T10:36:16.361Z] 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 [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] ---> nproc: [2022-10-08T10:36:16.361Z] 8 [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] [2022-10-08T10:36:16.361Z] ---> df -h: [2022-10-08T10:36:16.361Z] Filesystem Size Used Avail Use% Mounted on [2022-10-08T10:36:16.362Z] overlay 155G 12G 144G 8% / [2022-10-08T10:36:16.362Z] tmpfs 64M 0 64M 0% /dev [2022-10-08T10:36:16.362Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-08T10:36:16.362Z] shm 64M 0 64M 0% /dev/shm [2022-10-08T10:36:16.362Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-08T10:36:16.362Z] [2022-10-08T10:36:16.362Z]