Pull request #193 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0620c76306f47231a660a5fb97b1454397a576c3+d07f413e0949b87f7783902c0ab6bfd56f004149 (92197b670290552ccb8bb0e125b447dc0912dd52) 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-ssh15215279669210527310.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4329807567973998140.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-193/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-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8683541379185949379.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12679407055015394775.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-193/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-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9655628483300609779.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 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118419’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118422 in /w/workspace/undry_device-onvif-camera_PR-193 [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-193 # 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 Merging remotes/origin/main commit d07f413e0949b87f7783902c0ab6bfd56f004149 into PR head commit 0620c76306f47231a660a5fb97b1454397a576c3 Merge succeeded, producing 0620c76306f47231a660a5fb97b1454397a576c3 Checking out Revision 0620c76306f47231a660a5fb97b1454397a576c3 (PR-193) > 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/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0620c76306f47231a660a5fb97b1454397a576c3 # 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 d07f413e0949b87f7783902c0ab6bfd56f004149 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0620c76306f47231a660a5fb97b1454397a576c3 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T15:17:13.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T15:17:13.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T15:17:13.530Z] ========================================================= [2022-11-07T15:17:13.530Z] EdgeX Global Pipelines Version Info [2022-11-07T15:17:13.530Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 [2022-11-07T15:17:14.608Z] ------------------- [2022-11-07T15:17:14.608Z] stable info: [2022-11-07T15:17:14.608Z] ------------------- [2022-11-07T15:17:14.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T15:17:14.608Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T15:17:14.608Z] Message: update stable to v1.0.244 [2022-11-07T15:17:15.179Z] ------------------- [2022-11-07T15:17:15.179Z] experimental info: [2022-11-07T15:17:15.179Z] ------------------- [2022-11-07T15:17:15.179Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T15:17:15.179Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T15:17:15.179Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T15:17:15.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-07T15:17:15.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-07T15:17:15.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T15:17:15.372Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T15:17:15.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T15:17:15.398Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T15:17:15.416Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T15:17:15.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T15:17:15.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T15:17:15.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T15:17:15.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T15:17:15.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-07T15:17:15.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T15:17:15.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T15:17:15.530Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T15:17:15.539Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T15:17:15.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T15:17:15.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T15:17:15.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T15:17:15.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T15:17:15.593Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-07T15:17:15.602Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-07T15:17:15.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T15:17:15.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T15:17:15.644Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T15:17:15.657Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T15:17:15.673Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T15:17:15.691Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo [2022-11-07T15:17:15.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo [2022-11-07T15:17:15.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo [2022-11-07T15:17:15.747Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0620c76306f47231a660a5fb97b1454397a576c3 [Pipeline] echo [2022-11-07T15:17:15.760Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0620c76 [Pipeline] echo [2022-11-07T15:17:15.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:17:15.818Z] provisioning config files... [2022-11-07T15:17:15.830Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config15794489057481634824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:17:16.137Z] ---> docker-login.sh [2022-11-07T15:17:16.137Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:17:16.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:16.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:16.397Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:16.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:16.397Z] [2022-11-07T15:17:16.397Z] Login Succeeded [2022-11-07T15:17:16.397Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:17:16.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:16.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:16.656Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:16.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:16.656Z] [2022-11-07T15:17:16.656Z] Login Succeeded [2022-11-07T15:17:16.656Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:17:16.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:16.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:16.656Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:16.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:16.656Z] [2022-11-07T15:17:16.656Z] Login Succeeded [2022-11-07T15:17:16.656Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:17:16.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:16.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:16.656Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:16.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:16.656Z] [2022-11-07T15:17:16.656Z] Login Succeeded [2022-11-07T15:17:16.918Z] docker.io [2022-11-07T15:17:16.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:17.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:17.177Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:17.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:17.177Z] [2022-11-07T15:17:17.177Z] Login Succeeded [2022-11-07T15:17:17.177Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:17:17.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T15:17:17.540Z] + git rev-list -1 --merges 0620c76306f47231a660a5fb97b1454397a576c3~1..0620c76306f47231a660a5fb97b1454397a576c3 [Pipeline] echo [2022-11-07T15:17:17.572Z] -----------> git rev-list -1 --merges 0620c76306f47231a660a5fb97b1454397a576c3~1..0620c76306f47231a660a5fb97b1454397a576c3 0620c76306f47231a660a5fb97b1454397a576c3 [false] [Pipeline] sh [2022-11-07T15:17:17.858Z] + git log --format=format:%s -1 0620c76306f47231a660a5fb97b1454397a576c3 [Pipeline] echo [2022-11-07T15:17:17.872Z] ========================================================= [2022-11-07T15:17:17.872Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T15:17:17.872Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:17:18.210Z] + git log --format=format:%s -1 0620c76306f47231a660a5fb97b1454397a576c3 [Pipeline] echo [2022-11-07T15:17:18.221Z] [semverPrep] GIT_COMMIT: 0620c76306f47231a660a5fb97b1454397a576c3, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-11-07T15:17:18.229Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T15:17:18.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T15:17:18.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T15:17:18.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T15:17:18.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T15:17:18.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T15:17:18.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T15:17:18.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:18.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:18.918Z] [2022-11-07T15:17:18.918Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:19.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:19.214Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T15:17:19.214Z] b85a868b505f: Pulling fs layer [2022-11-07T15:17:19.214Z] e2be974225ed: Pulling fs layer [2022-11-07T15:17:19.214Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T15:17:19.214Z] 988bab9f4d93: Pulling fs layer [2022-11-07T15:17:19.214Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T15:17:19.214Z] eaf3925da568: Pulling fs layer [2022-11-07T15:17:19.214Z] bab4dde63d76: Pulling fs layer [2022-11-07T15:17:19.214Z] bde34c3a00c8: Pulling fs layer [2022-11-07T15:17:19.214Z] 1469e6f7b9e6: Waiting [2022-11-07T15:17:19.214Z] b352a97aabf1: Pulling fs layer [2022-11-07T15:17:19.214Z] 4872d77fe225: Pulling fs layer [2022-11-07T15:17:19.214Z] 5851b861e8e6: Pulling fs layer [2022-11-07T15:17:19.214Z] eaf3925da568: Waiting [2022-11-07T15:17:19.214Z] bde34c3a00c8: Waiting [2022-11-07T15:17:19.214Z] b352a97aabf1: Waiting [2022-11-07T15:17:19.214Z] bab4dde63d76: Waiting [2022-11-07T15:17:19.214Z] 4872d77fe225: Waiting [2022-11-07T15:17:19.214Z] 988bab9f4d93: Waiting [2022-11-07T15:17:19.214Z] 5851b861e8e6: Waiting [2022-11-07T15:17:19.214Z] e2be974225ed: Verifying Checksum [2022-11-07T15:17:19.214Z] e2be974225ed: Download complete [2022-11-07T15:17:19.214Z] 988bab9f4d93: Verifying Checksum [2022-11-07T15:17:19.214Z] 988bab9f4d93: Download complete [2022-11-07T15:17:19.474Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T15:17:19.474Z] 1469e6f7b9e6: Download complete [2022-11-07T15:17:19.474Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T15:17:19.474Z] 339a4e72a1f5: Download complete [2022-11-07T15:17:19.474Z] eaf3925da568: Verifying Checksum [2022-11-07T15:17:19.474Z] eaf3925da568: Download complete [2022-11-07T15:17:19.474Z] bde34c3a00c8: Verifying Checksum [2022-11-07T15:17:19.474Z] bde34c3a00c8: Download complete [2022-11-07T15:17:19.474Z] b352a97aabf1: Verifying Checksum [2022-11-07T15:17:19.474Z] 4872d77fe225: Verifying Checksum [2022-11-07T15:17:19.474Z] 4872d77fe225: Download complete [2022-11-07T15:17:19.474Z] 5851b861e8e6: Download complete [2022-11-07T15:17:19.474Z] b85a868b505f: Verifying Checksum [2022-11-07T15:17:19.474Z] b85a868b505f: Download complete [2022-11-07T15:17:19.732Z] bab4dde63d76: Verifying Checksum [2022-11-07T15:17:19.732Z] bab4dde63d76: Download complete [2022-11-07T15:17:20.668Z] b85a868b505f: Pull complete [2022-11-07T15:17:20.925Z] e2be974225ed: Pull complete [2022-11-07T15:17:21.490Z] 339a4e72a1f5: Pull complete [2022-11-07T15:17:21.490Z] 988bab9f4d93: Pull complete [2022-11-07T15:17:21.748Z] 1469e6f7b9e6: Pull complete [2022-11-07T15:17:21.748Z] eaf3925da568: Pull complete [2022-11-07T15:17:23.648Z] bab4dde63d76: Pull complete [2022-11-07T15:17:23.648Z] bde34c3a00c8: Pull complete [2022-11-07T15:17:23.908Z] b352a97aabf1: Pull complete [2022-11-07T15:17:23.909Z] 4872d77fe225: Pull complete [2022-11-07T15:17:23.909Z] 5851b861e8e6: Pull complete [2022-11-07T15:17:24.168Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T15:17:24.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T15:17:24.168Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:17:24.262Z] prd-ubuntu20.04-docker-8c-8g-118422 does not seem to be running inside a container [2022-11-07T15:17:24.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T15:17:25.740Z] $ docker top e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 -eo pid,comm [2022-11-07T15:17:25.798Z] 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-11-07T15:17:25.798Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T15:17:25.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T15:17:25.833Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T15:17:25.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T15:17:25.958Z] $ docker exec e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 ssh-agent [2022-11-07T15:17:26.063Z] SSH_AUTH_SOCK=/tmp/ssh-btNKJupkcMGy/agent.32 [2022-11-07T15:17:26.063Z] SSH_AGENT_PID=38 [2022-11-07T15:17:26.070Z] Running ssh-add (command line suppressed) [2022-11-07T15:17:26.175Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_1841115785285032032.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_1841115785285032032.key) [2022-11-07T15:17:26.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T15:17:26.470Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T15:17:26.484Z] $ docker exec --env ******** --env ******** e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 ssh-agent -k [2022-11-07T15:17:26.599Z] unset SSH_AUTH_SOCK; [2022-11-07T15:17:26.600Z] unset SSH_AGENT_PID; [2022-11-07T15:17:26.602Z] echo Agent pid 38 killed; [2022-11-07T15:17:26.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T15:17:26.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T15:17:26.637Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T15:17:26.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T15:17:26.772Z] $ docker exec e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 ssh-agent [2022-11-07T15:17:26.890Z] SSH_AUTH_SOCK=/tmp/ssh-EDVvwNJMO0d7/agent.70 [2022-11-07T15:17:26.890Z] SSH_AGENT_PID=76 [2022-11-07T15:17:26.895Z] Running ssh-add (command line suppressed) [2022-11-07T15:17:27.001Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_11809835224283462673.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_11809835224283462673.key) [2022-11-07T15:17:27.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T15:17:27.306Z] + git semver init [2022-11-07T15:17:27.572Z] 2022-11-07 15:17:27,559 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T15:17:27.572Z] 2022-11-07 15:17:27,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-193/.semver [2022-11-07T15:17:27.572Z] 2022-11-07 15:17:27,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-193/.semver [2022-11-07T15:17:27.572Z] 2022-11-07 15:17:27,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-193/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-193, universal_newlines=False, shell=None, istream=None) [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,700 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-193/.git/info/exclude [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 with force:False [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,701 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,705 [execute] INFO git cat-file --batch-check [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,712 [execute] INFO git cat-file --batch [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T15:17:28.955Z] 2022-11-07 15:17:28,718 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 [2022-11-07T15:17:28.955Z] 0.0.0 [Pipeline] } [2022-11-07T15:17:28.968Z] $ docker exec --env ******** --env ******** e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 ssh-agent -k [2022-11-07T15:17:29.073Z] unset SSH_AUTH_SOCK; [2022-11-07T15:17:29.073Z] unset SSH_AGENT_PID; [2022-11-07T15:17:29.073Z] echo Agent pid 76 killed; [2022-11-07T15:17:29.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T15:17:29.392Z] + git semver [Pipeline] } [2022-11-07T15:17:29.669Z] $ docker stop --time=1 e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 [2022-11-07T15:17:31.013Z] $ docker rm -f e6bbb45dbfca92e41ec403cc5021ef425d3185683510dfd7fee4ae34f4019c98 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:17:31.349Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T15:17:31.527Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T15:17:31.530Z] [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-11-07T15:17:31.658Z] provisioning config files... [2022-11-07T15:17:31.667Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config38252786015179740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:17:31.965Z] ---> docker-login.sh [2022-11-07T15:17:31.965Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:17:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:31.965Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:31.965Z] [2022-11-07T15:17:31.965Z] Login Succeeded [2022-11-07T15:17:31.965Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:17:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:31.965Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:31.965Z] [2022-11-07T15:17:31.965Z] Login Succeeded [2022-11-07T15:17:31.965Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:17:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:32.225Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:32.225Z] [2022-11-07T15:17:32.225Z] Login Succeeded [2022-11-07T15:17:32.225Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:17:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:32.225Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:32.225Z] [2022-11-07T15:17:32.225Z] Login Succeeded [2022-11-07T15:17:32.225Z] docker.io [2022-11-07T15:17:32.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:17:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:17:32.743Z] Configure a credential helper to remove this warning. See [2022-11-07T15:17:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:17:32.743Z] [2022-11-07T15:17:32.743Z] Login Succeeded [2022-11-07T15:17:32.743Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:17:32.749Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T15:17:32.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:17:32.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:17:32.828Z] ========================================================= [2022-11-07T15:17:32.828Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T15:17:32.828Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:17:33.151Z] + 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-11-07T15:17:33.151Z] Sending build context to Docker daemon 27.55MB [2022-11-07T15:17:33.151Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:17:33.151Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-07T15:17:33.410Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T15:17:33.410Z] 213ec9aee27d: Pulling fs layer [2022-11-07T15:17:33.410Z] 4583459ba037: Pulling fs layer [2022-11-07T15:17:33.410Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T15:17:33.410Z] 53926ce57604: Pulling fs layer [2022-11-07T15:17:33.410Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T15:17:33.410Z] 22ff95d597cd: Pulling fs layer [2022-11-07T15:17:33.410Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T15:17:33.410Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T15:17:33.410Z] a7acece74701: Pulling fs layer [2022-11-07T15:17:33.410Z] 53926ce57604: Waiting [2022-11-07T15:17:33.410Z] 21b2b0c7a3f4: Waiting [2022-11-07T15:17:33.410Z] a7acece74701: Waiting [2022-11-07T15:17:33.410Z] 22ff95d597cd: Waiting [2022-11-07T15:17:33.410Z] 12d6caf4c0d1: Waiting [2022-11-07T15:17:33.410Z] 96b7cbca73a9: Waiting [2022-11-07T15:17:33.410Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T15:17:33.410Z] 93c1e223e6f2: Download complete [2022-11-07T15:17:33.410Z] 4583459ba037: Download complete [2022-11-07T15:17:33.410Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T15:17:33.410Z] 21b2b0c7a3f4: Download complete [2022-11-07T15:17:33.410Z] 22ff95d597cd: Download complete [2022-11-07T15:17:33.410Z] 213ec9aee27d: Verifying Checksum [2022-11-07T15:17:33.410Z] 213ec9aee27d: Download complete [2022-11-07T15:17:33.410Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T15:17:33.410Z] 12d6caf4c0d1: Download complete [2022-11-07T15:17:33.677Z] 213ec9aee27d: Pull complete [2022-11-07T15:17:33.677Z] 4583459ba037: Pull complete [2022-11-07T15:17:33.677Z] 93c1e223e6f2: Pull complete [2022-11-07T15:17:33.941Z] a7acece74701: Verifying Checksum [2022-11-07T15:17:33.941Z] a7acece74701: Download complete [2022-11-07T15:17:34.200Z] 96b7cbca73a9: Download complete [2022-11-07T15:17:34.459Z] 53926ce57604: Download complete [2022-11-07T15:17:39.732Z] 53926ce57604: Pull complete [2022-11-07T15:17:39.732Z] 21b2b0c7a3f4: Pull complete [2022-11-07T15:17:39.732Z] 22ff95d597cd: Pull complete [2022-11-07T15:17:39.732Z] 12d6caf4c0d1: Pull complete [2022-11-07T15:17:41.633Z] 96b7cbca73a9: Pull complete [2022-11-07T15:17:42.567Z] a7acece74701: Pull complete [2022-11-07T15:17:42.568Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T15:17:42.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T15:17:42.568Z] ---> db6d94c90886 [2022-11-07T15:17:42.568Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:17:44.474Z] ---> Running in b3e9ec774b3c [2022-11-07T15:17:44.474Z] Removing intermediate container b3e9ec774b3c [2022-11-07T15:17:44.474Z] ---> 1372f5600e43 [2022-11-07T15:17:44.474Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:17:44.474Z] ---> Running in 4d36156200f2 [2022-11-07T15:17:44.474Z] Removing intermediate container 4d36156200f2 [2022-11-07T15:17:44.474Z] ---> 5036da0fddc7 [2022-11-07T15:17:44.474Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:17:44.735Z] ---> Running in a22fce2bd85c [2022-11-07T15:17:44.735Z] Removing intermediate container a22fce2bd85c [2022-11-07T15:17:44.735Z] ---> 22dc071603e3 [2022-11-07T15:17:44.735Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:17:44.735Z] ---> Running in 458ffdeab294 [2022-11-07T15:17:44.994Z] Removing intermediate container 458ffdeab294 [2022-11-07T15:17:44.994Z] ---> e5ab68222eb5 [2022-11-07T15:17:44.994Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-07T15:17:44.994Z] ---> Running in 11171bc66a6f [2022-11-07T15:17:44.994Z] Removing intermediate container 11171bc66a6f [2022-11-07T15:17:44.994Z] ---> 508d3cc93f24 [2022-11-07T15:17:44.994Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:17:44.995Z] ---> Running in b2a83c1a6d28 [2022-11-07T15:17:45.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:17:45.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:17:45.772Z] OK: 211 MiB in 51 packages [2022-11-07T15:17:46.341Z] Removing intermediate container b2a83c1a6d28 [2022-11-07T15:17:46.341Z] ---> 69d1ecafb3f5 [2022-11-07T15:17:46.341Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-07T15:17:46.341Z] ---> Running in 6401a63d9137 [2022-11-07T15:17:46.341Z] Removing intermediate container 6401a63d9137 [2022-11-07T15:17:46.341Z] ---> 1d694fbf441e [2022-11-07T15:17:46.341Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-07T15:17:46.601Z] ---> 4d723572225d [2022-11-07T15:17:46.601Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:17:46.601Z] ---> Running in 3f16554f36b5 [2022-11-07T15:17:46.614Z] Still waiting to schedule task [2022-11-07T15:17:46.615Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118420’ [2022-11-07T15:18:04.740Z] Removing intermediate container 3f16554f36b5 [2022-11-07T15:18:04.740Z] ---> 8de6210f9082 [2022-11-07T15:18:04.740Z] Step 12/13 : COPY . . [2022-11-07T15:18:04.740Z] ---> 29473141e29e [2022-11-07T15:18:04.740Z] Step 13/13 : RUN ${MAKE} [2022-11-07T15:18:04.740Z] ---> Running in 06e4d387c7e7 [2022-11-07T15:18:04.740Z] noop [2022-11-07T15:18:04.998Z] Removing intermediate container 06e4d387c7e7 [2022-11-07T15:18:04.998Z] ---> d8532bdf556b [2022-11-07T15:18:05.257Z] Successfully built d8532bdf556b [2022-11-07T15:18:05.257Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:05.567Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T15:18:05.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:18:05.632Z] prd-ubuntu20.04-docker-8c-8g-118422 does not seem to be running inside a container [2022-11-07T15:18:05.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** ci-base-image-x86_64 cat [2022-11-07T15:18:06.031Z] $ docker top 1cd7d4fb0ac766efedaf8651b7631d30c76870cc0105a7f3781334cd8114d601 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:18:06.368Z] + go version [2022-11-07T15:18:06.368Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T15:18:06.380Z] $ docker stop --time=1 1cd7d4fb0ac766efedaf8651b7631d30c76870cc0105a7f3781334cd8114d601 [2022-11-07T15:18:07.725Z] $ docker rm -f 1cd7d4fb0ac766efedaf8651b7631d30c76870cc0105a7f3781334cd8114d601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:08.111Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T15:18:08.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:18:08.174Z] prd-ubuntu20.04-docker-8c-8g-118422 does not seem to be running inside a container [2022-11-07T15:18:08.210Z] $ 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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** ci-base-image-x86_64 cat [2022-11-07T15:18:08.582Z] $ docker top 1bbb74d953b6ba9bc2e5cb3b9e6ef57393bd0d0f13aa0db357bf3bb26e3d2c55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:18:08.925Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] fileExists [Pipeline] sh [2022-11-07T15:18:09.224Z] + make test [2022-11-07T15:18:09.224Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T15:18:09.494Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-07T15:18:21.702Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-07T15:18:23.077Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements [2022-11-07T15:18:23.077Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-07T15:18:23.077Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.407s coverage: 86.5% of statements [2022-11-07T15:18:31.305Z] 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-11-07T15:18:31.305Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T15:18:33.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T15:18:33.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T15:18:33.835Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T15:18:33.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T15:18:33.858Z] $ docker stop --time=1 1bbb74d953b6ba9bc2e5cb3b9e6ef57393bd0d0f13aa0db357bf3bb26e3d2c55 [2022-11-07T15:18:36.219Z] $ docker rm -f 1bbb74d953b6ba9bc2e5cb3b9e6ef57393bd0d0f13aa0db357bf3bb26e3d2c55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:18:36.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T15:18:36.705Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T15:18:37.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T15:18:37.420Z] + ls -al . [2022-11-07T15:18:37.420Z] total 248 [2022-11-07T15:18:37.420Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:18 . [2022-11-07T15:18:37.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:17 .. [2022-11-07T15:18:37.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:18 .git [2022-11-07T15:18:37.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:17 .github [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 15:17 .gitignore [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 15:17 .golangci.yml [2022-11-07T15:18:37.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:17 .semver [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 15:17 Attribution.txt [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 15:17 CHANGELOG.md [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 15:17 Dockerfile [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:17 GOVERNANCE.md [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 15:17 Jenkinsfile [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 15:17 LICENSE [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 15:17 Makefile [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 15:17 OWNERS.md [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 15:17 README.md [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:17 VERSION [2022-11-07T15:18:37.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:17 bin [2022-11-07T15:18:37.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:17 cmd [2022-11-07T15:18:37.420Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 15:18 coverage.out [2022-11-07T15:18:37.420Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 15:17 doc [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 15:17 go.mod [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 15:17 go.sum [2022-11-07T15:18:37.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:17 internal [2022-11-07T15:18:37.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:17 snap [2022-11-07T15:18:37.420Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:18:37.737Z] + 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=0620c76306f47231a660a5fb97b1454397a576c3 --label arch=amd64 --label version=0.0.0 . [2022-11-07T15:18:37.737Z] Sending build context to Docker daemon 27.63MB [2022-11-07T15:18:37.737Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:18:37.737Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-07T15:18:37.737Z] ---> d8532bdf556b [2022-11-07T15:18:37.737Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:18:37.994Z] ---> Running in 1fdb0125037e [2022-11-07T15:18:37.994Z] Removing intermediate container 1fdb0125037e [2022-11-07T15:18:37.994Z] ---> 1c9cbb443722 [2022-11-07T15:18:37.994Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:18:37.995Z] ---> Running in 651a7b701fba [2022-11-07T15:18:38.252Z] Removing intermediate container 651a7b701fba [2022-11-07T15:18:38.252Z] ---> 5a11797fc5bf [2022-11-07T15:18:38.252Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:18:38.252Z] ---> Running in 0b402f0a155e [2022-11-07T15:18:38.252Z] Removing intermediate container 0b402f0a155e [2022-11-07T15:18:38.252Z] ---> d4baf469f04a [2022-11-07T15:18:38.252Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:18:38.252Z] ---> Running in 5280fce9f023 [2022-11-07T15:18:38.511Z] Removing intermediate container 5280fce9f023 [2022-11-07T15:18:38.511Z] ---> 959a47fbc96a [2022-11-07T15:18:38.511Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-07T15:18:38.512Z] ---> Running in e6e72bba5e79 [2022-11-07T15:18:38.512Z] Removing intermediate container e6e72bba5e79 [2022-11-07T15:18:38.512Z] ---> d236e898f370 [2022-11-07T15:18:38.512Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:18:38.512Z] ---> Running in 59cc7b61d8ba [2022-11-07T15:18:38.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:18:39.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:18:39.030Z] OK: 211 MiB in 51 packages [2022-11-07T15:18:39.599Z] Removing intermediate container 59cc7b61d8ba [2022-11-07T15:18:39.599Z] ---> 7bfa2f2befac [2022-11-07T15:18:39.599Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-07T15:18:39.599Z] ---> Running in 74260b2896c5 [2022-11-07T15:18:39.599Z] Removing intermediate container 74260b2896c5 [2022-11-07T15:18:39.599Z] ---> 202a01822ec1 [2022-11-07T15:18:39.599Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-07T15:18:39.859Z] ---> 0d2470143a77 [2022-11-07T15:18:39.859Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:18:39.859Z] ---> Running in d27b29b58666 [2022-11-07T15:18:40.427Z] Removing intermediate container d27b29b58666 [2022-11-07T15:18:40.427Z] ---> e5d91003e4f3 [2022-11-07T15:18:40.427Z] Step 12/26 : COPY . . [2022-11-07T15:18:41.362Z] ---> c3bb821e0f51 [2022-11-07T15:18:41.363Z] Step 13/26 : RUN ${MAKE} [2022-11-07T15:18:41.363Z] ---> Running in 5618e8efd956 [2022-11-07T15:18:41.621Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-07T15:19:03.554Z] Removing intermediate container 5618e8efd956 [2022-11-07T15:19:03.554Z] ---> ab9ebc697362 [2022-11-07T15:19:03.554Z] Step 14/26 : FROM alpine:3.16 [2022-11-07T15:19:03.554Z] 3.16: Pulling from library/alpine [2022-11-07T15:19:03.554Z] 213ec9aee27d: Already exists [2022-11-07T15:19:03.554Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T15:19:03.554Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T15:19:03.554Z] ---> 9c6f07244728 [2022-11-07T15:19:03.554Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-07T15:19:03.554Z] ---> Running in bbfe4a5b64bc [2022-11-07T15:19:03.554Z] Removing intermediate container bbfe4a5b64bc [2022-11-07T15:19:03.554Z] ---> 412ff9fcc08e [2022-11-07T15:19:03.554Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T15:19:03.814Z] ---> Running in 592ae22a12c1 [2022-11-07T15:19:04.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T15:19:04.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T15:19:04.332Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T15:19:04.332Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T15:19:04.332Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T15:19:04.332Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T15:19:04.332Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T15:19:04.332Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T15:19:04.332Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:19:04.332Z] OK: 8 MiB in 20 packages [2022-11-07T15:19:04.898Z] Removing intermediate container 592ae22a12c1 [2022-11-07T15:19:04.898Z] ---> 885d06e2ad4e [2022-11-07T15:19:04.898Z] Step 17/26 : WORKDIR / [2022-11-07T15:19:04.898Z] ---> Running in 15c02b8bff60 [2022-11-07T15:19:04.898Z] Removing intermediate container 15c02b8bff60 [2022-11-07T15:19:04.898Z] ---> a4cfe08e0d7f [2022-11-07T15:19:04.898Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-07T15:19:05.465Z] ---> 367a036535f4 [2022-11-07T15:19:05.465Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-07T15:19:05.723Z] ---> a5ca79edbe37 [2022-11-07T15:19:05.723Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-07T15:19:05.723Z] ---> faa5292ebd57 [2022-11-07T15:19:05.723Z] Step 21/26 : EXPOSE 59984 [2022-11-07T15:19:05.723Z] ---> Running in 8cfb46db08a3 [2022-11-07T15:19:05.981Z] Removing intermediate container 8cfb46db08a3 [2022-11-07T15:19:05.981Z] ---> 170c93b5ac88 [2022-11-07T15:19:05.981Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-07T15:19:05.981Z] ---> Running in a5f04fe253a2 [2022-11-07T15:19:05.981Z] Removing intermediate container a5f04fe253a2 [2022-11-07T15:19:05.981Z] ---> 0d7b30015e84 [2022-11-07T15:19:05.981Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T15:19:05.981Z] ---> Running in 88f40e77ddf1 [2022-11-07T15:19:06.241Z] Removing intermediate container 88f40e77ddf1 [2022-11-07T15:19:06.241Z] ---> 530d11c78e7b [2022-11-07T15:19:06.241Z] Step 24/26 : LABEL arch=amd64 [2022-11-07T15:19:06.241Z] ---> Running in 36a1d09e5106 [2022-11-07T15:19:06.241Z] Removing intermediate container 36a1d09e5106 [2022-11-07T15:19:06.241Z] ---> ce8869d79bc0 [2022-11-07T15:19:06.241Z] Step 25/26 : LABEL git_sha=0620c76306f47231a660a5fb97b1454397a576c3 [2022-11-07T15:19:06.241Z] ---> Running in ea8f448baa8c [2022-11-07T15:19:06.500Z] Removing intermediate container ea8f448baa8c [2022-11-07T15:19:06.500Z] ---> ad5bdc6f5a25 [2022-11-07T15:19:06.500Z] Step 26/26 : LABEL version=0.0.0 [2022-11-07T15:19:06.500Z] ---> Running in d819a696a206 [2022-11-07T15:19:06.500Z] Removing intermediate container d819a696a206 [2022-11-07T15:19:06.500Z] ---> ef193bc1e1a6 [2022-11-07T15:19:06.500Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T15:19:06.500Z] Successfully built ef193bc1e1a6 [2022-11-07T15:19:06.500Z] 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-11-07T15:19:06.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:06.929Z] [2022-11-07T15:19:06.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:19:07.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:07.233Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T15:19:07.233Z] 5eb5b503b376: Pulling fs layer [2022-11-07T15:19:07.233Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T15:19:07.233Z] ec43610c2a17: Pulling fs layer [2022-11-07T15:19:07.233Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T15:19:07.233Z] 33b1e0a273af: Pulling fs layer [2022-11-07T15:19:07.233Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T15:19:07.234Z] 2f39f015ded8: Pulling fs layer [2022-11-07T15:19:07.234Z] 5d3b04190fa2: Waiting [2022-11-07T15:19:07.234Z] 33b1e0a273af: Waiting [2022-11-07T15:19:07.234Z] 2f39f015ded8: Waiting [2022-11-07T15:19:07.234Z] 3a2ae6a8a46f: Waiting [2022-11-07T15:19:07.234Z] 5c69ac0246d0: Download complete [2022-11-07T15:19:07.234Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T15:19:07.234Z] 3a2ae6a8a46f: Download complete [2022-11-07T15:19:07.499Z] 33b1e0a273af: Verifying Checksum [2022-11-07T15:19:07.499Z] 33b1e0a273af: Download complete [2022-11-07T15:19:07.499Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T15:19:07.499Z] 5d3b04190fa2: Download complete [2022-11-07T15:19:07.499Z] ec43610c2a17: Verifying Checksum [2022-11-07T15:19:07.499Z] ec43610c2a17: Download complete [2022-11-07T15:19:07.758Z] 5eb5b503b376: Verifying Checksum [2022-11-07T15:19:07.758Z] 5eb5b503b376: Download complete [2022-11-07T15:19:08.322Z] 2f39f015ded8: Download complete [2022-11-07T15:19:08.887Z] 5eb5b503b376: Pull complete [2022-11-07T15:19:09.453Z] 5c69ac0246d0: Pull complete [2022-11-07T15:19:09.711Z] ec43610c2a17: Pull complete [2022-11-07T15:19:09.970Z] 3a2ae6a8a46f: Pull complete [2022-11-07T15:19:09.970Z] 33b1e0a273af: Pull complete [2022-11-07T15:19:09.970Z] 5d3b04190fa2: Pull complete [2022-11-07T15:19:14.156Z] 2f39f015ded8: Pull complete [2022-11-07T15:19:14.156Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T15:19:14.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:19:14.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:19:14.240Z] prd-ubuntu20.04-docker-8c-8g-118422 does not seem to be running inside a container [2022-11-07T15:19:14.269Z] $ 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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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-11-07T15:19:16.051Z] $ docker top e3c00f5103db10c121345acf586cda787b5c0f3e54ffa9068c49b791366462df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:19:16.421Z] ---> job-cost.sh [2022-11-07T15:19:16.421Z] lf-activate-venv: SKIPPING [2022-11-07T15:19:16.421Z] INFO: No Stack... [2022-11-07T15:19:16.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T15:19:16.943Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T15:19:17.228Z] + cat /w/workspace/undry_device-onvif-camera_PR-193/archives/cost.csv [2022-11-07T15:19:17.228Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T15:19:17.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [2022-11-07T15:19:17.249Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] did not exist. Created. [2022-11-07T15:19:17.249Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T15:19:17.551Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T15:19:17.577Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T15:19:17.583Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T15:19:17.603Z] $ docker stop --time=1 e3c00f5103db10c121345acf586cda787b5c0f3e54ffa9068c49b791366462df [2022-11-07T15:19:18.760Z] $ docker rm -f e3c00f5103db10c121345acf586cda787b5c0f3e54ffa9068c49b791366462df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T15:20:20.124Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118427 in /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] { [Pipeline] ws [2022-11-07T15:20:20.136Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-11-07T15:20:20.182Z] The recommended git tool is: git [2022-11-07T15:20:32.114Z] using credential edgex-jenkins-ssh [2022-11-07T15:20:32.139Z] Cloning the remote Git repository [2022-11-07T15:20:32.223Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T15:20:32.489Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-11-07T15:20:32.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T15:20:32.809Z] > git --version # timeout=10 [2022-11-07T15:20:32.873Z] > git --version # 'git version 2.25.1' [2022-11-07T15:20:32.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:32.946Z] Verifying host key using known hosts file [2022-11-07T15:20:33.303Z] 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-11-07T15:20:33.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T15:20:35.645Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-07T15:20:35.711Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T15:20:37.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-07T15:20:37.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-07T15:20:37.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:37.499Z] Verifying host key using known hosts file [2022-11-07T15:20:37.519Z] 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-11-07T15:20:38.267Z] Merging remotes/origin/main commit d07f413e0949b87f7783902c0ab6bfd56f004149 into PR head commit 0620c76306f47231a660a5fb97b1454397a576c3 [2022-11-07T15:20:38.906Z] Merge succeeded, producing 0620c76306f47231a660a5fb97b1454397a576c3 [2022-11-07T15:20:38.907Z] Checking out Revision 0620c76306f47231a660a5fb97b1454397a576c3 (PR-193) [2022-11-07T15:20:37.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T15:20:38.295Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T15:20:38.325Z] > git checkout -f 0620c76306f47231a660a5fb97b1454397a576c3 # timeout=10 [2022-11-07T15:20:38.750Z] > git remote # timeout=10 [2022-11-07T15:20:38.784Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T15:20:38.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T15:20:38.821Z] Verifying host key using known hosts file [2022-11-07T15:20:38.825Z] 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-11-07T15:20:38.839Z] > git merge d07f413e0949b87f7783902c0ab6bfd56f004149 # timeout=10 [2022-11-07T15:20:38.877Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T15:20:38.919Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T15:20:38.952Z] > git checkout -f 0620c76306f47231a660a5fb97b1454397a576c3 # timeout=10 [2022-11-07T15:20:40.443Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:20:41.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T15:20:41.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T15:20:41.438Z] Dload Upload Total Spent Left Speed [2022-11-07T15:20:41.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh [2022-11-07T15:20:42.166Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T15:20:42.550Z] + sudo tee /etc/docker/daemon.new [2022-11-07T15:20:42.550Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T15:20:42.550Z] { [2022-11-07T15:20:42.550Z] "registry-mirrors": [ [2022-11-07T15:20:42.550Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T15:20:42.550Z] ], [2022-11-07T15:20:42.550Z] "bip": "10.250.0.254/24", [2022-11-07T15:20:42.550Z] "hosts": [ [2022-11-07T15:20:42.550Z] "tcp://0.0.0.0:5555", [2022-11-07T15:20:42.550Z] "unix:///var/run/docker.sock" [2022-11-07T15:20:42.550Z] ], [2022-11-07T15:20:42.550Z] "mtu": 1458, [2022-11-07T15:20:42.551Z] "selinux-enabled": true, [2022-11-07T15:20:42.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T15:20:42.551Z] } [Pipeline] sh [2022-11-07T15:20:42.904Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T15:20:43.258Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:21:01.636Z] provisioning config files... [2022-11-07T15:21:01.674Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3852980928066319457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:21:02.061Z] ---> docker-login.sh [2022-11-07T15:21:02.061Z] nexus3.edgexfoundry.org:10001 [2022-11-07T15:21:02.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:21:02.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:21:02.940Z] Configure a credential helper to remove this warning. See [2022-11-07T15:21:02.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:21:02.940Z] [2022-11-07T15:21:02.940Z] Login Succeeded [2022-11-07T15:21:02.940Z] nexus3.edgexfoundry.org:10002 [2022-11-07T15:21:03.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:21:03.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:21:03.215Z] Configure a credential helper to remove this warning. See [2022-11-07T15:21:03.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:21:03.215Z] [2022-11-07T15:21:03.215Z] Login Succeeded [2022-11-07T15:21:03.215Z] nexus3.edgexfoundry.org:10003 [2022-11-07T15:21:03.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:21:03.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:21:03.762Z] Configure a credential helper to remove this warning. See [2022-11-07T15:21:03.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:21:03.762Z] [2022-11-07T15:21:03.762Z] Login Succeeded [2022-11-07T15:21:03.762Z] nexus3.edgexfoundry.org:10004 [2022-11-07T15:21:04.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:21:04.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:21:04.037Z] Configure a credential helper to remove this warning. See [2022-11-07T15:21:04.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:21:04.037Z] [2022-11-07T15:21:04.311Z] Login Succeeded [2022-11-07T15:21:04.311Z] docker.io [2022-11-07T15:21:04.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T15:21:04.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T15:21:04.859Z] Configure a credential helper to remove this warning. See [2022-11-07T15:21:04.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T15:21:04.859Z] [2022-11-07T15:21:04.859Z] Login Succeeded [2022-11-07T15:21:04.859Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T15:21:04.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T15:21:05.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:21:05.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T15:21:05.104Z] ========================================================= [2022-11-07T15:21:05.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T15:21:05.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:21:05.482Z] + 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-11-07T15:21:06.090Z] Sending build context to Docker daemon 20.47MB [2022-11-07T15:21:06.090Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:21:06.090Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-07T15:21:06.367Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T15:21:06.367Z] 9b18e9b68314: Pulling fs layer [2022-11-07T15:21:06.367Z] 35d82f9e3411: Pulling fs layer [2022-11-07T15:21:06.367Z] e16973657156: Pulling fs layer [2022-11-07T15:21:06.367Z] fc693d55d65f: Pulling fs layer [2022-11-07T15:21:06.367Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T15:21:06.367Z] dda99020689f: Pulling fs layer [2022-11-07T15:21:06.367Z] db1c61fa0a46: Pulling fs layer [2022-11-07T15:21:06.367Z] 891c053d2c06: Pulling fs layer [2022-11-07T15:21:06.367Z] 7e9fc2657dce: Waiting [2022-11-07T15:21:06.367Z] dda99020689f: Waiting [2022-11-07T15:21:06.367Z] db1c61fa0a46: Waiting [2022-11-07T15:21:06.367Z] 891c053d2c06: Waiting [2022-11-07T15:21:06.367Z] fc693d55d65f: Waiting [2022-11-07T15:21:06.367Z] e16973657156: Verifying Checksum [2022-11-07T15:21:06.367Z] e16973657156: Download complete [2022-11-07T15:21:06.367Z] 35d82f9e3411: Download complete [2022-11-07T15:21:06.367Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T15:21:06.367Z] 7e9fc2657dce: Download complete [2022-11-07T15:21:06.670Z] dda99020689f: Verifying Checksum [2022-11-07T15:21:06.670Z] dda99020689f: Download complete [2022-11-07T15:21:06.670Z] 9b18e9b68314: Verifying Checksum [2022-11-07T15:21:06.670Z] 9b18e9b68314: Download complete [2022-11-07T15:21:07.687Z] 9b18e9b68314: Pull complete [2022-11-07T15:21:07.687Z] 891c053d2c06: Verifying Checksum [2022-11-07T15:21:07.687Z] 891c053d2c06: Download complete [2022-11-07T15:21:08.285Z] 35d82f9e3411: Pull complete [2022-11-07T15:21:08.894Z] e16973657156: Pull complete [2022-11-07T15:21:09.173Z] db1c61fa0a46: Verifying Checksum [2022-11-07T15:21:09.173Z] db1c61fa0a46: Download complete [2022-11-07T15:21:09.768Z] fc693d55d65f: Verifying Checksum [2022-11-07T15:21:09.768Z] fc693d55d65f: Download complete [2022-11-07T15:21:24.918Z] fc693d55d65f: Pull complete [2022-11-07T15:21:24.918Z] 7e9fc2657dce: Pull complete [2022-11-07T15:21:24.918Z] dda99020689f: Pull complete [2022-11-07T15:21:29.219Z] db1c61fa0a46: Pull complete [2022-11-07T15:21:31.820Z] 891c053d2c06: Pull complete [2022-11-07T15:21:31.820Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T15:21:31.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T15:21:31.820Z] ---> f96f9c87975a [2022-11-07T15:21:31.820Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:21:33.788Z] ---> Running in 22ee22763ef5 [2022-11-07T15:21:34.379Z] Removing intermediate container 22ee22763ef5 [2022-11-07T15:21:34.379Z] ---> b49caf0865cc [2022-11-07T15:21:34.379Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:21:34.379Z] ---> Running in 4df4a7bf2201 [2022-11-07T15:21:34.666Z] Removing intermediate container 4df4a7bf2201 [2022-11-07T15:21:34.666Z] ---> 0b9ee0995be3 [2022-11-07T15:21:34.666Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:21:34.940Z] ---> Running in a38fdd2cf6a6 [2022-11-07T15:21:35.211Z] Removing intermediate container a38fdd2cf6a6 [2022-11-07T15:21:35.212Z] ---> d06d883e3707 [2022-11-07T15:21:35.212Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:21:35.212Z] ---> Running in f22fccb16b0a [2022-11-07T15:21:35.482Z] Removing intermediate container f22fccb16b0a [2022-11-07T15:21:35.482Z] ---> 0c5cc57ba260 [2022-11-07T15:21:35.482Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-07T15:21:35.754Z] ---> Running in 271c6ad3207b [2022-11-07T15:21:36.029Z] Removing intermediate container 271c6ad3207b [2022-11-07T15:21:36.029Z] ---> 0f981cd23c7b [2022-11-07T15:21:36.029Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:21:36.029Z] ---> Running in ff09d883f144 [2022-11-07T15:21:37.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:21:37.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:21:39.159Z] OK: 221 MiB in 51 packages [2022-11-07T15:21:40.156Z] Removing intermediate container ff09d883f144 [2022-11-07T15:21:40.156Z] ---> 24f2639b4d73 [2022-11-07T15:21:40.156Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-07T15:21:40.156Z] ---> Running in 9ebbb709ee02 [2022-11-07T15:21:40.748Z] Removing intermediate container 9ebbb709ee02 [2022-11-07T15:21:40.748Z] ---> 9f57b1a4b890 [2022-11-07T15:21:40.748Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-07T15:21:41.349Z] ---> 6c2c7a0e4eef [2022-11-07T15:21:41.349Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:21:41.349Z] ---> Running in e9939fe3c231 [2022-11-07T15:22:49.333Z] Removing intermediate container e9939fe3c231 [2022-11-07T15:22:49.333Z] ---> b8e8b8303454 [2022-11-07T15:22:49.333Z] Step 12/13 : COPY . . [2022-11-07T15:22:49.333Z] ---> cf9a8efcfd4d [2022-11-07T15:22:49.333Z] Step 13/13 : RUN ${MAKE} [2022-11-07T15:22:49.333Z] ---> Running in 04696fb53b51 [2022-11-07T15:22:49.333Z] noop [2022-11-07T15:22:49.333Z] Removing intermediate container 04696fb53b51 [2022-11-07T15:22:49.333Z] ---> 4f9c95c96e96 [2022-11-07T15:22:49.333Z] Successfully built 4f9c95c96e96 [2022-11-07T15:22:49.333Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:22:49.703Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T15:22:49.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:22:49.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-118427 does not seem to be running inside a container [2022-11-07T15:22:50.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-11-07T15:22:51.433Z] $ docker top 0159e4103b106dd2e68c6929963a76a846eedde17656788b33036c79944b593b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:22:52.320Z] + go version [2022-11-07T15:22:52.320Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T15:22:52.352Z] $ docker stop --time=1 0159e4103b106dd2e68c6929963a76a846eedde17656788b33036c79944b593b [2022-11-07T15:22:54.043Z] $ docker rm -f 0159e4103b106dd2e68c6929963a76a846eedde17656788b33036c79944b593b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:22:54.631Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T15:22:54.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:22:54.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-118427 does not seem to be running inside a container [2022-11-07T15:22:54.927Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-11-07T15:22:56.246Z] $ docker top d5b91f77cece87b71ec950df01438a2c02a3be2f2affb2f3eeff6b71a5892746 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:22:57.097Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-11-07T15:22:57.765Z] + make test [2022-11-07T15:22:57.765Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T15:22:59.775Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-07T15:24:51.551Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-07T15:25:01.665Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.230s coverage: 29.3% of statements [2022-11-07T15:25:01.665Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-07T15:25:16.734Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.169s coverage: 86.5% of statements [2022-11-07T15:25:16.734Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T15:25:16.734Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T15:25:49.015Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T15:25:49.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T15:25:49.015Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T15:25:49.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T15:25:49.054Z] $ docker stop --time=1 d5b91f77cece87b71ec950df01438a2c02a3be2f2affb2f3eeff6b71a5892746 [2022-11-07T15:25:50.892Z] $ docker rm -f d5b91f77cece87b71ec950df01438a2c02a3be2f2affb2f3eeff6b71a5892746 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T15:25:51.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T15:25:51.992Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T15:25:52.638Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T15:25:53.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T15:25:53.366Z] + ls -al . [2022-11-07T15:25:53.367Z] total 244 [2022-11-07T15:25:53.367Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 15:22 . [2022-11-07T15:25:53.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:20 .. [2022-11-07T15:25:53.367Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:20 .git [2022-11-07T15:25:53.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:20 .github [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 15:20 .gitignore [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 15:20 .golangci.yml [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 15:20 Attribution.txt [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 15:20 CHANGELOG.md [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 15:20 Dockerfile [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:20 GOVERNANCE.md [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 15:20 Jenkinsfile [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 15:20 LICENSE [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 15:20 Makefile [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 15:20 OWNERS.md [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 15:20 README.md [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:17 VERSION [2022-11-07T15:25:53.367Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:20 bin [2022-11-07T15:25:53.367Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:20 cmd [2022-11-07T15:25:53.367Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 15:25 coverage.out [2022-11-07T15:25:53.367Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 15:20 doc [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 15:20 go.mod [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 15:20 go.sum [2022-11-07T15:25:53.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:20 internal [2022-11-07T15:25:53.367Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:20 snap [2022-11-07T15:25:53.367Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 15:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:25:53.723Z] + 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=0620c76306f47231a660a5fb97b1454397a576c3 --label arch=arm64 --label version=0.0.0 . [2022-11-07T15:25:54.312Z] Sending build context to Docker daemon 20.55MB [2022-11-07T15:25:54.312Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T15:25:54.312Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-07T15:25:54.312Z] ---> 4f9c95c96e96 [2022-11-07T15:25:54.312Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-07T15:25:54.901Z] ---> Running in dea945527e66 [2022-11-07T15:25:55.173Z] Removing intermediate container dea945527e66 [2022-11-07T15:25:55.173Z] ---> 1fb471d8ec5d [2022-11-07T15:25:55.173Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T15:25:55.443Z] ---> Running in c26f07f33a5b [2022-11-07T15:25:55.712Z] Removing intermediate container c26f07f33a5b [2022-11-07T15:25:55.712Z] ---> 07944e9a2df5 [2022-11-07T15:25:55.712Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T15:25:55.712Z] ---> Running in 78b11473efc3 [2022-11-07T15:25:55.980Z] Removing intermediate container 78b11473efc3 [2022-11-07T15:25:55.980Z] ---> d59fc8b22482 [2022-11-07T15:25:55.980Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T15:25:56.250Z] ---> Running in d93268e00366 [2022-11-07T15:25:56.519Z] Removing intermediate container d93268e00366 [2022-11-07T15:25:56.519Z] ---> 3473db114c0f [2022-11-07T15:25:56.519Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-07T15:25:56.519Z] ---> Running in 99be7ad927f0 [2022-11-07T15:25:56.795Z] Removing intermediate container 99be7ad927f0 [2022-11-07T15:25:56.795Z] ---> 73728461c166 [2022-11-07T15:25:56.795Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T15:25:57.066Z] ---> Running in 90e23d4082aa [2022-11-07T15:25:58.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:25:58.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:25:59.715Z] OK: 221 MiB in 51 packages [2022-11-07T15:26:00.692Z] Removing intermediate container 90e23d4082aa [2022-11-07T15:26:00.692Z] ---> a6096e82ab2e [2022-11-07T15:26:00.692Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-07T15:26:00.692Z] ---> Running in 42f6ab17fe6e [2022-11-07T15:26:00.958Z] Removing intermediate container 42f6ab17fe6e [2022-11-07T15:26:00.958Z] ---> 6ab544f7b424 [2022-11-07T15:26:00.958Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-07T15:26:01.549Z] ---> c404135c1dbc [2022-11-07T15:26:01.549Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T15:26:01.549Z] ---> Running in 7120841d1bd1 [2022-11-07T15:26:04.149Z] Removing intermediate container 7120841d1bd1 [2022-11-07T15:26:04.149Z] ---> 239901c5abd3 [2022-11-07T15:26:04.149Z] Step 12/26 : COPY . . [2022-11-07T15:26:06.104Z] ---> 6f601dd9eb11 [2022-11-07T15:26:06.104Z] Step 13/26 : RUN ${MAKE} [2022-11-07T15:26:06.104Z] ---> Running in b8504cee445c [2022-11-07T15:26:07.076Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-07T15:28:58.883Z] Removing intermediate container b8504cee445c [2022-11-07T15:28:58.883Z] ---> 3a91d4a14c98 [2022-11-07T15:28:58.883Z] Step 14/26 : FROM alpine:3.16 [2022-11-07T15:28:58.883Z] 3.16: Pulling from library/alpine [2022-11-07T15:28:58.883Z] 9b18e9b68314: Already exists [2022-11-07T15:28:58.883Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T15:28:58.883Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T15:28:58.883Z] ---> a6215f271958 [2022-11-07T15:28:58.883Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-07T15:28:58.883Z] ---> Running in e0e5a91ccc71 [2022-11-07T15:28:58.883Z] Removing intermediate container e0e5a91ccc71 [2022-11-07T15:28:58.883Z] ---> 07c1500606c3 [2022-11-07T15:28:58.883Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T15:28:58.883Z] ---> Running in b0033761d575 [2022-11-07T15:28:58.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T15:28:58.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T15:28:58.883Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T15:28:58.883Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T15:28:58.883Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T15:28:58.883Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T15:28:58.883Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T15:28:58.883Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T15:28:58.883Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T15:28:58.883Z] OK: 8 MiB in 20 packages [2022-11-07T15:28:58.883Z] Removing intermediate container b0033761d575 [2022-11-07T15:28:58.883Z] ---> 2fbd828994e7 [2022-11-07T15:28:58.883Z] Step 17/26 : WORKDIR / [2022-11-07T15:28:58.883Z] ---> Running in bbd9c9d3e2ac [2022-11-07T15:28:58.883Z] Removing intermediate container bbd9c9d3e2ac [2022-11-07T15:28:58.883Z] ---> 7c9de911af04 [2022-11-07T15:28:58.883Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-07T15:28:58.883Z] ---> 199c95ba5014 [2022-11-07T15:28:58.883Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-07T15:28:58.883Z] ---> 2be4d5f10bb9 [2022-11-07T15:28:58.883Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-07T15:28:58.883Z] ---> 75759a670776 [2022-11-07T15:28:58.883Z] Step 21/26 : EXPOSE 59984 [2022-11-07T15:28:58.883Z] ---> Running in b597ea6dc39d [2022-11-07T15:28:58.883Z] Removing intermediate container b597ea6dc39d [2022-11-07T15:28:58.883Z] ---> dbb9b83ac392 [2022-11-07T15:28:58.883Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-07T15:28:58.883Z] ---> Running in cff8a663fcf2 [2022-11-07T15:28:58.883Z] Removing intermediate container cff8a663fcf2 [2022-11-07T15:28:58.883Z] ---> 8e3a04547f05 [2022-11-07T15:28:58.883Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T15:28:58.883Z] ---> Running in 0fb4d9602efd [2022-11-07T15:28:58.883Z] Removing intermediate container 0fb4d9602efd [2022-11-07T15:28:58.883Z] ---> 7da7cb15f0cb [2022-11-07T15:28:58.883Z] Step 24/26 : LABEL arch=arm64 [2022-11-07T15:28:58.883Z] ---> Running in af9c64411295 [2022-11-07T15:28:58.883Z] Removing intermediate container af9c64411295 [2022-11-07T15:28:58.883Z] ---> c80de495f4e2 [2022-11-07T15:28:58.883Z] Step 25/26 : LABEL git_sha=0620c76306f47231a660a5fb97b1454397a576c3 [2022-11-07T15:28:58.883Z] ---> Running in 099617b3e4df [2022-11-07T15:28:58.883Z] Removing intermediate container 099617b3e4df [2022-11-07T15:28:58.883Z] ---> 56f2d676058d [2022-11-07T15:28:58.883Z] Step 26/26 : LABEL version=0.0.0 [2022-11-07T15:28:58.883Z] ---> Running in c2fc5132b223 [2022-11-07T15:28:59.149Z] Removing intermediate container c2fc5132b223 [2022-11-07T15:28:59.149Z] ---> 8d9b4e6cd952 [2022-11-07T15:28:59.149Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T15:28:59.149Z] Successfully built 8d9b4e6cd952 [2022-11-07T15:28:59.149Z] 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-11-07T15:28:59.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:28:59.682Z] [2022-11-07T15:28:59.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:29:00.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:29:00.020Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T15:29:00.020Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T15:29:00.020Z] 04944245beec: Pulling fs layer [2022-11-07T15:29:00.020Z] 699f458cf7ca: Pulling fs layer [2022-11-07T15:29:00.020Z] 765212b225bb: Pulling fs layer [2022-11-07T15:29:00.020Z] f23df028b6ca: Pulling fs layer [2022-11-07T15:29:00.020Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T15:29:00.020Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T15:29:00.020Z] f23df028b6ca: Waiting [2022-11-07T15:29:00.020Z] d65c8cfc05b1: Waiting [2022-11-07T15:29:00.020Z] 765212b225bb: Waiting [2022-11-07T15:29:00.020Z] 2437ff75d9bd: Waiting [2022-11-07T15:29:00.290Z] 04944245beec: Verifying Checksum [2022-11-07T15:29:00.290Z] 04944245beec: Download complete [2022-11-07T15:29:00.290Z] 765212b225bb: Verifying Checksum [2022-11-07T15:29:00.290Z] 765212b225bb: Download complete [2022-11-07T15:29:00.290Z] f23df028b6ca: Verifying Checksum [2022-11-07T15:29:00.290Z] f23df028b6ca: Download complete [2022-11-07T15:29:00.290Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T15:29:00.290Z] d65c8cfc05b1: Download complete [2022-11-07T15:29:00.560Z] 699f458cf7ca: Verifying Checksum [2022-11-07T15:29:00.560Z] 699f458cf7ca: Download complete [2022-11-07T15:29:00.828Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T15:29:00.828Z] 8998bd30e6a1: Download complete [2022-11-07T15:29:03.409Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T15:29:03.409Z] 2437ff75d9bd: Download complete [2022-11-07T15:29:04.817Z] 8998bd30e6a1: Pull complete [2022-11-07T15:29:05.084Z] 04944245beec: Pull complete [2022-11-07T15:29:06.503Z] 699f458cf7ca: Pull complete [2022-11-07T15:29:06.503Z] 765212b225bb: Pull complete [2022-11-07T15:29:07.483Z] f23df028b6ca: Pull complete [2022-11-07T15:29:07.483Z] d65c8cfc05b1: Pull complete [2022-11-07T15:29:22.629Z] 2437ff75d9bd: Pull complete [2022-11-07T15:29:22.629Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T15:29:22.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T15:29:22.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:29:22.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-118427 does not seem to be running inside a container [2022-11-07T15:29:22.902Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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:arm64 cat [2022-11-07T15:29:25.679Z] $ docker top 452582dea232680b557342e52b08ccb9cf3a9a1f2af4e242c46ae24b24300871 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:26.512Z] ---> job-cost.sh [2022-11-07T15:29:26.512Z] lf-activate-venv: SKIPPING [2022-11-07T15:29:26.512Z] INFO: No Stack... [2022-11-07T15:29:27.095Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T15:29:27.676Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T15:29:28.312Z] + cut -d, -f6 [2022-11-07T15:29:28.312Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-11-07T15:29:28.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [2022-11-07T15:29:28.385Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] did not exist. Created. [2022-11-07T15:29:28.385Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T15:29:29.048Z] /w/workspace/device-onvif-camera/2@tmp/durable-fe5b8b6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T15:29:29.383Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T15:29:29.399Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T15:29:29.462Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T15:29:29.469Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T15:29:29.497Z] $ docker stop --time=1 452582dea232680b557342e52b08ccb9cf3a9a1f2af4e242c46ae24b24300871 [2022-11-07T15:29:30.961Z] $ docker rm -f 452582dea232680b557342e52b08ccb9cf3a9a1f2af4e242c46ae24b24300871 [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-11-07T15:29:31.345Z] provisioning config files... [2022-11-07T15:29:31.353Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config4222104533355492139tmp [Pipeline] { [Pipeline] sh [2022-11-07T15:29:31.646Z] + set +x [2022-11-07T15:29:31.646Z] + curl -s https://codecov.io/bash [2022-11-07T15:29:31.646Z] + bash -s -- [2022-11-07T15:29:31.646Z] [2022-11-07T15:29:31.646Z] _____ _ [2022-11-07T15:29:31.646Z] / ____| | | [2022-11-07T15:29:31.646Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T15:29:31.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T15:29:31.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T15:29:31.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T15:29:31.646Z] Bash-1.0.6 [2022-11-07T15:29:31.646Z] [2022-11-07T15:29:31.646Z] [2022-11-07T15:29:31.646Z] ==> git version 2.25.1 found [2022-11-07T15:29:31.646Z] ==> 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-11-07T15:29:31.646Z] Release-Date: 2020-01-08 [2022-11-07T15:29:31.646Z] 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-11-07T15:29:31.646Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T15:29:31.646Z] ==> Jenkins CI detected. [2022-11-07T15:29:31.646Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-193 [2022-11-07T15:29:31.646Z] project root: . [2022-11-07T15:29:31.646Z] --> token set from env [2022-11-07T15:29:31.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T15:29:31.646Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T15:29:31.646Z] ==> Python coveragepy not found [2022-11-07T15:29:31.646Z] ==> Searching for coverage reports in: [2022-11-07T15:29:31.646Z] + . [2022-11-07T15:29:31.646Z] -> Found 1 reports [2022-11-07T15:29:31.646Z] ==> Detecting git/mercurial file structure [2022-11-07T15:29:31.646Z] ==> Reading reports [2022-11-07T15:29:31.646Z] + ./coverage.out bytes=79184 [2022-11-07T15:29:31.646Z] ==> Appending adjustments [2022-11-07T15:29:31.646Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T15:29:31.908Z] + Found adjustments [2022-11-07T15:29:31.908Z] ==> Gzipping contents [2022-11-07T15:29:31.908Z] 12K /tmp/codecov.60Io6d.gz [2022-11-07T15:29:31.908Z] ==> Uploading reports [2022-11-07T15:29:31.908Z] url: https://codecov.io [2022-11-07T15:29:31.908Z] query: branch=PR-193&commit=0620c76306f47231a660a5fb97b1454397a576c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-11-07T15:29:31.908Z] -> Pinging Codecov [2022-11-07T15:29:31.908Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-193&commit=0620c76306f47231a660a5fb97b1454397a576c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= [2022-11-07T15:29:32.852Z] -> Uploading to [2022-11-07T15:29:32.852Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/F29A59C45E3A92E06B3E522C9905F8EF/0620c76306f47231a660a5fb97b1454397a576c3/0592b21d-4c93-4d68-858f-3751a643ea75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T152932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e4b9ac4da3bd4392ec5505764b5d1cb7f586aa6eac90d0693548a36daf0d771 [2022-11-07T15:29:33.109Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T15:29:33.109Z] Dload Upload Total Spent Left Speed [2022-11-07T15:29:33.109Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10864 0 0 100 10864 0 53782 --:--:-- --:--:-- --:--:-- 53517 100 10864 0 0 100 10864 0 48717 --:--:-- --:--:-- --:--:-- 48500 [2022-11-07T15:29:33.109Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0620c76306f47231a660a5fb97b1454397a576c3 [Pipeline] } [2022-11-07T15:29:33.116Z] 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-11-07T15:29:33.779Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-193/archives ] [2022-11-07T15:29:33.780Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T15:29:33.780Z] total 16 [2022-11-07T15:29:33.780Z] drwxr-xr-x 3 root root 4096 Nov 7 15:19 . [2022-11-07T15:29:33.780Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 15:19 .. [2022-11-07T15:29:33.780Z] drwxr-xr-x 2 root root 4096 Nov 7 15:19 cost [2022-11-07T15:29:33.780Z] -rw-r--r-- 1 root root 91 Nov 7 15:19 cost.csv [2022-11-07T15:29:33.780Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T15:29:33.780Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives [2022-11-07T15:29:33.780Z] total 16 [2022-11-07T15:29:33.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:19 . [2022-11-07T15:29:33.780Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 15:19 .. [2022-11-07T15:29:33.780Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 15:19 cost [2022-11-07T15:29:33.780Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 7 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:34.077Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:34.949Z] ---> package-listing.sh [2022-11-07T15:29:34.949Z] ++ facter osfamily [2022-11-07T15:29:34.949Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T15:29:35.207Z] + OS_FAMILY=debian [2022-11-07T15:29:35.207Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-193 [2022-11-07T15:29:35.207Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T15:29:35.207Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T15:29:35.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T15:29:35.207Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T15:29:35.207Z] + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' [2022-11-07T15:29:35.207Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T15:29:35.207Z] + case "${OS_FAMILY}" in [2022-11-07T15:29:35.207Z] + dpkg -l [2022-11-07T15:29:35.207Z] + grep '^ii' [2022-11-07T15:29:35.207Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T15:29:35.207Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T15:29:35.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T15:29:35.207Z] + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' [2022-11-07T15:29:35.207Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-193/archives/ [2022-11-07T15:29:35.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-193/archives/ [Pipeline] echo [2022-11-07T15:29:35.218Z] 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-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T15:29:35.510Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T15:29:36.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T15:29:36.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T15:29:36.156Z] prd-ubuntu20.04-docker-8c-8g-118422 does not seem to be running inside a container [2022-11-07T15:29:36.184Z] $ 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-193/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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T15:29:50.587Z] $ docker top 596ac8785b1e5153a0994459c1b1e3109c5e679e2da149cdc20b7e17fa9d2c21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T15:29:50.925Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T15:29:51.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T15:29:51.484Z] + ls /var/log/sa-host [2022-11-07T15:29:51.484Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T15:29:51.545Z] provisioning config files... [2022-11-07T15:29:51.552Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config2046460161287414129tmp [Pipeline] { [Pipeline] echo [2022-11-07T15:29:51.568Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:51.846Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T15:29:51.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:52.173Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T15:29:52.181Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:52.463Z] ---> sudo-logs.sh [2022-11-07T15:29:52.464Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T15:29:52.486Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:52.768Z] ---> job-cost.sh [2022-11-07T15:29:52.768Z] lf-activate-venv: SKIPPING [2022-11-07T15:29:52.768Z] DEBUG: total: 0.2199999988079071 [2022-11-07T15:29:52.768Z] INFO: Retrieving Stack Cost... [2022-11-07T15:29:53.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T15:29:53.897Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T15:29:53.909Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T15:29:54.191Z] ---> logs-deploy.sh [2022-11-07T15:29:54.191Z] lf-activate-venv: SKIPPING [2022-11-07T15:29:54.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-193/2 [2022-11-07T15:29:54.191Z] INFO: archiving workspace using pattern(s): [2022-11-07T15:29:55.125Z] Archives upload complete. [2022-11-07T15:29:55.125Z] INFO: archiving logs to Nexus