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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 93dadf11464e800d463b181b6237fc617ac7c8d5 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh8250221344252625999.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-ssh7333551204775389086.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-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4481115027468064999.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-ssh14894766156128125916.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-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13839318764400872139.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-29039 in /w/workspace/undry_device-onvif-camera_PR-152 [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-152 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 Merge succeeded, producing 1947698ebb1fd120b75fe3895cdfdffb690ad969 Checking out Revision 1947698ebb1fd120b75fe3895cdfdffb690ad969 (PR-152) > 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1947698ebb1fd120b75fe3895cdfdffb690ad969 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-13T10:10:17.635Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-13T10:10:17.699Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-13T10:10:17.714Z] ========================================================= [2022-09-13T10:10:17.714Z] EdgeX Global Pipelines Version Info [2022-09-13T10:10:17.714Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:10:18.466Z] ------------------- [2022-09-13T10:10:18.467Z] stable info: [2022-09-13T10:10:18.467Z] ------------------- [2022-09-13T10:10:18.467Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-13T10:10:18.467Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-13T10:10:18.467Z] Message: update stable to v1.0.239 [2022-09-13T10:10:19.042Z] ------------------- [2022-09-13T10:10:19.042Z] experimental info: [2022-09-13T10:10:19.042Z] ------------------- [2022-09-13T10:10:19.042Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-13T10:10:19.042Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-13T10:10:19.042Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-13T10:10:19.243Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-13T10:10:19.256Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-13T10:10:19.265Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-13T10:10:19.277Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-13T10:10:19.290Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-13T10:10:19.302Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-13T10:10:19.313Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-13T10:10:19.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-13T10:10:19.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-13T10:10:19.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-13T10:10:19.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-13T10:10:19.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-13T10:10:19.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-13T10:10:19.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-13T10:10:19.392Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-13T10:10:19.400Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-13T10:10:19.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-13T10:10:19.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-13T10:10:19.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-13T10:10:19.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-13T10:10:19.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-13T10:10:19.450Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-13T10:10:19.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-13T10:10:19.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-13T10:10:19.488Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-13T10:10:19.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-13T10:10:19.514Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-13T10:10:19.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2022-09-13T10:10:19.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2022-09-13T10:10:19.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2022-09-13T10:10:19.572Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1947698ebb1fd120b75fe3895cdfdffb690ad969 [Pipeline] echo [2022-09-13T10:10:19.582Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1947698 [Pipeline] echo [2022-09-13T10:10:19.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:10:19.637Z] provisioning config files... [2022-09-13T10:10:19.651Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config744288411874886434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:10:19.960Z] ---> docker-login.sh [2022-09-13T10:10:19.960Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:10:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:20.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:20.485Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:20.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:20.485Z] [2022-09-13T10:10:20.485Z] Login Succeeded [2022-09-13T10:10:20.485Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:10:20.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:20.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:20.485Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:20.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:20.485Z] [2022-09-13T10:10:20.485Z] Login Succeeded [2022-09-13T10:10:20.485Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:10:20.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:20.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:20.748Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:20.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:20.748Z] [2022-09-13T10:10:20.748Z] Login Succeeded [2022-09-13T10:10:20.748Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:10:20.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:21.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:21.011Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:21.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:21.011Z] [2022-09-13T10:10:21.011Z] Login Succeeded [2022-09-13T10:10:21.011Z] docker.io [2022-09-13T10:10:21.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:21.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:21.273Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:21.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:21.273Z] [2022-09-13T10:10:21.273Z] Login Succeeded [2022-09-13T10:10:21.273Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:10:21.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-13T10:10:21.680Z] + git rev-list -1 --merges 1947698ebb1fd120b75fe3895cdfdffb690ad969~1..1947698ebb1fd120b75fe3895cdfdffb690ad969 [Pipeline] echo [2022-09-13T10:10:21.710Z] -----------> git rev-list -1 --merges 1947698ebb1fd120b75fe3895cdfdffb690ad969~1..1947698ebb1fd120b75fe3895cdfdffb690ad969 1947698ebb1fd120b75fe3895cdfdffb690ad969 [2022-09-13T10:10:21.710Z] 1947698ebb1fd120b75fe3895cdfdffb690ad969 [false] [Pipeline] sh [2022-09-13T10:10:22.004Z] + git log --format=format:%s -1 1947698ebb1fd120b75fe3895cdfdffb690ad969 [Pipeline] echo [2022-09-13T10:10:22.022Z] ========================================================= [2022-09-13T10:10:22.022Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-13T10:10:22.022Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:10:22.380Z] + git log --format=format:%s -1 1947698ebb1fd120b75fe3895cdfdffb690ad969 [Pipeline] echo [2022-09-13T10:10:22.393Z] [semverPrep] GIT_COMMIT: 1947698ebb1fd120b75fe3895cdfdffb690ad969, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-13T10:10:22.403Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-13T10:10:22.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-13T10:10:22.776Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-13T10:10:22.776Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-13T10:10:22.776Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-13T10:10:22.776Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-13T10:10:22.776Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-13T10:10:22.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:10:23.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:10:23.245Z] [2022-09-13T10:10:23.245Z] 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-13T10:10:23.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:10:23.548Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-13T10:10:23.548Z] b85a868b505f: Pulling fs layer [2022-09-13T10:10:23.548Z] e2be974225ed: Pulling fs layer [2022-09-13T10:10:23.548Z] 339a4e72a1f5: Pulling fs layer [2022-09-13T10:10:23.548Z] 988bab9f4d93: Pulling fs layer [2022-09-13T10:10:23.548Z] 1469e6f7b9e6: Pulling fs layer [2022-09-13T10:10:23.548Z] eaf3925da568: Pulling fs layer [2022-09-13T10:10:23.548Z] bab4dde63d76: Pulling fs layer [2022-09-13T10:10:23.548Z] bde34c3a00c8: Pulling fs layer [2022-09-13T10:10:23.548Z] b352a97aabf1: Pulling fs layer [2022-09-13T10:10:23.548Z] 4872d77fe225: Pulling fs layer [2022-09-13T10:10:23.548Z] 5851b861e8e6: Pulling fs layer [2022-09-13T10:10:23.548Z] bab4dde63d76: Waiting [2022-09-13T10:10:23.548Z] bde34c3a00c8: Waiting [2022-09-13T10:10:23.548Z] b352a97aabf1: Waiting [2022-09-13T10:10:23.548Z] 5851b861e8e6: Waiting [2022-09-13T10:10:23.548Z] 1469e6f7b9e6: Waiting [2022-09-13T10:10:23.548Z] 988bab9f4d93: Waiting [2022-09-13T10:10:23.548Z] eaf3925da568: Waiting [2022-09-13T10:10:23.548Z] 4872d77fe225: Waiting [2022-09-13T10:10:23.548Z] e2be974225ed: Download complete [2022-09-13T10:10:23.548Z] 988bab9f4d93: Download complete [2022-09-13T10:10:23.809Z] 339a4e72a1f5: Verifying Checksum [2022-09-13T10:10:23.809Z] 339a4e72a1f5: Download complete [2022-09-13T10:10:23.809Z] 1469e6f7b9e6: Verifying Checksum [2022-09-13T10:10:23.809Z] 1469e6f7b9e6: Download complete [2022-09-13T10:10:23.809Z] eaf3925da568: Download complete [2022-09-13T10:10:23.809Z] bde34c3a00c8: Verifying Checksum [2022-09-13T10:10:23.809Z] bde34c3a00c8: Download complete [2022-09-13T10:10:23.809Z] b352a97aabf1: Verifying Checksum [2022-09-13T10:10:23.809Z] b352a97aabf1: Download complete [2022-09-13T10:10:23.809Z] 4872d77fe225: Verifying Checksum [2022-09-13T10:10:23.809Z] 4872d77fe225: Download complete [2022-09-13T10:10:23.809Z] 5851b861e8e6: Download complete [2022-09-13T10:10:23.809Z] b85a868b505f: Verifying Checksum [2022-09-13T10:10:23.809Z] b85a868b505f: Download complete [2022-09-13T10:10:24.069Z] bab4dde63d76: Verifying Checksum [2022-09-13T10:10:24.069Z] bab4dde63d76: Download complete [2022-09-13T10:10:25.451Z] b85a868b505f: Pull complete [2022-09-13T10:10:25.451Z] e2be974225ed: Pull complete [2022-09-13T10:10:26.024Z] 339a4e72a1f5: Pull complete [2022-09-13T10:10:26.024Z] 988bab9f4d93: Pull complete [2022-09-13T10:10:26.287Z] 1469e6f7b9e6: Pull complete [2022-09-13T10:10:26.287Z] eaf3925da568: Pull complete [2022-09-13T10:10:28.195Z] bab4dde63d76: Pull complete [2022-09-13T10:10:28.195Z] bde34c3a00c8: Pull complete [2022-09-13T10:10:28.195Z] b352a97aabf1: Pull complete [2022-09-13T10:10:28.458Z] 4872d77fe225: Pull complete [2022-09-13T10:10:28.458Z] 5851b861e8e6: Pull complete [2022-09-13T10:10:28.458Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-13T10:10:28.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-13T10:10:28.458Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:10:28.568Z] prd-ubuntu20.04-docker-8c-8g-29039 does not seem to be running inside a container [2022-09-13T10:10:28.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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-13T10:10:31.531Z] $ docker top 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 -eo pid,comm [2022-09-13T10:10:31.592Z] 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-13T10:10:31.592Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-13T10:10:31.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-13T10:10:31.626Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-13T10:10:31.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-13T10:10:31.773Z] $ docker exec 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 ssh-agent [2022-09-13T10:10:31.890Z] SSH_AUTH_SOCK=/tmp/ssh-d6prnIRFYeb6/agent.33 [2022-09-13T10:10:31.890Z] SSH_AGENT_PID=39 [2022-09-13T10:10:31.896Z] Running ssh-add (command line suppressed) [2022-09-13T10:10:32.025Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2615188376657362488.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2615188376657362488.key) [2022-09-13T10:10:32.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-13T10:10:32.335Z] + git tag --points-at HEAD [Pipeline] } [2022-09-13T10:10:32.358Z] $ docker exec --env ******** --env ******** 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 ssh-agent -k [2022-09-13T10:10:32.479Z] unset SSH_AUTH_SOCK; [2022-09-13T10:10:32.480Z] unset SSH_AGENT_PID; [2022-09-13T10:10:32.480Z] echo Agent pid 39 killed; [2022-09-13T10:10:32.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-13T10:10:32.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-13T10:10:32.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-13T10:10:32.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-13T10:10:32.661Z] $ docker exec 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 ssh-agent [2022-09-13T10:10:32.793Z] SSH_AUTH_SOCK=/tmp/ssh-x4d1VlLWlk4c/agent.72 [2022-09-13T10:10:32.793Z] SSH_AGENT_PID=78 [2022-09-13T10:10:32.798Z] Running ssh-add (command line suppressed) [2022-09-13T10:10:32.914Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2100585247147361173.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2100585247147361173.key) [2022-09-13T10:10:32.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-13T10:10:33.224Z] + git semver init [2022-09-13T10:10:33.484Z] 2022-09-13 10:10:33,418 [run_init] DEBUG init version:0.0.0 force:False [2022-09-13T10:10:33.484Z] 2022-09-13 10:10:33,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-13T10:10:33.484Z] 2022-09-13 10:10:33,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-13T10:10:33.484Z] 2022-09-13 10:10:33,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-152/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-152, universal_newlines=False, shell=None, istream=None) [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,461 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-152/.git/info/exclude [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,462 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 with force:False [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,462 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,465 [execute] INFO git cat-file --batch-check [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,473 [execute] INFO git cat-file --batch [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-13T10:10:34.876Z] 2022-09-13 10:10:34,479 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-13T10:10:34.876Z] 0.0.0 [Pipeline] } [2022-09-13T10:10:34.890Z] $ docker exec --env ******** --env ******** 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 ssh-agent -k [2022-09-13T10:10:34.992Z] unset SSH_AUTH_SOCK; [2022-09-13T10:10:34.992Z] unset SSH_AGENT_PID; [2022-09-13T10:10:34.992Z] echo Agent pid 78 killed; [2022-09-13T10:10:34.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-13T10:10:35.307Z] + git semver [Pipeline] } [2022-09-13T10:10:35.586Z] $ docker stop --time=1 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 [2022-09-13T10:10:36.920Z] $ docker rm -f 3d3c63494efdad4bf67e7bac395b25673e48e27b3bb37e62d8c626468390ed24 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:10:37.279Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-13T10:10:37.558Z] Stashed 1 file(s) [Pipeline] echo [2022-09-13T10:10:37.561Z] [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-13T10:10:37.673Z] provisioning config files... [2022-09-13T10:10:37.685Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config581130584138867334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:10:37.988Z] ---> docker-login.sh [2022-09-13T10:10:37.988Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:10:37.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:37.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:37.988Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:37.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:37.988Z] [2022-09-13T10:10:37.988Z] Login Succeeded [2022-09-13T10:10:37.988Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:10:37.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:38.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:38.248Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:38.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:38.248Z] [2022-09-13T10:10:38.248Z] Login Succeeded [2022-09-13T10:10:38.248Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:10:38.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:38.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:38.248Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:38.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:38.248Z] [2022-09-13T10:10:38.248Z] Login Succeeded [2022-09-13T10:10:38.248Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:10:38.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:38.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:38.509Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:38.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:38.509Z] [2022-09-13T10:10:38.509Z] Login Succeeded [2022-09-13T10:10:38.509Z] docker.io [2022-09-13T10:10:38.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:10:38.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:10:38.769Z] Configure a credential helper to remove this warning. See [2022-09-13T10:10:38.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:10:38.769Z] [2022-09-13T10:10:38.769Z] Login Succeeded [2022-09-13T10:10:38.769Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:10:38.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-13T10:10:38.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:10:38.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:10:38.867Z] ========================================================= [2022-09-13T10:10:38.867Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-13T10:10:38.867Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:10:39.183Z] + 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-13T10:10:39.183Z] Sending build context to Docker daemon 20.68MB [2022-09-13T10:10:39.183Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:10:39.183Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-13T10:10:39.443Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-13T10:10:39.443Z] 2408cc74d12b: Pulling fs layer [2022-09-13T10:10:39.443Z] ea60b727a1ce: Pulling fs layer [2022-09-13T10:10:39.443Z] 30c4a7721957: Pulling fs layer [2022-09-13T10:10:39.443Z] 370296b7ddb6: Pulling fs layer [2022-09-13T10:10:39.443Z] 7c6cee850709: Pulling fs layer [2022-09-13T10:10:39.443Z] 39a5fcdaea64: Pulling fs layer [2022-09-13T10:10:39.443Z] d94ebbe4e438: Pulling fs layer [2022-09-13T10:10:39.443Z] bcfd1f05c69d: Pulling fs layer [2022-09-13T10:10:39.443Z] 59ccb84bbe0f: Pulling fs layer [2022-09-13T10:10:39.443Z] 370296b7ddb6: Waiting [2022-09-13T10:10:39.443Z] 39a5fcdaea64: Waiting [2022-09-13T10:10:39.443Z] d94ebbe4e438: Waiting [2022-09-13T10:10:39.443Z] 7c6cee850709: Waiting [2022-09-13T10:10:39.443Z] bcfd1f05c69d: Waiting [2022-09-13T10:10:39.443Z] 59ccb84bbe0f: Waiting [2022-09-13T10:10:39.443Z] 30c4a7721957: Verifying Checksum [2022-09-13T10:10:39.443Z] 30c4a7721957: Download complete [2022-09-13T10:10:39.443Z] ea60b727a1ce: Verifying Checksum [2022-09-13T10:10:39.443Z] ea60b727a1ce: Download complete [2022-09-13T10:10:39.443Z] 7c6cee850709: Verifying Checksum [2022-09-13T10:10:39.443Z] 7c6cee850709: Download complete [2022-09-13T10:10:39.443Z] 2408cc74d12b: Verifying Checksum [2022-09-13T10:10:39.443Z] 39a5fcdaea64: Verifying Checksum [2022-09-13T10:10:39.443Z] 39a5fcdaea64: Download complete [2022-09-13T10:10:39.443Z] d94ebbe4e438: Verifying Checksum [2022-09-13T10:10:39.443Z] d94ebbe4e438: Download complete [2022-09-13T10:10:39.443Z] 2408cc74d12b: Pull complete [2022-09-13T10:10:39.712Z] ea60b727a1ce: Pull complete [2022-09-13T10:10:39.712Z] 30c4a7721957: Pull complete [2022-09-13T10:10:39.974Z] 59ccb84bbe0f: Verifying Checksum [2022-09-13T10:10:39.974Z] 59ccb84bbe0f: Download complete [2022-09-13T10:10:40.232Z] 370296b7ddb6: Verifying Checksum [2022-09-13T10:10:40.232Z] 370296b7ddb6: Download complete [2022-09-13T10:10:40.232Z] bcfd1f05c69d: Verifying Checksum [2022-09-13T10:10:40.232Z] bcfd1f05c69d: Download complete [2022-09-13T10:10:44.435Z] 370296b7ddb6: Pull complete [2022-09-13T10:10:44.435Z] 7c6cee850709: Pull complete [2022-09-13T10:10:44.435Z] 39a5fcdaea64: Pull complete [2022-09-13T10:10:44.435Z] d94ebbe4e438: Pull complete [2022-09-13T10:10:46.975Z] bcfd1f05c69d: Pull complete [2022-09-13T10:10:47.549Z] 59ccb84bbe0f: Pull complete [2022-09-13T10:10:47.549Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-13T10:10:47.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-13T10:10:47.549Z] ---> a4fb48ad2a94 [2022-09-13T10:10:47.549Z] Step 3/13 : ARG MAKE="make build" [2022-09-13T10:10:51.752Z] ---> Running in 2726fa684dbc [2022-09-13T10:10:51.752Z] Removing intermediate container 2726fa684dbc [2022-09-13T10:10:51.752Z] ---> e9fd9ea0d27c [2022-09-13T10:10:51.752Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:10:51.752Z] ---> Running in 9a8062eedf3e [2022-09-13T10:10:51.752Z] Removing intermediate container 9a8062eedf3e [2022-09-13T10:10:51.752Z] ---> 5c4a6a0bcd51 [2022-09-13T10:10:51.752Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:10:51.752Z] ---> Running in f57bd8c15ca4 [2022-09-13T10:10:51.752Z] Removing intermediate container f57bd8c15ca4 [2022-09-13T10:10:51.752Z] ---> 874062d1c129 [2022-09-13T10:10:51.752Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:10:51.752Z] ---> Running in 3625fb0ff8b8 [2022-09-13T10:10:51.752Z] Removing intermediate container 3625fb0ff8b8 [2022-09-13T10:10:51.752Z] ---> e11c3e27abe6 [2022-09-13T10:10:51.752Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:10:51.752Z] ---> Running in 1fc3e9e00ca0 [2022-09-13T10:10:52.323Z] Removing intermediate container 1fc3e9e00ca0 [2022-09-13T10:10:52.323Z] ---> 5e363379a0b9 [2022-09-13T10:10:52.323Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:10:52.323Z] ---> Running in dd001c6803a9 [2022-09-13T10:10:52.645Z] Still waiting to schedule task [2022-09-13T10:10:52.646Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-13T10:10:52.893Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:10:53.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:10:54.107Z] OK: 211 MiB in 51 packages [2022-09-13T10:10:54.369Z] Removing intermediate container dd001c6803a9 [2022-09-13T10:10:54.369Z] ---> cfb7c6b1af9e [2022-09-13T10:10:54.369Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-13T10:10:54.369Z] ---> Running in df8979674634 [2022-09-13T10:10:54.369Z] Removing intermediate container df8979674634 [2022-09-13T10:10:54.369Z] ---> 9dc7ca9010fd [2022-09-13T10:10:54.369Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-13T10:10:54.629Z] ---> 54029e26ae2a [2022-09-13T10:10:54.629Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:10:54.629Z] ---> Running in ec814e0a77c6 [2022-09-13T10:11:21.226Z] Removing intermediate container ec814e0a77c6 [2022-09-13T10:11:21.226Z] ---> 5abf951adf9d [2022-09-13T10:11:21.226Z] Step 12/13 : COPY . . [2022-09-13T10:11:21.226Z] ---> 5555664c6b28 [2022-09-13T10:11:21.226Z] Step 13/13 : RUN ${MAKE} [2022-09-13T10:11:21.226Z] ---> Running in 84196660e0ba [2022-09-13T10:11:21.226Z] noop [2022-09-13T10:11:21.226Z] Removing intermediate container 84196660e0ba [2022-09-13T10:11:21.226Z] ---> 7f324bc3c267 [2022-09-13T10:11:21.226Z] Successfully built 7f324bc3c267 [2022-09-13T10:11:21.226Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:11:21.546Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-13T10:11:21.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:11:21.630Z] prd-ubuntu20.04-docker-8c-8g-29039 does not seem to be running inside a container [2022-09-13T10:11:21.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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-13T10:11:22.017Z] $ docker top c5c7165bce753a8cc952252c5727c001732178f11c4d6c9bc7ab04428f9fa4c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:11:22.451Z] + go version [2022-09-13T10:11:22.451Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-13T10:11:22.479Z] $ docker stop --time=1 c5c7165bce753a8cc952252c5727c001732178f11c4d6c9bc7ab04428f9fa4c7 [2022-09-13T10:11:23.718Z] $ docker rm -f c5c7165bce753a8cc952252c5727c001732178f11c4d6c9bc7ab04428f9fa4c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:11:24.127Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-13T10:11:24.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:11:24.211Z] prd-ubuntu20.04-docker-8c-8g-29039 does not seem to be running inside a container [2022-09-13T10:11:24.253Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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-13T10:11:24.618Z] $ docker top f9196d0b0eec1fff37d6cb3fb3bfd8e8e7dfa757f85aa7347be923bdfc031a8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:11:24.967Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] fileExists [Pipeline] sh [2022-09-13T10:11:25.266Z] + make test [2022-09-13T10:11:25.266Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-13T10:11:25.525Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-13T10:11:37.739Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-13T10:11:38.309Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements [2022-09-13T10:11:38.309Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-13T10:11:38.309Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.605s coverage: 90.5% of statements [2022-09-13T10:11:46.428Z] 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-13T10:11:46.428Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-13T10:11:49.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-13T10:11:49.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-13T10:11:49.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-13T10:11:50.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-13T10:11:50.020Z] $ docker stop --time=1 f9196d0b0eec1fff37d6cb3fb3bfd8e8e7dfa757f85aa7347be923bdfc031a8a [2022-09-13T10:11:52.363Z] $ docker rm -f f9196d0b0eec1fff37d6cb3fb3bfd8e8e7dfa757f85aa7347be923bdfc031a8a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:11:52.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-13T10:11:52.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-13T10:11:53.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-13T10:11:53.659Z] + ls -al . [2022-09-13T10:11:53.659Z] total 232 [2022-09-13T10:11:53.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 13 10:11 . [2022-09-13T10:11:53.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:10 .. [2022-09-13T10:11:53.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:11 .git [2022-09-13T10:11:53.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:10 .github [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:10 .gitignore [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:10 .golangci.yml [2022-09-13T10:11:53.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:10 .semver [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:10 Attribution.txt [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:10 CHANGELOG.md [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 13 10:10 Dockerfile [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:10 GOVERNANCE.md [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:10 Jenkinsfile [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:10 LICENSE [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:10 Makefile [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:10 OWNERS.md [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:10 README.md [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:10 VERSION [2022-09-13T10:11:53.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:10 bin [2022-09-13T10:11:53.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:10 cmd [2022-09-13T10:11:53.659Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:11 coverage.out [2022-09-13T10:11:53.659Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:10 doc [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:10 go.mod [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:10 go.sum [2022-09-13T10:11:53.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:10 internal [2022-09-13T10:11:53.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:10 snap [2022-09-13T10:11:53.659Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:11:53.968Z] + 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=1947698ebb1fd120b75fe3895cdfdffb690ad969 --label arch=amd64 --label version=0.0.0 . [2022-09-13T10:11:53.968Z] Sending build context to Docker daemon 20.75MB [2022-09-13T10:11:53.968Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:11:53.968Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-13T10:11:53.968Z] ---> 7f324bc3c267 [2022-09-13T10:11:53.968Z] Step 3/26 : ARG MAKE="make build" [2022-09-13T10:11:54.229Z] ---> Running in 26ebebb3bf9d [2022-09-13T10:11:54.229Z] Removing intermediate container 26ebebb3bf9d [2022-09-13T10:11:54.229Z] ---> c7911e4b8245 [2022-09-13T10:11:54.229Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:11:54.229Z] ---> Running in d9553ada83fa [2022-09-13T10:11:54.489Z] Removing intermediate container d9553ada83fa [2022-09-13T10:11:54.489Z] ---> 3d8d14d6a4dd [2022-09-13T10:11:54.489Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:11:54.489Z] ---> Running in c8aa42c8f079 [2022-09-13T10:11:54.489Z] Removing intermediate container c8aa42c8f079 [2022-09-13T10:11:54.489Z] ---> 6358e5d7371f [2022-09-13T10:11:54.489Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:11:54.489Z] ---> Running in 688e71e7ce54 [2022-09-13T10:11:54.748Z] Removing intermediate container 688e71e7ce54 [2022-09-13T10:11:54.748Z] ---> ddbbc7326393 [2022-09-13T10:11:54.748Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:11:54.748Z] ---> Running in ae085ea4e0b4 [2022-09-13T10:11:55.320Z] Removing intermediate container ae085ea4e0b4 [2022-09-13T10:11:55.320Z] ---> bb9571d40a33 [2022-09-13T10:11:55.320Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:11:55.320Z] ---> Running in cce8f81bbdb5 [2022-09-13T10:11:55.580Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:11:56.520Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:11:56.780Z] OK: 211 MiB in 51 packages [2022-09-13T10:11:57.042Z] Removing intermediate container cce8f81bbdb5 [2022-09-13T10:11:57.042Z] ---> e87e605b50f1 [2022-09-13T10:11:57.042Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-13T10:11:57.042Z] ---> Running in 8254a8370c96 [2022-09-13T10:11:57.042Z] Removing intermediate container 8254a8370c96 [2022-09-13T10:11:57.042Z] ---> 19eb2d3ab14e [2022-09-13T10:11:57.042Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-13T10:11:57.042Z] ---> e90ba9ddf691 [2022-09-13T10:11:57.042Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:11:57.301Z] ---> Running in f4251056519e [2022-09-13T10:11:57.872Z] Removing intermediate container f4251056519e [2022-09-13T10:11:57.872Z] ---> cc4dac8fb1bf [2022-09-13T10:11:57.872Z] Step 12/26 : COPY . . [2022-09-13T10:11:58.442Z] ---> 6a4da0744ff2 [2022-09-13T10:11:58.442Z] Step 13/26 : RUN ${MAKE} [2022-09-13T10:11:58.442Z] ---> Running in 12088379fde1 [2022-09-13T10:11:58.703Z] 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-13T10:12:25.281Z] Removing intermediate container 12088379fde1 [2022-09-13T10:12:25.281Z] ---> e90c6773f16f [2022-09-13T10:12:25.281Z] Step 14/26 : FROM alpine:3.16 [2022-09-13T10:12:25.281Z] 3.16: Pulling from library/alpine [2022-09-13T10:12:25.281Z] 213ec9aee27d: Pulling fs layer [2022-09-13T10:12:25.281Z] 213ec9aee27d: Verifying Checksum [2022-09-13T10:12:25.281Z] 213ec9aee27d: Download complete [2022-09-13T10:12:25.281Z] 213ec9aee27d: Pull complete [2022-09-13T10:12:25.281Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-13T10:12:25.281Z] Status: Downloaded newer image for alpine:3.16 [2022-09-13T10:12:25.281Z] ---> 9c6f07244728 [2022-09-13T10:12:25.281Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-13T10:12:25.281Z] ---> Running in 0cb1c6ba4148 [2022-09-13T10:12:25.281Z] Removing intermediate container 0cb1c6ba4148 [2022-09-13T10:12:25.281Z] ---> 754aa730e26e [2022-09-13T10:12:25.281Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-13T10:12:25.281Z] ---> Running in 8f217904ecb5 [2022-09-13T10:12:25.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:25.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-13T10:12:25.281Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-13T10:12:25.281Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-13T10:12:25.281Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-13T10:12:25.281Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-13T10:12:25.281Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-13T10:12:25.281Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-13T10:12:25.281Z] Executing busybox-1.35.0-r17.trigger [2022-09-13T10:12:25.282Z] OK: 8 MiB in 20 packages [2022-09-13T10:12:25.282Z] Removing intermediate container 8f217904ecb5 [2022-09-13T10:12:25.282Z] ---> e7491e4bec3d [2022-09-13T10:12:25.282Z] Step 17/26 : WORKDIR / [2022-09-13T10:12:25.282Z] ---> Running in 6630870fe791 [2022-09-13T10:12:25.282Z] Removing intermediate container 6630870fe791 [2022-09-13T10:12:25.282Z] ---> f37669a2deeb [2022-09-13T10:12:25.282Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-13T10:12:25.282Z] ---> b47c94fec2fe [2022-09-13T10:12:25.282Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-13T10:12:25.282Z] ---> 48ed33fc6a71 [2022-09-13T10:12:25.282Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-13T10:12:25.282Z] ---> d292757508f2 [2022-09-13T10:12:25.282Z] Step 21/26 : EXPOSE 59984 [2022-09-13T10:12:25.282Z] ---> Running in c0903d03de73 [2022-09-13T10:12:25.540Z] Removing intermediate container c0903d03de73 [2022-09-13T10:12:25.540Z] ---> 0e34c1e17bd4 [2022-09-13T10:12:25.540Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-13T10:12:25.540Z] ---> Running in 488c019d15d0 [2022-09-13T10:12:25.540Z] Removing intermediate container 488c019d15d0 [2022-09-13T10:12:25.540Z] ---> f9f8be326ec8 [2022-09-13T10:12:25.540Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-13T10:12:25.540Z] ---> Running in 04fd09675d7a [2022-09-13T10:12:25.540Z] Removing intermediate container 04fd09675d7a [2022-09-13T10:12:25.540Z] ---> fdda908beaff [2022-09-13T10:12:25.540Z] Step 24/26 : LABEL arch=amd64 [2022-09-13T10:12:25.540Z] ---> Running in caaf9501d052 [2022-09-13T10:12:25.799Z] Removing intermediate container caaf9501d052 [2022-09-13T10:12:25.799Z] ---> bd88e60543d0 [2022-09-13T10:12:25.799Z] Step 25/26 : LABEL git_sha=1947698ebb1fd120b75fe3895cdfdffb690ad969 [2022-09-13T10:12:25.799Z] ---> Running in b1e9b76d57e8 [2022-09-13T10:12:25.799Z] Removing intermediate container b1e9b76d57e8 [2022-09-13T10:12:25.799Z] ---> 4f7b76c15f63 [2022-09-13T10:12:25.799Z] Step 26/26 : LABEL version=0.0.0 [2022-09-13T10:12:25.799Z] ---> Running in a44e88068089 [2022-09-13T10:12:25.799Z] Removing intermediate container a44e88068089 [2022-09-13T10:12:25.799Z] ---> c1aa043bbc05 [2022-09-13T10:12:25.799Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-13T10:12:25.799Z] Successfully built c1aa043bbc05 [2022-09-13T10:12:25.799Z] 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-13T10:12:26.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:12:26.264Z] [2022-09-13T10:12:26.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:12:26.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:12:26.564Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-13T10:12:26.564Z] 5eb5b503b376: Pulling fs layer [2022-09-13T10:12:26.564Z] 5c69ac0246d0: Pulling fs layer [2022-09-13T10:12:26.564Z] ec43610c2a17: Pulling fs layer [2022-09-13T10:12:26.564Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-13T10:12:26.564Z] 33b1e0a273af: Pulling fs layer [2022-09-13T10:12:26.564Z] 5d3b04190fa2: Pulling fs layer [2022-09-13T10:12:26.564Z] 2f39f015ded8: Pulling fs layer [2022-09-13T10:12:26.564Z] 3a2ae6a8a46f: Waiting [2022-09-13T10:12:26.564Z] 33b1e0a273af: Waiting [2022-09-13T10:12:26.564Z] 5d3b04190fa2: Waiting [2022-09-13T10:12:26.564Z] 2f39f015ded8: Waiting [2022-09-13T10:12:26.564Z] 5c69ac0246d0: Download complete [2022-09-13T10:12:26.564Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-13T10:12:26.565Z] 3a2ae6a8a46f: Download complete [2022-09-13T10:12:26.565Z] 33b1e0a273af: Verifying Checksum [2022-09-13T10:12:26.565Z] 33b1e0a273af: Download complete [2022-09-13T10:12:26.565Z] 5d3b04190fa2: Verifying Checksum [2022-09-13T10:12:26.565Z] 5d3b04190fa2: Download complete [2022-09-13T10:12:26.565Z] ec43610c2a17: Verifying Checksum [2022-09-13T10:12:26.565Z] ec43610c2a17: Download complete [2022-09-13T10:12:26.823Z] 5eb5b503b376: Verifying Checksum [2022-09-13T10:12:26.824Z] 5eb5b503b376: Download complete [2022-09-13T10:12:27.390Z] 2f39f015ded8: Download complete [2022-09-13T10:12:27.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29042 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] ws [2022-09-13T10:12:27.842Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-09-13T10:12:27.883Z] Selected Git installation does not exist. Using Default [2022-09-13T10:12:27.884Z] The recommended git tool is: NONE [2022-09-13T10:12:28.326Z] 5eb5b503b376: Pull complete [2022-09-13T10:12:28.326Z] 5c69ac0246d0: Pull complete [2022-09-13T10:12:28.892Z] ec43610c2a17: Pull complete [2022-09-13T10:12:28.892Z] 3a2ae6a8a46f: Pull complete [2022-09-13T10:12:29.152Z] 33b1e0a273af: Pull complete [2022-09-13T10:12:29.152Z] 5d3b04190fa2: Pull complete [2022-09-13T10:12:33.151Z] using credential edgex-jenkins-ssh [2022-09-13T10:12:33.195Z] Cloning the remote Git repository [2022-09-13T10:12:33.249Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:12:33.320Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-09-13T10:12:33.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:12:33.387Z] > git --version # timeout=10 [2022-09-13T10:12:33.452Z] > git --version # 'git version 2.25.1' [2022-09-13T10:12:33.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:12:33.558Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-13T10:12:34.422Z] 2f39f015ded8: Pull complete [2022-09-13T10:12:34.422Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-13T10:12:34.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:12:34.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:12:34.514Z] prd-ubuntu20.04-docker-8c-8g-29039 does not seem to be running inside a container [2022-09-13T10:12:34.550Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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-13T10:12:35.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-13T10:12:35.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-13T10:12:35.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-13T10:12:35.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-13T10:12:35.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:12:35.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-13T10:12:35.744Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-13T10:12:36.465Z] Merge succeeded, producing 94f2b2816e2f0adcf870efb52894f379b008c19f [2022-09-13T10:12:36.466Z] Checking out Revision 94f2b2816e2f0adcf870efb52894f379b008c19f (PR-152) [2022-09-13T10:12:35.765Z] > git config core.sparsecheckout # timeout=10 [2022-09-13T10:12:35.793Z] > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [2022-09-13T10:12:36.048Z] > git remote # timeout=10 [2022-09-13T10:12:36.072Z] > git config --get remote.origin.url # timeout=10 [2022-09-13T10:12:36.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-13T10:12:36.109Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-13T10:12:36.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-13T10:12:36.472Z] > git config core.sparsecheckout # timeout=10 [2022-09-13T10:12:36.497Z] > git checkout -f 94f2b2816e2f0adcf870efb52894f379b008c19f # timeout=10 [2022-09-13T10:12:38.203Z] $ docker top d47263ed712535649a3ef0d0e4f318caf06951714ba75a3afac591b6b1a492cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:12:38.684Z] ---> job-cost.sh [2022-09-13T10:12:38.684Z] lf-activate-venv: SKIPPING [2022-09-13T10:12:38.684Z] INFO: No Stack... [2022-09-13T10:12:39.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-13T10:12:39.515Z] INFO: Archiving Costs [Pipeline] sh [2022-09-13T10:12:39.807Z] + cat /w/workspace/undry_device-onvif-camera_PR-152/archives/cost.csv [2022-09-13T10:12:39.807Z] + cut -d, -f6 [Pipeline] lock [2022-09-13T10:12:39.822Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [2022-09-13T10:12:39.834Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] did not exist. Created. [2022-09-13T10:12:39.834Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-13T10:12:40.137Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-13T10:12:40.172Z] Stashed 1 file(s) [Pipeline] } [2022-09-13T10:12:40.178Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-13T10:12:40.207Z] $ docker stop --time=1 d47263ed712535649a3ef0d0e4f318caf06951714ba75a3afac591b6b1a492cf [2022-09-13T10:12:40.702Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-13T10:12:40.726Z] First time build. Skipping changelog. [2022-09-13T10:12:41.033Z] [2022-09-13T10:12:41.033Z] GitHub has been notified of this commit’s build result [2022-09-13T10:12:41.033Z] [2022-09-13T10:12:40.710Z] > git rev-list --no-walk ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 # timeout=10 [2022-09-13T10:12:41.375Z] $ docker rm -f d47263ed712535649a3ef0d0e4f318caf06951714ba75a3afac591b6b1a492cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:12:41.997Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-13T10:12:41.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-13T10:12:41.997Z] Dload Upload Total Spent Left Speed [2022-09-13T10:12:41.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82907 0 --:--:-- --:--:-- --:--:-- 83456 [Pipeline] sh [2022-09-13T10:12:42.857Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-13T10:12:43.204Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-13T10:12:43.204Z] + sudo tee /etc/docker/daemon.new [2022-09-13T10:12:43.204Z] { [2022-09-13T10:12:43.204Z] "registry-mirrors": [ [2022-09-13T10:12:43.204Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-13T10:12:43.204Z] ], [2022-09-13T10:12:43.204Z] "bip": "10.250.0.254/24", [2022-09-13T10:12:43.204Z] "hosts": [ [2022-09-13T10:12:43.204Z] "tcp://0.0.0.0:5555", [2022-09-13T10:12:43.204Z] "unix:///var/run/docker.sock" [2022-09-13T10:12:43.204Z] ], [2022-09-13T10:12:43.204Z] "mtu": 1458, [2022-09-13T10:12:43.204Z] "selinux-enabled": true, [2022-09-13T10:12:43.204Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-13T10:12:43.204Z] } [Pipeline] sh [2022-09-13T10:12:43.559Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-13T10:12:43.899Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:13:02.251Z] provisioning config files... [2022-09-13T10:13:02.275Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config1195519523141135451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:13:02.852Z] ---> docker-login.sh [2022-09-13T10:13:02.852Z] nexus3.edgexfoundry.org:10001 [2022-09-13T10:13:03.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:13:03.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:13:03.727Z] Configure a credential helper to remove this warning. See [2022-09-13T10:13:03.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:13:03.727Z] [2022-09-13T10:13:03.727Z] Login Succeeded [2022-09-13T10:13:03.727Z] nexus3.edgexfoundry.org:10002 [2022-09-13T10:13:03.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:13:04.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:13:04.271Z] Configure a credential helper to remove this warning. See [2022-09-13T10:13:04.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:13:04.271Z] [2022-09-13T10:13:04.271Z] Login Succeeded [2022-09-13T10:13:04.271Z] nexus3.edgexfoundry.org:10003 [2022-09-13T10:13:04.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:13:04.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:13:04.548Z] Configure a credential helper to remove this warning. See [2022-09-13T10:13:04.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:13:04.548Z] [2022-09-13T10:13:04.548Z] Login Succeeded [2022-09-13T10:13:04.548Z] nexus3.edgexfoundry.org:10004 [2022-09-13T10:13:05.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:13:05.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:13:05.155Z] Configure a credential helper to remove this warning. See [2022-09-13T10:13:05.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:13:05.155Z] [2022-09-13T10:13:05.155Z] Login Succeeded [2022-09-13T10:13:05.155Z] docker.io [2022-09-13T10:13:05.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-13T10:13:05.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-13T10:13:05.701Z] Configure a credential helper to remove this warning. See [2022-09-13T10:13:05.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-13T10:13:05.701Z] [2022-09-13T10:13:05.701Z] Login Succeeded [2022-09-13T10:13:05.975Z] ---> docker-login.sh ends [Pipeline] } [2022-09-13T10:13:05.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-13T10:13:06.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:13:06.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-13T10:13:06.276Z] ========================================================= [2022-09-13T10:13:06.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-13T10:13:06.276Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:13:06.637Z] + 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-13T10:13:07.240Z] Sending build context to Docker daemon 14.16MB [2022-09-13T10:13:07.240Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:13:07.240Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-13T10:13:07.240Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-13T10:13:07.240Z] b3c136eddcbf: Pulling fs layer [2022-09-13T10:13:07.240Z] c0a3192eca97: Pulling fs layer [2022-09-13T10:13:07.240Z] a050256f5b6f: Pulling fs layer [2022-09-13T10:13:07.240Z] 656be50a0ddc: Pulling fs layer [2022-09-13T10:13:07.240Z] 2bbca73fdf42: Pulling fs layer [2022-09-13T10:13:07.240Z] 46d945488cbd: Pulling fs layer [2022-09-13T10:13:07.240Z] 8a5474983e97: Pulling fs layer [2022-09-13T10:13:07.240Z] 329c88fbcd65: Pulling fs layer [2022-09-13T10:13:07.240Z] 2bbca73fdf42: Waiting [2022-09-13T10:13:07.240Z] 46d945488cbd: Waiting [2022-09-13T10:13:07.240Z] 8a5474983e97: Waiting [2022-09-13T10:13:07.240Z] 329c88fbcd65: Waiting [2022-09-13T10:13:07.240Z] 656be50a0ddc: Waiting [2022-09-13T10:13:07.515Z] a050256f5b6f: Download complete [2022-09-13T10:13:07.515Z] c0a3192eca97: Verifying Checksum [2022-09-13T10:13:07.515Z] c0a3192eca97: Download complete [2022-09-13T10:13:07.515Z] 2bbca73fdf42: Verifying Checksum [2022-09-13T10:13:07.515Z] 2bbca73fdf42: Download complete [2022-09-13T10:13:07.515Z] 46d945488cbd: Verifying Checksum [2022-09-13T10:13:07.515Z] 46d945488cbd: Download complete [2022-09-13T10:13:07.515Z] b3c136eddcbf: Verifying Checksum [2022-09-13T10:13:07.515Z] b3c136eddcbf: Download complete [2022-09-13T10:13:08.509Z] b3c136eddcbf: Pull complete [2022-09-13T10:13:08.509Z] 329c88fbcd65: Verifying Checksum [2022-09-13T10:13:08.509Z] 329c88fbcd65: Download complete [2022-09-13T10:13:09.117Z] c0a3192eca97: Pull complete [2022-09-13T10:13:09.396Z] a050256f5b6f: Pull complete [2022-09-13T10:13:09.673Z] 8a5474983e97: Verifying Checksum [2022-09-13T10:13:09.673Z] 8a5474983e97: Download complete [2022-09-13T10:13:10.278Z] 656be50a0ddc: Verifying Checksum [2022-09-13T10:13:10.278Z] 656be50a0ddc: Download complete [2022-09-13T10:13:22.682Z] 656be50a0ddc: Pull complete [2022-09-13T10:13:22.682Z] 2bbca73fdf42: Pull complete [2022-09-13T10:13:22.955Z] 46d945488cbd: Pull complete [2022-09-13T10:13:29.690Z] 8a5474983e97: Pull complete [2022-09-13T10:13:31.682Z] 329c88fbcd65: Pull complete [2022-09-13T10:13:31.682Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-13T10:13:31.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-13T10:13:31.682Z] ---> ff4287adb874 [2022-09-13T10:13:31.682Z] Step 3/13 : ARG MAKE="make build" [2022-09-13T10:13:32.663Z] ---> Running in 0fa311d53291 [2022-09-13T10:13:32.938Z] Removing intermediate container 0fa311d53291 [2022-09-13T10:13:32.938Z] ---> 85e56a326fe8 [2022-09-13T10:13:32.938Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:13:32.938Z] ---> Running in 328f977675b7 [2022-09-13T10:13:33.213Z] Removing intermediate container 328f977675b7 [2022-09-13T10:13:33.213Z] ---> 70cfc390144c [2022-09-13T10:13:33.213Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:13:33.213Z] ---> Running in bfa7265f9bc2 [2022-09-13T10:13:33.810Z] Removing intermediate container bfa7265f9bc2 [2022-09-13T10:13:33.810Z] ---> 50deb990f3f2 [2022-09-13T10:13:33.810Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:13:33.810Z] ---> Running in 0d4cbcbd773c [2022-09-13T10:13:34.083Z] Removing intermediate container 0d4cbcbd773c [2022-09-13T10:13:34.083Z] ---> 1737826692fd [2022-09-13T10:13:34.083Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:13:34.083Z] ---> Running in c23ee20c304d [2022-09-13T10:13:36.063Z] Removing intermediate container c23ee20c304d [2022-09-13T10:13:36.063Z] ---> 84edec35084d [2022-09-13T10:13:36.063Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:13:36.063Z] ---> Running in 3da35fc21a50 [2022-09-13T10:13:37.049Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:13:38.034Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:13:39.015Z] OK: 221 MiB in 51 packages [2022-09-13T10:13:39.618Z] Removing intermediate container 3da35fc21a50 [2022-09-13T10:13:39.618Z] ---> f90787174dc6 [2022-09-13T10:13:39.618Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-13T10:13:39.895Z] ---> Running in 3294a4a9c0c3 [2022-09-13T10:13:40.168Z] Removing intermediate container 3294a4a9c0c3 [2022-09-13T10:13:40.168Z] ---> 7921c9bbc330 [2022-09-13T10:13:40.168Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-13T10:13:40.772Z] ---> 5f5bd4a27330 [2022-09-13T10:13:40.772Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:13:40.772Z] ---> Running in 011559a269c7 [2022-09-13T10:14:37.364Z] Removing intermediate container 011559a269c7 [2022-09-13T10:14:37.364Z] ---> 0ffb804b9013 [2022-09-13T10:14:37.364Z] Step 12/13 : COPY . . [2022-09-13T10:14:37.364Z] ---> a21ad858933c [2022-09-13T10:14:37.364Z] Step 13/13 : RUN ${MAKE} [2022-09-13T10:14:37.364Z] ---> Running in 39d079679fd9 [2022-09-13T10:14:37.364Z] noop [2022-09-13T10:14:37.364Z] Removing intermediate container 39d079679fd9 [2022-09-13T10:14:37.364Z] ---> 286ed3dde57b [2022-09-13T10:14:37.364Z] Successfully built 286ed3dde57b [2022-09-13T10:14:37.364Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:14:37.739Z] + docker inspect -f . ci-base-image-arm64 [2022-09-13T10:14:37.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:14:37.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-29042 does not seem to be running inside a container [2022-09-13T10:14:38.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-13T10:14:39.406Z] $ docker top fed3c473241b5f3f5281b0c133e1cdd763dedba6a8301a281013694c706295b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:14:40.347Z] + go version [2022-09-13T10:14:40.347Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-13T10:14:40.377Z] $ docker stop --time=1 fed3c473241b5f3f5281b0c133e1cdd763dedba6a8301a281013694c706295b1 [2022-09-13T10:14:42.082Z] $ docker rm -f fed3c473241b5f3f5281b0c133e1cdd763dedba6a8301a281013694c706295b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:14:42.715Z] + docker inspect -f . ci-base-image-arm64 [2022-09-13T10:14:42.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:14:42.964Z] prd-ubuntu20.04-docker-arm64-4c-16g-29042 does not seem to be running inside a container [2022-09-13T10:14:43.061Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-13T10:14:44.352Z] $ docker top 4d95b02d86f2e17aa0c511f236884ed33708a87a81958375b152c84281cfdb7a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:14:45.280Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-09-13T10:14:45.961Z] + make test [2022-09-13T10:14:45.961Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-13T10:14:47.963Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-13T10:16:24.862Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-13T10:16:25.855Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.221s coverage: 28.6% of statements [2022-09-13T10:16:25.855Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-13T10:16:44.209Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.921s coverage: 90.5% of statements [2022-09-13T10:16:44.487Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-13T10:16:44.487Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-13T10:17:11.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-13T10:17:11.340Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-13T10:17:11.340Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-13T10:17:11.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-13T10:17:11.392Z] $ docker stop --time=1 4d95b02d86f2e17aa0c511f236884ed33708a87a81958375b152c84281cfdb7a [2022-09-13T10:17:13.167Z] $ docker rm -f 4d95b02d86f2e17aa0c511f236884ed33708a87a81958375b152c84281cfdb7a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-13T10:17:14.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-13T10:17:14.276Z] Warning: overwriting stash ‘coverage-report’ [2022-09-13T10:17:15.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-13T10:17:15.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-13T10:17:15.952Z] + ls -al . [2022-09-13T10:17:15.952Z] total 228 [2022-09-13T10:17:15.952Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 10:14 . [2022-09-13T10:17:15.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:12 .. [2022-09-13T10:17:15.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:12 .git [2022-09-13T10:17:15.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:12 .github [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:12 .gitignore [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:12 .golangci.yml [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:12 Attribution.txt [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:12 CHANGELOG.md [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 13 10:12 Dockerfile [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:12 GOVERNANCE.md [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:12 Jenkinsfile [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:12 LICENSE [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:12 Makefile [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:12 OWNERS.md [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:12 README.md [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:10 VERSION [2022-09-13T10:17:15.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:12 bin [2022-09-13T10:17:15.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:12 cmd [2022-09-13T10:17:15.952Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:16 coverage.out [2022-09-13T10:17:15.952Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:12 doc [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:12 go.mod [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:12 go.sum [2022-09-13T10:17:15.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:12 internal [2022-09-13T10:17:15.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:12 snap [2022-09-13T10:17:15.952Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:17:16.305Z] + 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=94f2b2816e2f0adcf870efb52894f379b008c19f --label arch=arm64 --label version=0.0.0 . [2022-09-13T10:17:16.905Z] Sending build context to Docker daemon 14.23MB [2022-09-13T10:17:16.905Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-13T10:17:16.905Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-13T10:17:16.905Z] ---> 286ed3dde57b [2022-09-13T10:17:16.905Z] Step 3/26 : ARG MAKE="make build" [2022-09-13T10:17:16.905Z] ---> Running in 5580cc2d2006 [2022-09-13T10:17:17.504Z] Removing intermediate container 5580cc2d2006 [2022-09-13T10:17:17.504Z] ---> 46062de23ee1 [2022-09-13T10:17:17.504Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-13T10:17:17.504Z] ---> Running in e58aff0a5525 [2022-09-13T10:17:17.780Z] Removing intermediate container e58aff0a5525 [2022-09-13T10:17:17.780Z] ---> cb6d0ab972dd [2022-09-13T10:17:17.780Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-13T10:17:17.780Z] ---> Running in 0c655d390764 [2022-09-13T10:17:18.054Z] Removing intermediate container 0c655d390764 [2022-09-13T10:17:18.054Z] ---> e05ec540b26b [2022-09-13T10:17:18.054Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-13T10:17:18.054Z] ---> Running in 64f8be13c708 [2022-09-13T10:17:18.327Z] Removing intermediate container 64f8be13c708 [2022-09-13T10:17:18.327Z] ---> 6c45ae524cee [2022-09-13T10:17:18.327Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-13T10:17:18.600Z] ---> Running in 9de77cc11942 [2022-09-13T10:17:20.053Z] Removing intermediate container 9de77cc11942 [2022-09-13T10:17:20.053Z] ---> f772ce5c56e3 [2022-09-13T10:17:20.053Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-13T10:17:20.335Z] ---> Running in 3798a9e42b96 [2022-09-13T10:17:21.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:17:22.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:17:23.298Z] OK: 221 MiB in 51 packages [2022-09-13T10:17:23.893Z] Removing intermediate container 3798a9e42b96 [2022-09-13T10:17:23.893Z] ---> 77a80b5881a0 [2022-09-13T10:17:23.893Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-13T10:17:23.893Z] ---> Running in a4e2eca83835 [2022-09-13T10:17:24.499Z] Removing intermediate container a4e2eca83835 [2022-09-13T10:17:24.499Z] ---> 7cdcd9f627e9 [2022-09-13T10:17:24.499Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-13T10:17:24.775Z] ---> 2c37af46f8eb [2022-09-13T10:17:24.775Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-13T10:17:25.069Z] ---> Running in 88f41d66898c [2022-09-13T10:17:27.065Z] Removing intermediate container 88f41d66898c [2022-09-13T10:17:27.065Z] ---> a87d4b2bfe2f [2022-09-13T10:17:27.065Z] Step 12/26 : COPY . . [2022-09-13T10:17:28.495Z] ---> f3909ad7e7bf [2022-09-13T10:17:28.495Z] Step 13/26 : RUN ${MAKE} [2022-09-13T10:17:28.776Z] ---> Running in b9ffa7363f52 [2022-09-13T10:17:29.775Z] 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-13T10:20:06.699Z] Removing intermediate container b9ffa7363f52 [2022-09-13T10:20:06.699Z] ---> 521c51d6b80a [2022-09-13T10:20:06.699Z] Step 14/26 : FROM alpine:3.16 [2022-09-13T10:20:06.699Z] 3.16: Pulling from library/alpine [2022-09-13T10:20:06.699Z] 9b18e9b68314: Pulling fs layer [2022-09-13T10:20:06.699Z] 9b18e9b68314: Verifying Checksum [2022-09-13T10:20:06.699Z] 9b18e9b68314: Download complete [2022-09-13T10:20:06.699Z] 9b18e9b68314: Pull complete [2022-09-13T10:20:06.699Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-13T10:20:06.699Z] Status: Downloaded newer image for alpine:3.16 [2022-09-13T10:20:06.699Z] ---> a6215f271958 [2022-09-13T10:20:06.699Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-13T10:20:06.699Z] ---> Running in e12683ca7939 [2022-09-13T10:20:06.699Z] Removing intermediate container e12683ca7939 [2022-09-13T10:20:06.699Z] ---> c029544b81f0 [2022-09-13T10:20:06.699Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-13T10:20:06.699Z] ---> Running in 34373b543d82 [2022-09-13T10:20:06.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-13T10:20:06.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-13T10:20:06.699Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-13T10:20:06.699Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-13T10:20:06.699Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-13T10:20:06.699Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-13T10:20:06.699Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-13T10:20:06.699Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-13T10:20:06.699Z] Executing busybox-1.35.0-r17.trigger [2022-09-13T10:20:06.699Z] OK: 8 MiB in 20 packages [2022-09-13T10:20:06.699Z] Removing intermediate container 34373b543d82 [2022-09-13T10:20:06.699Z] ---> 351e4e9fe5ed [2022-09-13T10:20:06.699Z] Step 17/26 : WORKDIR / [2022-09-13T10:20:06.699Z] ---> Running in cfda059a1466 [2022-09-13T10:20:06.699Z] Removing intermediate container cfda059a1466 [2022-09-13T10:20:06.699Z] ---> e2f8b61ae859 [2022-09-13T10:20:06.699Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-13T10:20:06.699Z] ---> 0499cfd5075e [2022-09-13T10:20:06.699Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-13T10:20:06.699Z] ---> 85387972367b [2022-09-13T10:20:06.699Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-13T10:20:06.699Z] ---> 9732ce98e216 [2022-09-13T10:20:06.699Z] Step 21/26 : EXPOSE 59984 [2022-09-13T10:20:06.699Z] ---> Running in a6c4af459ff3 [2022-09-13T10:20:06.699Z] Removing intermediate container a6c4af459ff3 [2022-09-13T10:20:06.699Z] ---> 662e84d2bddf [2022-09-13T10:20:06.699Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-13T10:20:06.699Z] ---> Running in 8778403e707c [2022-09-13T10:20:06.699Z] Removing intermediate container 8778403e707c [2022-09-13T10:20:06.699Z] ---> 6cba44a2433a [2022-09-13T10:20:06.699Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-13T10:20:06.699Z] ---> Running in cb2859384fef [2022-09-13T10:20:06.699Z] Removing intermediate container cb2859384fef [2022-09-13T10:20:06.699Z] ---> c0323464ea60 [2022-09-13T10:20:06.699Z] Step 24/26 : LABEL arch=arm64 [2022-09-13T10:20:06.699Z] ---> Running in 04409338d430 [2022-09-13T10:20:06.699Z] Removing intermediate container 04409338d430 [2022-09-13T10:20:06.699Z] ---> f2ed83e04f48 [2022-09-13T10:20:06.699Z] Step 25/26 : LABEL git_sha=94f2b2816e2f0adcf870efb52894f379b008c19f [2022-09-13T10:20:06.699Z] ---> Running in 100d7b73fa87 [2022-09-13T10:20:06.699Z] Removing intermediate container 100d7b73fa87 [2022-09-13T10:20:06.699Z] ---> 7d325ef95546 [2022-09-13T10:20:06.699Z] Step 26/26 : LABEL version=0.0.0 [2022-09-13T10:20:06.699Z] ---> Running in 71b0acf7ed19 [2022-09-13T10:20:06.699Z] Removing intermediate container 71b0acf7ed19 [2022-09-13T10:20:06.699Z] ---> aad1726790c4 [2022-09-13T10:20:06.699Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-13T10:20:06.699Z] Successfully built aad1726790c4 [2022-09-13T10:20:06.699Z] 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-13T10:20:07.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:20:07.188Z] [2022-09-13T10:20:07.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:20:07.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:20:07.874Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-13T10:20:07.874Z] 8998bd30e6a1: Pulling fs layer [2022-09-13T10:20:07.874Z] 04944245beec: Pulling fs layer [2022-09-13T10:20:07.874Z] 699f458cf7ca: Pulling fs layer [2022-09-13T10:20:07.874Z] 765212b225bb: Pulling fs layer [2022-09-13T10:20:07.874Z] f23df028b6ca: Pulling fs layer [2022-09-13T10:20:07.874Z] d65c8cfc05b1: Pulling fs layer [2022-09-13T10:20:07.874Z] 2437ff75d9bd: Pulling fs layer [2022-09-13T10:20:07.874Z] 765212b225bb: Waiting [2022-09-13T10:20:07.874Z] f23df028b6ca: Waiting [2022-09-13T10:20:07.874Z] d65c8cfc05b1: Waiting [2022-09-13T10:20:07.874Z] 2437ff75d9bd: Waiting [2022-09-13T10:20:07.874Z] 04944245beec: Verifying Checksum [2022-09-13T10:20:07.874Z] 04944245beec: Download complete [2022-09-13T10:20:07.874Z] 765212b225bb: Verifying Checksum [2022-09-13T10:20:07.874Z] 765212b225bb: Download complete [2022-09-13T10:20:07.874Z] f23df028b6ca: Verifying Checksum [2022-09-13T10:20:07.874Z] f23df028b6ca: Download complete [2022-09-13T10:20:08.163Z] d65c8cfc05b1: Verifying Checksum [2022-09-13T10:20:08.163Z] d65c8cfc05b1: Download complete [2022-09-13T10:20:08.163Z] 699f458cf7ca: Verifying Checksum [2022-09-13T10:20:08.163Z] 699f458cf7ca: Download complete [2022-09-13T10:20:08.766Z] 8998bd30e6a1: Download complete [2022-09-13T10:20:10.739Z] 2437ff75d9bd: Verifying Checksum [2022-09-13T10:20:10.739Z] 2437ff75d9bd: Download complete [2022-09-13T10:20:12.713Z] 8998bd30e6a1: Pull complete [2022-09-13T10:20:13.309Z] 04944245beec: Pull complete [2022-09-13T10:20:14.743Z] 699f458cf7ca: Pull complete [2022-09-13T10:20:15.018Z] 765212b225bb: Pull complete [2022-09-13T10:20:15.613Z] f23df028b6ca: Pull complete [2022-09-13T10:20:16.209Z] d65c8cfc05b1: Pull complete [2022-09-13T10:20:31.291Z] 2437ff75d9bd: Pull complete [2022-09-13T10:20:31.291Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-13T10:20:31.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-13T10:20:31.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:20:31.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-29042 does not seem to be running inside a container [2022-09-13T10:20:31.653Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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-13T10:20:34.502Z] $ docker top 8ba01bcb86ca6a0f676e1c2bda34d4d0d154200996a1b080deaced915173800c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:35.412Z] ---> job-cost.sh [2022-09-13T10:20:35.412Z] lf-activate-venv: SKIPPING [2022-09-13T10:20:35.412Z] INFO: No Stack... [2022-09-13T10:20:35.683Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-13T10:20:36.656Z] INFO: Archiving Costs [Pipeline] sh [2022-09-13T10:20:37.313Z] + cut -d, -f6 [2022-09-13T10:20:37.313Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock [2022-09-13T10:20:37.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [2022-09-13T10:20:37.349Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] did not exist. Created. [2022-09-13T10:20:37.349Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-13T10:20:38.017Z] /w/workspace/device-onvif-camera/4@tmp/durable-38745d04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-13T10:20:38.691Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-13T10:20:38.718Z] Warning: overwriting stash ‘stack-cost’ [2022-09-13T10:20:38.781Z] Stashed 1 file(s) [Pipeline] } [2022-09-13T10:20:38.789Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-13T10:20:38.856Z] $ docker stop --time=1 8ba01bcb86ca6a0f676e1c2bda34d4d0d154200996a1b080deaced915173800c [2022-09-13T10:20:40.365Z] $ docker rm -f 8ba01bcb86ca6a0f676e1c2bda34d4d0d154200996a1b080deaced915173800c [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-13T10:20:40.806Z] provisioning config files... [2022-09-13T10:20:40.815Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config8399162239806661998tmp [Pipeline] { [Pipeline] sh [2022-09-13T10:20:41.119Z] + set +x [2022-09-13T10:20:41.119Z] + + curl -sbash https://codecov.io/bash -s [2022-09-13T10:20:41.119Z] -- [2022-09-13T10:20:41.119Z] [2022-09-13T10:20:41.119Z] _____ _ [2022-09-13T10:20:41.119Z] / ____| | | [2022-09-13T10:20:41.119Z] | | ___ __| | ___ ___ _____ __ [2022-09-13T10:20:41.119Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-13T10:20:41.119Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-13T10:20:41.119Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-13T10:20:41.119Z] Bash-1.0.6 [2022-09-13T10:20:41.119Z] [2022-09-13T10:20:41.119Z] [2022-09-13T10:20:41.119Z] ==> git version 2.25.1 found [2022-09-13T10:20:41.119Z] ==> 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-13T10:20:41.119Z] Release-Date: 2020-01-08 [2022-09-13T10:20:41.119Z] 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-13T10:20:41.119Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-13T10:20:41.119Z] ==> Jenkins CI detected. [2022-09-13T10:20:41.119Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-152 [2022-09-13T10:20:41.119Z] project root: . [2022-09-13T10:20:41.119Z] --> token set from env [2022-09-13T10:20:41.119Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-13T10:20:41.119Z] ==> Running gcov in . (disable via -X gcov) [2022-09-13T10:20:41.119Z] ==> Python coveragepy not found [2022-09-13T10:20:41.119Z] ==> Searching for coverage reports in: [2022-09-13T10:20:41.119Z] + . [2022-09-13T10:20:41.379Z] -> Found 1 reports [2022-09-13T10:20:41.379Z] ==> Detecting git/mercurial file structure [2022-09-13T10:20:41.379Z] ==> Reading reports [2022-09-13T10:20:41.379Z] + ./coverage.out bytes=77283 [2022-09-13T10:20:41.379Z] ==> Appending adjustments [2022-09-13T10:20:41.379Z] https://docs.codecov.io/docs/fixing-reports [2022-09-13T10:20:41.379Z] + Found adjustments [2022-09-13T10:20:41.379Z] ==> Gzipping contents [2022-09-13T10:20:41.379Z] 12K /tmp/codecov.IaA9Pm.gz [2022-09-13T10:20:41.379Z] ==> Uploading reports [2022-09-13T10:20:41.379Z] url: https://codecov.io [2022-09-13T10:20:41.379Z] query: branch=PR-152&commit=1947698ebb1fd120b75fe3895cdfdffb690ad969&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-13T10:20:41.379Z] -> Pinging Codecov [2022-09-13T10:20:41.379Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-152&commit=1947698ebb1fd120b75fe3895cdfdffb690ad969&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-13T10:20:41.639Z] -> Uploading to [2022-09-13T10:20:41.639Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-13/F29A59C45E3A92E06B3E522C9905F8EF/1947698ebb1fd120b75fe3895cdfdffb690ad969/86889cd5-5930-4c55-ae78-02015bc064e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220913%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220913T102041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dee7a1860dc56aefa37c6c7bc0ed19ca5b3a02b64a3a4281f03dacb1ea055dc [2022-09-13T10:20:41.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-13T10:20:41.639Z] Dload Upload Total Spent Left Speed [2022-09-13T10:20:41.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10707 0 0 100 10707 0 37306 --:--:-- --:--:-- --:--:-- 37306 [2022-09-13T10:20:41.900Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/1947698ebb1fd120b75fe3895cdfdffb690ad969 [Pipeline] } [2022-09-13T10:20:41.907Z] 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-13T10:20:42.612Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-152/archives ] [2022-09-13T10:20:42.613Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-13T10:20:42.613Z] total 16 [2022-09-13T10:20:42.613Z] drwxr-xr-x 3 root root 4096 Sep 13 10:12 . [2022-09-13T10:20:42.613Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:12 .. [2022-09-13T10:20:42.613Z] drwxr-xr-x 2 root root 4096 Sep 13 10:12 cost [2022-09-13T10:20:42.613Z] -rw-r--r-- 1 root root 91 Sep 13 10:12 cost.csv [2022-09-13T10:20:42.613Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-13T10:20:42.613Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-13T10:20:42.613Z] total 16 [2022-09-13T10:20:42.613Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:12 . [2022-09-13T10:20:42.613Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:12 .. [2022-09-13T10:20:42.613Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 10:12 cost [2022-09-13T10:20:42.613Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 13 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:42.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:43.782Z] ---> package-listing.sh [2022-09-13T10:20:43.782Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-13T10:20:43.782Z] ++ facter osfamily [2022-09-13T10:20:44.044Z] + OS_FAMILY=debian [2022-09-13T10:20:44.044Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-152 [2022-09-13T10:20:44.045Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-13T10:20:44.045Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-13T10:20:44.045Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-13T10:20:44.045Z] + PACKAGES=/tmp/packages_start.txt [2022-09-13T10:20:44.045Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-13T10:20:44.045Z] + PACKAGES=/tmp/packages_end.txt [2022-09-13T10:20:44.045Z] + case "${OS_FAMILY}" in [2022-09-13T10:20:44.045Z] + dpkg -l [2022-09-13T10:20:44.045Z] + grep '^ii' [2022-09-13T10:20:44.045Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-13T10:20:44.045Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-13T10:20:44.045Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-13T10:20:44.045Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-13T10:20:44.045Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-152/archives/ [2022-09-13T10:20:44.045Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-152/archives/ [Pipeline] echo [2022-09-13T10:20:44.058Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-13T10:20:44.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-13T10:20:44.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-13T10:20:44.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-13T10:20:44.725Z] prd-ubuntu20.04-docker-8c-8g-29039 does not seem to be running inside a container [2022-09-13T10:20:44.768Z] $ 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-152/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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@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-13T10:20:44.969Z] $ docker top 061cfd9468d40978e583fd5ccd6a0ac7e504f4637357e1f948504686e2ffbd0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-13T10:20:45.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-13T10:20:45.608Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-13T10:20:45.899Z] + ls /var/log/sa-host [2022-09-13T10:20:45.899Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-13T10:20:46.035Z] provisioning config files... [2022-09-13T10:20:46.046Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config4824609838593903650tmp [Pipeline] { [Pipeline] echo [2022-09-13T10:20:46.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:46.344Z] ---> create-netrc.sh [Pipeline] } [2022-09-13T10:20:46.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:46.686Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-13T10:20:46.695Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:46.981Z] ---> sudo-logs.sh [2022-09-13T10:20:46.981Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-13T10:20:47.012Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:47.305Z] ---> job-cost.sh [2022-09-13T10:20:47.305Z] lf-activate-venv: SKIPPING [2022-09-13T10:20:47.305Z] DEBUG: total: 0.2199999988079071 [2022-09-13T10:20:47.305Z] INFO: Retrieving Stack Cost... [2022-09-13T10:20:47.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-13T10:20:48.139Z] INFO: Archiving Costs [Pipeline] echo [2022-09-13T10:20:48.150Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-13T10:20:48.437Z] ---> logs-deploy.sh [2022-09-13T10:20:48.437Z] lf-activate-venv: SKIPPING [2022-09-13T10:20:48.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-152/4 [2022-09-13T10:20:48.437Z] INFO: archiving workspace using pattern(s): [2022-09-13T10:20:49.380Z] Archives upload complete. [2022-09-13T10:20:49.380Z] INFO: archiving logs to Nexus