Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than d7608bef33885ab978c5fad83f7633bf1a7789b2 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15433360166721376758.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14644072376448065295.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13750799401151921124.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4806887436142896133.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11912610905291739434.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7609’ Running on prd-ubuntu20.04-docker-8c-8g-7612 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 Merge succeeded, producing 48d9002021d6a40e5e67837968619e60e9c92fc7 Checking out Revision 48d9002021d6a40e5e67837968619e60e9c92fc7 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48d9002021d6a40e5e67837968619e60e9c92fc7 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" > git rev-list --no-walk d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:10:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:10:43 ========================================================= 02:10:43 EdgeX Global Pipelines Version Info 02:10:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:10:43 ------------------- 02:10:43 stable info: 02:10:43 ------------------- 02:10:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:10:43 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:10:43 Message: update stable to v1.0.239 02:10:44 ------------------- 02:10:44 experimental info: 02:10:44 ------------------- 02:10:44 Commited By: **** collab-it+edgex@linuxfoundation.org 02:10:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:10:44 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48d9002 [Pipeline] echo 02:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:10:44 provisioning config files... 02:10:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config3134104132809882284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:45 ---> docker-login.sh 02:10:45 nexus3.edgexfoundry.org:10001 02:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:45 Configure a credential helper to remove this warning. See 02:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:45 02:10:45 Login Succeeded 02:10:45 nexus3.edgexfoundry.org:10002 02:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:45 Configure a credential helper to remove this warning. See 02:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:45 02:10:45 Login Succeeded 02:10:45 nexus3.edgexfoundry.org:10003 02:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:46 Configure a credential helper to remove this warning. See 02:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:46 02:10:46 Login Succeeded 02:10:46 nexus3.edgexfoundry.org:10004 02:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:46 Configure a credential helper to remove this warning. See 02:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:46 02:10:46 Login Succeeded 02:10:46 docker.io 02:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:46 Configure a credential helper to remove this warning. See 02:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:46 02:10:46 Login Succeeded 02:10:46 ---> docker-login.sh ends [Pipeline] } 02:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:10:47 + git rev-list -1 --merges 48d9002021d6a40e5e67837968619e60e9c92fc7~1..48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo 02:10:47 -----------> git rev-list -1 --merges 48d9002021d6a40e5e67837968619e60e9c92fc7~1..48d9002021d6a40e5e67837968619e60e9c92fc7 48d9002021d6a40e5e67837968619e60e9c92fc7 02:10:47 48d9002021d6a40e5e67837968619e60e9c92fc7 [false] [Pipeline] sh 02:10:47 + git log --format=format:%s -1 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo 02:10:47 ========================================================= 02:10:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:10:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:47 + git log --format=format:%s -1 48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] echo 02:10:47 [semverPrep] GIT_COMMIT: 48d9002021d6a40e5e67837968619e60e9c92fc7, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo 02:10:47 [semverPrep] This is not a build commit. [Pipeline] sh 02:10:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:48 + grep -v github /etc/ssh/ssh_known_hosts 02:10:48 + [ -e /tmp/ssh_known_hosts ] 02:10:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:10:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:10:48 + sudo tee -a /etc/ssh/ssh_known_hosts 02:10:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:48 02:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:48 0.1.4: Pulling from edgex-devops/py-git-semver 02:10:48 b85a868b505f: Pulling fs layer 02:10:48 e2be974225ed: Pulling fs layer 02:10:48 339a4e72a1f5: Pulling fs layer 02:10:48 988bab9f4d93: Pulling fs layer 02:10:48 1469e6f7b9e6: Pulling fs layer 02:10:48 eaf3925da568: Pulling fs layer 02:10:48 bab4dde63d76: Pulling fs layer 02:10:48 bde34c3a00c8: Pulling fs layer 02:10:48 b352a97aabf1: Pulling fs layer 02:10:48 4872d77fe225: Pulling fs layer 02:10:48 5851b861e8e6: Pulling fs layer 02:10:48 eaf3925da568: Waiting 02:10:48 bab4dde63d76: Waiting 02:10:48 bde34c3a00c8: Waiting 02:10:48 b352a97aabf1: Waiting 02:10:48 988bab9f4d93: Waiting 02:10:48 1469e6f7b9e6: Waiting 02:10:48 5851b861e8e6: Waiting 02:10:48 4872d77fe225: Waiting 02:10:48 e2be974225ed: Download complete 02:10:48 988bab9f4d93: Download complete 02:10:49 1469e6f7b9e6: Verifying Checksum 02:10:49 1469e6f7b9e6: Download complete 02:10:49 eaf3925da568: Verifying Checksum 02:10:49 eaf3925da568: Download complete 02:10:49 339a4e72a1f5: Verifying Checksum 02:10:49 339a4e72a1f5: Download complete 02:10:49 bde34c3a00c8: Verifying Checksum 02:10:49 b352a97aabf1: Verifying Checksum 02:10:49 b352a97aabf1: Download complete 02:10:49 4872d77fe225: Verifying Checksum 02:10:49 4872d77fe225: Download complete 02:10:49 5851b861e8e6: Verifying Checksum 02:10:49 5851b861e8e6: Download complete 02:10:49 b85a868b505f: Verifying Checksum 02:10:49 b85a868b505f: Download complete 02:10:49 bab4dde63d76: Verifying Checksum 02:10:49 bab4dde63d76: Download complete 02:10:50 b85a868b505f: Pull complete 02:10:50 e2be974225ed: Pull complete 02:10:51 339a4e72a1f5: Pull complete 02:10:51 988bab9f4d93: Pull complete 02:10:51 1469e6f7b9e6: Pull complete 02:10:51 eaf3925da568: Pull complete 02:10:53 bab4dde63d76: Pull complete 02:10:53 bde34c3a00c8: Pull complete 02:10:53 b352a97aabf1: Pull complete 02:10:53 4872d77fe225: Pull complete 02:10:53 5851b861e8e6: Pull complete 02:10:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:54 prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container 02:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:56 $ docker top 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 -eo pid,comm 02:10:57 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). 02:10:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:57 [ssh-agent] Looking for ssh-agent implementation... 02:10:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:57 $ docker exec 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent 02:10:57 SSH_AUTH_SOCK=/tmp/ssh-y7qo35Z2JUWn/agent.33 02:10:57 SSH_AGENT_PID=39 02:10:57 Running ssh-add (command line suppressed) 02:10:57 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14746064257392820923.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14746064257392820923.key) 02:10:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:57 + git tag --points-at HEAD [Pipeline] } 02:10:57 $ docker exec --env ******** --env ******** 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent -k 02:10:57 unset SSH_AUTH_SOCK; 02:10:57 unset SSH_AGENT_PID; 02:10:57 echo Agent pid 39 killed; 02:10:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:10:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:57 [ssh-agent] Looking for ssh-agent implementation... 02:10:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:57 $ docker exec 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent 02:10:58 SSH_AUTH_SOCK=/tmp/ssh-o9nM5keVg0sA/agent.71 02:10:58 SSH_AGENT_PID=77 02:10:58 Running ssh-add (command line suppressed) 02:10:58 Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13336200965668914047.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_13336200965668914047.key) 02:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:58 + git semver init 02:10:58 2022-10-11 02:10:58,665 [run_init] DEBUG init version:0.0.0 force:False 02:10:58 2022-10-11 02:10:58,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver 02:10:58 2022-10-11 02:10:58,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver 02:10:58 2022-10-11 02:10:58,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) 02:11:00 2022-10-11 02:10:59,750 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude 02:11:00 2022-10-11 02:10:59,750 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False 02:11:00 2022-10-11 02:10:59,751 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 02:11:00 2022-10-11 02:10:59,755 [execute] INFO git cat-file --batch-check 02:11:00 2022-10-11 02:10:59,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 02:11:00 2022-10-11 02:10:59,760 [execute] INFO git cat-file --batch 02:11:00 2022-10-11 02:10:59,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) 02:11:00 2022-10-11 02:10:59,766 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 02:11:00 0.0.0 [Pipeline] } 02:11:00 $ docker exec --env ******** --env ******** 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 ssh-agent -k 02:11:00 unset SSH_AUTH_SOCK; 02:11:00 unset SSH_AGENT_PID; 02:11:00 echo Agent pid 77 killed; 02:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:00 + git semver [Pipeline] } 02:11:00 $ docker stop --time=1 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 02:11:02 $ docker rm -f 77b58dd2b68b585e544a02205324516d160db7b972ae6021b3cb0a4864918fd3 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:02 Stashed 1 file(s) [Pipeline] echo 02:11:02 [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 02:11:02 provisioning config files... 02:11:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config15380118444647072066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:03 ---> docker-login.sh 02:11:03 nexus3.edgexfoundry.org:10001 02:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:03 Configure a credential helper to remove this warning. See 02:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:03 02:11:03 Login Succeeded 02:11:03 nexus3.edgexfoundry.org:10002 02:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:03 Configure a credential helper to remove this warning. See 02:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:03 02:11:03 Login Succeeded 02:11:03 nexus3.edgexfoundry.org:10003 02:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:03 Configure a credential helper to remove this warning. See 02:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:03 02:11:03 Login Succeeded 02:11:03 nexus3.edgexfoundry.org:10004 02:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:03 Configure a credential helper to remove this warning. See 02:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:03 02:11:03 Login Succeeded 02:11:03 docker.io 02:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:03 Configure a credential helper to remove this warning. See 02:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:03 02:11:03 Login Succeeded 02:11:03 ---> docker-login.sh ends [Pipeline] } 02:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:04 ========================================================= 02:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:11:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:04 + 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 . 02:11:04 Sending build context to Docker daemon 21.22MB 02:11:04 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:11:04 Step 2/14 : FROM ${BASE} AS builder 02:11:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:04 213ec9aee27d: Pulling fs layer 02:11:04 4583459ba037: Pulling fs layer 02:11:04 93c1e223e6f2: Pulling fs layer 02:11:04 53926ce57604: Pulling fs layer 02:11:04 21b2b0c7a3f4: Pulling fs layer 02:11:04 30f14e443154: Pulling fs layer 02:11:04 801331c1e519: Pulling fs layer 02:11:04 99cc6dd402b0: Pulling fs layer 02:11:04 7d9ed39f4882: Pulling fs layer 02:11:04 53926ce57604: Waiting 02:11:04 801331c1e519: Waiting 02:11:04 21b2b0c7a3f4: Waiting 02:11:04 99cc6dd402b0: Waiting 02:11:04 30f14e443154: Waiting 02:11:04 7d9ed39f4882: Waiting 02:11:04 93c1e223e6f2: Download complete 02:11:04 4583459ba037: Download complete 02:11:04 21b2b0c7a3f4: Verifying Checksum 02:11:04 21b2b0c7a3f4: Download complete 02:11:04 30f14e443154: Download complete 02:11:04 213ec9aee27d: Download complete 02:11:04 801331c1e519: Download complete 02:11:04 213ec9aee27d: Pull complete 02:11:04 4583459ba037: Pull complete 02:11:04 93c1e223e6f2: Pull complete 02:11:05 7d9ed39f4882: Verifying Checksum 02:11:05 7d9ed39f4882: Download complete 02:11:05 53926ce57604: Verifying Checksum 02:11:05 53926ce57604: Download complete 02:11:05 99cc6dd402b0: Verifying Checksum 02:11:05 99cc6dd402b0: Download complete 02:11:09 53926ce57604: Pull complete 02:11:09 21b2b0c7a3f4: Pull complete 02:11:09 30f14e443154: Pull complete 02:11:09 801331c1e519: Pull complete 02:11:11 99cc6dd402b0: Pull complete 02:11:12 7d9ed39f4882: Pull complete 02:11:12 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 02:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:11:12 ---> 1dedd983c030 02:11:12 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:11:17 Still waiting to schedule task 02:11:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7610’ 02:11:30 ---> Running in edb23db4823a 02:11:30 Removing intermediate container edb23db4823a 02:11:30 ---> 1c01b902e750 02:11:30 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:30 ---> Running in 54247bb5edb8 02:11:31 Removing intermediate container 54247bb5edb8 02:11:31 ---> 0b4a77d1f0be 02:11:31 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:11:31 ---> Running in de9334a0e3fb 02:11:32 Removing intermediate container de9334a0e3fb 02:11:32 ---> 22c44a5da2c8 02:11:32 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:11:32 ---> Running in d76816004926 02:11:33 Removing intermediate container d76816004926 02:11:33 ---> 8b280191ba24 02:11:33 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:11:34 ---> Running in ef1265be5123 02:11:34 Removing intermediate container ef1265be5123 02:11:34 ---> cc762972ef99 02:11:34 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:11:35 ---> Running in 95bdb47b25d2 02:11:37 Removing intermediate container 95bdb47b25d2 02:11:37 ---> 10d3ead006bf 02:11:37 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:38 ---> Running in d048b7f8b81b 02:11:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:11:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:11:40 OK: 211 MiB in 51 packages 02:11:42 Removing intermediate container d048b7f8b81b 02:11:42 ---> 321ba3e8cd14 02:11:42 Step 10/14 : WORKDIR /device-onvif-camera 02:11:42 ---> Running in faebfce3ad37 02:11:43 Removing intermediate container faebfce3ad37 02:11:43 ---> a1ffd1b0bce9 02:11:43 Step 11/14 : COPY go.mod vendor* ./ 02:11:44 ---> bf224ef72add 02:11:44 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:45 ---> Running in eef1473af816 02:12:06 Removing intermediate container eef1473af816 02:12:06 ---> 85039c079110 02:12:06 Step 13/14 : COPY . . 02:12:07 ---> d3b803742c61 02:12:07 Step 14/14 : RUN ${MAKE} 02:12:07 ---> Running in 6b9123c20dce 02:12:07 noop 02:12:07 Removing intermediate container 6b9123c20dce 02:12:07 ---> 50df854cb16d 02:12:07 Successfully built 50df854cb16d 02:12:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:08 + docker inspect -f . ci-base-image-x86_64 02:12:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:08 prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container 02:12:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:08 $ docker top 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:08 + go version 02:12:08 go version go1.18.7 linux/amd64 [Pipeline] } 02:12:08 $ docker stop --time=1 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e 02:12:10 $ docker rm -f 5dc4b8d756ca288a52dd9f1ed4a08f4c85835d2192cac53462e7c047eb5aed8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:10 + docker inspect -f . ci-base-image-x86_64 02:12:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:10 prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container 02:12:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:11 $ docker top 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:11 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh 02:12:11 + make test 02:12:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements 02:12:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.406s coverage: 86.5% of statements 02:12:31 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." 02:12:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:33 ./bin/test-attribution-txt.sh [Pipeline] echo 02:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:12:33 $ docker stop --time=1 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 02:12:35 $ docker rm -f 971f11515e6cd255aa3ee68edb61f19c92fe8a65865b28dba4e9fe1b4bba3137 [Pipeline] // withDockerContainer [Pipeline] sh 02:12:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:12:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:37 + ls -al . 02:12:37 total 236 02:12:37 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 02:12 . 02:12:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 .. 02:12:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:12 .git 02:12:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:10 .github 02:12:37 -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 02:10 .gitignore 02:12:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:10 .golangci.yml 02:12:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:10 .semver 02:12:37 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:10 Attribution.txt 02:12:37 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:10 CHANGELOG.md 02:12:37 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:10 Dockerfile 02:12:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:10 GOVERNANCE.md 02:12:37 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:10 Jenkinsfile 02:12:37 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:10 LICENSE 02:12:37 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:10 Makefile 02:12:37 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:10 OWNERS.md 02:12:37 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:10 README.md 02:12:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION 02:12:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:10 bin 02:12:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:10 cmd 02:12:37 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:12 coverage.out 02:12:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:10 doc 02:12:37 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:10 go.mod 02:12:37 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:10 go.sum 02:12:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 internal 02:12:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:10 snap 02:12:37 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:37 + 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=48d9002021d6a40e5e67837968619e60e9c92fc7 --label arch=amd64 --label version=0.0.0 . 02:12:37 Sending build context to Docker daemon 21.3MB 02:12:37 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:12:37 Step 2/27 : FROM ${BASE} AS builder 02:12:37 ---> 50df854cb16d 02:12:37 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:12:37 ---> Running in 5f291a2999c1 02:12:37 Removing intermediate container 5f291a2999c1 02:12:37 ---> da6d39758ddf 02:12:37 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:37 ---> Running in 5e4758aad9b4 02:12:37 Removing intermediate container 5e4758aad9b4 02:12:37 ---> 6c911e7b363b 02:12:37 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:38 ---> Running in bc59c52e8545 02:12:38 Removing intermediate container bc59c52e8545 02:12:38 ---> 90c670019ddc 02:12:38 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:12:38 ---> Running in fe37b09c9bf6 02:12:38 Removing intermediate container fe37b09c9bf6 02:12:38 ---> 1bb803ac182d 02:12:38 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:12:38 ---> Running in 1c2383a073de 02:12:38 Removing intermediate container 1c2383a073de 02:12:38 ---> dd2299f7b110 02:12:38 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:12:38 ---> Running in 482261fab76f 02:12:38 Removing intermediate container 482261fab76f 02:12:38 ---> 1e69df517b03 02:12:38 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:38 ---> Running in 80fdfe88b5b1 02:12:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:40 OK: 211 MiB in 51 packages 02:12:40 Removing intermediate container 80fdfe88b5b1 02:12:40 ---> adac177588b3 02:12:40 Step 10/27 : WORKDIR /device-onvif-camera 02:12:40 ---> Running in a5beb1042497 02:12:40 Removing intermediate container a5beb1042497 02:12:40 ---> 5c8ccd3df4f4 02:12:40 Step 11/27 : COPY go.mod vendor* ./ 02:12:40 ---> eb9bf0b3b538 02:12:40 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:40 ---> Running in 780e2da60df1 02:12:41 Removing intermediate container 780e2da60df1 02:12:41 ---> 2324a35a2a2a 02:12:41 Step 13/27 : COPY . . 02:12:42 ---> 7e4030b6c273 02:12:42 Step 14/27 : RUN ${MAKE} 02:12:42 ---> Running in e44bf08259c1 02:12:42 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:13:08 Removing intermediate container e44bf08259c1 02:13:08 ---> 7293f24f1869 02:13:08 Step 15/27 : FROM alpine:3.16 02:13:08 3.16: Pulling from library/alpine 02:13:08 213ec9aee27d: Already exists 02:13:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:13:08 Status: Downloaded newer image for alpine:3.16 02:13:08 ---> 9c6f07244728 02:13:08 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:08 ---> Running in 8d5c54be2d53 02:13:08 Removing intermediate container 8d5c54be2d53 02:13:08 ---> 126bae43ccb9 02:13:08 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 02:13:08 ---> Running in 55a06b03d522 02:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:08 (1/6) Installing dumb-init (1.2.5-r1) 02:13:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:13:08 (3/6) Installing libsodium (1.0.18-r0) 02:13:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:08 (5/6) Installing libzmq (4.3.4-r0) 02:13:08 (6/6) Installing zeromq (4.3.4-r0) 02:13:08 Executing busybox-1.35.0-r17.trigger 02:13:08 OK: 8 MiB in 20 packages 02:13:08 Removing intermediate container 55a06b03d522 02:13:08 ---> 408dd7ef9e4f 02:13:08 Step 18/27 : WORKDIR / 02:13:08 ---> Running in 624f9fe8b845 02:13:08 Removing intermediate container 624f9fe8b845 02:13:08 ---> 5a115b335976 02:13:08 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:13:08 ---> 08f4a43dae64 02:13:08 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:08 ---> 67e561128590 02:13:08 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:08 ---> 62fe2036becf 02:13:08 Step 22/27 : EXPOSE 59984 02:13:08 ---> Running in c53da356d7ad 02:13:08 Removing intermediate container c53da356d7ad 02:13:08 ---> 8fb40e801075 02:13:08 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:13:08 ---> Running in d374b4db9a53 02:13:08 Removing intermediate container d374b4db9a53 02:13:08 ---> 4d8063c3af7e 02:13:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:08 ---> Running in 8ba7d5edc62d 02:13:08 Removing intermediate container 8ba7d5edc62d 02:13:08 ---> 007d40ded02c 02:13:08 Step 25/27 : LABEL arch=amd64 02:13:08 ---> Running in d00512b55ca3 02:13:08 Removing intermediate container d00512b55ca3 02:13:08 ---> 88be4dd7d7a0 02:13:08 Step 26/27 : LABEL git_sha=48d9002021d6a40e5e67837968619e60e9c92fc7 02:13:08 ---> Running in 630d55ce0751 02:13:08 Removing intermediate container 630d55ce0751 02:13:08 ---> 8c0a8c9c2789 02:13:08 Step 27/27 : LABEL version=0.0.0 02:13:08 ---> Running in a1f028218c59 02:13:08 Removing intermediate container a1f028218c59 02:13:08 ---> 83eb89f2ac64 02:13:08 [Warning] One or more build-args [ARCH] were not consumed 02:13:08 Successfully built 83eb89f2ac64 02:13:08 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 02:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:09 02:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:09 latest: Pulling from edgex-lftools-log-publisher 02:13:09 5eb5b503b376: Pulling fs layer 02:13:09 5c69ac0246d0: Pulling fs layer 02:13:09 ec43610c2a17: Pulling fs layer 02:13:09 3a2ae6a8a46f: Pulling fs layer 02:13:09 33b1e0a273af: Pulling fs layer 02:13:09 5d3b04190fa2: Pulling fs layer 02:13:09 2f39f015ded8: Pulling fs layer 02:13:09 5d3b04190fa2: Waiting 02:13:09 33b1e0a273af: Waiting 02:13:09 2f39f015ded8: Waiting 02:13:09 5c69ac0246d0: Verifying Checksum 02:13:09 5c69ac0246d0: Download complete 02:13:09 3a2ae6a8a46f: Verifying Checksum 02:13:09 3a2ae6a8a46f: Download complete 02:13:09 33b1e0a273af: Verifying Checksum 02:13:09 33b1e0a273af: Download complete 02:13:09 ec43610c2a17: Verifying Checksum 02:13:09 ec43610c2a17: Download complete 02:13:09 5d3b04190fa2: Verifying Checksum 02:13:09 5d3b04190fa2: Download complete 02:13:09 5eb5b503b376: Verifying Checksum 02:13:09 5eb5b503b376: Download complete 02:13:10 2f39f015ded8: Verifying Checksum 02:13:10 2f39f015ded8: Download complete 02:13:10 5eb5b503b376: Pull complete 02:13:10 5c69ac0246d0: Pull complete 02:13:11 ec43610c2a17: Pull complete 02:13:11 3a2ae6a8a46f: Pull complete 02:13:11 33b1e0a273af: Pull complete 02:13:11 5d3b04190fa2: Pull complete 02:13:15 2f39f015ded8: Pull complete 02:13:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:16 prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container 02:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:19 $ docker top eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:19 ---> job-cost.sh 02:13:19 lf-activate-venv: SKIPPING 02:13:19 INFO: No Stack... 02:13:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:20 INFO: Archiving Costs [Pipeline] sh 02:13:21 + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv 02:13:21 + cut -d, -f6 [Pipeline] lock 02:13:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] 02:13:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] did not exist. Created. 02:13:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:21 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:21 Stashed 1 file(s) [Pipeline] } 02:13:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:21 $ docker stop --time=1 eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 02:13:22 $ docker rm -f eb423236bdd9b3b667b063412805a737fab78859f673eae211ee9e923cc2ac22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7615 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws 02:13:40 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 02:13:41 The recommended git tool is: git 02:13:47 using credential edgex-jenkins-ssh 02:13:47 Cloning the remote Git repository 02:13:47 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:13:47 > git init /w/workspace/device-onvif-camera/4 # timeout=10 02:13:47 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:47 > git --version # timeout=10 02:13:47 > git --version # 'git version 2.25.1' 02:13:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:47 Verifying host key using known hosts file 02:13:47 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. 02:13:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:13:51 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 02:13:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:13:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:13:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:50 Verifying host key using known hosts file 02:13:50 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. 02:13:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:13:51 > git config core.sparsecheckout # timeout=10 02:13:51 > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 02:13:52 Merge succeeded, producing df9a3fbcbe8cad976df713ebeee647e5f7497bae 02:13:52 Checking out Revision df9a3fbcbe8cad976df713ebeee647e5f7497bae (PR-174) 02:13:51 > git remote # timeout=10 02:13:51 > git config --get remote.origin.url # timeout=10 02:13:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:13:51 Verifying host key using known hosts file 02:13:51 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. 02:13:51 > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 02:13:52 > git rev-parse HEAD^{commit} # timeout=10 02:13:52 > git config core.sparsecheckout # timeout=10 02:13:52 > git checkout -f df9a3fbcbe8cad976df713ebeee647e5f7497bae # timeout=10 02:13:55 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" 02:13:55 > git rev-list --no-walk d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:13:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:56 Dload Upload Total Spent Left Speed 02:13:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 71602 0 --:--:-- --:--:-- --:--:-- 71602 [Pipeline] sh 02:13:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:13:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:13:57 + sudo tee /etc/docker/daemon.new 02:13:57 { 02:13:57 "registry-mirrors": [ 02:13:57 "https://nexus3.edgexfoundry.org:10001" 02:13:57 ], 02:13:57 "bip": "10.250.0.254/24", 02:13:57 "hosts": [ 02:13:57 "tcp://0.0.0.0:5555", 02:13:57 "unix:///var/run/docker.sock" 02:13:57 ], 02:13:57 "mtu": 1458, 02:13:57 "selinux-enabled": true, 02:13:57 "seccomp-profile": "/etc/docker/seccomp.json" 02:13:57 } [Pipeline] sh 02:13:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:13:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:16 provisioning config files... 02:14:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config11027402141090072233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:17 ---> docker-login.sh 02:14:17 nexus3.edgexfoundry.org:10001 02:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:17 Configure a credential helper to remove this warning. See 02:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:17 02:14:17 Login Succeeded 02:14:17 nexus3.edgexfoundry.org:10002 02:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:18 Configure a credential helper to remove this warning. See 02:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:18 02:14:18 Login Succeeded 02:14:18 nexus3.edgexfoundry.org:10003 02:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:18 Configure a credential helper to remove this warning. See 02:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:18 02:14:18 Login Succeeded 02:14:18 nexus3.edgexfoundry.org:10004 02:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:19 Configure a credential helper to remove this warning. See 02:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:19 02:14:19 Login Succeeded 02:14:19 docker.io 02:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:14:19 Configure a credential helper to remove this warning. See 02:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:14:19 02:14:19 Login Succeeded 02:14:19 ---> docker-login.sh ends [Pipeline] } 02:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:14:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:14:19 ========================================================= 02:14:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:14:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:20 + 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 . 02:14:20 Sending build context to Docker daemon 14.64MB 02:14:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:14:20 Step 2/14 : FROM ${BASE} AS builder 02:14:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:14:20 9b18e9b68314: Pulling fs layer 02:14:20 d32db5db7311: Pulling fs layer 02:14:20 d0c4b47475fc: Pulling fs layer 02:14:20 5831b945b038: Pulling fs layer 02:14:20 86bbec2aaacd: Pulling fs layer 02:14:20 e10730c5d714: Pulling fs layer 02:14:20 5831b945b038: Waiting 02:14:20 86bbec2aaacd: Waiting 02:14:20 5dd5c2283517: Pulling fs layer 02:14:20 d5ac0230b979: Pulling fs layer 02:14:20 e10730c5d714: Waiting 02:14:20 d5ac0230b979: Waiting 02:14:20 5dd5c2283517: Waiting 02:14:21 d0c4b47475fc: Verifying Checksum 02:14:21 d0c4b47475fc: Download complete 02:14:21 d32db5db7311: Download complete 02:14:21 86bbec2aaacd: Download complete 02:14:21 e10730c5d714: Verifying Checksum 02:14:21 e10730c5d714: Download complete 02:14:21 9b18e9b68314: Verifying Checksum 02:14:22 9b18e9b68314: Pull complete 02:14:22 d5ac0230b979: Verifying Checksum 02:14:22 d5ac0230b979: Download complete 02:14:22 d32db5db7311: Pull complete 02:14:22 d0c4b47475fc: Pull complete 02:14:23 5dd5c2283517: Verifying Checksum 02:14:23 5dd5c2283517: Download complete 02:14:24 5831b945b038: Download complete 02:14:36 5831b945b038: Pull complete 02:14:36 86bbec2aaacd: Pull complete 02:14:36 e10730c5d714: Pull complete 02:14:43 5dd5c2283517: Pull complete 02:14:44 d5ac0230b979: Pull complete 02:14:44 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 02:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:14:44 ---> 59b3b1a385d4 02:14:44 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:14:46 ---> Running in ea6ab2f8d52f 02:14:46 Removing intermediate container ea6ab2f8d52f 02:14:46 ---> 02f99c847516 02:14:46 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:46 ---> Running in 5dfe8261db1e 02:14:46 Removing intermediate container 5dfe8261db1e 02:14:46 ---> 59361515274e 02:14:46 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:14:47 ---> Running in 6eacbb6f9ea7 02:14:47 Removing intermediate container 6eacbb6f9ea7 02:14:47 ---> c268a8f2e404 02:14:47 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:14:47 ---> Running in dae3e1e7db8b 02:14:48 Removing intermediate container dae3e1e7db8b 02:14:48 ---> 541dde9a978b 02:14:48 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:14:48 ---> Running in fb94318e3da6 02:14:48 Removing intermediate container fb94318e3da6 02:14:48 ---> 458f5325c219 02:14:48 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:14:48 ---> Running in 8a530aa264ab 02:14:50 Removing intermediate container 8a530aa264ab 02:14:50 ---> e120f1feae25 02:14:50 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:50 ---> Running in 40190e4b2335 02:14:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:14:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:14:53 OK: 221 MiB in 51 packages 02:14:54 Removing intermediate container 40190e4b2335 02:14:54 ---> 910d9a4ccda8 02:14:54 Step 10/14 : WORKDIR /device-onvif-camera 02:14:54 ---> Running in 66bfeccc2673 02:14:54 Removing intermediate container 66bfeccc2673 02:14:54 ---> 40b2af52a081 02:14:54 Step 11/14 : COPY go.mod vendor* ./ 02:14:54 ---> 1d5059949abc 02:14:54 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:54 ---> Running in b798e8a2b84f 02:15:51 Removing intermediate container b798e8a2b84f 02:15:51 ---> 6814919d4f2c 02:15:51 Step 13/14 : COPY . . 02:15:51 ---> 020ce716ef42 02:15:51 Step 14/14 : RUN ${MAKE} 02:15:51 ---> Running in c84dc62c0c03 02:15:51 noop 02:15:51 Removing intermediate container c84dc62c0c03 02:15:51 ---> 6b90215f6a7c 02:15:51 Successfully built 6b90215f6a7c 02:15:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:51 + docker inspect -f . ci-base-image-arm64 02:15:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:52 prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container 02:15:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:15:53 $ docker top 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:15:54 + go version 02:15:54 go version go1.18.7 linux/arm64 [Pipeline] } 02:15:54 $ docker stop --time=1 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 02:15:56 $ docker rm -f 81786ded1efd91ab4102d763321603847d042eb3beaf407f3601f418c3e11cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:56 + docker inspect -f . ci-base-image-arm64 02:15:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:15:56 prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container 02:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:15:58 $ docker top 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b -eo pid,comm [Pipeline] { [Pipeline] sh 02:15:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 02:15:59 + make test 02:15:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:16:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:17:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:17:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements 02:17:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:18:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.421s coverage: 86.5% of statements 02:18:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:18:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:50 ./bin/test-attribution-txt.sh [Pipeline] echo 02:18:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:18:50 $ docker stop --time=1 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b 02:18:52 $ docker rm -f 6d8ea666db69d05399beb72c91f2d90d12422f4b6509c7caeb9aa15743acce3b [Pipeline] // withDockerContainer [Pipeline] sh 02:18:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:53 Warning: overwriting stash ‘coverage-report’ 02:18:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:55 + ls -al . 02:18:55 total 232 02:18:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 02:16 . 02:18:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 .. 02:18:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:13 .git 02:18:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:13 .github 02:18:55 -rw-rw-r-- 1 jenkins jenkins 496 Oct 11 02:13 .gitignore 02:18:55 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:13 .golangci.yml 02:18:55 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:13 Attribution.txt 02:18:55 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:13 CHANGELOG.md 02:18:55 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:13 Dockerfile 02:18:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:13 GOVERNANCE.md 02:18:55 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:13 Jenkinsfile 02:18:55 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:13 LICENSE 02:18:55 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:13 Makefile 02:18:55 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:13 OWNERS.md 02:18:55 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:13 README.md 02:18:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION 02:18:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:13 bin 02:18:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:13 cmd 02:18:55 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:18 coverage.out 02:18:55 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:13 doc 02:18:55 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:13 go.mod 02:18:55 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:13 go.sum 02:18:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 internal 02:18:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:13 snap 02:18:55 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:55 + 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=df9a3fbcbe8cad976df713ebeee647e5f7497bae --label arch=arm64 --label version=0.0.0 . 02:18:57 Sending build context to Docker daemon 14.71MB 02:18:57 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 02:18:57 Step 2/27 : FROM ${BASE} AS builder 02:18:57 ---> 6b90215f6a7c 02:18:57 Step 3/27 : ARG ADD_BUILD_TAGS="" 02:18:57 ---> Running in 36eebfdd3e7d 02:18:58 Removing intermediate container 36eebfdd3e7d 02:18:58 ---> b93471f4480e 02:18:58 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:58 ---> Running in b5515b386e71 02:18:58 Removing intermediate container b5515b386e71 02:18:58 ---> 1487eacc91ab 02:18:58 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:18:59 ---> Running in 748494bc3247 02:18:59 Removing intermediate container 748494bc3247 02:18:59 ---> 610cfa650818 02:18:59 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 02:18:59 ---> Running in 5e7464a16d58 02:19:00 Removing intermediate container 5e7464a16d58 02:19:00 ---> ec22dca22880 02:19:00 Step 7/27 : LABEL Name=edgex-device-onvif-camera 02:19:00 ---> Running in cea0285684df 02:19:01 Removing intermediate container cea0285684df 02:19:01 ---> 9a4bfdc95019 02:19:01 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:01 ---> Running in cdd90eeb115c 02:19:04 Removing intermediate container cdd90eeb115c 02:19:04 ---> 54de6a561ffe 02:19:04 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:05 ---> Running in e7883c41e928 02:19:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:19:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:19:08 OK: 221 MiB in 51 packages 02:19:09 Removing intermediate container e7883c41e928 02:19:09 ---> a34581c90299 02:19:09 Step 10/27 : WORKDIR /device-onvif-camera 02:19:09 ---> Running in 5ea1e040e752 02:19:10 Removing intermediate container 5ea1e040e752 02:19:10 ---> 0702deac1217 02:19:10 Step 11/27 : COPY go.mod vendor* ./ 02:19:10 ---> 5e3c2d691a83 02:19:10 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:10 ---> Running in abf1515b990d 02:19:13 Removing intermediate container abf1515b990d 02:19:13 ---> 18561d72b5de 02:19:13 Step 13/27 : COPY . . 02:19:14 ---> b0a080606a7a 02:19:14 Step 14/27 : RUN ${MAKE} 02:19:14 ---> Running in 34e5facb6bb1 02:19:15 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:22:07 Removing intermediate container 34e5facb6bb1 02:22:07 ---> b25ebd783822 02:22:07 Step 15/27 : FROM alpine:3.16 02:22:07 3.16: Pulling from library/alpine 02:22:07 9b18e9b68314: Already exists 02:22:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:22:07 Status: Downloaded newer image for alpine:3.16 02:22:07 ---> a6215f271958 02:22:07 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:22:07 ---> Running in d6757ba301ef 02:22:07 Removing intermediate container d6757ba301ef 02:22:07 ---> c0abd012d495 02:22:07 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 02:22:07 ---> Running in bdf0edc28922 02:22:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:22:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:22:07 (1/6) Installing dumb-init (1.2.5-r1) 02:22:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 02:22:07 (3/6) Installing libsodium (1.0.18-r0) 02:22:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 02:22:07 (5/6) Installing libzmq (4.3.4-r0) 02:22:07 (6/6) Installing zeromq (4.3.4-r0) 02:22:07 Executing busybox-1.35.0-r17.trigger 02:22:07 OK: 8 MiB in 20 packages 02:22:07 Removing intermediate container bdf0edc28922 02:22:07 ---> f5842332f41c 02:22:07 Step 18/27 : WORKDIR / 02:22:07 ---> Running in bb6f1b4c00b7 02:22:07 Removing intermediate container bb6f1b4c00b7 02:22:07 ---> 7f7ff5d2f667 02:22:07 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 02:22:07 ---> 25dc02311eae 02:22:07 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 02:22:07 ---> a68453a78835 02:22:07 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:22:07 ---> 782605d7c4c5 02:22:07 Step 22/27 : EXPOSE 59984 02:22:07 ---> Running in 9a91e750b450 02:22:07 Removing intermediate container 9a91e750b450 02:22:07 ---> 1d7909c2602f 02:22:07 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 02:22:07 ---> Running in 583b06ba832e 02:22:08 Removing intermediate container 583b06ba832e 02:22:08 ---> a3f36f1eac0c 02:22:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:22:08 ---> Running in 5f65ae51691a 02:22:08 Removing intermediate container 5f65ae51691a 02:22:08 ---> 5ccdd22e48dc 02:22:08 Step 25/27 : LABEL arch=arm64 02:22:08 ---> Running in 3bdbe6c6b8ee 02:22:08 Removing intermediate container 3bdbe6c6b8ee 02:22:08 ---> 50af134a4a6c 02:22:08 Step 26/27 : LABEL git_sha=df9a3fbcbe8cad976df713ebeee647e5f7497bae 02:22:08 ---> Running in 1ae85be9eca3 02:22:09 Removing intermediate container 1ae85be9eca3 02:22:09 ---> 7c64be446401 02:22:09 Step 27/27 : LABEL version=0.0.0 02:22:09 ---> Running in a10031c29ab8 02:22:09 Removing intermediate container a10031c29ab8 02:22:09 ---> 04b225e918d9 02:22:09 [Warning] One or more build-args [ARCH] were not consumed 02:22:09 Successfully built 04b225e918d9 02:22:09 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 02:22:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:10 02:22:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:10 arm64: Pulling from edgex-lftools-log-publisher 02:22:10 8998bd30e6a1: Pulling fs layer 02:22:10 04944245beec: Pulling fs layer 02:22:10 699f458cf7ca: Pulling fs layer 02:22:10 765212b225bb: Pulling fs layer 02:22:10 f23df028b6ca: Pulling fs layer 02:22:10 d65c8cfc05b1: Pulling fs layer 02:22:10 2437ff75d9bd: Pulling fs layer 02:22:10 765212b225bb: Waiting 02:22:10 f23df028b6ca: Waiting 02:22:10 d65c8cfc05b1: Waiting 02:22:10 2437ff75d9bd: Waiting 02:22:10 04944245beec: Verifying Checksum 02:22:10 04944245beec: Download complete 02:22:10 765212b225bb: Verifying Checksum 02:22:10 765212b225bb: Download complete 02:22:10 f23df028b6ca: Verifying Checksum 02:22:10 f23df028b6ca: Download complete 02:22:10 d65c8cfc05b1: Verifying Checksum 02:22:10 d65c8cfc05b1: Download complete 02:22:11 699f458cf7ca: Verifying Checksum 02:22:11 699f458cf7ca: Download complete 02:22:11 8998bd30e6a1: Verifying Checksum 02:22:11 8998bd30e6a1: Download complete 02:22:13 2437ff75d9bd: Verifying Checksum 02:22:13 2437ff75d9bd: Download complete 02:22:15 8998bd30e6a1: Pull complete 02:22:16 04944245beec: Pull complete 02:22:17 699f458cf7ca: Pull complete 02:22:17 765212b225bb: Pull complete 02:22:19 f23df028b6ca: Pull complete 02:22:20 d65c8cfc05b1: Pull complete 02:22:35 2437ff75d9bd: Pull complete 02:22:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-7615 does not seem to be running inside a container 02:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:22:38 $ docker top 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:39 ---> job-cost.sh 02:22:39 lf-activate-venv: SKIPPING 02:22:39 INFO: No Stack... 02:22:39 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:40 INFO: Archiving Costs [Pipeline] sh 02:22:41 + cut -d, -f6 02:22:41 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock 02:22:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] 02:22:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] did not exist. Created. 02:22:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:41 /w/workspace/device-onvif-camera/4@tmp/durable-68356011/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:42 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:42 Warning: overwriting stash ‘stack-cost’ 02:22:42 Stashed 1 file(s) [Pipeline] } 02:22:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:42 $ docker stop --time=1 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 02:22:44 $ docker rm -f 057971f3a501b3ceedc114deda42a2291fc7a455514f5b529511f9cceb2e91e6 [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 02:22:44 provisioning config files... 02:22:44 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config8293653700987682784tmp [Pipeline] { [Pipeline] sh 02:22:44 + set +x 02:22:44 + curl -s https://codecov.io/bash 02:22:44 + bash -s -- 02:22:44 02:22:44 _____ _ 02:22:44 / ____| | | 02:22:44 | | ___ __| | ___ ___ _____ __ 02:22:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:22:44 | |___| (_) | (_| | __/ (_| (_) \ V / 02:22:44 \_____\___/ \__,_|\___|\___\___/ \_/ 02:22:44 Bash-1.0.6 02:22:44 02:22:44 02:22:44 ==> git version 2.25.1 found 02:22:44 ==> 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 02:22:44 Release-Date: 2020-01-08 02:22:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:22:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:22:44 ==> Jenkins CI detected. 02:22:44 current dir:  /w/workspace/undry_device-onvif-camera_PR-174 02:22:44 project root: . 02:22:44 --> token set from env 02:22:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:22:44 ==> Running gcov in . (disable via -X gcov) 02:22:44 ==> Python coveragepy not found 02:22:44 ==> Searching for coverage reports in: 02:22:44 + . 02:22:44 -> Found 1 reports 02:22:44 ==> Detecting git/mercurial file structure 02:22:44 ==> Reading reports 02:22:45 + ./coverage.out bytes=78461 02:22:45 ==> Appending adjustments 02:22:45 https://docs.codecov.io/docs/fixing-reports 02:22:45 + Found adjustments 02:22:45 ==> Gzipping contents 02:22:45 12K /tmp/codecov.6Avto9.gz 02:22:45 ==> Uploading reports 02:22:45 url: https://codecov.io 02:22:45 query: branch=PR-174&commit=48d9002021d6a40e5e67837968619e60e9c92fc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 02:22:45 -> Pinging Codecov 02:22:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=48d9002021d6a40e5e67837968619e60e9c92fc7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= 02:22:45 -> Uploading to 02:22:45 https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/48d9002021d6a40e5e67837968619e60e9c92fc7/4fa7dcdf-129a-4f12-aa08-6e3a1c5f9ff3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T022245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=186576ffdde80d30cd8d7cc44d87365ad9c6a67bd9e7430490e3f210b4787435 02:22:45 % Total % Received % Xferd Average Speed Time Time Time Current 02:22:45 Dload Upload Total Spent Left Speed 02:22:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10733 0 0 100 10733 0 44535 --:--:-- --:--:-- --:--:-- 44535 02:22:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/48d9002021d6a40e5e67837968619e60e9c92fc7 [Pipeline] } 02:22:45 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 02:22:46 + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] 02:22:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 02:22:46 total 16 02:22:46 drwxr-xr-x 3 root root 4096 Oct 11 02:13 . 02:22:46 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. 02:22:46 drwxr-xr-x 2 root root 4096 Oct 11 02:13 cost 02:22:46 -rw-r--r-- 1 root root 91 Oct 11 02:13 cost.csv 02:22:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives 02:22:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives 02:22:46 total 16 02:22:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:13 . 02:22:46 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. 02:22:46 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 02:13 cost 02:22:46 -rw-r--r-- 1 jenkins jenkins 91 Oct 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:22:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:22:47 ---> package-listing.sh 02:22:47 ++ facter osfamily 02:22:47 ++ tr '[:upper:]' '[:lower:]' 02:22:47 + OS_FAMILY=debian 02:22:47 + workspace=/w/workspace/undry_device-onvif-camera_PR-174 02:22:47 + START_PACKAGES=/tmp/packages_start.txt 02:22:47 + END_PACKAGES=/tmp/packages_end.txt 02:22:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:22:47 + PACKAGES=/tmp/packages_start.txt 02:22:47 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 02:22:47 + PACKAGES=/tmp/packages_end.txt 02:22:47 + case "${OS_FAMILY}" in 02:22:47 + dpkg -l 02:22:47 + grep '^ii' 02:22:47 + '[' -f /tmp/packages_start.txt ']' 02:22:47 + '[' -f /tmp/packages_end.txt ']' 02:22:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:22:47 + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' 02:22:47 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ 02:22:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo 02:22:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:22:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:48 prd-ubuntu20.04-docker-8c-8g-7612 does not seem to be running inside a container 02:22:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:22:48 $ docker top e1ceccf71a9115af0bf12ade222e6c8da735870bf4683338088497d4284ac833 -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:49 + touch /tmp/pre-build-complete [Pipeline] sh 02:22:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:22:49 + ls /var/log/sa-host 02:22:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:49 provisioning config files... 02:22:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config15138702874293482762tmp [Pipeline] { [Pipeline] echo 02:22:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:22:50 ---> create-netrc.sh [Pipeline] } 02:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:22:50 ---> python-tools-install.sh [Pipeline] echo 02:22:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:22:50 ---> sudo-logs.sh 02:22:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:22:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:22:51 ---> job-cost.sh 02:22:51 lf-activate-venv: SKIPPING 02:22:51 DEBUG: total: 0.2199999988079071 02:22:51 INFO: Retrieving Stack Cost... 02:22:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:52 INFO: Archiving Costs [Pipeline] echo 02:22:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:22:52 ---> logs-deploy.sh 02:22:52 lf-activate-venv: SKIPPING 02:22:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/4 02:22:52 INFO: archiving workspace using pattern(s): 02:22:53 Archives upload complete. 02:22:53 INFO: archiving logs to Nexus