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 c214d7759c819120044835020ac7d1796e95d4bb 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-ssh3252745229498849070.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-ssh6077075406049818620.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-ssh10791122148429195998.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-ssh3863658428687898420.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-ssh9384263415703146796.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7378 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 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit c214d7759c819120044835020ac7d1796e95d4bb Merge succeeded, producing c214d7759c819120044835020ac7d1796e95d4bb Checking out Revision c214d7759c819120044835020ac7d1796e95d4bb (PR-172) Commit message: "fix : discovery mode netscan when using docker-compose" > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # 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 c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 > git rev-list --no-walk def7022701e084a15418e00a8e4747e17188d3bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-08T01:40:07.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-08T01:40:07.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-08T01:40:07.313Z] ========================================================= [2022-10-08T01:40:07.313Z] EdgeX Global Pipelines Version Info [2022-10-08T01:40:07.313Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:40:08.025Z] ------------------- [2022-10-08T01:40:08.025Z] stable info: [2022-10-08T01:40:08.025Z] ------------------- [2022-10-08T01:40:08.025Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-08T01:40:08.025Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-08T01:40:08.025Z] Message: update stable to v1.0.239 [2022-10-08T01:40:08.595Z] ------------------- [2022-10-08T01:40:08.595Z] experimental info: [2022-10-08T01:40:08.595Z] ------------------- [2022-10-08T01:40:08.595Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-08T01:40:08.595Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-08T01:40:08.595Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-08T01:40:08.763Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-08T01:40:08.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-08T01:40:08.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-08T01:40:08.797Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-08T01:40:08.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-08T01:40:08.821Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-08T01:40:08.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-08T01:40:08.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-08T01:40:08.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-08T01:40:08.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-08T01:40:08.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-08T01:40:08.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-08T01:40:08.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-08T01:40:08.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-08T01:40:08.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-08T01:40:08.942Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-08T01:40:08.953Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-08T01:40:08.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-08T01:40:08.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-08T01:40:08.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-08T01:40:08.998Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-08T01:40:09.014Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-08T01:40:09.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-08T01:40:09.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-08T01:40:09.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-08T01:40:09.057Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-08T01:40:09.068Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-08T01:40:09.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-08T01:40:09.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-08T01:40:09.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-08T01:40:09.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo [2022-10-08T01:40:09.140Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c214d77 [Pipeline] echo [2022-10-08T01:40:09.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T01:40:09.203Z] provisioning config files... [2022-10-08T01:40:09.221Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config10821814094441766379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:40:09.520Z] ---> docker-login.sh [2022-10-08T01:40:09.520Z] nexus3.edgexfoundry.org:10001 [2022-10-08T01:40:09.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:10.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:10.040Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:10.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:10.040Z] [2022-10-08T01:40:10.040Z] Login Succeeded [2022-10-08T01:40:10.040Z] nexus3.edgexfoundry.org:10002 [2022-10-08T01:40:10.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:10.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:10.040Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:10.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:10.040Z] [2022-10-08T01:40:10.040Z] Login Succeeded [2022-10-08T01:40:10.040Z] nexus3.edgexfoundry.org:10003 [2022-10-08T01:40:10.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:10.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:10.040Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:10.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:10.040Z] [2022-10-08T01:40:10.040Z] Login Succeeded [2022-10-08T01:40:10.040Z] nexus3.edgexfoundry.org:10004 [2022-10-08T01:40:10.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:10.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:10.301Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:10.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:10.301Z] [2022-10-08T01:40:10.301Z] Login Succeeded [2022-10-08T01:40:10.301Z] docker.io [2022-10-08T01:40:10.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:10.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:10.561Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:10.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:10.561Z] [2022-10-08T01:40:10.561Z] Login Succeeded [2022-10-08T01:40:10.561Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T01:40:10.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-08T01:40:10.928Z] + git rev-list -1 --merges c214d7759c819120044835020ac7d1796e95d4bb~1..c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo [2022-10-08T01:40:10.965Z] -----------> git rev-list -1 --merges c214d7759c819120044835020ac7d1796e95d4bb~1..c214d7759c819120044835020ac7d1796e95d4bb c214d7759c819120044835020ac7d1796e95d4bb [false] [Pipeline] sh [2022-10-08T01:40:11.252Z] + git log --format=format:%s -1 c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo [2022-10-08T01:40:11.268Z] ========================================================= [2022-10-08T01:40:11.268Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-08T01:40:11.268Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T01:40:11.612Z] + git log --format=format:%s -1 c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] echo [2022-10-08T01:40:11.623Z] [semverPrep] GIT_COMMIT: c214d7759c819120044835020ac7d1796e95d4bb, Commit Message: fix : discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-08T01:40:11.634Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-08T01:40:12.002Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-08T01:40:12.002Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-08T01:40:12.002Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-08T01:40:12.002Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-08T01:40:12.002Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-08T01:40:12.002Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-08T01:40:12.002Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:40:12.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T01:40:12.409Z] [2022-10-08T01:40:12.409Z] 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-08T01:40:12.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T01:40:12.735Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-08T01:40:12.735Z] b85a868b505f: Pulling fs layer [2022-10-08T01:40:12.735Z] e2be974225ed: Pulling fs layer [2022-10-08T01:40:12.735Z] 339a4e72a1f5: Pulling fs layer [2022-10-08T01:40:12.735Z] 988bab9f4d93: Pulling fs layer [2022-10-08T01:40:12.735Z] 1469e6f7b9e6: Pulling fs layer [2022-10-08T01:40:12.735Z] eaf3925da568: Pulling fs layer [2022-10-08T01:40:12.735Z] bab4dde63d76: Pulling fs layer [2022-10-08T01:40:12.735Z] bde34c3a00c8: Pulling fs layer [2022-10-08T01:40:12.735Z] b352a97aabf1: Pulling fs layer [2022-10-08T01:40:12.735Z] 4872d77fe225: Pulling fs layer [2022-10-08T01:40:12.735Z] 5851b861e8e6: Pulling fs layer [2022-10-08T01:40:12.735Z] bde34c3a00c8: Waiting [2022-10-08T01:40:12.735Z] b352a97aabf1: Waiting [2022-10-08T01:40:12.735Z] 988bab9f4d93: Waiting [2022-10-08T01:40:12.735Z] 4872d77fe225: Waiting [2022-10-08T01:40:12.735Z] 1469e6f7b9e6: Waiting [2022-10-08T01:40:12.735Z] 5851b861e8e6: Waiting [2022-10-08T01:40:12.735Z] eaf3925da568: Waiting [2022-10-08T01:40:12.735Z] bab4dde63d76: Waiting [2022-10-08T01:40:12.735Z] e2be974225ed: Download complete [2022-10-08T01:40:12.735Z] 988bab9f4d93: Verifying Checksum [2022-10-08T01:40:12.735Z] 988bab9f4d93: Download complete [2022-10-08T01:40:12.994Z] 1469e6f7b9e6: Verifying Checksum [2022-10-08T01:40:12.994Z] 1469e6f7b9e6: Download complete [2022-10-08T01:40:12.994Z] eaf3925da568: Download complete [2022-10-08T01:40:12.994Z] 339a4e72a1f5: Verifying Checksum [2022-10-08T01:40:12.994Z] 339a4e72a1f5: Download complete [2022-10-08T01:40:12.994Z] bde34c3a00c8: Verifying Checksum [2022-10-08T01:40:12.994Z] bde34c3a00c8: Download complete [2022-10-08T01:40:12.994Z] b352a97aabf1: Download complete [2022-10-08T01:40:12.994Z] 4872d77fe225: Download complete [2022-10-08T01:40:12.994Z] 5851b861e8e6: Verifying Checksum [2022-10-08T01:40:12.994Z] 5851b861e8e6: Download complete [2022-10-08T01:40:12.994Z] b85a868b505f: Verifying Checksum [2022-10-08T01:40:12.994Z] b85a868b505f: Download complete [2022-10-08T01:40:13.257Z] bab4dde63d76: Verifying Checksum [2022-10-08T01:40:13.257Z] bab4dde63d76: Download complete [2022-10-08T01:40:14.642Z] b85a868b505f: Pull complete [2022-10-08T01:40:14.642Z] e2be974225ed: Pull complete [2022-10-08T01:40:14.901Z] 339a4e72a1f5: Pull complete [2022-10-08T01:40:14.901Z] 988bab9f4d93: Pull complete [2022-10-08T01:40:15.159Z] 1469e6f7b9e6: Pull complete [2022-10-08T01:40:15.418Z] eaf3925da568: Pull complete [2022-10-08T01:40:17.326Z] bab4dde63d76: Pull complete [2022-10-08T01:40:17.584Z] bde34c3a00c8: Pull complete [2022-10-08T01:40:17.843Z] b352a97aabf1: Pull complete [2022-10-08T01:40:17.843Z] 4872d77fe225: Pull complete [2022-10-08T01:40:17.843Z] 5851b861e8e6: Pull complete [2022-10-08T01:40:18.103Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-08T01:40:18.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-08T01:40:18.103Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:40:18.188Z] prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container [2022-10-08T01:40:18.225Z] $ 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-08T01:40:24.274Z] $ docker top a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 -eo pid,comm [2022-10-08T01:40:24.328Z] 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-08T01:40:24.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-08T01:40:24.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-08T01:40:24.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-08T01:40:24.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-08T01:40:24.470Z] $ docker exec a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent [2022-10-08T01:40:24.586Z] SSH_AUTH_SOCK=/tmp/ssh-ZPQxIPsMwifv/agent.32 [2022-10-08T01:40:24.586Z] SSH_AGENT_PID=38 [2022-10-08T01:40:24.592Z] Running ssh-add (command line suppressed) [2022-10-08T01:40:24.704Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9564356701988757023.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9564356701988757023.key) [2022-10-08T01:40:24.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-08T01:40:25.000Z] + git tag --points-at HEAD [Pipeline] } [2022-10-08T01:40:25.012Z] $ docker exec --env ******** --env ******** a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent -k [2022-10-08T01:40:25.108Z] unset SSH_AUTH_SOCK; [2022-10-08T01:40:25.109Z] unset SSH_AGENT_PID; [2022-10-08T01:40:25.109Z] echo Agent pid 38 killed; [2022-10-08T01:40:25.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-08T01:40:25.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-08T01:40:25.139Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-08T01:40:25.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-08T01:40:25.253Z] $ docker exec a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent [2022-10-08T01:40:25.362Z] SSH_AUTH_SOCK=/tmp/ssh-Ftc8rp4PAfHh/agent.70 [2022-10-08T01:40:25.362Z] SSH_AGENT_PID=77 [2022-10-08T01:40:25.367Z] Running ssh-add (command line suppressed) [2022-10-08T01:40:25.465Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7634351489128103366.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7634351489128103366.key) [2022-10-08T01:40:25.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-08T01:40:25.759Z] + git semver init [2022-10-08T01:40:26.018Z] 2022-10-08 01:40:25,968 [run_init] DEBUG init version:0.0.0 force:False [2022-10-08T01:40:26.018Z] 2022-10-08 01:40:25,968 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-08T01:40:26.018Z] 2022-10-08 01:40:25,969 [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-08T01:40:26.018Z] 2022-10-08 01:40:25,969 [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-08T01:40:27.395Z] 2022-10-08 01:40:27,296 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-08T01:40:27.395Z] 2022-10-08 01:40:27,297 [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-08T01:40:27.395Z] 2022-10-08 01:40:27,297 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-08T01:40:27.395Z] 2022-10-08 01:40:27,302 [execute] INFO git cat-file --batch-check [2022-10-08T01:40:27.395Z] 2022-10-08 01:40:27,302 [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-08T01:40:27.395Z] 2022-10-08 01:40:27,308 [execute] INFO git cat-file --batch [2022-10-08T01:40:27.395Z] 2022-10-08 01:40:27,309 [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-08T01:40:27.395Z] 2022-10-08 01:40:27,313 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-08T01:40:27.395Z] 0.0.0 [Pipeline] } [2022-10-08T01:40:27.406Z] $ docker exec --env ******** --env ******** a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 ssh-agent -k [2022-10-08T01:40:27.504Z] unset SSH_AUTH_SOCK; [2022-10-08T01:40:27.505Z] unset SSH_AGENT_PID; [2022-10-08T01:40:27.505Z] echo Agent pid 77 killed; [2022-10-08T01:40:27.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-08T01:40:27.818Z] + git semver [Pipeline] } [2022-10-08T01:40:28.090Z] $ docker stop --time=1 a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 [2022-10-08T01:40:29.540Z] $ docker rm -f a205c33b5e92c33aa795aadae4b93f42c0f6b5a9890ebb875b463ddb08f6fec9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T01:40:29.912Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-08T01:40:30.081Z] Stashed 1 file(s) [Pipeline] echo [2022-10-08T01:40:30.083Z] [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-08T01:40:30.178Z] provisioning config files... [2022-10-08T01:40:30.186Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1140035527519038481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:40:30.478Z] ---> docker-login.sh [2022-10-08T01:40:30.478Z] nexus3.edgexfoundry.org:10001 [2022-10-08T01:40:30.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:30.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:30.478Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:30.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:30.478Z] [2022-10-08T01:40:30.478Z] Login Succeeded [2022-10-08T01:40:30.478Z] nexus3.edgexfoundry.org:10002 [2022-10-08T01:40:30.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:30.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:30.478Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:30.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:30.478Z] [2022-10-08T01:40:30.478Z] Login Succeeded [2022-10-08T01:40:30.478Z] nexus3.edgexfoundry.org:10003 [2022-10-08T01:40:30.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:30.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:30.738Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:30.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:30.738Z] [2022-10-08T01:40:30.738Z] Login Succeeded [2022-10-08T01:40:30.738Z] nexus3.edgexfoundry.org:10004 [2022-10-08T01:40:30.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:30.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:30.738Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:30.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:30.738Z] [2022-10-08T01:40:30.738Z] Login Succeeded [2022-10-08T01:40:30.738Z] docker.io [2022-10-08T01:40:30.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:40:31.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:40:31.261Z] Configure a credential helper to remove this warning. See [2022-10-08T01:40:31.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:40:31.261Z] [2022-10-08T01:40:31.261Z] Login Succeeded [2022-10-08T01:40:31.261Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T01:40:31.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-08T01:40:31.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T01:40:31.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T01:40:31.337Z] ========================================================= [2022-10-08T01:40:31.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-08T01:40:31.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:40:31.636Z] + 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-08T01:40:31.636Z] Sending build context to Docker daemon 20.8MB [2022-10-08T01:40:31.636Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T01:40:31.636Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-08T01:40:31.897Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-08T01:40:31.897Z] 2408cc74d12b: Pulling fs layer [2022-10-08T01:40:31.897Z] ea60b727a1ce: Pulling fs layer [2022-10-08T01:40:31.897Z] 30c4a7721957: Pulling fs layer [2022-10-08T01:40:31.897Z] 370296b7ddb6: Pulling fs layer [2022-10-08T01:40:31.897Z] 7c6cee850709: Pulling fs layer [2022-10-08T01:40:31.897Z] aa9baa53a306: Pulling fs layer [2022-10-08T01:40:31.897Z] 8b309c321861: Pulling fs layer [2022-10-08T01:40:31.897Z] d8d76fd02f46: Pulling fs layer [2022-10-08T01:40:31.897Z] fa31f396de31: Pulling fs layer [2022-10-08T01:40:31.897Z] 370296b7ddb6: Waiting [2022-10-08T01:40:31.897Z] 7c6cee850709: Waiting [2022-10-08T01:40:31.897Z] aa9baa53a306: Waiting [2022-10-08T01:40:31.897Z] 8b309c321861: Waiting [2022-10-08T01:40:31.897Z] d8d76fd02f46: Waiting [2022-10-08T01:40:31.897Z] fa31f396de31: Waiting [2022-10-08T01:40:31.897Z] 30c4a7721957: Verifying Checksum [2022-10-08T01:40:31.897Z] 30c4a7721957: Download complete [2022-10-08T01:40:31.897Z] ea60b727a1ce: Verifying Checksum [2022-10-08T01:40:31.897Z] ea60b727a1ce: Download complete [2022-10-08T01:40:31.897Z] 7c6cee850709: Download complete [2022-10-08T01:40:31.897Z] aa9baa53a306: Verifying Checksum [2022-10-08T01:40:31.897Z] aa9baa53a306: Download complete [2022-10-08T01:40:31.897Z] 2408cc74d12b: Verifying Checksum [2022-10-08T01:40:31.897Z] 2408cc74d12b: Download complete [2022-10-08T01:40:31.897Z] 8b309c321861: Download complete [2022-10-08T01:40:32.157Z] 2408cc74d12b: Pull complete [2022-10-08T01:40:32.157Z] ea60b727a1ce: Pull complete [2022-10-08T01:40:32.415Z] 30c4a7721957: Pull complete [2022-10-08T01:40:32.415Z] fa31f396de31: Download complete [2022-10-08T01:40:32.677Z] d8d76fd02f46: Verifying Checksum [2022-10-08T01:40:32.677Z] d8d76fd02f46: Download complete [2022-10-08T01:40:32.677Z] 370296b7ddb6: Verifying Checksum [2022-10-08T01:40:32.677Z] 370296b7ddb6: Download complete [2022-10-08T01:40:36.859Z] 370296b7ddb6: Pull complete [2022-10-08T01:40:36.859Z] 7c6cee850709: Pull complete [2022-10-08T01:40:36.859Z] aa9baa53a306: Pull complete [2022-10-08T01:40:36.859Z] 8b309c321861: Pull complete [2022-10-08T01:40:38.760Z] d8d76fd02f46: Pull complete [2022-10-08T01:40:39.696Z] fa31f396de31: Pull complete [2022-10-08T01:40:39.696Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-08T01:40:40.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-08T01:40:40.059Z] ---> cef68f9685f8 [2022-10-08T01:40:40.059Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-08T01:40:45.149Z] Still waiting to schedule task [2022-10-08T01:40:45.150Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-08T01:40:50.083Z] ---> Running in 4f483d942a8d [2022-10-08T01:40:50.083Z] Removing intermediate container 4f483d942a8d [2022-10-08T01:40:50.083Z] ---> a4022a1e6045 [2022-10-08T01:40:50.083Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T01:40:50.083Z] ---> Running in 1ef00a7ff019 [2022-10-08T01:40:50.341Z] Removing intermediate container 1ef00a7ff019 [2022-10-08T01:40:50.341Z] ---> 50f80d4809d9 [2022-10-08T01:40:50.341Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T01:40:50.341Z] ---> Running in a302b5c212a9 [2022-10-08T01:40:50.341Z] Removing intermediate container a302b5c212a9 [2022-10-08T01:40:50.341Z] ---> 7ac31121fc5c [2022-10-08T01:40:50.341Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T01:40:50.341Z] ---> Running in 62c2cc9429dc [2022-10-08T01:40:50.598Z] Removing intermediate container 62c2cc9429dc [2022-10-08T01:40:50.598Z] ---> 35e4556e73d5 [2022-10-08T01:40:50.598Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-08T01:40:50.598Z] ---> Running in 6dfd7bf5acb4 [2022-10-08T01:40:50.598Z] Removing intermediate container 6dfd7bf5acb4 [2022-10-08T01:40:50.598Z] ---> b03ac717e285 [2022-10-08T01:40:50.598Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T01:40:50.598Z] ---> Running in f9672f200082 [2022-10-08T01:40:51.167Z] Removing intermediate container f9672f200082 [2022-10-08T01:40:51.167Z] ---> 11985efe341d [2022-10-08T01:40:51.167Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T01:40:51.167Z] ---> Running in 65e8bb918c23 [2022-10-08T01:40:51.736Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T01:40:52.302Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T01:40:52.883Z] OK: 211 MiB in 51 packages [2022-10-08T01:40:53.143Z] Removing intermediate container 65e8bb918c23 [2022-10-08T01:40:53.143Z] ---> bce7d090cf62 [2022-10-08T01:40:53.143Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-08T01:40:53.143Z] ---> Running in c388351982e3 [2022-10-08T01:40:53.403Z] Removing intermediate container c388351982e3 [2022-10-08T01:40:53.403Z] ---> 72ce2f2c1dae [2022-10-08T01:40:53.403Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-08T01:40:54.342Z] ---> 90cffa33cead [2022-10-08T01:40:54.342Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T01:40:54.601Z] ---> Running in 55ee94319556 [2022-10-08T01:41:33.363Z] Removing intermediate container 55ee94319556 [2022-10-08T01:41:33.363Z] ---> 51cb4a4694ff [2022-10-08T01:41:33.363Z] Step 13/14 : COPY . . [2022-10-08T01:41:33.623Z] ---> ad05ca62be5f [2022-10-08T01:41:33.623Z] Step 14/14 : RUN ${MAKE} [2022-10-08T01:41:33.623Z] ---> Running in a445eceb70ad [2022-10-08T01:41:34.191Z] noop [2022-10-08T01:41:35.133Z] Removing intermediate container a445eceb70ad [2022-10-08T01:41:35.133Z] ---> 426409841166 [2022-10-08T01:41:35.133Z] Successfully built 426409841166 [2022-10-08T01:41:35.133Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:41:35.441Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-08T01:41:35.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:41:35.506Z] prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container [2022-10-08T01:41:35.541Z] $ 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-08T01:41:36.922Z] $ docker top 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T01:41:37.268Z] + go version [2022-10-08T01:41:37.268Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-08T01:41:37.279Z] $ docker stop --time=1 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 [2022-10-08T01:41:39.194Z] $ docker rm -f 84cfcf6dff06e4dd226888a541c11269d9d628c5b3c04ba6193b58c1f54e3b64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:41:39.661Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-08T01:41:39.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:41:39.723Z] prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container [2022-10-08T01:41:39.754Z] $ 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-08T01:41:41.736Z] $ docker top 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T01:41:42.075Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-08T01:41:42.364Z] + make test [2022-10-08T01:41:42.364Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-08T01:41:42.990Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-08T01:41:52.949Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-08T01:41:53.881Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-08T01:41:53.881Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-08T01:41:53.881Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.200s coverage: 86.5% of statements [2022-10-08T01:42:00.453Z] 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-08T01:42:00.453Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-08T01:42:03.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-08T01:42:03.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-08T01:42:03.883Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-08T01:42:04.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-08T01:42:04.174Z] $ docker stop --time=1 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 [2022-10-08T01:42:08.296Z] $ docker rm -f 729db21b7bdaaa1b4d780bc0c2f95b5599cef72a6396ba99804adc69a6112c85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T01:42:08.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-08T01:42:08.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-08T01:42:09.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-08T01:42:09.566Z] + ls -al . [2022-10-08T01:42:09.566Z] total 236 [2022-10-08T01:42:09.566Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 01:41 . [2022-10-08T01:42:09.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 .. [2022-10-08T01:42:09.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 01:41 .git [2022-10-08T01:42:09.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:40 .github [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 01:40 .gitignore [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 01:40 .golangci.yml [2022-10-08T01:42:09.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 01:40 .semver [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 01:40 Attribution.txt [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 01:40 CHANGELOG.md [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 01:40 Dockerfile [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 01:40 GOVERNANCE.md [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 01:40 Jenkinsfile [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 01:40 LICENSE [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 01:40 Makefile [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 01:40 OWNERS.md [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 01:40 README.md [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 01:40 VERSION [2022-10-08T01:42:09.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 01:40 bin [2022-10-08T01:42:09.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:40 cmd [2022-10-08T01:42:09.566Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 01:41 coverage.out [2022-10-08T01:42:09.566Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 01:40 doc [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 01:40 go.mod [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 01:40 go.sum [2022-10-08T01:42:09.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 internal [2022-10-08T01:42:09.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:40 snap [2022-10-08T01:42:09.566Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:42:10.010Z] + 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=c214d7759c819120044835020ac7d1796e95d4bb --label arch=amd64 --label version=0.0.0 . [2022-10-08T01:42:10.010Z] Sending build context to Docker daemon 20.88MB [2022-10-08T01:42:10.010Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T01:42:10.010Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-08T01:42:10.010Z] ---> 426409841166 [2022-10-08T01:42:10.010Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-08T01:42:10.593Z] ---> Running in 5898d7381082 [2022-10-08T01:42:10.854Z] Removing intermediate container 5898d7381082 [2022-10-08T01:42:10.854Z] ---> 6366fcde1198 [2022-10-08T01:42:10.854Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T01:42:11.115Z] ---> Running in c5c26e7a33f3 [2022-10-08T01:42:11.407Z] Removing intermediate container c5c26e7a33f3 [2022-10-08T01:42:11.407Z] ---> 63585878cda5 [2022-10-08T01:42:11.407Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T01:42:11.666Z] ---> Running in 55f9951f6746 [2022-10-08T01:42:12.236Z] Removing intermediate container 55f9951f6746 [2022-10-08T01:42:12.236Z] ---> e0742b80e789 [2022-10-08T01:42:12.236Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T01:42:12.502Z] ---> Running in c4ef6dc1bae8 [2022-10-08T01:42:12.770Z] Removing intermediate container c4ef6dc1bae8 [2022-10-08T01:42:12.770Z] ---> 474fc24cd62f [2022-10-08T01:42:12.770Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-08T01:42:13.341Z] ---> Running in 4131987fb751 [2022-10-08T01:42:13.601Z] Removing intermediate container 4131987fb751 [2022-10-08T01:42:13.601Z] ---> cbf388c55ff0 [2022-10-08T01:42:13.601Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T01:42:13.860Z] ---> Running in 78f91e4b17db [2022-10-08T01:42:15.256Z] Removing intermediate container 78f91e4b17db [2022-10-08T01:42:15.256Z] ---> dc8623a1b0b3 [2022-10-08T01:42:15.256Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T01:42:15.515Z] ---> Running in 55736cd06d7d [2022-10-08T01:42:15.773Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T01:42:16.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T01:42:16.967Z] OK: 211 MiB in 51 packages [2022-10-08T01:42:17.899Z] Removing intermediate container 55736cd06d7d [2022-10-08T01:42:17.899Z] ---> 14e0e4592860 [2022-10-08T01:42:17.899Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-08T01:42:18.467Z] ---> Running in 01b02b8be1dd [2022-10-08T01:42:19.404Z] Removing intermediate container 01b02b8be1dd [2022-10-08T01:42:19.404Z] ---> 3720e2baeb2e [2022-10-08T01:42:19.404Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-08T01:42:19.682Z] ---> db0f8c9101ad [2022-10-08T01:42:19.682Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T01:42:20.617Z] ---> Running in 6748164151e5 [2022-10-08T01:42:21.993Z] Removing intermediate container 6748164151e5 [2022-10-08T01:42:21.993Z] ---> a005db7bb2dc [2022-10-08T01:42:21.993Z] Step 13/27 : COPY . . [2022-10-08T01:42:23.398Z] ---> e15cb49f9dac [2022-10-08T01:42:23.399Z] Step 14/27 : RUN ${MAKE} [2022-10-08T01:42:23.399Z] ---> Running in e17ad19e5eb2 [2022-10-08T01:42:23.659Z] 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-08T01:42:50.340Z] Removing intermediate container e17ad19e5eb2 [2022-10-08T01:42:50.340Z] ---> ab9a2b4d3bf5 [2022-10-08T01:42:50.340Z] Step 15/27 : FROM alpine:3.16 [2022-10-08T01:42:50.340Z] 3.16: Pulling from library/alpine [2022-10-08T01:42:50.598Z] 213ec9aee27d: Pulling fs layer [2022-10-08T01:42:50.598Z] 213ec9aee27d: Verifying Checksum [2022-10-08T01:42:50.598Z] 213ec9aee27d: Download complete [2022-10-08T01:42:50.872Z] 213ec9aee27d: Pull complete [2022-10-08T01:42:50.872Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-08T01:42:50.872Z] Status: Downloaded newer image for alpine:3.16 [2022-10-08T01:42:50.872Z] ---> 9c6f07244728 [2022-10-08T01:42:50.872Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-08T01:42:51.131Z] ---> Running in b25f7a1cd54f [2022-10-08T01:42:51.131Z] Removing intermediate container b25f7a1cd54f [2022-10-08T01:42:51.131Z] ---> f1350540ffe0 [2022-10-08T01:42:51.131Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-08T01:42:51.131Z] ---> Running in c82271ebfdcf [2022-10-08T01:42:51.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-08T01:42:51.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-08T01:42:51.913Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-08T01:42:51.913Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-08T01:42:51.913Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-08T01:42:51.913Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-08T01:42:51.913Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-08T01:42:51.913Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-08T01:42:51.913Z] Executing busybox-1.35.0-r17.trigger [2022-10-08T01:42:51.913Z] OK: 8 MiB in 20 packages [2022-10-08T01:42:52.484Z] Removing intermediate container c82271ebfdcf [2022-10-08T01:42:52.484Z] ---> 3914d24a119d [2022-10-08T01:42:52.484Z] Step 18/27 : WORKDIR / [2022-10-08T01:42:52.484Z] ---> Running in 6d2201022816 [2022-10-08T01:42:52.484Z] Removing intermediate container 6d2201022816 [2022-10-08T01:42:52.484Z] ---> 65174893426e [2022-10-08T01:42:52.484Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-08T01:42:53.480Z] ---> 35f1de677a04 [2022-10-08T01:42:53.480Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-08T01:42:53.480Z] ---> 5fb8d1b7ae28 [2022-10-08T01:42:53.480Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-08T01:42:53.480Z] ---> 70185d493d0c [2022-10-08T01:42:53.480Z] Step 22/27 : EXPOSE 59984 [2022-10-08T01:42:53.480Z] ---> Running in 709d1435ece8 [2022-10-08T01:42:53.740Z] Removing intermediate container 709d1435ece8 [2022-10-08T01:42:53.740Z] ---> e2a32916f420 [2022-10-08T01:42:53.740Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-08T01:42:53.740Z] ---> Running in 60bda5eed862 [2022-10-08T01:42:53.740Z] Removing intermediate container 60bda5eed862 [2022-10-08T01:42:53.740Z] ---> 97cd8ad9c1a2 [2022-10-08T01:42:53.740Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-08T01:42:53.740Z] ---> Running in 9b5bd42761c6 [2022-10-08T01:42:53.740Z] Removing intermediate container 9b5bd42761c6 [2022-10-08T01:42:53.740Z] ---> f69c5d60dc4c [2022-10-08T01:42:53.740Z] Step 25/27 : LABEL arch=amd64 [2022-10-08T01:42:54.000Z] ---> Running in 15a61574835e [2022-10-08T01:42:54.000Z] Removing intermediate container 15a61574835e [2022-10-08T01:42:54.000Z] ---> 5f2c2b2060c4 [2022-10-08T01:42:54.000Z] Step 26/27 : LABEL git_sha=c214d7759c819120044835020ac7d1796e95d4bb [2022-10-08T01:42:54.000Z] ---> Running in 46a49e47cb92 [2022-10-08T01:42:54.261Z] Removing intermediate container 46a49e47cb92 [2022-10-08T01:42:54.261Z] ---> 0d15e309839b [2022-10-08T01:42:54.261Z] Step 27/27 : LABEL version=0.0.0 [2022-10-08T01:42:54.261Z] ---> Running in a642f8aea0ac [2022-10-08T01:42:54.521Z] Removing intermediate container a642f8aea0ac [2022-10-08T01:42:54.521Z] ---> 825b1db534ae [2022-10-08T01:42:54.521Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-08T01:42:54.521Z] Successfully built 825b1db534ae [2022-10-08T01:42:54.521Z] 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-08T01:42:54.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T01:42:54.979Z] [2022-10-08T01:42:54.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:42:55.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T01:42:55.285Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-08T01:42:55.285Z] 5eb5b503b376: Pulling fs layer [2022-10-08T01:42:55.285Z] 5c69ac0246d0: Pulling fs layer [2022-10-08T01:42:55.285Z] ec43610c2a17: Pulling fs layer [2022-10-08T01:42:55.285Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-08T01:42:55.285Z] 33b1e0a273af: Pulling fs layer [2022-10-08T01:42:55.285Z] 5d3b04190fa2: Pulling fs layer [2022-10-08T01:42:55.285Z] 2f39f015ded8: Pulling fs layer [2022-10-08T01:42:55.285Z] 33b1e0a273af: Waiting [2022-10-08T01:42:55.285Z] 5d3b04190fa2: Waiting [2022-10-08T01:42:55.285Z] 2f39f015ded8: Waiting [2022-10-08T01:42:55.285Z] 3a2ae6a8a46f: Waiting [2022-10-08T01:42:55.285Z] 5c69ac0246d0: Download complete [2022-10-08T01:42:55.285Z] 3a2ae6a8a46f: Download complete [2022-10-08T01:42:55.285Z] 33b1e0a273af: Verifying Checksum [2022-10-08T01:42:55.285Z] 33b1e0a273af: Download complete [2022-10-08T01:42:55.285Z] 5d3b04190fa2: Download complete [2022-10-08T01:42:55.548Z] ec43610c2a17: Verifying Checksum [2022-10-08T01:42:55.548Z] ec43610c2a17: Download complete [2022-10-08T01:42:55.548Z] 5eb5b503b376: Verifying Checksum [2022-10-08T01:42:55.548Z] 5eb5b503b376: Download complete [2022-10-08T01:42:56.119Z] 2f39f015ded8: Download complete [2022-10-08T01:42:56.685Z] 5eb5b503b376: Pull complete [2022-10-08T01:42:56.944Z] 5c69ac0246d0: Pull complete [2022-10-08T01:42:57.508Z] ec43610c2a17: Pull complete [2022-10-08T01:42:57.508Z] 3a2ae6a8a46f: Pull complete [2022-10-08T01:42:57.766Z] 33b1e0a273af: Pull complete [2022-10-08T01:42:57.766Z] 5d3b04190fa2: Pull complete [2022-10-08T01:43:03.033Z] 2f39f015ded8: Pull complete [2022-10-08T01:43:03.033Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-08T01:43:03.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T01:43:03.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:43:03.112Z] prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container [2022-10-08T01:43:03.141Z] $ 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-08T01:43:09.904Z] $ docker top 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:43:10.304Z] ---> job-cost.sh [2022-10-08T01:43:10.304Z] lf-activate-venv: SKIPPING [2022-10-08T01:43:10.304Z] INFO: No Stack... [2022-10-08T01:43:10.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-08T01:43:10.821Z] INFO: Archiving Costs [Pipeline] sh [2022-10-08T01:43:11.110Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-08T01:43:11.110Z] + cut -d, -f6 [Pipeline] lock [2022-10-08T01:43:11.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [2022-10-08T01:43:11.129Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] did not exist. Created. [2022-10-08T01:43:11.129Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-08T01:43:11.428Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-08T01:43:11.454Z] Stashed 1 file(s) [Pipeline] } [2022-10-08T01:43:11.461Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-08T01:43:11.479Z] $ docker stop --time=1 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 [2022-10-08T01:43:12.637Z] $ docker rm -f 310fb167630ddc423a5eee30567aa050722b7608d594938fe9cb6d53a9488b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-08T01:44:48.655Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7380 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-08T01:44:48.669Z] Running in /w/workspace/device-onvif-camera/16 [Pipeline] { [Pipeline] checkout [2022-10-08T01:44:48.699Z] The recommended git tool is: git [2022-10-08T01:44:53.887Z] using credential edgex-jenkins-ssh [2022-10-08T01:44:53.902Z] Cloning the remote Git repository [2022-10-08T01:44:53.939Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T01:44:54.028Z] > git init /w/workspace/device-onvif-camera/16 # timeout=10 [2022-10-08T01:44:54.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T01:44:54.179Z] > git --version # timeout=10 [2022-10-08T01:44:54.203Z] > git --version # 'git version 2.25.1' [2022-10-08T01:44:54.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T01:44:54.253Z] Verifying host key using known hosts file [2022-10-08T01:44:54.453Z] 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-08T01:44:54.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-08T01:44:55.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-08T01:44:55.886Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-08T01:44:57.470Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit c214d7759c819120044835020ac7d1796e95d4bb [2022-10-08T01:44:56.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-08T01:44:56.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-08T01:44:56.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T01:44:56.808Z] Verifying host key using known hosts file [2022-10-08T01:44:56.816Z] 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-08T01:44:56.827Z] > 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-08T01:44:57.483Z] > git config core.sparsecheckout # timeout=10 [2022-10-08T01:44:57.849Z] Merge succeeded, producing c214d7759c819120044835020ac7d1796e95d4bb [2022-10-08T01:44:57.849Z] Checking out Revision c214d7759c819120044835020ac7d1796e95d4bb (PR-172) [2022-10-08T01:44:58.532Z] Commit message: "fix : discovery mode netscan when using docker-compose" [2022-10-08T01:44:57.514Z] > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 [2022-10-08T01:44:57.736Z] > git remote # timeout=10 [2022-10-08T01:44:57.755Z] > git config --get remote.origin.url # timeout=10 [2022-10-08T01:44:57.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-08T01:44:57.783Z] Verifying host key using known hosts file [2022-10-08T01:44:57.789Z] 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-08T01:44:57.797Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-08T01:44:57.823Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-08T01:44:57.851Z] > git config core.sparsecheckout # timeout=10 [2022-10-08T01:44:57.865Z] > git checkout -f c214d7759c819120044835020ac7d1796e95d4bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T01:44:59.453Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-08T01:44:59.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-08T01:44:59.453Z] Dload Upload Total Spent Left Speed [2022-10-08T01:44:59.453Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-10-08T01:45:00.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-08T01:45:00.556Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-08T01:45:00.556Z] + sudo tee /etc/docker/daemon.new [2022-10-08T01:45:00.556Z] { [2022-10-08T01:45:00.556Z] "registry-mirrors": [ [2022-10-08T01:45:00.556Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-08T01:45:00.556Z] ], [2022-10-08T01:45:00.556Z] "bip": "10.250.0.254/24", [2022-10-08T01:45:00.556Z] "hosts": [ [2022-10-08T01:45:00.556Z] "tcp://0.0.0.0:5555", [2022-10-08T01:45:00.556Z] "unix:///var/run/docker.sock" [2022-10-08T01:45:00.556Z] ], [2022-10-08T01:45:00.556Z] "mtu": 1458, [2022-10-08T01:45:00.556Z] "selinux-enabled": true, [2022-10-08T01:45:00.556Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-08T01:45:00.556Z] } [Pipeline] sh [2022-10-08T01:45:00.895Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-08T01:45:01.232Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T01:45:19.515Z] provisioning config files... [2022-10-08T01:45:19.544Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/16@tmp/config15844905105808293967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:45:19.902Z] ---> docker-login.sh [2022-10-08T01:45:19.902Z] nexus3.edgexfoundry.org:10001 [2022-10-08T01:45:20.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:45:20.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:45:20.492Z] Configure a credential helper to remove this warning. See [2022-10-08T01:45:20.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:45:20.492Z] [2022-10-08T01:45:20.492Z] Login Succeeded [2022-10-08T01:45:20.492Z] nexus3.edgexfoundry.org:10002 [2022-10-08T01:45:20.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:45:21.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:45:21.033Z] Configure a credential helper to remove this warning. See [2022-10-08T01:45:21.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:45:21.033Z] [2022-10-08T01:45:21.033Z] Login Succeeded [2022-10-08T01:45:21.033Z] nexus3.edgexfoundry.org:10003 [2022-10-08T01:45:21.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:45:21.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:45:21.304Z] Configure a credential helper to remove this warning. See [2022-10-08T01:45:21.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:45:21.304Z] [2022-10-08T01:45:21.304Z] Login Succeeded [2022-10-08T01:45:21.304Z] nexus3.edgexfoundry.org:10004 [2022-10-08T01:45:21.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:45:21.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:45:21.574Z] Configure a credential helper to remove this warning. See [2022-10-08T01:45:21.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:45:21.574Z] [2022-10-08T01:45:21.574Z] Login Succeeded [2022-10-08T01:45:21.574Z] docker.io [2022-10-08T01:45:21.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-08T01:45:22.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-08T01:45:22.429Z] Configure a credential helper to remove this warning. See [2022-10-08T01:45:22.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-08T01:45:22.429Z] [2022-10-08T01:45:22.429Z] Login Succeeded [2022-10-08T01:45:22.429Z] ---> docker-login.sh ends [Pipeline] } [2022-10-08T01:45:22.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-08T01:45:22.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T01:45:22.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-08T01:45:22.603Z] ========================================================= [2022-10-08T01:45:22.603Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-08T01:45:22.603Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:45:22.934Z] + 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-08T01:45:23.521Z] Sending build context to Docker daemon 14.23MB [2022-10-08T01:45:23.521Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T01:45:23.521Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-08T01:45:23.521Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-08T01:45:23.521Z] b3c136eddcbf: Pulling fs layer [2022-10-08T01:45:23.521Z] c0a3192eca97: Pulling fs layer [2022-10-08T01:45:23.521Z] a050256f5b6f: Pulling fs layer [2022-10-08T01:45:23.521Z] 656be50a0ddc: Pulling fs layer [2022-10-08T01:45:23.521Z] 2bbca73fdf42: Pulling fs layer [2022-10-08T01:45:23.521Z] f607e4fc86c3: Pulling fs layer [2022-10-08T01:45:23.521Z] 4d572c569a2c: Pulling fs layer [2022-10-08T01:45:23.521Z] fcf976331f73: Pulling fs layer [2022-10-08T01:45:23.521Z] f607e4fc86c3: Waiting [2022-10-08T01:45:23.521Z] 4d572c569a2c: Waiting [2022-10-08T01:45:23.521Z] fcf976331f73: Waiting [2022-10-08T01:45:23.521Z] 656be50a0ddc: Waiting [2022-10-08T01:45:23.521Z] 2bbca73fdf42: Waiting [2022-10-08T01:45:23.521Z] a050256f5b6f: Verifying Checksum [2022-10-08T01:45:23.521Z] a050256f5b6f: Download complete [2022-10-08T01:45:23.521Z] c0a3192eca97: Verifying Checksum [2022-10-08T01:45:23.521Z] c0a3192eca97: Download complete [2022-10-08T01:45:23.521Z] 2bbca73fdf42: Verifying Checksum [2022-10-08T01:45:23.521Z] 2bbca73fdf42: Download complete [2022-10-08T01:45:23.789Z] f607e4fc86c3: Verifying Checksum [2022-10-08T01:45:23.789Z] f607e4fc86c3: Download complete [2022-10-08T01:45:23.789Z] b3c136eddcbf: Verifying Checksum [2022-10-08T01:45:24.780Z] b3c136eddcbf: Pull complete [2022-10-08T01:45:24.780Z] fcf976331f73: Verifying Checksum [2022-10-08T01:45:24.780Z] fcf976331f73: Download complete [2022-10-08T01:45:25.051Z] c0a3192eca97: Pull complete [2022-10-08T01:45:25.332Z] a050256f5b6f: Pull complete [2022-10-08T01:45:25.924Z] 4d572c569a2c: Verifying Checksum [2022-10-08T01:45:25.924Z] 4d572c569a2c: Download complete [2022-10-08T01:45:26.895Z] 656be50a0ddc: Verifying Checksum [2022-10-08T01:45:26.895Z] 656be50a0ddc: Download complete [2022-10-08T01:45:39.228Z] 656be50a0ddc: Pull complete [2022-10-08T01:45:39.228Z] 2bbca73fdf42: Pull complete [2022-10-08T01:45:39.228Z] f607e4fc86c3: Pull complete [2022-10-08T01:45:45.894Z] 4d572c569a2c: Pull complete [2022-10-08T01:45:47.397Z] fcf976331f73: Pull complete [2022-10-08T01:45:47.397Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-08T01:45:47.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-08T01:45:47.397Z] ---> 3970a7415f9e [2022-10-08T01:45:47.397Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-08T01:45:49.354Z] ---> Running in 51dc701b6a13 [2022-10-08T01:45:49.621Z] Removing intermediate container 51dc701b6a13 [2022-10-08T01:45:49.622Z] ---> 32bba4c7b35d [2022-10-08T01:45:49.622Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T01:45:49.622Z] ---> Running in a24e150c3428 [2022-10-08T01:45:49.890Z] Removing intermediate container a24e150c3428 [2022-10-08T01:45:49.890Z] ---> da47a4f8789c [2022-10-08T01:45:49.890Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T01:45:49.890Z] ---> Running in 62fc3869a060 [2022-10-08T01:45:50.164Z] Removing intermediate container 62fc3869a060 [2022-10-08T01:45:50.164Z] ---> 1b36edf9bb6d [2022-10-08T01:45:50.164Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T01:45:50.433Z] ---> Running in b701dc7980cd [2022-10-08T01:45:50.703Z] Removing intermediate container b701dc7980cd [2022-10-08T01:45:50.703Z] ---> 3c25b60729b9 [2022-10-08T01:45:50.703Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-08T01:45:50.703Z] ---> Running in e17811db1d80 [2022-10-08T01:45:50.970Z] Removing intermediate container e17811db1d80 [2022-10-08T01:45:50.970Z] ---> e8c9b055ef4d [2022-10-08T01:45:50.970Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T01:45:51.240Z] ---> Running in 01a2332b9fa7 [2022-10-08T01:45:54.592Z] Removing intermediate container 01a2332b9fa7 [2022-10-08T01:45:54.592Z] ---> bcc6f8255704 [2022-10-08T01:45:54.592Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T01:45:54.592Z] ---> Running in a5f9e9f25252 [2022-10-08T01:45:55.177Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T01:45:56.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T01:45:57.107Z] OK: 221 MiB in 51 packages [2022-10-08T01:45:58.075Z] Removing intermediate container a5f9e9f25252 [2022-10-08T01:45:58.075Z] ---> b53fa10d3d86 [2022-10-08T01:45:58.075Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-08T01:45:58.075Z] ---> Running in fa1a6422a1ae [2022-10-08T01:45:58.343Z] Removing intermediate container fa1a6422a1ae [2022-10-08T01:45:58.343Z] ---> 7b19b3752f18 [2022-10-08T01:45:58.343Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-08T01:45:58.928Z] ---> 0f2979b2799d [2022-10-08T01:45:58.928Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T01:45:58.928Z] ---> Running in f1c9b200070a [2022-10-08T01:46:55.338Z] Removing intermediate container f1c9b200070a [2022-10-08T01:46:55.338Z] ---> 83eeb6c42598 [2022-10-08T01:46:55.338Z] Step 13/14 : COPY . . [2022-10-08T01:46:55.338Z] ---> 98ff6247dead [2022-10-08T01:46:55.338Z] Step 14/14 : RUN ${MAKE} [2022-10-08T01:46:55.338Z] ---> Running in 2630df11f012 [2022-10-08T01:46:55.338Z] noop [2022-10-08T01:46:55.338Z] Removing intermediate container 2630df11f012 [2022-10-08T01:46:55.338Z] ---> 8f5adc5cfa2a [2022-10-08T01:46:55.338Z] Successfully built 8f5adc5cfa2a [2022-10-08T01:46:55.338Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:46:55.695Z] + docker inspect -f . ci-base-image-arm64 [2022-10-08T01:46:55.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:46:55.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container [2022-10-08T01:46:55.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-arm64 cat [2022-10-08T01:46:57.173Z] $ docker top 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T01:46:57.995Z] + go version [2022-10-08T01:46:57.995Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-08T01:46:58.020Z] $ docker stop --time=1 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a [2022-10-08T01:46:59.630Z] $ docker rm -f 0b042ebd4eae37dbb093b9f2107a318266b5b10a22cbb2df4325a9e04afcac3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:47:00.154Z] + docker inspect -f . ci-base-image-arm64 [2022-10-08T01:47:00.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:47:00.310Z] prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container [2022-10-08T01:47:00.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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-arm64 cat [2022-10-08T01:47:01.418Z] $ docker top 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T01:47:01.894Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/16 [Pipeline] fileExists [Pipeline] sh [2022-10-08T01:47:02.219Z] + make test [2022-10-08T01:47:02.219Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-08T01:47:04.159Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-08T01:48:40.863Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-08T01:48:40.863Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements [2022-10-08T01:48:40.863Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-08T01:48:59.090Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.357s coverage: 86.5% of statements [2022-10-08T01:48:59.090Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-08T01:48:59.090Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-08T01:49:25.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-08T01:49:25.792Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-08T01:49:25.792Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-08T01:49:26.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-08T01:49:26.414Z] $ docker stop --time=1 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 [2022-10-08T01:49:28.354Z] $ docker rm -f 111adbb773e1fb982e1de556c1dd7dfba729ff6f85bd9bd6631fadd5bdcf6695 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-08T01:49:29.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-08T01:49:29.371Z] Warning: overwriting stash ‘coverage-report’ [2022-10-08T01:49:29.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-08T01:49:30.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-08T01:49:30.546Z] + ls -al . [2022-10-08T01:49:30.547Z] total 232 [2022-10-08T01:49:30.547Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 01:47 . [2022-10-08T01:49:30.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 .. [2022-10-08T01:49:30.547Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 01:44 .git [2022-10-08T01:49:30.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:44 .github [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 8 01:44 .gitignore [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 8 01:44 .golangci.yml [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 8 01:44 Attribution.txt [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 8 01:44 CHANGELOG.md [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 8 01:44 Dockerfile [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 01:44 GOVERNANCE.md [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 8 01:44 Jenkinsfile [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 8 01:44 LICENSE [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 8 01:44 Makefile [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 8 01:44 OWNERS.md [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 8 01:44 README.md [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 01:40 VERSION [2022-10-08T01:49:30.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 01:44 bin [2022-10-08T01:49:30.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 01:44 cmd [2022-10-08T01:49:30.547Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 8 01:48 coverage.out [2022-10-08T01:49:30.547Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 01:44 doc [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 8 01:44 go.mod [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 8 01:44 go.sum [2022-10-08T01:49:30.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 internal [2022-10-08T01:49:30.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 01:44 snap [2022-10-08T01:49:30.547Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 8 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:49:30.883Z] + 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=c214d7759c819120044835020ac7d1796e95d4bb --label arch=arm64 --label version=0.0.0 . [2022-10-08T01:49:31.468Z] Sending build context to Docker daemon 14.31MB [2022-10-08T01:49:31.468Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-08T01:49:31.468Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-08T01:49:31.468Z] ---> 8f5adc5cfa2a [2022-10-08T01:49:31.468Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-08T01:49:31.738Z] ---> Running in 95be69878924 [2022-10-08T01:49:32.328Z] Removing intermediate container 95be69878924 [2022-10-08T01:49:32.328Z] ---> 84c936d3a18f [2022-10-08T01:49:32.328Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-08T01:49:32.328Z] ---> Running in c46f5e3c7e61 [2022-10-08T01:49:32.594Z] Removing intermediate container c46f5e3c7e61 [2022-10-08T01:49:32.594Z] ---> 7b6bda234afe [2022-10-08T01:49:32.594Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-08T01:49:32.861Z] ---> Running in f59b7b78ed20 [2022-10-08T01:49:33.129Z] Removing intermediate container f59b7b78ed20 [2022-10-08T01:49:33.129Z] ---> 9cd185ea686d [2022-10-08T01:49:33.129Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-08T01:49:33.129Z] ---> Running in 77e2ddc929af [2022-10-08T01:49:33.395Z] Removing intermediate container 77e2ddc929af [2022-10-08T01:49:33.395Z] ---> dda3e2bb772f [2022-10-08T01:49:33.395Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-08T01:49:33.663Z] ---> Running in 3db78190a22a [2022-10-08T01:49:33.932Z] Removing intermediate container 3db78190a22a [2022-10-08T01:49:33.932Z] ---> 2a6741bd0b7f [2022-10-08T01:49:33.932Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-08T01:49:33.932Z] ---> Running in 2cbf731e531d [2022-10-08T01:49:35.879Z] Removing intermediate container 2cbf731e531d [2022-10-08T01:49:35.879Z] ---> ab449bf3b834 [2022-10-08T01:49:35.879Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-08T01:49:35.879Z] ---> Running in 3a94bd108e5a [2022-10-08T01:49:36.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T01:49:37.439Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T01:49:38.848Z] OK: 221 MiB in 51 packages [2022-10-08T01:49:39.806Z] Removing intermediate container 3a94bd108e5a [2022-10-08T01:49:39.806Z] ---> e222f1115e8d [2022-10-08T01:49:39.806Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-08T01:49:39.806Z] ---> Running in 2562e846c8ce [2022-10-08T01:49:40.391Z] Removing intermediate container 2562e846c8ce [2022-10-08T01:49:40.391Z] ---> 0a84f99ab14f [2022-10-08T01:49:40.391Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-08T01:49:40.972Z] ---> 6505b2959f3e [2022-10-08T01:49:40.972Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-08T01:49:40.972Z] ---> Running in 1f0d6135f7c7 [2022-10-08T01:49:43.567Z] Removing intermediate container 1f0d6135f7c7 [2022-10-08T01:49:43.567Z] ---> 9c6df3064170 [2022-10-08T01:49:43.567Z] Step 13/27 : COPY . . [2022-10-08T01:49:44.975Z] ---> d3574743a502 [2022-10-08T01:49:44.975Z] Step 14/27 : RUN ${MAKE} [2022-10-08T01:49:44.975Z] ---> Running in e8439355dfea [2022-10-08T01:49:45.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-08T01:52:22.658Z] Removing intermediate container e8439355dfea [2022-10-08T01:52:22.658Z] ---> 42f730743807 [2022-10-08T01:52:22.658Z] Step 15/27 : FROM alpine:3.16 [2022-10-08T01:52:22.658Z] 3.16: Pulling from library/alpine [2022-10-08T01:52:22.658Z] 9b18e9b68314: Pulling fs layer [2022-10-08T01:52:22.658Z] 9b18e9b68314: Verifying Checksum [2022-10-08T01:52:22.658Z] 9b18e9b68314: Download complete [2022-10-08T01:52:22.658Z] 9b18e9b68314: Pull complete [2022-10-08T01:52:22.658Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-08T01:52:22.658Z] Status: Downloaded newer image for alpine:3.16 [2022-10-08T01:52:22.658Z] ---> a6215f271958 [2022-10-08T01:52:22.658Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-08T01:52:22.658Z] ---> Running in e21ba8244b70 [2022-10-08T01:52:22.658Z] Removing intermediate container e21ba8244b70 [2022-10-08T01:52:22.658Z] ---> 653a1e578534 [2022-10-08T01:52:22.658Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-08T01:52:22.658Z] ---> Running in 9690730d6049 [2022-10-08T01:52:22.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-08T01:52:22.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-08T01:52:22.658Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-08T01:52:22.658Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-08T01:52:22.658Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-08T01:52:22.658Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-08T01:52:22.658Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-08T01:52:22.658Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-08T01:52:22.658Z] Executing busybox-1.35.0-r17.trigger [2022-10-08T01:52:22.658Z] OK: 8 MiB in 20 packages [2022-10-08T01:52:22.658Z] Removing intermediate container 9690730d6049 [2022-10-08T01:52:22.658Z] ---> 1c49deba27dd [2022-10-08T01:52:22.658Z] Step 18/27 : WORKDIR / [2022-10-08T01:52:22.658Z] ---> Running in f6661084a79b [2022-10-08T01:52:22.659Z] Removing intermediate container f6661084a79b [2022-10-08T01:52:22.659Z] ---> 91b5f4efb6d0 [2022-10-08T01:52:22.659Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-08T01:52:22.659Z] ---> 5c0dda776616 [2022-10-08T01:52:22.659Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-08T01:52:22.659Z] ---> ac250df67707 [2022-10-08T01:52:22.659Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-08T01:52:22.659Z] ---> 4697781c597d [2022-10-08T01:52:22.659Z] Step 22/27 : EXPOSE 59984 [2022-10-08T01:52:22.659Z] ---> Running in c0a1e65be3f1 [2022-10-08T01:52:22.659Z] Removing intermediate container c0a1e65be3f1 [2022-10-08T01:52:22.659Z] ---> 03a1f9136cbd [2022-10-08T01:52:22.659Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-08T01:52:22.659Z] ---> Running in 76fd42bf2c1b [2022-10-08T01:52:22.659Z] Removing intermediate container 76fd42bf2c1b [2022-10-08T01:52:22.659Z] ---> 491785127ba1 [2022-10-08T01:52:22.659Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-08T01:52:22.659Z] ---> Running in be16de6247f2 [2022-10-08T01:52:23.245Z] Removing intermediate container be16de6247f2 [2022-10-08T01:52:23.245Z] ---> 032f02a1c5e9 [2022-10-08T01:52:23.245Z] Step 25/27 : LABEL arch=arm64 [2022-10-08T01:52:23.245Z] ---> Running in 2c2aa4dd0222 [2022-10-08T01:52:23.516Z] Removing intermediate container 2c2aa4dd0222 [2022-10-08T01:52:23.516Z] ---> 9e676d8961f4 [2022-10-08T01:52:23.516Z] Step 26/27 : LABEL git_sha=c214d7759c819120044835020ac7d1796e95d4bb [2022-10-08T01:52:23.784Z] ---> Running in 33f2b656c1dd [2022-10-08T01:52:24.052Z] Removing intermediate container 33f2b656c1dd [2022-10-08T01:52:24.052Z] ---> 37f602ecb46d [2022-10-08T01:52:24.052Z] Step 27/27 : LABEL version=0.0.0 [2022-10-08T01:52:24.052Z] ---> Running in 66d1279a9bde [2022-10-08T01:52:24.320Z] Removing intermediate container 66d1279a9bde [2022-10-08T01:52:24.320Z] ---> 9dbbc975ca2a [2022-10-08T01:52:24.320Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-08T01:52:24.320Z] Successfully built 9dbbc975ca2a [2022-10-08T01:52:24.320Z] 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-08T01:52:24.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T01:52:24.738Z] [2022-10-08T01:52:24.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:52:25.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T01:52:25.066Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-08T01:52:25.066Z] 8998bd30e6a1: Pulling fs layer [2022-10-08T01:52:25.066Z] 04944245beec: Pulling fs layer [2022-10-08T01:52:25.066Z] 699f458cf7ca: Pulling fs layer [2022-10-08T01:52:25.066Z] 765212b225bb: Pulling fs layer [2022-10-08T01:52:25.066Z] f23df028b6ca: Pulling fs layer [2022-10-08T01:52:25.066Z] d65c8cfc05b1: Pulling fs layer [2022-10-08T01:52:25.066Z] 2437ff75d9bd: Pulling fs layer [2022-10-08T01:52:25.066Z] f23df028b6ca: Waiting [2022-10-08T01:52:25.066Z] d65c8cfc05b1: Waiting [2022-10-08T01:52:25.066Z] 2437ff75d9bd: Waiting [2022-10-08T01:52:25.066Z] 765212b225bb: Waiting [2022-10-08T01:52:25.334Z] 04944245beec: Verifying Checksum [2022-10-08T01:52:25.334Z] 04944245beec: Download complete [2022-10-08T01:52:25.334Z] 765212b225bb: Verifying Checksum [2022-10-08T01:52:25.334Z] 765212b225bb: Download complete [2022-10-08T01:52:25.334Z] f23df028b6ca: Verifying Checksum [2022-10-08T01:52:25.334Z] f23df028b6ca: Download complete [2022-10-08T01:52:25.334Z] d65c8cfc05b1: Verifying Checksum [2022-10-08T01:52:25.334Z] d65c8cfc05b1: Download complete [2022-10-08T01:52:25.713Z] 699f458cf7ca: Download complete [2022-10-08T01:52:25.985Z] 8998bd30e6a1: Verifying Checksum [2022-10-08T01:52:25.985Z] 8998bd30e6a1: Download complete [2022-10-08T01:52:28.621Z] 2437ff75d9bd: Verifying Checksum [2022-10-08T01:52:28.622Z] 2437ff75d9bd: Download complete [2022-10-08T01:52:30.060Z] 8998bd30e6a1: Pull complete [2022-10-08T01:52:30.646Z] 04944245beec: Pull complete [2022-10-08T01:52:32.053Z] 699f458cf7ca: Pull complete [2022-10-08T01:52:32.321Z] 765212b225bb: Pull complete [2022-10-08T01:52:32.905Z] f23df028b6ca: Pull complete [2022-10-08T01:52:33.172Z] d65c8cfc05b1: Pull complete [2022-10-08T01:52:48.163Z] 2437ff75d9bd: Pull complete [2022-10-08T01:52:48.163Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-08T01:52:48.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-08T01:52:48.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:52:48.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-7380 does not seem to be running inside a container [2022-10-08T01:52:48.436Z] $ 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/16 -v /w/workspace/device-onvif-camera/16:/w/workspace/device-onvif-camera/16:rw,z -v /w/workspace/device-onvif-camera/16@tmp:/w/workspace/device-onvif-camera/16@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:arm64 cat [2022-10-08T01:52:51.138Z] $ docker top 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:52:51.993Z] ---> job-cost.sh [2022-10-08T01:52:51.993Z] lf-activate-venv: SKIPPING [2022-10-08T01:52:51.993Z] INFO: No Stack... [2022-10-08T01:52:52.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-08T01:52:53.219Z] INFO: Archiving Costs [Pipeline] sh [2022-10-08T01:52:53.857Z] + cat /w/workspace/device-onvif-camera/16/archives/cost.csv [2022-10-08T01:52:53.857Z] + cut -d, -f6 [Pipeline] lock [2022-10-08T01:52:53.920Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [2022-10-08T01:52:53.925Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] did not exist. Created. [2022-10-08T01:52:53.925Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-08T01:52:54.586Z] /w/workspace/device-onvif-camera/16@tmp/durable-68a8c62f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-08T01:52:55.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-08T01:52:55.270Z] Warning: overwriting stash ‘stack-cost’ [2022-10-08T01:52:55.339Z] Stashed 1 file(s) [Pipeline] } [2022-10-08T01:52:55.345Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-08T01:52:55.383Z] $ docker stop --time=1 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c [2022-10-08T01:52:56.978Z] $ docker rm -f 543cfdb1ac767e9548e2b38d3989e6b8ab0c1db41a8e4d935b431b49050a3c4c [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-08T01:52:57.402Z] provisioning config files... [2022-10-08T01:52:57.409Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6053265584420321246tmp [Pipeline] { [Pipeline] sh [2022-10-08T01:52:57.697Z] + set +x [2022-10-08T01:52:57.697Z] + curl -s https://codecov.io/bash [2022-10-08T01:52:57.697Z] + bash -s -- [2022-10-08T01:52:57.697Z] [2022-10-08T01:52:57.697Z] _____ _ [2022-10-08T01:52:57.697Z] / ____| | | [2022-10-08T01:52:57.697Z] | | ___ __| | ___ ___ _____ __ [2022-10-08T01:52:57.697Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-08T01:52:57.697Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-08T01:52:57.697Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-08T01:52:57.697Z] Bash-1.0.6 [2022-10-08T01:52:57.697Z] [2022-10-08T01:52:57.697Z] [2022-10-08T01:52:57.697Z] ==> git version 2.25.1 found [2022-10-08T01:52:57.697Z] ==> 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-08T01:52:57.697Z] Release-Date: 2020-01-08 [2022-10-08T01:52:57.697Z] 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-08T01:52:57.697Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-08T01:52:57.697Z] ==> Jenkins CI detected. [2022-10-08T01:52:57.697Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-08T01:52:57.697Z] project root: . [2022-10-08T01:52:57.697Z] --> token set from env [2022-10-08T01:52:57.697Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-08T01:52:57.697Z] ==> Running gcov in . (disable via -X gcov) [2022-10-08T01:52:57.697Z] ==> Python coveragepy not found [2022-10-08T01:52:57.697Z] ==> Searching for coverage reports in: [2022-10-08T01:52:57.697Z] + . [2022-10-08T01:52:57.697Z] -> Found 1 reports [2022-10-08T01:52:57.697Z] ==> Detecting git/mercurial file structure [2022-10-08T01:52:57.697Z] ==> Reading reports [2022-10-08T01:52:57.697Z] + ./coverage.out bytes=78636 [2022-10-08T01:52:57.697Z] ==> Appending adjustments [2022-10-08T01:52:57.697Z] https://docs.codecov.io/docs/fixing-reports [2022-10-08T01:52:57.956Z] + Found adjustments [2022-10-08T01:52:57.956Z] ==> Gzipping contents [2022-10-08T01:52:57.956Z] 12K /tmp/codecov.VCmp5X.gz [2022-10-08T01:52:57.956Z] ==> Uploading reports [2022-10-08T01:52:57.956Z] url: https://codecov.io [2022-10-08T01:52:57.956Z] query: branch=PR-172&commit=c214d7759c819120044835020ac7d1796e95d4bb&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-08T01:52:57.956Z] -> Pinging Codecov [2022-10-08T01:52:57.956Z] 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=c214d7759c819120044835020ac7d1796e95d4bb&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-08T01:52:58.214Z] -> Uploading to [2022-10-08T01:52:58.214Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-08/F29A59C45E3A92E06B3E522C9905F8EF/c214d7759c819120044835020ac7d1796e95d4bb/14e20cce-2420-41d3-a6bb-cb3fa56089b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221008T015258Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c220a85045507aff00adbaf134adfd737f1e604d9806a5eeb6fc8c5d12d0e2a3 [2022-10-08T01:52:58.214Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-08T01:52:58.214Z] Dload Upload Total Spent Left Speed [2022-10-08T01:52:58.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10714 0 0 100 10714 0 40430 --:--:-- --:--:-- --:--:-- 40583 [2022-10-08T01:52:58.473Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c214d7759c819120044835020ac7d1796e95d4bb [Pipeline] } [2022-10-08T01:52:58.482Z] 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-08T01:52:59.187Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-08T01:52:59.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T01:52:59.187Z] total 16 [2022-10-08T01:52:59.187Z] drwxr-xr-x 3 root root 4096 Oct 8 01:43 . [2022-10-08T01:52:59.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 01:43 .. [2022-10-08T01:52:59.187Z] drwxr-xr-x 2 root root 4096 Oct 8 01:43 cost [2022-10-08T01:52:59.187Z] -rw-r--r-- 1 root root 92 Oct 8 01:43 cost.csv [2022-10-08T01:52:59.187Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T01:52:59.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-08T01:52:59.187Z] total 16 [2022-10-08T01:52:59.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 01:43 . [2022-10-08T01:52:59.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 01:43 .. [2022-10-08T01:52:59.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 01:43 cost [2022-10-08T01:52:59.187Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 8 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:52:59.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:00.342Z] ---> package-listing.sh [2022-10-08T01:53:00.342Z] ++ facter osfamily [2022-10-08T01:53:00.342Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-08T01:53:00.600Z] + OS_FAMILY=debian [2022-10-08T01:53:00.600Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-08T01:53:00.600Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-08T01:53:00.600Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-08T01:53:00.600Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-08T01:53:00.600Z] + PACKAGES=/tmp/packages_start.txt [2022-10-08T01:53:00.600Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-08T01:53:00.600Z] + PACKAGES=/tmp/packages_end.txt [2022-10-08T01:53:00.600Z] + case "${OS_FAMILY}" in [2022-10-08T01:53:00.600Z] + dpkg -l [2022-10-08T01:53:00.600Z] + grep '^ii' [2022-10-08T01:53:00.600Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-08T01:53:00.600Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-08T01:53:00.600Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-08T01:53:00.600Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-08T01:53:00.600Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-08T01:53:00.600Z] + 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-08T01:53:00.611Z] 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-08T01:53:00.890Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-08T01:53:01.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-08T01:53:01.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-08T01:53:01.511Z] prd-ubuntu20.04-docker-8c-8g-7378 does not seem to be running inside a container [2022-10-08T01:53:01.541Z] $ 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-08T01:53:01.753Z] $ docker top 5eb7773b3e569d6624222bbd39426382d476ce1e1903c5607e5ae6261e488c7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-08T01:53:02.091Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-08T01:53:02.376Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-08T01:53:02.658Z] + ls /var/log/sa-host [2022-10-08T01:53:02.658Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-08T01:53:02.796Z] provisioning config files... [2022-10-08T01:53:02.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1917190061813283911tmp [Pipeline] { [Pipeline] echo [2022-10-08T01:53:02.814Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:03.095Z] ---> create-netrc.sh [Pipeline] } [2022-10-08T01:53:03.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:03.430Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-08T01:53:03.440Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:03.723Z] ---> sudo-logs.sh [2022-10-08T01:53:03.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-08T01:53:03.752Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:04.034Z] ---> job-cost.sh [2022-10-08T01:53:04.034Z] lf-activate-venv: SKIPPING [2022-10-08T01:53:04.034Z] DEBUG: total: 0.2199999988079071 [2022-10-08T01:53:04.034Z] INFO: Retrieving Stack Cost... [2022-10-08T01:53:04.292Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-08T01:53:04.863Z] INFO: Archiving Costs [Pipeline] echo [2022-10-08T01:53:04.873Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-08T01:53:05.152Z] ---> logs-deploy.sh [2022-10-08T01:53:05.152Z] lf-activate-venv: SKIPPING [2022-10-08T01:53:05.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/16 [2022-10-08T01:53:05.152Z] INFO: archiving workspace using pattern(s): [2022-10-08T01:53:06.087Z] Archives upload complete. [2022-10-08T01:53:06.345Z] INFO: archiving logs to Nexus [2022-10-08T01:53:06.911Z] ---> uname -a: [2022-10-08T01:53:06.911Z] Linux prd-ubuntu20-04-docker-8c-8g-7378 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] ---> lscpu: [2022-10-08T01:53:06.911Z] Architecture: x86_64 [2022-10-08T01:53:06.911Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-08T01:53:06.911Z] Byte Order: Little Endian [2022-10-08T01:53:06.911Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-08T01:53:06.911Z] CPU(s): 8 [2022-10-08T01:53:06.911Z] On-line CPU(s) list: 0-7 [2022-10-08T01:53:06.911Z] Thread(s) per core: 1 [2022-10-08T01:53:06.911Z] Core(s) per socket: 1 [2022-10-08T01:53:06.911Z] Socket(s): 8 [2022-10-08T01:53:06.911Z] NUMA node(s): 1 [2022-10-08T01:53:06.911Z] Vendor ID: AuthenticAMD [2022-10-08T01:53:06.911Z] CPU family: 23 [2022-10-08T01:53:06.911Z] Model: 49 [2022-10-08T01:53:06.911Z] Model name: AMD EPYC-Rome Processor [2022-10-08T01:53:06.911Z] Stepping: 0 [2022-10-08T01:53:06.911Z] CPU MHz: 2799.998 [2022-10-08T01:53:06.911Z] BogoMIPS: 5599.99 [2022-10-08T01:53:06.911Z] Virtualization: AMD-V [2022-10-08T01:53:06.911Z] Hypervisor vendor: KVM [2022-10-08T01:53:06.911Z] Virtualization type: full [2022-10-08T01:53:06.911Z] L1d cache: 256 KiB [2022-10-08T01:53:06.911Z] L1i cache: 256 KiB [2022-10-08T01:53:06.911Z] L2 cache: 4 MiB [2022-10-08T01:53:06.911Z] L3 cache: 128 MiB [2022-10-08T01:53:06.911Z] NUMA node0 CPU(s): 0-7 [2022-10-08T01:53:06.911Z] Vulnerability Itlb multihit: Not affected [2022-10-08T01:53:06.911Z] Vulnerability L1tf: Not affected [2022-10-08T01:53:06.911Z] Vulnerability Mds: Not affected [2022-10-08T01:53:06.911Z] Vulnerability Meltdown: Not affected [2022-10-08T01:53:06.911Z] Vulnerability Mmio stale data: Not affected [2022-10-08T01:53:06.911Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-08T01:53:06.911Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-08T01:53:06.911Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-08T01:53:06.911Z] Vulnerability Srbds: Not affected [2022-10-08T01:53:06.911Z] Vulnerability Tsx async abort: Not affected [2022-10-08T01:53:06.911Z] 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-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] ---> nproc: [2022-10-08T01:53:06.911Z] 8 [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z] ---> df -h: [2022-10-08T01:53:06.911Z] Filesystem Size Used Avail Use% Mounted on [2022-10-08T01:53:06.911Z] overlay 155G 12G 144G 8% / [2022-10-08T01:53:06.911Z] tmpfs 64M 0 64M 0% /dev [2022-10-08T01:53:06.911Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-08T01:53:06.911Z] shm 64M 0 64M 0% /dev/shm [2022-10-08T01:53:06.911Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-08T01:53:06.911Z] [2022-10-08T01:53:06.911Z]