Pull request #174 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than b38cad5b99fcc04b9ffa906019bb6127e2844a17 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh1827430214827094155.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9832508368396982169.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12801993415907546940.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9418648485836144569.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15257523796725907299.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7622 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 Merge succeeded, producing d86c5fcc9d999a8779cd16105eac4111fa1eb29c Checking out Revision d86c5fcc9d999a8779cd16105eac4111fa1eb29c (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d86c5fcc9d999a8779cd16105eac4111fa1eb29c # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-11T03:58:58.507Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-11T03:58:58.565Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-11T03:58:58.580Z] ========================================================= [2022-10-11T03:58:58.580Z] EdgeX Global Pipelines Version Info [2022-10-11T03:58:58.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 [2022-10-11T03:58:59.291Z] ------------------- [2022-10-11T03:58:59.291Z] stable info: [2022-10-11T03:58:59.291Z] ------------------- [2022-10-11T03:58:59.291Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-11T03:58:59.291Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T03:58:59.291Z] Message: update stable to v1.0.239 [2022-10-11T03:58:59.862Z] ------------------- [2022-10-11T03:58:59.862Z] experimental info: [2022-10-11T03:58:59.862Z] ------------------- [2022-10-11T03:58:59.862Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-11T03:58:59.862Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T03:58:59.862Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-11T03:59:00.029Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-11T03:59:00.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-11T03:59:00.050Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-11T03:59:00.061Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-11T03:59:00.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-11T03:59:00.083Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-11T03:59:00.096Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-11T03:59:00.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-11T03:59:00.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-11T03:59:00.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-11T03:59:00.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-11T03:59:00.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-11T03:59:00.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-11T03:59:00.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-11T03:59:00.170Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T03:59:00.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T03:59:00.188Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T03:59:00.196Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T03:59:00.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-11T03:59:00.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-11T03:59:00.222Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-11T03:59:00.230Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-11T03:59:00.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-11T03:59:00.246Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-11T03:59:00.265Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-11T03:59:00.281Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-11T03:59:00.292Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-11T03:59:00.305Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-11T03:59:00.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-11T03:59:00.327Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-11T03:59:00.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo [2022-10-11T03:59:00.356Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d86c5fc [Pipeline] echo [2022-10-11T03:59:00.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T03:59:00.407Z] provisioning config files... [2022-10-11T03:59:00.422Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config7007033517502763227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T03:59:00.721Z] ---> docker-login.sh [2022-10-11T03:59:00.721Z] nexus3.edgexfoundry.org:10001 [2022-10-11T03:59:00.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:01.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:01.242Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:01.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:01.242Z] [2022-10-11T03:59:01.242Z] Login Succeeded [2022-10-11T03:59:01.242Z] nexus3.edgexfoundry.org:10002 [2022-10-11T03:59:01.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:01.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:01.242Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:01.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:01.242Z] [2022-10-11T03:59:01.242Z] Login Succeeded [2022-10-11T03:59:01.242Z] nexus3.edgexfoundry.org:10003 [2022-10-11T03:59:01.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:01.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:01.242Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:01.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:01.242Z] [2022-10-11T03:59:01.242Z] Login Succeeded [2022-10-11T03:59:01.242Z] nexus3.edgexfoundry.org:10004 [2022-10-11T03:59:01.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:01.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:01.503Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:01.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:01.503Z] [2022-10-11T03:59:01.503Z] Login Succeeded [2022-10-11T03:59:01.503Z] docker.io [2022-10-11T03:59:01.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:01.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:01.760Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:01.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:01.760Z] [2022-10-11T03:59:01.760Z] Login Succeeded [2022-10-11T03:59:01.760Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T03:59:01.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-11T03:59:02.117Z] + git rev-list -1 --merges d86c5fcc9d999a8779cd16105eac4111fa1eb29c~1..d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo [2022-10-11T03:59:02.143Z] -----------> git rev-list -1 --merges d86c5fcc9d999a8779cd16105eac4111fa1eb29c~1..d86c5fcc9d999a8779cd16105eac4111fa1eb29c d86c5fcc9d999a8779cd16105eac4111fa1eb29c [2022-10-11T03:59:02.143Z] d86c5fcc9d999a8779cd16105eac4111fa1eb29c [false] [Pipeline] sh [2022-10-11T03:59:02.426Z] + git log --format=format:%s -1 d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo [2022-10-11T03:59:02.441Z] ========================================================= [2022-10-11T03:59:02.441Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-11T03:59:02.441Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T03:59:02.764Z] + git log --format=format:%s -1 d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] echo [2022-10-11T03:59:02.775Z] [semverPrep] GIT_COMMIT: d86c5fcc9d999a8779cd16105eac4111fa1eb29c, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo [2022-10-11T03:59:02.784Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-11T03:59:03.153Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-11T03:59:03.153Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-11T03:59:03.153Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-11T03:59:03.153Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-11T03:59:03.153Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-11T03:59:03.153Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-11T03:59:03.153Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T03:59:03.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T03:59:03.568Z] [2022-10-11T03:59:03.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T03:59:03.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T03:59:03.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-11T03:59:03.874Z] b85a868b505f: Pulling fs layer [2022-10-11T03:59:03.874Z] e2be974225ed: Pulling fs layer [2022-10-11T03:59:03.874Z] 339a4e72a1f5: Pulling fs layer [2022-10-11T03:59:03.874Z] 988bab9f4d93: Pulling fs layer [2022-10-11T03:59:03.874Z] 1469e6f7b9e6: Pulling fs layer [2022-10-11T03:59:03.874Z] eaf3925da568: Pulling fs layer [2022-10-11T03:59:03.874Z] bab4dde63d76: Pulling fs layer [2022-10-11T03:59:03.874Z] bde34c3a00c8: Pulling fs layer [2022-10-11T03:59:03.874Z] b352a97aabf1: Pulling fs layer [2022-10-11T03:59:03.874Z] 4872d77fe225: Pulling fs layer [2022-10-11T03:59:03.874Z] 5851b861e8e6: Pulling fs layer [2022-10-11T03:59:03.874Z] bab4dde63d76: Waiting [2022-10-11T03:59:03.874Z] bde34c3a00c8: Waiting [2022-10-11T03:59:03.874Z] b352a97aabf1: Waiting [2022-10-11T03:59:03.874Z] 4872d77fe225: Waiting [2022-10-11T03:59:03.874Z] 5851b861e8e6: Waiting [2022-10-11T03:59:03.874Z] 988bab9f4d93: Waiting [2022-10-11T03:59:03.874Z] 1469e6f7b9e6: Waiting [2022-10-11T03:59:03.874Z] eaf3925da568: Waiting [2022-10-11T03:59:03.874Z] e2be974225ed: Verifying Checksum [2022-10-11T03:59:03.874Z] e2be974225ed: Download complete [2022-10-11T03:59:03.874Z] 988bab9f4d93: Verifying Checksum [2022-10-11T03:59:03.874Z] 988bab9f4d93: Download complete [2022-10-11T03:59:04.135Z] 1469e6f7b9e6: Verifying Checksum [2022-10-11T03:59:04.135Z] 1469e6f7b9e6: Download complete [2022-10-11T03:59:04.135Z] 339a4e72a1f5: Verifying Checksum [2022-10-11T03:59:04.135Z] 339a4e72a1f5: Download complete [2022-10-11T03:59:04.135Z] eaf3925da568: Verifying Checksum [2022-10-11T03:59:04.135Z] eaf3925da568: Download complete [2022-10-11T03:59:04.135Z] bde34c3a00c8: Download complete [2022-10-11T03:59:04.135Z] b352a97aabf1: Download complete [2022-10-11T03:59:04.135Z] 4872d77fe225: Download complete [2022-10-11T03:59:04.135Z] 5851b861e8e6: Download complete [2022-10-11T03:59:04.135Z] b85a868b505f: Verifying Checksum [2022-10-11T03:59:04.135Z] b85a868b505f: Download complete [2022-10-11T03:59:04.401Z] bab4dde63d76: Verifying Checksum [2022-10-11T03:59:04.401Z] bab4dde63d76: Download complete [2022-10-11T03:59:05.339Z] b85a868b505f: Pull complete [2022-10-11T03:59:05.598Z] e2be974225ed: Pull complete [2022-10-11T03:59:06.169Z] 339a4e72a1f5: Pull complete [2022-10-11T03:59:06.169Z] 988bab9f4d93: Pull complete [2022-10-11T03:59:06.428Z] 1469e6f7b9e6: Pull complete [2022-10-11T03:59:06.428Z] eaf3925da568: Pull complete [2022-10-11T03:59:08.335Z] bab4dde63d76: Pull complete [2022-10-11T03:59:08.335Z] bde34c3a00c8: Pull complete [2022-10-11T03:59:08.335Z] b352a97aabf1: Pull complete [2022-10-11T03:59:08.335Z] 4872d77fe225: Pull complete [2022-10-11T03:59:08.335Z] 5851b861e8e6: Pull complete [2022-10-11T03:59:08.335Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-11T03:59:08.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T03:59:08.335Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T03:59:08.424Z] prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container [2022-10-11T03:59:08.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-11T03:59:13.404Z] $ docker top eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc -eo pid,comm [2022-10-11T03:59:13.471Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-11T03:59:13.471Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-11T03:59:13.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T03:59:13.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T03:59:13.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T03:59:13.623Z] $ docker exec eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent [2022-10-11T03:59:13.739Z] SSH_AUTH_SOCK=/tmp/ssh-MkBokUGyr9DB/agent.32 [2022-10-11T03:59:13.739Z] SSH_AGENT_PID=38 [2022-10-11T03:59:13.745Z] Running ssh-add (command line suppressed) [2022-10-11T03:59:13.835Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2864829271838700693.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2864829271838700693.key) [2022-10-11T03:59:13.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T03:59:14.141Z] + git tag --points-at HEAD [Pipeline] } [2022-10-11T03:59:14.147Z] $ docker exec --env ******** --env ******** eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent -k [2022-10-11T03:59:14.258Z] unset SSH_AUTH_SOCK; [2022-10-11T03:59:14.259Z] unset SSH_AGENT_PID; [2022-10-11T03:59:14.259Z] echo Agent pid 38 killed; [2022-10-11T03:59:14.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-11T03:59:14.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T03:59:14.298Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T03:59:14.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T03:59:14.400Z] $ docker exec eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent [2022-10-11T03:59:14.522Z] SSH_AUTH_SOCK=/tmp/ssh-4vPtzdbjMuqv/agent.70 [2022-10-11T03:59:14.522Z] SSH_AGENT_PID=76 [2022-10-11T03:59:14.527Z] Running ssh-add (command line suppressed) [2022-10-11T03:59:14.617Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_1754879605354016474.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_1754879605354016474.key) [2022-10-11T03:59:14.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T03:59:14.920Z] + git semver init [2022-10-11T03:59:15.180Z] 2022-10-11 03:59:15,094 [run_init] DEBUG init version:0.0.0 force:False [2022-10-11T03:59:15.180Z] 2022-10-11 03:59:15,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-11T03:59:15.180Z] 2022-10-11 03:59:15,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-11T03:59:15.180Z] 2022-10-11 03:59:15,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,197 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,197 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,201 [execute] INFO git cat-file --batch-check [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,207 [execute] INFO git cat-file --batch [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T03:59:16.563Z] 2022-10-11 03:59:16,212 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-11T03:59:16.563Z] 0.0.0 [Pipeline] } [2022-10-11T03:59:16.565Z] $ docker exec --env ******** --env ******** eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc ssh-agent -k [2022-10-11T03:59:16.662Z] unset SSH_AUTH_SOCK; [2022-10-11T03:59:16.662Z] unset SSH_AGENT_PID; [2022-10-11T03:59:16.663Z] echo Agent pid 76 killed; [2022-10-11T03:59:16.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-11T03:59:16.975Z] + git semver [Pipeline] } [2022-10-11T03:59:17.242Z] $ docker stop --time=1 eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc [2022-10-11T03:59:18.560Z] $ docker rm -f eb2f568f3485bab1f59590e72de69d643f4508536cc5f148c867fbc02ba48bbc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T03:59:18.905Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-11T03:59:19.073Z] Stashed 1 file(s) [Pipeline] echo [2022-10-11T03:59:19.076Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T03:59:19.218Z] provisioning config files... [2022-10-11T03:59:19.227Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config17510058139708144576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T03:59:19.518Z] ---> docker-login.sh [2022-10-11T03:59:19.518Z] nexus3.edgexfoundry.org:10001 [2022-10-11T03:59:19.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:19.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:19.518Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:19.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:19.518Z] [2022-10-11T03:59:19.518Z] Login Succeeded [2022-10-11T03:59:19.518Z] nexus3.edgexfoundry.org:10002 [2022-10-11T03:59:19.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:19.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:19.518Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:19.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:19.518Z] [2022-10-11T03:59:19.518Z] Login Succeeded [2022-10-11T03:59:19.518Z] nexus3.edgexfoundry.org:10003 [2022-10-11T03:59:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:19.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:19.777Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:19.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:19.777Z] [2022-10-11T03:59:19.777Z] Login Succeeded [2022-10-11T03:59:19.777Z] nexus3.edgexfoundry.org:10004 [2022-10-11T03:59:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:19.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:19.777Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:19.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:19.777Z] [2022-10-11T03:59:19.777Z] Login Succeeded [2022-10-11T03:59:19.777Z] docker.io [2022-10-11T03:59:20.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T03:59:20.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T03:59:20.295Z] Configure a credential helper to remove this warning. See [2022-10-11T03:59:20.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T03:59:20.295Z] [2022-10-11T03:59:20.295Z] Login Succeeded [2022-10-11T03:59:20.295Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T03:59:20.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T03:59:20.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T03:59:20.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T03:59:20.371Z] ========================================================= [2022-10-11T03:59:20.371Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-11T03:59:20.371Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T03:59:20.679Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-11T03:59:20.679Z] Sending build context to Docker daemon 21.27MB [2022-10-11T03:59:20.679Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T03:59:20.679Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T03:59:20.939Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-11T03:59:20.939Z] 213ec9aee27d: Pulling fs layer [2022-10-11T03:59:20.939Z] 4583459ba037: Pulling fs layer [2022-10-11T03:59:20.939Z] 93c1e223e6f2: Pulling fs layer [2022-10-11T03:59:20.939Z] 53926ce57604: Pulling fs layer [2022-10-11T03:59:20.939Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-11T03:59:20.939Z] 30f14e443154: Pulling fs layer [2022-10-11T03:59:20.939Z] 801331c1e519: Pulling fs layer [2022-10-11T03:59:20.939Z] 99cc6dd402b0: Pulling fs layer [2022-10-11T03:59:20.939Z] 7d9ed39f4882: Pulling fs layer [2022-10-11T03:59:20.939Z] 801331c1e519: Waiting [2022-10-11T03:59:20.939Z] 53926ce57604: Waiting [2022-10-11T03:59:20.939Z] 21b2b0c7a3f4: Waiting [2022-10-11T03:59:20.939Z] 30f14e443154: Waiting [2022-10-11T03:59:20.939Z] 99cc6dd402b0: Waiting [2022-10-11T03:59:20.939Z] 7d9ed39f4882: Waiting [2022-10-11T03:59:20.939Z] 93c1e223e6f2: Verifying Checksum [2022-10-11T03:59:20.939Z] 93c1e223e6f2: Download complete [2022-10-11T03:59:20.939Z] 4583459ba037: Download complete [2022-10-11T03:59:20.939Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-11T03:59:20.939Z] 21b2b0c7a3f4: Download complete [2022-10-11T03:59:20.939Z] 30f14e443154: Verifying Checksum [2022-10-11T03:59:20.939Z] 30f14e443154: Download complete [2022-10-11T03:59:20.939Z] 213ec9aee27d: Verifying Checksum [2022-10-11T03:59:20.939Z] 213ec9aee27d: Download complete [2022-10-11T03:59:20.939Z] 801331c1e519: Download complete [2022-10-11T03:59:20.939Z] 213ec9aee27d: Pull complete [2022-10-11T03:59:21.202Z] 4583459ba037: Pull complete [2022-10-11T03:59:21.202Z] 93c1e223e6f2: Pull complete [2022-10-11T03:59:21.462Z] 7d9ed39f4882: Verifying Checksum [2022-10-11T03:59:21.462Z] 7d9ed39f4882: Download complete [2022-10-11T03:59:22.030Z] 53926ce57604: Download complete [2022-10-11T03:59:22.030Z] 99cc6dd402b0: Verifying Checksum [2022-10-11T03:59:22.030Z] 99cc6dd402b0: Download complete [2022-10-11T03:59:25.310Z] 53926ce57604: Pull complete [2022-10-11T03:59:25.310Z] 21b2b0c7a3f4: Pull complete [2022-10-11T03:59:25.310Z] 30f14e443154: Pull complete [2022-10-11T03:59:25.569Z] 801331c1e519: Pull complete [2022-10-11T03:59:27.466Z] 99cc6dd402b0: Pull complete [2022-10-11T03:59:28.035Z] 7d9ed39f4882: Pull complete [2022-10-11T03:59:28.035Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-11T03:59:28.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-11T03:59:28.035Z] ---> 1dedd983c030 [2022-10-11T03:59:28.035Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T03:59:33.338Z] ---> Running in e372b8263d2c [2022-10-11T03:59:33.338Z] Removing intermediate container e372b8263d2c [2022-10-11T03:59:33.338Z] ---> af4a678f1144 [2022-10-11T03:59:33.338Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T03:59:33.338Z] ---> Running in d8461f676298 [2022-10-11T03:59:33.338Z] Removing intermediate container d8461f676298 [2022-10-11T03:59:33.338Z] ---> 7b9bc0ff5156 [2022-10-11T03:59:33.338Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T03:59:33.338Z] ---> Running in 1cfda7d2b4c6 [2022-10-11T03:59:33.338Z] Removing intermediate container 1cfda7d2b4c6 [2022-10-11T03:59:33.338Z] ---> 7e8d40e82b96 [2022-10-11T03:59:33.338Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T03:59:33.338Z] ---> Running in ab38287a60fe [2022-10-11T03:59:33.338Z] Removing intermediate container ab38287a60fe [2022-10-11T03:59:33.338Z] ---> 6c604cca62de [2022-10-11T03:59:33.338Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T03:59:33.338Z] ---> Running in ca0f4358ff28 [2022-10-11T03:59:33.338Z] Removing intermediate container ca0f4358ff28 [2022-10-11T03:59:33.338Z] ---> 2c000783d773 [2022-10-11T03:59:33.338Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T03:59:33.597Z] ---> Running in e402c7984dc2 [2022-10-11T03:59:33.855Z] Removing intermediate container e402c7984dc2 [2022-10-11T03:59:33.855Z] ---> 1a89222396f0 [2022-10-11T03:59:33.855Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T03:59:33.855Z] ---> Running in 3153494a1668 [2022-10-11T03:59:34.113Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T03:59:34.177Z] Still waiting to schedule task [2022-10-11T03:59:34.177Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-11T03:59:35.050Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T03:59:35.620Z] OK: 211 MiB in 51 packages [2022-10-11T03:59:35.878Z] Removing intermediate container 3153494a1668 [2022-10-11T03:59:35.878Z] ---> 3b2c4beab27f [2022-10-11T03:59:35.878Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T03:59:35.878Z] ---> Running in eeffb337ca68 [2022-10-11T03:59:35.878Z] Removing intermediate container eeffb337ca68 [2022-10-11T03:59:35.878Z] ---> ca68ce49d521 [2022-10-11T03:59:35.878Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T03:59:36.136Z] ---> 7f2097f15e6a [2022-10-11T03:59:36.136Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T03:59:36.136Z] ---> Running in ae1770b4ce92 [2022-10-11T04:00:02.724Z] Removing intermediate container ae1770b4ce92 [2022-10-11T04:00:02.724Z] ---> 14b76e2e5abb [2022-10-11T04:00:02.724Z] Step 13/14 : COPY . . [2022-10-11T04:00:02.724Z] ---> 2007a7be87fe [2022-10-11T04:00:02.724Z] Step 14/14 : RUN ${MAKE} [2022-10-11T04:00:02.724Z] ---> Running in 51c718e90b20 [2022-10-11T04:00:02.724Z] noop [2022-10-11T04:00:02.724Z] Removing intermediate container 51c718e90b20 [2022-10-11T04:00:02.724Z] ---> a85885883bfb [2022-10-11T04:00:02.724Z] Successfully built a85885883bfb [2022-10-11T04:00:02.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:00:03.035Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T04:00:03.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:00:03.097Z] prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container [2022-10-11T04:00:03.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T04:00:03.449Z] $ docker top 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T04:00:03.776Z] + go version [2022-10-11T04:00:03.776Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-11T04:00:03.786Z] $ docker stop --time=1 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 [2022-10-11T04:00:05.030Z] $ docker rm -f 9bd82f74db0a26194d7bae39534281663c58a75368f93f0ba0989b882f06aac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:00:05.409Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T04:00:05.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:00:05.477Z] prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container [2022-10-11T04:00:05.505Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T04:00:05.842Z] $ docker top 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T04:00:06.176Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-11T04:00:06.474Z] + make test [2022-10-11T04:00:06.474Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T04:00:06.733Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T04:00:18.937Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T04:00:18.937Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-11T04:00:18.937Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T04:00:18.937Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.530s coverage: 86.5% of statements [2022-10-11T04:00:27.065Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-11T04:00:27.065Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T04:00:30.349Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T04:00:30.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T04:00:30.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T04:00:30.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T04:00:30.371Z] $ docker stop --time=1 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 [2022-10-11T04:00:33.734Z] $ docker rm -f 9f9b73eef39813ee9e979294c55d0d2d75f8866b29ca0a4dc404d0c5a2f33b99 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T04:00:34.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T04:00:34.210Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-11T04:00:34.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T04:00:35.018Z] + ls -al . [2022-10-11T04:00:35.018Z] total 236 [2022-10-11T04:00:35.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 04:00 . [2022-10-11T04:00:35.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 .. [2022-10-11T04:00:35.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 04:00 .git [2022-10-11T04:00:35.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 03:58 .github [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 03:58 .gitignore [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 03:58 .golangci.yml [2022-10-11T04:00:35.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 03:59 .semver [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 03:58 Attribution.txt [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 03:58 CHANGELOG.md [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 03:58 Dockerfile [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 03:58 GOVERNANCE.md [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 03:58 Jenkinsfile [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 03:58 LICENSE [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 03:58 Makefile [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 03:58 OWNERS.md [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 03:58 README.md [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 03:59 VERSION [2022-10-11T04:00:35.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 03:58 bin [2022-10-11T04:00:35.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 03:58 cmd [2022-10-11T04:00:35.018Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 04:00 coverage.out [2022-10-11T04:00:35.018Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 03:58 doc [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 03:58 go.mod [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 03:58 go.sum [2022-10-11T04:00:35.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 internal [2022-10-11T04:00:35.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 03:58 snap [2022-10-11T04:00:35.018Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:00:35.321Z] + 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=d86c5fcc9d999a8779cd16105eac4111fa1eb29c --label arch=amd64 --label version=0.0.0 . [2022-10-11T04:00:35.322Z] Sending build context to Docker daemon 21.35MB [2022-10-11T04:00:35.322Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T04:00:35.322Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T04:00:35.322Z] ---> a85885883bfb [2022-10-11T04:00:35.322Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T04:00:35.888Z] ---> Running in 21febf99508f [2022-10-11T04:00:35.888Z] Removing intermediate container 21febf99508f [2022-10-11T04:00:35.888Z] ---> 6157b0816dbf [2022-10-11T04:00:35.888Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T04:00:35.888Z] ---> Running in 8f1a8bf7457c [2022-10-11T04:00:35.888Z] Removing intermediate container 8f1a8bf7457c [2022-10-11T04:00:35.888Z] ---> ae9c702b6725 [2022-10-11T04:00:35.888Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T04:00:35.888Z] ---> Running in b06f0a03d61a [2022-10-11T04:00:35.888Z] Removing intermediate container b06f0a03d61a [2022-10-11T04:00:35.888Z] ---> b26c946c14f8 [2022-10-11T04:00:35.888Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T04:00:36.148Z] ---> Running in a27503bc8049 [2022-10-11T04:00:36.148Z] Removing intermediate container a27503bc8049 [2022-10-11T04:00:36.148Z] ---> 5dec560d58e5 [2022-10-11T04:00:36.148Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T04:00:36.148Z] ---> Running in d56f08febb6a [2022-10-11T04:00:36.148Z] Removing intermediate container d56f08febb6a [2022-10-11T04:00:36.148Z] ---> 443480ff341f [2022-10-11T04:00:36.148Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T04:00:36.148Z] ---> Running in 348df55e7e97 [2022-10-11T04:00:36.714Z] Removing intermediate container 348df55e7e97 [2022-10-11T04:00:36.714Z] ---> 8ab975b2a292 [2022-10-11T04:00:36.714Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T04:00:36.714Z] ---> Running in 48344d37c781 [2022-10-11T04:00:36.972Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T04:00:37.910Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T04:00:38.169Z] OK: 211 MiB in 51 packages [2022-10-11T04:00:38.427Z] Removing intermediate container 48344d37c781 [2022-10-11T04:00:38.427Z] ---> 09ec576029c5 [2022-10-11T04:00:38.427Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T04:00:38.427Z] ---> Running in 7b6b7b4e8ff1 [2022-10-11T04:00:38.685Z] Removing intermediate container 7b6b7b4e8ff1 [2022-10-11T04:00:38.685Z] ---> 62748164bbb0 [2022-10-11T04:00:38.685Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T04:00:38.685Z] ---> 485b02c13eb5 [2022-10-11T04:00:38.685Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T04:00:38.685Z] ---> Running in 9635fb8a6a6c [2022-10-11T04:00:39.250Z] Removing intermediate container 9635fb8a6a6c [2022-10-11T04:00:39.250Z] ---> edbd60ce7348 [2022-10-11T04:00:39.250Z] Step 13/27 : COPY . . [2022-10-11T04:00:40.625Z] ---> 367bcad20be1 [2022-10-11T04:00:40.625Z] Step 14/27 : RUN ${MAKE} [2022-10-11T04:00:40.625Z] ---> Running in 0c88d8adf334 [2022-10-11T04:00:40.625Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-11T04:01:06.122Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7623 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-11T04:01:06.134Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-10-11T04:01:06.169Z] The recommended git tool is: git [2022-10-11T04:01:07.170Z] Removing intermediate container 0c88d8adf334 [2022-10-11T04:01:07.171Z] ---> c513f9d5304e [2022-10-11T04:01:07.171Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T04:01:07.171Z] 3.16: Pulling from library/alpine [2022-10-11T04:01:07.171Z] 213ec9aee27d: Already exists [2022-10-11T04:01:07.171Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T04:01:07.171Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T04:01:07.171Z] ---> 9c6f07244728 [2022-10-11T04:01:07.171Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T04:01:07.171Z] ---> Running in d03802c001c6 [2022-10-11T04:01:07.171Z] Removing intermediate container d03802c001c6 [2022-10-11T04:01:07.171Z] ---> 5d817328478a [2022-10-11T04:01:07.171Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T04:01:07.171Z] ---> Running in f47ed9eed4b7 [2022-10-11T04:01:07.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T04:01:07.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T04:01:07.171Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T04:01:07.171Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T04:01:07.171Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T04:01:07.171Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T04:01:07.171Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T04:01:07.171Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T04:01:07.171Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T04:01:07.171Z] OK: 8 MiB in 20 packages [2022-10-11T04:01:07.171Z] Removing intermediate container f47ed9eed4b7 [2022-10-11T04:01:07.171Z] ---> 054697e5edd5 [2022-10-11T04:01:07.171Z] Step 18/27 : WORKDIR / [2022-10-11T04:01:07.171Z] ---> Running in a43fd7da12eb [2022-10-11T04:01:07.428Z] Removing intermediate container a43fd7da12eb [2022-10-11T04:01:07.428Z] ---> 9c031c44d93a [2022-10-11T04:01:07.428Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T04:01:08.473Z] ---> a96f78417cc3 [2022-10-11T04:01:08.473Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T04:01:08.473Z] ---> e12db4833769 [2022-10-11T04:01:08.473Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T04:01:08.473Z] ---> b51cab2422fd [2022-10-11T04:01:08.473Z] Step 22/27 : EXPOSE 59984 [2022-10-11T04:01:08.473Z] ---> Running in 2bdf3b30a4c9 [2022-10-11T04:01:08.473Z] Removing intermediate container 2bdf3b30a4c9 [2022-10-11T04:01:08.473Z] ---> 67c34d58fd91 [2022-10-11T04:01:08.473Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T04:01:08.473Z] ---> Running in c17ceb2f2076 [2022-10-11T04:01:08.731Z] Removing intermediate container c17ceb2f2076 [2022-10-11T04:01:08.731Z] ---> 28e636c95e1a [2022-10-11T04:01:08.731Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T04:01:08.731Z] ---> Running in 44426355c9c9 [2022-10-11T04:01:08.731Z] Removing intermediate container 44426355c9c9 [2022-10-11T04:01:08.731Z] ---> a30bf4b58d82 [2022-10-11T04:01:08.731Z] Step 25/27 : LABEL arch=amd64 [2022-10-11T04:01:08.731Z] ---> Running in f611343d533f [2022-10-11T04:01:08.731Z] Removing intermediate container f611343d533f [2022-10-11T04:01:08.731Z] ---> 269e0e071a8b [2022-10-11T04:01:08.731Z] Step 26/27 : LABEL git_sha=d86c5fcc9d999a8779cd16105eac4111fa1eb29c [2022-10-11T04:01:09.001Z] ---> Running in 3f97ae1c30c0 [2022-10-11T04:01:09.001Z] Removing intermediate container 3f97ae1c30c0 [2022-10-11T04:01:09.001Z] ---> e990de6c2823 [2022-10-11T04:01:09.001Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T04:01:09.001Z] ---> Running in 606e0ca0d98c [2022-10-11T04:01:09.001Z] Removing intermediate container 606e0ca0d98c [2022-10-11T04:01:09.001Z] ---> ad7b0f26adad [2022-10-11T04:01:09.001Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T04:01:09.001Z] Successfully built ad7b0f26adad [2022-10-11T04:01:09.001Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:01:09.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T04:01:09.445Z] [2022-10-11T04:01:09.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:01:09.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T04:01:09.744Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-11T04:01:09.744Z] 5eb5b503b376: Pulling fs layer [2022-10-11T04:01:09.744Z] 5c69ac0246d0: Pulling fs layer [2022-10-11T04:01:09.744Z] ec43610c2a17: Pulling fs layer [2022-10-11T04:01:09.744Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-11T04:01:09.744Z] 33b1e0a273af: Pulling fs layer [2022-10-11T04:01:09.744Z] 5d3b04190fa2: Pulling fs layer [2022-10-11T04:01:09.744Z] 2f39f015ded8: Pulling fs layer [2022-10-11T04:01:09.744Z] 3a2ae6a8a46f: Waiting [2022-10-11T04:01:09.744Z] 33b1e0a273af: Waiting [2022-10-11T04:01:09.744Z] 5d3b04190fa2: Waiting [2022-10-11T04:01:09.744Z] 2f39f015ded8: Waiting [2022-10-11T04:01:09.744Z] 5c69ac0246d0: Verifying Checksum [2022-10-11T04:01:09.744Z] 5c69ac0246d0: Download complete [2022-10-11T04:01:09.744Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-11T04:01:09.744Z] 3a2ae6a8a46f: Download complete [2022-10-11T04:01:10.003Z] 33b1e0a273af: Verifying Checksum [2022-10-11T04:01:10.003Z] 33b1e0a273af: Download complete [2022-10-11T04:01:10.003Z] ec43610c2a17: Verifying Checksum [2022-10-11T04:01:10.003Z] ec43610c2a17: Download complete [2022-10-11T04:01:10.003Z] 5d3b04190fa2: Verifying Checksum [2022-10-11T04:01:10.003Z] 5d3b04190fa2: Download complete [2022-10-11T04:01:10.003Z] 5eb5b503b376: Download complete [2022-10-11T04:01:10.569Z] 2f39f015ded8: Download complete [2022-10-11T04:01:11.309Z] using credential edgex-jenkins-ssh [2022-10-11T04:01:11.324Z] Cloning the remote Git repository [2022-10-11T04:01:11.531Z] 5eb5b503b376: Pull complete [2022-10-11T04:01:11.531Z] 5c69ac0246d0: Pull complete [2022-10-11T04:01:12.098Z] ec43610c2a17: Pull complete [2022-10-11T04:01:12.098Z] 3a2ae6a8a46f: Pull complete [2022-10-11T04:01:12.098Z] 33b1e0a273af: Pull complete [2022-10-11T04:01:11.371Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T04:01:11.444Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-10-11T04:01:11.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T04:01:11.576Z] > git --version # timeout=10 [2022-10-11T04:01:11.597Z] > git --version # 'git version 2.25.1' [2022-10-11T04:01:11.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T04:01:11.645Z] Verifying host key using known hosts file [2022-10-11T04:01:11.820Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T04:01:11.832Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T04:01:12.356Z] 5d3b04190fa2: Pull complete [2022-10-11T04:01:13.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T04:01:13.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T04:01:14.673Z] Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b38cad5b99fcc04b9ffa906019bb6127e2844a17 [2022-10-11T04:01:13.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T04:01:13.913Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T04:01:13.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T04:01:13.919Z] Verifying host key using known hosts file [2022-10-11T04:01:13.926Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T04:01:13.936Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-11T04:01:14.692Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T04:01:14.709Z] > git checkout -f b38cad5b99fcc04b9ffa906019bb6127e2844a17 # timeout=10 [2022-10-11T04:01:15.284Z] Merge succeeded, producing 8fdbd905d1ecb830906654991846a5c19a3b10ec [2022-10-11T04:01:15.285Z] Checking out Revision 8fdbd905d1ecb830906654991846a5c19a3b10ec (PR-174) [2022-10-11T04:01:14.932Z] > git remote # timeout=10 [2022-10-11T04:01:14.948Z] > git config --get remote.origin.url # timeout=10 [2022-10-11T04:01:14.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T04:01:14.968Z] Verifying host key using known hosts file [2022-10-11T04:01:14.972Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T04:01:14.980Z] > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 [2022-10-11T04:01:15.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-11T04:01:15.292Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T04:01:15.304Z] > git checkout -f 8fdbd905d1ecb830906654991846a5c19a3b10ec # timeout=10 [2022-10-11T04:01:16.553Z] 2f39f015ded8: Pull complete [2022-10-11T04:01:16.553Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-11T04:01:16.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T04:01:16.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:01:16.629Z] prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container [2022-10-11T04:01:16.662Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T04:01:18.766Z] Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" [2022-10-11T04:01:18.817Z] First time build. Skipping changelog. [2022-10-11T04:01:19.155Z] [2022-10-11T04:01:19.155Z] GitHub has been notified of this commit’s build result [2022-10-11T04:01:19.155Z] [2022-10-11T04:01:18.800Z] > git rev-list --no-walk df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 [2022-10-11T04:01:21.942Z] $ docker top 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T04:01:22.326Z] ---> job-cost.sh [2022-10-11T04:01:22.326Z] lf-activate-venv: SKIPPING [2022-10-11T04:01:22.326Z] INFO: No Stack... [2022-10-11T04:01:22.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-11T04:01:22.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T04:01:22.572Z] Dload Upload Total Spent Left Speed [2022-10-11T04:01:22.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 84577 [2022-10-11T04:01:22.584Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-10-11T04:01:23.150Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T04:01:23.327Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-11T04:01:23.437Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-11T04:01:23.437Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T04:01:23.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [2022-10-11T04:01:23.457Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] did not exist. Created. [2022-10-11T04:01:23.457Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T04:01:23.648Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-11T04:01:23.648Z] + sudo tee /etc/docker/daemon.new [2022-10-11T04:01:23.648Z] { [2022-10-11T04:01:23.648Z] "registry-mirrors": [ [2022-10-11T04:01:23.648Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-11T04:01:23.648Z] ], [2022-10-11T04:01:23.648Z] "bip": "10.250.0.254/24", [2022-10-11T04:01:23.648Z] "hosts": [ [2022-10-11T04:01:23.648Z] "tcp://0.0.0.0:5555", [2022-10-11T04:01:23.648Z] "unix:///var/run/docker.sock" [2022-10-11T04:01:23.648Z] ], [2022-10-11T04:01:23.648Z] "mtu": 1458, [2022-10-11T04:01:23.648Z] "selinux-enabled": true, [2022-10-11T04:01:23.648Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-11T04:01:23.648Z] } [Pipeline] sh [2022-10-11T04:01:23.755Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-11T04:01:23.787Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T04:01:23.793Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T04:01:23.809Z] $ docker stop --time=1 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 [2022-10-11T04:01:23.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2022-10-11T04:01:24.972Z] $ docker rm -f 44dfa9312128fa58173348f786cdfc7c33c74afdfeee7d9a258755b553f4df54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-11T04:01:25.334Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T04:01:43.605Z] provisioning config files... [2022-10-11T04:01:43.635Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config12725519432371486243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:01:43.982Z] ---> docker-login.sh [2022-10-11T04:01:43.982Z] nexus3.edgexfoundry.org:10001 [2022-10-11T04:01:44.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T04:01:44.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T04:01:44.525Z] Configure a credential helper to remove this warning. See [2022-10-11T04:01:44.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T04:01:44.525Z] [2022-10-11T04:01:44.525Z] Login Succeeded [2022-10-11T04:01:44.525Z] nexus3.edgexfoundry.org:10002 [2022-10-11T04:01:44.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T04:01:45.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T04:01:45.068Z] Configure a credential helper to remove this warning. See [2022-10-11T04:01:45.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T04:01:45.068Z] [2022-10-11T04:01:45.068Z] Login Succeeded [2022-10-11T04:01:45.068Z] nexus3.edgexfoundry.org:10003 [2022-10-11T04:01:45.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T04:01:45.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T04:01:45.340Z] Configure a credential helper to remove this warning. See [2022-10-11T04:01:45.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T04:01:45.340Z] [2022-10-11T04:01:45.340Z] Login Succeeded [2022-10-11T04:01:45.340Z] nexus3.edgexfoundry.org:10004 [2022-10-11T04:01:45.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T04:01:45.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T04:01:45.610Z] Configure a credential helper to remove this warning. See [2022-10-11T04:01:45.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T04:01:45.610Z] [2022-10-11T04:01:45.610Z] Login Succeeded [2022-10-11T04:01:45.610Z] docker.io [2022-10-11T04:01:45.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T04:01:46.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T04:01:46.467Z] Configure a credential helper to remove this warning. See [2022-10-11T04:01:46.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T04:01:46.467Z] [2022-10-11T04:01:46.467Z] Login Succeeded [2022-10-11T04:01:46.467Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T04:01:46.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T04:01:46.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T04:01:46.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T04:01:46.662Z] ========================================================= [2022-10-11T04:01:46.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-11T04:01:46.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:01:47.010Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-11T04:01:47.597Z] Sending build context to Docker daemon 14.69MB [2022-10-11T04:01:47.597Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T04:01:47.597Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T04:01:47.597Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-11T04:01:47.597Z] 9b18e9b68314: Pulling fs layer [2022-10-11T04:01:47.597Z] d32db5db7311: Pulling fs layer [2022-10-11T04:01:47.597Z] d0c4b47475fc: Pulling fs layer [2022-10-11T04:01:47.597Z] 5831b945b038: Pulling fs layer [2022-10-11T04:01:47.597Z] 86bbec2aaacd: Pulling fs layer [2022-10-11T04:01:47.597Z] e10730c5d714: Pulling fs layer [2022-10-11T04:01:47.597Z] 5dd5c2283517: Pulling fs layer [2022-10-11T04:01:47.597Z] d5ac0230b979: Pulling fs layer [2022-10-11T04:01:47.597Z] 5831b945b038: Waiting [2022-10-11T04:01:47.597Z] 86bbec2aaacd: Waiting [2022-10-11T04:01:47.597Z] e10730c5d714: Waiting [2022-10-11T04:01:47.597Z] 5dd5c2283517: Waiting [2022-10-11T04:01:47.597Z] d5ac0230b979: Waiting [2022-10-11T04:01:47.597Z] d0c4b47475fc: Download complete [2022-10-11T04:01:47.597Z] d32db5db7311: Download complete [2022-10-11T04:01:47.597Z] 86bbec2aaacd: Verifying Checksum [2022-10-11T04:01:47.597Z] 86bbec2aaacd: Download complete [2022-10-11T04:01:47.597Z] 9b18e9b68314: Verifying Checksum [2022-10-11T04:01:47.597Z] e10730c5d714: Verifying Checksum [2022-10-11T04:01:47.597Z] e10730c5d714: Download complete [2022-10-11T04:01:48.574Z] 9b18e9b68314: Pull complete [2022-10-11T04:01:48.845Z] d5ac0230b979: Verifying Checksum [2022-10-11T04:01:48.845Z] d5ac0230b979: Download complete [2022-10-11T04:01:49.114Z] d32db5db7311: Pull complete [2022-10-11T04:01:49.385Z] d0c4b47475fc: Pull complete [2022-10-11T04:01:49.982Z] 5dd5c2283517: Download complete [2022-10-11T04:01:50.579Z] 5831b945b038: Verifying Checksum [2022-10-11T04:02:02.909Z] 5831b945b038: Pull complete [2022-10-11T04:02:02.909Z] 86bbec2aaacd: Pull complete [2022-10-11T04:02:02.909Z] e10730c5d714: Pull complete [2022-10-11T04:02:09.584Z] 5dd5c2283517: Pull complete [2022-10-11T04:02:11.533Z] d5ac0230b979: Pull complete [2022-10-11T04:02:11.533Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-11T04:02:11.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-11T04:02:11.533Z] ---> 59b3b1a385d4 [2022-10-11T04:02:11.533Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T04:02:13.483Z] ---> Running in e3cb786b9a40 [2022-10-11T04:02:13.751Z] Removing intermediate container e3cb786b9a40 [2022-10-11T04:02:13.751Z] ---> 987ee476da39 [2022-10-11T04:02:13.751Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T04:02:13.751Z] ---> Running in 23fc70cf60bd [2022-10-11T04:02:14.020Z] Removing intermediate container 23fc70cf60bd [2022-10-11T04:02:14.020Z] ---> 3221da2a3907 [2022-10-11T04:02:14.020Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T04:02:14.020Z] ---> Running in 6c8b65f82093 [2022-10-11T04:02:14.288Z] Removing intermediate container 6c8b65f82093 [2022-10-11T04:02:14.288Z] ---> cd9aece9ef27 [2022-10-11T04:02:14.288Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T04:02:14.558Z] ---> Running in 6055db327d9f [2022-10-11T04:02:14.825Z] Removing intermediate container 6055db327d9f [2022-10-11T04:02:14.825Z] ---> 2609fcceb35f [2022-10-11T04:02:14.825Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T04:02:14.825Z] ---> Running in 4444d847d196 [2022-10-11T04:02:15.095Z] Removing intermediate container 4444d847d196 [2022-10-11T04:02:15.095Z] ---> cea7b57ee9a4 [2022-10-11T04:02:15.095Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T04:02:15.095Z] ---> Running in f747a12d4572 [2022-10-11T04:02:17.053Z] Removing intermediate container f747a12d4572 [2022-10-11T04:02:17.053Z] ---> c31661240a52 [2022-10-11T04:02:17.053Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T04:02:17.053Z] ---> Running in 9f20d96b58db [2022-10-11T04:02:18.012Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T04:02:18.971Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T04:02:19.557Z] OK: 221 MiB in 51 packages [2022-10-11T04:02:20.516Z] Removing intermediate container 9f20d96b58db [2022-10-11T04:02:20.516Z] ---> c804606d6b98 [2022-10-11T04:02:20.516Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T04:02:20.516Z] ---> Running in af9a30c69fa5 [2022-10-11T04:02:20.784Z] Removing intermediate container af9a30c69fa5 [2022-10-11T04:02:20.784Z] ---> 103d79fb801e [2022-10-11T04:02:20.784Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T04:02:21.743Z] ---> 79bda2b9455f [2022-10-11T04:02:21.743Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T04:02:21.743Z] ---> Running in 783c586fb43e [2022-10-11T04:03:08.611Z] Removing intermediate container 783c586fb43e [2022-10-11T04:03:08.611Z] ---> 5d54ecaf5cf2 [2022-10-11T04:03:08.611Z] Step 13/14 : COPY . . [2022-10-11T04:03:10.021Z] ---> d910fc8271e2 [2022-10-11T04:03:10.021Z] Step 14/14 : RUN ${MAKE} [2022-10-11T04:03:10.021Z] ---> Running in 48bfcce1e2a5 [2022-10-11T04:03:10.985Z] noop [2022-10-11T04:03:11.569Z] Removing intermediate container 48bfcce1e2a5 [2022-10-11T04:03:11.569Z] ---> 2879a79c0372 [2022-10-11T04:03:11.569Z] Successfully built 2879a79c0372 [2022-10-11T04:03:11.569Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:03:11.918Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T04:03:11.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:03:12.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container [2022-10-11T04:03:12.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T04:03:13.289Z] $ docker top 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T04:03:14.112Z] + go version [2022-10-11T04:03:14.113Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-11T04:03:14.132Z] $ docker stop --time=1 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba [2022-10-11T04:03:15.710Z] $ docker rm -f 7570a4927dec8774a5287f4acfb1d9abf29fb77b7c3a2b755e942e9a5da0ebba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:03:16.236Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T04:03:16.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:03:16.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container [2022-10-11T04:03:16.468Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T04:03:17.634Z] $ docker top 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T04:03:18.120Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-10-11T04:03:18.446Z] + make test [2022-10-11T04:03:18.447Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T04:03:20.396Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T04:04:57.048Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T04:04:57.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.2% of statements [2022-10-11T04:04:57.048Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T04:05:15.270Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.071s coverage: 86.5% of statements [2022-10-11T04:05:15.270Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-11T04:05:15.270Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T04:05:41.966Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T04:05:41.966Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T04:05:41.966Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T04:05:41.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T04:05:42.000Z] $ docker stop --time=1 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 [2022-10-11T04:05:43.902Z] $ docker rm -f 73f868f227915709620c95e8a96b469610562108ca7794689079389714c539a9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T04:05:45.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T04:05:45.025Z] Warning: overwriting stash ‘coverage-report’ [2022-10-11T04:05:45.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T04:05:46.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T04:05:46.460Z] + ls -al . [2022-10-11T04:05:46.460Z] total 232 [2022-10-11T04:05:46.460Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 04:03 . [2022-10-11T04:05:46.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 .. [2022-10-11T04:05:46.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 04:01 .git [2022-10-11T04:05:46.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 04:01 .github [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 04:01 .gitignore [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 04:01 .golangci.yml [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 04:01 Attribution.txt [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 04:01 CHANGELOG.md [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 04:01 Dockerfile [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 04:01 GOVERNANCE.md [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 04:01 Jenkinsfile [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 04:01 LICENSE [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 04:01 Makefile [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 04:01 OWNERS.md [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 04:01 README.md [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 03:59 VERSION [2022-10-11T04:05:46.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 04:01 bin [2022-10-11T04:05:46.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 04:01 cmd [2022-10-11T04:05:46.460Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 04:05 coverage.out [2022-10-11T04:05:46.460Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 04:01 doc [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 04:01 go.mod [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 04:01 go.sum [2022-10-11T04:05:46.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 internal [2022-10-11T04:05:46.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 04:01 snap [2022-10-11T04:05:46.460Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:05:46.827Z] + 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=8fdbd905d1ecb830906654991846a5c19a3b10ec --label arch=arm64 --label version=0.0.0 . [2022-10-11T04:05:47.441Z] Sending build context to Docker daemon 14.77MB [2022-10-11T04:05:47.441Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T04:05:47.441Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T04:05:47.441Z] ---> 2879a79c0372 [2022-10-11T04:05:47.441Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T04:05:47.751Z] ---> Running in 1ff924e1304a [2022-10-11T04:05:48.032Z] Removing intermediate container 1ff924e1304a [2022-10-11T04:05:48.032Z] ---> 24b08fe02fd5 [2022-10-11T04:05:48.032Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T04:05:48.032Z] ---> Running in 58c5737d08f7 [2022-10-11T04:05:48.636Z] Removing intermediate container 58c5737d08f7 [2022-10-11T04:05:48.636Z] ---> d3767e4005cc [2022-10-11T04:05:48.636Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T04:05:48.636Z] ---> Running in 9e65f70621d8 [2022-10-11T04:05:48.904Z] Removing intermediate container 9e65f70621d8 [2022-10-11T04:05:48.904Z] ---> 659cc42856d3 [2022-10-11T04:05:48.904Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T04:05:48.904Z] ---> Running in 165f15d22423 [2022-10-11T04:05:49.174Z] Removing intermediate container 165f15d22423 [2022-10-11T04:05:49.174Z] ---> 1483921cf676 [2022-10-11T04:05:49.174Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T04:05:49.174Z] ---> Running in b90a6176d8ca [2022-10-11T04:05:49.446Z] Removing intermediate container b90a6176d8ca [2022-10-11T04:05:49.446Z] ---> 23231904e39a [2022-10-11T04:05:49.446Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T04:05:49.713Z] ---> Running in a07c0aa445ab [2022-10-11T04:05:51.661Z] Removing intermediate container a07c0aa445ab [2022-10-11T04:05:51.661Z] ---> a81d13f00932 [2022-10-11T04:05:51.661Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T04:05:51.661Z] ---> Running in bf9f9f6974d5 [2022-10-11T04:05:52.623Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T04:05:53.585Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T04:05:54.547Z] OK: 221 MiB in 51 packages [2022-10-11T04:05:55.509Z] Removing intermediate container bf9f9f6974d5 [2022-10-11T04:05:55.509Z] ---> 7260aa1235a6 [2022-10-11T04:05:55.509Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T04:05:55.509Z] ---> Running in fee1e6703c7b [2022-10-11T04:05:55.776Z] Removing intermediate container fee1e6703c7b [2022-10-11T04:05:55.776Z] ---> 995b45edbcb0 [2022-10-11T04:05:55.776Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T04:05:56.375Z] ---> 93f0569f6d92 [2022-10-11T04:05:56.375Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T04:05:56.375Z] ---> Running in a5e2b6d88aff [2022-10-11T04:06:00.663Z] Removing intermediate container a5e2b6d88aff [2022-10-11T04:06:00.663Z] ---> d5645823528d [2022-10-11T04:06:00.663Z] Step 13/27 : COPY . . [2022-10-11T04:06:01.627Z] ---> d207f48c3638 [2022-10-11T04:06:01.627Z] Step 14/27 : RUN ${MAKE} [2022-10-11T04:06:01.627Z] ---> Running in 9bca2fd57622 [2022-10-11T04:06:02.589Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-11T04:08:24.278Z] Removing intermediate container 9bca2fd57622 [2022-10-11T04:08:24.278Z] ---> 66c3c0f729c7 [2022-10-11T04:08:24.278Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T04:08:24.278Z] 3.16: Pulling from library/alpine [2022-10-11T04:08:24.278Z] 9b18e9b68314: Already exists [2022-10-11T04:08:24.278Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T04:08:24.278Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T04:08:24.278Z] ---> a6215f271958 [2022-10-11T04:08:24.278Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T04:08:24.278Z] ---> Running in 58ea6f1f3c6a [2022-10-11T04:08:24.278Z] Removing intermediate container 58ea6f1f3c6a [2022-10-11T04:08:24.278Z] ---> 949d69f26b42 [2022-10-11T04:08:24.278Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T04:08:24.278Z] ---> Running in fd1abc957a89 [2022-10-11T04:08:25.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T04:08:25.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T04:08:26.474Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T04:08:26.474Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T04:08:26.474Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T04:08:26.474Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T04:08:26.474Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T04:08:26.474Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T04:08:26.474Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T04:08:26.474Z] OK: 8 MiB in 20 packages [2022-10-11T04:08:27.446Z] Removing intermediate container fd1abc957a89 [2022-10-11T04:08:27.446Z] ---> be94b4f64c8a [2022-10-11T04:08:27.446Z] Step 18/27 : WORKDIR / [2022-10-11T04:08:27.446Z] ---> Running in 1decfa646ad4 [2022-10-11T04:08:27.713Z] Removing intermediate container 1decfa646ad4 [2022-10-11T04:08:27.713Z] ---> f1816ae8fbd5 [2022-10-11T04:08:27.713Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T04:08:29.121Z] ---> bd3a35164fa1 [2022-10-11T04:08:29.121Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T04:08:29.703Z] ---> ee09eed5cb38 [2022-10-11T04:08:29.703Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T04:08:30.287Z] ---> 1e8284a4b7f4 [2022-10-11T04:08:30.287Z] Step 22/27 : EXPOSE 59984 [2022-10-11T04:08:30.287Z] ---> Running in 9a398a2e5c1f [2022-10-11T04:08:30.554Z] Removing intermediate container 9a398a2e5c1f [2022-10-11T04:08:30.554Z] ---> 30e7aae37f59 [2022-10-11T04:08:30.554Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T04:08:30.554Z] ---> Running in c6969a121091 [2022-10-11T04:08:30.822Z] Removing intermediate container c6969a121091 [2022-10-11T04:08:30.822Z] ---> e4f1168fe324 [2022-10-11T04:08:30.822Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T04:08:30.822Z] ---> Running in 55ddd680d1e8 [2022-10-11T04:08:31.090Z] Removing intermediate container 55ddd680d1e8 [2022-10-11T04:08:31.090Z] ---> 78a381b16f92 [2022-10-11T04:08:31.090Z] Step 25/27 : LABEL arch=arm64 [2022-10-11T04:08:31.356Z] ---> Running in 892dded49adb [2022-10-11T04:08:31.622Z] Removing intermediate container 892dded49adb [2022-10-11T04:08:31.622Z] ---> fec2273eb952 [2022-10-11T04:08:31.622Z] Step 26/27 : LABEL git_sha=8fdbd905d1ecb830906654991846a5c19a3b10ec [2022-10-11T04:08:31.622Z] ---> Running in 630f5d534d45 [2022-10-11T04:08:31.888Z] Removing intermediate container 630f5d534d45 [2022-10-11T04:08:31.888Z] ---> 3aa670801303 [2022-10-11T04:08:31.888Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T04:08:31.888Z] ---> Running in 81bc9fdfd605 [2022-10-11T04:08:32.154Z] Removing intermediate container 81bc9fdfd605 [2022-10-11T04:08:32.154Z] ---> 001a04caf458 [2022-10-11T04:08:32.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T04:08:32.154Z] Successfully built 001a04caf458 [2022-10-11T04:08:32.154Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:08:32.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T04:08:32.553Z] [2022-10-11T04:08:32.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:08:32.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T04:08:32.875Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-11T04:08:32.875Z] 8998bd30e6a1: Pulling fs layer [2022-10-11T04:08:32.875Z] 04944245beec: Pulling fs layer [2022-10-11T04:08:32.875Z] 699f458cf7ca: Pulling fs layer [2022-10-11T04:08:32.875Z] 765212b225bb: Pulling fs layer [2022-10-11T04:08:32.875Z] f23df028b6ca: Pulling fs layer [2022-10-11T04:08:32.875Z] d65c8cfc05b1: Pulling fs layer [2022-10-11T04:08:32.875Z] 2437ff75d9bd: Pulling fs layer [2022-10-11T04:08:32.875Z] 765212b225bb: Waiting [2022-10-11T04:08:32.875Z] 2437ff75d9bd: Waiting [2022-10-11T04:08:32.875Z] f23df028b6ca: Waiting [2022-10-11T04:08:32.875Z] d65c8cfc05b1: Waiting [2022-10-11T04:08:33.143Z] 04944245beec: Verifying Checksum [2022-10-11T04:08:33.143Z] 04944245beec: Download complete [2022-10-11T04:08:33.143Z] 765212b225bb: Download complete [2022-10-11T04:08:33.143Z] f23df028b6ca: Download complete [2022-10-11T04:08:33.143Z] d65c8cfc05b1: Verifying Checksum [2022-10-11T04:08:33.143Z] d65c8cfc05b1: Download complete [2022-10-11T04:08:33.413Z] 699f458cf7ca: Verifying Checksum [2022-10-11T04:08:33.413Z] 699f458cf7ca: Download complete [2022-10-11T04:08:33.679Z] 8998bd30e6a1: Verifying Checksum [2022-10-11T04:08:33.679Z] 8998bd30e6a1: Download complete [2022-10-11T04:08:36.258Z] 2437ff75d9bd: Verifying Checksum [2022-10-11T04:08:36.258Z] 2437ff75d9bd: Download complete [2022-10-11T04:08:37.669Z] 8998bd30e6a1: Pull complete [2022-10-11T04:08:37.935Z] 04944245beec: Pull complete [2022-10-11T04:08:39.344Z] 699f458cf7ca: Pull complete [2022-10-11T04:08:39.611Z] 765212b225bb: Pull complete [2022-10-11T04:08:40.196Z] f23df028b6ca: Pull complete [2022-10-11T04:08:40.462Z] d65c8cfc05b1: Pull complete [2022-10-11T04:08:55.449Z] 2437ff75d9bd: Pull complete [2022-10-11T04:08:55.449Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-11T04:08:55.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T04:08:55.449Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:08:55.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-7623 does not seem to be running inside a container [2022-10-11T04:08:55.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-11T04:08:58.209Z] $ docker top 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:08:58.722Z] ---> job-cost.sh [2022-10-11T04:08:58.988Z] lf-activate-venv: SKIPPING [2022-10-11T04:08:58.988Z] INFO: No Stack... [2022-10-11T04:08:59.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-11T04:09:00.150Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T04:09:00.468Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-10-11T04:09:00.468Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T04:09:00.803Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [2022-10-11T04:09:00.810Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] did not exist. Created. [2022-10-11T04:09:00.810Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T04:09:01.148Z] /w/workspace/device-onvif-camera/5@tmp/durable-506dbbc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-11T04:09:01.799Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-11T04:09:01.823Z] Warning: overwriting stash ‘stack-cost’ [2022-10-11T04:09:01.887Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T04:09:01.894Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T04:09:01.908Z] $ docker stop --time=1 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e [2022-10-11T04:09:03.393Z] $ docker rm -f 86aacb4ddb3e935b6aa9b0aafd68a2b5aac484bba3dc03cd1b2f2959c7f08a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-11T04:09:03.757Z] provisioning config files... [2022-10-11T04:09:03.763Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13351086646044471248tmp [Pipeline] { [Pipeline] sh [2022-10-11T04:09:04.053Z] + set +x [2022-10-11T04:09:04.053Z] + curl -s https://codecov.io/bash [2022-10-11T04:09:04.053Z] + bash -s -- [2022-10-11T04:09:04.053Z] [2022-10-11T04:09:04.053Z] _____ _ [2022-10-11T04:09:04.053Z] / ____| | | [2022-10-11T04:09:04.053Z] | | ___ __| | ___ ___ _____ __ [2022-10-11T04:09:04.053Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-11T04:09:04.053Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-11T04:09:04.053Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-11T04:09:04.053Z] Bash-1.0.6 [2022-10-11T04:09:04.053Z] [2022-10-11T04:09:04.053Z] [2022-10-11T04:09:04.053Z] ==> git version 2.25.1 found [2022-10-11T04:09:04.053Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-11T04:09:04.053Z] Release-Date: 2020-01-08 [2022-10-11T04:09:04.053Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-11T04:09:04.053Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-11T04:09:04.053Z] ==> Jenkins CI detected. [2022-10-11T04:09:04.053Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-11T04:09:04.053Z] project root: . [2022-10-11T04:09:04.053Z] --> token set from env [2022-10-11T04:09:04.053Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-11T04:09:04.053Z] ==> Running gcov in . (disable via -X gcov) [2022-10-11T04:09:04.053Z] ==> Python coveragepy not found [2022-10-11T04:09:04.053Z] ==> Searching for coverage reports in: [2022-10-11T04:09:04.053Z] + . [2022-10-11T04:09:04.053Z] -> Found 1 reports [2022-10-11T04:09:04.053Z] ==> Detecting git/mercurial file structure [2022-10-11T04:09:04.053Z] ==> Reading reports [2022-10-11T04:09:04.312Z] + ./coverage.out bytes=78461 [2022-10-11T04:09:04.312Z] ==> Appending adjustments [2022-10-11T04:09:04.312Z] https://docs.codecov.io/docs/fixing-reports [2022-10-11T04:09:04.312Z] + Found adjustments [2022-10-11T04:09:04.312Z] ==> Gzipping contents [2022-10-11T04:09:04.312Z] 12K /tmp/codecov.3QicCP.gz [2022-10-11T04:09:04.312Z] ==> Uploading reports [2022-10-11T04:09:04.312Z] url: https://codecov.io [2022-10-11T04:09:04.312Z] query: branch=PR-174&commit=d86c5fcc9d999a8779cd16105eac4111fa1eb29c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-11T04:09:04.312Z] -> Pinging Codecov [2022-10-11T04:09:04.312Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=d86c5fcc9d999a8779cd16105eac4111fa1eb29c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-11T04:09:04.879Z] -> Uploading to [2022-10-11T04:09:04.879Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/d86c5fcc9d999a8779cd16105eac4111fa1eb29c/d6c48832-a862-4cda-9045-132b6f5666d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T040904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5983140b2665b62150a42569f320ef797b4397e5b7618b6bf43c6de9023c3508 [2022-10-11T04:09:04.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T04:09:04.879Z] Dload Upload Total Spent Left Speed [2022-10-11T04:09:04.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10745 0 0 100 10745 0 44400 --:--:-- --:--:-- --:--:-- 44400 [2022-10-11T04:09:04.879Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d86c5fcc9d999a8779cd16105eac4111fa1eb29c [Pipeline] } [2022-10-11T04:09:04.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-11T04:09:05.541Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-11T04:09:05.541Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T04:09:05.541Z] total 16 [2022-10-11T04:09:05.541Z] drwxr-xr-x 3 root root 4096 Oct 11 04:01 . [2022-10-11T04:09:05.541Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 04:01 .. [2022-10-11T04:09:05.541Z] drwxr-xr-x 2 root root 4096 Oct 11 04:01 cost [2022-10-11T04:09:05.541Z] -rw-r--r-- 1 root root 91 Oct 11 04:01 cost.csv [2022-10-11T04:09:05.541Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T04:09:05.541Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-11T04:09:05.541Z] total 16 [2022-10-11T04:09:05.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 04:01 . [2022-10-11T04:09:05.541Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 04:01 .. [2022-10-11T04:09:05.541Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 04:01 cost [2022-10-11T04:09:05.541Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 11 04:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:05.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:06.687Z] ---> package-listing.sh [2022-10-11T04:09:06.687Z] ++ facter osfamily [2022-10-11T04:09:06.687Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-11T04:09:06.958Z] + OS_FAMILY=debian [2022-10-11T04:09:06.958Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-11T04:09:06.958Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-11T04:09:06.958Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-11T04:09:06.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-11T04:09:06.958Z] + PACKAGES=/tmp/packages_start.txt [2022-10-11T04:09:06.958Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-11T04:09:06.958Z] + PACKAGES=/tmp/packages_end.txt [2022-10-11T04:09:06.958Z] + case "${OS_FAMILY}" in [2022-10-11T04:09:06.958Z] + dpkg -l [2022-10-11T04:09:06.958Z] + grep '^ii' [2022-10-11T04:09:06.958Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-11T04:09:06.958Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-11T04:09:06.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-11T04:09:06.958Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-11T04:09:06.958Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-11T04:09:06.958Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-11T04:09:06.969Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-11T04:09:07.246Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T04:09:07.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T04:09:07.804Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T04:09:07.871Z] prd-ubuntu20.04-docker-8c-8g-7622 does not seem to be running inside a container [2022-10-11T04:09:07.907Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T04:09:08.097Z] $ docker top d2b6ac44016fa491b78ae1bbab26d6a10dc1a2472638aa19b2db56640574e5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T04:09:08.440Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-11T04:09:08.720Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-11T04:09:09.004Z] + ls /var/log/sa-host [2022-10-11T04:09:09.004Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T04:09:09.135Z] provisioning config files... [2022-10-11T04:09:09.143Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config2278763417961001437tmp [Pipeline] { [Pipeline] echo [2022-10-11T04:09:09.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:09.441Z] ---> create-netrc.sh [Pipeline] } [2022-10-11T04:09:09.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:09.779Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-11T04:09:09.788Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:10.079Z] ---> sudo-logs.sh [2022-10-11T04:09:10.080Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-11T04:09:10.104Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:10.383Z] ---> job-cost.sh [2022-10-11T04:09:10.383Z] lf-activate-venv: SKIPPING [2022-10-11T04:09:10.383Z] DEBUG: total: 0.2199999988079071 [2022-10-11T04:09:10.383Z] INFO: Retrieving Stack Cost... [2022-10-11T04:09:10.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T04:09:11.209Z] INFO: Archiving Costs [Pipeline] echo [2022-10-11T04:09:11.219Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T04:09:11.502Z] ---> logs-deploy.sh [2022-10-11T04:09:11.503Z] lf-activate-venv: SKIPPING [2022-10-11T04:09:11.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/5 [2022-10-11T04:09:11.503Z] INFO: archiving workspace using pattern(s): [2022-10-11T04:09:12.438Z] Archives upload complete. [2022-10-11T04:09:12.438Z] INFO: archiving logs to Nexus