Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b346198c17a3ebf2419cb456fdaded435ad8b044 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-ssh16392457359868769880.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7514132713588342100.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh12526572947389191458.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18121854445138553929.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh7568799948674947348.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8061’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8060’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8063 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 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b346198c17a3ebf2419cb456fdaded435ad8b044 (main) Commit message: "feat(snap): add config interface with unique identifier (#103)" > 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 b346198c17a3ebf2419cb456fdaded435ad8b044 # timeout=10 > git rev-list --no-walk e381fef93e2e423e063e21a7b547118aa6f1cf75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:14:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:29 ========================================================= 09:14:29 EdgeX Global Pipelines Version Info 09:14:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:30 ------------------- 09:14:30 stable info: 09:14:30 ------------------- 09:14:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:14:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:14:30 Message: update stable to v1.0.239 09:14:30 ------------------- 09:14:30 experimental info: 09:14:30 ------------------- 09:14:30 Commited By: **** collab-it+edgex@linuxfoundation.org 09:14:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:14:30 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b346198 [Pipeline] echo 09:14:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:31 provisioning config files... 09:14:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2476770882206367997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:31 ---> docker-login.sh 09:14:31 nexus3.edgexfoundry.org:10001 09:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:31 Configure a credential helper to remove this warning. See 09:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:31 09:14:31 Login Succeeded 09:14:31 nexus3.edgexfoundry.org:10002 09:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:31 Configure a credential helper to remove this warning. See 09:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:31 09:14:31 Login Succeeded 09:14:31 nexus3.edgexfoundry.org:10003 09:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:32 Configure a credential helper to remove this warning. See 09:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:32 09:14:32 Login Succeeded 09:14:32 nexus3.edgexfoundry.org:10004 09:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:32 Configure a credential helper to remove this warning. See 09:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:32 09:14:32 Login Succeeded 09:14:32 docker.io 09:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:32 Configure a credential helper to remove this warning. See 09:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:32 09:14:32 Login Succeeded 09:14:32 ---> docker-login.sh ends [Pipeline] } 09:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:14:33 + git rev-list -1 --merges b346198c17a3ebf2419cb456fdaded435ad8b044~1..b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] echo 09:14:33 -----------> git rev-list -1 --merges b346198c17a3ebf2419cb456fdaded435ad8b044~1..b346198c17a3ebf2419cb456fdaded435ad8b044 b346198c17a3ebf2419cb456fdaded435ad8b044 [false] [Pipeline] sh 09:14:33 + git log --format=format:%s -1 b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] echo 09:14:33 ========================================================= 09:14:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:33 + git log --format=format:%s -1 b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] echo 09:14:33 [semverPrep] GIT_COMMIT: b346198c17a3ebf2419cb456fdaded435ad8b044, Commit Message: feat(snap): add config interface with unique identifier (#103) [Pipeline] echo 09:14:33 [semverPrep] This is not a build commit. [Pipeline] sh 09:14:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:34 + grep -v github /etc/ssh/ssh_known_hosts 09:14:34 + [ -e /tmp/ssh_known_hosts ] 09:14:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:14:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:14:34 + sudo tee -a /etc/ssh/ssh_known_hosts 09:14:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:34 09:14:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:34 0.1.4: Pulling from edgex-devops/py-git-semver 09:14:34 b85a868b505f: Pulling fs layer 09:14:34 e2be974225ed: Pulling fs layer 09:14:34 339a4e72a1f5: Pulling fs layer 09:14:34 988bab9f4d93: Pulling fs layer 09:14:34 1469e6f7b9e6: Pulling fs layer 09:14:34 eaf3925da568: Pulling fs layer 09:14:34 bab4dde63d76: Pulling fs layer 09:14:34 bde34c3a00c8: Pulling fs layer 09:14:34 b352a97aabf1: Pulling fs layer 09:14:34 4872d77fe225: Pulling fs layer 09:14:34 988bab9f4d93: Waiting 09:14:34 1469e6f7b9e6: Waiting 09:14:34 b352a97aabf1: Waiting 09:14:34 eaf3925da568: Waiting 09:14:34 bab4dde63d76: Waiting 09:14:34 bde34c3a00c8: Waiting 09:14:34 5851b861e8e6: Pulling fs layer 09:14:34 4872d77fe225: Waiting 09:14:34 5851b861e8e6: Waiting 09:14:34 e2be974225ed: Download complete 09:14:34 988bab9f4d93: Download complete 09:14:34 1469e6f7b9e6: Verifying Checksum 09:14:34 1469e6f7b9e6: Download complete 09:14:34 eaf3925da568: Verifying Checksum 09:14:34 eaf3925da568: Download complete 09:14:34 339a4e72a1f5: Verifying Checksum 09:14:34 339a4e72a1f5: Download complete 09:14:34 bde34c3a00c8: Download complete 09:14:34 b352a97aabf1: Download complete 09:14:34 4872d77fe225: Verifying Checksum 09:14:34 4872d77fe225: Download complete 09:14:34 5851b861e8e6: Verifying Checksum 09:14:34 5851b861e8e6: Download complete 09:14:34 b85a868b505f: Download complete 09:14:35 bab4dde63d76: Verifying Checksum 09:14:35 bab4dde63d76: Download complete 09:14:36 b85a868b505f: Pull complete 09:14:36 e2be974225ed: Pull complete 09:14:36 339a4e72a1f5: Pull complete 09:14:37 988bab9f4d93: Pull complete 09:14:37 1469e6f7b9e6: Pull complete 09:14:37 eaf3925da568: Pull complete 09:14:39 bab4dde63d76: Pull complete 09:14:39 bde34c3a00c8: Pull complete 09:14:39 b352a97aabf1: Pull complete 09:14:39 4872d77fe225: Pull complete 09:14:39 5851b861e8e6: Pull complete 09:14:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:14:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:39 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:14:39 $ 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 09:14:41 $ docker top 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab -eo pid,comm 09:14:41 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). 09:14:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:41 [ssh-agent] Looking for ssh-agent implementation... 09:14:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:42 $ docker exec 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab ssh-agent 09:14:42 SSH_AUTH_SOCK=/tmp/ssh-sScNrZmCKFnf/agent.32 09:14:42 SSH_AGENT_PID=38 09:14:42 Running ssh-add (command line suppressed) 09:14:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13703977558971191954.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13703977558971191954.key) 09:14:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:42 + git tag --points-at HEAD [Pipeline] } 09:14:42 $ docker exec --env ******** --env ******** 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab ssh-agent -k 09:14:42 unset SSH_AUTH_SOCK; 09:14:42 unset SSH_AGENT_PID; 09:14:42 echo Agent pid 38 killed; 09:14:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:42 [ssh-agent] Looking for ssh-agent implementation... 09:14:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:42 $ docker exec 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab ssh-agent 09:14:42 SSH_AUTH_SOCK=/tmp/ssh-sN6XsgTbbZSG/agent.71 09:14:42 SSH_AGENT_PID=77 09:14:42 Running ssh-add (command line suppressed) 09:14:43 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11738967097413029196.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11738967097413029196.key) 09:14:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:43 + git semver init 09:14:43 2022-10-17 09:14:43,511 [run_init] DEBUG init version:0.0.0 force:False 09:14:43 2022-10-17 09:14:43,512 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 09:14:43 2022-10-17 09:14:43,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 09:14:43 2022-10-17 09:14:43,512 [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) 09:14:44 2022-10-17 09:14:44,317 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 09:14:44 2022-10-17 09:14:44,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 09:14:44 2022-10-17 09:14:44,318 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:14:44 2022-10-17 09:14:44,318 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:14:44 2.3.0-dev.16 [Pipeline] } 09:14:44 $ docker exec --env ******** --env ******** 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab ssh-agent -k 09:14:44 unset SSH_AUTH_SOCK; 09:14:44 unset SSH_AGENT_PID; 09:14:44 echo Agent pid 77 killed; 09:14:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:44 + git semver [Pipeline] } 09:14:45 $ docker stop --time=1 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab 09:14:46 $ docker rm -f 5d61d69e576e3a5580912d7609752863790328e41cb5a3386e465bdda26312ab [Pipeline] // withDockerContainer [Pipeline] sh 09:14:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:47 Stashed 1 file(s) [Pipeline] echo 09:14:47 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [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 09:14:47 provisioning config files... 09:14:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6796979359223715289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:47 ---> docker-login.sh 09:14:47 nexus3.edgexfoundry.org:10001 09:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:47 Configure a credential helper to remove this warning. See 09:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:47 09:14:47 Login Succeeded 09:14:47 nexus3.edgexfoundry.org:10002 09:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:47 Configure a credential helper to remove this warning. See 09:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:47 09:14:47 Login Succeeded 09:14:47 nexus3.edgexfoundry.org:10003 09:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:47 Configure a credential helper to remove this warning. See 09:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:47 09:14:47 Login Succeeded 09:14:47 nexus3.edgexfoundry.org:10004 09:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:47 Configure a credential helper to remove this warning. See 09:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:47 09:14:47 Login Succeeded 09:14:47 docker.io 09:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:48 Configure a credential helper to remove this warning. See 09:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:48 09:14:48 Login Succeeded 09:14:48 ---> docker-login.sh ends [Pipeline] } 09:14:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:48 ========================================================= 09:14:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:14:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:48 + 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 . 09:14:48 Sending build context to Docker daemon 1.503MB 09:14:48 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 09:14:48 Step 2/14 : FROM ${BASE} AS builder 09:14:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:48 213ec9aee27d: Pulling fs layer 09:14:48 4583459ba037: Pulling fs layer 09:14:48 93c1e223e6f2: Pulling fs layer 09:14:48 53926ce57604: Pulling fs layer 09:14:48 21b2b0c7a3f4: Pulling fs layer 09:14:48 30f14e443154: Pulling fs layer 09:14:48 801331c1e519: Pulling fs layer 09:14:48 99cc6dd402b0: Pulling fs layer 09:14:48 7d9ed39f4882: Pulling fs layer 09:14:48 21b2b0c7a3f4: Waiting 09:14:48 30f14e443154: Waiting 09:14:48 801331c1e519: Waiting 09:14:48 53926ce57604: Waiting 09:14:48 99cc6dd402b0: Waiting 09:14:48 7d9ed39f4882: Waiting 09:14:48 93c1e223e6f2: Verifying Checksum 09:14:48 93c1e223e6f2: Download complete 09:14:48 4583459ba037: Download complete 09:14:48 21b2b0c7a3f4: Verifying Checksum 09:14:48 21b2b0c7a3f4: Download complete 09:14:49 30f14e443154: Download complete 09:14:49 213ec9aee27d: Verifying Checksum 09:14:49 213ec9aee27d: Download complete 09:14:49 801331c1e519: Verifying Checksum 09:14:49 801331c1e519: Download complete 09:14:49 213ec9aee27d: Pull complete 09:14:49 4583459ba037: Pull complete 09:14:49 93c1e223e6f2: Pull complete 09:14:49 7d9ed39f4882: Verifying Checksum 09:14:49 7d9ed39f4882: Download complete 09:14:49 99cc6dd402b0: Verifying Checksum 09:14:49 99cc6dd402b0: Download complete 09:14:50 53926ce57604: Verifying Checksum 09:14:50 53926ce57604: Download complete 09:14:54 53926ce57604: Pull complete 09:14:54 21b2b0c7a3f4: Pull complete 09:14:54 30f14e443154: Pull complete 09:14:54 801331c1e519: Pull complete 09:14:56 99cc6dd402b0: Pull complete 09:14:57 7d9ed39f4882: Pull complete 09:14:57 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:14:57 ---> 1dedd983c030 09:14:57 Step 3/14 : ARG ADD_BUILD_TAGS="" 09:15:00 ---> Running in 9760491c415d 09:15:00 Removing intermediate container 9760491c415d 09:15:00 ---> b0ab445ae8a9 09:15:00 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:15:00 ---> Running in ba7a7e1920d2 09:15:00 Removing intermediate container ba7a7e1920d2 09:15:00 ---> dfe57d16649f 09:15:00 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:15:00 ---> Running in 763de0391061 09:15:00 Removing intermediate container 763de0391061 09:15:00 ---> f5e8882b0962 09:15:00 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:15:00 ---> Running in e876a8bf563b 09:15:00 Removing intermediate container e876a8bf563b 09:15:00 ---> 5a6d5f378d89 09:15:00 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:00 ---> Running in 752266fc8b01 09:15:01 Removing intermediate container 752266fc8b01 09:15:01 ---> 86b0e82dc675 09:15:01 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:01 ---> Running in 766ba422e2d2 09:15:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:15:02 Still waiting to schedule task 09:15:02 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:15:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8064’ is offline 09:15:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:15:02 (1/80) Installing mesa (21.3.8-r2) 09:15:02 (2/80) Installing libxau (1.0.9-r0) 09:15:02 (3/80) Installing libxdmcp (1.1.3-r0) 09:15:02 (4/80) Installing libxcb (1.15-r0) 09:15:02 (5/80) Installing libx11 (1.8-r0) 09:15:02 (6/80) Installing libxext (1.3.4-r0) 09:15:03 (7/80) Installing libxfixes (6.0.0-r0) 09:15:03 (8/80) Installing libxxf86vm (1.1.4-r2) 09:15:03 (9/80) Installing libpciaccess (0.16-r0) 09:15:03 (10/80) Installing libdrm (2.4.110-r0) 09:15:03 (11/80) Installing mesa-glapi (21.3.8-r2) 09:15:03 (12/80) Installing libxshmfence (1.3-r1) 09:15:03 (13/80) Installing mesa-gl (21.3.8-r2) 09:15:03 (14/80) Installing icu-data-full (71.1-r2) 09:15:04 (15/80) Installing libice (1.0.10-r0) 09:15:04 (16/80) Installing libuuid (2.38-r1) 09:15:04 (17/80) Installing libsm (1.2.3-r0) 09:15:04 (18/80) Installing libxt (1.2.1-r0) 09:15:04 (19/80) Installing libxmu (1.1.3-r0) 09:15:05 (20/80) Installing xset (1.2.4-r0) 09:15:05 (21/80) Installing xprop (1.2.5-r0) 09:15:05 (22/80) Installing xdg-utils (1.1.3-r3) 09:15:05 (23/80) Installing dbus-libs (1.14.4-r0) 09:15:05 (24/80) Installing libffi (3.4.2-r1) 09:15:05 (25/80) Installing libintl (0.21-r2) 09:15:05 (26/80) Installing libblkid (2.38-r1) 09:15:05 (27/80) Installing libmount (2.38-r1) 09:15:05 (28/80) Installing pcre (8.45-r2) 09:15:05 (29/80) Installing glib (2.72.1-r0) 09:15:05 (30/80) Installing icu-libs (71.1-r2) 09:15:06 (31/80) Installing libpcre2-16 (10.40-r0) 09:15:06 (32/80) Installing zstd-libs (1.5.2-r1) 09:15:06 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 09:15:06 (34/80) Installing hicolor-icon-theme (0.17-r1) 09:15:06 (35/80) Installing wayland-libs-server (1.20.0-r0) 09:15:07 (36/80) Installing mesa-gbm (21.3.8-r2) 09:15:07 (37/80) Installing wayland-libs-client (1.20.0-r0) 09:15:07 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 09:15:07 (39/80) Installing libxcomposite (0.4.5-r0) 09:15:07 (40/80) Installing libbz2 (1.0.8-r1) 09:15:07 (41/80) Installing libpng (1.6.37-r1) 09:15:07 (42/80) Installing freetype (2.12.1-r0) 09:15:07 (43/80) Installing fontconfig (2.14.0-r0) 09:15:08 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 09:15:08 (45/80) Installing wayland-libs-egl (1.20.0-r0) 09:15:08 (46/80) Installing xkeyboard-config (2.35.1-r0) 09:15:08 (47/80) Installing xz-libs (5.2.5-r1) 09:15:08 (48/80) Installing libxml2 (2.9.14-r2) 09:15:08 (49/80) Installing libxkbcommon (1.4.1-r0) 09:15:08 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 09:15:08 (51/80) Installing mesa-egl (21.3.8-r2) 09:15:08 (52/80) Installing avahi-libs (0.8-r6) 09:15:08 (53/80) Installing nettle (3.7.3-r0) 09:15:09 (54/80) Installing p11-kit (0.24.1-r0) 09:15:09 (55/80) Installing libtasn1 (4.18.0-r0) 09:15:09 (56/80) Installing libunistring (1.0-r0) 09:15:09 (57/80) Installing gnutls (3.7.7-r0) 09:15:09 (58/80) Installing cups-libs (2.4.2-r0) 09:15:09 (59/80) Installing graphite2 (1.3.14-r1) 09:15:09 (60/80) Installing harfbuzz (4.3.0-r0) 09:15:09 (61/80) Installing libevdev (1.12.1-r0) 09:15:09 (62/80) Installing mtdev (1.1.6-r0) 09:15:09 (63/80) Installing eudev-libs (3.2.11-r0) 09:15:09 (64/80) Installing libinput-libs (1.20.1-r0) 09:15:10 (65/80) Installing libjpeg-turbo (2.1.3-r1) 09:15:10 (66/80) Installing xcb-util-wm (0.4.1-r1) 09:15:10 (67/80) Installing xcb-util (0.4.0-r3) 09:15:10 (68/80) Installing xcb-util-image (0.4.0-r1) 09:15:10 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 09:15:10 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 09:15:10 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 09:15:11 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 09:15:12 (73/80) Installing v4l-utils-libs (1.22.1-r1) 09:15:12 (74/80) Installing v4l-utils (1.22.1-r1) 09:15:12 (75/80) Installing udev-init-scripts (35-r0) 09:15:12 Executing udev-init-scripts-35-r0.post-install 09:15:12 (76/80) Installing kmod-libs (29-r2) 09:15:12 (77/80) Installing eudev (3.2.11-r0) 09:15:12 (78/80) Installing eudev-dev (3.2.11-r0) 09:15:12 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:15:12 (80/80) Installing v4l-utils-dev (1.22.1-r1) 09:15:12 Executing busybox-1.35.0-r17.trigger 09:15:12 Executing eudev-3.2.11-r0.trigger 09:15:12 OK: 330 MiB in 131 packages 09:15:15 Removing intermediate container 766ba422e2d2 09:15:15 ---> 74a3b9f87edb 09:15:15 Step 9/14 : WORKDIR /device-usb-camera 09:15:15 ---> Running in 982fde237344 09:15:15 Removing intermediate container 982fde237344 09:15:15 ---> 03c6c9e668a1 09:15:15 Step 10/14 : COPY go.mod vendor* ./ 09:15:15 ---> 468d8c4900df 09:15:15 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:15 ---> Running in 643865d445de 09:15:33 Removing intermediate container 643865d445de 09:15:33 ---> 72a8b5e16a76 09:15:33 Step 12/14 : COPY . . 09:15:33 ---> 80d04f973e6b 09:15:33 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:15:33 ---> Running in cfdf018f9a99 09:15:33  % Total % Received % Xferd Average Speed Time Time Time Current 09:15:33 Dload Upload Total Spent Left Speed 09:15:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9725 0 --:--:-- --:--:-- --:--:-- 9743 09:15:33 Removing intermediate container cfdf018f9a99 09:15:33 ---> d027eca317a5 09:15:33 Step 14/14 : RUN ${MAKE} 09:15:33 ---> Running in 97fc3d6a72c5 09:15:33 noop 09:15:34 Removing intermediate container 97fc3d6a72c5 09:15:34 ---> 940c4114c7a8 09:15:34 Successfully built 940c4114c7a8 09:15:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:34 + docker inspect -f . ci-base-image-x86_64 09:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:34 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:15:34 $ 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 09:15:34 $ docker top 032b83c9ffe622f768057dc35976897ea7c4bfad69c4d0a3a944e4f55cc88c95 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:35 + go version 09:15:35 go version go1.18.7 linux/amd64 [Pipeline] } 09:15:35 $ docker stop --time=1 032b83c9ffe622f768057dc35976897ea7c4bfad69c4d0a3a944e4f55cc88c95 09:15:36 $ docker rm -f 032b83c9ffe622f768057dc35976897ea7c4bfad69c4d0a3a944e4f55cc88c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:36 + docker inspect -f . ci-base-image-x86_64 09:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:37 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:15:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 09:15:37 $ docker top 3aa9497e6a671fde070f899c7d74052b5dff0b149c910fed3d8edbb491afb36a -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 09:15:38 + make test 09:15:38 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:15:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:15:48 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:15:48 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 09:15:56 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." 09:15:56 CGO_ENABLED=1 go vet ./... 09:16:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:00 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:16:00 $ docker stop --time=1 3aa9497e6a671fde070f899c7d74052b5dff0b149c910fed3d8edbb491afb36a 09:16:02 $ docker rm -f 3aa9497e6a671fde070f899c7d74052b5dff0b149c910fed3d8edbb491afb36a [Pipeline] // withDockerContainer [Pipeline] sh 09:16:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:16:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:03 + ls -al . 09:16:03 total 196 09:16:03 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:15 . 09:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:14 .. 09:16:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:15 .git 09:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:14 .github 09:16:03 -rw-rw-r-- 1 jenkins jenkins 414 Oct 17 09:14 .gitignore 09:16:03 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 09:14 .golangci.yml 09:16:03 -rw-rw-r-- 1 jenkins jenkins 77 Oct 17 09:14 .hadolint.yml 09:16:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:14 .semver 09:16:03 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 17 09:14 Attribution.txt 09:16:03 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 17 09:14 CHANGELOG.md 09:16:03 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 17 09:14 Dockerfile 09:16:03 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 09:14 GOVERNANCE.md 09:16:03 -rw-rw-r-- 1 jenkins jenkins 659 Oct 17 09:14 Jenkinsfile 09:16:03 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 09:14 LICENSE 09:16:03 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 17 09:14 Makefile 09:16:03 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:14 OWNERS.md 09:16:03 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 17 09:14 README.md 09:16:03 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:14 VERSION 09:16:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:14 bin 09:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:14 cmd 09:16:03 -rw-r--r-- 1 jenkins jenkins 29387 Oct 17 09:15 coverage.out 09:16:03 -rwxrwxr-x 1 jenkins jenkins 140 Oct 17 09:14 docker-entrypoint.sh 09:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:14 docs 09:16:03 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 17 09:14 go.mod 09:16:03 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 17 09:14 go.sum 09:16:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:14 internal 09:16:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:14 snap 09:16:03 -rw-rw-r-- 1 jenkins jenkins 231 Oct 17 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:04 + 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=b346198c17a3ebf2419cb456fdaded435ad8b044 --label arch=amd64 --label version=2.3.0-dev.16 . 09:16:04 Sending build context to Docker daemon 1.533MB 09:16:04 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 09:16:04 Step 2/36 : FROM ${BASE} AS builder 09:16:04 ---> 940c4114c7a8 09:16:04 Step 3/36 : ARG ADD_BUILD_TAGS="" 09:16:04 ---> Running in 4dfd199d9921 09:16:04 Removing intermediate container 4dfd199d9921 09:16:04 ---> d77011382455 09:16:04 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:16:04 ---> Running in 105a5e855bb0 09:16:04 Removing intermediate container 105a5e855bb0 09:16:04 ---> 71c2dbda09d3 09:16:04 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:16:04 ---> Running in 43efa286108c 09:16:04 Removing intermediate container 43efa286108c 09:16:04 ---> 8a707f293b86 09:16:04 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:16:04 ---> Running in 2ad9ac64bb9f 09:16:04 Removing intermediate container 2ad9ac64bb9f 09:16:04 ---> d637198cc9cf 09:16:04 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:04 ---> Running in 3c394ab9a703 09:16:04 Removing intermediate container 3c394ab9a703 09:16:04 ---> a4542b5da238 09:16:04 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:04 ---> Running in 4281dff00763 09:16:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:16:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:16:06 OK: 330 MiB in 131 packages 09:16:06 Removing intermediate container 4281dff00763 09:16:06 ---> afeeb9379053 09:16:06 Step 9/36 : WORKDIR /device-usb-camera 09:16:06 ---> Running in d8ea7b9e0f82 09:16:06 Removing intermediate container d8ea7b9e0f82 09:16:06 ---> 1483d2469bba 09:16:06 Step 10/36 : COPY go.mod vendor* ./ 09:16:06 ---> df3e3573f7d9 09:16:06 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:06 ---> Running in 61a22489b8f4 09:16:07 Removing intermediate container 61a22489b8f4 09:16:07 ---> 6b9c590ef83c 09:16:07 Step 12/36 : COPY . . 09:16:07 ---> 039cd5918652 09:16:07 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:16:07 ---> Running in 8f99a7d15cc2 09:16:08  % Total % Received % Xferd Average Speed Time Time Time Current 09:16:08  Dload Upload Total Spent Left Speed 09:16:08 0 0  0  0 0  0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44868 0 --:--:-- --:--:-- --:--:-- 46173 09:16:08 Removing intermediate container 8f99a7d15cc2 09:16:08 ---> d2dca3789633 09:16:08 Step 14/36 : RUN ${MAKE} 09:16:08 ---> Running in a2df87302a14 09:16:09 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 09:16:30 Removing intermediate container a2df87302a14 09:16:30 ---> 04ec4982013d 09:16:30 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:16:31 v0.18.4: Pulling from aler9/rtsp-simple-server 09:16:31 af6660deedbd: Pulling fs layer 09:16:31 97cd0a44c592: Pulling fs layer 09:16:31 97cd0a44c592: Verifying Checksum 09:16:31 97cd0a44c592: Download complete 09:16:31 af6660deedbd: Verifying Checksum 09:16:31 af6660deedbd: Download complete 09:16:32 af6660deedbd: Pull complete 09:16:32 97cd0a44c592: Pull complete 09:16:32 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:16:32 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:16:32 ---> fea57e182299 09:16:32 Step 16/36 : FROM alpine:3.16 09:16:32 3.16: Pulling from library/alpine 09:16:32 213ec9aee27d: Already exists 09:16:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:16:32 Status: Downloaded newer image for alpine:3.16 09:16:32 ---> 9c6f07244728 09:16:32 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:16:33 ---> Running in 86c9abda8496 09:16:33 Removing intermediate container 86c9abda8496 09:16:33 ---> 40c7418bfe9c 09:16:33 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:16:33 ---> Running in 921c52d5b634 09:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:16:33 (1/83) Installing dumb-init (1.2.5-r1) 09:16:33 (2/83) Installing sdl2 (2.0.22-r0) 09:16:33 (3/83) Installing libxau (1.0.9-r0) 09:16:33 (4/83) Installing libxdmcp (1.1.3-r0) 09:16:33 (5/83) Installing libxcb (1.15-r0) 09:16:33 (6/83) Installing libx11 (1.8-r0) 09:16:33 (7/83) Installing aom-libs (3.3.0-r0) 09:16:34 (8/83) Installing alsa-lib (1.2.7.2-r0) 09:16:34 (9/83) Installing expat (2.4.9-r0) 09:16:34 (10/83) Installing brotli-libs (1.0.9-r6) 09:16:34 (11/83) Installing libbz2 (1.0.8-r1) 09:16:34 (12/83) Installing libpng (1.6.37-r1) 09:16:34 (13/83) Installing freetype (2.12.1-r0) 09:16:34 (14/83) Installing fontconfig (2.14.0-r0) 09:16:34 (15/83) Installing fribidi (1.0.12-r0) 09:16:34 (16/83) Installing libffi (3.4.2-r1) 09:16:34 (17/83) Installing libintl (0.21-r2) 09:16:34 (18/83) Installing libblkid (2.38-r1) 09:16:34 (19/83) Installing libmount (2.38-r1) 09:16:34 (20/83) Installing pcre (8.45-r2) 09:16:34 (21/83) Installing glib (2.72.1-r0) 09:16:34 (22/83) Installing graphite2 (1.3.14-r1) 09:16:34 (23/83) Installing harfbuzz (4.3.0-r0) 09:16:34 (24/83) Installing libass (0.16.0-r0) 09:16:34 (25/83) Installing libdav1d (1.0.0-r0) 09:16:34 (26/83) Installing libpciaccess (0.16-r0) 09:16:34 (27/83) Installing libdrm (2.4.110-r0) 09:16:34 (28/83) Installing gmp (6.2.1-r2) 09:16:34 (29/83) Installing nettle (3.7.3-r0) 09:16:34 (30/83) Installing p11-kit (0.24.1-r0) 09:16:34 (31/83) Installing libtasn1 (4.18.0-r0) 09:16:34 (32/83) Installing libunistring (1.0-r0) 09:16:34 (33/83) Installing gnutls (3.7.7-r0) 09:16:34 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:16:34 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 09:16:34 (36/83) Installing lame (3.100-r0) 09:16:34 (37/83) Installing opus (1.3.1-r1) 09:16:34 (38/83) Installing libasyncns (0.8-r1) 09:16:34 (39/83) Installing dbus-libs (1.14.4-r0) 09:16:34 (40/83) Installing libltdl (2.4.7-r0) 09:16:34 (41/83) Installing orc (0.4.32-r0) 09:16:34 (42/83) Installing libgcc (11.2.1_git20220219-r2) 09:16:34 (43/83) Installing libogg (1.3.5-r1) 09:16:34 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 09:16:34 (45/83) Installing flac (1.3.4-r0) 09:16:34 (46/83) Installing libvorbis (1.3.7-r0) 09:16:34 (47/83) Installing libsndfile (1.1.0-r0) 09:16:34 (48/83) Installing libgomp (11.2.1_git20220219-r2) 09:16:34 (49/83) Installing soxr (0.1.3-r2) 09:16:34 (50/83) Installing speexdsp (1.2.0-r0) 09:16:34 (51/83) Installing tdb-libs (1.4.6-r0) 09:16:34 (52/83) Installing libpulse (15.0-r2) 09:16:34 (53/83) Installing cjson (1.7.15-r3) 09:16:34 (54/83) Installing mbedtls (2.28.1-r0) 09:16:34 (55/83) Installing librist (0.2.6-r1) 09:16:34 (56/83) Installing libsrt (1.4.4-r0) 09:16:34 (57/83) Installing libssh (0.9.6-r1) 09:16:34 (58/83) Installing libtheora (1.1.1-r16) 09:16:34 (59/83) Installing libjpeg-turbo (2.1.3-r1) 09:16:34 (60/83) Installing v4l-utils-libs (1.22.1-r1) 09:16:34 (61/83) Installing libxext (1.3.4-r0) 09:16:34 (62/83) Installing libxfixes (6.0.0-r0) 09:16:34 (63/83) Installing wayland-libs-client (1.20.0-r0) 09:16:34 (64/83) Installing libva (2.14.0-r0) 09:16:34 (65/83) Installing libvdpau (1.5-r0) 09:16:34 (66/83) Installing vidstab (1.1.0-r1) 09:16:34 (67/83) Installing libvpx (1.11.0-r1) 09:16:34 (68/83) Installing libwebp (1.2.3-r0) 09:16:34 (69/83) Installing x264-libs (0.163_git20210613-r0) 09:16:34 (70/83) Installing numactl (2.0.14-r0) 09:16:34 (71/83) Installing x265-libs (3.5-r3) 09:16:34 (72/83) Installing xvidcore (1.3.7-r1) 09:16:34 (73/83) Installing ffmpeg-libs (5.0.1-r1) 09:16:34 (74/83) Installing ffmpeg (5.0.1-r1) 09:16:34 (75/83) Installing udev-init-scripts (35-r0) 09:16:34 Executing udev-init-scripts-35-r0.post-install 09:16:34 (76/83) Installing eudev-libs (3.2.11-r0) 09:16:34 (77/83) Installing xz-libs (5.2.5-r1) 09:16:34 (78/83) Installing zstd-libs (1.5.2-r1) 09:16:34 (79/83) Installing kmod-libs (29-r2) 09:16:34 (80/83) Installing eudev (3.2.11-r0) 09:16:34 (81/83) Installing libsodium (1.0.18-r0) 09:16:34 (82/83) Installing libzmq (4.3.4-r0) 09:16:34 (83/83) Installing zeromq (4.3.4-r0) 09:16:34 Executing busybox-1.35.0-r17.trigger 09:16:34 Executing eudev-3.2.11-r0.trigger 09:16:34 OK: 101 MiB in 97 packages 09:16:37 Removing intermediate container 921c52d5b634 09:16:37 ---> 2170bf4c9399 09:16:37 Step 19/36 : WORKDIR / 09:16:37 ---> Running in 2d4dfae83cf1 09:16:37 Removing intermediate container 2d4dfae83cf1 09:16:37 ---> b394d3aab0f8 09:16:37 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 09:16:37 ---> ce3ccde49ce3 09:16:37 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 09:16:38 ---> 64c32aae120a 09:16:38 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:16:38 ---> 25abe7e48257 09:16:38 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:16:38 ---> ebf743b30cdf 09:16:38 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:16:38 ---> d14e5395ef1d 09:16:38 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 09:16:38 ---> b31fd19d85f0 09:16:38 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 09:16:39 ---> 3b2306b8c895 09:16:39 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:16:39 ---> Running in 0a5248f0d22b 09:16:39 Removing intermediate container 0a5248f0d22b 09:16:39 ---> 2fcea486e445 09:16:39 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:16:39 ---> Running in 68934c2abc1a 09:16:40 Removing intermediate container 68934c2abc1a 09:16:40 ---> 7dd1bce1244a 09:16:40 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:16:40 ---> Running in 584ceaa0c916 09:16:40 Removing intermediate container 584ceaa0c916 09:16:40 ---> 6e2f97aa9568 09:16:40 Step 30/36 : EXPOSE 59983 09:16:40 ---> Running in d418c6480b08 09:16:40 Removing intermediate container d418c6480b08 09:16:40 ---> 1c591959c82c 09:16:40 Step 31/36 : EXPOSE 8554 09:16:40 ---> Running in c3d918398918 09:16:41 Removing intermediate container c3d918398918 09:16:41 ---> 376ace06ac7f 09:16:41 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:16:41 ---> Running in cc0c7ff4a50e 09:16:41 Removing intermediate container cc0c7ff4a50e 09:16:41 ---> 63d1ad834b33 09:16:41 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:16:41 ---> Running in d887ab60be84 09:16:41 Removing intermediate container d887ab60be84 09:16:41 ---> af98bb13ddf5 09:16:41 Step 34/36 : LABEL arch=amd64 09:16:41 ---> Running in 1827d98c9289 09:16:41 Removing intermediate container 1827d98c9289 09:16:41 ---> 1eaf1f918a6b 09:16:41 Step 35/36 : LABEL git_sha=b346198c17a3ebf2419cb456fdaded435ad8b044 09:16:41 ---> Running in 2097ed0c041d 09:16:41 Removing intermediate container 2097ed0c041d 09:16:41 ---> 9699a55b911d 09:16:41 Step 36/36 : LABEL version=2.3.0-dev.16 09:16:41 ---> Running in 2423b375fde6 09:16:41 Removing intermediate container 2423b375fde6 09:16:41 ---> 22c0e6477271 09:16:41 [Warning] One or more build-args [ARCH] were not consumed 09:16:41 Successfully built 22c0e6477271 09:16:41 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 09:16:41 provisioning config files... 09:16:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8040891090478327625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:42 ---> docker-login.sh 09:16:42 nexus3.edgexfoundry.org:10001 09:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:42 Configure a credential helper to remove this warning. See 09:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:42 09:16:42 Login Succeeded 09:16:42 nexus3.edgexfoundry.org:10002 09:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:42 Configure a credential helper to remove this warning. See 09:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:42 09:16:42 Login Succeeded 09:16:42 nexus3.edgexfoundry.org:10003 09:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:42 Configure a credential helper to remove this warning. See 09:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:42 09:16:42 Login Succeeded 09:16:42 nexus3.edgexfoundry.org:10004 09:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:42 Configure a credential helper to remove this warning. See 09:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:42 09:16:42 Login Succeeded 09:16:42 docker.io 09:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:42 Configure a credential helper to remove this warning. See 09:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:42 09:16:42 Login Succeeded 09:16:42 ---> docker-login.sh ends [Pipeline] } 09:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:42 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 09:16:42 b346198c17a3ebf2419cb456fdaded435ad8b044 09:16:42 latest 09:16:42 2.3.0-dev.16 09:16:42 b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:16:42 main 09:16:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:43 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:43 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044 09:16:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:16:43 373067b66f47: Preparing 09:16:43 ff07a02dfa5a: Preparing 09:16:43 4b5dc119b793: Preparing 09:16:43 550e596c6d0e: Preparing 09:16:43 1207169bf42c: Preparing 09:16:43 11caf5a69154: Preparing 09:16:43 c543ea3a511e: Preparing 09:16:43 88d9eb7b2fbd: Preparing 09:16:43 08e95b742ef3: Preparing 09:16:43 3c9e678357e9: Preparing 09:16:43 dc9c73570b9d: Preparing 09:16:43 994393dc58e7: Preparing 09:16:43 08e95b742ef3: Waiting 09:16:43 3c9e678357e9: Waiting 09:16:43 dc9c73570b9d: Waiting 09:16:43 88d9eb7b2fbd: Waiting 09:16:43 11caf5a69154: Waiting 09:16:43 c543ea3a511e: Waiting 09:16:43 994393dc58e7: Waiting 09:16:43 1207169bf42c: Pushed 09:16:43 373067b66f47: Pushed 09:16:43 4b5dc119b793: Pushed 09:16:43 ff07a02dfa5a: Pushed 09:16:43 11caf5a69154: Pushed 09:16:43 08e95b742ef3: Pushed 09:16:43 c543ea3a511e: Pushed 09:16:43 88d9eb7b2fbd: Pushed 09:16:43 994393dc58e7: Layer already exists 09:16:45 550e596c6d0e: Pushed 09:16:46 3c9e678357e9: Pushed 09:16:54 dc9c73570b9d: Pushed 09:16:54 b346198c17a3ebf2419cb456fdaded435ad8b044: digest: sha256:9ffe164f0079045daf8498019946e0feb5ac6acf74a902fc2df91b7a7898cc4c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:55 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:16:55 373067b66f47: Preparing 09:16:55 ff07a02dfa5a: Preparing 09:16:55 4b5dc119b793: Preparing 09:16:55 550e596c6d0e: Preparing 09:16:55 1207169bf42c: Preparing 09:16:55 11caf5a69154: Preparing 09:16:55 c543ea3a511e: Preparing 09:16:55 88d9eb7b2fbd: Preparing 09:16:55 08e95b742ef3: Preparing 09:16:55 3c9e678357e9: Preparing 09:16:55 dc9c73570b9d: Preparing 09:16:55 994393dc58e7: Preparing 09:16:55 11caf5a69154: Waiting 09:16:55 c543ea3a511e: Waiting 09:16:55 dc9c73570b9d: Waiting 09:16:55 994393dc58e7: Waiting 09:16:55 3c9e678357e9: Waiting 09:16:55 08e95b742ef3: Waiting 09:16:55 ff07a02dfa5a: Layer already exists 09:16:55 4b5dc119b793: Layer already exists 09:16:55 373067b66f47: Layer already exists 09:16:55 550e596c6d0e: Layer already exists 09:16:55 1207169bf42c: Layer already exists 09:16:55 11caf5a69154: Layer already exists 09:16:55 08e95b742ef3: Layer already exists 09:16:55 c543ea3a511e: Layer already exists 09:16:55 3c9e678357e9: Layer already exists 09:16:55 88d9eb7b2fbd: Layer already exists 09:16:55 dc9c73570b9d: Layer already exists 09:16:55 994393dc58e7: Layer already exists 09:16:55 latest: digest: sha256:9ffe164f0079045daf8498019946e0feb5ac6acf74a902fc2df91b7a7898cc4c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:55 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.16 09:16:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:16:55 373067b66f47: Preparing 09:16:55 ff07a02dfa5a: Preparing 09:16:55 4b5dc119b793: Preparing 09:16:55 550e596c6d0e: Preparing 09:16:55 1207169bf42c: Preparing 09:16:55 11caf5a69154: Preparing 09:16:55 c543ea3a511e: Preparing 09:16:55 88d9eb7b2fbd: Preparing 09:16:55 08e95b742ef3: Preparing 09:16:55 3c9e678357e9: Preparing 09:16:55 dc9c73570b9d: Preparing 09:16:55 994393dc58e7: Preparing 09:16:55 11caf5a69154: Waiting 09:16:55 3c9e678357e9: Waiting 09:16:55 dc9c73570b9d: Waiting 09:16:55 994393dc58e7: Waiting 09:16:55 c543ea3a511e: Waiting 09:16:55 08e95b742ef3: Waiting 09:16:55 88d9eb7b2fbd: Waiting 09:16:55 550e596c6d0e: Layer already exists 09:16:55 4b5dc119b793: Layer already exists 09:16:55 1207169bf42c: Layer already exists 09:16:55 373067b66f47: Layer already exists 09:16:55 ff07a02dfa5a: Layer already exists 09:16:55 11caf5a69154: Layer already exists 09:16:55 c543ea3a511e: Layer already exists 09:16:55 08e95b742ef3: Layer already exists 09:16:55 88d9eb7b2fbd: Layer already exists 09:16:55 3c9e678357e9: Layer already exists 09:16:55 dc9c73570b9d: Layer already exists 09:16:55 994393dc58e7: Layer already exists 09:16:55 2.3.0-dev.16: digest: sha256:9ffe164f0079045daf8498019946e0feb5ac6acf74a902fc2df91b7a7898cc4c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:56 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:16:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:16:56 373067b66f47: Preparing 09:16:56 ff07a02dfa5a: Preparing 09:16:56 4b5dc119b793: Preparing 09:16:56 550e596c6d0e: Preparing 09:16:56 1207169bf42c: Preparing 09:16:56 11caf5a69154: Preparing 09:16:56 c543ea3a511e: Preparing 09:16:56 88d9eb7b2fbd: Preparing 09:16:56 08e95b742ef3: Preparing 09:16:56 3c9e678357e9: Preparing 09:16:56 dc9c73570b9d: Preparing 09:16:56 994393dc58e7: Preparing 09:16:56 08e95b742ef3: Waiting 09:16:56 88d9eb7b2fbd: Waiting 09:16:56 11caf5a69154: Waiting 09:16:56 3c9e678357e9: Waiting 09:16:56 c543ea3a511e: Waiting 09:16:56 994393dc58e7: Waiting 09:16:56 dc9c73570b9d: Waiting 09:16:56 ff07a02dfa5a: Layer already exists 09:16:56 550e596c6d0e: Layer already exists 09:16:56 1207169bf42c: Layer already exists 09:16:56 373067b66f47: Layer already exists 09:16:56 4b5dc119b793: Layer already exists 09:16:56 11caf5a69154: Layer already exists 09:16:56 c543ea3a511e: Layer already exists 09:16:56 08e95b742ef3: Layer already exists 09:16:56 88d9eb7b2fbd: Layer already exists 09:16:56 3c9e678357e9: Layer already exists 09:16:56 dc9c73570b9d: Layer already exists 09:16:56 994393dc58e7: Layer already exists 09:16:56 b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16: digest: sha256:9ffe164f0079045daf8498019946e0feb5ac6acf74a902fc2df91b7a7898cc4c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:56 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 09:16:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:16:57 373067b66f47: Preparing 09:16:57 ff07a02dfa5a: Preparing 09:16:57 4b5dc119b793: Preparing 09:16:57 550e596c6d0e: Preparing 09:16:57 1207169bf42c: Preparing 09:16:57 11caf5a69154: Preparing 09:16:57 c543ea3a511e: Preparing 09:16:57 88d9eb7b2fbd: Preparing 09:16:57 08e95b742ef3: Preparing 09:16:57 3c9e678357e9: Preparing 09:16:57 dc9c73570b9d: Preparing 09:16:57 994393dc58e7: Preparing 09:16:57 08e95b742ef3: Waiting 09:16:57 88d9eb7b2fbd: Waiting 09:16:57 3c9e678357e9: Waiting 09:16:57 dc9c73570b9d: Waiting 09:16:57 994393dc58e7: Waiting 09:16:57 11caf5a69154: Waiting 09:16:57 c543ea3a511e: Waiting 09:16:57 1207169bf42c: Layer already exists 09:16:57 373067b66f47: Layer already exists 09:16:57 4b5dc119b793: Layer already exists 09:16:57 550e596c6d0e: Layer already exists 09:16:57 ff07a02dfa5a: Layer already exists 09:16:57 c543ea3a511e: Layer already exists 09:16:57 11caf5a69154: Layer already exists 09:16:57 08e95b742ef3: Layer already exists 09:16:57 3c9e678357e9: Layer already exists 09:16:57 88d9eb7b2fbd: Layer already exists 09:16:57 dc9c73570b9d: Layer already exists 09:16:57 994393dc58e7: Layer already exists 09:16:57 main: digest: sha256:9ffe164f0079045daf8498019946e0feb5ac6acf74a902fc2df91b7a7898cc4c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:16:57 ===================================================== [Pipeline] echo 09:16:57 taggedImages: 09:16:57 - nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044 09:16:57 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:16:57 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.16 09:16:57 - nexus3.edgexfoundry.org:10004/device-usb-camera:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:16:57 - 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 09:16:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:57 09:16:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:58 latest: Pulling from edgex-lftools-log-publisher 09:16:58 5eb5b503b376: Pulling fs layer 09:16:58 5c69ac0246d0: Pulling fs layer 09:16:58 ec43610c2a17: Pulling fs layer 09:16:58 3a2ae6a8a46f: Pulling fs layer 09:16:58 33b1e0a273af: Pulling fs layer 09:16:58 5d3b04190fa2: Pulling fs layer 09:16:58 2f39f015ded8: Pulling fs layer 09:16:58 5d3b04190fa2: Waiting 09:16:58 3a2ae6a8a46f: Waiting 09:16:58 2f39f015ded8: Waiting 09:16:58 33b1e0a273af: Waiting 09:16:58 5c69ac0246d0: Verifying Checksum 09:16:58 5c69ac0246d0: Download complete 09:16:58 3a2ae6a8a46f: Verifying Checksum 09:16:58 3a2ae6a8a46f: Download complete 09:16:58 33b1e0a273af: Verifying Checksum 09:16:58 33b1e0a273af: Download complete 09:16:58 5d3b04190fa2: Download complete 09:16:58 ec43610c2a17: Verifying Checksum 09:16:58 ec43610c2a17: Download complete 09:16:58 5eb5b503b376: Verifying Checksum 09:16:58 5eb5b503b376: Download complete 09:16:59 2f39f015ded8: Download complete 09:16:59 5eb5b503b376: Pull complete 09:16:59 5c69ac0246d0: Pull complete 09:17:00 ec43610c2a17: Pull complete 09:17:00 3a2ae6a8a46f: Pull complete 09:17:00 33b1e0a273af: Pull complete 09:17:00 5d3b04190fa2: Pull complete 09:17:04 2f39f015ded8: Pull complete 09:17:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:17:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:04 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:17:04 $ 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 09:17:07 $ docker top b2a82723db10d6ea7bef36c1a0a62b3ca0ac2a85e8b8d6f20b5cdc9d4719b25c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:07 ---> job-cost.sh 09:17:07 lf-activate-venv: SKIPPING 09:17:07 INFO: No Stack... 09:17:08 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:08 INFO: Archiving Costs [Pipeline] sh 09:17:08 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 09:17:08 + cut -d, -f6 [Pipeline] lock 09:17:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] 09:17:08 Resource [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] did not exist. Created. 09:17:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:17:09 + echo total: 0.2199999988079071 [Pipeline] stash 09:17:09 Stashed 1 file(s) [Pipeline] } 09:17:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 09:17:09 $ docker stop --time=1 b2a82723db10d6ea7bef36c1a0a62b3ca0ac2a85e8b8d6f20b5cdc9d4719b25c 09:17:10 $ docker rm -f b2a82723db10d6ea7bef36c1a0a62b3ca0ac2a85e8b8d6f20b5cdc9d4719b25c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:20:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8113 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 09:20:56 Running in /w/workspace/device-usb-camera/55 [Pipeline] { [Pipeline] checkout 09:20:56 Selected Git installation does not exist. Using Default 09:20:56 The recommended git tool is: NONE 09:21:02 using credential edgex-jenkins-ssh 09:21:02 Cloning the remote Git repository 09:21:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:21:02 > git init /w/workspace/device-usb-camera/55 # timeout=10 09:21:02 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:21:02 > git --version # timeout=10 09:21:03 > git --version # 'git version 2.25.1' 09:21:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:03 Verifying host key using known hosts file 09:21:03 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:21:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:21:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:05 Avoid second fetch 09:21:05 Checking out Revision b346198c17a3ebf2419cb456fdaded435ad8b044 (main) 09:21:05 Commit message: "feat(snap): add config interface with unique identifier (#103)" 09:21:05 > git config core.sparsecheckout # timeout=10 09:21:05 > git checkout -f b346198c17a3ebf2419cb456fdaded435ad8b044 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:21:07 % Total % Received % Xferd Average Speed Time Time Time Current 09:21:07 Dload Upload Total Spent Left Speed 09:21:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76375 0 --:--:-- --:--:-- --:--:-- 76375 [Pipeline] sh 09:21:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:21:08 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 09:21:08 /etc/docker/daemon.json 09:21:08 { 09:21:08 "registry-mirrors": [ 09:21:08 "https://nexus3.edgexfoundry.org:10001" 09:21:08 ], 09:21:08 "bip": "10.250.0.254/24", 09:21:08 "hosts": [ 09:21:08 "tcp://0.0.0.0:5555", 09:21:08 "unix:///var/run/docker.sock" 09:21:08 ], 09:21:08 "mtu": 1458, 09:21:08 "selinux-enabled": true, 09:21:08 "seccomp-profile": "/etc/docker/seccomp.json" 09:21:08 } [Pipeline] sh 09:21:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:21:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:27 provisioning config files... 09:21:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/55@tmp/config4059541541497660619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:27 ---> docker-login.sh 09:21:27 nexus3.edgexfoundry.org:10001 09:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:28 Configure a credential helper to remove this warning. See 09:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:28 09:21:28 Login Succeeded 09:21:28 nexus3.edgexfoundry.org:10002 09:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:28 Configure a credential helper to remove this warning. See 09:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:28 09:21:28 Login Succeeded 09:21:28 nexus3.edgexfoundry.org:10003 09:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:28 Configure a credential helper to remove this warning. See 09:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:28 09:21:28 Login Succeeded 09:21:28 nexus3.edgexfoundry.org:10004 09:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:29 Configure a credential helper to remove this warning. See 09:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:29 09:21:29 Login Succeeded 09:21:29 docker.io 09:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:29 Configure a credential helper to remove this warning. See 09:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:29 09:21:29 Login Succeeded 09:21:29 ---> docker-login.sh ends [Pipeline] } 09:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:30 ========================================================= 09:21:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:21:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:30 + 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 . 09:21:30 Sending build context to Docker daemon 986.1kB 09:21:30 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 09:21:30 Step 2/14 : FROM ${BASE} AS builder 09:21:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:21:31 9b18e9b68314: Pulling fs layer 09:21:31 d32db5db7311: Pulling fs layer 09:21:31 d0c4b47475fc: Pulling fs layer 09:21:31 5831b945b038: Pulling fs layer 09:21:31 86bbec2aaacd: Pulling fs layer 09:21:31 5831b945b038: Waiting 09:21:31 86bbec2aaacd: Waiting 09:21:31 e10730c5d714: Pulling fs layer 09:21:31 5dd5c2283517: Pulling fs layer 09:21:31 e10730c5d714: Waiting 09:21:31 d5ac0230b979: Pulling fs layer 09:21:31 5dd5c2283517: Waiting 09:21:31 d5ac0230b979: Waiting 09:21:31 d0c4b47475fc: Verifying Checksum 09:21:31 d0c4b47475fc: Download complete 09:21:31 d32db5db7311: Verifying Checksum 09:21:31 d32db5db7311: Download complete 09:21:31 86bbec2aaacd: Verifying Checksum 09:21:31 86bbec2aaacd: Download complete 09:21:31 e10730c5d714: Verifying Checksum 09:21:31 e10730c5d714: Download complete 09:21:31 9b18e9b68314: Verifying Checksum 09:21:31 9b18e9b68314: Download complete 09:21:32 9b18e9b68314: Pull complete 09:21:32 d5ac0230b979: Verifying Checksum 09:21:32 d5ac0230b979: Download complete 09:21:32 d32db5db7311: Pull complete 09:21:33 d0c4b47475fc: Pull complete 09:21:33 5dd5c2283517: Verifying Checksum 09:21:33 5dd5c2283517: Download complete 09:21:34 5831b945b038: Verifying Checksum 09:21:34 5831b945b038: Download complete 09:21:49 5831b945b038: Pull complete 09:21:49 86bbec2aaacd: Pull complete 09:21:49 e10730c5d714: Pull complete 09:21:55 5dd5c2283517: Pull complete 09:21:56 d5ac0230b979: Pull complete 09:21:56 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:21:56 ---> 59b3b1a385d4 09:21:56 Step 3/14 : ARG ADD_BUILD_TAGS="" 09:21:57 ---> Running in ae29655db462 09:21:58 Removing intermediate container ae29655db462 09:21:58 ---> 48ab67e6bb5e 09:21:58 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:21:58 ---> Running in 2f34d0663d20 09:21:58 Removing intermediate container 2f34d0663d20 09:21:58 ---> f6dba3ed11ff 09:21:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:21:58 ---> Running in 92a04de4b815 09:21:59 Removing intermediate container 92a04de4b815 09:21:59 ---> 7dfcd4e6872a 09:21:59 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:21:59 ---> Running in 804d658b5210 09:21:59 Removing intermediate container 804d658b5210 09:21:59 ---> 81745ff218c0 09:21:59 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:59 ---> Running in 038c10ffae8d 09:22:01 Removing intermediate container 038c10ffae8d 09:22:01 ---> 43d4bec6a956 09:22:01 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:01 ---> Running in b8d4add4c399 09:22:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:22:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:22:05 (1/14) Installing libintl (0.21-r2) 09:22:05 (2/14) Installing eudev-libs (3.2.11-r0) 09:22:05 (3/14) Installing libjpeg-turbo (2.1.3-r1) 09:22:05 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:22:05 (5/14) Installing v4l-utils (1.22.1-r1) 09:22:05 (6/14) Installing udev-init-scripts (35-r0) 09:22:06 Executing udev-init-scripts-35-r0.post-install 09:22:06 (7/14) Installing libblkid (2.38-r1) 09:22:06 (8/14) Installing xz-libs (5.2.5-r1) 09:22:06 (9/14) Installing zstd-libs (1.5.2-r1) 09:22:06 (10/14) Installing kmod-libs (29-r2) 09:22:06 (11/14) Installing eudev (3.2.11-r0) 09:22:06 (12/14) Installing eudev-dev (3.2.11-r0) 09:22:06 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:22:06 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:22:06 Executing busybox-1.35.0-r17.trigger 09:22:06 Executing eudev-3.2.11-r0.trigger 09:22:07 OK: 228 MiB in 65 packages 09:22:08 Removing intermediate container b8d4add4c399 09:22:08 ---> 9046f7be76a6 09:22:08 Step 9/14 : WORKDIR /device-usb-camera 09:22:08 ---> Running in af4f7e17ea11 09:22:08 Removing intermediate container af4f7e17ea11 09:22:08 ---> 6dc3702426c3 09:22:08 Step 10/14 : COPY go.mod vendor* ./ 09:22:09 ---> 6e0d529e25df 09:22:09 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:09 ---> Running in f0658f5aa1b4 09:23:05 Removing intermediate container f0658f5aa1b4 09:23:05 ---> 88729edab1fa 09:23:05 Step 12/14 : COPY . . 09:23:05 ---> a298d36ba37c 09:23:05 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:23:05 ---> Running in 02f566087bf1 09:23:05  % Total % Received % Xferd Average Speed Time Time Time Current 09:23:05 Dload Upload Total Spent Left Speed 09:23:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5158 0 --:--:-- --:--:-- --:--:-- 5180 09:23:05 Removing intermediate container 02f566087bf1 09:23:05 ---> 204d568e5b21 09:23:05 Step 14/14 : RUN ${MAKE} 09:23:05 ---> Running in b1f045309979 09:23:05 noop 09:23:05 Removing intermediate container b1f045309979 09:23:05 ---> adcca792f9a5 09:23:05 Successfully built adcca792f9a5 09:23:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:06 + docker inspect -f . ci-base-image-arm64 09:23:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:06 prd-ubuntu20.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container 09:23:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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 09:23:08 $ docker top 3f5cefaa0132aa4066deceb27a5edffd08e4f3ca08dfa7ca7f9665db21346592 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:08 + go version 09:23:08 go version go1.18.7 linux/arm64 [Pipeline] } 09:23:08 $ docker stop --time=1 3f5cefaa0132aa4066deceb27a5edffd08e4f3ca08dfa7ca7f9665db21346592 09:23:10 $ docker rm -f 3f5cefaa0132aa4066deceb27a5edffd08e4f3ca08dfa7ca7f9665db21346592 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:11 + docker inspect -f . ci-base-image-arm64 09:23:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:11 prd-ubuntu20.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container 09:23:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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 09:23:12 $ docker top 30d5e283986ce8dc2b657421ff783d5ca4bbe374250ce2f72ba1ff2db6559259 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:13 + git config --global --add safe.directory /w/workspace/device-usb-camera/55 [Pipeline] fileExists [Pipeline] sh 09:23:14 + make test 09:23:14 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:23:16 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:24:53 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:24:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 1.9% of statements 09:24:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:24:55 CGO_ENABLED=1 go vet ./... 09:25:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:27 ./bin/test-attribution-txt.sh [Pipeline] echo 09:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:27 $ docker stop --time=1 30d5e283986ce8dc2b657421ff783d5ca4bbe374250ce2f72ba1ff2db6559259 09:25:29 $ docker rm -f 30d5e283986ce8dc2b657421ff783d5ca4bbe374250ce2f72ba1ff2db6559259 [Pipeline] // withDockerContainer [Pipeline] sh 09:25:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:30 Warning: overwriting stash ‘coverage-report’ 09:25:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:31 + ls -al . 09:25:31 total 192 09:25:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:23 . 09:25:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:21 .. 09:25:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:21 .git 09:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:21 .github 09:25:31 -rw-rw-r-- 1 jenkins jenkins 414 Oct 17 09:21 .gitignore 09:25:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 09:21 .golangci.yml 09:25:31 -rw-rw-r-- 1 jenkins jenkins 77 Oct 17 09:21 .hadolint.yml 09:25:31 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 17 09:21 Attribution.txt 09:25:31 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 17 09:21 CHANGELOG.md 09:25:31 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 17 09:21 Dockerfile 09:25:31 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 09:21 GOVERNANCE.md 09:25:31 -rw-rw-r-- 1 jenkins jenkins 659 Oct 17 09:21 Jenkinsfile 09:25:31 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 09:21 LICENSE 09:25:31 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 17 09:21 Makefile 09:25:31 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:21 OWNERS.md 09:25:31 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 17 09:21 README.md 09:25:31 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:14 VERSION 09:25:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:21 bin 09:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:21 cmd 09:25:31 -rw-r--r-- 1 jenkins jenkins 29387 Oct 17 09:24 coverage.out 09:25:31 -rwxrwxr-x 1 jenkins jenkins 140 Oct 17 09:21 docker-entrypoint.sh 09:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:21 docs 09:25:31 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 17 09:21 go.mod 09:25:31 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 17 09:21 go.sum 09:25:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:21 internal 09:25:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:21 snap 09:25:31 -rw-rw-r-- 1 jenkins jenkins 231 Oct 17 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:32 + 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=b346198c17a3ebf2419cb456fdaded435ad8b044 --label arch=arm64 --label version=2.3.0-dev.16 . 09:25:32 Sending build context to Docker daemon 1.016MB 09:25:32 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 09:25:32 Step 2/36 : FROM ${BASE} AS builder 09:25:32 ---> adcca792f9a5 09:25:32 Step 3/36 : ARG ADD_BUILD_TAGS="" 09:25:32 ---> Running in b891192ccd9e 09:25:33 Removing intermediate container b891192ccd9e 09:25:33 ---> 5ebc3d71715f 09:25:33 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:25:33 ---> Running in 55ebe2890afe 09:25:33 Removing intermediate container 55ebe2890afe 09:25:33 ---> 3f79c03c5a49 09:25:33 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:25:33 ---> Running in dc2eff358854 09:25:34 Removing intermediate container dc2eff358854 09:25:34 ---> 1df0d06d26b8 09:25:34 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:25:34 ---> Running in fe4127f62041 09:25:34 Removing intermediate container fe4127f62041 09:25:34 ---> bfebd6de70e8 09:25:34 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:34 ---> Running in 2201f3dccb6b 09:25:36 Removing intermediate container 2201f3dccb6b 09:25:36 ---> ee10ebb3ed18 09:25:36 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:36 ---> Running in 0fafd030f20d 09:25:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:25:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:25:39 OK: 228 MiB in 65 packages 09:25:40 Removing intermediate container 0fafd030f20d 09:25:40 ---> 4b31d4449af7 09:25:40 Step 9/36 : WORKDIR /device-usb-camera 09:25:40 ---> Running in 1b74c8b11b7b 09:25:41 Removing intermediate container 1b74c8b11b7b 09:25:41 ---> 98942d6874e7 09:25:41 Step 10/36 : COPY go.mod vendor* ./ 09:25:41 ---> 73079662b616 09:25:41 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:41 ---> Running in 0fc0f92f79db 09:25:44 Removing intermediate container 0fc0f92f79db 09:25:44 ---> c6c4ef96ddde 09:25:44 Step 12/36 : COPY . . 09:25:45 ---> b66aba615aaf 09:25:45 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:25:45 ---> Running in c8b2991a2e6c 09:25:46  % Total % Received % Xferd Average Speed Time Time Time Current 09:25:46 Dload Upload Total Spent Left Speed 09:25:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13309 0 --:--:-- --:--:-- --:--:-- 13443 09:25:47 Removing intermediate container c8b2991a2e6c 09:25:47 ---> 96229672dd9e 09:25:47 Step 14/36 : RUN ${MAKE} 09:25:47 ---> Running in f65dec6df4f8 09:25:48 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 09:28:25 Removing intermediate container f65dec6df4f8 09:28:25 ---> cac3d769bed9 09:28:25 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:28:25 v0.18.4: Pulling from aler9/rtsp-simple-server 09:28:25 eab2503cf8f4: Pulling fs layer 09:28:25 97cd0a44c592: Pulling fs layer 09:28:25 97cd0a44c592: Download complete 09:28:25 eab2503cf8f4: Verifying Checksum 09:28:25 eab2503cf8f4: Download complete 09:28:25 eab2503cf8f4: Pull complete 09:28:25 97cd0a44c592: Pull complete 09:28:25 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:28:25 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:28:25 ---> 7f763cca56b3 09:28:25 Step 16/36 : FROM alpine:3.16 09:28:25 3.16: Pulling from library/alpine 09:28:25 9b18e9b68314: Already exists 09:28:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:28:25 Status: Downloaded newer image for alpine:3.16 09:28:25 ---> a6215f271958 09:28:25 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:28:25 ---> Running in 1fb5da499d70 09:28:25 Removing intermediate container 1fb5da499d70 09:28:25 ---> 37c360250e50 09:28:25 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:28:25 ---> Running in 778d179d9f7b 09:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:28:25 (1/82) Installing dumb-init (1.2.5-r1) 09:28:25 (2/82) Installing sdl2 (2.0.22-r0) 09:28:25 (3/82) Installing libxau (1.0.9-r0) 09:28:25 (4/82) Installing libxdmcp (1.1.3-r0) 09:28:25 (5/82) Installing libxcb (1.15-r0) 09:28:25 (6/82) Installing libx11 (1.8-r0) 09:28:25 (7/82) Installing aom-libs (3.3.0-r0) 09:28:25 (8/82) Installing alsa-lib (1.2.7.2-r0) 09:28:25 (9/82) Installing expat (2.4.9-r0) 09:28:25 (10/82) Installing brotli-libs (1.0.9-r6) 09:28:25 (11/82) Installing libbz2 (1.0.8-r1) 09:28:25 (12/82) Installing libpng (1.6.37-r1) 09:28:25 (13/82) Installing freetype (2.12.1-r0) 09:28:25 (14/82) Installing fontconfig (2.14.0-r0) 09:28:25 (15/82) Installing fribidi (1.0.12-r0) 09:28:25 (16/82) Installing libffi (3.4.2-r1) 09:28:25 (17/82) Installing libintl (0.21-r2) 09:28:25 (18/82) Installing libblkid (2.38-r1) 09:28:25 (19/82) Installing libmount (2.38-r1) 09:28:25 (20/82) Installing pcre (8.45-r2) 09:28:25 (21/82) Installing glib (2.72.1-r0) 09:28:25 (22/82) Installing graphite2 (1.3.14-r1) 09:28:25 (23/82) Installing harfbuzz (4.3.0-r0) 09:28:25 (24/82) Installing libass (0.16.0-r0) 09:28:25 (25/82) Installing libdav1d (1.0.0-r0) 09:28:25 (26/82) Installing libdrm (2.4.110-r0) 09:28:25 (27/82) Installing gmp (6.2.1-r2) 09:28:25 (28/82) Installing nettle (3.7.3-r0) 09:28:25 (29/82) Installing p11-kit (0.24.1-r0) 09:28:25 (30/82) Installing libtasn1 (4.18.0-r0) 09:28:25 (31/82) Installing libunistring (1.0-r0) 09:28:25 (32/82) Installing gnutls (3.7.7-r0) 09:28:25 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:28:25 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 09:28:25 (35/82) Installing lame (3.100-r0) 09:28:25 (36/82) Installing opus (1.3.1-r1) 09:28:25 (37/82) Installing libasyncns (0.8-r1) 09:28:25 (38/82) Installing dbus-libs (1.14.4-r0) 09:28:25 (39/82) Installing libltdl (2.4.7-r0) 09:28:25 (40/82) Installing orc (0.4.32-r0) 09:28:25 (41/82) Installing libgcc (11.2.1_git20220219-r2) 09:28:25 (42/82) Installing libogg (1.3.5-r1) 09:28:25 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 09:28:25 (44/82) Installing flac (1.3.4-r0) 09:28:25 (45/82) Installing libvorbis (1.3.7-r0) 09:28:25 (46/82) Installing libsndfile (1.1.0-r0) 09:28:25 (47/82) Installing libgomp (11.2.1_git20220219-r2) 09:28:25 (48/82) Installing soxr (0.1.3-r2) 09:28:25 (49/82) Installing speexdsp (1.2.0-r0) 09:28:25 (50/82) Installing tdb-libs (1.4.6-r0) 09:28:25 (51/82) Installing libpulse (15.0-r2) 09:28:25 (52/82) Installing cjson (1.7.15-r3) 09:28:25 (53/82) Installing mbedtls (2.28.1-r0) 09:28:25 (54/82) Installing librist (0.2.6-r1) 09:28:25 (55/82) Installing libsrt (1.4.4-r0) 09:28:25 (56/82) Installing libssh (0.9.6-r1) 09:28:25 (57/82) Installing libtheora (1.1.1-r16) 09:28:25 (58/82) Installing libjpeg-turbo (2.1.3-r1) 09:28:25 (59/82) Installing v4l-utils-libs (1.22.1-r1) 09:28:25 (60/82) Installing libxext (1.3.4-r0) 09:28:25 (61/82) Installing libxfixes (6.0.0-r0) 09:28:25 (62/82) Installing wayland-libs-client (1.20.0-r0) 09:28:25 (63/82) Installing libva (2.14.0-r0) 09:28:25 (64/82) Installing libvdpau (1.5-r0) 09:28:25 (65/82) Installing vidstab (1.1.0-r1) 09:28:25 (66/82) Installing libvpx (1.11.0-r1) 09:28:25 (67/82) Installing libwebp (1.2.3-r0) 09:28:25 (68/82) Installing x264-libs (0.163_git20210613-r0) 09:28:25 (69/82) Installing numactl (2.0.14-r0) 09:28:25 (70/82) Installing x265-libs (3.5-r3) 09:28:25 (71/82) Installing xvidcore (1.3.7-r1) 09:28:25 (72/82) Installing ffmpeg-libs (5.0.1-r1) 09:28:25 (73/82) Installing ffmpeg (5.0.1-r1) 09:28:25 (74/82) Installing udev-init-scripts (35-r0) 09:28:25 Executing udev-init-scripts-35-r0.post-install 09:28:25 (75/82) Installing eudev-libs (3.2.11-r0) 09:28:25 (76/82) Installing xz-libs (5.2.5-r1) 09:28:25 (77/82) Installing zstd-libs (1.5.2-r1) 09:28:25 (78/82) Installing kmod-libs (29-r2) 09:28:25 (79/82) Installing eudev (3.2.11-r0) 09:28:25 (80/82) Installing libsodium (1.0.18-r0) 09:28:25 (81/82) Installing libzmq (4.3.4-r0) 09:28:25 (82/82) Installing zeromq (4.3.4-r0) 09:28:25 Executing busybox-1.35.0-r17.trigger 09:28:25 Executing eudev-3.2.11-r0.trigger 09:28:25 OK: 78 MiB in 96 packages 09:28:25 Removing intermediate container 778d179d9f7b 09:28:25 ---> 664f2f5622b2 09:28:25 Step 19/36 : WORKDIR / 09:28:25 ---> Running in b0c4f6ac79ca 09:28:25 Removing intermediate container b0c4f6ac79ca 09:28:25 ---> cc2f43f2b052 09:28:25 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 09:28:26 ---> 7decb2af271d 09:28:26 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 09:28:27 ---> 7d1b33f5f6e9 09:28:27 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:28:27 ---> 030eb80293f3 09:28:27 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:28:28 ---> 25dbcd924428 09:28:28 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:28:28 ---> b96400d42b60 09:28:28 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 09:28:29 ---> a3f03fcb9915 09:28:29 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 09:28:31 ---> 0ad60ef58fdc 09:28:31 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:28:31 ---> Running in 9454a12f2408 09:28:32 Removing intermediate container 9454a12f2408 09:28:32 ---> 2d605c3a13f3 09:28:32 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:28:32 ---> Running in 5409ec7aff29 09:28:33 Removing intermediate container 5409ec7aff29 09:28:33 ---> d4a4fb4ac3b8 09:28:33 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:28:33 ---> Running in 0bd430206e69 09:28:35 Removing intermediate container 0bd430206e69 09:28:35 ---> 123557ee8950 09:28:35 Step 30/36 : EXPOSE 59983 09:28:35 ---> Running in acd25cc8d8be 09:28:35 Removing intermediate container acd25cc8d8be 09:28:35 ---> 601cd39664dd 09:28:35 Step 31/36 : EXPOSE 8554 09:28:35 ---> Running in fcdafe3d6acb 09:28:36 Removing intermediate container fcdafe3d6acb 09:28:36 ---> 2ed2e5e86dc4 09:28:36 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:28:36 ---> Running in c8df2886fcef 09:28:36 Removing intermediate container c8df2886fcef 09:28:36 ---> c93edcff4a7b 09:28:36 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:28:36 ---> Running in 280c2d8cc5a1 09:28:36 Removing intermediate container 280c2d8cc5a1 09:28:36 ---> 7158884e5e41 09:28:36 Step 34/36 : LABEL arch=arm64 09:28:36 ---> Running in 9a0d6b32a6f4 09:28:37 Removing intermediate container 9a0d6b32a6f4 09:28:37 ---> cd8f94f40846 09:28:37 Step 35/36 : LABEL git_sha=b346198c17a3ebf2419cb456fdaded435ad8b044 09:28:37 ---> Running in 1e10fc694a2b 09:28:37 Removing intermediate container 1e10fc694a2b 09:28:37 ---> 138598803d35 09:28:37 Step 36/36 : LABEL version=2.3.0-dev.16 09:28:37 ---> Running in 11ebf223ddfc 09:28:37 Removing intermediate container 11ebf223ddfc 09:28:37 ---> 727b2fbcc11e 09:28:37 [Warning] One or more build-args [ARCH] were not consumed 09:28:37 Successfully built 727b2fbcc11e 09:28:37 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 09:28:38 provisioning config files... 09:28:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/55@tmp/config5737431295163246353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:38 ---> docker-login.sh 09:28:38 nexus3.edgexfoundry.org:10001 09:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:38 Configure a credential helper to remove this warning. See 09:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:38 09:28:38 Login Succeeded 09:28:38 nexus3.edgexfoundry.org:10002 09:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:38 Configure a credential helper to remove this warning. See 09:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:38 09:28:38 Login Succeeded 09:28:38 nexus3.edgexfoundry.org:10003 09:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:39 Configure a credential helper to remove this warning. See 09:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:39 09:28:39 Login Succeeded 09:28:39 nexus3.edgexfoundry.org:10004 09:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:39 Configure a credential helper to remove this warning. See 09:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:39 09:28:39 Login Succeeded 09:28:39 docker.io 09:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:40 Configure a credential helper to remove this warning. See 09:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:40 09:28:40 Login Succeeded 09:28:40 ---> docker-login.sh ends [Pipeline] } 09:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:28:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:28:40 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 09:28:40 b346198c17a3ebf2419cb456fdaded435ad8b044 09:28:40 latest 09:28:40 2.3.0-dev.16 09:28:40 b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:28:40 main 09:28:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:40 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:41 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044 09:28:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:28:41 30d78aa277eb: Preparing 09:28:41 c976a7991c1c: Preparing 09:28:41 dc294a881cdd: Preparing 09:28:41 a43932d1df72: Preparing 09:28:41 1207169bf42c: Preparing 09:28:41 50927cc3d344: Preparing 09:28:41 61291bb20137: Preparing 09:28:41 3774292a4a53: Preparing 09:28:41 5bf80cae9759: Preparing 09:28:41 5288429e76f2: Preparing 09:28:41 1923d6410a6a: Preparing 09:28:41 5d3e392a13a0: Preparing 09:28:41 50927cc3d344: Waiting 09:28:41 61291bb20137: Waiting 09:28:41 3774292a4a53: Waiting 09:28:41 5bf80cae9759: Waiting 09:28:41 5288429e76f2: Waiting 09:28:41 1923d6410a6a: Waiting 09:28:41 5d3e392a13a0: Waiting 09:28:41 1207169bf42c: Pushed 09:28:41 30d78aa277eb: Pushed 09:28:41 dc294a881cdd: Pushed 09:28:41 c976a7991c1c: Pushed 09:28:41 50927cc3d344: Pushed 09:28:41 5bf80cae9759: Pushed 09:28:41 61291bb20137: Pushed 09:28:41 3774292a4a53: Pushed 09:28:41 5d3e392a13a0: Layer already exists 09:28:46 a43932d1df72: Pushed 09:28:46 5288429e76f2: Pushed 09:28:56 1923d6410a6a: Pushed 09:28:56 b346198c17a3ebf2419cb456fdaded435ad8b044: digest: sha256:da9d41f9f7cb287b7278190ca473fcb6996afa8b24d7032cf8ab348dc89cf963 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:56 + 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 09:28:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:28:57 30d78aa277eb: Preparing 09:28:57 c976a7991c1c: Preparing 09:28:57 dc294a881cdd: Preparing 09:28:57 a43932d1df72: Preparing 09:28:57 1207169bf42c: Preparing 09:28:57 50927cc3d344: Preparing 09:28:57 61291bb20137: Preparing 09:28:57 3774292a4a53: Preparing 09:28:57 5bf80cae9759: Preparing 09:28:57 5288429e76f2: Preparing 09:28:57 1923d6410a6a: Preparing 09:28:57 5d3e392a13a0: Preparing 09:28:57 50927cc3d344: Waiting 09:28:57 5bf80cae9759: Waiting 09:28:57 61291bb20137: Waiting 09:28:57 3774292a4a53: Waiting 09:28:57 5288429e76f2: Waiting 09:28:57 1923d6410a6a: Waiting 09:28:57 5d3e392a13a0: Waiting 09:28:57 c976a7991c1c: Layer already exists 09:28:57 30d78aa277eb: Layer already exists 09:28:57 dc294a881cdd: Layer already exists 09:28:57 a43932d1df72: Layer already exists 09:28:57 1207169bf42c: Layer already exists 09:28:57 50927cc3d344: Layer already exists 09:28:57 61291bb20137: Layer already exists 09:28:57 3774292a4a53: Layer already exists 09:28:57 5bf80cae9759: Layer already exists 09:28:57 5288429e76f2: Layer already exists 09:28:57 1923d6410a6a: Layer already exists 09:28:57 5d3e392a13a0: Layer already exists 09:28:57 latest: digest: sha256:da9d41f9f7cb287b7278190ca473fcb6996afa8b24d7032cf8ab348dc89cf963 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.16 09:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:28:58 30d78aa277eb: Preparing 09:28:58 c976a7991c1c: Preparing 09:28:58 dc294a881cdd: Preparing 09:28:58 a43932d1df72: Preparing 09:28:58 1207169bf42c: Preparing 09:28:58 50927cc3d344: Preparing 09:28:58 61291bb20137: Preparing 09:28:58 3774292a4a53: Preparing 09:28:58 5bf80cae9759: Preparing 09:28:58 5288429e76f2: Preparing 09:28:58 1923d6410a6a: Preparing 09:28:58 5d3e392a13a0: Preparing 09:28:58 50927cc3d344: Waiting 09:28:58 61291bb20137: Waiting 09:28:58 3774292a4a53: Waiting 09:28:58 5bf80cae9759: Waiting 09:28:58 5288429e76f2: Waiting 09:28:58 1923d6410a6a: Waiting 09:28:58 5d3e392a13a0: Waiting 09:28:58 30d78aa277eb: Layer already exists 09:28:58 a43932d1df72: Layer already exists 09:28:58 c976a7991c1c: Layer already exists 09:28:58 1207169bf42c: Layer already exists 09:28:58 dc294a881cdd: Layer already exists 09:28:58 50927cc3d344: Layer already exists 09:28:58 61291bb20137: Layer already exists 09:28:58 3774292a4a53: Layer already exists 09:28:58 5bf80cae9759: Layer already exists 09:28:58 5288429e76f2: Layer already exists 09:28:58 5d3e392a13a0: Layer already exists 09:28:58 1923d6410a6a: Layer already exists 09:28:58 2.3.0-dev.16: digest: sha256:da9d41f9f7cb287b7278190ca473fcb6996afa8b24d7032cf8ab348dc89cf963 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:58 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:28:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:28:58 30d78aa277eb: Preparing 09:28:58 c976a7991c1c: Preparing 09:28:58 dc294a881cdd: Preparing 09:28:58 a43932d1df72: Preparing 09:28:58 1207169bf42c: Preparing 09:28:58 50927cc3d344: Preparing 09:28:58 61291bb20137: Preparing 09:28:58 3774292a4a53: Preparing 09:28:58 5bf80cae9759: Preparing 09:28:58 5288429e76f2: Preparing 09:28:58 1923d6410a6a: Preparing 09:28:58 5d3e392a13a0: Preparing 09:28:58 50927cc3d344: Waiting 09:28:58 61291bb20137: Waiting 09:28:58 3774292a4a53: Waiting 09:28:58 5bf80cae9759: Waiting 09:28:58 5288429e76f2: Waiting 09:28:58 1923d6410a6a: Waiting 09:28:58 5d3e392a13a0: Waiting 09:28:58 30d78aa277eb: Layer already exists 09:28:58 a43932d1df72: Layer already exists 09:28:58 c976a7991c1c: Layer already exists 09:28:58 1207169bf42c: Layer already exists 09:28:58 dc294a881cdd: Layer already exists 09:28:58 3774292a4a53: Layer already exists 09:28:58 61291bb20137: Layer already exists 09:28:58 50927cc3d344: Layer already exists 09:28:58 5288429e76f2: Layer already exists 09:28:58 5bf80cae9759: Layer already exists 09:28:58 5d3e392a13a0: Layer already exists 09:28:58 1923d6410a6a: Layer already exists 09:28:59 b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16: digest: sha256:da9d41f9f7cb287b7278190ca473fcb6996afa8b24d7032cf8ab348dc89cf963 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:59 + 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 09:28:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 09:28:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:28:59 30d78aa277eb: Preparing 09:28:59 c976a7991c1c: Preparing 09:28:59 dc294a881cdd: Preparing 09:28:59 a43932d1df72: Preparing 09:28:59 1207169bf42c: Preparing 09:28:59 50927cc3d344: Preparing 09:28:59 61291bb20137: Preparing 09:28:59 3774292a4a53: Preparing 09:28:59 5bf80cae9759: Preparing 09:28:59 5288429e76f2: Preparing 09:28:59 1923d6410a6a: Preparing 09:28:59 5d3e392a13a0: Preparing 09:28:59 5bf80cae9759: Waiting 09:28:59 5288429e76f2: Waiting 09:28:59 50927cc3d344: Waiting 09:28:59 1923d6410a6a: Waiting 09:28:59 61291bb20137: Waiting 09:28:59 5d3e392a13a0: Waiting 09:28:59 3774292a4a53: Waiting 09:28:59 c976a7991c1c: Layer already exists 09:28:59 1207169bf42c: Layer already exists 09:28:59 a43932d1df72: Layer already exists 09:28:59 30d78aa277eb: Layer already exists 09:28:59 dc294a881cdd: Layer already exists 09:28:59 3774292a4a53: Layer already exists 09:28:59 5bf80cae9759: Layer already exists 09:28:59 50927cc3d344: Layer already exists 09:28:59 5288429e76f2: Layer already exists 09:28:59 61291bb20137: Layer already exists 09:28:59 5d3e392a13a0: Layer already exists 09:28:59 1923d6410a6a: Layer already exists 09:29:00 main: digest: sha256:da9d41f9f7cb287b7278190ca473fcb6996afa8b24d7032cf8ab348dc89cf963 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:29:00 ===================================================== [Pipeline] echo 09:29:00 taggedImages: 09:29:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044 09:29:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:29:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.16 09:29:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b346198c17a3ebf2419cb456fdaded435ad8b044-2.3.0-dev.16 09:29:00 - 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 09:29:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:00 09:29:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:00 arm64: Pulling from edgex-lftools-log-publisher 09:29:00 8998bd30e6a1: Pulling fs layer 09:29:00 04944245beec: Pulling fs layer 09:29:00 699f458cf7ca: Pulling fs layer 09:29:00 765212b225bb: Pulling fs layer 09:29:00 f23df028b6ca: Pulling fs layer 09:29:00 d65c8cfc05b1: Pulling fs layer 09:29:00 2437ff75d9bd: Pulling fs layer 09:29:00 f23df028b6ca: Waiting 09:29:00 765212b225bb: Waiting 09:29:00 d65c8cfc05b1: Waiting 09:29:00 2437ff75d9bd: Waiting 09:29:01 04944245beec: Verifying Checksum 09:29:01 04944245beec: Download complete 09:29:01 765212b225bb: Verifying Checksum 09:29:01 765212b225bb: Download complete 09:29:01 f23df028b6ca: Verifying Checksum 09:29:01 f23df028b6ca: Download complete 09:29:01 d65c8cfc05b1: Verifying Checksum 09:29:01 d65c8cfc05b1: Download complete 09:29:01 699f458cf7ca: Download complete 09:29:01 8998bd30e6a1: Verifying Checksum 09:29:01 8998bd30e6a1: Download complete 09:29:04 2437ff75d9bd: Verifying Checksum 09:29:04 2437ff75d9bd: Download complete 09:29:05 8998bd30e6a1: Pull complete 09:29:07 04944245beec: Pull complete 09:29:08 699f458cf7ca: Pull complete 09:29:08 765212b225bb: Pull complete 09:29:09 f23df028b6ca: Pull complete 09:29:09 d65c8cfc05b1: Pull complete 09:29:24 2437ff75d9bd: Pull complete 09:29:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:24 prd-ubuntu20.04-docker-arm64-4c-16g-8113 does not seem to be running inside a container 09:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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 09:29:27 $ docker top 200d78a28cdb28d260c2d46985d572bb0e01ed4d498cec6741980c9d004cb9d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:27 ---> job-cost.sh 09:29:27 lf-activate-venv: SKIPPING 09:29:27 INFO: No Stack... 09:29:28 INFO: Retrieving Pricing Info for: v3-standard-4 09:29:29 INFO: Archiving Costs [Pipeline] sh 09:29:29 + cat /w/workspace/device-usb-camera/55/archives/cost.csv 09:29:29 + cut -d, -f6 [Pipeline] lock 09:29:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] 09:29:29 Resource [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] did not exist. Created. 09:29:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:29:30 /w/workspace/device-usb-camera/55@tmp/durable-b2b6f4ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:29:30 + echo total: 0.10999999940395355 [Pipeline] stash 09:29:30 Warning: overwriting stash ‘stack-cost’ 09:29:30 Stashed 1 file(s) [Pipeline] } 09:29:30 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 09:29:30 $ docker stop --time=1 200d78a28cdb28d260c2d46985d572bb0e01ed4d498cec6741980c9d004cb9d6 09:29:32 $ docker rm -f 200d78a28cdb28d260c2d46985d572bb0e01ed4d498cec6741980c9d004cb9d6 [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 09:29:32 provisioning config files... 09:29:32 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12449224101057394161tmp [Pipeline] { [Pipeline] sh 09:29:33 + set +x 09:29:33 + curl -s https://codecov.io/bash 09:29:33 + bash -s -- 09:29:33 09:29:33 _____ _ 09:29:33 / ____| | | 09:29:33 | | ___ __| | ___ ___ _____ __ 09:29:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:29:33 | |___| (_) | (_| | __/ (_| (_) \ V / 09:29:33 \_____\___/ \__,_|\___|\___\___/ \_/ 09:29:33 Bash-1.0.6 09:29:33 09:29:33 09:29:33 ==> git version 2.25.1 found 09:29:33 ==> 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 09:29:33 Release-Date: 2020-01-08 09:29:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:29:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:29:33 ==> Jenkins CI detected. 09:29:33 current dir:  /w/workspace/exfoundry_device-usb-camera_main 09:29:33 project root: . 09:29:33 --> token set from env 09:29:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:29:33 ==> Running gcov in . (disable via -X gcov) 09:29:33 ==> Python coveragepy not found 09:29:33 ==> Searching for coverage reports in: 09:29:33 + . 09:29:33 -> Found 1 reports 09:29:33 ==> Detecting git/mercurial file structure 09:29:33 ==> Reading reports 09:29:33 + ./coverage.out bytes=29387 09:29:33 ==> Appending adjustments 09:29:33 https://docs.codecov.io/docs/fixing-reports 09:29:33 + Found adjustments 09:29:33 ==> Gzipping contents 09:29:33 8.0K /tmp/codecov.NJP29g.gz 09:29:33 ==> Uploading reports 09:29:33 url: https://codecov.io 09:29:33 query: branch=main&commit=b346198c17a3ebf2419cb456fdaded435ad8b044&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:29:33 -> Pinging Codecov 09:29:33 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=b346198c17a3ebf2419cb456fdaded435ad8b044&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:29:33 -> Uploading to 09:29:33 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/73D8F5FF140700D3E01443B452E23636/b346198c17a3ebf2419cb456fdaded435ad8b044/baf1ece3-9634-452b-9efb-549e01f883f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b86b9ec0eea8838a29433b1bae9b3cb97123021ddf26e89a20b4876e1fe02f98 09:29:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:29:33 Dload Upload Total Spent Left Speed 09:29:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4190 0 0 100 4190 0 16626 --:--:-- --:--:-- --:--:-- 16561 100 4190 0 0 100 4190 0 16626 --:--:-- --:--:-- --:--:-- 16561 09:29:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] } 09:29:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:29:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:29:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:34 09:29:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:29:34 df9b9388f04a: Pulling fs layer 09:29:34 52dc419b0ee2: Pulling fs layer 09:29:34 25bc292e5bac: Pulling fs layer 09:29:34 114826534d7a: Pulling fs layer 09:29:34 4657fd5d0bcf: Pulling fs layer 09:29:34 6ad1cebc031e: Pulling fs layer 09:29:34 8a3aa393b2d8: Pulling fs layer 09:29:34 114826534d7a: Waiting 09:29:34 4657fd5d0bcf: Waiting 09:29:34 6ad1cebc031e: Waiting 09:29:34 8a3aa393b2d8: Waiting 09:29:34 25bc292e5bac: Verifying Checksum 09:29:34 25bc292e5bac: Download complete 09:29:34 52dc419b0ee2: Download complete 09:29:34 4657fd5d0bcf: Verifying Checksum 09:29:34 4657fd5d0bcf: Download complete 09:29:34 df9b9388f04a: Download complete 09:29:34 df9b9388f04a: Pull complete 09:29:34 6ad1cebc031e: Verifying Checksum 09:29:35 52dc419b0ee2: Pull complete 09:29:35 25bc292e5bac: Pull complete 09:29:35 114826534d7a: Verifying Checksum 09:29:35 114826534d7a: Download complete 09:29:35 8a3aa393b2d8: Verifying Checksum 09:29:35 8a3aa393b2d8: Download complete 09:29:38 114826534d7a: Pull complete 09:29:38 4657fd5d0bcf: Pull complete 09:29:39 6ad1cebc031e: Pull complete 09:29:42 8a3aa393b2d8: Pull complete 09:29:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:42 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:29:42 $ 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 09:29:45 $ docker top 5cafd62a40ad66547ad111016b64bac26e4fb523b973c1992555621547eaa5d9 -eo pid,comm [Pipeline] { [Pipeline] echo 09:29:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 09:29:45 + set -o pipefail 09:29:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 09:29:53 09:29:53 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 09:29:53 09:29:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/c2b8a934-430a-4928-a9e2-c0069f4db2fd 09:29:53 09:29:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:29:53 09:29:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:29:53 09:29:53 09:29:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:29:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:29:53 More details here: https://snyk.co/ue1NS [Pipeline] } 09:29:53 $ docker stop --time=1 5cafd62a40ad66547ad111016b64bac26e4fb523b973c1992555621547eaa5d9 09:29:56 $ docker rm -f 5cafd62a40ad66547ad111016b64bac26e4fb523b973c1992555621547eaa5d9 [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 09:29:57 + git log --format=format:%s -1 b346198c17a3ebf2419cb456fdaded435ad8b044 [Pipeline] sh 09:29:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:29:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:58 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:29:58 $ 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 09:29:58 $ docker top 60ce36beacf1ef36ec6ca30693683f2c77a46edceba0235662c400c73e053fdf -eo pid,comm 09:29:58 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). 09:29:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:58 [ssh-agent] Looking for ssh-agent implementation... 09:29:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:58 $ docker exec 60ce36beacf1ef36ec6ca30693683f2c77a46edceba0235662c400c73e053fdf ssh-agent 09:29:58 SSH_AUTH_SOCK=/tmp/ssh-OXnjsqIQUaxS/agent.32 09:29:58 SSH_AGENT_PID=38 09:29:58 Running ssh-add (command line suppressed) 09:29:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3571753161102573603.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3571753161102573603.key) 09:29:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:59 + git semver tag 09:29:59 2022-10-17 09:29:59,454 [run_tag] DEBUG tag force:False 09:29:59 2022-10-17 09:29:59,454 [check_head_tag] DEBUG check head tag 09:29:59 2022-10-17 09:29:59,456 [execute] INFO git cat-file --batch-check 09:29:59 2022-10-17 09:29:59,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:29:59 2022-10-17 09:29:59,461 [execute] INFO git cat-file --batch 09:29:59 2022-10-17 09:29:59,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:29:59 2022-10-17 09:29:59,477 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:29:59 2022-10-17 09:29:59,478 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 09:29:59 2022-10-17 09:29:59,478 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 09:29:59 2022-10-17 09:29:59,484 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:29:59 2.3.0-dev.16 [Pipeline] } 09:29:59 $ docker exec --env ******** --env ******** 60ce36beacf1ef36ec6ca30693683f2c77a46edceba0235662c400c73e053fdf ssh-agent -k 09:29:59 unset SSH_AUTH_SOCK; 09:29:59 unset SSH_AGENT_PID; 09:29:59 echo Agent pid 38 killed; 09:29:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:59 + git semver [Pipeline] } 09:30:00 $ docker stop --time=1 60ce36beacf1ef36ec6ca30693683f2c77a46edceba0235662c400c73e053fdf 09:30:01 $ docker rm -f 60ce36beacf1ef36ec6ca30693683f2c77a46edceba0235662c400c73e053fdf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:01 09:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:02 0.23.1-centos7: Pulling from edgex-lftools 09:30:02 ab5ef0e58194: Pulling fs layer 09:30:02 9712f1f96733: Pulling fs layer 09:30:02 63f879dbbcfc: Pulling fs layer 09:30:02 0d9ebad4ef96: Pulling fs layer 09:30:02 e9a5061849ea: Pulling fs layer 09:30:02 d747dcd14b5f: Pulling fs layer 09:30:02 2de7ff778b66: Pulling fs layer 09:30:02 0d9ebad4ef96: Waiting 09:30:02 e9a5061849ea: Waiting 09:30:02 d747dcd14b5f: Waiting 09:30:02 2de7ff778b66: Waiting 09:30:02 9712f1f96733: Download complete 09:30:02 0d9ebad4ef96: Verifying Checksum 09:30:02 0d9ebad4ef96: Download complete 09:30:02 63f879dbbcfc: Verifying Checksum 09:30:02 63f879dbbcfc: Download complete 09:30:03 d747dcd14b5f: Verifying Checksum 09:30:03 d747dcd14b5f: Download complete 09:30:03 e9a5061849ea: Verifying Checksum 09:30:03 e9a5061849ea: Download complete 09:30:03 2de7ff778b66: Verifying Checksum 09:30:03 2de7ff778b66: Download complete 09:30:03 ab5ef0e58194: Verifying Checksum 09:30:03 ab5ef0e58194: Download complete 09:30:06 ab5ef0e58194: Pull complete 09:30:06 9712f1f96733: Pull complete 09:30:06 63f879dbbcfc: Pull complete 09:30:11 0d9ebad4ef96: Pull complete 09:30:11 e9a5061849ea: Pull complete 09:30:11 d747dcd14b5f: Pull complete 09:30:12 2de7ff778b66: Pull complete 09:30:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:30:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:12 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:30:12 $ 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 09:30:16 $ docker top 48979ecee67afca3207e0af4bf6ce9ea768cfe80a5b00ca6a7f926c0dc9a811b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:30:16 provisioning config files... 09:30:16 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9631008755880350235tmp 09:30:16 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config410539422891596057tmp 09:30:16 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16044712292036945350tmp [Pipeline] { [Pipeline] echo 09:30:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:30:16 ---> sigul-configuration.sh 09:30:16 gpg: directory `/root/.gnupg' created 09:30:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:30:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:30:16 gpg: keyring `/root/.gnupg/secring.gpg' created 09:30:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:30:16 gpg: CAST5 encrypted data 09:30:16 gpg: encrypted with 1 passphrase 09:30:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:30:16 + mkdir /home/jenkins 09:30:16 + mkdir /home/jenkins/sigul [Pipeline] sh 09:30:17 + 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 09:30:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:30:17 ---> sigul-install.sh 09:30:17 Sigul already installed; skipping installation. [Pipeline] sh 09:30:17 + git tag --list 09:30:17 v0.0.0 09:30:17 v0.0.1-dev.1 09:30:17 v0.0.1-dev.10 09:30:17 v0.0.1-dev.11 09:30:17 v0.0.1-dev.12 09:30:17 v0.0.1-dev.13 09:30:17 v0.0.1-dev.14 09:30:17 v0.0.1-dev.15 09:30:17 v0.0.1-dev.16 09:30:17 v0.0.1-dev.2 09:30:17 v0.0.1-dev.3 09:30:17 v0.0.1-dev.4 09:30:17 v0.0.1-dev.5 09:30:17 v0.0.1-dev.6 09:30:17 v0.0.1-dev.7 09:30:17 v0.0.1-dev.8 09:30:17 v0.0.1-dev.9 09:30:17 v2.2.0 09:30:17 v2.2.0-dev.17 09:30:17 v2.2.0-dev.18 09:30:17 v2.2.0-dev.19 09:30:17 v2.2.0-dev.20 09:30:17 v2.2.0-dev.21 09:30:17 v2.2.0-dev.22 09:30:17 v2.2.0-dev.23 09:30:17 v2.2.0-dev.24 09:30:17 v2.2.0-dev.25 09:30:17 v2.2.0-dev.26 09:30:17 v2.2.0-dev.27 09:30:17 v2.3.0-dev.1 09:30:17 v2.3.0-dev.10 09:30:17 v2.3.0-dev.11 09:30:17 v2.3.0-dev.12 09:30:17 v2.3.0-dev.13 09:30:17 v2.3.0-dev.14 09:30:17 v2.3.0-dev.15 09:30:17 v2.3.0-dev.16 09:30:17 v2.3.0-dev.2 09:30:17 v2.3.0-dev.3 09:30:17 v2.3.0-dev.4 09:30:17 v2.3.0-dev.5 09:30:17 v2.3.0-dev.6 09:30:17 v2.3.0-dev.7 09:30:17 v2.3.0-dev.8 09:30:17 v2.3.0-dev.9 [Pipeline] sh 09:30:18 + lftools sign git-tag v2.3.0-dev.16 09:30:18 Signing Git tag with Sigul... 09:30:18 Signing v2.3.0-dev.16 [Pipeline] echo 09:30:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:30:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:30:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:30:19 $ docker stop --time=1 48979ecee67afca3207e0af4bf6ce9ea768cfe80a5b00ca6a7f926c0dc9a811b 09:30:20 $ docker rm -f 48979ecee67afca3207e0af4bf6ce9ea768cfe80a5b00ca6a7f926c0dc9a811b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:30:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:21 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:30:21 $ 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 09:30:22 $ docker top 07b0d73a67bb901a92961902583f0ebaee551ae60abd5d3d18350f5e83ea52ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:22 [ssh-agent] Looking for ssh-agent implementation... 09:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:22 $ docker exec 07b0d73a67bb901a92961902583f0ebaee551ae60abd5d3d18350f5e83ea52ad ssh-agent 09:30:22 SSH_AUTH_SOCK=/tmp/ssh-vqpDvRG22JPm/agent.32 09:30:22 SSH_AGENT_PID=38 09:30:22 Running ssh-add (command line suppressed) 09:30:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2220963644976549551.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2220963644976549551.key) 09:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:22 + git semver bump pre 09:30:23 2022-10-17 09:30:22,920 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:30:23 2022-10-17 09:30:22,921 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 09:30:23 2022-10-17 09:30:22,921 [bump_version] DEBUG bumped version:2.3.0-dev.17 09:30:23 2022-10-17 09:30:22,921 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 09:30:23 2022-10-17 09:30:22,921 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:30:23 2022-10-17 09:30:22,921 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:30:23 2022-10-17 09:30:22,923 [execute] INFO git cat-file --batch-check 09:30:23 2022-10-17 09:30:22,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:23 2022-10-17 09:30:22,930 [execute] INFO git cat-file --batch 09:30:23 2022-10-17 09:30:22,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:23 2022-10-17 09:30:22,936 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:30:23 2.3.0-dev.17 [Pipeline] } 09:30:23 $ docker exec --env ******** --env ******** 07b0d73a67bb901a92961902583f0ebaee551ae60abd5d3d18350f5e83ea52ad ssh-agent -k 09:30:23 unset SSH_AUTH_SOCK; 09:30:23 unset SSH_AGENT_PID; 09:30:23 echo Agent pid 38 killed; 09:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:23 + git semver [Pipeline] } 09:30:23 $ docker stop --time=1 07b0d73a67bb901a92961902583f0ebaee551ae60abd5d3d18350f5e83ea52ad 09:30:25 $ docker rm -f 07b0d73a67bb901a92961902583f0ebaee551ae60abd5d3d18350f5e83ea52ad [Pipeline] // withDockerContainer [Pipeline] sh 09:30:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:25 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:30:25 $ 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 09:30:26 $ docker top ab75b81127343aaad2e772d8061d8561b2c1a057d8630c18d8e160ecbb3e804a -eo pid,comm 09:30:26 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). 09:30:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:26 [ssh-agent] Looking for ssh-agent implementation... 09:30:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:26 $ docker exec ab75b81127343aaad2e772d8061d8561b2c1a057d8630c18d8e160ecbb3e804a ssh-agent 09:30:26 SSH_AUTH_SOCK=/tmp/ssh-otBcErKTlH0x/agent.32 09:30:26 SSH_AGENT_PID=38 09:30:26 Running ssh-add (command line suppressed) 09:30:26 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13039032230525737960.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13039032230525737960.key) 09:30:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:26 + git semver push 09:30:27 2022-10-17 09:30:27,165 [run_push] DEBUG push 09:30:27 2022-10-17 09:30:27,165 [execute] INFO git cat-file --batch-check 09:30:27 2022-10-17 09:30:27,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:27 2022-10-17 09:30:27,170 [execute] INFO git rev-list ce38f8415046577445e720fd73e14550b3af1ab7 -- 09:30:27 2022-10-17 09:30:27,170 [execute] DEBUG Popen(['git', 'rev-list', 'ce38f8415046577445e720fd73e14550b3af1ab7', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:30:27 2022-10-17 09:30:27,177 [execute] INFO git fetch -v origin 09:30:27 2022-10-17 09:30:27,178 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 09:30:27 2022-10-17 09:30:27,784 [run_push] DEBUG no remote changes detected 09:30:27 2022-10-17 09:30:27,784 [execute] INFO git push origin semver 09:30:27 2022-10-17 09:30:27,785 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:30:28 2022-10-17 09:30:28,645 [run_push] DEBUG push all version tags 09:30:28 2022-10-17 09:30:28,646 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:30:28 2022-10-17 09:30:28,646 [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) 09:30:29 2022-10-17 09:30:29,456 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:30:29 2.3.0-dev.17 [Pipeline] } 09:30:29 $ docker exec --env ******** --env ******** ab75b81127343aaad2e772d8061d8561b2c1a057d8630c18d8e160ecbb3e804a ssh-agent -k 09:30:29 unset SSH_AUTH_SOCK; 09:30:29 unset SSH_AGENT_PID; 09:30:29 echo Agent pid 38 killed; 09:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:30 + git semver [Pipeline] } 09:30:30 $ docker stop --time=1 ab75b81127343aaad2e772d8061d8561b2c1a057d8630c18d8e160ecbb3e804a 09:30:31 $ docker rm -f ab75b81127343aaad2e772d8061d8561b2c1a057d8630c18d8e160ecbb3e804a [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 09:30:32 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 09:30:32 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:30:32 total 16 09:30:32 drwxr-xr-x 3 root root 4096 Oct 17 09:17 . 09:30:32 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:30 .. 09:30:32 drwxr-xr-x 2 root root 4096 Oct 17 09:17 cost 09:30:32 -rw-r--r-- 1 root root 88 Oct 17 09:17 cost.csv 09:30:32 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 09:30:32 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:30:32 total 16 09:30:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:17 . 09:30:32 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:30 .. 09:30:32 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:17 cost 09:30:32 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 09:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:30:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:30:33 ---> package-listing.sh 09:30:33 ++ facter osfamily 09:30:33 ++ tr '[:upper:]' '[:lower:]' 09:30:33 + OS_FAMILY=debian 09:30:33 + workspace=/w/workspace/exfoundry_device-usb-camera_main 09:30:33 + START_PACKAGES=/tmp/packages_start.txt 09:30:33 + END_PACKAGES=/tmp/packages_end.txt 09:30:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:30:33 + PACKAGES=/tmp/packages_start.txt 09:30:33 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:30:33 + PACKAGES=/tmp/packages_end.txt 09:30:33 + case "${OS_FAMILY}" in 09:30:33 + dpkg -l 09:30:33 + grep '^ii' 09:30:33 + '[' -f /tmp/packages_start.txt ']' 09:30:33 + '[' -f /tmp/packages_end.txt ']' 09:30:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:30:33 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:30:33 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 09:30:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 09:30:33 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 09:30:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:34 prd-ubuntu20.04-docker-8c-8g-8063 does not seem to be running inside a container 09:30:34 $ 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 09:30:34 $ docker top 5aec20d24a76666fb949eb155ec1dab313d0525035243e716e41563c3b91d43f -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:35 + touch /tmp/pre-build-complete [Pipeline] sh 09:30:35 + mkdir -p /var/log/sysstat [Pipeline] sh 09:30:35 + ls /var/log/sa-host 09:30:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:35 provisioning config files... 09:30:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3485960001021596695tmp [Pipeline] { [Pipeline] echo 09:30:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:30:36 ---> create-netrc.sh [Pipeline] } 09:30:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:30:36 ---> python-tools-install.sh [Pipeline] echo 09:30:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:30:36 ---> sudo-logs.sh 09:30:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:30:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:30:36 ---> job-cost.sh 09:30:36 lf-activate-venv: SKIPPING 09:30:36 DEBUG: total: 0.2199999988079071 09:30:36 INFO: Retrieving Stack Cost... 09:30:37 INFO: Retrieving Pricing Info for: v3-standard-8 09:30:37 INFO: Archiving Costs [Pipeline] echo 09:30:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:30:38 ---> logs-deploy.sh 09:30:38 lf-activate-venv: SKIPPING 09:30:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/55 09:30:38 INFO: archiving workspace using pattern(s): 09:30:39 Archives upload complete. 09:30:39 INFO: archiving logs to Nexus