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 06d0f2addced559a6b629125c025b062c3ce01e9 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 06d0f2addced559a6b629125c025b062c3ce01e9 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-ssh9015767078865099677.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12106089084217811751.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16425179002945924554.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12610819294939891381.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1747430308654985105.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24300 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 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing c03d5104a056f705eb0c762ed1640beb2ca9f8ce Checking out Revision c03d5104a056f705eb0c762ed1640beb2ca9f8ce (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 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c03d5104a056f705eb0c762ed1640beb2ca9f8ce # timeout=10 Commit message: "Merge commit '06d0f2addced559a6b629125c025b062c3ce01e9' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-01T10:11:54.187Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-01T10:11:54.239Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-01T10:11:54.256Z] ========================================================= [2022-09-01T10:11:54.256Z] EdgeX Global Pipelines Version Info [2022-09-01T10:11:54.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 697cfda0239d6a06779e86322c9919e176a6c344 # timeout=10 [2022-09-01T10:11:55.043Z] ------------------- [2022-09-01T10:11:55.043Z] stable info: [2022-09-01T10:11:55.043Z] ------------------- [2022-09-01T10:11:55.043Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-01T10:11:55.043Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T10:11:55.043Z] Message: update stable to v1.0.239 [2022-09-01T10:11:55.617Z] ------------------- [2022-09-01T10:11:55.617Z] experimental info: [2022-09-01T10:11:55.617Z] ------------------- [2022-09-01T10:11:55.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-01T10:11:55.617Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-01T10:11:55.617Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-01T10:11:55.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-01T10:11:55.849Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-01T10:11:55.869Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-01T10:11:55.886Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-01T10:11:55.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-01T10:11:55.919Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-01T10:11:55.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-01T10:11:55.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-01T10:11:55.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-01T10:11:55.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-01T10:11:55.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-01T10:11:56.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-01T10:11:56.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-01T10:11:56.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-01T10:11:56.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T10:11:56.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-01T10:11:56.084Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T10:11:56.103Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-01T10:11:56.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-01T10:11:56.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-01T10:11:56.160Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-01T10:11:56.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-01T10:11:56.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-01T10:11:56.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-01T10:11:56.219Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-01T10:11:56.233Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-01T10:11:56.253Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-01T10:11:56.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-09-01T10:11:56.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-09-01T10:11:56.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-09-01T10:11:56.313Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c03d5104a056f705eb0c762ed1640beb2ca9f8ce [Pipeline] echo [2022-09-01T10:11:56.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c03d510 [Pipeline] echo [2022-09-01T10:11:56.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T10:11:56.377Z] provisioning config files... [2022-09-01T10:11:56.394Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1191974949813206555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:11:56.711Z] ---> docker-login.sh [2022-09-01T10:11:56.711Z] nexus3.edgexfoundry.org:10001 [2022-09-01T10:11:56.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:11:57.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:11:57.238Z] Configure a credential helper to remove this warning. See [2022-09-01T10:11:57.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:11:57.238Z] [2022-09-01T10:11:57.238Z] Login Succeeded [2022-09-01T10:11:57.238Z] nexus3.edgexfoundry.org:10002 [2022-09-01T10:11:57.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:11:57.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:11:57.238Z] Configure a credential helper to remove this warning. See [2022-09-01T10:11:57.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:11:57.238Z] [2022-09-01T10:11:57.238Z] Login Succeeded [2022-09-01T10:11:57.238Z] nexus3.edgexfoundry.org:10003 [2022-09-01T10:11:57.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:11:57.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:11:57.501Z] Configure a credential helper to remove this warning. See [2022-09-01T10:11:57.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:11:57.501Z] [2022-09-01T10:11:57.501Z] Login Succeeded [2022-09-01T10:11:57.501Z] nexus3.edgexfoundry.org:10004 [2022-09-01T10:11:57.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:11:57.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:11:57.501Z] Configure a credential helper to remove this warning. See [2022-09-01T10:11:57.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:11:57.501Z] [2022-09-01T10:11:57.501Z] Login Succeeded [2022-09-01T10:11:57.501Z] docker.io [2022-09-01T10:11:57.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:11:58.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:11:58.029Z] Configure a credential helper to remove this warning. See [2022-09-01T10:11:58.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:11:58.029Z] [2022-09-01T10:11:58.029Z] Login Succeeded [2022-09-01T10:11:58.029Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T10:11:58.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-01T10:11:58.432Z] + git rev-list -1 --merges c03d5104a056f705eb0c762ed1640beb2ca9f8ce~1..c03d5104a056f705eb0c762ed1640beb2ca9f8ce [Pipeline] echo [2022-09-01T10:11:58.465Z] -----------> git rev-list -1 --merges c03d5104a056f705eb0c762ed1640beb2ca9f8ce~1..c03d5104a056f705eb0c762ed1640beb2ca9f8ce c03d5104a056f705eb0c762ed1640beb2ca9f8ce [2022-09-01T10:11:58.465Z] c03d5104a056f705eb0c762ed1640beb2ca9f8ce [false] [Pipeline] sh [2022-09-01T10:11:58.785Z] + git log --format=format:%s -1 c03d5104a056f705eb0c762ed1640beb2ca9f8ce [Pipeline] echo [2022-09-01T10:11:58.804Z] ========================================================= [2022-09-01T10:11:58.804Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-01T10:11:58.804Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T10:11:59.152Z] + git log --format=format:%s -1 c03d5104a056f705eb0c762ed1640beb2ca9f8ce [Pipeline] echo [2022-09-01T10:11:59.166Z] [semverPrep] GIT_COMMIT: c03d5104a056f705eb0c762ed1640beb2ca9f8ce, Commit Message: Merge commit '06d0f2addced559a6b629125c025b062c3ce01e9' into HEAD [Pipeline] echo [2022-09-01T10:11:59.174Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-01T10:11:59.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-01T10:11:59.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-01T10:11:59.537Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-01T10:11:59.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-01T10:11:59.537Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-01T10:11:59.537Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-01T10:11:59.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:11:59.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T10:11:59.892Z] [2022-09-01T10:11:59.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:12:00.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T10:12:00.212Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-01T10:12:00.212Z] b85a868b505f: Pulling fs layer [2022-09-01T10:12:00.212Z] e2be974225ed: Pulling fs layer [2022-09-01T10:12:00.212Z] 339a4e72a1f5: Pulling fs layer [2022-09-01T10:12:00.212Z] 988bab9f4d93: Pulling fs layer [2022-09-01T10:12:00.212Z] 1469e6f7b9e6: Pulling fs layer [2022-09-01T10:12:00.212Z] eaf3925da568: Pulling fs layer [2022-09-01T10:12:00.212Z] bab4dde63d76: Pulling fs layer [2022-09-01T10:12:00.212Z] bde34c3a00c8: Pulling fs layer [2022-09-01T10:12:00.212Z] b352a97aabf1: Pulling fs layer [2022-09-01T10:12:00.212Z] 4872d77fe225: Pulling fs layer [2022-09-01T10:12:00.212Z] 5851b861e8e6: Pulling fs layer [2022-09-01T10:12:00.212Z] eaf3925da568: Waiting [2022-09-01T10:12:00.212Z] bab4dde63d76: Waiting [2022-09-01T10:12:00.212Z] b352a97aabf1: Waiting [2022-09-01T10:12:00.212Z] bde34c3a00c8: Waiting [2022-09-01T10:12:00.212Z] 4872d77fe225: Waiting [2022-09-01T10:12:00.212Z] 5851b861e8e6: Waiting [2022-09-01T10:12:00.212Z] 1469e6f7b9e6: Waiting [2022-09-01T10:12:00.212Z] 988bab9f4d93: Waiting [2022-09-01T10:12:00.212Z] e2be974225ed: Verifying Checksum [2022-09-01T10:12:00.212Z] e2be974225ed: Download complete [2022-09-01T10:12:00.212Z] 988bab9f4d93: Verifying Checksum [2022-09-01T10:12:00.212Z] 988bab9f4d93: Download complete [2022-09-01T10:12:00.474Z] 1469e6f7b9e6: Verifying Checksum [2022-09-01T10:12:00.474Z] 1469e6f7b9e6: Download complete [2022-09-01T10:12:00.474Z] 339a4e72a1f5: Verifying Checksum [2022-09-01T10:12:00.474Z] 339a4e72a1f5: Download complete [2022-09-01T10:12:00.474Z] eaf3925da568: Verifying Checksum [2022-09-01T10:12:00.474Z] bde34c3a00c8: Download complete [2022-09-01T10:12:00.474Z] b352a97aabf1: Verifying Checksum [2022-09-01T10:12:00.474Z] b352a97aabf1: Download complete [2022-09-01T10:12:00.474Z] 4872d77fe225: Verifying Checksum [2022-09-01T10:12:00.474Z] 4872d77fe225: Download complete [2022-09-01T10:12:00.474Z] 5851b861e8e6: Verifying Checksum [2022-09-01T10:12:00.474Z] 5851b861e8e6: Download complete [2022-09-01T10:12:00.474Z] b85a868b505f: Download complete [2022-09-01T10:12:00.738Z] bab4dde63d76: Verifying Checksum [2022-09-01T10:12:00.738Z] bab4dde63d76: Download complete [2022-09-01T10:12:02.128Z] b85a868b505f: Pull complete [2022-09-01T10:12:02.128Z] e2be974225ed: Pull complete [2022-09-01T10:12:02.700Z] 339a4e72a1f5: Pull complete [2022-09-01T10:12:02.700Z] 988bab9f4d93: Pull complete [2022-09-01T10:12:02.970Z] 1469e6f7b9e6: Pull complete [2022-09-01T10:12:03.237Z] eaf3925da568: Pull complete [2022-09-01T10:12:05.148Z] bab4dde63d76: Pull complete [2022-09-01T10:12:05.148Z] bde34c3a00c8: Pull complete [2022-09-01T10:12:05.409Z] b352a97aabf1: Pull complete [2022-09-01T10:12:05.409Z] 4872d77fe225: Pull complete [2022-09-01T10:12:05.672Z] 5851b861e8e6: Pull complete [2022-09-01T10:12:05.672Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-01T10:12:05.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-01T10:12:05.672Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:12:05.784Z] prd-ubuntu20.04-docker-8c-8g-24300 does not seem to be running inside a container [2022-09-01T10:12:05.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-01T10:12:07.326Z] $ docker top a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 -eo pid,comm [2022-09-01T10:12:07.399Z] 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-09-01T10:12:07.399Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-01T10:12:07.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T10:12:07.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T10:12:07.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T10:12:07.592Z] $ docker exec a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 ssh-agent [2022-09-01T10:12:07.739Z] SSH_AUTH_SOCK=/tmp/ssh-EJx8z29WHhUW/agent.34 [2022-09-01T10:12:07.739Z] SSH_AGENT_PID=40 [2022-09-01T10:12:07.746Z] Running ssh-add (command line suppressed) [2022-09-01T10:12:07.877Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4829809089625967331.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4829809089625967331.key) [2022-09-01T10:12:07.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T10:12:08.188Z] + git tag --points-at HEAD [Pipeline] } [2022-09-01T10:12:08.219Z] $ docker exec --env ******** --env ******** a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 ssh-agent -k [2022-09-01T10:12:08.350Z] unset SSH_AUTH_SOCK; [2022-09-01T10:12:08.350Z] unset SSH_AGENT_PID; [2022-09-01T10:12:08.350Z] echo Agent pid 40 killed; [2022-09-01T10:12:08.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-01T10:12:08.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-01T10:12:08.390Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-01T10:12:08.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-01T10:12:08.540Z] $ docker exec a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 ssh-agent [2022-09-01T10:12:08.671Z] SSH_AUTH_SOCK=/tmp/ssh-qlBDVMTKXj5A/agent.74 [2022-09-01T10:12:08.671Z] SSH_AGENT_PID=80 [2022-09-01T10:12:08.677Z] Running ssh-add (command line suppressed) [2022-09-01T10:12:08.806Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2721658845166781746.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2721658845166781746.key) [2022-09-01T10:12:08.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-01T10:12:09.120Z] + git semver init [2022-09-01T10:12:09.381Z] 2022-09-01 10:12:09,330 [run_init] DEBUG init version:0.0.0 force:False [2022-09-01T10:12:09.381Z] 2022-09-01 10:12:09,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-01T10:12:09.381Z] 2022-09-01 10:12:09,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-09-01T10:12:09.381Z] 2022-09-01 10:12:09,332 [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-09-01T10:12:10.325Z] 2022-09-01 10:12:10,217 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-09-01T10:12:10.325Z] 2022-09-01 10:12:10,218 [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-09-01T10:12:10.325Z] 2022-09-01 10:12:10,218 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-01T10:12:10.325Z] 2022-09-01 10:12:10,223 [execute] INFO git cat-file --batch-check [2022-09-01T10:12:10.325Z] 2022-09-01 10:12:10,224 [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-09-01T10:12:10.325Z] 2022-09-01 10:12:10,231 [execute] INFO git cat-file --batch [2022-09-01T10:12:10.325Z] 2022-09-01 10:12:10,231 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-09-01T10:12:10.325Z] 2022-09-01 10:12:10,237 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-09-01T10:12:10.325Z] 0.0.0 [Pipeline] } [2022-09-01T10:12:10.337Z] $ docker exec --env ******** --env ******** a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 ssh-agent -k [2022-09-01T10:12:10.463Z] unset SSH_AUTH_SOCK; [2022-09-01T10:12:10.465Z] unset SSH_AGENT_PID; [2022-09-01T10:12:10.465Z] echo Agent pid 80 killed; [2022-09-01T10:12:10.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-01T10:12:10.790Z] + git semver [Pipeline] } [2022-09-01T10:12:11.065Z] $ docker stop --time=1 a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 [2022-09-01T10:12:12.402Z] $ docker rm -f a74ba1b0c1826218c061982d44b8e745cfe70bb34390f458b68d37884b8da378 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T10:12:12.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-01T10:12:13.001Z] Stashed 1 file(s) [Pipeline] echo [2022-09-01T10:12:13.004Z] [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-09-01T10:12:13.154Z] provisioning config files... [2022-09-01T10:12:13.165Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config9108340545549752397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:12:13.471Z] ---> docker-login.sh [2022-09-01T10:12:13.471Z] nexus3.edgexfoundry.org:10001 [2022-09-01T10:12:13.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:12:13.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:12:13.471Z] Configure a credential helper to remove this warning. See [2022-09-01T10:12:13.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:12:13.471Z] [2022-09-01T10:12:13.471Z] Login Succeeded [2022-09-01T10:12:13.471Z] nexus3.edgexfoundry.org:10002 [2022-09-01T10:12:13.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:12:13.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:12:13.731Z] Configure a credential helper to remove this warning. See [2022-09-01T10:12:13.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:12:13.731Z] [2022-09-01T10:12:13.731Z] Login Succeeded [2022-09-01T10:12:13.731Z] nexus3.edgexfoundry.org:10003 [2022-09-01T10:12:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:12:13.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:12:13.731Z] Configure a credential helper to remove this warning. See [2022-09-01T10:12:13.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:12:13.731Z] [2022-09-01T10:12:13.731Z] Login Succeeded [2022-09-01T10:12:13.731Z] nexus3.edgexfoundry.org:10004 [2022-09-01T10:12:13.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:12:13.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:12:13.992Z] Configure a credential helper to remove this warning. See [2022-09-01T10:12:13.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:12:13.992Z] [2022-09-01T10:12:13.992Z] Login Succeeded [2022-09-01T10:12:13.992Z] docker.io [2022-09-01T10:12:13.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:12:14.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:12:14.566Z] Configure a credential helper to remove this warning. See [2022-09-01T10:12:14.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:12:14.566Z] [2022-09-01T10:12:14.566Z] Login Succeeded [2022-09-01T10:12:14.566Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T10:12:14.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T10:12:14.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T10:12:14.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T10:12:14.683Z] ========================================================= [2022-09-01T10:12:14.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-01T10:12:14.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:12:15.015Z] + 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-09-01T10:12:15.015Z] Sending build context to Docker daemon 20.64MB [2022-09-01T10:12:15.015Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T10:12:15.015Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T10:12:15.281Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-01T10:12:15.281Z] 2408cc74d12b: Pulling fs layer [2022-09-01T10:12:15.281Z] ea60b727a1ce: Pulling fs layer [2022-09-01T10:12:15.281Z] 30c4a7721957: Pulling fs layer [2022-09-01T10:12:15.281Z] 370296b7ddb6: Pulling fs layer [2022-09-01T10:12:15.281Z] 7c6cee850709: Pulling fs layer [2022-09-01T10:12:15.281Z] 39a5fcdaea64: Pulling fs layer [2022-09-01T10:12:15.281Z] d94ebbe4e438: Pulling fs layer [2022-09-01T10:12:15.281Z] bcfd1f05c69d: Pulling fs layer [2022-09-01T10:12:15.281Z] 59ccb84bbe0f: Pulling fs layer [2022-09-01T10:12:15.281Z] 370296b7ddb6: Waiting [2022-09-01T10:12:15.281Z] 7c6cee850709: Waiting [2022-09-01T10:12:15.281Z] 39a5fcdaea64: Waiting [2022-09-01T10:12:15.281Z] 59ccb84bbe0f: Waiting [2022-09-01T10:12:15.281Z] 30c4a7721957: Verifying Checksum [2022-09-01T10:12:15.281Z] 30c4a7721957: Download complete [2022-09-01T10:12:15.281Z] ea60b727a1ce: Download complete [2022-09-01T10:12:15.281Z] 7c6cee850709: Download complete [2022-09-01T10:12:15.281Z] 39a5fcdaea64: Download complete [2022-09-01T10:12:15.281Z] 2408cc74d12b: Verifying Checksum [2022-09-01T10:12:15.281Z] 2408cc74d12b: Download complete [2022-09-01T10:12:15.281Z] d94ebbe4e438: Verifying Checksum [2022-09-01T10:12:15.281Z] d94ebbe4e438: Download complete [2022-09-01T10:12:15.549Z] 2408cc74d12b: Pull complete [2022-09-01T10:12:15.549Z] ea60b727a1ce: Pull complete [2022-09-01T10:12:15.827Z] 30c4a7721957: Pull complete [2022-09-01T10:12:15.827Z] 59ccb84bbe0f: Verifying Checksum [2022-09-01T10:12:15.827Z] 59ccb84bbe0f: Download complete [2022-09-01T10:12:16.091Z] bcfd1f05c69d: Verifying Checksum [2022-09-01T10:12:16.091Z] bcfd1f05c69d: Download complete [2022-09-01T10:12:16.091Z] 370296b7ddb6: Verifying Checksum [2022-09-01T10:12:16.091Z] 370296b7ddb6: Download complete [2022-09-01T10:12:21.378Z] 370296b7ddb6: Pull complete [2022-09-01T10:12:21.378Z] 7c6cee850709: Pull complete [2022-09-01T10:12:21.378Z] 39a5fcdaea64: Pull complete [2022-09-01T10:12:21.378Z] d94ebbe4e438: Pull complete [2022-09-01T10:12:23.293Z] bcfd1f05c69d: Pull complete [2022-09-01T10:12:23.862Z] 59ccb84bbe0f: Pull complete [2022-09-01T10:12:23.862Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-01T10:12:23.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-01T10:12:23.862Z] ---> a4fb48ad2a94 [2022-09-01T10:12:23.862Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T10:12:25.782Z] ---> Running in 6270c6c3574c [2022-09-01T10:12:25.782Z] Removing intermediate container 6270c6c3574c [2022-09-01T10:12:25.782Z] ---> 4e0a6c7ce338 [2022-09-01T10:12:25.782Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T10:12:25.782Z] ---> Running in 82ee0ffcf53e [2022-09-01T10:12:25.782Z] Removing intermediate container 82ee0ffcf53e [2022-09-01T10:12:25.782Z] ---> 9e4bfcf8641d [2022-09-01T10:12:25.782Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T10:12:25.782Z] ---> Running in 938e2611892e [2022-09-01T10:12:25.782Z] Removing intermediate container 938e2611892e [2022-09-01T10:12:25.782Z] ---> 56c869bf7fda [2022-09-01T10:12:25.782Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T10:12:25.782Z] ---> Running in 29061379110d [2022-09-01T10:12:26.044Z] Removing intermediate container 29061379110d [2022-09-01T10:12:26.044Z] ---> a1daa7b0a925 [2022-09-01T10:12:26.044Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T10:12:26.044Z] ---> Running in 116065ee71ef [2022-09-01T10:12:26.614Z] Removing intermediate container 116065ee71ef [2022-09-01T10:12:26.614Z] ---> 777d0cefc888 [2022-09-01T10:12:26.614Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T10:12:26.614Z] ---> Running in c09df1f3e6c9 [2022-09-01T10:12:26.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T10:12:27.815Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T10:12:28.077Z] OK: 211 MiB in 51 packages [2022-09-01T10:12:28.112Z] Still waiting to schedule task [2022-09-01T10:12:28.112Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24301’ is offline [2022-09-01T10:12:28.347Z] Removing intermediate container c09df1f3e6c9 [2022-09-01T10:12:28.347Z] ---> 5624714da30c [2022-09-01T10:12:28.347Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T10:12:28.609Z] ---> Running in f25be675ba68 [2022-09-01T10:12:28.609Z] Removing intermediate container f25be675ba68 [2022-09-01T10:12:28.609Z] ---> bf1664174496 [2022-09-01T10:12:28.609Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T10:12:28.869Z] ---> ac1af27bdf95 [2022-09-01T10:12:28.869Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T10:12:28.869Z] ---> Running in d223bc2a8a0c [2022-09-01T10:12:47.018Z] Removing intermediate container d223bc2a8a0c [2022-09-01T10:12:47.018Z] ---> 9ab43fbb3500 [2022-09-01T10:12:47.018Z] Step 12/13 : COPY . . [2022-09-01T10:12:47.018Z] ---> 23fbb86d6c44 [2022-09-01T10:12:47.018Z] Step 13/13 : RUN ${MAKE} [2022-09-01T10:12:47.018Z] ---> Running in 98180803931c [2022-09-01T10:12:47.018Z] noop [2022-09-01T10:12:47.018Z] Removing intermediate container 98180803931c [2022-09-01T10:12:47.018Z] ---> d7721e2ba464 [2022-09-01T10:12:47.018Z] Successfully built d7721e2ba464 [2022-09-01T10:12:47.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:12:47.337Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T10:12:47.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:12:47.432Z] prd-ubuntu20.04-docker-8c-8g-24300 does not seem to be running inside a container [2022-09-01T10:12:47.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-01T10:12:47.892Z] $ docker top b1004c8d5af9a26d6e3d9ccae2a8a8198ef7df52a46341eb5b41c707ce95b03f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T10:12:48.262Z] + go version [2022-09-01T10:12:48.262Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-01T10:12:48.276Z] $ docker stop --time=1 b1004c8d5af9a26d6e3d9ccae2a8a8198ef7df52a46341eb5b41c707ce95b03f [2022-09-01T10:12:49.586Z] $ docker rm -f b1004c8d5af9a26d6e3d9ccae2a8a8198ef7df52a46341eb5b41c707ce95b03f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:12:50.035Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-01T10:12:50.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:12:50.152Z] prd-ubuntu20.04-docker-8c-8g-24300 does not seem to be running inside a container [2022-09-01T10:12:50.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-01T10:12:50.651Z] $ docker top 53261751e9d51f2f55ddb3095e2fa549a2bc4e78e6dec62e79566d69bddeb835 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T10:12:51.055Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-09-01T10:12:51.358Z] + make test [2022-09-01T10:12:51.358Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T10:12:51.616Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T10:13:03.864Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T10:13:04.126Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.6% of statements [2022-09-01T10:13:04.126Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T10:13:07.433Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.210s coverage: 13.8% of statements [2022-09-01T10:13:15.568Z] 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-09-01T10:13:15.568Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T10:13:18.857Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T10:13:18.857Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T10:13:18.857Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T10:13:18.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T10:13:18.882Z] $ docker stop --time=1 53261751e9d51f2f55ddb3095e2fa549a2bc4e78e6dec62e79566d69bddeb835 [2022-09-01T10:13:20.736Z] $ docker rm -f 53261751e9d51f2f55ddb3095e2fa549a2bc4e78e6dec62e79566d69bddeb835 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T10:13:21.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T10:13:21.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-01T10:13:21.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T10:13:22.029Z] + ls -al . [2022-09-01T10:13:22.029Z] total 232 [2022-09-01T10:13:22.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 10:12 . [2022-09-01T10:13:22.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:11 .. [2022-09-01T10:13:22.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 10:13 .git [2022-09-01T10:13:22.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 10:11 .github [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 10:11 .gitignore [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 10:11 .golangci.yml [2022-09-01T10:13:22.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 10:12 .semver [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 10:11 Attribution.txt [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 10:11 CHANGELOG.md [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 1 10:11 Dockerfile [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 10:11 GOVERNANCE.md [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 10:11 Jenkinsfile [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 10:11 LICENSE [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 10:11 Makefile [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 10:11 OWNERS.md [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 10:11 README.md [2022-09-01T10:13:22.029Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 10:12 VERSION [2022-09-01T10:13:22.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 10:11 bin [2022-09-01T10:13:22.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 10:11 cmd [2022-09-01T10:13:22.029Z] -rw-r--r-- 1 jenkins jenkins 77457 Sep 1 10:13 coverage.out [2022-09-01T10:13:22.030Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 10:11 doc [2022-09-01T10:13:22.030Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 10:11 go.mod [2022-09-01T10:13:22.030Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 10:11 go.sum [2022-09-01T10:13:22.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:11 internal [2022-09-01T10:13:22.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:11 snap [2022-09-01T10:13:22.030Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:13:22.348Z] + 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=c03d5104a056f705eb0c762ed1640beb2ca9f8ce --label arch=amd64 --label version=0.0.0 . [2022-09-01T10:13:22.348Z] Sending build context to Docker daemon 20.72MB [2022-09-01T10:13:22.348Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T10:13:22.348Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-01T10:13:22.348Z] ---> d7721e2ba464 [2022-09-01T10:13:22.348Z] Step 3/27 : ARG MAKE="make build" [2022-09-01T10:13:22.610Z] ---> Running in c309a328d00c [2022-09-01T10:13:22.610Z] Removing intermediate container c309a328d00c [2022-09-01T10:13:22.610Z] ---> 7f3f6ab1a74b [2022-09-01T10:13:22.610Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T10:13:22.610Z] ---> Running in 47d52a957a3d [2022-09-01T10:13:22.871Z] Removing intermediate container 47d52a957a3d [2022-09-01T10:13:22.871Z] ---> a7b6f14bc20a [2022-09-01T10:13:22.871Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T10:13:22.872Z] ---> Running in 78a7157177b7 [2022-09-01T10:13:22.872Z] Removing intermediate container 78a7157177b7 [2022-09-01T10:13:22.872Z] ---> f63b65256774 [2022-09-01T10:13:22.872Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-01T10:13:22.872Z] ---> Running in b4807c0fede1 [2022-09-01T10:13:22.872Z] Removing intermediate container b4807c0fede1 [2022-09-01T10:13:22.872Z] ---> 2678d8c3e2d4 [2022-09-01T10:13:22.872Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T10:13:23.133Z] ---> Running in 30e8fd0384f0 [2022-09-01T10:13:23.703Z] Removing intermediate container 30e8fd0384f0 [2022-09-01T10:13:23.703Z] ---> 8c030003fc90 [2022-09-01T10:13:23.703Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T10:13:23.703Z] ---> Running in fb29eb9ce60c [2022-09-01T10:13:23.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T10:13:24.918Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T10:13:25.181Z] OK: 211 MiB in 51 packages [2022-09-01T10:13:25.441Z] Removing intermediate container fb29eb9ce60c [2022-09-01T10:13:25.441Z] ---> 3226ed0184e5 [2022-09-01T10:13:25.441Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-01T10:13:25.441Z] ---> Running in 98d54e7f4f1d [2022-09-01T10:13:25.701Z] Removing intermediate container 98d54e7f4f1d [2022-09-01T10:13:25.701Z] ---> baf24e0923f8 [2022-09-01T10:13:25.701Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-01T10:13:25.701Z] ---> a6b3a8dbe35c [2022-09-01T10:13:25.701Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T10:13:25.701Z] ---> Running in 8d9032b24dda [2022-09-01T10:13:26.646Z] Removing intermediate container 8d9032b24dda [2022-09-01T10:13:26.646Z] ---> d0d41ca83a1d [2022-09-01T10:13:26.646Z] Step 12/27 : COPY . . [2022-09-01T10:13:27.218Z] ---> f7b93ee109f1 [2022-09-01T10:13:27.218Z] Step 13/27 : RUN ${MAKE} [2022-09-01T10:13:27.218Z] ---> Running in 253d8c502c11 [2022-09-01T10:13:27.477Z] 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-09-01T10:13:49.431Z] Removing intermediate container 253d8c502c11 [2022-09-01T10:13:49.431Z] ---> 17bb6a4d279a [2022-09-01T10:13:49.431Z] Step 14/27 : FROM alpine:3.16 [2022-09-01T10:13:49.431Z] 3.16: Pulling from library/alpine [2022-09-01T10:13:49.431Z] 213ec9aee27d: Pulling fs layer [2022-09-01T10:13:49.692Z] 213ec9aee27d: Verifying Checksum [2022-09-01T10:13:49.692Z] 213ec9aee27d: Download complete [2022-09-01T10:13:49.954Z] 213ec9aee27d: Pull complete [2022-09-01T10:13:49.954Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T10:13:49.954Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T10:13:49.954Z] ---> 9c6f07244728 [2022-09-01T10:13:49.954Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T10:13:49.954Z] ---> Running in 06b75ec388a3 [2022-09-01T10:13:50.215Z] Removing intermediate container 06b75ec388a3 [2022-09-01T10:13:50.215Z] ---> 159afb57eb29 [2022-09-01T10:13:50.215Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-01T10:13:50.215Z] ---> Running in c9db21b33451 [2022-09-01T10:13:50.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-01T10:13:50.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-01T10:13:50.737Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-01T10:13:50.737Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-01T10:13:50.737Z] (3/21) Installing readline (8.1.2-r0) [2022-09-01T10:13:50.737Z] (4/21) Installing bash (5.1.16-r2) [2022-09-01T10:13:50.737Z] Executing bash-5.1.16-r2.post-install [2022-09-01T10:13:50.737Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-01T10:13:50.737Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-01T10:13:50.737Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-01T10:13:50.737Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-01T10:13:50.737Z] (9/21) Installing curl (7.83.1-r3) [2022-09-01T10:13:50.737Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-01T10:13:50.737Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-01T10:13:50.737Z] (12/21) Installing jq (1.6-r1) [2022-09-01T10:13:50.737Z] (13/21) Installing popt (1.18-r0) [2022-09-01T10:13:50.737Z] (14/21) Installing pcre (8.45-r2) [2022-09-01T10:13:50.737Z] (15/21) Installing slang (2.3.2-r0) [2022-09-01T10:13:50.737Z] (16/21) Installing newt (0.52.21-r2) [2022-09-01T10:13:50.737Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T10:13:50.737Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-01T10:13:50.737Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T10:13:51.045Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-01T10:13:51.045Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-01T10:13:51.045Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T10:13:51.045Z] Executing ca-certificates-20220614-r0.trigger [2022-09-01T10:13:51.045Z] OK: 17 MiB in 35 packages [2022-09-01T10:13:51.615Z] Removing intermediate container c9db21b33451 [2022-09-01T10:13:51.615Z] ---> 69705cfca065 [2022-09-01T10:13:51.615Z] Step 17/27 : WORKDIR / [2022-09-01T10:13:51.615Z] ---> Running in 5dc6f36be6b0 [2022-09-01T10:13:51.615Z] Removing intermediate container 5dc6f36be6b0 [2022-09-01T10:13:51.615Z] ---> 65f885ccb546 [2022-09-01T10:13:51.615Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T10:13:52.186Z] ---> 5d4d4c862c3b [2022-09-01T10:13:52.186Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T10:13:52.448Z] ---> 25e6746d4bd6 [2022-09-01T10:13:52.448Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T10:13:52.709Z] ---> a2fd4613a87f [2022-09-01T10:13:52.709Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-01T10:13:52.709Z] ---> e95a15454d94 [2022-09-01T10:13:52.709Z] Step 22/27 : EXPOSE 59984 [2022-09-01T10:13:52.709Z] ---> Running in efa07b40426d [2022-09-01T10:13:52.970Z] Removing intermediate container efa07b40426d [2022-09-01T10:13:52.970Z] ---> 344d0f37b3fd [2022-09-01T10:13:52.970Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T10:13:52.970Z] ---> Running in c243198d5d05 [2022-09-01T10:13:52.970Z] Removing intermediate container c243198d5d05 [2022-09-01T10:13:52.970Z] ---> 8d68b63703d4 [2022-09-01T10:13:52.970Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T10:13:53.233Z] ---> Running in d7c9700624bf [2022-09-01T10:13:53.233Z] Removing intermediate container d7c9700624bf [2022-09-01T10:13:53.233Z] ---> f370f8b09fe4 [2022-09-01T10:13:53.233Z] Step 25/27 : LABEL arch=amd64 [2022-09-01T10:13:53.233Z] ---> Running in 63e8e8b857a5 [2022-09-01T10:13:53.233Z] Removing intermediate container 63e8e8b857a5 [2022-09-01T10:13:53.233Z] ---> 6315df83ad79 [2022-09-01T10:13:53.233Z] Step 26/27 : LABEL git_sha=c03d5104a056f705eb0c762ed1640beb2ca9f8ce [2022-09-01T10:13:53.496Z] ---> Running in 6f1d2c4ca0b7 [2022-09-01T10:13:53.496Z] Removing intermediate container 6f1d2c4ca0b7 [2022-09-01T10:13:53.496Z] ---> 400ca9bda20f [2022-09-01T10:13:53.496Z] Step 27/27 : LABEL version=0.0.0 [2022-09-01T10:13:53.496Z] ---> Running in 35f72ee1147f [2022-09-01T10:13:53.496Z] Removing intermediate container 35f72ee1147f [2022-09-01T10:13:53.496Z] ---> a9cb351d2960 [2022-09-01T10:13:53.496Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T10:13:53.496Z] Successfully built a9cb351d2960 [2022-09-01T10:13:53.758Z] 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-09-01T10:13:54.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T10:13:54.238Z] [2022-09-01T10:13:54.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:13:54.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T10:13:54.555Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-01T10:13:54.555Z] 5eb5b503b376: Pulling fs layer [2022-09-01T10:13:54.555Z] 5c69ac0246d0: Pulling fs layer [2022-09-01T10:13:54.555Z] ec43610c2a17: Pulling fs layer [2022-09-01T10:13:54.555Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-01T10:13:54.555Z] 33b1e0a273af: Pulling fs layer [2022-09-01T10:13:54.555Z] 5d3b04190fa2: Pulling fs layer [2022-09-01T10:13:54.555Z] 2f39f015ded8: Pulling fs layer [2022-09-01T10:13:54.555Z] 33b1e0a273af: Waiting [2022-09-01T10:13:54.555Z] 3a2ae6a8a46f: Waiting [2022-09-01T10:13:54.555Z] 2f39f015ded8: Waiting [2022-09-01T10:13:54.555Z] 5d3b04190fa2: Waiting [2022-09-01T10:13:54.555Z] 5c69ac0246d0: Verifying Checksum [2022-09-01T10:13:54.555Z] 5c69ac0246d0: Download complete [2022-09-01T10:13:54.555Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-01T10:13:54.555Z] 3a2ae6a8a46f: Download complete [2022-09-01T10:13:54.817Z] 33b1e0a273af: Verifying Checksum [2022-09-01T10:13:54.817Z] 33b1e0a273af: Download complete [2022-09-01T10:13:54.817Z] 5d3b04190fa2: Verifying Checksum [2022-09-01T10:13:54.817Z] 5d3b04190fa2: Download complete [2022-09-01T10:13:54.817Z] ec43610c2a17: Verifying Checksum [2022-09-01T10:13:54.817Z] ec43610c2a17: Download complete [2022-09-01T10:13:54.817Z] 5eb5b503b376: Verifying Checksum [2022-09-01T10:13:54.817Z] 5eb5b503b376: Download complete [2022-09-01T10:13:55.387Z] 2f39f015ded8: Download complete [2022-09-01T10:13:55.961Z] 5eb5b503b376: Pull complete [2022-09-01T10:13:56.221Z] 5c69ac0246d0: Pull complete [2022-09-01T10:13:56.791Z] ec43610c2a17: Pull complete [2022-09-01T10:13:56.791Z] 3a2ae6a8a46f: Pull complete [2022-09-01T10:13:57.052Z] 33b1e0a273af: Pull complete [2022-09-01T10:13:57.052Z] 5d3b04190fa2: Pull complete [2022-09-01T10:14:02.332Z] 2f39f015ded8: Pull complete [2022-09-01T10:14:02.332Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-01T10:14:02.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T10:14:02.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:14:02.432Z] prd-ubuntu20.04-docker-8c-8g-24300 does not seem to be running inside a container [2022-09-01T10:14:02.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-01T10:14:04.208Z] $ docker top abe00a88d48279ad3e51df06aaa71f45829300dd57c7f17be5441f035096f6ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:14:04.628Z] ---> job-cost.sh [2022-09-01T10:14:04.628Z] lf-activate-venv: SKIPPING [2022-09-01T10:14:04.628Z] INFO: No Stack... [2022-09-01T10:14:05.200Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T10:14:05.460Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T10:14:05.756Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-09-01T10:14:05.756Z] + cut -d, -f6 [Pipeline] lock [2022-09-01T10:14:05.770Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [2022-09-01T10:14:05.777Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] did not exist. Created. [2022-09-01T10:14:05.777Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T10:14:06.082Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-01T10:14:06.114Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T10:14:06.123Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T10:14:06.145Z] $ docker stop --time=1 abe00a88d48279ad3e51df06aaa71f45829300dd57c7f17be5441f035096f6ec [2022-09-01T10:14:07.336Z] $ docker rm -f abe00a88d48279ad3e51df06aaa71f45829300dd57c7f17be5441f035096f6ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-01T10:14:37.612Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24302 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-09-01T10:14:37.625Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-09-01T10:14:37.680Z] Selected Git installation does not exist. Using Default [2022-09-01T10:14:37.680Z] The recommended git tool is: NONE [2022-09-01T10:14:43.813Z] using credential edgex-jenkins-ssh [2022-09-01T10:14:43.836Z] Cloning the remote Git repository [2022-09-01T10:14:43.989Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T10:14:44.143Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-09-01T10:14:44.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T10:14:44.349Z] > git --version # timeout=10 [2022-09-01T10:14:44.407Z] > git --version # 'git version 2.25.1' [2022-09-01T10:14:44.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T10:14:44.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T10:14:46.236Z] Merging remotes/origin/main commit 06d0f2addced559a6b629125c025b062c3ce01e9 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-09-01T10:14:45.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T10:14:45.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-01T10:14:45.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-01T10:14:45.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-01T10:14:45.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T10:14:45.723Z] > 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-09-01T10:14:46.257Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T10:14:46.281Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-09-01T10:14:46.514Z] > git remote # timeout=10 [2022-09-01T10:14:46.533Z] > git config --get remote.origin.url # timeout=10 [2022-09-01T10:14:46.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-01T10:14:46.560Z] > git merge 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 [2022-09-01T10:14:47.032Z] Merge succeeded, producing 7ab7eb28381efe474bf10f9fbbf6b88f25d09313 [2022-09-01T10:14:47.033Z] Checking out Revision 7ab7eb28381efe474bf10f9fbbf6b88f25d09313 (PR-125) [2022-09-01T10:14:47.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-01T10:14:47.042Z] > git config core.sparsecheckout # timeout=10 [2022-09-01T10:14:47.057Z] > git checkout -f 7ab7eb28381efe474bf10f9fbbf6b88f25d09313 # timeout=10 [2022-09-01T10:14:51.507Z] Commit message: "Merge commit '06d0f2addced559a6b629125c025b062c3ce01e9' into HEAD" [2022-09-01T10:14:51.535Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T10:14:52.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-01T10:14:52.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T10:14:52.488Z] Dload Upload Total Spent Left Speed [2022-09-01T10:14:52.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-09-01T10:14:53.377Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-01T10:14:53.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-01T10:14:53.726Z] + sudo tee /etc/docker/daemon.new [2022-09-01T10:14:53.726Z] { [2022-09-01T10:14:53.726Z] "registry-mirrors": [ [2022-09-01T10:14:53.726Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-01T10:14:53.726Z] ], [2022-09-01T10:14:53.726Z] "bip": "10.250.0.254/24", [2022-09-01T10:14:53.726Z] "hosts": [ [2022-09-01T10:14:53.726Z] "tcp://0.0.0.0:5555", [2022-09-01T10:14:53.726Z] "unix:///var/run/docker.sock" [2022-09-01T10:14:53.726Z] ], [2022-09-01T10:14:53.726Z] "mtu": 1458, [2022-09-01T10:14:53.726Z] "selinux-enabled": true, [2022-09-01T10:14:53.726Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-01T10:14:53.726Z] } [Pipeline] sh [2022-09-01T10:14:54.070Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-01T10:14:54.411Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T10:15:12.781Z] provisioning config files... [2022-09-01T10:15:12.808Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config6336040962218197255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:15:13.424Z] ---> docker-login.sh [2022-09-01T10:15:13.425Z] nexus3.edgexfoundry.org:10001 [2022-09-01T10:15:14.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:15:14.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:15:14.301Z] Configure a credential helper to remove this warning. See [2022-09-01T10:15:14.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:15:14.301Z] [2022-09-01T10:15:14.301Z] Login Succeeded [2022-09-01T10:15:14.301Z] nexus3.edgexfoundry.org:10002 [2022-09-01T10:15:14.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:15:14.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:15:14.853Z] Configure a credential helper to remove this warning. See [2022-09-01T10:15:14.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:15:14.853Z] [2022-09-01T10:15:14.853Z] Login Succeeded [2022-09-01T10:15:14.853Z] nexus3.edgexfoundry.org:10003 [2022-09-01T10:15:15.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:15:15.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:15:15.405Z] Configure a credential helper to remove this warning. See [2022-09-01T10:15:15.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:15:15.405Z] [2022-09-01T10:15:15.405Z] Login Succeeded [2022-09-01T10:15:15.405Z] nexus3.edgexfoundry.org:10004 [2022-09-01T10:15:15.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:15:15.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:15:15.679Z] Configure a credential helper to remove this warning. See [2022-09-01T10:15:15.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:15:15.679Z] [2022-09-01T10:15:15.679Z] Login Succeeded [2022-09-01T10:15:15.679Z] docker.io [2022-09-01T10:15:16.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-01T10:15:16.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-01T10:15:16.555Z] Configure a credential helper to remove this warning. See [2022-09-01T10:15:16.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-01T10:15:16.555Z] [2022-09-01T10:15:16.555Z] Login Succeeded [2022-09-01T10:15:16.555Z] ---> docker-login.sh ends [Pipeline] } [2022-09-01T10:15:16.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-01T10:15:16.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T10:15:16.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-01T10:15:16.905Z] ========================================================= [2022-09-01T10:15:16.905Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-01T10:15:16.905Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:15:17.277Z] + 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-09-01T10:15:17.877Z] Sending build context to Docker daemon 14.13MB [2022-09-01T10:15:17.877Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T10:15:17.877Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-01T10:15:17.877Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-01T10:15:17.877Z] b3c136eddcbf: Pulling fs layer [2022-09-01T10:15:17.877Z] c0a3192eca97: Pulling fs layer [2022-09-01T10:15:17.877Z] a050256f5b6f: Pulling fs layer [2022-09-01T10:15:17.877Z] 656be50a0ddc: Pulling fs layer [2022-09-01T10:15:17.877Z] 2bbca73fdf42: Pulling fs layer [2022-09-01T10:15:17.877Z] 46d945488cbd: Pulling fs layer [2022-09-01T10:15:17.877Z] 8a5474983e97: Pulling fs layer [2022-09-01T10:15:17.877Z] 329c88fbcd65: Pulling fs layer [2022-09-01T10:15:17.877Z] 46d945488cbd: Waiting [2022-09-01T10:15:17.877Z] 8a5474983e97: Waiting [2022-09-01T10:15:17.877Z] 329c88fbcd65: Waiting [2022-09-01T10:15:17.877Z] 656be50a0ddc: Waiting [2022-09-01T10:15:17.877Z] 2bbca73fdf42: Waiting [2022-09-01T10:15:18.155Z] a050256f5b6f: Verifying Checksum [2022-09-01T10:15:18.155Z] a050256f5b6f: Download complete [2022-09-01T10:15:18.155Z] c0a3192eca97: Verifying Checksum [2022-09-01T10:15:18.155Z] c0a3192eca97: Download complete [2022-09-01T10:15:18.155Z] 2bbca73fdf42: Download complete [2022-09-01T10:15:18.155Z] 46d945488cbd: Verifying Checksum [2022-09-01T10:15:18.155Z] 46d945488cbd: Download complete [2022-09-01T10:15:18.155Z] b3c136eddcbf: Verifying Checksum [2022-09-01T10:15:18.155Z] b3c136eddcbf: Download complete [2022-09-01T10:15:19.153Z] b3c136eddcbf: Pull complete [2022-09-01T10:15:19.153Z] 329c88fbcd65: Verifying Checksum [2022-09-01T10:15:19.153Z] 329c88fbcd65: Download complete [2022-09-01T10:15:19.758Z] c0a3192eca97: Pull complete [2022-09-01T10:15:20.035Z] a050256f5b6f: Pull complete [2022-09-01T10:15:20.310Z] 8a5474983e97: Verifying Checksum [2022-09-01T10:15:20.310Z] 8a5474983e97: Download complete [2022-09-01T10:15:20.908Z] 656be50a0ddc: Verifying Checksum [2022-09-01T10:15:20.908Z] 656be50a0ddc: Download complete [2022-09-01T10:15:33.309Z] 656be50a0ddc: Pull complete [2022-09-01T10:15:33.309Z] 2bbca73fdf42: Pull complete [2022-09-01T10:15:33.584Z] 46d945488cbd: Pull complete [2022-09-01T10:15:40.342Z] 8a5474983e97: Pull complete [2022-09-01T10:15:42.336Z] 329c88fbcd65: Pull complete [2022-09-01T10:15:42.337Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-01T10:15:42.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-01T10:15:42.337Z] ---> ff4287adb874 [2022-09-01T10:15:42.337Z] Step 3/13 : ARG MAKE="make build" [2022-09-01T10:15:44.333Z] ---> Running in a42de15eb235 [2022-09-01T10:15:44.605Z] Removing intermediate container a42de15eb235 [2022-09-01T10:15:44.605Z] ---> 18cdf9c29a04 [2022-09-01T10:15:44.606Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T10:15:44.606Z] ---> Running in 8de933c3ac24 [2022-09-01T10:15:45.204Z] Removing intermediate container 8de933c3ac24 [2022-09-01T10:15:45.204Z] ---> 04b1b1b6fade [2022-09-01T10:15:45.204Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T10:15:45.204Z] ---> Running in c2a49d9e8681 [2022-09-01T10:15:45.479Z] Removing intermediate container c2a49d9e8681 [2022-09-01T10:15:45.479Z] ---> 210e2bf21996 [2022-09-01T10:15:45.479Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-01T10:15:45.479Z] ---> Running in 000d5c4755a2 [2022-09-01T10:15:45.772Z] Removing intermediate container 000d5c4755a2 [2022-09-01T10:15:45.772Z] ---> 02e5982c1e1b [2022-09-01T10:15:45.772Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T10:15:45.772Z] ---> Running in f87cf7c08b53 [2022-09-01T10:15:47.762Z] Removing intermediate container f87cf7c08b53 [2022-09-01T10:15:47.762Z] ---> e619a343a45f [2022-09-01T10:15:47.762Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T10:15:47.762Z] ---> Running in 63144aee6349 [2022-09-01T10:15:48.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T10:15:49.735Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T10:15:50.719Z] OK: 221 MiB in 51 packages [2022-09-01T10:15:51.329Z] Removing intermediate container 63144aee6349 [2022-09-01T10:15:51.329Z] ---> fa1c98156a97 [2022-09-01T10:15:51.329Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-01T10:15:51.329Z] ---> Running in 6f11cb566dfb [2022-09-01T10:15:51.612Z] Removing intermediate container 6f11cb566dfb [2022-09-01T10:15:51.612Z] ---> 9f758a5f4aaa [2022-09-01T10:15:51.612Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-01T10:15:52.210Z] ---> 16e3481f87c3 [2022-09-01T10:15:52.210Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T10:15:52.210Z] ---> Running in b0274b92ad7c [2022-09-01T10:16:48.777Z] Removing intermediate container b0274b92ad7c [2022-09-01T10:16:48.777Z] ---> 65dcc1f88f02 [2022-09-01T10:16:48.777Z] Step 12/13 : COPY . . [2022-09-01T10:16:48.777Z] ---> cd2326c8d82a [2022-09-01T10:16:48.777Z] Step 13/13 : RUN ${MAKE} [2022-09-01T10:16:48.777Z] ---> Running in 0b25ba447e31 [2022-09-01T10:16:48.777Z] noop [2022-09-01T10:16:48.777Z] Removing intermediate container 0b25ba447e31 [2022-09-01T10:16:48.777Z] ---> 912fe086e63b [2022-09-01T10:16:48.777Z] Successfully built 912fe086e63b [2022-09-01T10:16:48.777Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:16:49.148Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T10:16:49.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:16:49.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-24302 does not seem to be running inside a container [2022-09-01T10:16:49.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-09-01T10:16:50.841Z] $ docker top 51cfcbb64192d84453e26cb924c7792a837a5a23b1360401310fdc9c4b561576 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T10:16:51.771Z] + go version [2022-09-01T10:16:51.771Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-01T10:16:51.806Z] $ docker stop --time=1 51cfcbb64192d84453e26cb924c7792a837a5a23b1360401310fdc9c4b561576 [2022-09-01T10:16:53.483Z] $ docker rm -f 51cfcbb64192d84453e26cb924c7792a837a5a23b1360401310fdc9c4b561576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:16:54.131Z] + docker inspect -f . ci-base-image-arm64 [2022-09-01T10:16:54.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:16:54.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-24302 does not seem to be running inside a container [2022-09-01T10:16:54.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-09-01T10:16:55.686Z] $ docker top 4dd745d36b3747c3ed6eb3a2ecfcfc9c24a3503bcf90ad450d0fffc4242f6473 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T10:16:56.575Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh [2022-09-01T10:16:57.257Z] + make test [2022-09-01T10:16:57.257Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-01T10:16:59.242Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-01T10:18:36.135Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-01T10:18:36.135Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.221s coverage: 28.6% of statements [2022-09-01T10:18:36.135Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-01T10:19:02.964Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 32.807s coverage: 13.8% of statements [2022-09-01T10:19:02.964Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-01T10:19:02.964Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-01T10:19:25.196Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-01T10:19:25.196Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-01T10:19:25.196Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-01T10:19:25.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-01T10:19:25.247Z] $ docker stop --time=1 4dd745d36b3747c3ed6eb3a2ecfcfc9c24a3503bcf90ad450d0fffc4242f6473 [2022-09-01T10:19:27.076Z] $ docker rm -f 4dd745d36b3747c3ed6eb3a2ecfcfc9c24a3503bcf90ad450d0fffc4242f6473 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-01T10:19:28.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-01T10:19:28.166Z] Warning: overwriting stash ‘coverage-report’ [2022-09-01T10:19:28.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-01T10:19:29.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-01T10:19:29.499Z] + ls -al . [2022-09-01T10:19:29.499Z] total 228 [2022-09-01T10:19:29.499Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 10:16 . [2022-09-01T10:19:29.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:14 .. [2022-09-01T10:19:29.499Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 10:14 .git [2022-09-01T10:19:29.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 10:14 .github [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 10:14 .gitignore [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 10:14 .golangci.yml [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 10:14 Attribution.txt [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 10:14 CHANGELOG.md [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 1742 Sep 1 10:14 Dockerfile [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 10:14 GOVERNANCE.md [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 10:14 Jenkinsfile [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 10:14 LICENSE [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 10:14 Makefile [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 10:14 OWNERS.md [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 10:14 README.md [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 10:12 VERSION [2022-09-01T10:19:29.499Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 10:14 bin [2022-09-01T10:19:29.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 10:14 cmd [2022-09-01T10:19:29.499Z] -rw-r--r-- 1 jenkins jenkins 77457 Sep 1 10:18 coverage.out [2022-09-01T10:19:29.499Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 10:14 doc [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 10:14 go.mod [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 10:14 go.sum [2022-09-01T10:19:29.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:14 internal [2022-09-01T10:19:29.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 10:14 snap [2022-09-01T10:19:29.499Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:19:29.858Z] + 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=7ab7eb28381efe474bf10f9fbbf6b88f25d09313 --label arch=arm64 --label version=0.0.0 . [2022-09-01T10:19:30.469Z] Sending build context to Docker daemon 14.21MB [2022-09-01T10:19:30.469Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-01T10:19:30.469Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-01T10:19:30.469Z] ---> 912fe086e63b [2022-09-01T10:19:30.469Z] Step 3/27 : ARG MAKE="make build" [2022-09-01T10:19:30.469Z] ---> Running in c85e38316c1c [2022-09-01T10:19:30.752Z] Removing intermediate container c85e38316c1c [2022-09-01T10:19:30.752Z] ---> b7af9ea22a3b [2022-09-01T10:19:30.752Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-01T10:19:31.024Z] ---> Running in de5243a8173c [2022-09-01T10:19:31.298Z] Removing intermediate container de5243a8173c [2022-09-01T10:19:31.298Z] ---> 9cf0a29c2150 [2022-09-01T10:19:31.298Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-01T10:19:31.298Z] ---> Running in 5db5ee879fd9 [2022-09-01T10:19:31.573Z] Removing intermediate container 5db5ee879fd9 [2022-09-01T10:19:31.573Z] ---> 82be5be4ef33 [2022-09-01T10:19:31.573Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-09-01T10:19:31.573Z] ---> Running in 1f6db4e2d2f7 [2022-09-01T10:19:31.860Z] Removing intermediate container 1f6db4e2d2f7 [2022-09-01T10:19:31.860Z] ---> 52b66dc2504c [2022-09-01T10:19:31.860Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-01T10:19:32.141Z] ---> Running in 17eace4742ab [2022-09-01T10:19:33.597Z] Removing intermediate container 17eace4742ab [2022-09-01T10:19:33.597Z] ---> 322c840f707f [2022-09-01T10:19:33.597Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-01T10:19:33.597Z] ---> Running in 3d36c1679d54 [2022-09-01T10:19:34.583Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T10:19:35.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T10:19:36.555Z] OK: 221 MiB in 51 packages [2022-09-01T10:19:37.165Z] Removing intermediate container 3d36c1679d54 [2022-09-01T10:19:37.165Z] ---> 1bcd03400d4e [2022-09-01T10:19:37.165Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-09-01T10:19:37.442Z] ---> Running in c5265185e7b0 [2022-09-01T10:19:37.719Z] Removing intermediate container c5265185e7b0 [2022-09-01T10:19:37.720Z] ---> f7646ce4df03 [2022-09-01T10:19:37.720Z] Step 10/27 : COPY go.mod vendor* ./ [2022-09-01T10:19:38.320Z] ---> f94d1585ca9d [2022-09-01T10:19:38.320Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-01T10:19:38.320Z] ---> Running in b1d6f1238119 [2022-09-01T10:19:40.308Z] Removing intermediate container b1d6f1238119 [2022-09-01T10:19:40.308Z] ---> c6f3c14cfa5b [2022-09-01T10:19:40.308Z] Step 12/27 : COPY . . [2022-09-01T10:19:41.758Z] ---> 7484667b1925 [2022-09-01T10:19:41.758Z] Step 13/27 : RUN ${MAKE} [2022-09-01T10:19:41.758Z] ---> Running in 379ec74089c6 [2022-09-01T10:19:42.740Z] 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-09-01T10:22:04.689Z] Removing intermediate container 379ec74089c6 [2022-09-01T10:22:04.689Z] ---> b2217d9872ab [2022-09-01T10:22:04.689Z] Step 14/27 : FROM alpine:3.16 [2022-09-01T10:22:04.689Z] 3.16: Pulling from library/alpine [2022-09-01T10:22:04.689Z] 9b18e9b68314: Pulling fs layer [2022-09-01T10:22:04.689Z] 9b18e9b68314: Verifying Checksum [2022-09-01T10:22:04.689Z] 9b18e9b68314: Pull complete [2022-09-01T10:22:04.689Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-01T10:22:04.689Z] Status: Downloaded newer image for alpine:3.16 [2022-09-01T10:22:04.689Z] ---> a6215f271958 [2022-09-01T10:22:04.689Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-01T10:22:04.689Z] ---> Running in 132e7b7e982c [2022-09-01T10:22:04.689Z] Removing intermediate container 132e7b7e982c [2022-09-01T10:22:04.689Z] ---> 876d82b6d00e [2022-09-01T10:22:04.689Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-09-01T10:22:04.689Z] ---> Running in b37ebcd760d9 [2022-09-01T10:22:04.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-01T10:22:04.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-01T10:22:04.689Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-01T10:22:04.689Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-01T10:22:04.689Z] (3/21) Installing readline (8.1.2-r0) [2022-09-01T10:22:04.689Z] (4/21) Installing bash (5.1.16-r2) [2022-09-01T10:22:04.689Z] Executing bash-5.1.16-r2.post-install [2022-09-01T10:22:04.689Z] (5/21) Installing ca-certificates (20220614-r0) [2022-09-01T10:22:04.689Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-09-01T10:22:04.689Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-09-01T10:22:04.689Z] (8/21) Installing libcurl (7.83.1-r3) [2022-09-01T10:22:04.689Z] (9/21) Installing curl (7.83.1-r3) [2022-09-01T10:22:04.689Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-09-01T10:22:04.689Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-09-01T10:22:04.689Z] (12/21) Installing jq (1.6-r1) [2022-09-01T10:22:04.689Z] (13/21) Installing popt (1.18-r0) [2022-09-01T10:22:04.689Z] (14/21) Installing pcre (8.45-r2) [2022-09-01T10:22:04.689Z] (15/21) Installing slang (2.3.2-r0) [2022-09-01T10:22:04.689Z] (16/21) Installing newt (0.52.21-r2) [2022-09-01T10:22:04.689Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-09-01T10:22:04.689Z] (18/21) Installing libsodium (1.0.18-r0) [2022-09-01T10:22:04.689Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-01T10:22:04.689Z] (20/21) Installing libzmq (4.3.4-r0) [2022-09-01T10:22:04.689Z] (21/21) Installing zeromq (4.3.4-r0) [2022-09-01T10:22:04.689Z] Executing busybox-1.35.0-r17.trigger [2022-09-01T10:22:04.689Z] Executing ca-certificates-20220614-r0.trigger [2022-09-01T10:22:04.689Z] OK: 16 MiB in 35 packages [2022-09-01T10:22:04.689Z] Removing intermediate container b37ebcd760d9 [2022-09-01T10:22:04.689Z] ---> 6b0597b01d73 [2022-09-01T10:22:04.689Z] Step 17/27 : WORKDIR / [2022-09-01T10:22:04.689Z] ---> Running in 703e099606bf [2022-09-01T10:22:04.689Z] Removing intermediate container 703e099606bf [2022-09-01T10:22:04.689Z] ---> e8654415e1aa [2022-09-01T10:22:04.689Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-01T10:22:04.689Z] ---> 7efb0a182f7f [2022-09-01T10:22:04.689Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-01T10:22:04.689Z] ---> 045f7c7441e2 [2022-09-01T10:22:04.689Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-01T10:22:04.689Z] ---> c1cf16f2a506 [2022-09-01T10:22:04.689Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-09-01T10:22:04.689Z] ---> d38f85146f9b [2022-09-01T10:22:04.689Z] Step 22/27 : EXPOSE 59984 [2022-09-01T10:22:04.689Z] ---> Running in 3ae819cf76e1 [2022-09-01T10:22:04.689Z] Removing intermediate container 3ae819cf76e1 [2022-09-01T10:22:04.689Z] ---> d63c2ece1b67 [2022-09-01T10:22:04.689Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-01T10:22:04.689Z] ---> Running in 8f12ce5a0e10 [2022-09-01T10:22:04.689Z] Removing intermediate container 8f12ce5a0e10 [2022-09-01T10:22:04.689Z] ---> 6c39e6b5d269 [2022-09-01T10:22:04.689Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-01T10:22:04.689Z] ---> Running in 1a4439cea175 [2022-09-01T10:22:04.966Z] Removing intermediate container 1a4439cea175 [2022-09-01T10:22:04.966Z] ---> 5bf6779af5dd [2022-09-01T10:22:04.966Z] Step 25/27 : LABEL arch=arm64 [2022-09-01T10:22:05.242Z] ---> Running in 27e528ab09b0 [2022-09-01T10:22:05.517Z] Removing intermediate container 27e528ab09b0 [2022-09-01T10:22:05.517Z] ---> 35a7b555639c [2022-09-01T10:22:05.517Z] Step 26/27 : LABEL git_sha=7ab7eb28381efe474bf10f9fbbf6b88f25d09313 [2022-09-01T10:22:05.517Z] ---> Running in 7e8e2d365ff0 [2022-09-01T10:22:05.793Z] Removing intermediate container 7e8e2d365ff0 [2022-09-01T10:22:05.793Z] ---> bec59bc7708d [2022-09-01T10:22:05.793Z] Step 27/27 : LABEL version=0.0.0 [2022-09-01T10:22:05.793Z] ---> Running in c98a62e058c2 [2022-09-01T10:22:06.393Z] Removing intermediate container c98a62e058c2 [2022-09-01T10:22:06.393Z] ---> 7e33b9408836 [2022-09-01T10:22:06.393Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-01T10:22:06.393Z] Successfully built 7e33b9408836 [2022-09-01T10:22:06.393Z] 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-09-01T10:22:06.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T10:22:06.864Z] [2022-09-01T10:22:06.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:22:07.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T10:22:07.502Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-01T10:22:07.502Z] 8998bd30e6a1: Pulling fs layer [2022-09-01T10:22:07.502Z] 04944245beec: Pulling fs layer [2022-09-01T10:22:07.502Z] 699f458cf7ca: Pulling fs layer [2022-09-01T10:22:07.502Z] 765212b225bb: Pulling fs layer [2022-09-01T10:22:07.502Z] f23df028b6ca: Pulling fs layer [2022-09-01T10:22:07.502Z] d65c8cfc05b1: Pulling fs layer [2022-09-01T10:22:07.502Z] 2437ff75d9bd: Pulling fs layer [2022-09-01T10:22:07.502Z] 765212b225bb: Waiting [2022-09-01T10:22:07.502Z] f23df028b6ca: Waiting [2022-09-01T10:22:07.502Z] 2437ff75d9bd: Waiting [2022-09-01T10:22:07.502Z] d65c8cfc05b1: Waiting [2022-09-01T10:22:07.502Z] 04944245beec: Verifying Checksum [2022-09-01T10:22:07.502Z] 04944245beec: Download complete [2022-09-01T10:22:07.502Z] 765212b225bb: Verifying Checksum [2022-09-01T10:22:07.502Z] 765212b225bb: Download complete [2022-09-01T10:22:07.502Z] f23df028b6ca: Verifying Checksum [2022-09-01T10:22:07.502Z] f23df028b6ca: Download complete [2022-09-01T10:22:07.502Z] d65c8cfc05b1: Verifying Checksum [2022-09-01T10:22:07.502Z] d65c8cfc05b1: Download complete [2022-09-01T10:22:07.780Z] 699f458cf7ca: Verifying Checksum [2022-09-01T10:22:08.058Z] 8998bd30e6a1: Download complete [2022-09-01T10:22:10.704Z] 2437ff75d9bd: Verifying Checksum [2022-09-01T10:22:10.704Z] 2437ff75d9bd: Download complete [2022-09-01T10:22:12.690Z] 8998bd30e6a1: Pull complete [2022-09-01T10:22:12.690Z] 04944245beec: Pull complete [2022-09-01T10:22:14.676Z] 699f458cf7ca: Pull complete [2022-09-01T10:22:14.676Z] 765212b225bb: Pull complete [2022-09-01T10:22:15.660Z] f23df028b6ca: Pull complete [2022-09-01T10:22:15.660Z] d65c8cfc05b1: Pull complete [2022-09-01T10:22:30.758Z] 2437ff75d9bd: Pull complete [2022-09-01T10:22:30.758Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-01T10:22:30.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-01T10:22:30.758Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:22:31.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-24302 does not seem to be running inside a container [2022-09-01T10:22:31.113Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-09-01T10:22:33.587Z] $ docker top ed3a0308c9e262cc7aebebf74d9f7eca3e6c0352038f17d039509fd3cf392fa7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:34.480Z] ---> job-cost.sh [2022-09-01T10:22:34.480Z] lf-activate-venv: SKIPPING [2022-09-01T10:22:34.480Z] INFO: No Stack... [2022-09-01T10:22:35.078Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-01T10:22:35.675Z] INFO: Archiving Costs [Pipeline] sh [2022-09-01T10:22:36.346Z] + cat /w/workspace/device-onvif-camera/10/archives/cost.csv+ [2022-09-01T10:22:36.346Z] cut -d, -f6 [Pipeline] lock [2022-09-01T10:22:36.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [2022-09-01T10:22:36.419Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] did not exist. Created. [2022-09-01T10:22:36.419Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-01T10:22:37.099Z] /w/workspace/device-onvif-camera/10@tmp/durable-f3f50212/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-01T10:22:37.786Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-01T10:22:37.822Z] Warning: overwriting stash ‘stack-cost’ [2022-09-01T10:22:37.883Z] Stashed 1 file(s) [Pipeline] } [2022-09-01T10:22:37.890Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-01T10:22:37.929Z] $ docker stop --time=1 ed3a0308c9e262cc7aebebf74d9f7eca3e6c0352038f17d039509fd3cf392fa7 [2022-09-01T10:22:39.436Z] $ docker rm -f ed3a0308c9e262cc7aebebf74d9f7eca3e6c0352038f17d039509fd3cf392fa7 [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-09-01T10:22:39.896Z] provisioning config files... [2022-09-01T10:22:39.905Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5360852850042669437tmp [Pipeline] { [Pipeline] sh [2022-09-01T10:22:40.203Z] + set +x [2022-09-01T10:22:40.203Z] + curl -s https://codecov.io/bash [2022-09-01T10:22:40.203Z] + bash -s -- [2022-09-01T10:22:40.203Z] [2022-09-01T10:22:40.203Z] _____ _ [2022-09-01T10:22:40.203Z] / ____| | | [2022-09-01T10:22:40.203Z] | | ___ __| | ___ ___ _____ __ [2022-09-01T10:22:40.203Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-01T10:22:40.203Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-01T10:22:40.203Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-01T10:22:40.203Z] Bash-1.0.6 [2022-09-01T10:22:40.203Z] [2022-09-01T10:22:40.203Z] [2022-09-01T10:22:40.203Z] ==> git version 2.25.1 found [2022-09-01T10:22:40.203Z] ==> 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-09-01T10:22:40.203Z] Release-Date: 2020-01-08 [2022-09-01T10:22:40.203Z] 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-09-01T10:22:40.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-01T10:22:40.203Z] ==> Jenkins CI detected. [2022-09-01T10:22:40.203Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-09-01T10:22:40.203Z] project root: . [2022-09-01T10:22:40.203Z] --> token set from env [2022-09-01T10:22:40.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-01T10:22:40.203Z] ==> Running gcov in . (disable via -X gcov) [2022-09-01T10:22:40.203Z] ==> Python coveragepy not found [2022-09-01T10:22:40.203Z] ==> Searching for coverage reports in: [2022-09-01T10:22:40.203Z] + . [2022-09-01T10:22:40.203Z] -> Found 1 reports [2022-09-01T10:22:40.203Z] ==> Detecting git/mercurial file structure [2022-09-01T10:22:40.203Z] ==> Reading reports [2022-09-01T10:22:40.203Z] + ./coverage.out bytes=77457 [2022-09-01T10:22:40.203Z] ==> Appending adjustments [2022-09-01T10:22:40.203Z] https://docs.codecov.io/docs/fixing-reports [2022-09-01T10:22:40.464Z] + Found adjustments [2022-09-01T10:22:40.464Z] ==> Gzipping contents [2022-09-01T10:22:40.464Z] 12K /tmp/codecov.IKWWIX.gz [2022-09-01T10:22:40.464Z] ==> Uploading reports [2022-09-01T10:22:40.464Z] url: https://codecov.io [2022-09-01T10:22:40.464Z] query: branch=PR-125&commit=c03d5104a056f705eb0c762ed1640beb2ca9f8ce&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-01T10:22:40.464Z] -> Pinging Codecov [2022-09-01T10:22:40.464Z] 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=c03d5104a056f705eb0c762ed1640beb2ca9f8ce&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-09-01T10:22:40.724Z] -> Uploading to [2022-09-01T10:22:40.724Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/c03d5104a056f705eb0c762ed1640beb2ca9f8ce/e82da4ee-61dc-4709-8fdc-c5a63fd22229.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T102240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f409c06ee6e7aced0f5b73b042be37449f9b14807af57c4f4710509e21564d98 [2022-09-01T10:22:40.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-01T10:22:40.724Z] Dload Upload Total Spent Left Speed [2022-09-01T10:22:40.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10725 0 0 100 10725 0 51071 --:--:-- --:--:-- --:--:-- 51071 [2022-09-01T10:22:40.985Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/c03d5104a056f705eb0c762ed1640beb2ca9f8ce [Pipeline] } [2022-09-01T10:22:40.992Z] 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-09-01T10:22:41.711Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-09-01T10:22:41.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-01T10:22:41.711Z] total 16 [2022-09-01T10:22:41.711Z] drwxr-xr-x 3 root root 4096 Sep 1 10:14 . [2022-09-01T10:22:41.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 10:14 .. [2022-09-01T10:22:41.711Z] drwxr-xr-x 2 root root 4096 Sep 1 10:14 cost [2022-09-01T10:22:41.711Z] -rw-r--r-- 1 root root 92 Sep 1 10:14 cost.csv [2022-09-01T10:22:41.711Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-01T10:22:41.711Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-09-01T10:22:41.711Z] total 16 [2022-09-01T10:22:41.711Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 10:14 . [2022-09-01T10:22:41.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 10:14 .. [2022-09-01T10:22:41.711Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 10:14 cost [2022-09-01T10:22:41.711Z] -rw-r--r-- 1 jenkins jenkins 92 Sep 1 10:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:42.005Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:42.872Z] ---> package-listing.sh [2022-09-01T10:22:42.872Z] ++ facter osfamily [2022-09-01T10:22:42.872Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-01T10:22:43.132Z] + OS_FAMILY=debian [2022-09-01T10:22:43.132Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-09-01T10:22:43.132Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-01T10:22:43.132Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-01T10:22:43.132Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-01T10:22:43.132Z] + PACKAGES=/tmp/packages_start.txt [2022-09-01T10:22:43.132Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-01T10:22:43.132Z] + PACKAGES=/tmp/packages_end.txt [2022-09-01T10:22:43.132Z] + case "${OS_FAMILY}" in [2022-09-01T10:22:43.132Z] + dpkg -l [2022-09-01T10:22:43.132Z] + grep '^ii' [2022-09-01T10:22:43.132Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-01T10:22:43.132Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-01T10:22:43.132Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-01T10:22:43.132Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-09-01T10:22:43.132Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-09-01T10:22:43.132Z] + 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-09-01T10:22:43.142Z] 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-09-01T10:22:43.423Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-01T10:22:43.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-01T10:22:43.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-01T10:22:44.082Z] prd-ubuntu20.04-docker-8c-8g-24300 does not seem to be running inside a container [2022-09-01T10:22:44.120Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-01T10:22:44.370Z] $ docker top 13bda83a68249127958898f3552f3bafcb8707d513b703165e4cdb001b86d0be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-01T10:22:44.737Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-01T10:22:45.027Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-01T10:22:45.314Z] + ls /var/log/sa-host [2022-09-01T10:22:45.314Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-01T10:22:45.390Z] provisioning config files... [2022-09-01T10:22:45.401Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5382911865519673393tmp [Pipeline] { [Pipeline] echo [2022-09-01T10:22:45.419Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:45.708Z] ---> create-netrc.sh [Pipeline] } [2022-09-01T10:22:45.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:46.063Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-01T10:22:46.074Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:46.365Z] ---> sudo-logs.sh [2022-09-01T10:22:46.365Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-01T10:22:46.390Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:46.680Z] ---> job-cost.sh [2022-09-01T10:22:46.680Z] lf-activate-venv: SKIPPING [2022-09-01T10:22:46.680Z] DEBUG: total: 0.2199999988079071 [2022-09-01T10:22:46.680Z] INFO: Retrieving Stack Cost... [2022-09-01T10:22:46.941Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-01T10:22:47.512Z] INFO: Archiving Costs [Pipeline] echo [2022-09-01T10:22:47.525Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-01T10:22:47.812Z] ---> logs-deploy.sh [2022-09-01T10:22:47.812Z] lf-activate-venv: SKIPPING [2022-09-01T10:22:47.812Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/10 [2022-09-01T10:22:47.812Z] INFO: archiving workspace using pattern(s): [2022-09-01T10:22:48.757Z] Archives upload complete. [2022-09-01T10:22:48.758Z] INFO: archiving logs to Nexus