Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7dcacfabcedd8c9812e04fc6911462b912c63165 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 7dcacfabcedd8c9812e04fc6911462b912c63165 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-ssh5663975549377465570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12782322495206801990.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7674331490089261111.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh6803960063310966744.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4804112131062994046.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22894 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7dcacfabcedd8c9812e04fc6911462b912c63165 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 057928242739133b92d5fd0cbbcfb835ece40f0b Checking out Revision 057928242739133b92d5fd0cbbcfb835ece40f0b (PR-125) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7dcacfabcedd8c9812e04fc6911462b912c63165 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 057928242739133b92d5fd0cbbcfb835ece40f0b # timeout=10 Commit message: "Merge commit '7dcacfabcedd8c9812e04fc6911462b912c63165' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-16T10:10:21.916Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-16T10:10:21.972Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-16T10:10:21.984Z] ========================================================= [2022-08-16T10:10:21.984Z] EdgeX Global Pipelines Version Info [2022-08-16T10:10:21.984Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f5ce006dba290c1c0a9e0453c157f05e94e2d178 # timeout=10 [2022-08-16T10:10:22.716Z] ------------------- [2022-08-16T10:10:22.716Z] stable info: [2022-08-16T10:10:22.716Z] ------------------- [2022-08-16T10:10:22.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-16T10:10:22.716Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-16T10:10:22.716Z] Message: update stable to v1.0.238 [2022-08-16T10:10:23.287Z] ------------------- [2022-08-16T10:10:23.287Z] experimental info: [2022-08-16T10:10:23.287Z] ------------------- [2022-08-16T10:10:23.287Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-16T10:10:23.287Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-16T10:10:23.287Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-16T10:10:23.483Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-16T10:10:23.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-16T10:10:23.500Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-16T10:10:23.511Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-16T10:10:23.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-16T10:10:23.533Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-16T10:10:23.544Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-16T10:10:23.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-16T10:10:23.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-16T10:10:23.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-16T10:10:23.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-16T10:10:23.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-16T10:10:23.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-16T10:10:23.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-16T10:10:23.638Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-16T10:10:23.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-16T10:10:23.661Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-16T10:10:23.672Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-16T10:10:23.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-16T10:10:23.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-16T10:10:23.710Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-16T10:10:23.721Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-16T10:10:23.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-16T10:10:23.746Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-16T10:10:23.762Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-16T10:10:23.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-16T10:10:23.798Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-16T10:10:23.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-16T10:10:23.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-16T10:10:23.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-16T10:10:23.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 057928242739133b92d5fd0cbbcfb835ece40f0b [Pipeline] echo [2022-08-16T10:10:23.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0579282 [Pipeline] echo [2022-08-16T10:10:23.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T10:10:23.927Z] provisioning config files... [2022-08-16T10:10:23.940Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3314000898663425399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:10:24.246Z] ---> docker-login.sh [2022-08-16T10:10:24.246Z] nexus3.edgexfoundry.org:10001 [2022-08-16T10:10:24.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:25.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:25.079Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:25.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:25.079Z] [2022-08-16T10:10:25.079Z] Login Succeeded [2022-08-16T10:10:25.079Z] nexus3.edgexfoundry.org:10002 [2022-08-16T10:10:25.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:25.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:25.079Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:25.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:25.079Z] [2022-08-16T10:10:25.079Z] Login Succeeded [2022-08-16T10:10:25.079Z] nexus3.edgexfoundry.org:10003 [2022-08-16T10:10:25.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:25.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:25.341Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:25.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:25.341Z] [2022-08-16T10:10:25.341Z] Login Succeeded [2022-08-16T10:10:25.341Z] nexus3.edgexfoundry.org:10004 [2022-08-16T10:10:25.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:25.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:25.341Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:25.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:25.341Z] [2022-08-16T10:10:25.341Z] Login Succeeded [2022-08-16T10:10:25.341Z] docker.io [2022-08-16T10:10:25.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:25.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:25.866Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:25.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:25.866Z] [2022-08-16T10:10:25.866Z] Login Succeeded [2022-08-16T10:10:25.866Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T10:10:25.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-16T10:10:26.247Z] + git rev-list -1 --merges 057928242739133b92d5fd0cbbcfb835ece40f0b~1..057928242739133b92d5fd0cbbcfb835ece40f0b [Pipeline] echo [2022-08-16T10:10:26.277Z] -----------> git rev-list -1 --merges 057928242739133b92d5fd0cbbcfb835ece40f0b~1..057928242739133b92d5fd0cbbcfb835ece40f0b 057928242739133b92d5fd0cbbcfb835ece40f0b [2022-08-16T10:10:26.277Z] 057928242739133b92d5fd0cbbcfb835ece40f0b [false] [Pipeline] sh [2022-08-16T10:10:26.571Z] + git log --format=format:%s -1 057928242739133b92d5fd0cbbcfb835ece40f0b [Pipeline] echo [2022-08-16T10:10:26.591Z] ========================================================= [2022-08-16T10:10:26.591Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-16T10:10:26.591Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T10:10:26.927Z] + git log --format=format:%s -1 057928242739133b92d5fd0cbbcfb835ece40f0b [Pipeline] echo [2022-08-16T10:10:26.939Z] [semverPrep] GIT_COMMIT: 057928242739133b92d5fd0cbbcfb835ece40f0b, Commit Message: Merge commit '7dcacfabcedd8c9812e04fc6911462b912c63165' into HEAD [Pipeline] echo [2022-08-16T10:10:26.950Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-16T10:10:27.323Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-16T10:10:27.323Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-16T10:10:27.323Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-16T10:10:27.323Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-16T10:10:27.323Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-16T10:10:27.323Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-16T10:10:27.323Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:10:27.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T10:10:27.671Z] [2022-08-16T10:10:27.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:10:27.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T10:10:27.967Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-16T10:10:27.967Z] b85a868b505f: Pulling fs layer [2022-08-16T10:10:27.967Z] e2be974225ed: Pulling fs layer [2022-08-16T10:10:27.967Z] 339a4e72a1f5: Pulling fs layer [2022-08-16T10:10:27.967Z] 988bab9f4d93: Pulling fs layer [2022-08-16T10:10:27.967Z] 1469e6f7b9e6: Pulling fs layer [2022-08-16T10:10:27.967Z] eaf3925da568: Pulling fs layer [2022-08-16T10:10:27.967Z] bab4dde63d76: Pulling fs layer [2022-08-16T10:10:27.967Z] bde34c3a00c8: Pulling fs layer [2022-08-16T10:10:27.967Z] b352a97aabf1: Pulling fs layer [2022-08-16T10:10:27.967Z] 4872d77fe225: Pulling fs layer [2022-08-16T10:10:27.967Z] 5851b861e8e6: Pulling fs layer [2022-08-16T10:10:27.967Z] 988bab9f4d93: Waiting [2022-08-16T10:10:27.967Z] 4872d77fe225: Waiting [2022-08-16T10:10:27.967Z] 1469e6f7b9e6: Waiting [2022-08-16T10:10:27.967Z] 5851b861e8e6: Waiting [2022-08-16T10:10:27.967Z] bde34c3a00c8: Waiting [2022-08-16T10:10:27.967Z] b352a97aabf1: Waiting [2022-08-16T10:10:27.967Z] eaf3925da568: Waiting [2022-08-16T10:10:27.967Z] e2be974225ed: Verifying Checksum [2022-08-16T10:10:27.967Z] e2be974225ed: Download complete [2022-08-16T10:10:27.967Z] 988bab9f4d93: Verifying Checksum [2022-08-16T10:10:27.967Z] 988bab9f4d93: Download complete [2022-08-16T10:10:28.229Z] 339a4e72a1f5: Verifying Checksum [2022-08-16T10:10:28.229Z] 339a4e72a1f5: Download complete [2022-08-16T10:10:28.229Z] 1469e6f7b9e6: Verifying Checksum [2022-08-16T10:10:28.229Z] 1469e6f7b9e6: Download complete [2022-08-16T10:10:28.229Z] eaf3925da568: Download complete [2022-08-16T10:10:28.229Z] bde34c3a00c8: Verifying Checksum [2022-08-16T10:10:28.229Z] bde34c3a00c8: Download complete [2022-08-16T10:10:28.229Z] b352a97aabf1: Download complete [2022-08-16T10:10:28.229Z] 4872d77fe225: Verifying Checksum [2022-08-16T10:10:28.229Z] 4872d77fe225: Download complete [2022-08-16T10:10:28.229Z] 5851b861e8e6: Download complete [2022-08-16T10:10:28.229Z] b85a868b505f: Download complete [2022-08-16T10:10:28.489Z] bab4dde63d76: Verifying Checksum [2022-08-16T10:10:28.489Z] bab4dde63d76: Download complete [2022-08-16T10:10:29.868Z] b85a868b505f: Pull complete [2022-08-16T10:10:29.869Z] e2be974225ed: Pull complete [2022-08-16T10:10:30.129Z] 339a4e72a1f5: Pull complete [2022-08-16T10:10:30.392Z] 988bab9f4d93: Pull complete [2022-08-16T10:10:30.652Z] 1469e6f7b9e6: Pull complete [2022-08-16T10:10:30.652Z] eaf3925da568: Pull complete [2022-08-16T10:10:32.564Z] bab4dde63d76: Pull complete [2022-08-16T10:10:32.564Z] bde34c3a00c8: Pull complete [2022-08-16T10:10:32.825Z] b352a97aabf1: Pull complete [2022-08-16T10:10:32.825Z] 4872d77fe225: Pull complete [2022-08-16T10:10:32.825Z] 5851b861e8e6: Pull complete [2022-08-16T10:10:32.825Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-16T10:10:33.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-16T10:10:33.086Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:10:33.180Z] prd-ubuntu20.04-docker-8c-8g-22894 does not seem to be running inside a container [2022-08-16T10:10:33.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-16T10:10:35.927Z] $ docker top 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 -eo pid,comm [2022-08-16T10:10:35.989Z] 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-08-16T10:10:35.989Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-16T10:10:36.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-16T10:10:36.031Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-16T10:10:36.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-16T10:10:36.157Z] $ docker exec 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 ssh-agent [2022-08-16T10:10:36.265Z] SSH_AUTH_SOCK=/tmp/ssh-jDDI7WYtGSkQ/agent.33 [2022-08-16T10:10:36.265Z] SSH_AGENT_PID=39 [2022-08-16T10:10:36.271Z] Running ssh-add (command line suppressed) [2022-08-16T10:10:36.378Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4773036610399509221.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4773036610399509221.key) [2022-08-16T10:10:36.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-16T10:10:36.679Z] + git tag --points-at HEAD [Pipeline] } [2022-08-16T10:10:36.700Z] $ docker exec --env ******** --env ******** 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 ssh-agent -k [2022-08-16T10:10:36.810Z] unset SSH_AUTH_SOCK; [2022-08-16T10:10:36.810Z] unset SSH_AGENT_PID; [2022-08-16T10:10:36.810Z] echo Agent pid 39 killed; [2022-08-16T10:10:36.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-16T10:10:36.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-16T10:10:36.847Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-16T10:10:36.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-16T10:10:36.969Z] $ docker exec 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 ssh-agent [2022-08-16T10:10:37.082Z] SSH_AUTH_SOCK=/tmp/ssh-cyuR9WpJwunu/agent.72 [2022-08-16T10:10:37.082Z] SSH_AGENT_PID=78 [2022-08-16T10:10:37.087Z] Running ssh-add (command line suppressed) [2022-08-16T10:10:37.201Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_251132039071946159.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_251132039071946159.key) [2022-08-16T10:10:37.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-16T10:10:37.504Z] + git semver init [2022-08-16T10:10:37.762Z] 2022-08-16 10:10:37,701 [run_init] DEBUG init version:0.0.0 force:False [2022-08-16T10:10:37.762Z] 2022-08-16 10:10:37,702 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-16T10:10:37.762Z] 2022-08-16 10:10:37,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-16T10:10:37.762Z] 2022-08-16 10:10:37,703 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,574 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,575 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,575 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,579 [execute] INFO git cat-file --batch-check [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,586 [execute] INFO git cat-file --batch [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-16T10:10:38.709Z] 2022-08-16 10:10:38,590 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-16T10:10:38.709Z] 0.0.0 [Pipeline] } [2022-08-16T10:10:38.722Z] $ docker exec --env ******** --env ******** 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 ssh-agent -k [2022-08-16T10:10:38.837Z] unset SSH_AUTH_SOCK; [2022-08-16T10:10:38.837Z] unset SSH_AGENT_PID; [2022-08-16T10:10:38.838Z] echo Agent pid 78 killed; [2022-08-16T10:10:38.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-16T10:10:39.153Z] + git semver [Pipeline] } [2022-08-16T10:10:39.435Z] $ docker stop --time=1 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 [2022-08-16T10:10:40.774Z] $ docker rm -f 0a411143b97d634eedc36127ec68c9d905bcdc3ffd1c559d46ff76f190686dc6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T10:10:41.120Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-16T10:10:41.359Z] Stashed 1 file(s) [Pipeline] echo [2022-08-16T10:10:41.362Z] [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-08-16T10:10:41.458Z] provisioning config files... [2022-08-16T10:10:41.468Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7988216795865125463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:10:41.763Z] ---> docker-login.sh [2022-08-16T10:10:41.763Z] nexus3.edgexfoundry.org:10001 [2022-08-16T10:10:41.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:41.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:41.763Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:41.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:41.763Z] [2022-08-16T10:10:41.763Z] Login Succeeded [2022-08-16T10:10:41.763Z] nexus3.edgexfoundry.org:10002 [2022-08-16T10:10:41.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:42.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:42.025Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:42.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:42.025Z] [2022-08-16T10:10:42.025Z] Login Succeeded [2022-08-16T10:10:42.025Z] nexus3.edgexfoundry.org:10003 [2022-08-16T10:10:42.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:42.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:42.025Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:42.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:42.025Z] [2022-08-16T10:10:42.025Z] Login Succeeded [2022-08-16T10:10:42.025Z] nexus3.edgexfoundry.org:10004 [2022-08-16T10:10:42.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:42.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:42.286Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:42.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:42.286Z] [2022-08-16T10:10:42.286Z] Login Succeeded [2022-08-16T10:10:42.286Z] docker.io [2022-08-16T10:10:42.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:10:42.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:10:42.545Z] Configure a credential helper to remove this warning. See [2022-08-16T10:10:42.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:10:42.545Z] [2022-08-16T10:10:42.545Z] Login Succeeded [2022-08-16T10:10:42.545Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T10:10:42.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-16T10:10:42.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T10:10:42.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T10:10:42.623Z] ========================================================= [2022-08-16T10:10:42.623Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-16T10:10:42.623Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:10:42.941Z] + 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-08-16T10:10:42.941Z] Sending build context to Docker daemon 20.55MB [2022-08-16T10:10:42.941Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T10:10:42.941Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-16T10:10:43.201Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-16T10:10:43.201Z] 2408cc74d12b: Pulling fs layer [2022-08-16T10:10:43.201Z] ea60b727a1ce: Pulling fs layer [2022-08-16T10:10:43.201Z] 30c4a7721957: Pulling fs layer [2022-08-16T10:10:43.201Z] 370296b7ddb6: Pulling fs layer [2022-08-16T10:10:43.201Z] 7c6cee850709: Pulling fs layer [2022-08-16T10:10:43.201Z] 39a5fcdaea64: Pulling fs layer [2022-08-16T10:10:43.201Z] d94ebbe4e438: Pulling fs layer [2022-08-16T10:10:43.201Z] 370296b7ddb6: Waiting [2022-08-16T10:10:43.201Z] 39a5fcdaea64: Waiting [2022-08-16T10:10:43.201Z] d94ebbe4e438: Waiting [2022-08-16T10:10:43.201Z] bcfd1f05c69d: Pulling fs layer [2022-08-16T10:10:43.201Z] 7c6cee850709: Waiting [2022-08-16T10:10:43.201Z] 59ccb84bbe0f: Pulling fs layer [2022-08-16T10:10:43.201Z] 59ccb84bbe0f: Waiting [2022-08-16T10:10:43.201Z] 30c4a7721957: Verifying Checksum [2022-08-16T10:10:43.201Z] 30c4a7721957: Download complete [2022-08-16T10:10:43.201Z] ea60b727a1ce: Verifying Checksum [2022-08-16T10:10:43.201Z] ea60b727a1ce: Download complete [2022-08-16T10:10:43.201Z] 7c6cee850709: Verifying Checksum [2022-08-16T10:10:43.201Z] 7c6cee850709: Download complete [2022-08-16T10:10:43.201Z] 39a5fcdaea64: Download complete [2022-08-16T10:10:43.201Z] 2408cc74d12b: Verifying Checksum [2022-08-16T10:10:43.201Z] 2408cc74d12b: Download complete [2022-08-16T10:10:43.201Z] d94ebbe4e438: Verifying Checksum [2022-08-16T10:10:43.201Z] d94ebbe4e438: Download complete [2022-08-16T10:10:43.461Z] 2408cc74d12b: Pull complete [2022-08-16T10:10:43.461Z] ea60b727a1ce: Pull complete [2022-08-16T10:10:43.724Z] 30c4a7721957: Pull complete [2022-08-16T10:10:43.724Z] 59ccb84bbe0f: Verifying Checksum [2022-08-16T10:10:43.724Z] 59ccb84bbe0f: Download complete [2022-08-16T10:10:43.985Z] 370296b7ddb6: Verifying Checksum [2022-08-16T10:10:43.985Z] 370296b7ddb6: Download complete [2022-08-16T10:10:43.985Z] bcfd1f05c69d: Verifying Checksum [2022-08-16T10:10:43.985Z] bcfd1f05c69d: Download complete [2022-08-16T10:10:48.180Z] 370296b7ddb6: Pull complete [2022-08-16T10:10:48.180Z] 7c6cee850709: Pull complete [2022-08-16T10:10:48.180Z] 39a5fcdaea64: Pull complete [2022-08-16T10:10:48.180Z] d94ebbe4e438: Pull complete [2022-08-16T10:10:50.737Z] bcfd1f05c69d: Pull complete [2022-08-16T10:10:50.998Z] 59ccb84bbe0f: Pull complete [2022-08-16T10:10:50.998Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-16T10:10:50.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-16T10:10:50.998Z] ---> a4fb48ad2a94 [2022-08-16T10:10:50.998Z] Step 3/13 : ARG MAKE="make build" [2022-08-16T10:10:55.214Z] ---> Running in b4bfd8bf3ccf [2022-08-16T10:10:55.214Z] Removing intermediate container b4bfd8bf3ccf [2022-08-16T10:10:55.214Z] ---> a79086552ea8 [2022-08-16T10:10:55.214Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T10:10:55.214Z] ---> Running in 381260e1e9f3 [2022-08-16T10:10:55.214Z] Removing intermediate container 381260e1e9f3 [2022-08-16T10:10:55.214Z] ---> 768bcba2e5e1 [2022-08-16T10:10:55.214Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T10:10:55.214Z] ---> Running in 94c310875dca [2022-08-16T10:10:55.214Z] Removing intermediate container 94c310875dca [2022-08-16T10:10:55.214Z] ---> 647e0c294ed1 [2022-08-16T10:10:55.214Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-16T10:10:55.214Z] ---> Running in fad533023b5a [2022-08-16T10:10:55.214Z] Removing intermediate container fad533023b5a [2022-08-16T10:10:55.214Z] ---> 176e87efc24e [2022-08-16T10:10:55.214Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T10:10:55.214Z] ---> Running in cd2d0486b2d8 [2022-08-16T10:10:55.478Z] Removing intermediate container cd2d0486b2d8 [2022-08-16T10:10:55.478Z] ---> 953a54a1f4ba [2022-08-16T10:10:55.478Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T10:10:55.738Z] ---> Running in 1f3219947ec3 [2022-08-16T10:10:56.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T10:10:56.431Z] Still waiting to schedule task [2022-08-16T10:10:56.432Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-16T10:10:56.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T10:10:57.210Z] OK: 211 MiB in 51 packages [2022-08-16T10:10:57.473Z] Removing intermediate container 1f3219947ec3 [2022-08-16T10:10:57.473Z] ---> 5417fd9ad21a [2022-08-16T10:10:57.473Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-16T10:10:57.473Z] ---> Running in 46bf7e888deb [2022-08-16T10:10:57.473Z] Removing intermediate container 46bf7e888deb [2022-08-16T10:10:57.473Z] ---> 9b308808855e [2022-08-16T10:10:57.473Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-16T10:10:57.733Z] ---> d967f71b7859 [2022-08-16T10:10:57.733Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T10:10:57.733Z] ---> Running in 84367548a24f [2022-08-16T10:11:24.362Z] Removing intermediate container 84367548a24f [2022-08-16T10:11:24.362Z] ---> aeddf0ffc008 [2022-08-16T10:11:24.362Z] Step 12/13 : COPY . . [2022-08-16T10:11:24.624Z] ---> cf8fcca9dfc3 [2022-08-16T10:11:24.624Z] Step 13/13 : RUN ${MAKE} [2022-08-16T10:11:24.624Z] ---> Running in 77e7132c59f0 [2022-08-16T10:11:24.884Z] noop [2022-08-16T10:11:25.146Z] Removing intermediate container 77e7132c59f0 [2022-08-16T10:11:25.146Z] ---> 5f66665fdc4c [2022-08-16T10:11:25.146Z] Successfully built 5f66665fdc4c [2022-08-16T10:11:25.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:11:25.460Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-16T10:11:25.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:11:25.544Z] prd-ubuntu20.04-docker-8c-8g-22894 does not seem to be running inside a container [2022-08-16T10:11:25.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-16T10:11:25.919Z] $ docker top a376fed1f4f296c049dca1f7d98116ecaa16464a69593abe9951e44596787e1a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T10:11:26.267Z] + go version [2022-08-16T10:11:26.268Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-16T10:11:26.283Z] $ docker stop --time=1 a376fed1f4f296c049dca1f7d98116ecaa16464a69593abe9951e44596787e1a [2022-08-16T10:11:27.578Z] $ docker rm -f a376fed1f4f296c049dca1f7d98116ecaa16464a69593abe9951e44596787e1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:11:27.999Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-16T10:11:27.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:11:28.102Z] prd-ubuntu20.04-docker-8c-8g-22894 does not seem to be running inside a container [2022-08-16T10:11:28.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-16T10:11:28.612Z] $ docker top 3d040976d98a67262520bcbe123ba82a938527417b3373733dc679e86b0dd50d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T10:11:28.969Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-16T10:11:29.268Z] + make test [2022-08-16T10:11:29.268Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-16T10:11:29.834Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-16T10:11:39.817Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-16T10:11:40.386Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.6% of statements [2022-08-16T10:11:40.386Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-16T10:11:43.676Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.838s coverage: 13.8% of statements [2022-08-16T10:11:50.246Z] 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-08-16T10:11:50.246Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-16T10:11:53.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-16T10:11:53.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-16T10:11:53.534Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-16T10:11:53.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-16T10:11:53.827Z] $ docker stop --time=1 3d040976d98a67262520bcbe123ba82a938527417b3373733dc679e86b0dd50d [2022-08-16T10:11:56.328Z] $ docker rm -f 3d040976d98a67262520bcbe123ba82a938527417b3373733dc679e86b0dd50d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T10:11:56.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-16T10:11:56.861Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-16T10:11:57.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-16T10:11:57.686Z] + ls -al . [2022-08-16T10:11:57.686Z] total 232 [2022-08-16T10:11:57.686Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 10:11 . [2022-08-16T10:11:57.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:10 .. [2022-08-16T10:11:57.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 10:11 .git [2022-08-16T10:11:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 10:10 .github [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 16 10:10 .gitignore [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 10:10 .golangci.yml [2022-08-16T10:11:57.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 10:10 .semver [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 16 10:10 Attribution.txt [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 16 10:10 CHANGELOG.md [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 16 10:10 Dockerfile [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 10:10 GOVERNANCE.md [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 16 10:10 Jenkinsfile [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 10:10 LICENSE [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 16 10:10 Makefile [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 16 10:10 OWNERS.md [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 16 10:10 README.md [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 10:10 VERSION [2022-08-16T10:11:57.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 10:10 bin [2022-08-16T10:11:57.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 10:10 cmd [2022-08-16T10:11:57.686Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 16 10:11 coverage.out [2022-08-16T10:11:57.686Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 10:10 doc [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 16 10:10 go.mod [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 16 10:10 go.sum [2022-08-16T10:11:57.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:10 internal [2022-08-16T10:11:57.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:10 snap [2022-08-16T10:11:57.686Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 16 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:11:57.998Z] + 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=057928242739133b92d5fd0cbbcfb835ece40f0b --label arch=amd64 --label version=0.0.0 . [2022-08-16T10:11:57.999Z] Sending build context to Docker daemon 20.63MB [2022-08-16T10:11:57.999Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T10:11:57.999Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-16T10:11:57.999Z] ---> 5f66665fdc4c [2022-08-16T10:11:57.999Z] Step 3/27 : ARG MAKE="make build" [2022-08-16T10:11:58.261Z] ---> Running in f03add6222ff [2022-08-16T10:11:58.521Z] Removing intermediate container f03add6222ff [2022-08-16T10:11:58.521Z] ---> 10f3f5dab92d [2022-08-16T10:11:58.521Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T10:11:58.521Z] ---> Running in ae41405a79a2 [2022-08-16T10:11:58.521Z] Removing intermediate container ae41405a79a2 [2022-08-16T10:11:58.521Z] ---> c84f24f105dc [2022-08-16T10:11:58.521Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T10:11:58.521Z] ---> Running in 9bccd00724b2 [2022-08-16T10:11:58.521Z] Removing intermediate container 9bccd00724b2 [2022-08-16T10:11:58.521Z] ---> 03224e271944 [2022-08-16T10:11:58.521Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-16T10:11:58.521Z] ---> Running in 8d5104893b9f [2022-08-16T10:11:58.780Z] Removing intermediate container 8d5104893b9f [2022-08-16T10:11:58.780Z] ---> 7a29fac31dbd [2022-08-16T10:11:58.780Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T10:11:58.780Z] ---> Running in 4b74ac0acaf6 [2022-08-16T10:11:59.349Z] Removing intermediate container 4b74ac0acaf6 [2022-08-16T10:11:59.349Z] ---> 39ec51c50b81 [2022-08-16T10:11:59.349Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T10:11:59.349Z] ---> Running in 1060061f9e6f [2022-08-16T10:11:59.609Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T10:12:00.557Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T10:12:00.817Z] OK: 211 MiB in 51 packages [2022-08-16T10:12:01.389Z] Removing intermediate container 1060061f9e6f [2022-08-16T10:12:01.389Z] ---> 062c3c492454 [2022-08-16T10:12:01.389Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-16T10:12:01.652Z] ---> Running in 6961bc5d208b [2022-08-16T10:12:01.652Z] Removing intermediate container 6961bc5d208b [2022-08-16T10:12:01.652Z] ---> 3a697cd0a759 [2022-08-16T10:12:01.652Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-16T10:12:01.913Z] ---> ff7c2228e63b [2022-08-16T10:12:01.913Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T10:12:02.172Z] ---> Running in c6b8739066bd [2022-08-16T10:12:03.111Z] Removing intermediate container c6b8739066bd [2022-08-16T10:12:03.111Z] ---> 085012044e82 [2022-08-16T10:12:03.111Z] Step 12/27 : COPY . . [2022-08-16T10:12:04.493Z] ---> c53d16ea6bf6 [2022-08-16T10:12:04.493Z] Step 13/27 : RUN ${MAKE} [2022-08-16T10:12:04.493Z] ---> Running in 5c113581802a [2022-08-16T10:12:04.752Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-16T10:12:26.716Z] Removing intermediate container 5c113581802a [2022-08-16T10:12:26.716Z] ---> 9d291a512cfb [2022-08-16T10:12:26.716Z] Step 14/27 : FROM alpine:3.16 [2022-08-16T10:12:26.716Z] 3.16: Pulling from library/alpine [2022-08-16T10:12:26.716Z] 213ec9aee27d: Pulling fs layer [2022-08-16T10:12:26.716Z] 213ec9aee27d: Verifying Checksum [2022-08-16T10:12:26.716Z] 213ec9aee27d: Download complete [2022-08-16T10:12:26.716Z] 213ec9aee27d: Pull complete [2022-08-16T10:12:26.716Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-16T10:12:26.716Z] Status: Downloaded newer image for alpine:3.16 [2022-08-16T10:12:26.716Z] ---> 9c6f07244728 [2022-08-16T10:12:26.716Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-16T10:12:26.716Z] ---> Running in 5b08f8b1855e [2022-08-16T10:12:26.716Z] Removing intermediate container 5b08f8b1855e [2022-08-16T10:12:26.716Z] ---> 3562b4f9025f [2022-08-16T10:12:26.716Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-16T10:12:26.716Z] ---> Running in 9d8656bfc69c [2022-08-16T10:12:26.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-16T10:12:26.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-16T10:12:26.716Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-16T10:12:26.716Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-16T10:12:26.716Z] (3/21) Installing readline (8.1.2-r0) [2022-08-16T10:12:26.716Z] (4/21) Installing bash (5.1.16-r2) [2022-08-16T10:12:26.716Z] Executing bash-5.1.16-r2.post-install [2022-08-16T10:12:26.716Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-16T10:12:26.716Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-16T10:12:26.716Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-16T10:12:26.716Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-16T10:12:26.716Z] (9/21) Installing curl (7.83.1-r2) [2022-08-16T10:12:26.716Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-16T10:12:26.716Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-16T10:12:26.716Z] (12/21) Installing jq (1.6-r1) [2022-08-16T10:12:26.716Z] (13/21) Installing popt (1.18-r0) [2022-08-16T10:12:26.716Z] (14/21) Installing pcre (8.45-r2) [2022-08-16T10:12:26.716Z] (15/21) Installing slang (2.3.2-r0) [2022-08-16T10:12:26.975Z] (16/21) Installing newt (0.52.21-r2) [2022-08-16T10:12:26.975Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-16T10:12:26.975Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-16T10:12:26.975Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-16T10:12:26.975Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-16T10:12:26.975Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-16T10:12:26.975Z] Executing busybox-1.35.0-r17.trigger [2022-08-16T10:12:26.975Z] Executing ca-certificates-20220614-r0.trigger [2022-08-16T10:12:26.975Z] OK: 17 MiB in 35 packages [2022-08-16T10:12:27.912Z] Removing intermediate container 9d8656bfc69c [2022-08-16T10:12:27.912Z] ---> 18101e377179 [2022-08-16T10:12:27.912Z] Step 17/27 : WORKDIR / [2022-08-16T10:12:27.912Z] ---> Running in 5939c6bf7c91 [2022-08-16T10:12:27.912Z] Removing intermediate container 5939c6bf7c91 [2022-08-16T10:12:27.912Z] ---> 3ab8b2aaea42 [2022-08-16T10:12:27.912Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-16T10:12:28.851Z] ---> 60d8f3be4977 [2022-08-16T10:12:28.851Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-16T10:12:28.851Z] ---> f35d6a6eb141 [2022-08-16T10:12:28.851Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-16T10:12:28.851Z] ---> 36b2020c2a12 [2022-08-16T10:12:28.851Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-16T10:12:29.110Z] ---> 5d657371f243 [2022-08-16T10:12:29.111Z] Step 22/27 : EXPOSE 59984 [2022-08-16T10:12:29.111Z] ---> Running in 886a0a19e5a8 [2022-08-16T10:12:29.111Z] Removing intermediate container 886a0a19e5a8 [2022-08-16T10:12:29.111Z] ---> 9a6ca4515918 [2022-08-16T10:12:29.111Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-16T10:12:29.111Z] ---> Running in 0b28ee8b53ae [2022-08-16T10:12:29.369Z] Removing intermediate container 0b28ee8b53ae [2022-08-16T10:12:29.369Z] ---> 17cc3cb0976a [2022-08-16T10:12:29.369Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-16T10:12:29.369Z] ---> Running in 2c6f498f2995 [2022-08-16T10:12:29.369Z] Removing intermediate container 2c6f498f2995 [2022-08-16T10:12:29.369Z] ---> 2091de0e29f1 [2022-08-16T10:12:29.369Z] Step 25/27 : LABEL arch=amd64 [2022-08-16T10:12:29.369Z] ---> Running in 92ab6ffc39e4 [2022-08-16T10:12:29.369Z] Removing intermediate container 92ab6ffc39e4 [2022-08-16T10:12:29.369Z] ---> d9decfef6412 [2022-08-16T10:12:29.369Z] Step 26/27 : LABEL git_sha=057928242739133b92d5fd0cbbcfb835ece40f0b [2022-08-16T10:12:29.369Z] ---> Running in 4b16420a2a34 [2022-08-16T10:12:29.629Z] Removing intermediate container 4b16420a2a34 [2022-08-16T10:12:29.629Z] ---> b8bb96d69fc0 [2022-08-16T10:12:29.629Z] Step 27/27 : LABEL version=0.0.0 [2022-08-16T10:12:29.629Z] ---> Running in 3bd783b97294 [2022-08-16T10:12:29.629Z] Removing intermediate container 3bd783b97294 [2022-08-16T10:12:29.629Z] ---> a0d1ba36e9ed [2022-08-16T10:12:29.629Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-16T10:12:29.629Z] Successfully built a0d1ba36e9ed [2022-08-16T10:12:29.629Z] 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-08-16T10:12:30.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T10:12:30.066Z] [2022-08-16T10:12:30.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:12:30.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T10:12:30.370Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-16T10:12:30.370Z] 5eb5b503b376: Pulling fs layer [2022-08-16T10:12:30.370Z] 5c69ac0246d0: Pulling fs layer [2022-08-16T10:12:30.370Z] ec43610c2a17: Pulling fs layer [2022-08-16T10:12:30.370Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-16T10:12:30.370Z] 33b1e0a273af: Pulling fs layer [2022-08-16T10:12:30.370Z] 5d3b04190fa2: Pulling fs layer [2022-08-16T10:12:30.370Z] 2f39f015ded8: Pulling fs layer [2022-08-16T10:12:30.370Z] 3a2ae6a8a46f: Waiting [2022-08-16T10:12:30.370Z] 33b1e0a273af: Waiting [2022-08-16T10:12:30.370Z] 5d3b04190fa2: Waiting [2022-08-16T10:12:30.370Z] 2f39f015ded8: Waiting [2022-08-16T10:12:30.370Z] 5c69ac0246d0: Verifying Checksum [2022-08-16T10:12:30.370Z] 5c69ac0246d0: Download complete [2022-08-16T10:12:30.370Z] 3a2ae6a8a46f: Download complete [2022-08-16T10:12:30.370Z] ec43610c2a17: Verifying Checksum [2022-08-16T10:12:30.370Z] ec43610c2a17: Download complete [2022-08-16T10:12:30.370Z] 33b1e0a273af: Verifying Checksum [2022-08-16T10:12:30.370Z] 33b1e0a273af: Download complete [2022-08-16T10:12:30.370Z] 5d3b04190fa2: Verifying Checksum [2022-08-16T10:12:30.370Z] 5d3b04190fa2: Download complete [2022-08-16T10:12:30.628Z] 5eb5b503b376: Download complete [2022-08-16T10:12:31.200Z] 2f39f015ded8: Download complete [2022-08-16T10:12:32.135Z] 5eb5b503b376: Pull complete [2022-08-16T10:12:32.135Z] 5c69ac0246d0: Pull complete [2022-08-16T10:12:32.704Z] ec43610c2a17: Pull complete [2022-08-16T10:12:32.704Z] 3a2ae6a8a46f: Pull complete [2022-08-16T10:12:32.964Z] 33b1e0a273af: Pull complete [2022-08-16T10:12:33.223Z] 5d3b04190fa2: Pull complete [2022-08-16T10:12:35.669Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22895 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-16T10:12:35.680Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-08-16T10:12:35.719Z] Selected Git installation does not exist. Using Default [2022-08-16T10:12:35.719Z] The recommended git tool is: NONE [2022-08-16T10:12:37.409Z] 2f39f015ded8: Pull complete [2022-08-16T10:12:37.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-16T10:12:37.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T10:12:37.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:12:37.502Z] prd-ubuntu20.04-docker-8c-8g-22894 does not seem to be running inside a container [2022-08-16T10:12:37.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-16T10:12:40.713Z] $ docker top f76adf6929e6f4dbc853dcd7b5e8de73d921f9363fdf9639d99e1ea1a9b923bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:12:41.115Z] ---> job-cost.sh [2022-08-16T10:12:41.115Z] lf-activate-venv: SKIPPING [2022-08-16T10:12:41.115Z] INFO: No Stack... [2022-08-16T10:12:41.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-16T10:12:41.945Z] INFO: Archiving Costs [Pipeline] sh [2022-08-16T10:12:42.238Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-16T10:12:42.238Z] + cut -d, -f6 [Pipeline] lock [2022-08-16T10:12:42.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [2022-08-16T10:12:42.259Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] did not exist. Created. [2022-08-16T10:12:42.259Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-16T10:12:42.563Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-16T10:12:42.620Z] Stashed 1 file(s) [Pipeline] } [2022-08-16T10:12:42.627Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-16T10:12:42.652Z] $ docker stop --time=1 f76adf6929e6f4dbc853dcd7b5e8de73d921f9363fdf9639d99e1ea1a9b923bd [2022-08-16T10:12:43.620Z] using credential edgex-jenkins-ssh [2022-08-16T10:12:43.650Z] Cloning the remote Git repository [2022-08-16T10:12:43.809Z] $ docker rm -f f76adf6929e6f4dbc853dcd7b5e8de73d921f9363fdf9639d99e1ea1a9b923bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-16T10:12:43.730Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T10:12:43.804Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-08-16T10:12:43.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T10:12:43.932Z] > git --version # timeout=10 [2022-08-16T10:12:44.001Z] > git --version # 'git version 2.25.1' [2022-08-16T10:12:44.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T10:12:44.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-16T10:12:45.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-16T10:12:46.035Z] Merging remotes/origin/main commit 7dcacfabcedd8c9812e04fc6911462b912c63165 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-16T10:12:45.314Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-16T10:12:45.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-16T10:12:45.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-16T10:12:45.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T10:12:45.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-16T10:12:46.060Z] > git config core.sparsecheckout # timeout=10 [2022-08-16T10:12:46.084Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-16T10:12:46.310Z] > git remote # timeout=10 [2022-08-16T10:12:46.333Z] > git config --get remote.origin.url # timeout=10 [2022-08-16T10:12:46.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-16T10:12:46.371Z] > git merge 7dcacfabcedd8c9812e04fc6911462b912c63165 # timeout=10 [2022-08-16T10:12:46.783Z] Merge succeeded, producing 0b086b11444ac4aaa19ffe84290587416c982765 [2022-08-16T10:12:46.784Z] Checking out Revision 0b086b11444ac4aaa19ffe84290587416c982765 (PR-125) [2022-08-16T10:12:46.770Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-16T10:12:46.793Z] > git config core.sparsecheckout # timeout=10 [2022-08-16T10:12:46.809Z] > git checkout -f 0b086b11444ac4aaa19ffe84290587416c982765 # timeout=10 [2022-08-16T10:12:51.166Z] Commit message: "Merge commit '7dcacfabcedd8c9812e04fc6911462b912c63165' into HEAD" [2022-08-16T10:12:51.193Z] First time build. Skipping changelog. [2022-08-16T10:12:51.179Z] > git rev-list --no-walk f5ce006dba290c1c0a9e0453c157f05e94e2d178 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T10:12:52.193Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-16T10:12:52.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-16T10:12:52.194Z] Dload Upload Total Spent Left Speed [2022-08-16T10:12:52.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 87460 0 --:--:-- --:--:-- --:--:-- 86845 [Pipeline] sh [2022-08-16T10:12:52.987Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-16T10:12:53.376Z] + + sudo tee /etc/docker/daemon.new [2022-08-16T10:12:53.376Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-16T10:12:53.376Z] { [2022-08-16T10:12:53.376Z] "registry-mirrors": [ [2022-08-16T10:12:53.376Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-16T10:12:53.376Z] ], [2022-08-16T10:12:53.376Z] "bip": "10.250.0.254/24", [2022-08-16T10:12:53.376Z] "hosts": [ [2022-08-16T10:12:53.376Z] "tcp://0.0.0.0:5555", [2022-08-16T10:12:53.376Z] "unix:///var/run/docker.sock" [2022-08-16T10:12:53.376Z] ], [2022-08-16T10:12:53.376Z] "mtu": 1458, [2022-08-16T10:12:53.376Z] "selinux-enabled": true, [2022-08-16T10:12:53.376Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-16T10:12:53.376Z] } [Pipeline] sh [2022-08-16T10:12:53.723Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-16T10:12:54.061Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T10:13:12.385Z] provisioning config files... [2022-08-16T10:13:12.408Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config6336100765461888041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:13:12.763Z] ---> docker-login.sh [2022-08-16T10:13:12.763Z] nexus3.edgexfoundry.org:10001 [2022-08-16T10:13:13.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:13:13.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:13:13.634Z] Configure a credential helper to remove this warning. See [2022-08-16T10:13:13.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:13:13.634Z] [2022-08-16T10:13:13.634Z] Login Succeeded [2022-08-16T10:13:13.634Z] nexus3.edgexfoundry.org:10002 [2022-08-16T10:13:13.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:13:14.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:13:14.181Z] Configure a credential helper to remove this warning. See [2022-08-16T10:13:14.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:13:14.181Z] [2022-08-16T10:13:14.181Z] Login Succeeded [2022-08-16T10:13:14.181Z] nexus3.edgexfoundry.org:10003 [2022-08-16T10:13:14.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:13:14.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:13:14.455Z] Configure a credential helper to remove this warning. See [2022-08-16T10:13:14.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:13:14.455Z] [2022-08-16T10:13:14.455Z] Login Succeeded [2022-08-16T10:13:14.455Z] nexus3.edgexfoundry.org:10004 [2022-08-16T10:13:15.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:13:15.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:13:15.055Z] Configure a credential helper to remove this warning. See [2022-08-16T10:13:15.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:13:15.055Z] [2022-08-16T10:13:15.055Z] Login Succeeded [2022-08-16T10:13:15.055Z] docker.io [2022-08-16T10:13:15.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-16T10:13:15.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-16T10:13:15.601Z] Configure a credential helper to remove this warning. See [2022-08-16T10:13:15.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-16T10:13:15.601Z] [2022-08-16T10:13:15.601Z] Login Succeeded [2022-08-16T10:13:15.601Z] ---> docker-login.sh ends [Pipeline] } [2022-08-16T10:13:15.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-16T10:13:16.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T10:13:16.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-16T10:13:16.164Z] ========================================================= [2022-08-16T10:13:16.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-16T10:13:16.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:13:16.534Z] + 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-08-16T10:13:17.137Z] Sending build context to Docker daemon 14.06MB [2022-08-16T10:13:17.137Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T10:13:17.137Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-16T10:13:17.137Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-16T10:13:17.137Z] b3c136eddcbf: Pulling fs layer [2022-08-16T10:13:17.137Z] c0a3192eca97: Pulling fs layer [2022-08-16T10:13:17.137Z] a050256f5b6f: Pulling fs layer [2022-08-16T10:13:17.137Z] 656be50a0ddc: Pulling fs layer [2022-08-16T10:13:17.137Z] 2bbca73fdf42: Pulling fs layer [2022-08-16T10:13:17.137Z] 46d945488cbd: Pulling fs layer [2022-08-16T10:13:17.137Z] 8a5474983e97: Pulling fs layer [2022-08-16T10:13:17.137Z] 329c88fbcd65: Pulling fs layer [2022-08-16T10:13:17.137Z] 46d945488cbd: Waiting [2022-08-16T10:13:17.137Z] 8a5474983e97: Waiting [2022-08-16T10:13:17.137Z] 329c88fbcd65: Waiting [2022-08-16T10:13:17.137Z] 656be50a0ddc: Waiting [2022-08-16T10:13:17.137Z] 2bbca73fdf42: Waiting [2022-08-16T10:13:17.412Z] a050256f5b6f: Verifying Checksum [2022-08-16T10:13:17.412Z] a050256f5b6f: Download complete [2022-08-16T10:13:17.412Z] c0a3192eca97: Verifying Checksum [2022-08-16T10:13:17.412Z] c0a3192eca97: Download complete [2022-08-16T10:13:17.412Z] 2bbca73fdf42: Verifying Checksum [2022-08-16T10:13:17.412Z] 2bbca73fdf42: Download complete [2022-08-16T10:13:17.412Z] b3c136eddcbf: Download complete [2022-08-16T10:13:17.412Z] 46d945488cbd: Verifying Checksum [2022-08-16T10:13:17.412Z] 46d945488cbd: Download complete [2022-08-16T10:13:18.402Z] b3c136eddcbf: Pull complete [2022-08-16T10:13:18.402Z] 329c88fbcd65: Verifying Checksum [2022-08-16T10:13:18.402Z] 329c88fbcd65: Download complete [2022-08-16T10:13:19.005Z] c0a3192eca97: Pull complete [2022-08-16T10:13:19.284Z] a050256f5b6f: Pull complete [2022-08-16T10:13:19.556Z] 8a5474983e97: Verifying Checksum [2022-08-16T10:13:19.556Z] 8a5474983e97: Download complete [2022-08-16T10:13:20.537Z] 656be50a0ddc: Verifying Checksum [2022-08-16T10:13:20.537Z] 656be50a0ddc: Download complete [2022-08-16T10:13:32.955Z] 656be50a0ddc: Pull complete [2022-08-16T10:13:32.955Z] 2bbca73fdf42: Pull complete [2022-08-16T10:13:33.229Z] 46d945488cbd: Pull complete [2022-08-16T10:13:39.967Z] 8a5474983e97: Pull complete [2022-08-16T10:13:41.403Z] 329c88fbcd65: Pull complete [2022-08-16T10:13:41.403Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-16T10:13:41.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-16T10:13:41.403Z] ---> ff4287adb874 [2022-08-16T10:13:41.403Z] Step 3/13 : ARG MAKE="make build" [2022-08-16T10:13:43.398Z] ---> Running in 779fd82d09d0 [2022-08-16T10:13:43.398Z] Removing intermediate container 779fd82d09d0 [2022-08-16T10:13:43.398Z] ---> 8f6c6eebca29 [2022-08-16T10:13:43.398Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T10:13:43.674Z] ---> Running in 41fc66340e48 [2022-08-16T10:13:43.949Z] Removing intermediate container 41fc66340e48 [2022-08-16T10:13:43.949Z] ---> 9268d20e73e1 [2022-08-16T10:13:43.949Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T10:13:43.949Z] ---> Running in cb506c18f1ae [2022-08-16T10:13:44.223Z] Removing intermediate container cb506c18f1ae [2022-08-16T10:13:44.223Z] ---> 494b60dc5aba [2022-08-16T10:13:44.223Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-16T10:13:44.223Z] ---> Running in 00871db01476 [2022-08-16T10:13:44.828Z] Removing intermediate container 00871db01476 [2022-08-16T10:13:44.828Z] ---> 5d899bb25820 [2022-08-16T10:13:44.828Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T10:13:44.828Z] ---> Running in ff0520232b87 [2022-08-16T10:13:46.812Z] Removing intermediate container ff0520232b87 [2022-08-16T10:13:46.812Z] ---> 234c119bab88 [2022-08-16T10:13:46.812Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T10:13:46.812Z] ---> Running in 1e342ea4af55 [2022-08-16T10:13:48.811Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T10:13:49.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T10:13:50.768Z] OK: 221 MiB in 51 packages [2022-08-16T10:13:51.369Z] Removing intermediate container 1e342ea4af55 [2022-08-16T10:13:51.369Z] ---> b5fc29d7a8b1 [2022-08-16T10:13:51.369Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-16T10:13:51.369Z] ---> Running in 53304d315f8d [2022-08-16T10:13:51.652Z] Removing intermediate container 53304d315f8d [2022-08-16T10:13:51.652Z] ---> e43436bf48ec [2022-08-16T10:13:51.652Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-16T10:13:52.268Z] ---> f344d5b788fc [2022-08-16T10:13:52.268Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T10:13:52.268Z] ---> Running in 435472e5c8e3 [2022-08-16T10:14:48.793Z] Removing intermediate container 435472e5c8e3 [2022-08-16T10:14:48.793Z] ---> 0861b591733d [2022-08-16T10:14:48.793Z] Step 12/13 : COPY . . [2022-08-16T10:14:48.793Z] ---> c000519608b5 [2022-08-16T10:14:48.793Z] Step 13/13 : RUN ${MAKE} [2022-08-16T10:14:48.793Z] ---> Running in d56da5a03b2f [2022-08-16T10:14:48.793Z] noop [2022-08-16T10:14:48.793Z] Removing intermediate container d56da5a03b2f [2022-08-16T10:14:48.793Z] ---> bef81cefb4f4 [2022-08-16T10:14:48.793Z] Successfully built bef81cefb4f4 [2022-08-16T10:14:48.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:14:49.165Z] + docker inspect -f . ci-base-image-arm64 [2022-08-16T10:14:49.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:14:49.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-22895 does not seem to be running inside a container [2022-08-16T10:14:49.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-16T10:14:50.803Z] $ docker top 3c914da087f6f34fdba0c58a1941d343e3197961820ffa9e4e01f3e94a015463 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T10:14:51.716Z] + go version [2022-08-16T10:14:51.716Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-16T10:14:51.747Z] $ docker stop --time=1 3c914da087f6f34fdba0c58a1941d343e3197961820ffa9e4e01f3e94a015463 [2022-08-16T10:14:53.385Z] $ docker rm -f 3c914da087f6f34fdba0c58a1941d343e3197961820ffa9e4e01f3e94a015463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:14:53.987Z] + docker inspect -f . ci-base-image-arm64 [2022-08-16T10:14:53.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:14:54.224Z] prd-ubuntu20.04-docker-arm64-4c-16g-22895 does not seem to be running inside a container [2022-08-16T10:14:54.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-16T10:14:55.595Z] $ docker top a3719f4b8a2bf9e8a2822fd072f03acf122fd4eee8c5ceab8c6e393159034bb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T10:14:56.504Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-08-16T10:14:57.176Z] + make test [2022-08-16T10:14:57.176Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-16T10:14:58.627Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-16T10:16:20.478Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-16T10:16:27.227Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.111s coverage: 10.6% of statements [2022-08-16T10:16:27.227Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-16T10:16:49.387Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.261s coverage: 13.8% of statements [2022-08-16T10:16:49.387Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-16T10:16:49.387Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-16T10:17:11.588Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-16T10:17:11.588Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-16T10:17:11.588Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-16T10:17:11.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-16T10:17:11.634Z] $ docker stop --time=1 a3719f4b8a2bf9e8a2822fd072f03acf122fd4eee8c5ceab8c6e393159034bb7 [2022-08-16T10:17:13.412Z] $ docker rm -f a3719f4b8a2bf9e8a2822fd072f03acf122fd4eee8c5ceab8c6e393159034bb7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-16T10:17:14.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-16T10:17:14.585Z] Warning: overwriting stash ‘coverage-report’ [2022-08-16T10:17:15.487Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-16T10:17:15.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-16T10:17:16.281Z] + ls -al . [2022-08-16T10:17:16.281Z] total 228 [2022-08-16T10:17:16.281Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 10:14 . [2022-08-16T10:17:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:12 .. [2022-08-16T10:17:16.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 10:12 .git [2022-08-16T10:17:16.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 10:12 .github [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 16 10:12 .gitignore [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 10:12 .golangci.yml [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 16 10:12 Attribution.txt [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 16 10:12 CHANGELOG.md [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 16 10:12 Dockerfile [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 10:12 GOVERNANCE.md [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 16 10:12 Jenkinsfile [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 10:12 LICENSE [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 16 10:12 Makefile [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 16 10:12 OWNERS.md [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 16 10:12 README.md [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 10:10 VERSION [2022-08-16T10:17:16.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 10:12 bin [2022-08-16T10:17:16.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 10:12 cmd [2022-08-16T10:17:16.281Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 16 10:16 coverage.out [2022-08-16T10:17:16.281Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 10:12 doc [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 16 10:12 go.mod [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 16 10:12 go.sum [2022-08-16T10:17:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:12 internal [2022-08-16T10:17:16.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 10:12 snap [2022-08-16T10:17:16.281Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 16 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:17:16.643Z] + 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=0b086b11444ac4aaa19ffe84290587416c982765 --label arch=arm64 --label version=0.0.0 . [2022-08-16T10:17:17.243Z] Sending build context to Docker daemon 14.14MB [2022-08-16T10:17:17.243Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-16T10:17:17.243Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-16T10:17:17.243Z] ---> bef81cefb4f4 [2022-08-16T10:17:17.243Z] Step 3/27 : ARG MAKE="make build" [2022-08-16T10:17:17.243Z] ---> Running in 7234c00e7de5 [2022-08-16T10:17:17.841Z] Removing intermediate container 7234c00e7de5 [2022-08-16T10:17:17.841Z] ---> 627ab4d523b0 [2022-08-16T10:17:17.841Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-16T10:17:17.841Z] ---> Running in 078ad936f5b8 [2022-08-16T10:17:18.116Z] Removing intermediate container 078ad936f5b8 [2022-08-16T10:17:18.116Z] ---> b5fa75b9d66a [2022-08-16T10:17:18.116Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-16T10:17:18.116Z] ---> Running in 712deff0ef65 [2022-08-16T10:17:18.391Z] Removing intermediate container 712deff0ef65 [2022-08-16T10:17:18.391Z] ---> 0512ba7d4c90 [2022-08-16T10:17:18.391Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-16T10:17:18.391Z] ---> Running in 331de4b7cca7 [2022-08-16T10:17:18.666Z] Removing intermediate container 331de4b7cca7 [2022-08-16T10:17:18.666Z] ---> 65e124caac95 [2022-08-16T10:17:18.666Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-16T10:17:18.948Z] ---> Running in dc2c6369f3c8 [2022-08-16T10:17:20.398Z] Removing intermediate container dc2c6369f3c8 [2022-08-16T10:17:20.398Z] ---> fcd875236500 [2022-08-16T10:17:20.398Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-16T10:17:20.676Z] ---> Running in b145683248fd [2022-08-16T10:17:21.661Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T10:17:22.637Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T10:17:23.616Z] OK: 221 MiB in 51 packages [2022-08-16T10:17:24.215Z] Removing intermediate container b145683248fd [2022-08-16T10:17:24.216Z] ---> 1760fc384fd8 [2022-08-16T10:17:24.216Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-16T10:17:24.216Z] ---> Running in 7f1ee1568f70 [2022-08-16T10:17:24.491Z] Removing intermediate container 7f1ee1568f70 [2022-08-16T10:17:24.491Z] ---> c8ae330287aa [2022-08-16T10:17:24.491Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-16T10:17:25.092Z] ---> ce9718b8d282 [2022-08-16T10:17:25.092Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-16T10:17:25.092Z] ---> Running in 71ce0e63ec2c [2022-08-16T10:17:27.080Z] Removing intermediate container 71ce0e63ec2c [2022-08-16T10:17:27.080Z] ---> d38e5f7c4771 [2022-08-16T10:17:27.080Z] Step 12/27 : COPY . . [2022-08-16T10:17:28.517Z] ---> f0ae6c39a67a [2022-08-16T10:17:28.517Z] Step 13/27 : RUN ${MAKE} [2022-08-16T10:17:28.793Z] ---> Running in b0900966f647 [2022-08-16T10:17:29.784Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-16T10:19:36.668Z] Removing intermediate container b0900966f647 [2022-08-16T10:19:36.668Z] ---> 5e4d2cb3fec5 [2022-08-16T10:19:36.668Z] Step 14/27 : FROM alpine:3.16 [2022-08-16T10:19:36.941Z] 3.16: Pulling from library/alpine [2022-08-16T10:19:36.941Z] 9b18e9b68314: Pulling fs layer [2022-08-16T10:19:37.213Z] 9b18e9b68314: Verifying Checksum [2022-08-16T10:19:37.213Z] 9b18e9b68314: Download complete [2022-08-16T10:19:37.811Z] 9b18e9b68314: Pull complete [2022-08-16T10:19:37.811Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-16T10:19:37.811Z] Status: Downloaded newer image for alpine:3.16 [2022-08-16T10:19:37.811Z] ---> a6215f271958 [2022-08-16T10:19:37.811Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-16T10:19:38.086Z] ---> Running in 7eb24943ffd0 [2022-08-16T10:19:38.360Z] Removing intermediate container 7eb24943ffd0 [2022-08-16T10:19:38.360Z] ---> fdef2a6680c3 [2022-08-16T10:19:38.360Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-16T10:19:38.360Z] ---> Running in 42146a95ab61 [2022-08-16T10:19:39.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-16T10:19:39.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-16T10:19:40.594Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-16T10:19:40.594Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-16T10:19:40.594Z] (3/21) Installing readline (8.1.2-r0) [2022-08-16T10:19:40.594Z] (4/21) Installing bash (5.1.16-r2) [2022-08-16T10:19:40.594Z] Executing bash-5.1.16-r2.post-install [2022-08-16T10:19:40.594Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-16T10:19:40.594Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-16T10:19:40.594Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-16T10:19:40.868Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-16T10:19:40.868Z] (9/21) Installing curl (7.83.1-r2) [2022-08-16T10:19:40.868Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-16T10:19:40.868Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-16T10:19:40.868Z] (12/21) Installing jq (1.6-r1) [2022-08-16T10:19:40.868Z] (13/21) Installing popt (1.18-r0) [2022-08-16T10:19:40.868Z] (14/21) Installing pcre (8.45-r2) [2022-08-16T10:19:40.868Z] (15/21) Installing slang (2.3.2-r0) [2022-08-16T10:19:40.868Z] (16/21) Installing newt (0.52.21-r2) [2022-08-16T10:19:40.868Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-16T10:19:40.868Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-16T10:19:41.141Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-16T10:19:41.141Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-16T10:19:41.141Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-16T10:19:41.141Z] Executing busybox-1.35.0-r17.trigger [2022-08-16T10:19:41.141Z] Executing ca-certificates-20220614-r0.trigger [2022-08-16T10:19:41.413Z] OK: 16 MiB in 35 packages [2022-08-16T10:19:42.856Z] Removing intermediate container 42146a95ab61 [2022-08-16T10:19:42.856Z] ---> cb75698547e7 [2022-08-16T10:19:42.856Z] Step 17/27 : WORKDIR / [2022-08-16T10:19:43.131Z] ---> Running in 0300e4a1bfaa [2022-08-16T10:19:43.404Z] Removing intermediate container 0300e4a1bfaa [2022-08-16T10:19:43.404Z] ---> 0f58424b2f7b [2022-08-16T10:19:43.404Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-16T10:19:44.841Z] ---> fb7ebf029e41 [2022-08-16T10:19:44.841Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-16T10:19:45.438Z] ---> 1a0852542855 [2022-08-16T10:19:45.438Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-16T10:19:46.055Z] ---> e9cbd59da985 [2022-08-16T10:19:46.055Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-16T10:19:46.330Z] ---> 95baedf81204 [2022-08-16T10:19:46.330Z] Step 22/27 : EXPOSE 59984 [2022-08-16T10:19:46.605Z] ---> Running in 1108680ea582 [2022-08-16T10:19:46.878Z] Removing intermediate container 1108680ea582 [2022-08-16T10:19:46.878Z] ---> 850491045350 [2022-08-16T10:19:46.878Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-16T10:19:46.878Z] ---> Running in 09dfc34f0bbb [2022-08-16T10:19:47.152Z] Removing intermediate container 09dfc34f0bbb [2022-08-16T10:19:47.152Z] ---> 19fbefcb6913 [2022-08-16T10:19:47.152Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-16T10:19:47.152Z] ---> Running in 1720d2b2fd17 [2022-08-16T10:19:47.430Z] Removing intermediate container 1720d2b2fd17 [2022-08-16T10:19:47.430Z] ---> c70a75f237ef [2022-08-16T10:19:47.430Z] Step 25/27 : LABEL arch=arm64 [2022-08-16T10:19:47.702Z] ---> Running in 8b4494d5c682 [2022-08-16T10:19:47.975Z] Removing intermediate container 8b4494d5c682 [2022-08-16T10:19:47.975Z] ---> e0ea3f484193 [2022-08-16T10:19:47.975Z] Step 26/27 : LABEL git_sha=0b086b11444ac4aaa19ffe84290587416c982765 [2022-08-16T10:19:47.975Z] ---> Running in fe336893b77e [2022-08-16T10:19:48.253Z] Removing intermediate container fe336893b77e [2022-08-16T10:19:48.253Z] ---> e366ccefc3dc [2022-08-16T10:19:48.253Z] Step 27/27 : LABEL version=0.0.0 [2022-08-16T10:19:48.253Z] ---> Running in a9693df9dc31 [2022-08-16T10:19:48.526Z] Removing intermediate container a9693df9dc31 [2022-08-16T10:19:48.526Z] ---> e3ee6e13f4b6 [2022-08-16T10:19:48.526Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-16T10:19:48.799Z] Successfully built e3ee6e13f4b6 [2022-08-16T10:19:48.799Z] 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-08-16T10:19:49.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T10:19:49.244Z] [2022-08-16T10:19:49.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:19:49.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T10:19:49.867Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-16T10:19:49.867Z] 8998bd30e6a1: Pulling fs layer [2022-08-16T10:19:49.867Z] 04944245beec: Pulling fs layer [2022-08-16T10:19:49.867Z] 699f458cf7ca: Pulling fs layer [2022-08-16T10:19:49.867Z] 765212b225bb: Pulling fs layer [2022-08-16T10:19:49.867Z] f23df028b6ca: Pulling fs layer [2022-08-16T10:19:49.867Z] d65c8cfc05b1: Pulling fs layer [2022-08-16T10:19:49.867Z] 2437ff75d9bd: Pulling fs layer [2022-08-16T10:19:49.867Z] 765212b225bb: Waiting [2022-08-16T10:19:49.867Z] f23df028b6ca: Waiting [2022-08-16T10:19:49.867Z] d65c8cfc05b1: Waiting [2022-08-16T10:19:49.867Z] 2437ff75d9bd: Waiting [2022-08-16T10:19:49.867Z] 04944245beec: Verifying Checksum [2022-08-16T10:19:49.867Z] 04944245beec: Download complete [2022-08-16T10:19:49.867Z] 765212b225bb: Verifying Checksum [2022-08-16T10:19:49.867Z] 765212b225bb: Download complete [2022-08-16T10:19:49.867Z] f23df028b6ca: Verifying Checksum [2022-08-16T10:19:49.867Z] f23df028b6ca: Download complete [2022-08-16T10:19:50.143Z] 699f458cf7ca: Verifying Checksum [2022-08-16T10:19:50.143Z] 699f458cf7ca: Download complete [2022-08-16T10:19:50.419Z] 8998bd30e6a1: Verifying Checksum [2022-08-16T10:19:50.419Z] 8998bd30e6a1: Download complete [2022-08-16T10:19:53.044Z] 2437ff75d9bd: Verifying Checksum [2022-08-16T10:19:53.044Z] 2437ff75d9bd: Download complete [2022-08-16T10:19:55.023Z] 8998bd30e6a1: Pull complete [2022-08-16T10:19:55.023Z] 04944245beec: Pull complete [2022-08-16T10:19:56.455Z] 699f458cf7ca: Pull complete [2022-08-16T10:19:57.051Z] 765212b225bb: Pull complete [2022-08-16T10:19:57.653Z] f23df028b6ca: Pull complete [2022-08-16T10:19:57.927Z] d65c8cfc05b1: Pull complete [2022-08-16T10:20:13.028Z] 2437ff75d9bd: Pull complete [2022-08-16T10:20:13.028Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-16T10:20:13.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-16T10:20:13.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:20:13.291Z] prd-ubuntu20.04-docker-arm64-4c-16g-22895 does not seem to be running inside a container [2022-08-16T10:20:13.396Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-16T10:20:16.067Z] $ docker top 202b2b14a6ffb6cac5aeb4fd5e605d4fe50ec2f4e4c36146cee21fd9119e44bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:17.065Z] ---> job-cost.sh [2022-08-16T10:20:17.065Z] lf-activate-venv: SKIPPING [2022-08-16T10:20:17.065Z] INFO: No Stack... [2022-08-16T10:20:17.663Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-16T10:20:18.255Z] INFO: Archiving Costs [Pipeline] sh [2022-08-16T10:20:18.914Z] + + cut -d,cat -f6 /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-08-16T10:20:18.914Z] [Pipeline] lock [2022-08-16T10:20:18.970Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [2022-08-16T10:20:18.976Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] did not exist. Created. [2022-08-16T10:20:18.976Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-16T10:20:19.645Z] /w/workspace/device-onvif-camera/5@tmp/durable-56feedfa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-16T10:20:20.322Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-16T10:20:20.348Z] Warning: overwriting stash ‘stack-cost’ [2022-08-16T10:20:20.403Z] Stashed 1 file(s) [Pipeline] } [2022-08-16T10:20:20.412Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-16T10:20:20.431Z] $ docker stop --time=1 202b2b14a6ffb6cac5aeb4fd5e605d4fe50ec2f4e4c36146cee21fd9119e44bb [2022-08-16T10:20:21.971Z] $ docker rm -f 202b2b14a6ffb6cac5aeb4fd5e605d4fe50ec2f4e4c36146cee21fd9119e44bb [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-08-16T10:20:22.425Z] provisioning config files... [2022-08-16T10:20:22.448Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5646323731709810380tmp [Pipeline] { [Pipeline] sh [2022-08-16T10:20:22.751Z] + set +x [2022-08-16T10:20:22.751Z] + bash -s -- [2022-08-16T10:20:22.751Z] + curl -s https://codecov.io/bash [2022-08-16T10:20:22.751Z] [2022-08-16T10:20:22.751Z] _____ _ [2022-08-16T10:20:22.751Z] / ____| | | [2022-08-16T10:20:22.751Z] | | ___ __| | ___ ___ _____ __ [2022-08-16T10:20:22.751Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-16T10:20:22.751Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-16T10:20:22.751Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-16T10:20:22.751Z] Bash-1.0.6 [2022-08-16T10:20:22.751Z] [2022-08-16T10:20:22.751Z] [2022-08-16T10:20:22.751Z] ==> git version 2.25.1 found [2022-08-16T10:20:22.751Z] ==> 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-08-16T10:20:22.751Z] Release-Date: 2020-01-08 [2022-08-16T10:20:22.751Z] 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-08-16T10:20:22.751Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-16T10:20:22.751Z] ==> Jenkins CI detected. [2022-08-16T10:20:22.751Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-16T10:20:22.751Z] project root: . [2022-08-16T10:20:22.751Z] --> token set from env [2022-08-16T10:20:22.751Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-16T10:20:22.751Z] ==> Running gcov in . (disable via -X gcov) [2022-08-16T10:20:22.751Z] ==> Python coveragepy not found [2022-08-16T10:20:22.751Z] ==> Searching for coverage reports in: [2022-08-16T10:20:22.751Z] + . [2022-08-16T10:20:22.751Z] -> Found 1 reports [2022-08-16T10:20:22.751Z] ==> Detecting git/mercurial file structure [2022-08-16T10:20:22.751Z] ==> Reading reports [2022-08-16T10:20:22.751Z] + ./coverage.out bytes=76856 [2022-08-16T10:20:22.751Z] ==> Appending adjustments [2022-08-16T10:20:22.751Z] https://docs.codecov.io/docs/fixing-reports [2022-08-16T10:20:23.011Z] + Found adjustments [2022-08-16T10:20:23.011Z] ==> Gzipping contents [2022-08-16T10:20:23.011Z] 12K /tmp/codecov.yJRiPE.gz [2022-08-16T10:20:23.011Z] ==> Uploading reports [2022-08-16T10:20:23.011Z] url: https://codecov.io [2022-08-16T10:20:23.011Z] query: branch=PR-125&commit=057928242739133b92d5fd0cbbcfb835ece40f0b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-16T10:20:23.011Z] -> Pinging Codecov [2022-08-16T10:20:23.011Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=057928242739133b92d5fd0cbbcfb835ece40f0b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-16T10:20:23.271Z] -> Uploading to [2022-08-16T10:20:23.271Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-16/F29A59C45E3A92E06B3E522C9905F8EF/057928242739133b92d5fd0cbbcfb835ece40f0b/91fb169a-7448-4ac7-9123-673e73f28420.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220816T102023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e6f5eb72b92fbafba735112659a3fcced9f52c7c4f0172ad4e6849d99a76e96 [2022-08-16T10:20:23.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-16T10:20:23.271Z] Dload Upload Total Spent Left Speed [2022-08-16T10:20:23.532Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10419 0 0 100 10419 0 41676 --:--:-- --:--:-- --:--:-- 41676 [2022-08-16T10:20:23.532Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/057928242739133b92d5fd0cbbcfb835ece40f0b [Pipeline] } [2022-08-16T10:20:23.539Z] 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-08-16T10:20:24.287Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-16T10:20:24.287Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-16T10:20:24.287Z] total 16 [2022-08-16T10:20:24.287Z] drwxr-xr-x 3 root root 4096 Aug 16 10:12 . [2022-08-16T10:20:24.287Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 10:12 .. [2022-08-16T10:20:24.287Z] drwxr-xr-x 2 root root 4096 Aug 16 10:12 cost [2022-08-16T10:20:24.287Z] -rw-r--r-- 1 root root 91 Aug 16 10:12 cost.csv [2022-08-16T10:20:24.287Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-16T10:20:24.287Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-16T10:20:24.287Z] total 16 [2022-08-16T10:20:24.287Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 10:12 . [2022-08-16T10:20:24.287Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 10:12 .. [2022-08-16T10:20:24.287Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 10:12 cost [2022-08-16T10:20:24.287Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 16 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:24.577Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:25.448Z] ---> package-listing.sh [2022-08-16T10:20:25.448Z] ++ facter osfamily [2022-08-16T10:20:25.448Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-16T10:20:25.708Z] + OS_FAMILY=debian [2022-08-16T10:20:25.708Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-16T10:20:25.708Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-16T10:20:25.708Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-16T10:20:25.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-16T10:20:25.708Z] + PACKAGES=/tmp/packages_start.txt [2022-08-16T10:20:25.708Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-16T10:20:25.708Z] + PACKAGES=/tmp/packages_end.txt [2022-08-16T10:20:25.708Z] + case "${OS_FAMILY}" in [2022-08-16T10:20:25.708Z] + dpkg -l [2022-08-16T10:20:25.708Z] + grep '^ii' [2022-08-16T10:20:25.708Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-16T10:20:25.708Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-16T10:20:25.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-16T10:20:25.708Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-16T10:20:25.708Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-16T10:20:25.708Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-16T10:20:25.721Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-16T10:20:26.004Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-16T10:20:26.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-16T10:20:26.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-16T10:20:26.392Z] prd-ubuntu20.04-docker-8c-8g-22894 does not seem to be running inside a container [2022-08-16T10:20:26.434Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-16T10:20:26.653Z] $ docker top d89f0db4fd5de79817b3ad59eb706bf02122cc56c045de56a4ba7730859f5200 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-16T10:20:27.004Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-16T10:20:27.293Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-16T10:20:27.580Z] + ls /var/log/sa-host [2022-08-16T10:20:27.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-16T10:20:27.740Z] provisioning config files... [2022-08-16T10:20:27.749Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config4018746948566404017tmp [Pipeline] { [Pipeline] echo [2022-08-16T10:20:27.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:28.051Z] ---> create-netrc.sh [Pipeline] } [2022-08-16T10:20:28.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:28.405Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-16T10:20:28.415Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:28.703Z] ---> sudo-logs.sh [2022-08-16T10:20:28.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-16T10:20:28.727Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:29.021Z] ---> job-cost.sh [2022-08-16T10:20:29.021Z] lf-activate-venv: SKIPPING [2022-08-16T10:20:29.021Z] DEBUG: total: 0.2199999988079071 [2022-08-16T10:20:29.021Z] INFO: Retrieving Stack Cost... [2022-08-16T10:20:29.281Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-16T10:20:29.851Z] INFO: Archiving Costs [Pipeline] echo [2022-08-16T10:20:29.862Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-16T10:20:30.146Z] ---> logs-deploy.sh [2022-08-16T10:20:30.146Z] lf-activate-venv: SKIPPING [2022-08-16T10:20:30.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/5 [2022-08-16T10:20:30.146Z] INFO: archiving workspace using pattern(s): [2022-08-16T10:20:31.088Z] Archives upload complete. [2022-08-16T10:20:31.088Z] INFO: archiving logs to Nexus