Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ecb4ea0e477ad60250bc8b341b5035207dd0610 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-ssh2082100580689818278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2963432793433441798.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/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-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17761352242832306554.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh6247828179563172150.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/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-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2292911789538401376.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22832’ Running on prd-ubuntu20.04-docker-8c-8g-22834 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 6ecb4ea0e477ad60250bc8b341b5035207dd0610 (main) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ecb4ea0e477ad60250bc8b341b5035207dd0610 # timeout=10 Commit message: "Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk bc08c07b2fcd2a11c96a474f97a869fa8c75de0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:06 ========================================================= 17:49:06 EdgeX Global Pipelines Version Info 17:49:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:49:07 ------------------- 17:49:07 stable info: 17:49:07 ------------------- 17:49:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:07 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:49:07 Message: update stable to v1.0.238 17:49:08 ------------------- 17:49:08 experimental info: 17:49:08 ------------------- 17:49:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:08 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:49:08 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ecb4ea [Pipeline] echo 17:49:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:08 provisioning config files... 17:49:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1610125776711180759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:09 ---> docker-login.sh 17:49:09 nexus3.edgexfoundry.org:10001 17:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:09 Configure a credential helper to remove this warning. See 17:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:09 17:49:09 Login Succeeded 17:49:09 nexus3.edgexfoundry.org:10002 17:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:09 Configure a credential helper to remove this warning. See 17:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:09 17:49:09 Login Succeeded 17:49:09 nexus3.edgexfoundry.org:10003 17:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:10 Configure a credential helper to remove this warning. See 17:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:10 17:49:10 Login Succeeded 17:49:10 nexus3.edgexfoundry.org:10004 17:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:10 Configure a credential helper to remove this warning. See 17:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:10 17:49:10 Login Succeeded 17:49:10 docker.io 17:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:10 Configure a credential helper to remove this warning. See 17:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:10 17:49:10 Login Succeeded 17:49:10 ---> docker-login.sh ends [Pipeline] } 17:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:49:11 + git rev-list -1 --merges 6ecb4ea0e477ad60250bc8b341b5035207dd0610~1..6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] echo 17:49:11 -----------> git rev-list -1 --merges 6ecb4ea0e477ad60250bc8b341b5035207dd0610~1..6ecb4ea0e477ad60250bc8b341b5035207dd0610 6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:49:11 6ecb4ea0e477ad60250bc8b341b5035207dd0610 [false] [Pipeline] sh 17:49:11 + git log --format=format:%s -1 6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] echo 17:49:11 ========================================================= 17:49:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:11 + git log --format=format:%s -1 6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] echo 17:49:11 [semverPrep] GIT_COMMIT: 6ecb4ea0e477ad60250bc8b341b5035207dd0610, Commit Message: Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 17:49:11 [semverPrep] This is not a build commit. [Pipeline] sh 17:49:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:12 + grep -v github /etc/ssh/ssh_known_hosts 17:49:12 + [ -e /tmp/ssh_known_hosts ] 17:49:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:49:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:49:12 + sudo tee -a /etc/ssh/ssh_known_hosts 17:49:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:12 17:49:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:12 0.1.4: Pulling from edgex-devops/py-git-semver 17:49:12 b85a868b505f: Pulling fs layer 17:49:12 e2be974225ed: Pulling fs layer 17:49:12 339a4e72a1f5: Pulling fs layer 17:49:12 988bab9f4d93: Pulling fs layer 17:49:12 1469e6f7b9e6: Pulling fs layer 17:49:12 eaf3925da568: Pulling fs layer 17:49:12 bab4dde63d76: Pulling fs layer 17:49:12 bde34c3a00c8: Pulling fs layer 17:49:12 b352a97aabf1: Pulling fs layer 17:49:12 4872d77fe225: Pulling fs layer 17:49:12 5851b861e8e6: Pulling fs layer 17:49:12 988bab9f4d93: Waiting 17:49:12 b352a97aabf1: Waiting 17:49:12 1469e6f7b9e6: Waiting 17:49:12 eaf3925da568: Waiting 17:49:12 bab4dde63d76: Waiting 17:49:12 4872d77fe225: Waiting 17:49:12 5851b861e8e6: Waiting 17:49:12 bde34c3a00c8: Waiting 17:49:12 e2be974225ed: Verifying Checksum 17:49:12 e2be974225ed: Download complete 17:49:12 988bab9f4d93: Download complete 17:49:13 1469e6f7b9e6: Verifying Checksum 17:49:13 1469e6f7b9e6: Download complete 17:49:13 eaf3925da568: Verifying Checksum 17:49:13 eaf3925da568: Download complete 17:49:13 339a4e72a1f5: Verifying Checksum 17:49:13 339a4e72a1f5: Download complete 17:49:13 bde34c3a00c8: Download complete 17:49:13 b352a97aabf1: Download complete 17:49:13 4872d77fe225: Download complete 17:49:13 5851b861e8e6: Download complete 17:49:13 b85a868b505f: Download complete 17:49:13 bab4dde63d76: Verifying Checksum 17:49:13 bab4dde63d76: Download complete 17:49:14 b85a868b505f: Pull complete 17:49:14 e2be974225ed: Pull complete 17:49:15 339a4e72a1f5: Pull complete 17:49:15 988bab9f4d93: Pull complete 17:49:15 1469e6f7b9e6: Pull complete 17:49:15 eaf3925da568: Pull complete 17:49:18 bab4dde63d76: Pull complete 17:49:18 bde34c3a00c8: Pull complete 17:49:18 b352a97aabf1: Pull complete 17:49:18 4872d77fe225: Pull complete 17:49:18 5851b861e8e6: Pull complete 17:49:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:18 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 17:49:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:49:20 $ docker top dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f -eo pid,comm 17:49:20 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). 17:49:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:20 [ssh-agent] Looking for ssh-agent implementation... 17:49:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:20 $ docker exec dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f ssh-agent 17:49:20 SSH_AUTH_SOCK=/tmp/ssh-vPUwlmxBbY5K/agent.33 17:49:20 SSH_AGENT_PID=40 17:49:20 Running ssh-add (command line suppressed) 17:49:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1509438635582257481.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1509438635582257481.key) 17:49:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:20 + git tag --points-at HEAD [Pipeline] } 17:49:20 $ docker exec --env ******** --env ******** dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f ssh-agent -k 17:49:20 unset SSH_AUTH_SOCK; 17:49:20 unset SSH_AGENT_PID; 17:49:20 echo Agent pid 40 killed; 17:49:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:21 [ssh-agent] Looking for ssh-agent implementation... 17:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:21 $ docker exec dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f ssh-agent 17:49:21 SSH_AUTH_SOCK=/tmp/ssh-eO47hXcNvxmI/agent.72 17:49:21 SSH_AGENT_PID=78 17:49:21 Running ssh-add (command line suppressed) 17:49:21 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5576673879975055765.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5576673879975055765.key) 17:49:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:21 + git semver init 17:49:21 2022-08-15 17:49:21,915 [run_init] DEBUG init version:0.0.0 force:False 17:49:21 2022-08-15 17:49:21,915 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:49:21 2022-08-15 17:49:21,916 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:49:21 2022-08-15 17:49:21,916 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:49:22 2022-08-15 17:49:22,538 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:49:22 2022-08-15 17:49:22,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:49:22 2022-08-15 17:49:22,539 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:22 2022-08-15 17:49:22,539 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:22 2.3.0-dev.2 [Pipeline] } 17:49:22 $ docker exec --env ******** --env ******** dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f ssh-agent -k 17:49:22 unset SSH_AUTH_SOCK; 17:49:22 unset SSH_AGENT_PID; 17:49:22 echo Agent pid 78 killed; 17:49:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:23 + git semver [Pipeline] } 17:49:23 $ docker stop --time=1 dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f 17:49:24 $ docker rm -f dc66ed88405d2bd09d848e1fc8d0f2693fb7ac3f1ce26c6a141bc49658fad98f [Pipeline] // withDockerContainer [Pipeline] sh 17:49:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:25 Stashed 1 file(s) [Pipeline] echo 17:49:25 [edgeXSemver]: initialized semver on version 2.3.0-dev.2 [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 17:49:25 provisioning config files... 17:49:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2262137080377220272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:25 ---> docker-login.sh 17:49:25 nexus3.edgexfoundry.org:10001 17:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:25 Configure a credential helper to remove this warning. See 17:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:25 17:49:25 Login Succeeded 17:49:25 nexus3.edgexfoundry.org:10002 17:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:25 Configure a credential helper to remove this warning. See 17:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:25 17:49:25 Login Succeeded 17:49:25 nexus3.edgexfoundry.org:10003 17:49:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:25 Configure a credential helper to remove this warning. See 17:49:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:25 17:49:25 Login Succeeded 17:49:25 nexus3.edgexfoundry.org:10004 17:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:26 Configure a credential helper to remove this warning. See 17:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:26 17:49:26 Login Succeeded 17:49:26 docker.io 17:49:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:26 Configure a credential helper to remove this warning. See 17:49:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:26 17:49:26 Login Succeeded 17:49:26 ---> docker-login.sh ends [Pipeline] } 17:49:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:49:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:26 ========================================================= 17:49:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:49:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:26 + 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 . 17:49:26 Sending build context to Docker daemon 839.7kB 17:49:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:49:26 Step 2/13 : FROM ${BASE} AS builder 17:49:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:49:26 2408cc74d12b: Pulling fs layer 17:49:26 ea60b727a1ce: Pulling fs layer 17:49:26 30c4a7721957: Pulling fs layer 17:49:26 370296b7ddb6: Pulling fs layer 17:49:26 7c6cee850709: Pulling fs layer 17:49:26 39a5fcdaea64: Pulling fs layer 17:49:26 d94ebbe4e438: Pulling fs layer 17:49:26 bcfd1f05c69d: Pulling fs layer 17:49:26 59ccb84bbe0f: Pulling fs layer 17:49:26 370296b7ddb6: Waiting 17:49:26 7c6cee850709: Waiting 17:49:26 d94ebbe4e438: Waiting 17:49:26 bcfd1f05c69d: Waiting 17:49:26 39a5fcdaea64: Waiting 17:49:26 59ccb84bbe0f: Waiting 17:49:26 30c4a7721957: Download complete 17:49:26 ea60b727a1ce: Download complete 17:49:26 7c6cee850709: Verifying Checksum 17:49:26 7c6cee850709: Download complete 17:49:26 39a5fcdaea64: Verifying Checksum 17:49:26 39a5fcdaea64: Download complete 17:49:26 2408cc74d12b: Verifying Checksum 17:49:26 2408cc74d12b: Download complete 17:49:27 d94ebbe4e438: Download complete 17:49:27 2408cc74d12b: Pull complete 17:49:27 ea60b727a1ce: Pull complete 17:49:27 30c4a7721957: Pull complete 17:49:27 59ccb84bbe0f: Verifying Checksum 17:49:27 59ccb84bbe0f: Download complete 17:49:27 bcfd1f05c69d: Verifying Checksum 17:49:27 bcfd1f05c69d: Download complete 17:49:27 370296b7ddb6: Verifying Checksum 17:49:27 370296b7ddb6: Download complete 17:49:32 370296b7ddb6: Pull complete 17:49:32 7c6cee850709: Pull complete 17:49:32 39a5fcdaea64: Pull complete 17:49:32 d94ebbe4e438: Pull complete 17:49:34 bcfd1f05c69d: Pull complete 17:49:35 59ccb84bbe0f: Pull complete 17:49:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:49:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:49:35 ---> a4fb48ad2a94 17:49:35 Step 3/13 : ARG MAKE="make build" 17:49:37 ---> Running in 5155e5f2da94 17:49:37 Removing intermediate container 5155e5f2da94 17:49:37 ---> 4f036006df91 17:49:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:49:37 ---> Running in 1da19eff4c3e 17:49:37 Removing intermediate container 1da19eff4c3e 17:49:37 ---> 88d2e38ebb4b 17:49:37 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:49:37 ---> Running in 0ab3f6604986 17:49:37 Removing intermediate container 0ab3f6604986 17:49:37 ---> 756b58277ebe 17:49:37 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:49:37 ---> Running in bd4675d5db7f 17:49:37 Removing intermediate container bd4675d5db7f 17:49:37 ---> 138e389dcc11 17:49:37 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:38 ---> Running in b2a233e877c5 17:49:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:49:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:49:39 (1/80) Installing mesa (21.3.8-r2) 17:49:39 (2/80) Installing libxau (1.0.9-r0) 17:49:39 (3/80) Installing libxdmcp (1.1.3-r0) 17:49:39 (4/80) Installing libxcb (1.15-r0) 17:49:39 (5/80) Installing libx11 (1.8-r0) 17:49:40 (6/80) Installing libxext (1.3.4-r0) 17:49:40 (7/80) Installing libxfixes (6.0.0-r0) 17:49:40 (8/80) Installing libxxf86vm (1.1.4-r2) 17:49:40 Still waiting to schedule task 17:49:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22833’ 17:49:40 (9/80) Installing libpciaccess (0.16-r0) 17:49:40 (10/80) Installing libdrm (2.4.110-r0) 17:49:40 (11/80) Installing mesa-glapi (21.3.8-r2) 17:49:40 (12/80) Installing libxshmfence (1.3-r1) 17:49:40 (13/80) Installing mesa-gl (21.3.8-r2) 17:49:40 (14/80) Installing icu-data-full (71.1-r2) 17:49:41 (15/80) Installing libice (1.0.10-r0) 17:49:41 (16/80) Installing libuuid (2.38-r1) 17:49:41 (17/80) Installing libsm (1.2.3-r0) 17:49:41 (18/80) Installing libxt (1.2.1-r0) 17:49:41 (19/80) Installing libxmu (1.1.3-r0) 17:49:41 (20/80) Installing xset (1.2.4-r0) 17:49:42 (21/80) Installing xprop (1.2.5-r0) 17:49:42 (22/80) Installing xdg-utils (1.1.3-r3) 17:49:42 (23/80) Installing dbus-libs (1.14.0-r1) 17:49:42 (24/80) Installing libffi (3.4.2-r1) 17:49:42 (25/80) Installing libintl (0.21-r2) 17:49:42 (26/80) Installing libblkid (2.38-r1) 17:49:42 (27/80) Installing libmount (2.38-r1) 17:49:42 (28/80) Installing pcre (8.45-r2) 17:49:42 (29/80) Installing glib (2.72.1-r0) 17:49:42 (30/80) Installing icu-libs (71.1-r2) 17:49:44 (31/80) Installing libpcre2-16 (10.40-r0) 17:49:44 (32/80) Installing zstd-libs (1.5.2-r1) 17:49:44 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:49:44 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:49:44 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:49:44 (36/80) Installing mesa-gbm (21.3.8-r2) 17:49:45 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:49:45 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:49:45 (39/80) Installing libxcomposite (0.4.5-r0) 17:49:45 (40/80) Installing libbz2 (1.0.8-r1) 17:49:45 (41/80) Installing libpng (1.6.37-r1) 17:49:46 (42/80) Installing freetype (2.12.1-r0) 17:49:46 (43/80) Installing fontconfig (2.14.0-r0) 17:49:46 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:49:46 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:49:46 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:49:46 (47/80) Installing xz-libs (5.2.5-r1) 17:49:46 (48/80) Installing libxml2 (2.9.14-r0) 17:49:46 (49/80) Installing libxkbcommon (1.4.1-r0) 17:49:46 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:49:46 (51/80) Installing mesa-egl (21.3.8-r2) 17:49:47 (52/80) Installing avahi-libs (0.8-r6) 17:49:47 (53/80) Installing nettle (3.7.3-r0) 17:49:47 (54/80) Installing p11-kit (0.24.1-r0) 17:49:47 (55/80) Installing libtasn1 (4.18.0-r0) 17:49:47 (56/80) Installing libunistring (1.0-r0) 17:49:47 (57/80) Installing gnutls (3.7.7-r0) 17:49:47 (58/80) Installing cups-libs (2.4.2-r0) 17:49:47 (59/80) Installing graphite2 (1.3.14-r1) 17:49:47 (60/80) Installing harfbuzz (4.3.0-r0) 17:49:47 (61/80) Installing libevdev (1.12.1-r0) 17:49:47 (62/80) Installing mtdev (1.1.6-r0) 17:49:48 (63/80) Installing eudev-libs (3.2.11-r0) 17:49:48 (64/80) Installing libinput-libs (1.20.1-r0) 17:49:48 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:49:48 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:49:48 (67/80) Installing xcb-util (0.4.0-r3) 17:49:48 (68/80) Installing xcb-util-image (0.4.0-r1) 17:49:48 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:49:48 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:49:48 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:49:48 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:49:49 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:49:49 (74/80) Installing v4l-utils (1.22.1-r1) 17:49:49 (75/80) Installing udev-init-scripts (35-r0) 17:49:49 Executing udev-init-scripts-35-r0.post-install 17:49:49 (76/80) Installing kmod-libs (29-r2) 17:49:49 (77/80) Installing eudev (3.2.11-r0) 17:49:50 (78/80) Installing eudev-dev (3.2.11-r0) 17:49:50 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:49:50 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:49:50 Executing busybox-1.35.0-r13.trigger 17:49:50 Executing eudev-3.2.11-r0.trigger 17:49:50 OK: 330 MiB in 131 packages 17:49:52 Removing intermediate container b2a233e877c5 17:49:52 ---> 8e8860689905 17:49:52 Step 8/13 : WORKDIR /device-usb-camera 17:49:52 ---> Running in aa6cd10195bc 17:49:52 Removing intermediate container aa6cd10195bc 17:49:52 ---> 4e105e491928 17:49:52 Step 9/13 : COPY go.mod vendor* ./ 17:49:52 ---> fbb3a42a5fb3 17:49:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:52 ---> Running in 9b22b8ec9379 17:50:10 Removing intermediate container 9b22b8ec9379 17:50:10 ---> af9f4e69b5f5 17:50:10 Step 11/13 : COPY . . 17:50:10 ---> 4fa6d0d18b8f 17:50:10 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:50:10 ---> Running in 3f4bc92ae48c 17:50:10  % Total % Received % Xferd Average Speed Time Time Time Current 17:50:10 Dload Upload Total Spent Left Speed 17:50:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0  10722      0 --:--:-- --:--:-- --:--:-- 10836 17:50:10 Removing intermediate container 3f4bc92ae48c 17:50:10 ---> 932733e4523a 17:50:10 Step 13/13 : RUN ${MAKE} 17:50:10 ---> Running in 2d6e4f49afde 17:50:10 noop 17:50:11 Removing intermediate container 2d6e4f49afde 17:50:11 ---> ccae421b3b2b 17:50:11 Successfully built ccae421b3b2b 17:50:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:11 + docker inspect -f . ci-base-image-x86_64 17:50:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:11 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 17:50:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 17:50:12 $ docker top 8b85d91bb2a53467eed805e33ca4f1a64de7454c224b65930158196e48ca5dd3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:12 + go version 17:50:12 go version go1.18.3 linux/amd64 [Pipeline] } 17:50:12 $ docker stop --time=1 8b85d91bb2a53467eed805e33ca4f1a64de7454c224b65930158196e48ca5dd3 17:50:13 $ docker rm -f 8b85d91bb2a53467eed805e33ca4f1a64de7454c224b65930158196e48ca5dd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:14 + docker inspect -f . ci-base-image-x86_64 17:50:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:14 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 17:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 17:50:14 $ docker top c43148de587f606aeeced87c40302225896ea97b718fc2c67ead1eab7428c149 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:15 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:50:15 + make test 17:50:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:50:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:50:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:50:26 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 17:50:34 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." 17:50:34 CGO_ENABLED=1 go vet ./... 17:50:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:50:37 ./bin/test-attribution-txt.sh [Pipeline] echo 17:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:37 $ docker stop --time=1 c43148de587f606aeeced87c40302225896ea97b718fc2c67ead1eab7428c149 17:50:39 $ docker rm -f c43148de587f606aeeced87c40302225896ea97b718fc2c67ead1eab7428c149 [Pipeline] // withDockerContainer [Pipeline] sh 17:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:50:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:40 + ls -al . 17:50:40 total 200 17:50:40 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 17:50 . 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 17:49 .. 17:50:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 17:50 .git 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:49 .github 17:50:40 -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 17:49 .gitignore 17:50:40 -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 17:49 .golangci.yml 17:50:40 -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 17:49 .hadolint.yml 17:50:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 17:49 .semver 17:50:40 -rw-rw-r-- 1 jenkins jenkins 9569 Aug 15 17:49 Attribution.txt 17:50:40 -rw-rw-r-- 1 jenkins jenkins 1206 Aug 15 17:49 CHANGELOG.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 2410 Aug 15 17:49 Dockerfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 17:49 GOVERNANCE.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 17:49 Jenkinsfile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 17:49 LICENSE 17:50:40 -rw-rw-r-- 1 jenkins jenkins 2345 Aug 15 17:49 Makefile 17:50:40 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 17:49 OWNERS.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 12817 Aug 15 17:49 README.md 17:50:40 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 17:49 VERSION 17:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 17:49 bin 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:49 cmd 17:50:40 -rw-r--r-- 1 jenkins jenkins 29387 Aug 15 17:50 coverage.out 17:50:40 -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 17:49 docker-entrypoint.sh 17:50:40 -rw-rw-r-- 1 jenkins jenkins 3606 Aug 15 17:49 go.mod 17:50:40 -rw-rw-r-- 1 jenkins jenkins 37073 Aug 15 17:49 go.sum 17:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:49 internal 17:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 17:49 snap 17:50:40 -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:41 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6ecb4ea0e477ad60250bc8b341b5035207dd0610 --label arch=amd64 --label version=2.3.0-dev.2 . 17:50:41 Sending build context to Docker daemon 869.9kB 17:50:41 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:50:41 Step 2/35 : FROM ${BASE} AS builder 17:50:41 ---> ccae421b3b2b 17:50:41 Step 3/35 : ARG MAKE="make build" 17:50:41 ---> Running in ac5050fdf167 17:50:41 Removing intermediate container ac5050fdf167 17:50:41 ---> ab683e44dd13 17:50:41 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:50:41 ---> Running in 886fe92a3e4c 17:50:41 Removing intermediate container 886fe92a3e4c 17:50:41 ---> 8ec14d6dc515 17:50:41 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:50:41 ---> Running in 888ea82ff5b6 17:50:41 Removing intermediate container 888ea82ff5b6 17:50:41 ---> 1ef6837228d8 17:50:41 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:41 ---> Running in 2e521a5e167e 17:50:42 Removing intermediate container 2e521a5e167e 17:50:42 ---> 6cb56eab61d4 17:50:42 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:42 ---> Running in ecf48acce65b 17:50:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:50:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:50:43 OK: 330 MiB in 131 packages 17:50:43 Removing intermediate container ecf48acce65b 17:50:43 ---> 42fe4a498a1b 17:50:43 Step 8/35 : WORKDIR /device-usb-camera 17:50:43 ---> Running in ca24da47dd66 17:50:44 Removing intermediate container ca24da47dd66 17:50:44 ---> fe01606610df 17:50:44 Step 9/35 : COPY go.mod vendor* ./ 17:50:44 ---> aac995a4795b 17:50:44 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:44 ---> Running in ba612e214a21 17:50:45 Removing intermediate container ba612e214a21 17:50:45 ---> 52266bd269cb 17:50:45 Step 11/35 : COPY . . 17:50:45 ---> 8c3d8ff0dc94 17:50:45 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:50:45 ---> Running in 5e1281ce3df5 17:50:45  % Total % Received % Xferd Average Speed Time Time Time Current 17:50:45 Dload Upload Total Spent Left Speed 17:50:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45392 0 --:--:-- --:--:-- --:--:-- 46173 17:50:46 Removing intermediate container 5e1281ce3df5 17:50:46 ---> 71b0d056cbf2 17:50:46 Step 13/35 : RUN ${MAKE} 17:50:46 ---> Running in 57e9b1c77ea9 17:50:46 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:51:08 Removing intermediate container 57e9b1c77ea9 17:51:08 ---> 939228d7ebab 17:51:08 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:51:08 v0.18.4: Pulling from aler9/rtsp-simple-server 17:51:08 af6660deedbd: Pulling fs layer 17:51:08 97cd0a44c592: Pulling fs layer 17:51:08 97cd0a44c592: Verifying Checksum 17:51:08 97cd0a44c592: Download complete 17:51:08 af6660deedbd: Verifying Checksum 17:51:08 af6660deedbd: Download complete 17:51:08 af6660deedbd: Pull complete 17:51:08 97cd0a44c592: Pull complete 17:51:08 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:51:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:51:08 ---> fea57e182299 17:51:08 Step 15/35 : FROM alpine:3.16 17:51:08 3.16: Pulling from library/alpine 17:51:08 213ec9aee27d: Pulling fs layer 17:51:08 213ec9aee27d: Verifying Checksum 17:51:08 213ec9aee27d: Download complete 17:51:08 213ec9aee27d: Pull complete 17:51:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:51:08 Status: Downloaded newer image for alpine:3.16 17:51:08 ---> 9c6f07244728 17:51:08 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:51:09 ---> Running in cbc905bb41f4 17:51:09 Removing intermediate container cbc905bb41f4 17:51:09 ---> 671f8c87ac56 17:51:09 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:51:09 ---> Running in a81d807a9841 17:51:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:51:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:51:09 (1/83) Installing dumb-init (1.2.5-r1) 17:51:09 (2/83) Installing sdl2 (2.0.22-r0) 17:51:09 (3/83) Installing libxau (1.0.9-r0) 17:51:09 (4/83) Installing libxdmcp (1.1.3-r0) 17:51:09 (5/83) Installing libxcb (1.15-r0) 17:51:09 (6/83) Installing libx11 (1.8-r0) 17:51:09 (7/83) Installing aom-libs (3.3.0-r0) 17:51:09 (8/83) Installing alsa-lib (1.2.7.2-r0) 17:51:09 (9/83) Installing expat (2.4.8-r0) 17:51:09 (10/83) Installing brotli-libs (1.0.9-r6) 17:51:09 (11/83) Installing libbz2 (1.0.8-r1) 17:51:09 (12/83) Installing libpng (1.6.37-r1) 17:51:09 (13/83) Installing freetype (2.12.1-r0) 17:51:09 (14/83) Installing fontconfig (2.14.0-r0) 17:51:09 (15/83) Installing fribidi (1.0.12-r0) 17:51:09 (16/83) Installing libffi (3.4.2-r1) 17:51:09 (17/83) Installing libintl (0.21-r2) 17:51:09 (18/83) Installing libblkid (2.38-r1) 17:51:09 (19/83) Installing libmount (2.38-r1) 17:51:09 (20/83) Installing pcre (8.45-r2) 17:51:09 (21/83) Installing glib (2.72.1-r0) 17:51:10 (22/83) Installing graphite2 (1.3.14-r1) 17:51:10 (23/83) Installing harfbuzz (4.3.0-r0) 17:51:10 (24/83) Installing libass (0.16.0-r0) 17:51:10 (25/83) Installing libdav1d (1.0.0-r0) 17:51:10 (26/83) Installing libpciaccess (0.16-r0) 17:51:10 (27/83) Installing libdrm (2.4.110-r0) 17:51:10 (28/83) Installing gmp (6.2.1-r2) 17:51:10 (29/83) Installing nettle (3.7.3-r0) 17:51:10 (30/83) Installing p11-kit (0.24.1-r0) 17:51:10 (31/83) Installing libtasn1 (4.18.0-r0) 17:51:10 (32/83) Installing libunistring (1.0-r0) 17:51:10 (33/83) Installing gnutls (3.7.7-r0) 17:51:10 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:51:10 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 17:51:10 (36/83) Installing lame (3.100-r0) 17:51:10 (37/83) Installing opus (1.3.1-r1) 17:51:10 (38/83) Installing libasyncns (0.8-r1) 17:51:10 (39/83) Installing dbus-libs (1.14.0-r1) 17:51:10 (40/83) Installing libltdl (2.4.7-r0) 17:51:10 (41/83) Installing orc (0.4.32-r0) 17:51:10 (42/83) Installing libgcc (11.2.1_git20220219-r2) 17:51:10 (43/83) Installing libogg (1.3.5-r1) 17:51:10 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 17:51:10 (45/83) Installing flac (1.3.4-r0) 17:51:10 (46/83) Installing libvorbis (1.3.7-r0) 17:51:10 (47/83) Installing libsndfile (1.1.0-r0) 17:51:10 (48/83) Installing libgomp (11.2.1_git20220219-r2) 17:51:10 (49/83) Installing soxr (0.1.3-r2) 17:51:10 (50/83) Installing speexdsp (1.2.0-r0) 17:51:10 (51/83) Installing tdb-libs (1.4.6-r0) 17:51:10 (52/83) Installing libpulse (15.0-r2) 17:51:10 (53/83) Installing cjson (1.7.15-r3) 17:51:10 (54/83) Installing mbedtls (2.28.1-r0) 17:51:10 (55/83) Installing librist (0.2.6-r1) 17:51:10 (56/83) Installing libsrt (1.4.4-r0) 17:51:10 (57/83) Installing libssh (0.9.6-r1) 17:51:10 (58/83) Installing libtheora (1.1.1-r16) 17:51:10 (59/83) Installing libjpeg-turbo (2.1.3-r1) 17:51:10 (60/83) Installing v4l-utils-libs (1.22.1-r1) 17:51:10 (61/83) Installing libxext (1.3.4-r0) 17:51:10 (62/83) Installing libxfixes (6.0.0-r0) 17:51:10 (63/83) Installing wayland-libs-client (1.20.0-r0) 17:51:10 (64/83) Installing libva (2.14.0-r0) 17:51:10 (65/83) Installing libvdpau (1.5-r0) 17:51:10 (66/83) Installing vidstab (1.1.0-r1) 17:51:10 (67/83) Installing libvpx (1.11.0-r1) 17:51:10 (68/83) Installing libwebp (1.2.3-r0) 17:51:10 (69/83) Installing x264-libs (0.163_git20210613-r0) 17:51:10 (70/83) Installing numactl (2.0.14-r0) 17:51:10 (71/83) Installing x265-libs (3.5-r3) 17:51:10 (72/83) Installing xvidcore (1.3.7-r1) 17:51:10 (73/83) Installing ffmpeg-libs (5.0.1-r1) 17:51:10 (74/83) Installing ffmpeg (5.0.1-r1) 17:51:10 (75/83) Installing udev-init-scripts (35-r0) 17:51:10 Executing udev-init-scripts-35-r0.post-install 17:51:10 (76/83) Installing eudev-libs (3.2.11-r0) 17:51:10 (77/83) Installing xz-libs (5.2.5-r1) 17:51:10 (78/83) Installing zstd-libs (1.5.2-r1) 17:51:10 (79/83) Installing kmod-libs (29-r2) 17:51:10 (80/83) Installing eudev (3.2.11-r0) 17:51:10 (81/83) Installing libsodium (1.0.18-r0) 17:51:10 (82/83) Installing libzmq (4.3.4-r0) 17:51:10 (83/83) Installing zeromq (4.3.4-r0) 17:51:10 Executing busybox-1.35.0-r17.trigger 17:51:10 Executing eudev-3.2.11-r0.trigger 17:51:10 OK: 101 MiB in 97 packages 17:51:12 Removing intermediate container a81d807a9841 17:51:12 ---> e9f9306d4bc4 17:51:12 Step 18/35 : WORKDIR / 17:51:12 ---> Running in fe180acbdc23 17:51:12 Removing intermediate container fe180acbdc23 17:51:12 ---> 2792f10db5c2 17:51:12 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:51:13 ---> 6c2550ee824b 17:51:13 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:51:13 ---> 9f14bd6a7e8e 17:51:13 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:51:13 ---> 5a5dce085f43 17:51:13 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:51:13 ---> fa1daeb2ef76 17:51:13 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:51:13 ---> cca2258d4936 17:51:13 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:51:14 ---> a16e23ca1e1a 17:51:14 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:51:14 ---> c604cb0d6bb5 17:51:14 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:51:14 ---> Running in 12203849cb0b 17:51:15 Removing intermediate container 12203849cb0b 17:51:15 ---> 810aac7bc0ba 17:51:15 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:51:15 ---> Running in 60d77b38ea34 17:51:15 Removing intermediate container 60d77b38ea34 17:51:15 ---> 79e72be324e7 17:51:15 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:51:15 ---> Running in 051834185bf9 17:51:16 Removing intermediate container 051834185bf9 17:51:16 ---> 8a523d552913 17:51:16 Step 29/35 : EXPOSE 59983 17:51:16 ---> Running in f82a5b4ef0a4 17:51:16 Removing intermediate container f82a5b4ef0a4 17:51:16 ---> 22b4f8b3332e 17:51:16 Step 30/35 : EXPOSE 8554 17:51:16 ---> Running in 9e2d2e0ff015 17:51:16 Removing intermediate container 9e2d2e0ff015 17:51:16 ---> 8d67cb198553 17:51:16 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:51:16 ---> Running in fb6514c1bc35 17:51:16 Removing intermediate container fb6514c1bc35 17:51:16 ---> 3e660b935e7a 17:51:16 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:51:16 ---> Running in 3f680dadbf18 17:51:17 Removing intermediate container 3f680dadbf18 17:51:17 ---> b0891cb08002 17:51:17 Step 33/35 : LABEL arch=amd64 17:51:17 ---> Running in 7d3a547115ff 17:51:17 Removing intermediate container 7d3a547115ff 17:51:17 ---> 973556ee9d23 17:51:17 Step 34/35 : LABEL git_sha=6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:51:17 ---> Running in a1b803ca83b0 17:51:17 Removing intermediate container a1b803ca83b0 17:51:17 ---> 6b91e22b795e 17:51:17 Step 35/35 : LABEL version=2.3.0-dev.2 17:51:17 ---> Running in 9bb32aa52d52 17:51:17 Removing intermediate container 9bb32aa52d52 17:51:17 ---> e8d608e8fa24 17:51:17 [Warning] One or more build-args [ARCH] were not consumed 17:51:17 Successfully built e8d608e8fa24 17:51:17 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:17 provisioning config files... 17:51:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config185375890123079194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:17 ---> docker-login.sh 17:51:17 nexus3.edgexfoundry.org:10001 17:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:17 Configure a credential helper to remove this warning. See 17:51:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:17 17:51:17 Login Succeeded 17:51:17 nexus3.edgexfoundry.org:10002 17:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:18 Configure a credential helper to remove this warning. See 17:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:18 17:51:18 Login Succeeded 17:51:18 nexus3.edgexfoundry.org:10003 17:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:18 Configure a credential helper to remove this warning. See 17:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:18 17:51:18 Login Succeeded 17:51:18 nexus3.edgexfoundry.org:10004 17:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:18 Configure a credential helper to remove this warning. See 17:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:18 17:51:18 Login Succeeded 17:51:18 docker.io 17:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:18 Configure a credential helper to remove this warning. See 17:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:18 17:51:18 Login Succeeded 17:51:18 ---> docker-login.sh ends [Pipeline] } 17:51:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:18 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:51:18 6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:51:18 latest 17:51:18 2.3.0-dev.2 17:51:18 6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 17:51:18 main 17:51:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:51:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:51:19 f590ff689995: Preparing 17:51:19 f4bf627ed680: Preparing 17:51:19 61df7d1faafd: Preparing 17:51:19 550e596c6d0e: Preparing 17:51:19 1207169bf42c: Preparing 17:51:19 5c7bc313fa06: Preparing 17:51:19 6d662fb7deb9: Preparing 17:51:19 4b3c59b2cb71: Preparing 17:51:19 9b5c6277ab39: Preparing 17:51:19 caa1c28b89bc: Preparing 17:51:19 de0b17c5ec8e: Preparing 17:51:19 994393dc58e7: Preparing 17:51:19 4b3c59b2cb71: Waiting 17:51:19 5c7bc313fa06: Waiting 17:51:19 caa1c28b89bc: Waiting 17:51:19 9b5c6277ab39: Waiting 17:51:19 6d662fb7deb9: Waiting 17:51:19 de0b17c5ec8e: Waiting 17:51:19 994393dc58e7: Waiting 17:51:19 f590ff689995: Pushed 17:51:19 f4bf627ed680: Pushed 17:51:19 1207169bf42c: Pushed 17:51:19 61df7d1faafd: Pushed 17:51:19 5c7bc313fa06: Pushed 17:51:19 6d662fb7deb9: Pushed 17:51:19 9b5c6277ab39: Pushed 17:51:19 4b3c59b2cb71: Pushed 17:51:19 994393dc58e7: Layer already exists 17:51:21 550e596c6d0e: Pushed 17:51:22 caa1c28b89bc: Pushed 17:51:29 de0b17c5ec8e: Pushed 17:51:29 6ecb4ea0e477ad60250bc8b341b5035207dd0610: digest: sha256:8fd30bf41bf17787dcd413d988db2216cb8a713daf6eba05d723dcb89d26eead size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:51:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:51:29 f590ff689995: Preparing 17:51:29 f4bf627ed680: Preparing 17:51:29 61df7d1faafd: Preparing 17:51:29 550e596c6d0e: Preparing 17:51:29 1207169bf42c: Preparing 17:51:29 5c7bc313fa06: Preparing 17:51:29 6d662fb7deb9: Preparing 17:51:29 4b3c59b2cb71: Preparing 17:51:29 9b5c6277ab39: Preparing 17:51:29 caa1c28b89bc: Preparing 17:51:29 de0b17c5ec8e: Preparing 17:51:29 994393dc58e7: Preparing 17:51:29 6d662fb7deb9: Waiting 17:51:29 4b3c59b2cb71: Waiting 17:51:29 9b5c6277ab39: Waiting 17:51:29 caa1c28b89bc: Waiting 17:51:29 de0b17c5ec8e: Waiting 17:51:29 994393dc58e7: Waiting 17:51:29 5c7bc313fa06: Waiting 17:51:29 f590ff689995: Layer already exists 17:51:29 f4bf627ed680: Layer already exists 17:51:29 550e596c6d0e: Layer already exists 17:51:29 1207169bf42c: Layer already exists 17:51:29 61df7d1faafd: Layer already exists 17:51:29 6d662fb7deb9: Layer already exists 17:51:29 4b3c59b2cb71: Layer already exists 17:51:29 5c7bc313fa06: Layer already exists 17:51:29 caa1c28b89bc: Layer already exists 17:51:29 9b5c6277ab39: Layer already exists 17:51:29 de0b17c5ec8e: Layer already exists 17:51:29 994393dc58e7: Layer already exists 17:51:29 latest: digest: sha256:8fd30bf41bf17787dcd413d988db2216cb8a713daf6eba05d723dcb89d26eead size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:30 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.2 17:51:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:51:30 f590ff689995: Preparing 17:51:30 f4bf627ed680: Preparing 17:51:30 61df7d1faafd: Preparing 17:51:30 550e596c6d0e: Preparing 17:51:30 1207169bf42c: Preparing 17:51:30 5c7bc313fa06: Preparing 17:51:30 6d662fb7deb9: Preparing 17:51:30 4b3c59b2cb71: Preparing 17:51:30 9b5c6277ab39: Preparing 17:51:30 caa1c28b89bc: Preparing 17:51:30 de0b17c5ec8e: Preparing 17:51:30 994393dc58e7: Preparing 17:51:30 5c7bc313fa06: Waiting 17:51:30 6d662fb7deb9: Waiting 17:51:30 de0b17c5ec8e: Waiting 17:51:30 9b5c6277ab39: Waiting 17:51:30 caa1c28b89bc: Waiting 17:51:30 f4bf627ed680: Layer already exists 17:51:30 f590ff689995: Layer already exists 17:51:30 550e596c6d0e: Layer already exists 17:51:30 61df7d1faafd: Layer already exists 17:51:30 1207169bf42c: Layer already exists 17:51:30 5c7bc313fa06: Layer already exists 17:51:30 4b3c59b2cb71: Layer already exists 17:51:30 6d662fb7deb9: Layer already exists 17:51:30 caa1c28b89bc: Layer already exists 17:51:30 de0b17c5ec8e: Layer already exists 17:51:30 9b5c6277ab39: Layer already exists 17:51:30 994393dc58e7: Layer already exists 17:51:30 2.3.0-dev.2: digest: sha256:8fd30bf41bf17787dcd413d988db2216cb8a713daf6eba05d723dcb89d26eead size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:30 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 17:51:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:51:30 f590ff689995: Preparing 17:51:30 f4bf627ed680: Preparing 17:51:30 61df7d1faafd: Preparing 17:51:30 550e596c6d0e: Preparing 17:51:30 1207169bf42c: Preparing 17:51:30 5c7bc313fa06: Preparing 17:51:30 6d662fb7deb9: Preparing 17:51:30 4b3c59b2cb71: Preparing 17:51:30 9b5c6277ab39: Preparing 17:51:30 caa1c28b89bc: Preparing 17:51:30 de0b17c5ec8e: Preparing 17:51:30 994393dc58e7: Preparing 17:51:30 4b3c59b2cb71: Waiting 17:51:30 5c7bc313fa06: Waiting 17:51:30 6d662fb7deb9: Waiting 17:51:30 9b5c6277ab39: Waiting 17:51:30 caa1c28b89bc: Waiting 17:51:30 f590ff689995: Layer already exists 17:51:30 61df7d1faafd: Layer already exists 17:51:30 550e596c6d0e: Layer already exists 17:51:30 1207169bf42c: Layer already exists 17:51:30 f4bf627ed680: Layer already exists 17:51:30 4b3c59b2cb71: Layer already exists 17:51:30 5c7bc313fa06: Layer already exists 17:51:30 9b5c6277ab39: Layer already exists 17:51:30 6d662fb7deb9: Layer already exists 17:51:30 caa1c28b89bc: Layer already exists 17:51:30 de0b17c5ec8e: Layer already exists 17:51:30 994393dc58e7: Layer already exists 17:51:30 6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2: digest: sha256:8fd30bf41bf17787dcd413d988db2216cb8a713daf6eba05d723dcb89d26eead size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:31 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:31 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:51:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:51:31 f590ff689995: Preparing 17:51:31 f4bf627ed680: Preparing 17:51:31 61df7d1faafd: Preparing 17:51:31 550e596c6d0e: Preparing 17:51:31 1207169bf42c: Preparing 17:51:31 5c7bc313fa06: Preparing 17:51:31 6d662fb7deb9: Preparing 17:51:31 4b3c59b2cb71: Preparing 17:51:31 9b5c6277ab39: Preparing 17:51:31 caa1c28b89bc: Preparing 17:51:31 de0b17c5ec8e: Preparing 17:51:31 994393dc58e7: Preparing 17:51:31 6d662fb7deb9: Waiting 17:51:31 4b3c59b2cb71: Waiting 17:51:31 9b5c6277ab39: Waiting 17:51:31 caa1c28b89bc: Waiting 17:51:31 994393dc58e7: Waiting 17:51:31 550e596c6d0e: Layer already exists 17:51:31 f590ff689995: Layer already exists 17:51:31 61df7d1faafd: Layer already exists 17:51:31 1207169bf42c: Layer already exists 17:51:31 f4bf627ed680: Layer already exists 17:51:31 6d662fb7deb9: Layer already exists 17:51:31 5c7bc313fa06: Layer already exists 17:51:31 4b3c59b2cb71: Layer already exists 17:51:31 9b5c6277ab39: Layer already exists 17:51:31 caa1c28b89bc: Layer already exists 17:51:31 de0b17c5ec8e: Layer already exists 17:51:31 994393dc58e7: Layer already exists 17:51:31 main: digest: sha256:8fd30bf41bf17787dcd413d988db2216cb8a713daf6eba05d723dcb89d26eead size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:51:31 ===================================================== [Pipeline] echo 17:51:31 taggedImages: 17:51:31 - nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:51:31 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:51:31 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.2 17:51:31 - nexus3.edgexfoundry.org:10004/device-usb-camera:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 17:51:31 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [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 17:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:32 17:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:32 latest: Pulling from edgex-lftools-log-publisher 17:51:32 5eb5b503b376: Pulling fs layer 17:51:32 5c69ac0246d0: Pulling fs layer 17:51:32 ec43610c2a17: Pulling fs layer 17:51:32 3a2ae6a8a46f: Pulling fs layer 17:51:32 33b1e0a273af: Pulling fs layer 17:51:32 5d3b04190fa2: Pulling fs layer 17:51:32 33b1e0a273af: Waiting 17:51:32 2f39f015ded8: Pulling fs layer 17:51:32 5d3b04190fa2: Waiting 17:51:32 2f39f015ded8: Waiting 17:51:32 5c69ac0246d0: Verifying Checksum 17:51:32 5c69ac0246d0: Download complete 17:51:32 3a2ae6a8a46f: Verifying Checksum 17:51:32 3a2ae6a8a46f: Download complete 17:51:32 33b1e0a273af: Verifying Checksum 17:51:32 33b1e0a273af: Download complete 17:51:32 ec43610c2a17: Verifying Checksum 17:51:32 ec43610c2a17: Download complete 17:51:32 5d3b04190fa2: Verifying Checksum 17:51:32 5d3b04190fa2: Download complete 17:51:32 5eb5b503b376: Verifying Checksum 17:51:32 5eb5b503b376: Download complete 17:51:33 2f39f015ded8: Download complete 17:51:33 5eb5b503b376: Pull complete 17:51:34 5c69ac0246d0: Pull complete 17:51:34 ec43610c2a17: Pull complete 17:51:34 3a2ae6a8a46f: Pull complete 17:51:34 33b1e0a273af: Pull complete 17:51:34 5d3b04190fa2: Pull complete 17:51:40 2f39f015ded8: Pull complete 17:51:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:40 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 17:51:40 $ 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/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:51:42 $ docker top 28da9db8ec3509485f806ee65e3ed5ccacd969c4ffe659077532bb62bbb4b449 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:42 ---> job-cost.sh 17:51:42 lf-activate-venv: SKIPPING 17:51:42 INFO: No Stack... 17:51:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:51:43 INFO: Archiving Costs [Pipeline] sh 17:51:43 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:51:43 + cut -d, -f6 [Pipeline] lock 17:51:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] 17:51:43 Resource [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] did not exist. Created. 17:51:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:51:43 + echo total: 0.2199999988079071 [Pipeline] stash 17:51:43 Stashed 1 file(s) [Pipeline] } 17:51:43 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 17:51:43 $ docker stop --time=1 28da9db8ec3509485f806ee65e3ed5ccacd969c4ffe659077532bb62bbb4b449 17:51:45 $ docker rm -f 28da9db8ec3509485f806ee65e3ed5ccacd969c4ffe659077532bb62bbb4b449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:52:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22836 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:52:23 Running in /w/workspace/device-usb-camera/41 [Pipeline] { [Pipeline] checkout 17:52:23 Selected Git installation does not exist. Using Default 17:52:23 The recommended git tool is: NONE 17:52:31 using credential edgex-jenkins-ssh 17:52:31 Cloning the remote Git repository 17:52:32 Avoid second fetch 17:52:32 Checking out Revision 6ecb4ea0e477ad60250bc8b341b5035207dd0610 (main) 17:52:31 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:52:31 > git init /w/workspace/device-usb-camera/41 # timeout=10 17:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:52:31 > git --version # timeout=10 17:52:31 > git --version # 'git version 2.25.1' 17:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:32 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:52:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:32 > git config core.sparsecheckout # timeout=10 17:52:32 > git checkout -f 6ecb4ea0e477ad60250bc8b341b5035207dd0610 # timeout=10 17:52:37 Commit message: "Merge pull request #78 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:52:38 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:38 Dload Upload Total Spent Left Speed 17:52:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 211k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 17:52:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:52:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:52:39 + sudo tee /etc/docker/daemon.new 17:52:39 { 17:52:39 "registry-mirrors": [ 17:52:39 "https://nexus3.edgexfoundry.org:10001" 17:52:39 ], 17:52:39 "bip": "10.250.0.254/24", 17:52:39 "hosts": [ 17:52:39 "tcp://0.0.0.0:5555", 17:52:39 "unix:///var/run/docker.sock" 17:52:39 ], 17:52:39 "mtu": 1458, 17:52:39 "selinux-enabled": true, 17:52:39 "seccomp-profile": "/etc/docker/seccomp.json" 17:52:39 } [Pipeline] sh 17:52:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:52:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:58 provisioning config files... 17:52:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/41@tmp/config2713407384685567204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:58 ---> docker-login.sh 17:52:58 nexus3.edgexfoundry.org:10001 17:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:59 Configure a credential helper to remove this warning. See 17:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:59 17:52:59 Login Succeeded 17:52:59 nexus3.edgexfoundry.org:10002 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10003 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10004 17:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:01 Configure a credential helper to remove this warning. See 17:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:01 17:53:01 Login Succeeded 17:53:01 docker.io 17:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:02 Configure a credential helper to remove this warning. See 17:53:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:02 17:53:02 Login Succeeded 17:53:02 ---> docker-login.sh ends [Pipeline] } 17:53:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:02 ========================================================= 17:53:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:53:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:03 + 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 . 17:53:03 Sending build context to Docker daemon 543.7kB 17:53:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:53:03 Step 2/13 : FROM ${BASE} AS builder 17:53:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:03 b3c136eddcbf: Pulling fs layer 17:53:03 c0a3192eca97: Pulling fs layer 17:53:03 a050256f5b6f: Pulling fs layer 17:53:03 656be50a0ddc: Pulling fs layer 17:53:03 2bbca73fdf42: Pulling fs layer 17:53:03 46d945488cbd: Pulling fs layer 17:53:03 8a5474983e97: Pulling fs layer 17:53:03 329c88fbcd65: Pulling fs layer 17:53:03 2bbca73fdf42: Waiting 17:53:03 46d945488cbd: Waiting 17:53:03 8a5474983e97: Waiting 17:53:03 329c88fbcd65: Waiting 17:53:03 656be50a0ddc: Waiting 17:53:03 a050256f5b6f: Download complete 17:53:03 c0a3192eca97: Download complete 17:53:03 2bbca73fdf42: Verifying Checksum 17:53:03 2bbca73fdf42: Download complete 17:53:03 46d945488cbd: Verifying Checksum 17:53:03 46d945488cbd: Download complete 17:53:03 b3c136eddcbf: Verifying Checksum 17:53:03 b3c136eddcbf: Download complete 17:53:04 b3c136eddcbf: Pull complete 17:53:05 329c88fbcd65: Verifying Checksum 17:53:05 329c88fbcd65: Download complete 17:53:05 c0a3192eca97: Pull complete 17:53:06 a050256f5b6f: Pull complete 17:53:06 8a5474983e97: Verifying Checksum 17:53:06 8a5474983e97: Download complete 17:53:07 656be50a0ddc: Verifying Checksum 17:53:19 656be50a0ddc: Pull complete 17:53:19 2bbca73fdf42: Pull complete 17:53:20 46d945488cbd: Pull complete 17:53:26 8a5474983e97: Pull complete 17:53:28 329c88fbcd65: Pull complete 17:53:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:53:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:53:28 ---> ff4287adb874 17:53:28 Step 3/13 : ARG MAKE="make build" 17:53:29 ---> Running in 2f9161aa224f 17:53:30 Removing intermediate container 2f9161aa224f 17:53:30 ---> 507370af6939 17:53:30 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:53:30 ---> Running in a6ed977741e6 17:53:30 Removing intermediate container a6ed977741e6 17:53:30 ---> a6daf0dd951a 17:53:30 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:53:30 ---> Running in b6026793f191 17:53:30 Removing intermediate container b6026793f191 17:53:30 ---> 66fc0cf4f92a 17:53:30 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:30 ---> Running in 42936e90e3f2 17:53:32 Removing intermediate container 42936e90e3f2 17:53:32 ---> 09059dc36d0e 17:53:32 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:32 ---> Running in a0f1c02be1a3 17:53:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:53:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:53:36 (1/14) Installing libintl (0.21-r2) 17:53:36 (2/14) Installing eudev-libs (3.2.11-r0) 17:53:36 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:53:36 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:53:37 (5/14) Installing v4l-utils (1.22.1-r1) 17:53:37 (6/14) Installing udev-init-scripts (35-r0) 17:53:37 Executing udev-init-scripts-35-r0.post-install 17:53:37 (7/14) Installing libblkid (2.38-r1) 17:53:37 (8/14) Installing xz-libs (5.2.5-r1) 17:53:37 (9/14) Installing zstd-libs (1.5.2-r1) 17:53:37 (10/14) Installing kmod-libs (29-r2) 17:53:37 (11/14) Installing eudev (3.2.11-r0) 17:53:38 (12/14) Installing eudev-dev (3.2.11-r0) 17:53:38 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:53:38 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:53:38 Executing busybox-1.35.0-r13.trigger 17:53:38 Executing eudev-3.2.11-r0.trigger 17:53:38 OK: 228 MiB in 65 packages 17:53:39 Removing intermediate container a0f1c02be1a3 17:53:39 ---> dd16f1b2e6d7 17:53:39 Step 8/13 : WORKDIR /device-usb-camera 17:53:39 ---> Running in daff9b9f0f67 17:53:39 Removing intermediate container daff9b9f0f67 17:53:39 ---> be46e8ad6d82 17:53:39 Step 9/13 : COPY go.mod vendor* ./ 17:53:40 ---> b9f6ab35f02b 17:53:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:40 ---> Running in 3c0f974576a9 17:54:37 Removing intermediate container 3c0f974576a9 17:54:37 ---> 58d4369acf82 17:54:37 Step 11/13 : COPY . . 17:54:37 ---> eec334813ff8 17:54:37 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:54:37 ---> Running in b913841102e4 17:54:37  % Total % Received % Xferd Average Speed Time Time Time Current 17:54:37 Dload Upload Total Spent Left Speed 17:54:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14044 0 --:--:-- --:--:-- --:--:-- 14160 17:54:37 Removing intermediate container b913841102e4 17:54:37 ---> a1fba383027b 17:54:37 Step 13/13 : RUN ${MAKE} 17:54:37 ---> Running in 4d05cdce615a 17:54:37 noop 17:54:37 Removing intermediate container 4d05cdce615a 17:54:37 ---> b3fdf99109ba 17:54:37 Successfully built b3fdf99109ba 17:54:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:37 + docker inspect -f . ci-base-image-arm64 17:54:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:37 prd-ubuntu20.04-docker-arm64-4c-16g-22836 does not seem to be running inside a container 17:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/41 -v /w/workspace/device-usb-camera/41:/w/workspace/device-usb-camera/41:rw,z -v /w/workspace/device-usb-camera/41@tmp:/w/workspace/device-usb-camera/41@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 ******** ci-base-image-arm64 cat 17:54:39 $ docker top 0b480a6e736796bb7000bd663d8a5e7bd6f5e483b740e643c1b233ba23bbc785 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:40 + go version 17:54:40 go version go1.18.3 linux/arm64 [Pipeline] } 17:54:40 $ docker stop --time=1 0b480a6e736796bb7000bd663d8a5e7bd6f5e483b740e643c1b233ba23bbc785 17:54:41 $ docker rm -f 0b480a6e736796bb7000bd663d8a5e7bd6f5e483b740e643c1b233ba23bbc785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:42 + docker inspect -f . ci-base-image-arm64 17:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:42 prd-ubuntu20.04-docker-arm64-4c-16g-22836 does not seem to be running inside a container 17:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/41 -v /w/workspace/device-usb-camera/41:/w/workspace/device-usb-camera/41:rw,z -v /w/workspace/device-usb-camera/41@tmp:/w/workspace/device-usb-camera/41@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 ******** ci-base-image-arm64 cat 17:54:43 $ docker top df4c80a35e8acf7b8b060b803a1f0eb30a734a5f42fc37d4c68fa6ca505ccce3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:44 + git config --global --add safe.directory /w/workspace/device-usb-camera/41 [Pipeline] fileExists [Pipeline] sh 17:54:45 + make test 17:54:45 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:54:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:56:24 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:56:24 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.9% of statements 17:56:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:56:24 CGO_ENABLED=1 go vet ./... 17:56:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:56:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:56:46 ./bin/test-attribution-txt.sh [Pipeline] echo 17:56:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:56:46 $ docker stop --time=1 df4c80a35e8acf7b8b060b803a1f0eb30a734a5f42fc37d4c68fa6ca505ccce3 17:56:48 $ docker rm -f df4c80a35e8acf7b8b060b803a1f0eb30a734a5f42fc37d4c68fa6ca505ccce3 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:49 Warning: overwriting stash ‘coverage-report’ 17:56:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:56:50 + ls -al . 17:56:50 total 196 17:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 17:54 . 17:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 17:52 .. 17:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 17:52 .git 17:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:52 .github 17:56:50 -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 17:52 .gitignore 17:56:50 -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 17:52 .golangci.yml 17:56:50 -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 17:52 .hadolint.yml 17:56:50 -rw-rw-r-- 1 jenkins jenkins 9569 Aug 15 17:52 Attribution.txt 17:56:50 -rw-rw-r-- 1 jenkins jenkins 1206 Aug 15 17:52 CHANGELOG.md 17:56:50 -rw-rw-r-- 1 jenkins jenkins 2410 Aug 15 17:52 Dockerfile 17:56:50 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 17:52 GOVERNANCE.md 17:56:50 -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 17:52 Jenkinsfile 17:56:50 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 17:52 LICENSE 17:56:50 -rw-rw-r-- 1 jenkins jenkins 2345 Aug 15 17:52 Makefile 17:56:50 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 17:52 OWNERS.md 17:56:50 -rw-rw-r-- 1 jenkins jenkins 12817 Aug 15 17:52 README.md 17:56:50 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 17:49 VERSION 17:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 17:52 bin 17:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:52 cmd 17:56:50 -rw-r--r-- 1 jenkins jenkins 29387 Aug 15 17:56 coverage.out 17:56:50 -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 17:52 docker-entrypoint.sh 17:56:50 -rw-rw-r-- 1 jenkins jenkins 3606 Aug 15 17:52 go.mod 17:56:50 -rw-rw-r-- 1 jenkins jenkins 37073 Aug 15 17:52 go.sum 17:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 17:52 internal 17:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 17:52 snap 17:56:50 -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:51 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6ecb4ea0e477ad60250bc8b341b5035207dd0610 --label arch=arm64 --label version=2.3.0-dev.2 . 17:56:51 Sending build context to Docker daemon 574kB 17:56:51 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:56:51 Step 2/35 : FROM ${BASE} AS builder 17:56:51 ---> b3fdf99109ba 17:56:51 Step 3/35 : ARG MAKE="make build" 17:56:51 ---> Running in 7e2fc1f8915a 17:56:52 Removing intermediate container 7e2fc1f8915a 17:56:52 ---> 231bcf27a76f 17:56:52 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:56:52 ---> Running in 78c4178fd597 17:56:52 Removing intermediate container 78c4178fd597 17:56:52 ---> d17b490fc254 17:56:52 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:56:52 ---> Running in 5d590c321529 17:56:52 Removing intermediate container 5d590c321529 17:56:52 ---> ff766311d0b7 17:56:52 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:56:52 ---> Running in 017e0815d3d3 17:56:54 Removing intermediate container 017e0815d3d3 17:56:54 ---> 4a1a2791ca11 17:56:54 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:54 ---> Running in 7733b958acae 17:56:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:56:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:56:57 OK: 228 MiB in 65 packages 17:56:58 Removing intermediate container 7733b958acae 17:56:58 ---> 4db280714216 17:56:58 Step 8/35 : WORKDIR /device-usb-camera 17:56:58 ---> Running in 391aa8a1c08e 17:56:59 Removing intermediate container 391aa8a1c08e 17:56:59 ---> fcd798564304 17:56:59 Step 9/35 : COPY go.mod vendor* ./ 17:56:59 ---> df4ab14fc236 17:56:59 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:59 ---> Running in 545f180d0e86 17:57:01 Removing intermediate container 545f180d0e86 17:57:01 ---> b5ca471fef43 17:57:01 Step 11/35 : COPY . . 17:57:02 ---> ed10dd243efa 17:57:02 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:57:02 ---> Running in 17c3c7191159 17:57:03  % Total % Received % Xferd Average Speed  Time Time Time Current 17:57:03 Dload Upload Total Spent Left Speed 17:57:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14101 0 --:--:-- --:--:-- --:--:-- 14351 17:57:04 Removing intermediate container 17c3c7191159 17:57:04 ---> 1ebf3e061f90 17:57:04 Step 13/35 : RUN ${MAKE} 17:57:04 ---> Running in 30791c66ff9e 17:57:05 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:59:27 Removing intermediate container 30791c66ff9e 17:59:27 ---> 9aa90b1abf93 17:59:27 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:59:28 v0.18.4: Pulling from aler9/rtsp-simple-server 17:59:28 eab2503cf8f4: Pulling fs layer 17:59:28 97cd0a44c592: Pulling fs layer 17:59:28 97cd0a44c592: Verifying Checksum 17:59:28 97cd0a44c592: Download complete 17:59:28 eab2503cf8f4: Verifying Checksum 17:59:28 eab2503cf8f4: Download complete 17:59:29 eab2503cf8f4: Pull complete 17:59:29 97cd0a44c592: Pull complete 17:59:29 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:59:29 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:59:29 ---> 7f763cca56b3 17:59:29 Step 15/35 : FROM alpine:3.16 17:59:30 3.16: Pulling from library/alpine 17:59:30 9b18e9b68314: Pulling fs layer 17:59:30 9b18e9b68314: Verifying Checksum 17:59:30 9b18e9b68314: Download complete 17:59:31 9b18e9b68314: Pull complete 17:59:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:59:31 Status: Downloaded newer image for alpine:3.16 17:59:31 ---> a6215f271958 17:59:31 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:59:31 ---> Running in 620516ebb1f5 17:59:31 Removing intermediate container 620516ebb1f5 17:59:31 ---> c012beb58837 17:59:31 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:59:31 ---> Running in c43635544fdd 17:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:59:34 (1/82) Installing dumb-init (1.2.5-r1) 17:59:34 (2/82) Installing sdl2 (2.0.22-r0) 17:59:34 (3/82) Installing libxau (1.0.9-r0) 17:59:34 (4/82) Installing libxdmcp (1.1.3-r0) 17:59:34 (5/82) Installing libxcb (1.15-r0) 17:59:34 (6/82) Installing libx11 (1.8-r0) 17:59:34 (7/82) Installing aom-libs (3.3.0-r0) 17:59:34 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:59:34 (9/82) Installing expat (2.4.8-r0) 17:59:34 (10/82) Installing brotli-libs (1.0.9-r6) 17:59:34 (11/82) Installing libbz2 (1.0.8-r1) 17:59:34 (12/82) Installing libpng (1.6.37-r1) 17:59:34 (13/82) Installing freetype (2.12.1-r0) 17:59:34 (14/82) Installing fontconfig (2.14.0-r0) 17:59:34 (15/82) Installing fribidi (1.0.12-r0) 17:59:34 (16/82) Installing libffi (3.4.2-r1) 17:59:34 (17/82) Installing libintl (0.21-r2) 17:59:34 (18/82) Installing libblkid (2.38-r1) 17:59:34 (19/82) Installing libmount (2.38-r1) 17:59:34 (20/82) Installing pcre (8.45-r2) 17:59:34 (21/82) Installing glib (2.72.1-r0) 17:59:34 (22/82) Installing graphite2 (1.3.14-r1) 17:59:34 (23/82) Installing harfbuzz (4.3.0-r0) 17:59:34 (24/82) Installing libass (0.16.0-r0) 17:59:34 (25/82) Installing libdav1d (1.0.0-r0) 17:59:34 (26/82) Installing libdrm (2.4.110-r0) 17:59:34 (27/82) Installing gmp (6.2.1-r2) 17:59:34 (28/82) Installing nettle (3.7.3-r0) 17:59:34 (29/82) Installing p11-kit (0.24.1-r0) 17:59:34 (30/82) Installing libtasn1 (4.18.0-r0) 17:59:34 (31/82) Installing libunistring (1.0-r0) 17:59:35 (32/82) Installing gnutls (3.7.7-r0) 17:59:35 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:59:35 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:59:35 (35/82) Installing lame (3.100-r0) 17:59:35 (36/82) Installing opus (1.3.1-r1) 17:59:35 (37/82) Installing libasyncns (0.8-r1) 17:59:35 (38/82) Installing dbus-libs (1.14.0-r1) 17:59:35 (39/82) Installing libltdl (2.4.7-r0) 17:59:35 (40/82) Installing orc (0.4.32-r0) 17:59:35 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:59:35 (42/82) Installing libogg (1.3.5-r1) 17:59:35 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:59:35 (44/82) Installing flac (1.3.4-r0) 17:59:35 (45/82) Installing libvorbis (1.3.7-r0) 17:59:35 (46/82) Installing libsndfile (1.1.0-r0) 17:59:35 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:59:35 (48/82) Installing soxr (0.1.3-r2) 17:59:35 (49/82) Installing speexdsp (1.2.0-r0) 17:59:35 (50/82) Installing tdb-libs (1.4.6-r0) 17:59:35 (51/82) Installing libpulse (15.0-r2) 17:59:35 (52/82) Installing cjson (1.7.15-r3) 17:59:35 (53/82) Installing mbedtls (2.28.1-r0) 17:59:35 (54/82) Installing librist (0.2.6-r1) 17:59:35 (55/82) Installing libsrt (1.4.4-r0) 17:59:35 (56/82) Installing libssh (0.9.6-r1) 17:59:35 (57/82) Installing libtheora (1.1.1-r16) 17:59:35 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:59:35 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:59:35 (60/82) Installing libxext (1.3.4-r0) 17:59:35 (61/82) Installing libxfixes (6.0.0-r0) 17:59:35 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:59:35 (63/82) Installing libva (2.14.0-r0) 17:59:35 (64/82) Installing libvdpau (1.5-r0) 17:59:35 (65/82) Installing vidstab (1.1.0-r1) 17:59:35 (66/82) Installing libvpx (1.11.0-r1) 17:59:35 (67/82) Installing libwebp (1.2.3-r0) 17:59:35 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:59:35 (69/82) Installing numactl (2.0.14-r0) 17:59:35 (70/82) Installing x265-libs (3.5-r3) 17:59:35 (71/82) Installing xvidcore (1.3.7-r1) 17:59:35 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:59:36 (73/82) Installing ffmpeg (5.0.1-r1) 17:59:36 (74/82) Installing udev-init-scripts (35-r0) 17:59:36 Executing udev-init-scripts-35-r0.post-install 17:59:36 (75/82) Installing eudev-libs (3.2.11-r0) 17:59:36 (76/82) Installing xz-libs (5.2.5-r1) 17:59:36 (77/82) Installing zstd-libs (1.5.2-r1) 17:59:36 (78/82) Installing kmod-libs (29-r2) 17:59:36 (79/82) Installing eudev (3.2.11-r0) 17:59:36 (80/82) Installing libsodium (1.0.18-r0) 17:59:36 (81/82) Installing libzmq (4.3.4-r0) 17:59:36 (82/82) Installing zeromq (4.3.4-r0) 17:59:36 Executing busybox-1.35.0-r17.trigger 17:59:36 Executing eudev-3.2.11-r0.trigger 17:59:36 OK: 78 MiB in 96 packages 17:59:39 Removing intermediate container c43635544fdd 17:59:39 ---> 04cc266ab751 17:59:39 Step 18/35 : WORKDIR / 17:59:39 ---> Running in 78b4153dba3f 17:59:40 Removing intermediate container 78b4153dba3f 17:59:40 ---> 4c56b11a8aaf 17:59:40 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:59:41 ---> ea4e35e31ebf 17:59:41 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:59:42 ---> 37cb6d45bac9 17:59:42 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:59:42 ---> c7e4273ddeee 17:59:42 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:59:43 ---> 76e5a0091f68 17:59:43 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:59:44 ---> d072ff1cde76 17:59:44 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:59:44 ---> 5871f760dfb2 17:59:44 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:59:45 ---> 78d43c4a2d85 17:59:45 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:59:45 ---> Running in 73b38908a4a0 17:59:47 Removing intermediate container 73b38908a4a0 17:59:47 ---> 7048dc69b5ef 17:59:47 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:59:47 ---> Running in a160b32b5340 17:59:49 Removing intermediate container a160b32b5340 17:59:49 ---> 77b374a18b9f 17:59:49 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:59:49 ---> Running in c54a445f3e53 17:59:51 Removing intermediate container c54a445f3e53 17:59:51 ---> 6e809dc003dd 17:59:51 Step 29/35 : EXPOSE 59983 17:59:51 ---> Running in 06e9698452e2 17:59:51 Removing intermediate container 06e9698452e2 17:59:51 ---> fd8c22c29bd9 17:59:51 Step 30/35 : EXPOSE 8554 17:59:51 ---> Running in 4dfe5ed55da9 17:59:51 Removing intermediate container 4dfe5ed55da9 17:59:51 ---> b153e3c43387 17:59:51 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:59:51 ---> Running in 928878adfcc9 17:59:52 Removing intermediate container 928878adfcc9 17:59:52 ---> 9a3141113024 17:59:52 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:59:52 ---> Running in 081b2f069a3b 17:59:52 Removing intermediate container 081b2f069a3b 17:59:52 ---> 6e5708b06ac7 17:59:52 Step 33/35 : LABEL arch=arm64 17:59:52 ---> Running in 9ef95f27b3d2 17:59:53 Removing intermediate container 9ef95f27b3d2 17:59:53 ---> b490d196b2cb 17:59:53 Step 34/35 : LABEL git_sha=6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:59:53 ---> Running in 8431a3bb1697 17:59:53 Removing intermediate container 8431a3bb1697 17:59:53 ---> 9db4a1753826 17:59:53 Step 35/35 : LABEL version=2.3.0-dev.2 17:59:53 ---> Running in ce6ac4721c9a 17:59:53 Removing intermediate container ce6ac4721c9a 17:59:53 ---> 6d1b79efa719 17:59:53 [Warning] One or more build-args [ARCH] were not consumed 17:59:53 Successfully built 6d1b79efa719 17:59:53 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:54 provisioning config files... 17:59:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/41@tmp/config7482245026188658694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:54 ---> docker-login.sh 17:59:54 nexus3.edgexfoundry.org:10001 17:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:54 Configure a credential helper to remove this warning. See 17:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:54 17:59:54 Login Succeeded 17:59:54 nexus3.edgexfoundry.org:10002 17:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:55 Configure a credential helper to remove this warning. See 17:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:55 17:59:55 Login Succeeded 17:59:55 nexus3.edgexfoundry.org:10003 17:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:55 Configure a credential helper to remove this warning. See 17:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:55 17:59:55 Login Succeeded 17:59:55 nexus3.edgexfoundry.org:10004 17:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:56 Configure a credential helper to remove this warning. See 17:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:56 17:59:56 Login Succeeded 17:59:56 docker.io 17:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:59:57 Configure a credential helper to remove this warning. See 17:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:59:57 17:59:57 Login Succeeded 17:59:57 ---> docker-login.sh ends [Pipeline] } 17:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:59:57 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:59:57 6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:59:57 latest 17:59:57 2.3.0-dev.2 17:59:57 6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 17:59:57 main 17:59:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610 17:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:59:58 73f093646efd: Preparing 17:59:58 5dd9d827030c: Preparing 17:59:58 c34261954ed6: Preparing 17:59:58 a43932d1df72: Preparing 17:59:58 1207169bf42c: Preparing 17:59:58 03061bed494d: Preparing 17:59:58 b490716d7a5a: Preparing 17:59:58 d863ef1427a1: Preparing 17:59:58 30bea2d49a95: Preparing 17:59:58 19800a9a0d07: Preparing 17:59:58 2b5a63c09f1c: Preparing 17:59:58 5d3e392a13a0: Preparing 17:59:58 d863ef1427a1: Waiting 17:59:58 30bea2d49a95: Waiting 17:59:58 19800a9a0d07: Waiting 17:59:58 2b5a63c09f1c: Waiting 17:59:58 03061bed494d: Waiting 17:59:58 b490716d7a5a: Waiting 17:59:58 5d3e392a13a0: Waiting 17:59:58 1207169bf42c: Pushed 17:59:58 73f093646efd: Pushed 17:59:58 c34261954ed6: Pushed 17:59:58 5dd9d827030c: Pushed 17:59:58 03061bed494d: Pushed 17:59:58 b490716d7a5a: Pushed 17:59:58 d863ef1427a1: Pushed 17:59:58 30bea2d49a95: Pushed 17:59:58 5d3e392a13a0: Layer already exists 18:00:03 a43932d1df72: Pushed 18:00:05 19800a9a0d07: Pushed 18:00:17 2b5a63c09f1c: Pushed 18:00:17 6ecb4ea0e477ad60250bc8b341b5035207dd0610: digest: sha256:2197ec81313cc31416f124d8de96df84f5ca8b3089e905d79e992d4d820c0c86 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:17 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:00:18 73f093646efd: Preparing 18:00:18 5dd9d827030c: Preparing 18:00:18 c34261954ed6: Preparing 18:00:18 a43932d1df72: Preparing 18:00:18 1207169bf42c: Preparing 18:00:18 03061bed494d: Preparing 18:00:18 b490716d7a5a: Preparing 18:00:18 d863ef1427a1: Preparing 18:00:18 30bea2d49a95: Preparing 18:00:18 19800a9a0d07: Preparing 18:00:18 2b5a63c09f1c: Preparing 18:00:18 5d3e392a13a0: Preparing 18:00:18 03061bed494d: Waiting 18:00:18 b490716d7a5a: Waiting 18:00:18 30bea2d49a95: Waiting 18:00:18 19800a9a0d07: Waiting 18:00:18 2b5a63c09f1c: Waiting 18:00:18 5d3e392a13a0: Waiting 18:00:18 d863ef1427a1: Waiting 18:00:18 a43932d1df72: Layer already exists 18:00:18 5dd9d827030c: Layer already exists 18:00:18 c34261954ed6: Layer already exists 18:00:18 73f093646efd: Layer already exists 18:00:18 1207169bf42c: Layer already exists 18:00:18 03061bed494d: Layer already exists 18:00:18 d863ef1427a1: Layer already exists 18:00:18 30bea2d49a95: Layer already exists 18:00:18 b490716d7a5a: Layer already exists 18:00:18 19800a9a0d07: Layer already exists 18:00:18 5d3e392a13a0: Layer already exists 18:00:18 2b5a63c09f1c: Layer already exists 18:00:18 latest: digest: sha256:2197ec81313cc31416f124d8de96df84f5ca8b3089e905d79e992d4d820c0c86 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.2 18:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:00:19 73f093646efd: Preparing 18:00:19 5dd9d827030c: Preparing 18:00:19 c34261954ed6: Preparing 18:00:19 a43932d1df72: Preparing 18:00:19 1207169bf42c: Preparing 18:00:19 03061bed494d: Preparing 18:00:19 b490716d7a5a: Preparing 18:00:19 d863ef1427a1: Preparing 18:00:19 30bea2d49a95: Preparing 18:00:19 19800a9a0d07: Preparing 18:00:19 2b5a63c09f1c: Preparing 18:00:19 5d3e392a13a0: Preparing 18:00:19 03061bed494d: Waiting 18:00:19 b490716d7a5a: Waiting 18:00:19 d863ef1427a1: Waiting 18:00:19 30bea2d49a95: Waiting 18:00:19 19800a9a0d07: Waiting 18:00:19 2b5a63c09f1c: Waiting 18:00:19 5d3e392a13a0: Waiting 18:00:19 5dd9d827030c: Layer already exists 18:00:19 c34261954ed6: Layer already exists 18:00:19 a43932d1df72: Layer already exists 18:00:19 1207169bf42c: Layer already exists 18:00:19 73f093646efd: Layer already exists 18:00:19 b490716d7a5a: Layer already exists 18:00:19 03061bed494d: Layer already exists 18:00:19 30bea2d49a95: Layer already exists 18:00:19 d863ef1427a1: Layer already exists 18:00:19 19800a9a0d07: Layer already exists 18:00:19 5d3e392a13a0: Layer already exists 18:00:19 2b5a63c09f1c: Layer already exists 18:00:19 2.3.0-dev.2: digest: sha256:2197ec81313cc31416f124d8de96df84f5ca8b3089e905d79e992d4d820c0c86 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:19 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 18:00:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:00:20 73f093646efd: Preparing 18:00:20 5dd9d827030c: Preparing 18:00:20 c34261954ed6: Preparing 18:00:20 a43932d1df72: Preparing 18:00:20 1207169bf42c: Preparing 18:00:20 03061bed494d: Preparing 18:00:20 b490716d7a5a: Preparing 18:00:20 d863ef1427a1: Preparing 18:00:20 30bea2d49a95: Preparing 18:00:20 19800a9a0d07: Preparing 18:00:20 2b5a63c09f1c: Preparing 18:00:20 5d3e392a13a0: Preparing 18:00:20 03061bed494d: Waiting 18:00:20 b490716d7a5a: Waiting 18:00:20 30bea2d49a95: Waiting 18:00:20 d863ef1427a1: Waiting 18:00:20 19800a9a0d07: Waiting 18:00:20 5d3e392a13a0: Waiting 18:00:20 2b5a63c09f1c: Waiting 18:00:20 1207169bf42c: Layer already exists 18:00:20 73f093646efd: Layer already exists 18:00:20 c34261954ed6: Layer already exists 18:00:20 5dd9d827030c: Layer already exists 18:00:20 a43932d1df72: Layer already exists 18:00:20 b490716d7a5a: Layer already exists 18:00:20 30bea2d49a95: Layer already exists 18:00:20 d863ef1427a1: Layer already exists 18:00:20 19800a9a0d07: Layer already exists 18:00:20 03061bed494d: Layer already exists 18:00:20 2b5a63c09f1c: Layer already exists 18:00:20 5d3e392a13a0: Layer already exists 18:00:20 6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2: digest: sha256:2197ec81313cc31416f124d8de96df84f5ca8b3089e905d79e992d4d820c0c86 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:20 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:21 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 18:00:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:00:21 73f093646efd: Preparing 18:00:21 5dd9d827030c: Preparing 18:00:21 c34261954ed6: Preparing 18:00:21 a43932d1df72: Preparing 18:00:21 1207169bf42c: Preparing 18:00:21 03061bed494d: Preparing 18:00:21 b490716d7a5a: Preparing 18:00:21 d863ef1427a1: Preparing 18:00:21 30bea2d49a95: Preparing 18:00:21 19800a9a0d07: Preparing 18:00:21 2b5a63c09f1c: Preparing 18:00:21 5d3e392a13a0: Preparing 18:00:21 30bea2d49a95: Waiting 18:00:21 19800a9a0d07: Waiting 18:00:21 2b5a63c09f1c: Waiting 18:00:21 5d3e392a13a0: Waiting 18:00:21 03061bed494d: Waiting 18:00:21 d863ef1427a1: Waiting 18:00:21 b490716d7a5a: Waiting 18:00:21 1207169bf42c: Layer already exists 18:00:21 73f093646efd: Layer already exists 18:00:21 c34261954ed6: Layer already exists 18:00:21 a43932d1df72: Layer already exists 18:00:21 5dd9d827030c: Layer already exists 18:00:21 03061bed494d: Layer already exists 18:00:21 b490716d7a5a: Layer already exists 18:00:21 d863ef1427a1: Layer already exists 18:00:21 19800a9a0d07: Layer already exists 18:00:21 30bea2d49a95: Layer already exists 18:00:21 5d3e392a13a0: Layer already exists 18:00:21 2b5a63c09f1c: Layer already exists 18:00:21 main: digest: sha256:2197ec81313cc31416f124d8de96df84f5ca8b3089e905d79e992d4d820c0c86 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:00:21 ===================================================== [Pipeline] echo 18:00:21 taggedImages: 18:00:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610 18:00:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:00:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.2 18:00:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6ecb4ea0e477ad60250bc8b341b5035207dd0610-2.3.0-dev.2 18:00:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:21 18:00:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:22 arm64: Pulling from edgex-lftools-log-publisher 18:00:22 8998bd30e6a1: Pulling fs layer 18:00:22 04944245beec: Pulling fs layer 18:00:22 699f458cf7ca: Pulling fs layer 18:00:22 765212b225bb: Pulling fs layer 18:00:22 f23df028b6ca: Pulling fs layer 18:00:22 d65c8cfc05b1: Pulling fs layer 18:00:22 2437ff75d9bd: Pulling fs layer 18:00:22 f23df028b6ca: Waiting 18:00:22 d65c8cfc05b1: Waiting 18:00:22 765212b225bb: Waiting 18:00:22 2437ff75d9bd: Waiting 18:00:22 04944245beec: Verifying Checksum 18:00:22 04944245beec: Download complete 18:00:22 765212b225bb: Verifying Checksum 18:00:22 765212b225bb: Download complete 18:00:22 f23df028b6ca: Download complete 18:00:22 d65c8cfc05b1: Download complete 18:00:22 699f458cf7ca: Verifying Checksum 18:00:22 699f458cf7ca: Download complete 18:00:23 8998bd30e6a1: Verifying Checksum 18:00:23 8998bd30e6a1: Download complete 18:00:26 2437ff75d9bd: Verifying Checksum 18:00:26 2437ff75d9bd: Download complete 18:00:29 8998bd30e6a1: Pull complete 18:00:29 04944245beec: Pull complete 18:00:31 699f458cf7ca: Pull complete 18:00:31 765212b225bb: Pull complete 18:00:32 f23df028b6ca: Pull complete 18:00:32 d65c8cfc05b1: Pull complete 18:00:50 2437ff75d9bd: Pull complete 18:00:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:50 prd-ubuntu20.04-docker-arm64-4c-16g-22836 does not seem to be running inside a container 18:00:51 $ 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-usb-camera/41 -v /w/workspace/device-usb-camera/41:/w/workspace/device-usb-camera/41:rw,z -v /w/workspace/device-usb-camera/41@tmp:/w/workspace/device-usb-camera/41@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:00:52 $ docker top 14334d9c8323fa2e805c168136e3c45bb1c74a8e338331c6354e2f5c247cd330 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:53 ---> job-cost.sh 18:00:53 lf-activate-venv: SKIPPING 18:00:53 INFO: No Stack... 18:00:53 INFO: Retrieving Pricing Info for: v3-standard-4 18:00:54 INFO: Archiving Costs [Pipeline] sh 18:00:55 + cat /w/workspace/device-usb-camera/41/archives/cost.csv 18:00:55 + cut -d, -f6 [Pipeline] lock 18:00:55 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] 18:00:55 Resource [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] did not exist. Created. 18:00:55 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:00:56 /w/workspace/device-usb-camera/41@tmp/durable-c29f37f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:00:56 + echo total: 0.10999999940395355 [Pipeline] stash 18:00:56 Warning: overwriting stash ‘stack-cost’ 18:00:56 Stashed 1 file(s) [Pipeline] } 18:00:56 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 18:00:57 $ docker stop --time=1 14334d9c8323fa2e805c168136e3c45bb1c74a8e338331c6354e2f5c247cd330 18:00:58 $ docker rm -f 14334d9c8323fa2e805c168136e3c45bb1c74a8e338331c6354e2f5c247cd330 [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 18:00:59 provisioning config files... 18:00:59 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5185709204873538918tmp [Pipeline] { [Pipeline] sh 18:00:59 + set +x 18:00:59 + curl -s https://codecov.io/bash 18:00:59 + bash -s -- 18:00:59 18:00:59 _____ _ 18:00:59 / ____| | | 18:00:59 | | ___ __| | ___ ___ _____ __ 18:00:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:00:59 | |___| (_) | (_| | __/ (_| (_) \ V / 18:00:59 \_____\___/ \__,_|\___|\___\___/ \_/ 18:00:59 Bash-1.0.6 18:00:59 18:00:59 18:00:59 ==> git version 2.25.1 found 18:00:59 ==> 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 18:00:59 Release-Date: 2020-01-08 18:00:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:00:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:00:59 ==> Jenkins CI detected. 18:00:59 current dir:  /w/workspace/exfoundry_device-usb-camera_main 18:00:59 project root: . 18:00:59 --> token set from env 18:00:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:00:59 ==> Running gcov in . (disable via -X gcov) 18:00:59 ==> Python coveragepy not found 18:00:59 ==> Searching for coverage reports in: 18:00:59 + . 18:00:59 -> Found 1 reports 18:00:59 ==> Detecting git/mercurial file structure 18:00:59 ==> Reading reports 18:00:59 + ./coverage.out bytes=29387 18:00:59 ==> Appending adjustments 18:00:59 https://docs.codecov.io/docs/fixing-reports 18:00:59 + Found adjustments 18:00:59 ==> Gzipping contents 18:00:59 8.0K /tmp/codecov.IbwdkD.gz 18:00:59 ==> Uploading reports 18:00:59 url: https://codecov.io 18:00:59 query: branch=main&commit=6ecb4ea0e477ad60250bc8b341b5035207dd0610&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:00:59 -> Pinging Codecov 18:00:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=6ecb4ea0e477ad60250bc8b341b5035207dd0610&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:00:59 -> Uploading to 18:00:59 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/73D8F5FF140700D3E01443B452E23636/6ecb4ea0e477ad60250bc8b341b5035207dd0610/7ff55932-76c8-4b57-a49c-4b5a4ea505fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T180059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7dbfe9e9a212cbf352ee8cefa38d203b9021722773f92bada5e36598303360c 18:00:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:00:59 Dload Upload Total Spent Left Speed 18:01:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4139 0 0 100 4139 0 18233 --:--:-- --:--:-- --:--:-- 18233 18:01:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] } 18:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:01:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:01:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:01:00 18:01:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:01:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:01:00 df9b9388f04a: Pulling fs layer 18:01:00 52dc419b0ee2: Pulling fs layer 18:01:00 25bc292e5bac: Pulling fs layer 18:01:00 114826534d7a: Pulling fs layer 18:01:00 4657fd5d0bcf: Pulling fs layer 18:01:00 6ad1cebc031e: Pulling fs layer 18:01:00 8a3aa393b2d8: Pulling fs layer 18:01:00 114826534d7a: Waiting 18:01:00 4657fd5d0bcf: Waiting 18:01:00 6ad1cebc031e: Waiting 18:01:00 8a3aa393b2d8: Waiting 18:01:00 25bc292e5bac: Verifying Checksum 18:01:00 25bc292e5bac: Download complete 18:01:00 52dc419b0ee2: Verifying Checksum 18:01:00 52dc419b0ee2: Download complete 18:01:00 4657fd5d0bcf: Verifying Checksum 18:01:00 4657fd5d0bcf: Download complete 18:01:00 df9b9388f04a: Verifying Checksum 18:01:00 df9b9388f04a: Download complete 18:01:01 df9b9388f04a: Pull complete 18:01:01 6ad1cebc031e: Verifying Checksum 18:01:01 6ad1cebc031e: Download complete 18:01:01 52dc419b0ee2: Pull complete 18:01:01 25bc292e5bac: Pull complete 18:01:01 114826534d7a: Verifying Checksum 18:01:01 114826534d7a: Download complete 18:01:01 8a3aa393b2d8: Verifying Checksum 18:01:01 8a3aa393b2d8: Download complete 18:01:05 114826534d7a: Pull complete 18:01:05 4657fd5d0bcf: Pull complete 18:01:05 6ad1cebc031e: Pull complete 18:01:08 8a3aa393b2d8: Pull complete 18:01:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:01:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:09 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:01:10 $ docker top ab85f88b2b2ab1c2d05f5ee6f10e6ba0990ff3fc80867afe435b97fc8a580ffe -eo pid,comm [Pipeline] { [Pipeline] echo 18:01:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 18:01:10 + set -o pipefail 18:01:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 18:01:16 18:01:16 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 18:01:16 18:01:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/d28525dc-ecd1-4bdb-84cf-f296f6003a62 18:01:16 18:01:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:01:16 18:01:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:01:16 18:01:16 [Pipeline] } 18:01:16 $ docker stop --time=1 ab85f88b2b2ab1c2d05f5ee6f10e6ba0990ff3fc80867afe435b97fc8a580ffe 18:01:18 $ docker rm -f ab85f88b2b2ab1c2d05f5ee6f10e6ba0990ff3fc80867afe435b97fc8a580ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:19 + git log --format=format:%s -1 6ecb4ea0e477ad60250bc8b341b5035207dd0610 [Pipeline] sh 18:01:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:19 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:20 $ docker top f6e4a760734fc3467782704c2cc713a023fc8bca4b6ce720d03be0ce0c74c420 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:20 [ssh-agent] Looking for ssh-agent implementation... 18:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:20 $ docker exec f6e4a760734fc3467782704c2cc713a023fc8bca4b6ce720d03be0ce0c74c420 ssh-agent 18:01:20 SSH_AUTH_SOCK=/tmp/ssh-J8vfnYGodjyF/agent.33 18:01:20 SSH_AGENT_PID=39 18:01:20 Running ssh-add (command line suppressed) 18:01:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2037047955947060379.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2037047955947060379.key) 18:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:21 + git semver tag 18:01:21 2022-08-15 18:01:21,192 [run_tag] DEBUG tag force:False 18:01:21 2022-08-15 18:01:21,192 [check_head_tag] DEBUG check head tag 18:01:21 2022-08-15 18:01:21,193 [execute] INFO git cat-file --batch-check 18:01:21 2022-08-15 18:01:21,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:01:21 2022-08-15 18:01:21,197 [execute] INFO git cat-file --batch 18:01:21 2022-08-15 18:01:21,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:01:21 2022-08-15 18:01:21,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:21 2022-08-15 18:01:21,212 [execute] INFO git tag -a v2.3.0-dev.2 -m v2.3.0-dev.2 18:01:21 2022-08-15 18:01:21,212 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.2', '-m', 'v2.3.0-dev.2'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:01:21 2022-08-15 18:01:21,217 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:21 2.3.0-dev.2 [Pipeline] } 18:01:21 $ docker exec --env ******** --env ******** f6e4a760734fc3467782704c2cc713a023fc8bca4b6ce720d03be0ce0c74c420 ssh-agent -k 18:01:21 unset SSH_AUTH_SOCK; 18:01:21 unset SSH_AGENT_PID; 18:01:21 echo Agent pid 39 killed; 18:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:21 + git semver [Pipeline] } 18:01:21 $ docker stop --time=1 f6e4a760734fc3467782704c2cc713a023fc8bca4b6ce720d03be0ce0c74c420 18:01:23 $ docker rm -f f6e4a760734fc3467782704c2cc713a023fc8bca4b6ce720d03be0ce0c74c420 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:01:23 18:01:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:01:24 0.23.1-centos7: Pulling from edgex-lftools 18:01:24 ab5ef0e58194: Pulling fs layer 18:01:24 9712f1f96733: Pulling fs layer 18:01:24 63f879dbbcfc: Pulling fs layer 18:01:24 0d9ebad4ef96: Pulling fs layer 18:01:24 e9a5061849ea: Pulling fs layer 18:01:24 d747dcd14b5f: Pulling fs layer 18:01:24 2de7ff778b66: Pulling fs layer 18:01:24 0d9ebad4ef96: Waiting 18:01:24 e9a5061849ea: Waiting 18:01:24 d747dcd14b5f: Waiting 18:01:24 2de7ff778b66: Waiting 18:01:24 9712f1f96733: Verifying Checksum 18:01:24 9712f1f96733: Download complete 18:01:24 63f879dbbcfc: Verifying Checksum 18:01:24 63f879dbbcfc: Download complete 18:01:24 0d9ebad4ef96: Verifying Checksum 18:01:24 0d9ebad4ef96: Download complete 18:01:24 d747dcd14b5f: Download complete 18:01:24 e9a5061849ea: Verifying Checksum 18:01:24 e9a5061849ea: Download complete 18:01:24 ab5ef0e58194: Verifying Checksum 18:01:24 ab5ef0e58194: Download complete 18:01:24 2de7ff778b66: Verifying Checksum 18:01:24 2de7ff778b66: Download complete 18:01:28 ab5ef0e58194: Pull complete 18:01:28 9712f1f96733: Pull complete 18:01:28 63f879dbbcfc: Pull complete 18:01:32 0d9ebad4ef96: Pull complete 18:01:32 e9a5061849ea: Pull complete 18:01:32 d747dcd14b5f: Pull complete 18:01:33 2de7ff778b66: Pull complete 18:01:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:01:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:01:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:33 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:01:35 $ docker top b13e1491fd69be5a141bb5f2abdc8a56f79bcb09ccb4b21f478232a2234a3076 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:01:35 provisioning config files... 18:01:35 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3672707986667479498tmp 18:01:35 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6331133016717916503tmp 18:01:35 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3287145834275221609tmp [Pipeline] { [Pipeline] echo 18:01:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:01:36 ---> sigul-configuration.sh 18:01:36 gpg: directory `/root/.gnupg' created 18:01:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:01:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:01:36 gpg: keyring `/root/.gnupg/secring.gpg' created 18:01:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:01:36 gpg: CAST5 encrypted data 18:01:36 gpg: encrypted with 1 passphrase 18:01:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:01:36 + mkdir /home/jenkins 18:01:36 + mkdir /home/jenkins/sigul [Pipeline] sh 18:01:36 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:01:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:01:36 ---> sigul-install.sh 18:01:36 Sigul already installed; skipping installation. [Pipeline] sh 18:01:37 + git tag --list 18:01:37 v0.0.0 18:01:37 v0.0.1-dev.1 18:01:37 v0.0.1-dev.10 18:01:37 v0.0.1-dev.11 18:01:37 v0.0.1-dev.12 18:01:37 v0.0.1-dev.13 18:01:37 v0.0.1-dev.14 18:01:37 v0.0.1-dev.15 18:01:37 v0.0.1-dev.16 18:01:37 v0.0.1-dev.2 18:01:37 v0.0.1-dev.3 18:01:37 v0.0.1-dev.4 18:01:37 v0.0.1-dev.5 18:01:37 v0.0.1-dev.6 18:01:37 v0.0.1-dev.7 18:01:37 v0.0.1-dev.8 18:01:37 v0.0.1-dev.9 18:01:37 v2.2.0 18:01:37 v2.2.0-dev.17 18:01:37 v2.2.0-dev.18 18:01:37 v2.2.0-dev.19 18:01:37 v2.2.0-dev.20 18:01:37 v2.2.0-dev.21 18:01:37 v2.2.0-dev.22 18:01:37 v2.2.0-dev.23 18:01:37 v2.2.0-dev.24 18:01:37 v2.2.0-dev.25 18:01:37 v2.2.0-dev.26 18:01:37 v2.2.0-dev.27 18:01:37 v2.3.0-dev.1 18:01:37 v2.3.0-dev.2 [Pipeline] sh 18:01:37 + lftools sign git-tag v2.3.0-dev.2 18:01:38 Signing Git tag with Sigul... 18:01:38 Signing v2.3.0-dev.2 [Pipeline] echo 18:01:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:01:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:01:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:01:38 $ docker stop --time=1 b13e1491fd69be5a141bb5f2abdc8a56f79bcb09ccb4b21f478232a2234a3076 18:01:40 $ docker rm -f b13e1491fd69be5a141bb5f2abdc8a56f79bcb09ccb4b21f478232a2234a3076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:01:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:40 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:41 $ docker top e2da5d1ead51cdd2ad9fcb214f4d76806cc18c658832195d4db9771d110a8a30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:41 [ssh-agent] Looking for ssh-agent implementation... 18:01:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:41 $ docker exec e2da5d1ead51cdd2ad9fcb214f4d76806cc18c658832195d4db9771d110a8a30 ssh-agent 18:01:41 SSH_AUTH_SOCK=/tmp/ssh-xMV5UKim2M4g/agent.33 18:01:41 SSH_AGENT_PID=40 18:01:41 Running ssh-add (command line suppressed) 18:01:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1450096162648726277.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1450096162648726277.key) 18:01:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:42 + git semver bump pre 18:01:42 2022-08-15 18:01:42,272 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:42 2022-08-15 18:01:42,272 [bump_version] DEBUG bumping version:2.3.0-dev.2 on axis:pre with prefix:dev 18:01:42 2022-08-15 18:01:42,272 [bump_version] DEBUG bumped version:2.3.0-dev.3 18:01:42 2022-08-15 18:01:42,272 [write_version] DEBUG write version:2.3.0-dev.3 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 18:01:42 2022-08-15 18:01:42,272 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:42 2022-08-15 18:01:42,272 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:42 2022-08-15 18:01:42,274 [execute] INFO git cat-file --batch-check 18:01:42 2022-08-15 18:01:42,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:01:42 2022-08-15 18:01:42,279 [execute] INFO git cat-file --batch 18:01:42 2022-08-15 18:01:42,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:01:42 2022-08-15 18:01:42,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:42 2.3.0-dev.3 [Pipeline] } 18:01:42 $ docker exec --env ******** --env ******** e2da5d1ead51cdd2ad9fcb214f4d76806cc18c658832195d4db9771d110a8a30 ssh-agent -k 18:01:42 unset SSH_AUTH_SOCK; 18:01:42 unset SSH_AGENT_PID; 18:01:42 echo Agent pid 40 killed; 18:01:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:42 + git semver [Pipeline] } 18:01:43 $ docker stop --time=1 e2da5d1ead51cdd2ad9fcb214f4d76806cc18c658832195d4db9771d110a8a30 18:01:44 $ docker rm -f e2da5d1ead51cdd2ad9fcb214f4d76806cc18c658832195d4db9771d110a8a30 [Pipeline] // withDockerContainer [Pipeline] sh 18:01:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:45 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:45 $ docker top f124fc4ed5629858e5dbecd948d96cc070ca0dd0df5f9b2fccae54127e2d3db8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:45 [ssh-agent] Looking for ssh-agent implementation... 18:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:45 $ docker exec f124fc4ed5629858e5dbecd948d96cc070ca0dd0df5f9b2fccae54127e2d3db8 ssh-agent 18:01:45 SSH_AUTH_SOCK=/tmp/ssh-ZyANPU3DmFry/agent.33 18:01:45 SSH_AGENT_PID=39 18:01:45 Running ssh-add (command line suppressed) 18:01:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6502165987632995462.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6502165987632995462.key) 18:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:46 + git semver push 18:01:46 2022-08-15 18:01:46,470 [run_push] DEBUG push 18:01:46 2022-08-15 18:01:46,471 [execute] INFO git cat-file --batch-check 18:01:46 2022-08-15 18:01:46,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:01:46 2022-08-15 18:01:46,475 [execute] INFO git rev-list e423c5633b28bab388c02f5658a96acb56ed5580 -- 18:01:46 2022-08-15 18:01:46,475 [execute] DEBUG Popen(['git', 'rev-list', 'e423c5633b28bab388c02f5658a96acb56ed5580', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:01:46 2022-08-15 18:01:46,481 [execute] INFO git fetch -v origin 18:01:46 2022-08-15 18:01:46,481 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:01:47 2022-08-15 18:01:46,914 [run_push] DEBUG no remote changes detected 18:01:47 2022-08-15 18:01:46,914 [execute] INFO git push origin semver 18:01:47 2022-08-15 18:01:46,915 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:01:47 2022-08-15 18:01:47,607 [run_push] DEBUG push all version tags 18:01:47 2022-08-15 18:01:47,607 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:01:47 2022-08-15 18:01:47,608 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:01:48 2022-08-15 18:01:48,295 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:01:48 2.3.0-dev.3 [Pipeline] } 18:01:48 $ docker exec --env ******** --env ******** f124fc4ed5629858e5dbecd948d96cc070ca0dd0df5f9b2fccae54127e2d3db8 ssh-agent -k 18:01:48 unset SSH_AUTH_SOCK; 18:01:48 unset SSH_AGENT_PID; 18:01:48 echo Agent pid 39 killed; 18:01:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:49 + git semver [Pipeline] } 18:01:49 $ docker stop --time=1 f124fc4ed5629858e5dbecd948d96cc070ca0dd0df5f9b2fccae54127e2d3db8 18:01:50 $ docker rm -f f124fc4ed5629858e5dbecd948d96cc070ca0dd0df5f9b2fccae54127e2d3db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 18:01:51 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 18:01:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:01:51 total 16 18:01:51 drwxr-xr-x 3 root root 4096 Aug 15 17:51 . 18:01:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 18:01 .. 18:01:51 drwxr-xr-x 2 root root 4096 Aug 15 17:51 cost 18:01:51 -rw-r--r-- 1 root root 88 Aug 15 17:51 cost.csv 18:01:51 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 18:01:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:01:51 total 16 18:01:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 17:51 . 18:01:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 18:01 .. 18:01:51 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 17:51 cost 18:01:51 -rw-r--r-- 1 jenkins jenkins 88 Aug 15 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:01:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:52 ---> package-listing.sh 18:01:52 ++ facter osfamily 18:01:52 ++ tr '[:upper:]' '[:lower:]' 18:01:52 + OS_FAMILY=debian 18:01:52 + workspace=/w/workspace/exfoundry_device-usb-camera_main 18:01:52 + START_PACKAGES=/tmp/packages_start.txt 18:01:52 + END_PACKAGES=/tmp/packages_end.txt 18:01:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:52 + PACKAGES=/tmp/packages_start.txt 18:01:52 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:01:52 + PACKAGES=/tmp/packages_end.txt 18:01:52 + case "${OS_FAMILY}" in 18:01:52 + dpkg -l 18:01:52 + grep '^ii' 18:01:52 + '[' -f /tmp/packages_start.txt ']' 18:01:52 + '[' -f /tmp/packages_end.txt ']' 18:01:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:52 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:01:52 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 18:01:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 18:01:52 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:01:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:53 prd-ubuntu20.04-docker-8c-8g-22834 does not seem to be running inside a container 18:01:53 $ 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:01:53 $ docker top c606ac45cc4869d753fa99ba632b0a3c9697d7b19e95550d6c22393b99e24c4a -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:54 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:54 + mkdir -p /var/log/sysstat [Pipeline] sh 18:01:54 + ls /var/log/sa-host 18:01:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:54 provisioning config files... 18:01:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2420564831898720060tmp [Pipeline] { [Pipeline] echo 18:01:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:55 ---> create-netrc.sh [Pipeline] } 18:01:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:01:55 ---> python-tools-install.sh [Pipeline] echo 18:01:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:55 ---> sudo-logs.sh 18:01:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:01:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:56 ---> job-cost.sh 18:01:56 lf-activate-venv: SKIPPING 18:01:56 DEBUG: total: 0.2199999988079071 18:01:56 INFO: Retrieving Stack Cost... 18:01:56 INFO: Retrieving Pricing Info for: v3-standard-8 18:01:57 INFO: Archiving Costs [Pipeline] echo 18:01:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:01:57 ---> logs-deploy.sh 18:01:57 lf-activate-venv: SKIPPING 18:01:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/41 18:01:57 INFO: archiving workspace using pattern(s): 18:01:58 Archives upload complete. 18:01:58 INFO: archiving logs to Nexus