Pull request #184 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d0d0adc12b168f4411813955a34df444bee6435+5d7a9db6a708ff5f4775a07ba788f56c414f1565 (74731ae9c9948199f44fcb9d6d84405b9bad9dc8) 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-ssh312870910466351351.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh4148245930104931211.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-184/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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7133161542745129580.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh694648401205447945.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-184/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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4983084414663308089.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8824’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8825’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9196’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9197’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9200’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9199’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9203 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit 9d0d0adc12b168f4411813955a34df444bee6435 Merge succeeded, producing 9d0d0adc12b168f4411813955a34df444bee6435 Checking out Revision 9d0d0adc12b168f4411813955a34df444bee6435 (PR-184) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:34:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:34:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:34:24 ========================================================= 07:34:24 EdgeX Global Pipelines Version Info 07:34:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # 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 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 > git rev-list --no-walk d29b63f7efcf0ccbfe51df73156e3d4f2c064810 # timeout=10 07:34:25 ------------------- 07:34:25 stable info: 07:34:25 ------------------- 07:34:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:34:25 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:34:25 Message: update stable to v1.0.243 07:34:25 ------------------- 07:34:25 experimental info: 07:34:25 ------------------- 07:34:25 Commited By: **** collab-it+edgex@linuxfoundation.org 07:34:25 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:34:25 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:34:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d0d0adc12b168f4411813955a34df444bee6435 [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d0d0ad [Pipeline] echo 07:34:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:26 provisioning config files... 07:34:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config15732896637252799204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:26 ---> docker-login.sh 07:34:26 nexus3.edgexfoundry.org:10001 07:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:27 Configure a credential helper to remove this warning. See 07:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:27 07:34:27 Login Succeeded 07:34:27 nexus3.edgexfoundry.org:10002 07:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:27 Configure a credential helper to remove this warning. See 07:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:27 07:34:27 Login Succeeded 07:34:27 nexus3.edgexfoundry.org:10003 07:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:27 Configure a credential helper to remove this warning. See 07:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:27 07:34:27 Login Succeeded 07:34:27 nexus3.edgexfoundry.org:10004 07:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:27 Configure a credential helper to remove this warning. See 07:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:27 07:34:27 Login Succeeded 07:34:27 docker.io 07:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:27 Configure a credential helper to remove this warning. See 07:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:27 07:34:27 Login Succeeded 07:34:27 ---> docker-login.sh ends [Pipeline] } 07:34:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:34:28 + git rev-list -1 --merges 9d0d0adc12b168f4411813955a34df444bee6435~1..9d0d0adc12b168f4411813955a34df444bee6435 [Pipeline] echo 07:34:28 -----------> git rev-list -1 --merges 9d0d0adc12b168f4411813955a34df444bee6435~1..9d0d0adc12b168f4411813955a34df444bee6435 9d0d0adc12b168f4411813955a34df444bee6435 [false] [Pipeline] sh 07:34:28 + git log --format=format:%s -1 9d0d0adc12b168f4411813955a34df444bee6435 [Pipeline] echo 07:34:28 ========================================================= 07:34:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:34:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:28 + git log --format=format:%s -1 9d0d0adc12b168f4411813955a34df444bee6435 [Pipeline] echo 07:34:28 [semverPrep] GIT_COMMIT: 9d0d0adc12b168f4411813955a34df444bee6435, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 07:34:28 [semverPrep] This is not a build commit. [Pipeline] sh 07:34:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:34:29 + grep -v github /etc/ssh/ssh_known_hosts 07:34:29 + [ -e /tmp/ssh_known_hosts ] 07:34:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:34:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:34:29 + sudo tee -a /etc/ssh/ssh_known_hosts 07:34:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:29 07:34:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:29 0.1.4: Pulling from edgex-devops/py-git-semver 07:34:29 b85a868b505f: Pulling fs layer 07:34:29 e2be974225ed: Pulling fs layer 07:34:29 339a4e72a1f5: Pulling fs layer 07:34:29 988bab9f4d93: Pulling fs layer 07:34:29 1469e6f7b9e6: Pulling fs layer 07:34:29 eaf3925da568: Pulling fs layer 07:34:29 bab4dde63d76: Pulling fs layer 07:34:29 bde34c3a00c8: Pulling fs layer 07:34:29 b352a97aabf1: Pulling fs layer 07:34:29 4872d77fe225: Pulling fs layer 07:34:29 5851b861e8e6: Pulling fs layer 07:34:29 1469e6f7b9e6: Waiting 07:34:29 eaf3925da568: Waiting 07:34:29 4872d77fe225: Waiting 07:34:29 5851b861e8e6: Waiting 07:34:29 bab4dde63d76: Waiting 07:34:29 bde34c3a00c8: Waiting 07:34:29 988bab9f4d93: Waiting 07:34:29 e2be974225ed: Verifying Checksum 07:34:29 e2be974225ed: Download complete 07:34:29 988bab9f4d93: Verifying Checksum 07:34:29 988bab9f4d93: Download complete 07:34:30 1469e6f7b9e6: Verifying Checksum 07:34:30 1469e6f7b9e6: Download complete 07:34:30 339a4e72a1f5: Verifying Checksum 07:34:30 339a4e72a1f5: Download complete 07:34:30 eaf3925da568: Verifying Checksum 07:34:30 eaf3925da568: Download complete 07:34:30 bde34c3a00c8: Download complete 07:34:30 b352a97aabf1: Verifying Checksum 07:34:30 b352a97aabf1: Download complete 07:34:30 4872d77fe225: Download complete 07:34:30 5851b861e8e6: Verifying Checksum 07:34:30 5851b861e8e6: Download complete 07:34:30 b85a868b505f: Verifying Checksum 07:34:30 b85a868b505f: Download complete 07:34:30 bab4dde63d76: Verifying Checksum 07:34:30 bab4dde63d76: Download complete 07:34:31 b85a868b505f: Pull complete 07:34:31 e2be974225ed: Pull complete 07:34:31 339a4e72a1f5: Pull complete 07:34:32 988bab9f4d93: Pull complete 07:34:32 1469e6f7b9e6: Pull complete 07:34:32 eaf3925da568: Pull complete 07:34:34 bab4dde63d76: Pull complete 07:34:34 bde34c3a00c8: Pull complete 07:34:34 b352a97aabf1: Pull complete 07:34:34 4872d77fe225: Pull complete 07:34:34 5851b861e8e6: Pull complete 07:34:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:34 prd-ubuntu20.04-docker-8c-8g-9203 does not seem to be running inside a container 07:34:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:34:35 $ docker top 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 -eo pid,comm 07:34:35 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). 07:34:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:34:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:35 [ssh-agent] Looking for ssh-agent implementation... 07:34:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:36 $ docker exec 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 ssh-agent 07:34:36 SSH_AUTH_SOCK=/tmp/ssh-OCsxvAhrYlqL/agent.32 07:34:36 SSH_AGENT_PID=38 07:34:36 Running ssh-add (command line suppressed) 07:34:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_15097449891088966656.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_15097449891088966656.key) 07:34:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:36 + git tag --points-at HEAD [Pipeline] } 07:34:36 $ docker exec --env ******** --env ******** 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 ssh-agent -k 07:34:36 unset SSH_AUTH_SOCK; 07:34:36 unset SSH_AGENT_PID; 07:34:36 echo Agent pid 38 killed; 07:34:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:34:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:36 [ssh-agent] Looking for ssh-agent implementation... 07:34:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:36 $ docker exec 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 ssh-agent 07:34:36 SSH_AUTH_SOCK=/tmp/ssh-n1C2Fsv4KfTT/agent.70 07:34:36 SSH_AGENT_PID=77 07:34:36 Running ssh-add (command line suppressed) 07:34:37 Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_6287796868227704133.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_6287796868227704133.key) 07:34:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:37 + git semver init 07:34:37 2022-10-24 07:34:37,526 [run_init] DEBUG init version:0.0.0 force:False 07:34:37 2022-10-24 07:34:37,527 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver 07:34:37 2022-10-24 07:34:37,527 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver 07:34:37 2022-10-24 07:34:37,527 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) 07:34:38 2022-10-24 07:34:38,558 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude 07:34:38 2022-10-24 07:34:38,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False 07:34:38 2022-10-24 07:34:38,559 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 07:34:38 2022-10-24 07:34:38,563 [execute] INFO git cat-file --batch-check 07:34:38 2022-10-24 07:34:38,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) 07:34:38 2022-10-24 07:34:38,570 [execute] INFO git cat-file --batch 07:34:38 2022-10-24 07:34:38,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) 07:34:38 2022-10-24 07:34:38,576 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 07:34:38 0.0.0 [Pipeline] } 07:34:38 $ docker exec --env ******** --env ******** 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 ssh-agent -k 07:34:39 unset SSH_AUTH_SOCK; 07:34:39 unset SSH_AGENT_PID; 07:34:39 echo Agent pid 77 killed; 07:34:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:34:39 + git semver [Pipeline] } 07:34:39 $ docker stop --time=1 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 07:34:41 $ docker rm -f 6718e540e2153bba49ac1e62af409238d88fe2c2906bcf014f1b411985246887 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:34:41 Stashed 1 file(s) [Pipeline] echo 07:34:41 [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 07:34:41 provisioning config files... 07:34:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config18404304979070225766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:42 ---> docker-login.sh 07:34:42 nexus3.edgexfoundry.org:10001 07:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:42 Configure a credential helper to remove this warning. See 07:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:42 07:34:42 Login Succeeded 07:34:42 nexus3.edgexfoundry.org:10002 07:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:42 Configure a credential helper to remove this warning. See 07:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:42 07:34:42 Login Succeeded 07:34:42 nexus3.edgexfoundry.org:10003 07:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:42 Configure a credential helper to remove this warning. See 07:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:42 07:34:42 Login Succeeded 07:34:42 nexus3.edgexfoundry.org:10004 07:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:42 Configure a credential helper to remove this warning. See 07:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:42 07:34:42 Login Succeeded 07:34:42 docker.io 07:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:42 Configure a credential helper to remove this warning. See 07:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:42 07:34:42 Login Succeeded 07:34:42 ---> docker-login.sh ends [Pipeline] } 07:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:42 ========================================================= 07:34:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:34:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:43 + 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 . 07:34:43 Sending build context to Docker daemon 21.43MB 07:34:43 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 07:34:43 Step 2/14 : FROM ${BASE} AS builder 07:34:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:34:43 213ec9aee27d: Pulling fs layer 07:34:43 4583459ba037: Pulling fs layer 07:34:43 93c1e223e6f2: Pulling fs layer 07:34:43 53926ce57604: Pulling fs layer 07:34:43 21b2b0c7a3f4: Pulling fs layer 07:34:43 30f14e443154: Pulling fs layer 07:34:43 801331c1e519: Pulling fs layer 07:34:43 99cc6dd402b0: Pulling fs layer 07:34:43 53926ce57604: Waiting 07:34:43 21b2b0c7a3f4: Waiting 07:34:43 801331c1e519: Waiting 07:34:43 7d9ed39f4882: Pulling fs layer 07:34:43 99cc6dd402b0: Waiting 07:34:43 7d9ed39f4882: Waiting 07:34:43 93c1e223e6f2: Verifying Checksum 07:34:43 93c1e223e6f2: Download complete 07:34:43 4583459ba037: Verifying Checksum 07:34:43 4583459ba037: Download complete 07:34:43 21b2b0c7a3f4: Verifying Checksum 07:34:43 21b2b0c7a3f4: Download complete 07:34:43 30f14e443154: Download complete 07:34:43 213ec9aee27d: Verifying Checksum 07:34:43 213ec9aee27d: Download complete 07:34:43 801331c1e519: Download complete 07:34:43 213ec9aee27d: Pull complete 07:34:43 4583459ba037: Pull complete 07:34:43 93c1e223e6f2: Pull complete 07:34:43 7d9ed39f4882: Verifying Checksum 07:34:43 7d9ed39f4882: Download complete 07:34:43 99cc6dd402b0: Verifying Checksum 07:34:43 99cc6dd402b0: Download complete 07:34:44 53926ce57604: Verifying Checksum 07:34:44 53926ce57604: Download complete 07:34:48 53926ce57604: Pull complete 07:34:48 21b2b0c7a3f4: Pull complete 07:34:48 30f14e443154: Pull complete 07:34:48 801331c1e519: Pull complete 07:34:50 99cc6dd402b0: Pull complete 07:34:51 7d9ed39f4882: Pull complete 07:34:51 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:34:51 ---> 1dedd983c030 07:34:51 Step 3/14 : ARG ADD_BUILD_TAGS="" 07:34:52 ---> Running in 413b6bea6479 07:34:52 Removing intermediate container 413b6bea6479 07:34:52 ---> 334be2c9c27d 07:34:52 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:52 ---> Running in 8f07933521a9 07:34:52 Removing intermediate container 8f07933521a9 07:34:52 ---> 50c46a9be40c 07:34:52 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:34:52 ---> Running in 1030eb03dd6a 07:34:52 Removing intermediate container 1030eb03dd6a 07:34:52 ---> 8602c8ce1dae 07:34:52 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 07:34:52 ---> Running in bb61652b10d9 07:34:53 Removing intermediate container bb61652b10d9 07:34:53 ---> b29035a99498 07:34:53 Step 7/14 : LABEL Name=edgex-device-onvif-camera 07:34:53 ---> Running in 015913d77d51 07:34:53 Removing intermediate container 015913d77d51 07:34:53 ---> dd46929b1cc7 07:34:53 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:34:53 ---> Running in 451bb77cd058 07:34:53 Removing intermediate container 451bb77cd058 07:34:53 ---> 715d5334df68 07:34:53 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:34:53 ---> Running in 7f0f3f637fea 07:34:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:34:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:34:55 OK: 211 MiB in 51 packages 07:34:55 Removing intermediate container 7f0f3f637fea 07:34:55 ---> cb791cc80dc6 07:34:55 Step 10/14 : WORKDIR /device-onvif-camera 07:34:55 ---> Running in 5d4713ed8620 07:34:55 Removing intermediate container 5d4713ed8620 07:34:55 ---> 0aaccbbbda11 07:34:55 Step 11/14 : COPY go.mod vendor* ./ 07:34:55 ---> 7ac4abcb7c9b 07:34:55 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:55 ---> Running in 5e31c1a1d2d3 07:34:56 Still waiting to schedule task 07:34:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:35:13 Removing intermediate container 5e31c1a1d2d3 07:35:13 ---> ec2df7145fe8 07:35:13 Step 13/14 : COPY . . 07:35:13 ---> 7af03039c2eb 07:35:13 Step 14/14 : RUN ${MAKE} 07:35:13 ---> Running in f16216cca76a 07:35:13 noop 07:35:13 Removing intermediate container f16216cca76a 07:35:13 ---> 4656c00f5c51 07:35:13 Successfully built 4656c00f5c51 07:35:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:14 + docker inspect -f . ci-base-image-x86_64 07:35:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:14 prd-ubuntu20.04-docker-8c-8g-9203 does not seem to be running inside a container 07:35:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:35:14 $ docker top 7f3b34378ff14fac1fe6bda390f15d179c826f70e57ee8d2dc2d5bff955040e1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:14 + go version 07:35:14 go version go1.18.7 linux/amd64 [Pipeline] } 07:35:14 $ docker stop --time=1 7f3b34378ff14fac1fe6bda390f15d179c826f70e57ee8d2dc2d5bff955040e1 07:35:16 $ docker rm -f 7f3b34378ff14fac1fe6bda390f15d179c826f70e57ee8d2dc2d5bff955040e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:16 + docker inspect -f . ci-base-image-x86_64 07:35:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:16 prd-ubuntu20.04-docker-8c-8g-9203 does not seem to be running inside a container 07:35:16 $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:35:16 $ docker top 7c14636f8fdfc438120dfa12c606a02c98edade805fcf69ceb766e8b10935172 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:17 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh 07:35:17 + make test 07:35:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:35:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:35:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:35:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 07:35:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:35:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.570s coverage: 86.5% of statements 07:35:38 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." 07:35:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:35:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:42 ./bin/test-attribution-txt.sh [Pipeline] echo 07:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:35:42 $ docker stop --time=1 7c14636f8fdfc438120dfa12c606a02c98edade805fcf69ceb766e8b10935172 07:35:44 $ docker rm -f 7c14636f8fdfc438120dfa12c606a02c98edade805fcf69ceb766e8b10935172 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:46 + ls -al . 07:35:46 total 244 07:35:46 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:35 . 07:35:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:34 .. 07:35:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:35 .git 07:35:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:34 .github 07:35:46 -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 07:34 .gitignore 07:35:46 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:34 .golangci.yml 07:35:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:34 .semver 07:35:46 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 07:34 Attribution.txt 07:35:46 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 07:34 CHANGELOG.md 07:35:46 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 07:34 Dockerfile 07:35:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:34 GOVERNANCE.md 07:35:46 -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 07:34 Jenkinsfile 07:35:46 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 07:34 LICENSE 07:35:46 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 07:34 Makefile 07:35:46 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 07:34 OWNERS.md 07:35:46 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 07:34 README.md 07:35:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:34 VERSION 07:35:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:34 bin 07:35:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:34 cmd 07:35:46 -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 07:35 coverage.out 07:35:46 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:34 doc 07:35:46 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 07:34 go.mod 07:35:46 -rw-rw-r-- 1 jenkins jenkins 46378 Oct 24 07:34 go.sum 07:35:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:34 internal 07:35:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:34 snap 07:35:46 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 07:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:46 + 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=9d0d0adc12b168f4411813955a34df444bee6435 --label arch=amd64 --label version=0.0.0 . 07:35:46 Sending build context to Docker daemon 21.51MB 07:35:46 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 07:35:46 Step 2/27 : FROM ${BASE} AS builder 07:35:46 ---> 4656c00f5c51 07:35:46 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:35:46 ---> Running in 88f2fb522632 07:35:46 Removing intermediate container 88f2fb522632 07:35:46 ---> c06b7b504e00 07:35:46 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:35:46 ---> Running in fc8c00f671a2 07:35:46 Removing intermediate container fc8c00f671a2 07:35:46 ---> a79428b2161d 07:35:46 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:35:46 ---> Running in 8e5971b04c8f 07:35:46 Removing intermediate container 8e5971b04c8f 07:35:46 ---> 14978cb7b659 07:35:46 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:35:46 ---> Running in 09dc937cb67f 07:35:46 Removing intermediate container 09dc937cb67f 07:35:46 ---> 09c06f4fb2f7 07:35:46 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:35:47 ---> Running in 111511c51c06 07:35:47 Removing intermediate container 111511c51c06 07:35:47 ---> 0b4cd39ce810 07:35:47 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:47 ---> Running in 29e8262b3a43 07:35:47 Removing intermediate container 29e8262b3a43 07:35:47 ---> 810bd8b9e43a 07:35:47 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:47 ---> Running in e1a8c96799db 07:35:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:49 OK: 211 MiB in 51 packages 07:35:49 Removing intermediate container e1a8c96799db 07:35:49 ---> 420606584832 07:35:49 Step 10/27 : WORKDIR /device-onvif-camera 07:35:49 ---> Running in 42c6f6c70a06 07:35:49 Removing intermediate container 42c6f6c70a06 07:35:49 ---> ba3ddd8f7698 07:35:49 Step 11/27 : COPY go.mod vendor* ./ 07:35:50 ---> 9583c47e2763 07:35:50 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:50 ---> Running in f9562d05a54b 07:35:50 Removing intermediate container f9562d05a54b 07:35:50 ---> cd7a9af9294c 07:35:50 Step 13/27 : COPY . . 07:35:51 ---> 017e03e8375f 07:35:51 Step 14/27 : RUN ${MAKE} 07:35:51 ---> Running in 01fd5a7655ac 07:35:51 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 07:36:13 Removing intermediate container 01fd5a7655ac 07:36:13 ---> 84686a48e0cb 07:36:13 Step 15/27 : FROM alpine:3.16 07:36:13 3.16: Pulling from library/alpine 07:36:14 213ec9aee27d: Already exists 07:36:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:36:14 Status: Downloaded newer image for alpine:3.16 07:36:14 ---> 9c6f07244728 07:36:14 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:36:14 ---> Running in d3e8945ad33d 07:36:14 Removing intermediate container d3e8945ad33d 07:36:14 ---> 42eb00fde062 07:36:14 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 07:36:14 ---> Running in fc3f8f1e9a27 07:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:36:15 (1/6) Installing dumb-init (1.2.5-r1) 07:36:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:36:15 (3/6) Installing libsodium (1.0.18-r0) 07:36:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:36:15 (5/6) Installing libzmq (4.3.4-r0) 07:36:15 (6/6) Installing zeromq (4.3.4-r0) 07:36:15 Executing busybox-1.35.0-r17.trigger 07:36:15 OK: 8 MiB in 20 packages 07:36:15 Removing intermediate container fc3f8f1e9a27 07:36:15 ---> 37d78a04a32c 07:36:15 Step 18/27 : WORKDIR / 07:36:15 ---> Running in 8c4280abdb57 07:36:15 Removing intermediate container 8c4280abdb57 07:36:15 ---> 6f8da6802116 07:36:15 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:36:16 ---> 850f3e444490 07:36:16 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:36:16 ---> 0ba04dc21a0d 07:36:16 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:36:16 ---> 9cde73daccb2 07:36:16 Step 22/27 : EXPOSE 59984 07:36:16 ---> Running in 91087e81c45c 07:36:16 Removing intermediate container 91087e81c45c 07:36:16 ---> 255f25515a94 07:36:16 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:36:16 ---> Running in 844b7065a8cb 07:36:16 Removing intermediate container 844b7065a8cb 07:36:16 ---> b4f77684c586 07:36:16 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:36:16 ---> Running in 6067bc176c41 07:36:16 Removing intermediate container 6067bc176c41 07:36:16 ---> a6d42d1735f8 07:36:16 Step 25/27 : LABEL arch=amd64 07:36:16 ---> Running in b3a133d3c98f 07:36:16 Removing intermediate container b3a133d3c98f 07:36:16 ---> ea30037a61f6 07:36:16 Step 26/27 : LABEL git_sha=9d0d0adc12b168f4411813955a34df444bee6435 07:36:16 ---> Running in c77415dfdb97 07:36:17 Removing intermediate container c77415dfdb97 07:36:17 ---> a326d4fff0ab 07:36:17 Step 27/27 : LABEL version=0.0.0 07:36:17 ---> Running in 97a32ca64cc1 07:36:17 Removing intermediate container 97a32ca64cc1 07:36:17 ---> 0c057d79fc25 07:36:17 [Warning] One or more build-args [ARCH] were not consumed 07:36:17 Successfully built 0c057d79fc25 07:36:17 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 07:36:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:17 07:36:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:17 latest: Pulling from edgex-lftools-log-publisher 07:36:17 5eb5b503b376: Pulling fs layer 07:36:17 5c69ac0246d0: Pulling fs layer 07:36:17 ec43610c2a17: Pulling fs layer 07:36:17 3a2ae6a8a46f: Pulling fs layer 07:36:17 33b1e0a273af: Pulling fs layer 07:36:17 5d3b04190fa2: Pulling fs layer 07:36:17 2f39f015ded8: Pulling fs layer 07:36:17 33b1e0a273af: Waiting 07:36:17 5d3b04190fa2: Waiting 07:36:17 3a2ae6a8a46f: Waiting 07:36:17 2f39f015ded8: Waiting 07:36:17 5c69ac0246d0: Verifying Checksum 07:36:17 5c69ac0246d0: Download complete 07:36:17 3a2ae6a8a46f: Verifying Checksum 07:36:17 3a2ae6a8a46f: Download complete 07:36:17 33b1e0a273af: Verifying Checksum 07:36:17 33b1e0a273af: Download complete 07:36:17 ec43610c2a17: Verifying Checksum 07:36:17 ec43610c2a17: Download complete 07:36:17 5d3b04190fa2: Verifying Checksum 07:36:17 5d3b04190fa2: Download complete 07:36:18 5eb5b503b376: Verifying Checksum 07:36:18 5eb5b503b376: Download complete 07:36:18 2f39f015ded8: Download complete 07:36:19 5eb5b503b376: Pull complete 07:36:19 5c69ac0246d0: Pull complete 07:36:19 ec43610c2a17: Pull complete 07:36:20 3a2ae6a8a46f: Pull complete 07:36:20 33b1e0a273af: Pull complete 07:36:20 5d3b04190fa2: Pull complete 07:36:24 2f39f015ded8: Pull complete 07:36:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:24 prd-ubuntu20.04-docker-8c-8g-9203 does not seem to be running inside a container 07:36:24 $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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 07:36:26 $ docker top aca280fb4a42a830a3c2b036ff5ab65f1b08a5253417cb1340d2bcb4a2aa828a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:26 ---> job-cost.sh 07:36:26 lf-activate-venv: SKIPPING 07:36:26 INFO: No Stack... 07:36:27 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:27 INFO: Archiving Costs [Pipeline] sh 07:36:28 + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv 07:36:28 + cut -d, -f6 [Pipeline] lock 07:36:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] 07:36:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] did not exist. Created. 07:36:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:28 + echo total: 0.2199999988079071 [Pipeline] stash 07:36:28 Stashed 1 file(s) [Pipeline] } 07:36:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:28 $ docker stop --time=1 aca280fb4a42a830a3c2b036ff5ab65f1b08a5253417cb1340d2bcb4a2aa828a 07:36:29 $ docker rm -f aca280fb4a42a830a3c2b036ff5ab65f1b08a5253417cb1340d2bcb4a2aa828a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9260 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws 07:40:55 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 07:40:55 The recommended git tool is: git 07:41:02 using credential edgex-jenkins-ssh 07:41:02 Cloning the remote Git repository 07:41:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:41:02 > git init /w/workspace/device-onvif-camera/2 # timeout=10 07:41:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:41:02 > git --version # timeout=10 07:41:02 > git --version # 'git version 2.25.1' 07:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:02 Verifying host key using known hosts file 07:41:02 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. 07:41:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:41:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:41:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:41:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:05 Verifying host key using known hosts file 07:41:05 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. 07:41:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:41:06 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit 9d0d0adc12b168f4411813955a34df444bee6435 07:41:06 Merge succeeded, producing 9d0d0adc12b168f4411813955a34df444bee6435 07:41:06 Checking out Revision 9d0d0adc12b168f4411813955a34df444bee6435 (PR-184) 07:41:07 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 07:41:06 > git config core.sparsecheckout # timeout=10 07:41:06 > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 07:41:06 > git remote # timeout=10 07:41:06 > git config --get remote.origin.url # timeout=10 07:41:06 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:06 Verifying host key using known hosts file 07:41:06 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. 07:41:06 > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 07:41:06 > git rev-parse HEAD^{commit} # timeout=10 07:41:06 > git config core.sparsecheckout # timeout=10 07:41:06 > git checkout -f 9d0d0adc12b168f4411813955a34df444bee6435 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:08 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:08 Dload Upload Total Spent Left Speed 07:41:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 07:41:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:41:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:41:09 + sudo tee /etc/docker/daemon.new 07:41:09 { 07:41:09 "registry-mirrors": [ 07:41:09 "https://nexus3.edgexfoundry.org:10001" 07:41:09 ], 07:41:09 "bip": "10.250.0.254/24", 07:41:09 "hosts": [ 07:41:09 "tcp://0.0.0.0:5555", 07:41:09 "unix:///var/run/docker.sock" 07:41:09 ], 07:41:09 "mtu": 1458, 07:41:09 "selinux-enabled": true, 07:41:09 "seccomp-profile": "/etc/docker/seccomp.json" 07:41:09 } [Pipeline] sh 07:41:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:41:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:28 provisioning config files... 07:41:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config5974643256513985317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:28 ---> docker-login.sh 07:41:28 nexus3.edgexfoundry.org:10001 07:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:29 Configure a credential helper to remove this warning. See 07:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:29 07:41:29 Login Succeeded 07:41:29 nexus3.edgexfoundry.org:10002 07:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:29 Configure a credential helper to remove this warning. See 07:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:29 07:41:29 Login Succeeded 07:41:29 nexus3.edgexfoundry.org:10003 07:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:30 Configure a credential helper to remove this warning. See 07:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:30 07:41:30 Login Succeeded 07:41:30 nexus3.edgexfoundry.org:10004 07:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:30 Configure a credential helper to remove this warning. See 07:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:30 07:41:30 Login Succeeded 07:41:30 docker.io 07:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:31 Configure a credential helper to remove this warning. See 07:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:31 07:41:31 Login Succeeded 07:41:31 ---> docker-login.sh ends [Pipeline] } 07:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:31 ========================================================= 07:41:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:41:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:32 + 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 . 07:41:32 Sending build context to Docker daemon 14.75MB 07:41:32 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 07:41:32 Step 2/14 : FROM ${BASE} AS builder 07:41:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:41:32 9b18e9b68314: Pulling fs layer 07:41:32 d32db5db7311: Pulling fs layer 07:41:32 d0c4b47475fc: Pulling fs layer 07:41:32 5831b945b038: Pulling fs layer 07:41:32 86bbec2aaacd: Pulling fs layer 07:41:32 e10730c5d714: Pulling fs layer 07:41:32 5dd5c2283517: Pulling fs layer 07:41:32 d5ac0230b979: Pulling fs layer 07:41:32 5831b945b038: Waiting 07:41:32 86bbec2aaacd: Waiting 07:41:32 e10730c5d714: Waiting 07:41:32 5dd5c2283517: Waiting 07:41:32 d0c4b47475fc: Download complete 07:41:32 9b18e9b68314: Verifying Checksum 07:41:32 9b18e9b68314: Download complete 07:41:32 86bbec2aaacd: Verifying Checksum 07:41:32 86bbec2aaacd: Download complete 07:41:33 e10730c5d714: Verifying Checksum 07:41:33 e10730c5d714: Download complete 07:41:33 d32db5db7311: Verifying Checksum 07:41:33 d32db5db7311: Download complete 07:41:33 9b18e9b68314: Pull complete 07:41:34 d32db5db7311: Pull complete 07:41:34 d0c4b47475fc: Pull complete 07:41:34 d5ac0230b979: Verifying Checksum 07:41:34 d5ac0230b979: Download complete 07:41:35 5dd5c2283517: Verifying Checksum 07:41:35 5dd5c2283517: Download complete 07:41:36 5831b945b038: Verifying Checksum 07:41:36 5831b945b038: Download complete 07:41:49 5831b945b038: Pull complete 07:41:49 86bbec2aaacd: Pull complete 07:41:49 e10730c5d714: Pull complete 07:41:56 5dd5c2283517: Pull complete 07:41:57 d5ac0230b979: Pull complete 07:41:57 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:41:57 ---> 59b3b1a385d4 07:41:57 Step 3/14 : ARG ADD_BUILD_TAGS="" 07:42:00 ---> Running in 922e4fac288a 07:42:00 Removing intermediate container 922e4fac288a 07:42:00 ---> 66d65abc5af8 07:42:00 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:42:00 ---> Running in e353f46f3bc2 07:42:00 Removing intermediate container e353f46f3bc2 07:42:00 ---> 3733628a7c5b 07:42:00 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:42:01 ---> Running in a5f88d44f741 07:42:01 Removing intermediate container a5f88d44f741 07:42:01 ---> e5a54e1329c9 07:42:01 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 07:42:01 ---> Running in ec9c4dc04a40 07:42:01 Removing intermediate container ec9c4dc04a40 07:42:01 ---> 08669a1f26d6 07:42:01 Step 7/14 : LABEL Name=edgex-device-onvif-camera 07:42:01 ---> Running in 869145e70f98 07:42:02 Removing intermediate container 869145e70f98 07:42:02 ---> 7ee03e516e40 07:42:02 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:42:02 ---> Running in 5c4ef1aa3404 07:42:04 Removing intermediate container 5c4ef1aa3404 07:42:04 ---> d8fdb39507c4 07:42:04 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:04 ---> Running in 63aea9c5b82e 07:42:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:42:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:42:07 OK: 221 MiB in 51 packages 07:42:08 Removing intermediate container 63aea9c5b82e 07:42:08 ---> 9f5a9e6d0496 07:42:08 Step 10/14 : WORKDIR /device-onvif-camera 07:42:08 ---> Running in a511da06239d 07:42:08 Removing intermediate container a511da06239d 07:42:08 ---> ea0eb1d39df5 07:42:08 Step 11/14 : COPY go.mod vendor* ./ 07:42:09 ---> 19af2b2c1967 07:42:09 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:09 ---> Running in 7998c0ed8c69 07:43:06 Removing intermediate container 7998c0ed8c69 07:43:06 ---> aefa04a60931 07:43:06 Step 13/14 : COPY . . 07:43:07 ---> 3fb9588001d2 07:43:07 Step 14/14 : RUN ${MAKE} 07:43:07 ---> Running in dbf5ba35a2d6 07:43:08 noop 07:43:08 Removing intermediate container dbf5ba35a2d6 07:43:08 ---> 8f93a2d97f7b 07:43:09 Successfully built 8f93a2d97f7b 07:43:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:09 + docker inspect -f . ci-base-image-arm64 07:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:09 prd-ubuntu20.04-docker-arm64-4c-16g-9260 does not seem to be running inside a container 07:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:43:11 $ docker top 74f50eba3af8692ad8698547137cd93d63e0ffa779950acfff2c1571f06497fc -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:12 + go version 07:43:12 go version go1.18.7 linux/arm64 [Pipeline] } 07:43:12 $ docker stop --time=1 74f50eba3af8692ad8698547137cd93d63e0ffa779950acfff2c1571f06497fc 07:43:13 $ docker rm -f 74f50eba3af8692ad8698547137cd93d63e0ffa779950acfff2c1571f06497fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:14 + docker inspect -f . ci-base-image-arm64 07:43:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-9260 does not seem to be running inside a container 07:43:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:43:15 $ docker top 1bc121d6b27b3079e69dc776e837395a8d710ca0d4e33cc225d951adf633b674 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:16 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 07:43:17 + make test 07:43:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:43:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:45:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:45:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.243s coverage: 28.2% of statements 07:45:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:45:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.108s coverage: 86.5% of statements 07:45:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:45:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:46:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:46:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:46:01 ./bin/test-attribution-txt.sh [Pipeline] echo 07:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:46:02 $ docker stop --time=1 1bc121d6b27b3079e69dc776e837395a8d710ca0d4e33cc225d951adf633b674 07:46:04 $ docker rm -f 1bc121d6b27b3079e69dc776e837395a8d710ca0d4e33cc225d951adf633b674 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:05 Warning: overwriting stash ‘coverage-report’ 07:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:07 + ls -al . 07:46:07 total 240 07:46:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 07:43 . 07:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 .. 07:46:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:41 .git 07:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 .github 07:46:07 -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 07:41 .gitignore 07:46:07 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:41 .golangci.yml 07:46:07 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 07:41 Attribution.txt 07:46:07 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 07:41 CHANGELOG.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 07:41 Dockerfile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:41 GOVERNANCE.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 07:41 Jenkinsfile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 07:41 LICENSE 07:46:07 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 07:41 Makefile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 07:41 OWNERS.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 07:41 README.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 07:34 VERSION 07:46:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:41 bin 07:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 cmd 07:46:07 -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 07:45 coverage.out 07:46:07 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:41 doc 07:46:07 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 07:41 go.mod 07:46:07 -rw-rw-r-- 1 jenkins jenkins 46378 Oct 24 07:41 go.sum 07:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 internal 07:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 snap 07:46:07 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:07 + 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=9d0d0adc12b168f4411813955a34df444bee6435 --label arch=arm64 --label version=0.0.0 . 07:46:08 Sending build context to Docker daemon 14.83MB 07:46:08 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 07:46:08 Step 2/27 : FROM ${BASE} AS builder 07:46:08 ---> 8f93a2d97f7b 07:46:08 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:46:08 ---> Running in 9d844b709712 07:46:09 Removing intermediate container 9d844b709712 07:46:09 ---> d20d35f53b5a 07:46:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:09 ---> Running in bad4aff87f66 07:46:09 Removing intermediate container bad4aff87f66 07:46:09 ---> 4e63322d1092 07:46:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:46:09 ---> Running in 84394118f897 07:46:11 Removing intermediate container 84394118f897 07:46:11 ---> 772196c1b62f 07:46:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:46:11 ---> Running in aabceda5dc1f 07:46:12 Removing intermediate container aabceda5dc1f 07:46:12 ---> 7fdceda11501 07:46:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:46:12 ---> Running in bcdf8bfed722 07:46:13 Removing intermediate container bcdf8bfed722 07:46:13 ---> 87d17cf342d7 07:46:13 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:46:13 ---> Running in d9081aab1ad5 07:46:15 Removing intermediate container d9081aab1ad5 07:46:15 ---> 84803252a38e 07:46:15 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:15 ---> Running in 95d7055e1118 07:46:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:46:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:46:19 OK: 221 MiB in 51 packages 07:46:19 Removing intermediate container 95d7055e1118 07:46:19 ---> bc5793166994 07:46:19 Step 10/27 : WORKDIR /device-onvif-camera 07:46:20 ---> Running in cbbd095e732e 07:46:20 Removing intermediate container cbbd095e732e 07:46:20 ---> 8bedb9a21972 07:46:20 Step 11/27 : COPY go.mod vendor* ./ 07:46:21 ---> 75c0b2de6f0c 07:46:21 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:21 ---> Running in 62e58805c8da 07:46:23 Removing intermediate container 62e58805c8da 07:46:23 ---> c35fea086123 07:46:23 Step 13/27 : COPY . . 07:46:24 ---> 8cce388962e0 07:46:24 Step 14/27 : RUN ${MAKE} 07:46:24 ---> Running in fcb71f7dccf9 07:46:25 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 07:49:02 Removing intermediate container fcb71f7dccf9 07:49:02 ---> dc2384cf5c69 07:49:02 Step 15/27 : FROM alpine:3.16 07:49:02 3.16: Pulling from library/alpine 07:49:02 9b18e9b68314: Already exists 07:49:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:49:02 Status: Downloaded newer image for alpine:3.16 07:49:02 ---> a6215f271958 07:49:02 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:49:02 ---> Running in 62de9552517f 07:49:02 Removing intermediate container 62de9552517f 07:49:02 ---> a174ab840a0f 07:49:02 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 07:49:02 ---> Running in fbbc6c88f9c6 07:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:49:02 (1/6) Installing dumb-init (1.2.5-r1) 07:49:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:49:02 (3/6) Installing libsodium (1.0.18-r0) 07:49:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:49:02 (5/6) Installing libzmq (4.3.4-r0) 07:49:02 (6/6) Installing zeromq (4.3.4-r0) 07:49:02 Executing busybox-1.35.0-r17.trigger 07:49:02 OK: 8 MiB in 20 packages 07:49:03 Removing intermediate container fbbc6c88f9c6 07:49:03 ---> bef7f47fd23f 07:49:03 Step 18/27 : WORKDIR / 07:49:03 ---> Running in 70bc6008cf03 07:49:03 Removing intermediate container 70bc6008cf03 07:49:03 ---> c455d66da6cb 07:49:03 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:49:05 ---> 949a11445c3f 07:49:05 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:49:05 ---> 876ddd61d2e0 07:49:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:49:06 ---> 528af29c9354 07:49:06 Step 22/27 : EXPOSE 59984 07:49:06 ---> Running in 83704befcd99 07:49:06 Removing intermediate container 83704befcd99 07:49:06 ---> 94b36dbb4ff9 07:49:06 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:49:06 ---> Running in 4ba06724fdb7 07:49:06 Removing intermediate container 4ba06724fdb7 07:49:06 ---> aa4de97da949 07:49:06 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:49:06 ---> Running in 9c4ab1a9452a 07:49:07 Removing intermediate container 9c4ab1a9452a 07:49:07 ---> d0fd82b5b159 07:49:07 Step 25/27 : LABEL arch=arm64 07:49:07 ---> Running in 3f33e0c48ac0 07:49:07 Removing intermediate container 3f33e0c48ac0 07:49:07 ---> a8fd002bfb70 07:49:07 Step 26/27 : LABEL git_sha=9d0d0adc12b168f4411813955a34df444bee6435 07:49:07 ---> Running in fa47d26fc9a3 07:49:08 Removing intermediate container fa47d26fc9a3 07:49:08 ---> 7d2ce0b6b9c1 07:49:08 Step 27/27 : LABEL version=0.0.0 07:49:08 ---> Running in e3cebed597b0 07:49:08 Removing intermediate container e3cebed597b0 07:49:08 ---> 7b8d908719aa 07:49:08 [Warning] One or more build-args [ARCH] were not consumed 07:49:08 Successfully built 7b8d908719aa 07:49:08 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 07:49:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:08 07:49:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:09 arm64: Pulling from edgex-lftools-log-publisher 07:49:09 8998bd30e6a1: Pulling fs layer 07:49:09 04944245beec: Pulling fs layer 07:49:09 699f458cf7ca: Pulling fs layer 07:49:09 765212b225bb: Pulling fs layer 07:49:09 f23df028b6ca: Pulling fs layer 07:49:09 d65c8cfc05b1: Pulling fs layer 07:49:09 2437ff75d9bd: Pulling fs layer 07:49:09 765212b225bb: Waiting 07:49:09 f23df028b6ca: Waiting 07:49:09 d65c8cfc05b1: Waiting 07:49:09 2437ff75d9bd: Waiting 07:49:09 04944245beec: Verifying Checksum 07:49:09 04944245beec: Download complete 07:49:09 765212b225bb: Verifying Checksum 07:49:09 765212b225bb: Download complete 07:49:09 f23df028b6ca: Verifying Checksum 07:49:09 f23df028b6ca: Download complete 07:49:09 d65c8cfc05b1: Download complete 07:49:09 699f458cf7ca: Verifying Checksum 07:49:09 699f458cf7ca: Download complete 07:49:09 8998bd30e6a1: Verifying Checksum 07:49:09 8998bd30e6a1: Download complete 07:49:12 2437ff75d9bd: Verifying Checksum 07:49:12 2437ff75d9bd: Download complete 07:49:13 8998bd30e6a1: Pull complete 07:49:14 04944245beec: Pull complete 07:49:15 699f458cf7ca: Pull complete 07:49:15 765212b225bb: Pull complete 07:49:16 f23df028b6ca: Pull complete 07:49:16 d65c8cfc05b1: Pull complete 07:49:31 2437ff75d9bd: Pull complete 07:49:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:49:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:32 prd-ubuntu20.04-docker-arm64-4c-16g-9260 does not seem to be running inside a container 07:49:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:49:34 $ docker top a9beb874c2b3293e23e7de62694c4886019f44a9f5d56604fa4004bc2e430eac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:35 ---> job-cost.sh 07:49:35 lf-activate-venv: SKIPPING 07:49:35 INFO: No Stack... 07:49:35 INFO: Retrieving Pricing Info for: v3-standard-4 07:49:36 INFO: Archiving Costs [Pipeline] sh 07:49:36 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 07:49:36 + cut -d, -f6 [Pipeline] lock 07:49:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] 07:49:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] did not exist. Created. 07:49:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:37 /w/workspace/device-onvif-camera/2@tmp/durable-ab222a2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:49:37 + echo total: 0.10999999940395355 [Pipeline] stash 07:49:37 Warning: overwriting stash ‘stack-cost’ 07:49:37 Stashed 1 file(s) [Pipeline] } 07:49:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:49:38 $ docker stop --time=1 a9beb874c2b3293e23e7de62694c4886019f44a9f5d56604fa4004bc2e430eac 07:49:39 $ docker rm -f a9beb874c2b3293e23e7de62694c4886019f44a9f5d56604fa4004bc2e430eac [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 07:49:39 provisioning config files... 07:49:39 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config2104677420273318046tmp [Pipeline] { [Pipeline] sh 07:49:40 + set +x 07:49:40 + curl -s https://codecov.io/bash 07:49:40 + bash -s -- 07:49:40 07:49:40 _____ _ 07:49:40 / ____| | | 07:49:40 | | ___ __| | ___ ___ _____ __ 07:49:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:49:40 | |___| (_) | (_| | __/ (_| (_) \ V / 07:49:40 \_____\___/ \__,_|\___|\___\___/ \_/ 07:49:40 Bash-1.0.6 07:49:40 07:49:40 07:49:40 ==> git version 2.25.1 found 07:49:40 ==> 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 07:49:40 Release-Date: 2020-01-08 07:49:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:49:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:49:40 ==> Jenkins CI detected. 07:49:40 current dir:  /w/workspace/undry_device-onvif-camera_PR-184 07:49:40 project root: . 07:49:40 --> token set from env 07:49:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:49:40 ==> Running gcov in . (disable via -X gcov) 07:49:40 ==> Python coveragepy not found 07:49:40 ==> Searching for coverage reports in: 07:49:40 + . 07:49:40 -> Found 1 reports 07:49:40 ==> Detecting git/mercurial file structure 07:49:40 ==> Reading reports 07:49:40 + ./coverage.out bytes=78636 07:49:40 ==> Appending adjustments 07:49:40 https://docs.codecov.io/docs/fixing-reports 07:49:40 + Found adjustments 07:49:40 ==> Gzipping contents 07:49:40 12K /tmp/codecov.hsULsY.gz 07:49:40 ==> Uploading reports 07:49:40 url: https://codecov.io 07:49:40 query: branch=PR-184&commit=9d0d0adc12b168f4411813955a34df444bee6435&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= 07:49:40 -> Pinging Codecov 07:49:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=9d0d0adc12b168f4411813955a34df444bee6435&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= 07:49:40 -> Uploading to 07:49:40 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/F29A59C45E3A92E06B3E522C9905F8EF/9d0d0adc12b168f4411813955a34df444bee6435/e6beb614-40b7-4fd7-9a63-bd3aaf9bfaa2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T074940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69da4057568cbee04e0eb504627550e39f61dd32ae91b66271a697112d784373 07:49:40 % Total % Received % Xferd Average Speed Time Time Time Current 07:49:40 Dload Upload Total Spent Left Speed 07:49:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10778 0 0 100 10778 0 47902 --:--:-- --:--:-- --:--:-- 48116 07:49:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9d0d0adc12b168f4411813955a34df444bee6435 [Pipeline] } 07:49:40 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 07:49:41 + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] 07:49:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives 07:49:41 total 16 07:49:41 drwxr-xr-x 3 root root 4096 Oct 24 07:36 . 07:49:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:36 .. 07:49:41 drwxr-xr-x 2 root root 4096 Oct 24 07:36 cost 07:49:41 -rw-r--r-- 1 root root 91 Oct 24 07:36 cost.csv 07:49:41 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives 07:49:41 + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives 07:49:41 total 16 07:49:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:36 . 07:49:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:36 .. 07:49:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:36 cost 07:49:41 -rw-r--r-- 1 jenkins jenkins 91 Oct 24 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:49:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:49:42 ---> package-listing.sh 07:49:42 ++ facter osfamily 07:49:42 ++ tr '[:upper:]' '[:lower:]' 07:49:43 + OS_FAMILY=debian 07:49:43 + workspace=/w/workspace/undry_device-onvif-camera_PR-184 07:49:43 + START_PACKAGES=/tmp/packages_start.txt 07:49:43 + END_PACKAGES=/tmp/packages_end.txt 07:49:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:49:43 + PACKAGES=/tmp/packages_start.txt 07:49:43 + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' 07:49:43 + PACKAGES=/tmp/packages_end.txt 07:49:43 + case "${OS_FAMILY}" in 07:49:43 + dpkg -l 07:49:43 + grep '^ii' 07:49:43 + '[' -f /tmp/packages_start.txt ']' 07:49:43 + '[' -f /tmp/packages_end.txt ']' 07:49:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:49:43 + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' 07:49:43 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ 07:49:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo 07:49:43 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:49:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:43 prd-ubuntu20.04-docker-8c-8g-9203 does not seem to be running inside a container 07:49:43 $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:49:44 $ docker top 44b7de9e5bccce71092732ea84975465bb6eb92aaf7a4f90c7e6c9740f3e3e75 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:44 + touch /tmp/pre-build-complete [Pipeline] sh 07:49:44 + mkdir -p /var/log/sysstat [Pipeline] sh 07:49:45 + ls /var/log/sa-host 07:49:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:45 provisioning config files... 07:49:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config11221873851186088895tmp [Pipeline] { [Pipeline] echo 07:49:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:49:45 ---> create-netrc.sh [Pipeline] } 07:49:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:49:45 ---> python-tools-install.sh [Pipeline] echo 07:49:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:49:46 ---> sudo-logs.sh 07:49:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:49:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:49:46 ---> job-cost.sh 07:49:46 lf-activate-venv: SKIPPING 07:49:46 DEBUG: total: 0.2199999988079071 07:49:46 INFO: Retrieving Stack Cost... 07:49:46 INFO: Retrieving Pricing Info for: v3-standard-8 07:49:47 INFO: Archiving Costs [Pipeline] echo 07:49:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:49:47 ---> logs-deploy.sh 07:49:47 lf-activate-venv: SKIPPING 07:49:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/2 07:49:47 INFO: archiving workspace using pattern(s): 07:49:48 Archives upload complete. 07:49:48 INFO: archiving logs to Nexus