Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 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-ssh18269418085560995370.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-ssh2816836466378857417.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-ssh14402018307488533285.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-ssh16326680426317282908.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-ssh12636728543921074937.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7348 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 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b (main) Commit message: "docs: adding USB camera postman collection and env files (#96)" > 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 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 > git rev-list --no-walk f2d41180d4aa04758258526b6ca81b3370c93db4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:22 ========================================================= 16:48:22 EdgeX Global Pipelines Version Info 16:48:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:23 ------------------- 16:48:23 stable info: 16:48:23 ------------------- 16:48:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:48:23 Message: update stable to v1.0.239 16:48:23 ------------------- 16:48:23 experimental info: 16:48:23 ------------------- 16:48:23 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:48:23 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:48:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6cf2f2 [Pipeline] echo 16:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:24 provisioning config files... 16:48:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3136981589940107646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:24 ---> docker-login.sh 16:48:24 nexus3.edgexfoundry.org:10001 16:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:24 Configure a credential helper to remove this warning. See 16:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:24 16:48:24 Login Succeeded 16:48:24 nexus3.edgexfoundry.org:10002 16:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:24 Configure a credential helper to remove this warning. See 16:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:24 16:48:24 Login Succeeded 16:48:24 nexus3.edgexfoundry.org:10003 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 nexus3.edgexfoundry.org:10004 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 docker.io 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 ---> docker-login.sh ends [Pipeline] } 16:48:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:48:26 + git rev-list -1 --merges e6cf2f2f80d14c6ff357eccb58ac1fd20041715b~1..e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] echo 16:48:26 -----------> git rev-list -1 --merges e6cf2f2f80d14c6ff357eccb58ac1fd20041715b~1..e6cf2f2f80d14c6ff357eccb58ac1fd20041715b e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [false] [Pipeline] sh 16:48:26 + git log --format=format:%s -1 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] echo 16:48:26 ========================================================= 16:48:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:48:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:26 + git log --format=format:%s -1 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] echo 16:48:26 [semverPrep] GIT_COMMIT: e6cf2f2f80d14c6ff357eccb58ac1fd20041715b, Commit Message: docs: adding USB camera postman collection and env files (#96) [Pipeline] echo 16:48:26 [semverPrep] This is not a build commit. [Pipeline] sh 16:48:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:27 + grep -v github /etc/ssh/ssh_known_hosts 16:48:27 + [ -e /tmp/ssh_known_hosts ] 16:48:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:48:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:48:27 + sudo tee -a /etc/ssh/ssh_known_hosts 16:48:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:27 16:48:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:27 0.1.4: Pulling from edgex-devops/py-git-semver 16:48:27 b85a868b505f: Pulling fs layer 16:48:27 e2be974225ed: Pulling fs layer 16:48:27 339a4e72a1f5: Pulling fs layer 16:48:27 988bab9f4d93: Pulling fs layer 16:48:27 1469e6f7b9e6: Pulling fs layer 16:48:27 eaf3925da568: Pulling fs layer 16:48:27 bab4dde63d76: Pulling fs layer 16:48:27 bde34c3a00c8: Pulling fs layer 16:48:27 b352a97aabf1: Pulling fs layer 16:48:27 4872d77fe225: Pulling fs layer 16:48:27 5851b861e8e6: Pulling fs layer 16:48:27 bde34c3a00c8: Waiting 16:48:27 b352a97aabf1: Waiting 16:48:27 988bab9f4d93: Waiting 16:48:27 4872d77fe225: Waiting 16:48:27 eaf3925da568: Waiting 16:48:27 5851b861e8e6: Waiting 16:48:27 1469e6f7b9e6: Waiting 16:48:27 bab4dde63d76: Waiting 16:48:27 e2be974225ed: Verifying Checksum 16:48:27 e2be974225ed: Download complete 16:48:27 988bab9f4d93: Verifying Checksum 16:48:27 988bab9f4d93: Download complete 16:48:28 1469e6f7b9e6: Verifying Checksum 16:48:28 1469e6f7b9e6: Download complete 16:48:28 339a4e72a1f5: Verifying Checksum 16:48:28 339a4e72a1f5: Download complete 16:48:28 eaf3925da568: Verifying Checksum 16:48:28 eaf3925da568: Download complete 16:48:28 bde34c3a00c8: Verifying Checksum 16:48:28 bde34c3a00c8: Download complete 16:48:28 b352a97aabf1: Verifying Checksum 16:48:28 b352a97aabf1: Download complete 16:48:28 4872d77fe225: Download complete 16:48:28 5851b861e8e6: Download complete 16:48:28 b85a868b505f: Verifying Checksum 16:48:28 b85a868b505f: Download complete 16:48:28 bab4dde63d76: Verifying Checksum 16:48:28 bab4dde63d76: Download complete 16:48:29 b85a868b505f: Pull complete 16:48:29 e2be974225ed: Pull complete 16:48:30 339a4e72a1f5: Pull complete 16:48:30 988bab9f4d93: Pull complete 16:48:30 1469e6f7b9e6: Pull complete 16:48:30 eaf3925da568: Pull complete 16:48:32 bab4dde63d76: Pull complete 16:48:32 bde34c3a00c8: Pull complete 16:48:32 b352a97aabf1: Pull complete 16:48:32 4872d77fe225: Pull complete 16:48:32 5851b861e8e6: Pull complete 16:48:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:33 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 16:48:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:35 $ docker top 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a -eo pid,comm 16:48:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:48:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:35 [ssh-agent] Looking for ssh-agent implementation... 16:48:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:35 $ docker exec 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a ssh-agent 16:48:35 SSH_AUTH_SOCK=/tmp/ssh-kaYnCKnlqjrO/agent.33 16:48:35 SSH_AGENT_PID=39 16:48:35 Running ssh-add (command line suppressed) 16:48:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9817196416027426409.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9817196416027426409.key) 16:48:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:36 + git tag --points-at HEAD [Pipeline] } 16:48:36 $ docker exec --env ******** --env ******** 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a ssh-agent -k 16:48:36 unset SSH_AUTH_SOCK; 16:48:36 unset SSH_AGENT_PID; 16:48:36 echo Agent pid 39 killed; 16:48:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:48:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:36 [ssh-agent] Looking for ssh-agent implementation... 16:48:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:36 $ docker exec 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a ssh-agent 16:48:36 SSH_AUTH_SOCK=/tmp/ssh-HPOrR3xNzd1N/agent.71 16:48:36 SSH_AGENT_PID=77 16:48:36 Running ssh-add (command line suppressed) 16:48:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6098344690464140446.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6098344690464140446.key) 16:48:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:36 + git semver init 16:48:37 2022-10-07 16:48:37,047 [run_init] DEBUG init version:0.0.0 force:False 16:48:37 2022-10-07 16:48:37,048 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 16:48:37 2022-10-07 16:48:37,048 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 16:48:37 2022-10-07 16:48:37,048 [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) 16:48:38 2022-10-07 16:48:37,961 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 16:48:38 2022-10-07 16:48:37,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 16:48:38 2022-10-07 16:48:37,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:48:38 2022-10-07 16:48:37,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:48:38 2.3.0-dev.14 [Pipeline] } 16:48:38 $ docker exec --env ******** --env ******** 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a ssh-agent -k 16:48:38 unset SSH_AUTH_SOCK; 16:48:38 unset SSH_AGENT_PID; 16:48:38 echo Agent pid 77 killed; 16:48:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:38 + git semver [Pipeline] } 16:48:38 $ docker stop --time=1 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a 16:48:40 $ docker rm -f 20b264ba68f689cd51c27ed8c83e82acca219df8dbe277ac27984971a42d9e5a [Pipeline] // withDockerContainer [Pipeline] sh 16:48:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:48:40 Stashed 1 file(s) [Pipeline] echo 16:48:40 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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 16:48:40 provisioning config files... 16:48:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7094129581573425409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:40 ---> docker-login.sh 16:48:40 nexus3.edgexfoundry.org:10001 16:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:40 Configure a credential helper to remove this warning. See 16:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:40 16:48:40 Login Succeeded 16:48:40 nexus3.edgexfoundry.org:10002 16:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:40 Configure a credential helper to remove this warning. See 16:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:40 16:48:40 Login Succeeded 16:48:40 nexus3.edgexfoundry.org:10003 16:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:41 Configure a credential helper to remove this warning. See 16:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:41 16:48:41 Login Succeeded 16:48:41 nexus3.edgexfoundry.org:10004 16:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:41 Configure a credential helper to remove this warning. See 16:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:41 16:48:41 Login Succeeded 16:48:41 docker.io 16:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:41 Configure a credential helper to remove this warning. See 16:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:41 16:48:41 Login Succeeded 16:48:41 ---> docker-login.sh ends [Pipeline] } 16:48:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:41 ========================================================= 16:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:48:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:42 + 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 . 16:48:42 Sending build context to Docker daemon 1.486MB 16:48:42 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:48:42 Step 2/14 : FROM ${BASE} AS builder 16:48:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:42 2408cc74d12b: Pulling fs layer 16:48:42 ea60b727a1ce: Pulling fs layer 16:48:42 30c4a7721957: Pulling fs layer 16:48:42 370296b7ddb6: Pulling fs layer 16:48:42 7c6cee850709: Pulling fs layer 16:48:42 aa9baa53a306: Pulling fs layer 16:48:42 8b309c321861: Pulling fs layer 16:48:42 d8d76fd02f46: Pulling fs layer 16:48:42 fa31f396de31: Pulling fs layer 16:48:42 370296b7ddb6: Waiting 16:48:42 7c6cee850709: Waiting 16:48:42 aa9baa53a306: Waiting 16:48:42 d8d76fd02f46: Waiting 16:48:42 fa31f396de31: Waiting 16:48:42 8b309c321861: Waiting 16:48:42 30c4a7721957: Verifying Checksum 16:48:42 30c4a7721957: Download complete 16:48:42 ea60b727a1ce: Verifying Checksum 16:48:42 ea60b727a1ce: Download complete 16:48:42 7c6cee850709: Verifying Checksum 16:48:42 7c6cee850709: Download complete 16:48:42 aa9baa53a306: Verifying Checksum 16:48:42 aa9baa53a306: Download complete 16:48:42 2408cc74d12b: Verifying Checksum 16:48:42 2408cc74d12b: Download complete 16:48:42 8b309c321861: Download complete 16:48:42 2408cc74d12b: Pull complete 16:48:42 ea60b727a1ce: Pull complete 16:48:42 30c4a7721957: Pull complete 16:48:43 fa31f396de31: Verifying Checksum 16:48:43 fa31f396de31: Download complete 16:48:43 370296b7ddb6: Verifying Checksum 16:48:43 370296b7ddb6: Download complete 16:48:43 d8d76fd02f46: Verifying Checksum 16:48:43 d8d76fd02f46: Download complete 16:48:47 370296b7ddb6: Pull complete 16:48:47 7c6cee850709: Pull complete 16:48:47 aa9baa53a306: Pull complete 16:48:47 8b309c321861: Pull complete 16:48:49 d8d76fd02f46: Pull complete 16:48:50 fa31f396de31: Pull complete 16:48:50 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 16:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:48:50 ---> cef68f9685f8 16:48:50 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:48:54 ---> Running in 9763fa11ccd7 16:48:54 Removing intermediate container 9763fa11ccd7 16:48:54 ---> 9fafd3b7e0cc 16:48:54 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:48:54 ---> Running in 3c42526fe92c 16:48:54 Removing intermediate container 3c42526fe92c 16:48:54 ---> eac9e5540d98 16:48:54 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:48:54 ---> Running in 4befe189da35 16:48:54 Removing intermediate container 4befe189da35 16:48:54 ---> 555e5ef5f388 16:48:54 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:48:54 ---> Running in 542c67c839a7 16:48:54 Removing intermediate container 542c67c839a7 16:48:54 ---> 74edea1e8dd0 16:48:54 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:54 ---> Running in bb5488315616 16:48:54 Removing intermediate container bb5488315616 16:48:54 ---> a395a3f5bd98 16:48:54 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:54 ---> Running in 64d1ff4e3429 16:48:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:48:55 Still waiting to schedule task 16:48:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:48:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:48:56 (1/80) Installing mesa (21.3.8-r2) 16:48:56 (2/80) Installing libxau (1.0.9-r0) 16:48:56 (3/80) Installing libxdmcp (1.1.3-r0) 16:48:56 (4/80) Installing libxcb (1.15-r0) 16:48:56 (5/80) Installing libx11 (1.8-r0) 16:48:56 (6/80) Installing libxext (1.3.4-r0) 16:48:56 (7/80) Installing libxfixes (6.0.0-r0) 16:48:57 (8/80) Installing libxxf86vm (1.1.4-r2) 16:48:57 (9/80) Installing libpciaccess (0.16-r0) 16:48:57 (10/80) Installing libdrm (2.4.110-r0) 16:48:57 (11/80) Installing mesa-glapi (21.3.8-r2) 16:48:57 (12/80) Installing libxshmfence (1.3-r1) 16:48:57 (13/80) Installing mesa-gl (21.3.8-r2) 16:48:57 (14/80) Installing icu-data-full (71.1-r2) 16:48:58 (15/80) Installing libice (1.0.10-r0) 16:48:58 (16/80) Installing libuuid (2.38-r1) 16:48:58 (17/80) Installing libsm (1.2.3-r0) 16:48:58 (18/80) Installing libxt (1.2.1-r0) 16:48:58 (19/80) Installing libxmu (1.1.3-r0) 16:48:58 (20/80) Installing xset (1.2.4-r0) 16:48:58 (21/80) Installing xprop (1.2.5-r0) 16:48:59 (22/80) Installing xdg-utils (1.1.3-r3) 16:48:59 (23/80) Installing dbus-libs (1.14.4-r0) 16:48:59 (24/80) Installing libffi (3.4.2-r1) 16:48:59 (25/80) Installing libintl (0.21-r2) 16:48:59 (26/80) Installing libblkid (2.38-r1) 16:48:59 (27/80) Installing libmount (2.38-r1) 16:48:59 (28/80) Installing pcre (8.45-r2) 16:48:59 (29/80) Installing glib (2.72.1-r0) 16:48:59 (30/80) Installing icu-libs (71.1-r2) 16:49:00 (31/80) Installing libpcre2-16 (10.40-r0) 16:49:00 (32/80) Installing zstd-libs (1.5.2-r1) 16:49:00 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:49:00 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:49:00 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:49:00 (36/80) Installing mesa-gbm (21.3.8-r2) 16:49:00 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:49:00 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:49:01 (39/80) Installing libxcomposite (0.4.5-r0) 16:49:01 (40/80) Installing libbz2 (1.0.8-r1) 16:49:01 (41/80) Installing libpng (1.6.37-r1) 16:49:01 (42/80) Installing freetype (2.12.1-r0) 16:49:01 (43/80) Installing fontconfig (2.14.0-r0) 16:49:01 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:49:01 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:49:01 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:49:02 (47/80) Installing xz-libs (5.2.5-r1) 16:49:02 (48/80) Installing libxml2 (2.9.14-r1) 16:49:02 (49/80) Installing libxkbcommon (1.4.1-r0) 16:49:02 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:49:02 (51/80) Installing mesa-egl (21.3.8-r2) 16:49:02 (52/80) Installing avahi-libs (0.8-r6) 16:49:02 (53/80) Installing nettle (3.7.3-r0) 16:49:02 (54/80) Installing p11-kit (0.24.1-r0) 16:49:02 (55/80) Installing libtasn1 (4.18.0-r0) 16:49:02 (56/80) Installing libunistring (1.0-r0) 16:49:03 (57/80) Installing gnutls (3.7.7-r0) 16:49:03 (58/80) Installing cups-libs (2.4.2-r0) 16:49:03 (59/80) Installing graphite2 (1.3.14-r1) 16:49:03 (60/80) Installing harfbuzz (4.3.0-r0) 16:49:03 (61/80) Installing libevdev (1.12.1-r0) 16:49:03 (62/80) Installing mtdev (1.1.6-r0) 16:49:03 (63/80) Installing eudev-libs (3.2.11-r0) 16:49:03 (64/80) Installing libinput-libs (1.20.1-r0) 16:49:03 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:49:03 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:49:03 (67/80) Installing xcb-util (0.4.0-r3) 16:49:04 (68/80) Installing xcb-util-image (0.4.0-r1) 16:49:04 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:49:04 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:49:04 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:49:04 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:49:05 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:49:05 (74/80) Installing v4l-utils (1.22.1-r1) 16:49:05 (75/80) Installing udev-init-scripts (35-r0) 16:49:05 Executing udev-init-scripts-35-r0.post-install 16:49:05 (76/80) Installing kmod-libs (29-r2) 16:49:05 (77/80) Installing eudev (3.2.11-r0) 16:49:05 (78/80) Installing eudev-dev (3.2.11-r0) 16:49:05 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:49:05 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:49:05 Executing busybox-1.35.0-r13.trigger 16:49:05 Executing eudev-3.2.11-r0.trigger 16:49:05 OK: 330 MiB in 131 packages 16:49:08 Removing intermediate container 64d1ff4e3429 16:49:08 ---> bc13a43425a4 16:49:08 Step 9/14 : WORKDIR /device-usb-camera 16:49:08 ---> Running in a4ba6c650e5d 16:49:08 Removing intermediate container a4ba6c650e5d 16:49:08 ---> ad592c6ef47e 16:49:08 Step 10/14 : COPY go.mod vendor* ./ 16:49:08 ---> c6f6ff29a26b 16:49:08 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:08 ---> Running in ec0d7780cabe 16:49:30 Removing intermediate container ec0d7780cabe 16:49:30 ---> 6eac300355eb 16:49:30 Step 12/14 : COPY . . 16:49:30 ---> d182c67f6f9c 16:49:30 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:49:30 ---> Running in d70449d814ee 16:49:30  % Total % Received % Xferd Average Speed Time Time Time Current 16:49:30 Dload Upload Total Spent  Left Speed 16:49:30  0 0 0 0  0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9592 0 --:--:-- --:--:-- --:--:-- 9654 16:49:30 Removing intermediate container d70449d814ee 16:49:30 ---> cefa5123996a 16:49:30 Step 14/14 : RUN ${MAKE} 16:49:30 ---> Running in fd6f65ef75b4 16:49:30 noop 16:49:31 Removing intermediate container fd6f65ef75b4 16:49:31 ---> 6c44f331e989 16:49:31 Successfully built 6c44f331e989 16:49:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:31 + docker inspect -f . ci-base-image-x86_64 16:49:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:31 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 16:49:31 $ 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 ******** ci-base-image-x86_64 cat 16:49:31 $ docker top 8e8d610082112224bf3cae83c599aa7cfd5b83b6f6db0a71117bc7ff6214b5a2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:32 + go version 16:49:32 go version go1.18.3 linux/amd64 [Pipeline] } 16:49:32 $ docker stop --time=1 8e8d610082112224bf3cae83c599aa7cfd5b83b6f6db0a71117bc7ff6214b5a2 16:49:33 $ docker rm -f 8e8d610082112224bf3cae83c599aa7cfd5b83b6f6db0a71117bc7ff6214b5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:34 + docker inspect -f . ci-base-image-x86_64 16:49:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:34 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 16:49:34 $ 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 ******** ci-base-image-x86_64 cat 16:49:34 $ docker top 978f77838ea3bc2daebd26fcd189dc1790f5332fcf858dc9675aa6d88ad40beb -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:34 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 16:49:35 + make test 16:49:35 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:49:35 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:49:45 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:49:45 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements 16:49:54 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." 16:49:54 CGO_ENABLED=1 go vet ./... 16:49:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:49:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:49:56 ./bin/test-attribution-txt.sh [Pipeline] echo 16:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:49:56 $ docker stop --time=1 978f77838ea3bc2daebd26fcd189dc1790f5332fcf858dc9675aa6d88ad40beb 16:49:58 $ docker rm -f 978f77838ea3bc2daebd26fcd189dc1790f5332fcf858dc9675aa6d88ad40beb [Pipeline] // withDockerContainer [Pipeline] sh 16:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:49:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:49:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:00 + ls -al . 16:50:00 total 196 16:50:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 16:49 . 16:50:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 16:48 .. 16:50:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 16:49 .git 16:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:48 .github 16:50:00 -rw-rw-r-- 1 jenkins jenkins 414 Oct 7 16:48 .gitignore 16:50:00 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 16:48 .golangci.yml 16:50:00 -rw-rw-r-- 1 jenkins jenkins 77 Oct 7 16:48 .hadolint.yml 16:50:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 16:48 .semver 16:50:00 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 7 16:48 Attribution.txt 16:50:00 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 7 16:48 CHANGELOG.md 16:50:00 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 7 16:48 Dockerfile 16:50:00 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 16:48 GOVERNANCE.md 16:50:00 -rw-rw-r-- 1 jenkins jenkins 659 Oct 7 16:48 Jenkinsfile 16:50:00 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 16:48 LICENSE 16:50:00 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 7 16:48 Makefile 16:50:00 -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 16:48 OWNERS.md 16:50:00 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 7 16:48 README.md 16:50:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 16:48 VERSION 16:50:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 16:48 bin 16:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:48 cmd 16:50:00 -rw-r--r-- 1 jenkins jenkins 29387 Oct 7 16:49 coverage.out 16:50:00 -rwxrwxr-x 1 jenkins jenkins 140 Oct 7 16:48 docker-entrypoint.sh 16:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:48 docs 16:50:00 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 7 16:48 go.mod 16:50:00 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 7 16:48 go.sum 16:50:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:48 internal 16:50:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 16:48 snap 16:50:00 -rw-rw-r-- 1 jenkins jenkins 231 Oct 7 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:00 + 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=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b --label arch=amd64 --label version=2.3.0-dev.14 . 16:50:00 Sending build context to Docker daemon 1.516MB 16:50:00 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 16:50:00 Step 2/36 : FROM ${BASE} AS builder 16:50:00 ---> 6c44f331e989 16:50:00 Step 3/36 : ARG ADD_BUILD_TAGS="" 16:50:00 ---> Running in 1d932a5da44e 16:50:00 Removing intermediate container 1d932a5da44e 16:50:00 ---> 70b23991e82a 16:50:00 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:50:00 ---> Running in 85e25ee462d3 16:50:00 Removing intermediate container 85e25ee462d3 16:50:00 ---> 225c74ecfbcd 16:50:00 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:50:00 ---> Running in 90695882e142 16:50:00 Removing intermediate container 90695882e142 16:50:00 ---> 541cefd0b961 16:50:00 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:50:00 ---> Running in c476ead9b8c0 16:50:01 Removing intermediate container c476ead9b8c0 16:50:01 ---> 2a436d22ca24 16:50:01 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:50:01 ---> Running in d1f6e9941da3 16:50:01 Removing intermediate container d1f6e9941da3 16:50:01 ---> ece394bc43e7 16:50:01 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:50:01 ---> Running in 241e6d878653 16:50:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:03 OK: 330 MiB in 131 packages 16:50:03 Removing intermediate container 241e6d878653 16:50:03 ---> 4185a73a98cf 16:50:03 Step 9/36 : WORKDIR /device-usb-camera 16:50:03 ---> Running in 1a1510cc5657 16:50:03 Removing intermediate container 1a1510cc5657 16:50:03 ---> c37dd01eadea 16:50:03 Step 10/36 : COPY go.mod vendor* ./ 16:50:03 ---> 73462e97c4b4 16:50:03 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:03 ---> Running in 8b5c00eb4d8e 16:50:04 Removing intermediate container 8b5c00eb4d8e 16:50:04 ---> 20155e3a6b7e 16:50:04 Step 12/36 : COPY . . 16:50:04 ---> de3a9c8b71ec 16:50:04 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:50:04 ---> Running in c3974ca700ec 16:50:04  % Total % Received % Xferd Average Speed Time Time Time Current 16:50:04 Dload Upload Total Spent Left Speed 16:50:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0    0  49910      0 --:--:-- --:--:-- --:--:-- 50571 16:50:05 Removing intermediate container c3974ca700ec 16:50:05 ---> cbb5f6b9d298 16:50:05 Step 14/36 : RUN ${MAKE} 16:50:05 ---> Running in 2fc4e73f7d9b 16:50:05 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.34" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:50:31 Removing intermediate container 2fc4e73f7d9b 16:50:31 ---> bd33b6387e32 16:50:31 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:50:31 v0.18.4: Pulling from aler9/rtsp-simple-server 16:50:31 af6660deedbd: Pulling fs layer 16:50:31 97cd0a44c592: Pulling fs layer 16:50:31 97cd0a44c592: Verifying Checksum 16:50:31 97cd0a44c592: Download complete 16:50:31 af6660deedbd: Verifying Checksum 16:50:31 af6660deedbd: Download complete 16:50:31 af6660deedbd: Pull complete 16:50:31 97cd0a44c592: Pull complete 16:50:31 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:50:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:50:31 ---> fea57e182299 16:50:31 Step 16/36 : FROM alpine:3.16 16:50:31 3.16: Pulling from library/alpine 16:50:31 213ec9aee27d: Pulling fs layer 16:50:31 213ec9aee27d: Verifying Checksum 16:50:31 213ec9aee27d: Download complete 16:50:31 213ec9aee27d: Pull complete 16:50:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:50:31 Status: Downloaded newer image for alpine:3.16 16:50:31 ---> 9c6f07244728 16:50:31 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:50:31 ---> Running in 06c416a26bc4 16:50:31 Removing intermediate container 06c416a26bc4 16:50:31 ---> 214cc4edaf42 16:50:31 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:50:31 ---> Running in a9abb3694a57 16:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:32 (1/83) Installing dumb-init (1.2.5-r1) 16:50:32 (2/83) Installing sdl2 (2.0.22-r0) 16:50:32 (3/83) Installing libxau (1.0.9-r0) 16:50:32 (4/83) Installing libxdmcp (1.1.3-r0) 16:50:32 (5/83) Installing libxcb (1.15-r0) 16:50:32 (6/83) Installing libx11 (1.8-r0) 16:50:32 (7/83) Installing aom-libs (3.3.0-r0) 16:50:32 (8/83) Installing alsa-lib (1.2.7.2-r0) 16:50:32 (9/83) Installing expat (2.4.9-r0) 16:50:32 (10/83) Installing brotli-libs (1.0.9-r6) 16:50:32 (11/83) Installing libbz2 (1.0.8-r1) 16:50:32 (12/83) Installing libpng (1.6.37-r1) 16:50:32 (13/83) Installing freetype (2.12.1-r0) 16:50:32 (14/83) Installing fontconfig (2.14.0-r0) 16:50:32 (15/83) Installing fribidi (1.0.12-r0) 16:50:32 (16/83) Installing libffi (3.4.2-r1) 16:50:32 (17/83) Installing libintl (0.21-r2) 16:50:32 (18/83) Installing libblkid (2.38-r1) 16:50:32 (19/83) Installing libmount (2.38-r1) 16:50:32 (20/83) Installing pcre (8.45-r2) 16:50:32 (21/83) Installing glib (2.72.1-r0) 16:50:32 (22/83) Installing graphite2 (1.3.14-r1) 16:50:32 (23/83) Installing harfbuzz (4.3.0-r0) 16:50:32 (24/83) Installing libass (0.16.0-r0) 16:50:32 (25/83) Installing libdav1d (1.0.0-r0) 16:50:32 (26/83) Installing libpciaccess (0.16-r0) 16:50:32 (27/83) Installing libdrm (2.4.110-r0) 16:50:32 (28/83) Installing gmp (6.2.1-r2) 16:50:32 (29/83) Installing nettle (3.7.3-r0) 16:50:32 (30/83) Installing p11-kit (0.24.1-r0) 16:50:32 (31/83) Installing libtasn1 (4.18.0-r0) 16:50:32 (32/83) Installing libunistring (1.0-r0) 16:50:32 (33/83) Installing gnutls (3.7.7-r0) 16:50:32 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:50:32 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 16:50:32 (36/83) Installing lame (3.100-r0) 16:50:32 (37/83) Installing opus (1.3.1-r1) 16:50:32 (38/83) Installing libasyncns (0.8-r1) 16:50:32 (39/83) Installing dbus-libs (1.14.4-r0) 16:50:32 (40/83) Installing libltdl (2.4.7-r0) 16:50:32 (41/83) Installing orc (0.4.32-r0) 16:50:32 (42/83) Installing libgcc (11.2.1_git20220219-r2) 16:50:32 (43/83) Installing libogg (1.3.5-r1) 16:50:32 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 16:50:32 (45/83) Installing flac (1.3.4-r0) 16:50:32 (46/83) Installing libvorbis (1.3.7-r0) 16:50:32 (47/83) Installing libsndfile (1.1.0-r0) 16:50:32 (48/83) Installing libgomp (11.2.1_git20220219-r2) 16:50:32 (49/83) Installing soxr (0.1.3-r2) 16:50:32 (50/83) Installing speexdsp (1.2.0-r0) 16:50:32 (51/83) Installing tdb-libs (1.4.6-r0) 16:50:32 (52/83) Installing libpulse (15.0-r2) 16:50:33 (53/83) Installing cjson (1.7.15-r3) 16:50:33 (54/83) Installing mbedtls (2.28.1-r0) 16:50:33 (55/83) Installing librist (0.2.6-r1) 16:50:33 (56/83) Installing libsrt (1.4.4-r0) 16:50:33 (57/83) Installing libssh (0.9.6-r1) 16:50:33 (58/83) Installing libtheora (1.1.1-r16) 16:50:33 (59/83) Installing libjpeg-turbo (2.1.3-r1) 16:50:33 (60/83) Installing v4l-utils-libs (1.22.1-r1) 16:50:33 (61/83) Installing libxext (1.3.4-r0) 16:50:33 (62/83) Installing libxfixes (6.0.0-r0) 16:50:33 (63/83) Installing wayland-libs-client (1.20.0-r0) 16:50:33 (64/83) Installing libva (2.14.0-r0) 16:50:33 (65/83) Installing libvdpau (1.5-r0) 16:50:33 (66/83) Installing vidstab (1.1.0-r1) 16:50:33 (67/83) Installing libvpx (1.11.0-r1) 16:50:33 (68/83) Installing libwebp (1.2.3-r0) 16:50:33 (69/83) Installing x264-libs (0.163_git20210613-r0) 16:50:33 (70/83) Installing numactl (2.0.14-r0) 16:50:33 (71/83) Installing x265-libs (3.5-r3) 16:50:33 (72/83) Installing xvidcore (1.3.7-r1) 16:50:33 (73/83) Installing ffmpeg-libs (5.0.1-r1) 16:50:33 (74/83) Installing ffmpeg (5.0.1-r1) 16:50:33 (75/83) Installing udev-init-scripts (35-r0) 16:50:33 Executing udev-init-scripts-35-r0.post-install 16:50:33 (76/83) Installing eudev-libs (3.2.11-r0) 16:50:33 (77/83) Installing xz-libs (5.2.5-r1) 16:50:33 (78/83) Installing zstd-libs (1.5.2-r1) 16:50:33 (79/83) Installing kmod-libs (29-r2) 16:50:33 (80/83) Installing eudev (3.2.11-r0) 16:50:33 (81/83) Installing libsodium (1.0.18-r0) 16:50:33 (82/83) Installing libzmq (4.3.4-r0) 16:50:33 (83/83) Installing zeromq (4.3.4-r0) 16:50:33 Executing busybox-1.35.0-r17.trigger 16:50:33 Executing eudev-3.2.11-r0.trigger 16:50:33 OK: 101 MiB in 97 packages 16:50:36 Removing intermediate container a9abb3694a57 16:50:36 ---> 66c859f34f77 16:50:36 Step 19/36 : WORKDIR / 16:50:36 ---> Running in 17fb920ab866 16:50:36 Removing intermediate container 17fb920ab866 16:50:36 ---> 65bfc6a46575 16:50:36 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 16:50:36 ---> 3e4c227fde43 16:50:36 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 16:50:36 ---> 0543ab4098ad 16:50:36 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:50:37 ---> c19957932542 16:50:37 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:50:37 ---> a71b6c9fb69e 16:50:37 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:50:37 ---> 77eb93cdd7db 16:50:37 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 16:50:37 ---> 2e2b5f5d1ef5 16:50:37 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 16:50:38 ---> fda084e4c463 16:50:38 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:50:38 ---> Running in a2ab4b81cd9b 16:50:38 Removing intermediate container a2ab4b81cd9b 16:50:38 ---> 368cb723ebc1 16:50:38 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:50:38 ---> Running in e222484ab757 16:50:39 Removing intermediate container e222484ab757 16:50:39 ---> cac306a0354f 16:50:39 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:50:39 ---> Running in 2bad7dcdbc2b 16:50:39 Removing intermediate container 2bad7dcdbc2b 16:50:39 ---> 8207529bb190 16:50:39 Step 30/36 : EXPOSE 59983 16:50:39 ---> Running in f6f935db04c4 16:50:39 Removing intermediate container f6f935db04c4 16:50:39 ---> 723ea65aa585 16:50:39 Step 31/36 : EXPOSE 8554 16:50:39 ---> Running in ce498438fbb9 16:50:39 Removing intermediate container ce498438fbb9 16:50:39 ---> 08dd693c82e2 16:50:39 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:50:39 ---> Running in 845dc7f28ab1 16:50:39 Removing intermediate container 845dc7f28ab1 16:50:39 ---> 7d762ae076a8 16:50:39 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:50:39 ---> Running in 69ccf705351a 16:50:40 Removing intermediate container 69ccf705351a 16:50:40 ---> 5f442223fc08 16:50:40 Step 34/36 : LABEL arch=amd64 16:50:40 ---> Running in f8374d8df4be 16:50:40 Removing intermediate container f8374d8df4be 16:50:40 ---> bb290161bd8b 16:50:40 Step 35/36 : LABEL git_sha=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 16:50:40 ---> Running in 167e0799d756 16:50:40 Removing intermediate container 167e0799d756 16:50:40 ---> 8f9c84161dcd 16:50:40 Step 36/36 : LABEL version=2.3.0-dev.14 16:50:40 ---> Running in 7f5fcd466775 16:50:40 Removing intermediate container 7f5fcd466775 16:50:40 ---> 88218319062f 16:50:40 [Warning] One or more build-args [ARCH] were not consumed 16:50:40 Successfully built 88218319062f 16:50:40 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 16:50:40 provisioning config files... 16:50:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1163267242361065450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:40 ---> docker-login.sh 16:50:40 nexus3.edgexfoundry.org:10001 16:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:40 Configure a credential helper to remove this warning. See 16:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:40 16:50:40 Login Succeeded 16:50:40 nexus3.edgexfoundry.org:10002 16:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:40 Configure a credential helper to remove this warning. See 16:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:40 16:50:40 Login Succeeded 16:50:40 nexus3.edgexfoundry.org:10003 16:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:41 Configure a credential helper to remove this warning. See 16:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:41 16:50:41 Login Succeeded 16:50:41 nexus3.edgexfoundry.org:10004 16:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:41 Configure a credential helper to remove this warning. See 16:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:41 16:50:41 Login Succeeded 16:50:41 docker.io 16:50:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:41 Configure a credential helper to remove this warning. See 16:50:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:41 16:50:41 Login Succeeded 16:50:41 ---> docker-login.sh ends [Pipeline] } 16:50:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:50:41 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:50:41 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 16:50:41 latest 16:50:41 2.3.0-dev.14 16:50:41 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 16:50:41 main 16:50:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:41 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:42 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 16:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:42 49eb3cf8251c: Preparing 16:50:42 9ead25225bad: Preparing 16:50:42 2e8d550ddea8: Preparing 16:50:42 550e596c6d0e: Preparing 16:50:42 1207169bf42c: Preparing 16:50:42 cc46d4115d8c: Preparing 16:50:42 8fd2df78135f: Preparing 16:50:42 4647be42c166: Preparing 16:50:42 b0f037bea09d: Preparing 16:50:42 b666550b6051: Preparing 16:50:42 6c047dd0b3e3: Preparing 16:50:42 994393dc58e7: Preparing 16:50:42 b666550b6051: Waiting 16:50:42 6c047dd0b3e3: Waiting 16:50:42 4647be42c166: Waiting 16:50:42 994393dc58e7: Waiting 16:50:42 b0f037bea09d: Waiting 16:50:42 cc46d4115d8c: Waiting 16:50:42 8fd2df78135f: Waiting 16:50:42 9ead25225bad: Pushed 16:50:42 49eb3cf8251c: Pushed 16:50:42 1207169bf42c: Pushed 16:50:42 2e8d550ddea8: Pushed 16:50:42 cc46d4115d8c: Pushed 16:50:42 8fd2df78135f: Pushed 16:50:42 b0f037bea09d: Pushed 16:50:42 4647be42c166: Pushed 16:50:42 994393dc58e7: Layer already exists 16:50:44 550e596c6d0e: Pushed 16:50:45 b666550b6051: Pushed 16:50:53 6c047dd0b3e3: Pushed 16:50:53 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b: digest: sha256:cd68239b123cf468aaa190f1b747985e40086091ab8832ad181a522ff487d804 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:50:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:53 49eb3cf8251c: Preparing 16:50:53 9ead25225bad: Preparing 16:50:53 2e8d550ddea8: Preparing 16:50:53 550e596c6d0e: Preparing 16:50:53 1207169bf42c: Preparing 16:50:53 cc46d4115d8c: Preparing 16:50:53 8fd2df78135f: Preparing 16:50:53 4647be42c166: Preparing 16:50:53 b0f037bea09d: Preparing 16:50:53 b666550b6051: Preparing 16:50:53 6c047dd0b3e3: Preparing 16:50:53 994393dc58e7: Preparing 16:50:53 4647be42c166: Waiting 16:50:53 b0f037bea09d: Waiting 16:50:53 994393dc58e7: Waiting 16:50:53 b666550b6051: Waiting 16:50:53 cc46d4115d8c: Waiting 16:50:53 6c047dd0b3e3: Waiting 16:50:53 8fd2df78135f: Waiting 16:50:53 9ead25225bad: Layer already exists 16:50:53 1207169bf42c: Layer already exists 16:50:53 550e596c6d0e: Layer already exists 16:50:53 49eb3cf8251c: Layer already exists 16:50:53 2e8d550ddea8: Layer already exists 16:50:53 cc46d4115d8c: Layer already exists 16:50:53 b666550b6051: Layer already exists 16:50:53 8fd2df78135f: Layer already exists 16:50:53 4647be42c166: Layer already exists 16:50:53 b0f037bea09d: Layer already exists 16:50:53 994393dc58e7: Layer already exists 16:50:53 6c047dd0b3e3: Layer already exists 16:50:53 latest: digest: sha256:cd68239b123cf468aaa190f1b747985e40086091ab8832ad181a522ff487d804 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:54 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.14 16:50:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:54 49eb3cf8251c: Preparing 16:50:54 9ead25225bad: Preparing 16:50:54 2e8d550ddea8: Preparing 16:50:54 550e596c6d0e: Preparing 16:50:54 1207169bf42c: Preparing 16:50:54 cc46d4115d8c: Preparing 16:50:54 8fd2df78135f: Preparing 16:50:54 4647be42c166: Preparing 16:50:54 b0f037bea09d: Preparing 16:50:54 b666550b6051: Preparing 16:50:54 6c047dd0b3e3: Preparing 16:50:54 994393dc58e7: Preparing 16:50:54 cc46d4115d8c: Waiting 16:50:54 8fd2df78135f: Waiting 16:50:54 4647be42c166: Waiting 16:50:54 b0f037bea09d: Waiting 16:50:54 6c047dd0b3e3: Waiting 16:50:54 994393dc58e7: Waiting 16:50:54 2e8d550ddea8: Layer already exists 16:50:54 1207169bf42c: Layer already exists 16:50:54 550e596c6d0e: Layer already exists 16:50:54 49eb3cf8251c: Layer already exists 16:50:54 9ead25225bad: Layer already exists 16:50:54 cc46d4115d8c: Layer already exists 16:50:54 8fd2df78135f: Layer already exists 16:50:54 b0f037bea09d: Layer already exists 16:50:54 4647be42c166: Layer already exists 16:50:54 b666550b6051: Layer already exists 16:50:54 994393dc58e7: Layer already exists 16:50:54 6c047dd0b3e3: Layer already exists 16:50:54 2.3.0-dev.14: digest: sha256:cd68239b123cf468aaa190f1b747985e40086091ab8832ad181a522ff487d804 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:54 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 16:50:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:54 49eb3cf8251c: Preparing 16:50:54 9ead25225bad: Preparing 16:50:54 2e8d550ddea8: Preparing 16:50:54 550e596c6d0e: Preparing 16:50:54 1207169bf42c: Preparing 16:50:54 cc46d4115d8c: Preparing 16:50:54 8fd2df78135f: Preparing 16:50:54 4647be42c166: Preparing 16:50:54 b0f037bea09d: Preparing 16:50:54 b666550b6051: Preparing 16:50:54 6c047dd0b3e3: Preparing 16:50:54 994393dc58e7: Preparing 16:50:54 b0f037bea09d: Waiting 16:50:54 994393dc58e7: Waiting 16:50:54 6c047dd0b3e3: Waiting 16:50:54 8fd2df78135f: Waiting 16:50:54 cc46d4115d8c: Waiting 16:50:54 4647be42c166: Waiting 16:50:54 49eb3cf8251c: Layer already exists 16:50:54 550e596c6d0e: Layer already exists 16:50:54 1207169bf42c: Layer already exists 16:50:54 9ead25225bad: Layer already exists 16:50:54 2e8d550ddea8: Layer already exists 16:50:54 cc46d4115d8c: Layer already exists 16:50:54 b0f037bea09d: Layer already exists 16:50:54 8fd2df78135f: Layer already exists 16:50:54 b666550b6051: Layer already exists 16:50:54 4647be42c166: Layer already exists 16:50:54 6c047dd0b3e3: Layer already exists 16:50:54 994393dc58e7: Layer already exists 16:50:54 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14: digest: sha256:cd68239b123cf468aaa190f1b747985e40086091ab8832ad181a522ff487d804 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:55 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 16:50:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:55 49eb3cf8251c: Preparing 16:50:55 9ead25225bad: Preparing 16:50:55 2e8d550ddea8: Preparing 16:50:55 550e596c6d0e: Preparing 16:50:55 1207169bf42c: Preparing 16:50:55 cc46d4115d8c: Preparing 16:50:55 8fd2df78135f: Preparing 16:50:55 4647be42c166: Preparing 16:50:55 b0f037bea09d: Preparing 16:50:55 b666550b6051: Preparing 16:50:55 6c047dd0b3e3: Preparing 16:50:55 994393dc58e7: Preparing 16:50:55 cc46d4115d8c: Waiting 16:50:55 8fd2df78135f: Waiting 16:50:55 4647be42c166: Waiting 16:50:55 b0f037bea09d: Waiting 16:50:55 b666550b6051: Waiting 16:50:55 6c047dd0b3e3: Waiting 16:50:55 994393dc58e7: Waiting 16:50:55 49eb3cf8251c: Layer already exists 16:50:55 550e596c6d0e: Layer already exists 16:50:55 9ead25225bad: Layer already exists 16:50:55 1207169bf42c: Layer already exists 16:50:55 2e8d550ddea8: Layer already exists 16:50:55 cc46d4115d8c: Layer already exists 16:50:55 8fd2df78135f: Layer already exists 16:50:55 4647be42c166: Layer already exists 16:50:55 b666550b6051: Layer already exists 16:50:55 b0f037bea09d: Layer already exists 16:50:55 6c047dd0b3e3: Layer already exists 16:50:55 994393dc58e7: Layer already exists 16:50:55 main: digest: sha256:cd68239b123cf468aaa190f1b747985e40086091ab8832ad181a522ff487d804 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:55 ===================================================== [Pipeline] echo 16:50:55 taggedImages: 16:50:55 - nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 16:50:55 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:50:55 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.14 16:50:55 - nexus3.edgexfoundry.org:10004/device-usb-camera:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 16:50:55 - 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 16:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:56 16:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:56 latest: Pulling from edgex-lftools-log-publisher 16:50:56 5eb5b503b376: Pulling fs layer 16:50:56 5c69ac0246d0: Pulling fs layer 16:50:56 ec43610c2a17: Pulling fs layer 16:50:56 3a2ae6a8a46f: Pulling fs layer 16:50:56 33b1e0a273af: Pulling fs layer 16:50:56 5d3b04190fa2: Pulling fs layer 16:50:56 2f39f015ded8: Pulling fs layer 16:50:56 3a2ae6a8a46f: Waiting 16:50:56 5d3b04190fa2: Waiting 16:50:56 5c69ac0246d0: Verifying Checksum 16:50:56 5c69ac0246d0: Download complete 16:50:56 3a2ae6a8a46f: Verifying Checksum 16:50:56 3a2ae6a8a46f: Download complete 16:50:56 33b1e0a273af: Verifying Checksum 16:50:56 33b1e0a273af: Download complete 16:50:56 ec43610c2a17: Verifying Checksum 16:50:56 ec43610c2a17: Download complete 16:50:56 5d3b04190fa2: Download complete 16:50:56 5eb5b503b376: Verifying Checksum 16:50:56 5eb5b503b376: Download complete 16:50:57 2f39f015ded8: Download complete 16:50:57 5eb5b503b376: Pull complete 16:50:57 5c69ac0246d0: Pull complete 16:50:58 ec43610c2a17: Pull complete 16:50:58 3a2ae6a8a46f: Pull complete 16:50:58 33b1e0a273af: Pull complete 16:50:58 5d3b04190fa2: Pull complete 16:51:03 2f39f015ded8: Pull complete 16:51:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:51:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:51:04 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 16:51: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:51:07 $ docker top 387c956edaa5f2cd534b6b00df30022116561511523a2a0fdfc78371ffaa0bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:07 ---> job-cost.sh 16:51:07 lf-activate-venv: SKIPPING 16:51:07 INFO: No Stack... 16:51:07 INFO: Retrieving Pricing Info for: v3-standard-8 16:51:08 INFO: Archiving Costs [Pipeline] sh 16:51:08 + cut -d, -f6 16:51:08 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 16:51:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] 16:51:08 Resource [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] did not exist. Created. 16:51:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:51:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:51:09 Stashed 1 file(s) [Pipeline] } 16:51:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 16:51:09 $ docker stop --time=1 387c956edaa5f2cd534b6b00df30022116561511523a2a0fdfc78371ffaa0bec 16:51:10 $ docker rm -f 387c956edaa5f2cd534b6b00df30022116561511523a2a0fdfc78371ffaa0bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:52:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7350 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 16:52:00 Running in /w/workspace/device-usb-camera/53 [Pipeline] { [Pipeline] checkout 16:52:00 Selected Git installation does not exist. Using Default 16:52:00 The recommended git tool is: NONE 16:52:07 using credential edgex-jenkins-ssh 16:52:07 Cloning the remote Git repository 16:52:07 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:52:07 > git init /w/workspace/device-usb-camera/53 # timeout=10 16:52:07 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:52:07 > git --version # timeout=10 16:52:07 > git --version # 'git version 2.25.1' 16:52:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:52:08 Verifying host key using known hosts file 16:52:08 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. 16:52:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:09 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:52:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:10 Avoid second fetch 16:52:10 Checking out Revision e6cf2f2f80d14c6ff357eccb58ac1fd20041715b (main) 16:52:10 Commit message: "docs: adding USB camera postman collection and env files (#96)" 16:52:10 > git config core.sparsecheckout # timeout=10 16:52:10 > git checkout -f e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:52:11 % Total % Received % Xferd Average Speed Time Time Time Current 16:52:11 Dload Upload Total Spent Left Speed 16:52:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 16:52:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:52:12 + sudo tee /etc/docker/daemon.new 16:52:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:52:12 { 16:52:12 "registry-mirrors": [ 16:52:12 "https://nexus3.edgexfoundry.org:10001" 16:52:12 ], 16:52:12 "bip": "10.250.0.254/24", 16:52:12 "hosts": [ 16:52:12 "tcp://0.0.0.0:5555", 16:52:12 "unix:///var/run/docker.sock" 16:52:12 ], 16:52:12 "mtu": 1458, 16:52:12 "selinux-enabled": true, 16:52:12 "seccomp-profile": "/etc/docker/seccomp.json" 16:52:12 } [Pipeline] sh 16:52:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:52:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:31 provisioning config files... 16:52:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/53@tmp/config4883908118706175571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:32 ---> docker-login.sh 16:52:32 nexus3.edgexfoundry.org:10001 16:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:32 Configure a credential helper to remove this warning. See 16:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:32 16:52:32 Login Succeeded 16:52:32 nexus3.edgexfoundry.org:10002 16:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:33 Configure a credential helper to remove this warning. See 16:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:33 16:52:33 Login Succeeded 16:52:33 nexus3.edgexfoundry.org:10003 16:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:33 Configure a credential helper to remove this warning. See 16:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:33 16:52:33 Login Succeeded 16:52:33 nexus3.edgexfoundry.org:10004 16:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:34 Configure a credential helper to remove this warning. See 16:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:34 16:52:34 Login Succeeded 16:52:34 docker.io 16:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:34 Configure a credential helper to remove this warning. See 16:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:34 16:52:34 Login Succeeded 16:52:34 ---> docker-login.sh ends [Pipeline] } 16:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:52:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:35 ========================================================= 16:52:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:52:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:35 + 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 . 16:52:35 Sending build context to Docker daemon 978.4kB 16:52:35 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:52:35 Step 2/14 : FROM ${BASE} AS builder 16:52:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:52:36 b3c136eddcbf: Pulling fs layer 16:52:36 c0a3192eca97: Pulling fs layer 16:52:36 a050256f5b6f: Pulling fs layer 16:52:36 656be50a0ddc: Pulling fs layer 16:52:36 2bbca73fdf42: Pulling fs layer 16:52:36 f607e4fc86c3: Pulling fs layer 16:52:36 4d572c569a2c: Pulling fs layer 16:52:36 fcf976331f73: Pulling fs layer 16:52:36 656be50a0ddc: Waiting 16:52:36 2bbca73fdf42: Waiting 16:52:36 f607e4fc86c3: Waiting 16:52:36 4d572c569a2c: Waiting 16:52:36 fcf976331f73: Waiting 16:52:36 a050256f5b6f: Verifying Checksum 16:52:36 a050256f5b6f: Download complete 16:52:36 c0a3192eca97: Download complete 16:52:36 2bbca73fdf42: Verifying Checksum 16:52:36 2bbca73fdf42: Download complete 16:52:36 f607e4fc86c3: Verifying Checksum 16:52:36 f607e4fc86c3: Download complete 16:52:36 b3c136eddcbf: Download complete 16:52:37 b3c136eddcbf: Pull complete 16:52:37 fcf976331f73: Verifying Checksum 16:52:37 fcf976331f73: Download complete 16:52:37 c0a3192eca97: Pull complete 16:52:38 a050256f5b6f: Pull complete 16:52:38 4d572c569a2c: Verifying Checksum 16:52:38 4d572c569a2c: Download complete 16:52:39 656be50a0ddc: Verifying Checksum 16:52:39 656be50a0ddc: Download complete 16:52:51 656be50a0ddc: Pull complete 16:52:51 2bbca73fdf42: Pull complete 16:52:52 f607e4fc86c3: Pull complete 16:52:58 4d572c569a2c: Pull complete 16:53:00 fcf976331f73: Pull complete 16:53:00 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 16:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:53:00 ---> 3970a7415f9e 16:53:00 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:53:01 ---> Running in 5966be947b77 16:53:02 Removing intermediate container 5966be947b77 16:53:02 ---> f9190de3929e 16:53:02 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:53:02 ---> Running in 22f16ee85a3f 16:53:02 Removing intermediate container 22f16ee85a3f 16:53:02 ---> d18c844fc785 16:53:02 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:53:02 ---> Running in b390ce51ff9e 16:53:03 Removing intermediate container b390ce51ff9e 16:53:03 ---> 94bad7b390b2 16:53:03 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:53:03 ---> Running in 9670f74b6ab1 16:53:03 Removing intermediate container 9670f74b6ab1 16:53:03 ---> 0b2c03ae8f93 16:53:03 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:03 ---> Running in e4c752b96618 16:53:06 Removing intermediate container e4c752b96618 16:53:06 ---> 488745f2a6c6 16:53:06 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:06 ---> Running in 3ce66fe402dc 16:53:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:53:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:53:09 (1/14) Installing libintl (0.21-r2) 16:53:09 (2/14) Installing eudev-libs (3.2.11-r0) 16:53:09 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:53:09 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:53:09 (5/14) Installing v4l-utils (1.22.1-r1) 16:53:09 (6/14) Installing udev-init-scripts (35-r0) 16:53:09 Executing udev-init-scripts-35-r0.post-install 16:53:09 (7/14) Installing libblkid (2.38-r1) 16:53:10 (8/14) Installing xz-libs (5.2.5-r1) 16:53:10 (9/14) Installing zstd-libs (1.5.2-r1) 16:53:10 (10/14) Installing kmod-libs (29-r2) 16:53:10 (11/14) Installing eudev (3.2.11-r0) 16:53:10 (12/14) Installing eudev-dev (3.2.11-r0) 16:53:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:53:10 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:53:10 Executing busybox-1.35.0-r13.trigger 16:53:10 Executing eudev-3.2.11-r0.trigger 16:53:10 OK: 228 MiB in 65 packages 16:53:12 Removing intermediate container 3ce66fe402dc 16:53:12 ---> 0a192dd4f284 16:53:12 Step 9/14 : WORKDIR /device-usb-camera 16:53:12 ---> Running in 1a3bf5f98410 16:53:12 Removing intermediate container 1a3bf5f98410 16:53:12 ---> 22707cd3d97a 16:53:12 Step 10/14 : COPY go.mod vendor* ./ 16:53:13 ---> 1e68bef2089d 16:53:13 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:53:13 ---> Running in 505442bca81a 16:54:09 Removing intermediate container 505442bca81a 16:54:09 ---> adcc58ffd01b 16:54:09 Step 12/14 : COPY . . 16:54:09 ---> 1f620e9ecaf1 16:54:09 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:54:09 ---> Running in eb1befcddcc7 16:54:09  % Total % Received % Xferd Average Speed Time Time Time Current 16:54:09 Dload Upload Total Spent Left Speed 16:54:09 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 12014 0 --:--:-- --:--:-- --:--:-- 12206 16:54:09 Removing intermediate container eb1befcddcc7 16:54:09 ---> 4be4491ddd30 16:54:09 Step 14/14 : RUN ${MAKE} 16:54:09 ---> Running in 423ad3ed05f9 16:54:09 noop 16:54:09 Removing intermediate container 423ad3ed05f9 16:54:09 ---> ff7d1c7457b9 16:54:09 Successfully built ff7d1c7457b9 16:54:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:10 + docker inspect -f . ci-base-image-arm64 16:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-7350 does not seem to be running inside a container 16:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@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 16:54:11 $ docker top bfdf61a0f97837e8f8de8a0bfa90cdad958748ef27a602aca49e740312d00b59 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:12 + go version 16:54:12 go version go1.18.3 linux/arm64 [Pipeline] } 16:54:12 $ docker stop --time=1 bfdf61a0f97837e8f8de8a0bfa90cdad958748ef27a602aca49e740312d00b59 16:54:14 $ docker rm -f bfdf61a0f97837e8f8de8a0bfa90cdad958748ef27a602aca49e740312d00b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:14 + docker inspect -f . ci-base-image-arm64 16:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-7350 does not seem to be running inside a container 16:54:15 $ 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/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@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 16:54:16 $ docker top 5a9a0dc43824e62d72dd4606e88387b174b0d40fadec26f3c5c609c7bdfbc62a -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:17 + git config --global --add safe.directory /w/workspace/device-usb-camera/53 [Pipeline] fileExists [Pipeline] sh 16:54:17 + make test 16:54:17 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:54:19 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:56:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:56:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.080s coverage: 1.9% of statements 16:56:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:56:11 CGO_ENABLED=1 go vet ./... 16:56:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:56:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:56:43 ./bin/test-attribution-txt.sh [Pipeline] echo 16:56:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:56:43 $ docker stop --time=1 5a9a0dc43824e62d72dd4606e88387b174b0d40fadec26f3c5c609c7bdfbc62a 16:56:47 $ docker rm -f 5a9a0dc43824e62d72dd4606e88387b174b0d40fadec26f3c5c609c7bdfbc62a [Pipeline] // withDockerContainer [Pipeline] sh 16:56:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:56:48 Warning: overwriting stash ‘coverage-report’ 16:56:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:56:49 + ls -al . 16:56:49 total 192 16:56:49 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 16:54 . 16:56:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 16:52 .. 16:56:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 16:52 .git 16:56:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:52 .github 16:56:49 -rw-rw-r-- 1 jenkins jenkins 414 Oct 7 16:52 .gitignore 16:56:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 16:52 .golangci.yml 16:56:49 -rw-rw-r-- 1 jenkins jenkins 77 Oct 7 16:52 .hadolint.yml 16:56:49 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 7 16:52 Attribution.txt 16:56:49 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 7 16:52 CHANGELOG.md 16:56:49 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 7 16:52 Dockerfile 16:56:49 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 16:52 GOVERNANCE.md 16:56:49 -rw-rw-r-- 1 jenkins jenkins 659 Oct 7 16:52 Jenkinsfile 16:56:49 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 16:52 LICENSE 16:56:49 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 7 16:52 Makefile 16:56:49 -rw-rw-r-- 1 jenkins jenkins 622 Oct 7 16:52 OWNERS.md 16:56:49 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 7 16:52 README.md 16:56:49 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 16:48 VERSION 16:56:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 16:52 bin 16:56:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:52 cmd 16:56:49 -rw-r--r-- 1 jenkins jenkins 29387 Oct 7 16:56 coverage.out 16:56:49 -rwxrwxr-x 1 jenkins jenkins 140 Oct 7 16:52 docker-entrypoint.sh 16:56:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:52 docs 16:56:49 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 7 16:52 go.mod 16:56:49 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 7 16:52 go.sum 16:56:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 16:52 internal 16:56:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 16:52 snap 16:56:49 -rw-rw-r-- 1 jenkins jenkins 231 Oct 7 16:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:50 + 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=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b --label arch=arm64 --label version=2.3.0-dev.14 . 16:56:50 Sending build context to Docker daemon 1.009MB 16:56:50 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 16:56:50 Step 2/36 : FROM ${BASE} AS builder 16:56:50 ---> ff7d1c7457b9 16:56:50 Step 3/36 : ARG ADD_BUILD_TAGS="" 16:56:50 ---> Running in 0060f6eb0e40 16:56:50 Removing intermediate container 0060f6eb0e40 16:56:50 ---> 6f177c343a17 16:56:50 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:56:51 ---> Running in 57de3debd7ed 16:56:51 Removing intermediate container 57de3debd7ed 16:56:51 ---> 7814c4db3a35 16:56:51 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:56:51 ---> Running in 94c408f9d37c 16:56:53 Removing intermediate container 94c408f9d37c 16:56:53 ---> 1457e86b7923 16:56:53 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:56:53 ---> Running in 707b771f44ab 16:56:53 Removing intermediate container 707b771f44ab 16:56:53 ---> 22b40db53216 16:56:53 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:53 ---> Running in 7fe7850f7d4f 16:56:55 Removing intermediate container 7fe7850f7d4f 16:56:55 ---> 8256c88a9e08 16:56:55 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:56:55 ---> Running in 591e20dc961d 16:56:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:56:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:56:59 OK: 228 MiB in 65 packages 16:57:00 Removing intermediate container 591e20dc961d 16:57:00 ---> b698a34413d5 16:57:00 Step 9/36 : WORKDIR /device-usb-camera 16:57:00 ---> Running in 53984aac766d 16:57:01 Removing intermediate container 53984aac766d 16:57:01 ---> 986faae86cc5 16:57:01 Step 10/36 : COPY go.mod vendor* ./ 16:57:01 ---> b38403f43b32 16:57:01 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:02 ---> Running in a8415f2c3ea7 16:57:04 Removing intermediate container a8415f2c3ea7 16:57:04 ---> 80906d0595cd 16:57:04 Step 12/36 : COPY . . 16:57:05 ---> ead7e054255a 16:57:05 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:57:05 ---> Running in 167e33224b84 16:57:06  % Total  % Received % Xferd Average Speed Time Time Time Current 16:57:06 Dload Upload Total Spent Left Speed 16:57:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11124 0 --:--:-- --:--:-- --:--:-- 11178 16:57:08 Removing intermediate container 167e33224b84 16:57:08 ---> 784984ac203c 16:57:08 Step 14/36 : RUN ${MAKE} 16:57:08 ---> Running in dc398c925a8d 16:57:09 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.34" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:00:16 Removing intermediate container dc398c925a8d 17:00:16 ---> b578355c2404 17:00:16 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:00:16 v0.18.4: Pulling from aler9/rtsp-simple-server 17:00:16 eab2503cf8f4: Pulling fs layer 17:00:16 97cd0a44c592: Pulling fs layer 17:00:16 97cd0a44c592: Verifying Checksum 17:00:16 97cd0a44c592: Download complete 17:00:16 eab2503cf8f4: Verifying Checksum 17:00:16 eab2503cf8f4: Download complete 17:00:16 eab2503cf8f4: Pull complete 17:00:16 97cd0a44c592: Pull complete 17:00:16 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:00:16 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:00:16 ---> 7f763cca56b3 17:00:16 Step 16/36 : FROM alpine:3.16 17:00:16 3.16: Pulling from library/alpine 17:00:16 9b18e9b68314: Pulling fs layer 17:00:16 9b18e9b68314: Verifying Checksum 17:00:16 9b18e9b68314: Download complete 17:00:16 9b18e9b68314: Pull complete 17:00:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:00:16 Status: Downloaded newer image for alpine:3.16 17:00:16 ---> a6215f271958 17:00:16 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:00:16 ---> Running in 97bbfce3e4bd 17:00:16 Removing intermediate container 97bbfce3e4bd 17:00:16 ---> 4f7b91d3d6d0 17:00:16 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:00:16 ---> Running in ef599e51370f 17:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:00:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:00:16 (1/82) Installing dumb-init (1.2.5-r1) 17:00:16 (2/82) Installing sdl2 (2.0.22-r0) 17:00:16 (3/82) Installing libxau (1.0.9-r0) 17:00:16 (4/82) Installing libxdmcp (1.1.3-r0) 17:00:16 (5/82) Installing libxcb (1.15-r0) 17:00:16 (6/82) Installing libx11 (1.8-r0) 17:00:16 (7/82) Installing aom-libs (3.3.0-r0) 17:00:16 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:00:16 (9/82) Installing expat (2.4.9-r0) 17:00:16 (10/82) Installing brotli-libs (1.0.9-r6) 17:00:16 (11/82) Installing libbz2 (1.0.8-r1) 17:00:16 (12/82) Installing libpng (1.6.37-r1) 17:00:16 (13/82) Installing freetype (2.12.1-r0) 17:00:16 (14/82) Installing fontconfig (2.14.0-r0) 17:00:16 (15/82) Installing fribidi (1.0.12-r0) 17:00:16 (16/82) Installing libffi (3.4.2-r1) 17:00:16 (17/82) Installing libintl (0.21-r2) 17:00:16 (18/82) Installing libblkid (2.38-r1) 17:00:16 (19/82) Installing libmount (2.38-r1) 17:00:16 (20/82) Installing pcre (8.45-r2) 17:00:16 (21/82) Installing glib (2.72.1-r0) 17:00:16 (22/82) Installing graphite2 (1.3.14-r1) 17:00:16 (23/82) Installing harfbuzz (4.3.0-r0) 17:00:16 (24/82) Installing libass (0.16.0-r0) 17:00:16 (25/82) Installing libdav1d (1.0.0-r0) 17:00:16 (26/82) Installing libdrm (2.4.110-r0) 17:00:16 (27/82) Installing gmp (6.2.1-r2) 17:00:16 (28/82) Installing nettle (3.7.3-r0) 17:00:16 (29/82) Installing p11-kit (0.24.1-r0) 17:00:16 (30/82) Installing libtasn1 (4.18.0-r0) 17:00:16 (31/82) Installing libunistring (1.0-r0) 17:00:16 (32/82) Installing gnutls (3.7.7-r0) 17:00:16 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:00:16 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:00:16 (35/82) Installing lame (3.100-r0) 17:00:16 (36/82) Installing opus (1.3.1-r1) 17:00:16 (37/82) Installing libasyncns (0.8-r1) 17:00:16 (38/82) Installing dbus-libs (1.14.4-r0) 17:00:16 (39/82) Installing libltdl (2.4.7-r0) 17:00:16 (40/82) Installing orc (0.4.32-r0) 17:00:16 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:00:16 (42/82) Installing libogg (1.3.5-r1) 17:00:16 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:00:16 (44/82) Installing flac (1.3.4-r0) 17:00:16 (45/82) Installing libvorbis (1.3.7-r0) 17:00:16 (46/82) Installing libsndfile (1.1.0-r0) 17:00:16 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:00:16 (48/82) Installing soxr (0.1.3-r2) 17:00:16 (49/82) Installing speexdsp (1.2.0-r0) 17:00:16 (50/82) Installing tdb-libs (1.4.6-r0) 17:00:16 (51/82) Installing libpulse (15.0-r2) 17:00:16 (52/82) Installing cjson (1.7.15-r3) 17:00:16 (53/82) Installing mbedtls (2.28.1-r0) 17:00:16 (54/82) Installing librist (0.2.6-r1) 17:00:16 (55/82) Installing libsrt (1.4.4-r0) 17:00:16 (56/82) Installing libssh (0.9.6-r1) 17:00:16 (57/82) Installing libtheora (1.1.1-r16) 17:00:16 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:00:16 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:00:16 (60/82) Installing libxext (1.3.4-r0) 17:00:16 (61/82) Installing libxfixes (6.0.0-r0) 17:00:16 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:00:16 (63/82) Installing libva (2.14.0-r0) 17:00:16 (64/82) Installing libvdpau (1.5-r0) 17:00:16 (65/82) Installing vidstab (1.1.0-r1) 17:00:16 (66/82) Installing libvpx (1.11.0-r1) 17:00:16 (67/82) Installing libwebp (1.2.3-r0) 17:00:16 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:00:16 (69/82) Installing numactl (2.0.14-r0) 17:00:16 (70/82) Installing x265-libs (3.5-r3) 17:00:16 (71/82) Installing xvidcore (1.3.7-r1) 17:00:16 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:00:16 (73/82) Installing ffmpeg (5.0.1-r1) 17:00:16 (74/82) Installing udev-init-scripts (35-r0) 17:00:16 Executing udev-init-scripts-35-r0.post-install 17:00:16 (75/82) Installing eudev-libs (3.2.11-r0) 17:00:16 (76/82) Installing xz-libs (5.2.5-r1) 17:00:16 (77/82) Installing zstd-libs (1.5.2-r1) 17:00:16 (78/82) Installing kmod-libs (29-r2) 17:00:16 (79/82) Installing eudev (3.2.11-r0) 17:00:16 (80/82) Installing libsodium (1.0.18-r0) 17:00:16 (81/82) Installing libzmq (4.3.4-r0) 17:00:16 (82/82) Installing zeromq (4.3.4-r0) 17:00:16 Executing busybox-1.35.0-r17.trigger 17:00:16 Executing eudev-3.2.11-r0.trigger 17:00:16 OK: 78 MiB in 96 packages 17:00:16 Removing intermediate container ef599e51370f 17:00:16 ---> 3757d18e409d 17:00:16 Step 19/36 : WORKDIR / 17:00:16 ---> Running in bd98a75a03cb 17:00:16 Removing intermediate container bd98a75a03cb 17:00:16 ---> f62910ca6f77 17:00:16 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 17:00:18 ---> 83a4e0f97e1d 17:00:18 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:00:18 ---> e50e11e99610 17:00:18 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:00:19 ---> d640d9a17d56 17:00:19 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:00:19 ---> 993c51547989 17:00:19 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:00:20 ---> c27cc0720125 17:00:20 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:00:21 ---> 90b85f5bbc37 17:00:21 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 17:00:22 ---> cbe2b46de962 17:00:22 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:00:22 ---> Running in 59fbacca137e 17:00:24 Removing intermediate container 59fbacca137e 17:00:24 ---> 506f30b5d46d 17:00:24 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:00:24 ---> Running in 71522dd0a766 17:00:26 Removing intermediate container 71522dd0a766 17:00:26 ---> 79a547a39be1 17:00:26 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:00:26 ---> Running in e3355819dab6 17:00:28 Removing intermediate container e3355819dab6 17:00:28 ---> 081056164365 17:00:28 Step 30/36 : EXPOSE 59983 17:00:28 ---> Running in 18b6165a59bf 17:00:29 Removing intermediate container 18b6165a59bf 17:00:29 ---> f7c11299ba1d 17:00:29 Step 31/36 : EXPOSE 8554 17:00:29 ---> Running in a0eadb98b3b1 17:00:29 Removing intermediate container a0eadb98b3b1 17:00:29 ---> 08e68bd79d70 17:00:29 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:00:29 ---> Running in 20a07a41bb72 17:00:29 Removing intermediate container 20a07a41bb72 17:00:29 ---> 4f959821f257 17:00:29 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:00:29 ---> Running in c8e75bf41238 17:00:30 Removing intermediate container c8e75bf41238 17:00:30 ---> b8fbf3cd1663 17:00:30 Step 34/36 : LABEL arch=arm64 17:00:30 ---> Running in 517dd1e880fd 17:00:30 Removing intermediate container 517dd1e880fd 17:00:30 ---> 1be82146d1ae 17:00:30 Step 35/36 : LABEL git_sha=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 17:00:30 ---> Running in cb1741c8ff54 17:00:31 Removing intermediate container cb1741c8ff54 17:00:31 ---> 1d8afe95dc38 17:00:31 Step 36/36 : LABEL version=2.3.0-dev.14 17:00:31 ---> Running in 889157b087a7 17:00:31 Removing intermediate container 889157b087a7 17:00:31 ---> 8d7afedd60b0 17:00:31 [Warning] One or more build-args [ARCH] were not consumed 17:00:31 Successfully built 8d7afedd60b0 17:00:31 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:31 provisioning config files... 17:00:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/53@tmp/config8380283360262890506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:32 ---> docker-login.sh 17:00:32 nexus3.edgexfoundry.org:10001 17:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:32 Configure a credential helper to remove this warning. See 17:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:32 17:00:32 Login Succeeded 17:00:32 nexus3.edgexfoundry.org:10002 17:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:32 Configure a credential helper to remove this warning. See 17:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:32 17:00:32 Login Succeeded 17:00:32 nexus3.edgexfoundry.org:10003 17:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:33 Configure a credential helper to remove this warning. See 17:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:33 17:00:33 Login Succeeded 17:00:33 nexus3.edgexfoundry.org:10004 17:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:33 Configure a credential helper to remove this warning. See 17:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:33 17:00:33 Login Succeeded 17:00:33 docker.io 17:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:34 Configure a credential helper to remove this warning. See 17:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:34 17:00:34 Login Succeeded 17:00:34 ---> docker-login.sh ends [Pipeline] } 17:00:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:34 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:00:34 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 17:00:34 latest 17:00:34 2.3.0-dev.14 17:00:34 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 17:00:34 main 17:00:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:35 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 17:00:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:00:35 edb4a863092d: Preparing 17:00:35 9dbd0ded0941: Preparing 17:00:35 e8dfff494fe4: Preparing 17:00:35 a43932d1df72: Preparing 17:00:35 1207169bf42c: Preparing 17:00:35 d4881ae64db7: Preparing 17:00:35 aba85ae38b34: Preparing 17:00:35 ca382427127f: Preparing 17:00:35 4340e280952f: Preparing 17:00:35 2d04d686f2cb: Preparing 17:00:35 6982a8744d83: Preparing 17:00:35 5d3e392a13a0: Preparing 17:00:35 d4881ae64db7: Waiting 17:00:35 4340e280952f: Waiting 17:00:35 2d04d686f2cb: Waiting 17:00:35 6982a8744d83: Waiting 17:00:35 aba85ae38b34: Waiting 17:00:35 ca382427127f: Waiting 17:00:35 9dbd0ded0941: Pushed 17:00:35 edb4a863092d: Pushed 17:00:35 e8dfff494fe4: Pushed 17:00:35 1207169bf42c: Pushed 17:00:35 d4881ae64db7: Pushed 17:00:35 ca382427127f: Pushed 17:00:35 aba85ae38b34: Pushed 17:00:35 4340e280952f: Pushed 17:00:35 5d3e392a13a0: Layer already exists 17:00:40 a43932d1df72: Pushed 17:00:42 2d04d686f2cb: Pushed 17:00:54 6982a8744d83: Pushed 17:00:54 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b: digest: sha256:7b328f9cf746b63d3fb118eba238611b9e531d63e1064fc19dd9eab0a55ddbc6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:54 + 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 17:00:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:00:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:00:55 edb4a863092d: Preparing 17:00:55 9dbd0ded0941: Preparing 17:00:55 e8dfff494fe4: Preparing 17:00:55 a43932d1df72: Preparing 17:00:55 1207169bf42c: Preparing 17:00:55 d4881ae64db7: Preparing 17:00:55 aba85ae38b34: Preparing 17:00:55 ca382427127f: Preparing 17:00:55 4340e280952f: Preparing 17:00:55 2d04d686f2cb: Preparing 17:00:55 6982a8744d83: Preparing 17:00:55 5d3e392a13a0: Preparing 17:00:55 ca382427127f: Waiting 17:00:55 4340e280952f: Waiting 17:00:55 2d04d686f2cb: Waiting 17:00:55 d4881ae64db7: Waiting 17:00:55 aba85ae38b34: Waiting 17:00:55 6982a8744d83: Waiting 17:00:55 5d3e392a13a0: Waiting 17:00:55 a43932d1df72: Layer already exists 17:00:55 edb4a863092d: Layer already exists 17:00:55 e8dfff494fe4: Layer already exists 17:00:55 1207169bf42c: Layer already exists 17:00:55 9dbd0ded0941: Layer already exists 17:00:55 ca382427127f: Layer already exists 17:00:55 aba85ae38b34: Layer already exists 17:00:55 d4881ae64db7: Layer already exists 17:00:55 4340e280952f: Layer already exists 17:00:55 2d04d686f2cb: Layer already exists 17:00:55 6982a8744d83: Layer already exists 17:00:55 5d3e392a13a0: Layer already exists 17:00:55 latest: digest: sha256:7b328f9cf746b63d3fb118eba238611b9e531d63e1064fc19dd9eab0a55ddbc6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:55 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.14 17:00:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:00:56 edb4a863092d: Preparing 17:00:56 9dbd0ded0941: Preparing 17:00:56 e8dfff494fe4: Preparing 17:00:56 a43932d1df72: Preparing 17:00:56 1207169bf42c: Preparing 17:00:56 d4881ae64db7: Preparing 17:00:56 aba85ae38b34: Preparing 17:00:56 ca382427127f: Preparing 17:00:56 4340e280952f: Preparing 17:00:56 2d04d686f2cb: Preparing 17:00:56 6982a8744d83: Preparing 17:00:56 5d3e392a13a0: Preparing 17:00:56 aba85ae38b34: Waiting 17:00:56 ca382427127f: Waiting 17:00:56 4340e280952f: Waiting 17:00:56 2d04d686f2cb: Waiting 17:00:56 6982a8744d83: Waiting 17:00:56 5d3e392a13a0: Waiting 17:00:56 d4881ae64db7: Waiting 17:00:56 edb4a863092d: Layer already exists 17:00:56 9dbd0ded0941: Layer already exists 17:00:56 1207169bf42c: Layer already exists 17:00:56 a43932d1df72: Layer already exists 17:00:56 e8dfff494fe4: Layer already exists 17:00:56 aba85ae38b34: Layer already exists 17:00:56 ca382427127f: Layer already exists 17:00:56 4340e280952f: Layer already exists 17:00:56 d4881ae64db7: Layer already exists 17:00:56 2d04d686f2cb: Layer already exists 17:00:56 6982a8744d83: Layer already exists 17:00:56 5d3e392a13a0: Layer already exists 17:00:56 2.3.0-dev.14: digest: sha256:7b328f9cf746b63d3fb118eba238611b9e531d63e1064fc19dd9eab0a55ddbc6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 17:00:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:00:57 edb4a863092d: Preparing 17:00:57 9dbd0ded0941: Preparing 17:00:57 e8dfff494fe4: Preparing 17:00:57 a43932d1df72: Preparing 17:00:57 1207169bf42c: Preparing 17:00:57 d4881ae64db7: Preparing 17:00:57 aba85ae38b34: Preparing 17:00:57 ca382427127f: Preparing 17:00:57 4340e280952f: Preparing 17:00:57 2d04d686f2cb: Preparing 17:00:57 6982a8744d83: Preparing 17:00:57 5d3e392a13a0: Preparing 17:00:57 d4881ae64db7: Waiting 17:00:57 aba85ae38b34: Waiting 17:00:57 2d04d686f2cb: Waiting 17:00:57 6982a8744d83: Waiting 17:00:57 5d3e392a13a0: Waiting 17:00:57 ca382427127f: Waiting 17:00:57 4340e280952f: Waiting 17:00:57 9dbd0ded0941: Layer already exists 17:00:57 1207169bf42c: Layer already exists 17:00:57 edb4a863092d: Layer already exists 17:00:57 e8dfff494fe4: Layer already exists 17:00:57 a43932d1df72: Layer already exists 17:00:57 d4881ae64db7: Layer already exists 17:00:57 aba85ae38b34: Layer already exists 17:00:57 2d04d686f2cb: Layer already exists 17:00:57 ca382427127f: Layer already exists 17:00:57 4340e280952f: Layer already exists 17:00:57 5d3e392a13a0: Layer already exists 17:00:57 6982a8744d83: Layer already exists 17:00:57 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14: digest: sha256:7b328f9cf746b63d3fb118eba238611b9e531d63e1064fc19dd9eab0a55ddbc6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:57 + 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 17:00:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 17:00:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:00:58 edb4a863092d: Preparing 17:00:58 9dbd0ded0941: Preparing 17:00:58 e8dfff494fe4: Preparing 17:00:58 a43932d1df72: Preparing 17:00:58 1207169bf42c: Preparing 17:00:58 d4881ae64db7: Preparing 17:00:58 aba85ae38b34: Preparing 17:00:58 ca382427127f: Preparing 17:00:58 4340e280952f: Preparing 17:00:58 2d04d686f2cb: Preparing 17:00:58 6982a8744d83: Preparing 17:00:58 5d3e392a13a0: Preparing 17:00:58 4340e280952f: Waiting 17:00:58 2d04d686f2cb: Waiting 17:00:58 6982a8744d83: Waiting 17:00:58 d4881ae64db7: Waiting 17:00:58 5d3e392a13a0: Waiting 17:00:58 aba85ae38b34: Waiting 17:00:58 ca382427127f: Waiting 17:00:58 a43932d1df72: Layer already exists 17:00:58 1207169bf42c: Layer already exists 17:00:58 e8dfff494fe4: Layer already exists 17:00:58 edb4a863092d: Layer already exists 17:00:58 9dbd0ded0941: Layer already exists 17:00:58 ca382427127f: Layer already exists 17:00:58 d4881ae64db7: Layer already exists 17:00:58 aba85ae38b34: Layer already exists 17:00:58 4340e280952f: Layer already exists 17:00:58 2d04d686f2cb: Layer already exists 17:00:58 5d3e392a13a0: Layer already exists 17:00:58 6982a8744d83: Layer already exists 17:00:58 main: digest: sha256:7b328f9cf746b63d3fb118eba238611b9e531d63e1064fc19dd9eab0a55ddbc6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:58 ===================================================== [Pipeline] echo 17:00:58 taggedImages: 17:00:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b 17:00:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:00:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.14 17:00:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:e6cf2f2f80d14c6ff357eccb58ac1fd20041715b-2.3.0-dev.14 17:00:58 - 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 17:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:58 17:00:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:59 arm64: Pulling from edgex-lftools-log-publisher 17:00:59 8998bd30e6a1: Pulling fs layer 17:00:59 04944245beec: Pulling fs layer 17:00:59 699f458cf7ca: Pulling fs layer 17:00:59 765212b225bb: Pulling fs layer 17:00:59 f23df028b6ca: Pulling fs layer 17:00:59 d65c8cfc05b1: Pulling fs layer 17:00:59 2437ff75d9bd: Pulling fs layer 17:00:59 f23df028b6ca: Waiting 17:00:59 d65c8cfc05b1: Waiting 17:00:59 2437ff75d9bd: Waiting 17:00:59 765212b225bb: Waiting 17:00:59 04944245beec: Verifying Checksum 17:00:59 04944245beec: Download complete 17:00:59 765212b225bb: Verifying Checksum 17:00:59 765212b225bb: Download complete 17:00:59 f23df028b6ca: Verifying Checksum 17:00:59 f23df028b6ca: Download complete 17:00:59 d65c8cfc05b1: Verifying Checksum 17:00:59 d65c8cfc05b1: Download complete 17:00:59 699f458cf7ca: Verifying Checksum 17:00:59 699f458cf7ca: Download complete 17:01:00 8998bd30e6a1: Verifying Checksum 17:01:00 8998bd30e6a1: Download complete 17:01:03 2437ff75d9bd: Verifying Checksum 17:01:03 2437ff75d9bd: Download complete 17:01:04 8998bd30e6a1: Pull complete 17:01:05 04944245beec: Pull complete 17:01:06 699f458cf7ca: Pull complete 17:01:06 765212b225bb: Pull complete 17:01:07 f23df028b6ca: Pull complete 17:01:07 d65c8cfc05b1: Pull complete 17:01:22 2437ff75d9bd: Pull complete 17:01:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:01:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:22 prd-ubuntu20.04-docker-arm64-4c-16g-7350 does not seem to be running inside a container 17:01:22 $ 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/53 -v /w/workspace/device-usb-camera/53:/w/workspace/device-usb-camera/53:rw,z -v /w/workspace/device-usb-camera/53@tmp:/w/workspace/device-usb-camera/53@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 17:01:25 $ docker top 3ac29a0c7d0fe7fd1cb07e62f36bc1c9e6bc1c8f68360014f7d8cb5002887775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:26 ---> job-cost.sh 17:01:26 lf-activate-venv: SKIPPING 17:01:26 INFO: No Stack... 17:01:27 INFO: Retrieving Pricing Info for: v3-standard-4 17:01:27 INFO: Archiving Costs [Pipeline] sh 17:01:28 + cat /w/workspace/device-usb-camera/53/archives/cost.csv 17:01:28 + cut -d, -f6 [Pipeline] lock 17:01:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] 17:01:28 Resource [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] did not exist. Created. 17:01:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:29 /w/workspace/device-usb-camera/53@tmp/durable-29cb3cbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:01:29 + echo total: 0.10999999940395355 [Pipeline] stash 17:01:29 Warning: overwriting stash ‘stack-cost’ 17:01:29 Stashed 1 file(s) [Pipeline] } 17:01:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:29 $ docker stop --time=1 3ac29a0c7d0fe7fd1cb07e62f36bc1c9e6bc1c8f68360014f7d8cb5002887775 17:01:31 $ docker rm -f 3ac29a0c7d0fe7fd1cb07e62f36bc1c9e6bc1c8f68360014f7d8cb5002887775 [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 17:01:31 provisioning config files... 17:01:31 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11713391716031725510tmp [Pipeline] { [Pipeline] sh 17:01:32 + set +x 17:01:32 + + bash -scurl -- -s 17:01:32 https://codecov.io/bash 17:01:32 17:01:32 _____ _ 17:01:32 / ____| | | 17:01:32 | | ___ __| | ___ ___ _____ __ 17:01:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:01:32 | |___| (_) | (_| | __/ (_| (_) \ V / 17:01:32 \_____\___/ \__,_|\___|\___\___/ \_/ 17:01:32 Bash-1.0.6 17:01:32 17:01:32 17:01:32 ==> git version 2.25.1 found 17:01:32 ==> 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 17:01:32 Release-Date: 2020-01-08 17:01:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:01:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:01:32 ==> Jenkins CI detected. 17:01:32 current dir:  /w/workspace/exfoundry_device-usb-camera_main 17:01:32 project root: . 17:01:32 --> token set from env 17:01:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:01:32 ==> Running gcov in . (disable via -X gcov) 17:01:32 ==> Python coveragepy not found 17:01:32 ==> Searching for coverage reports in: 17:01:32 + . 17:01:32 -> Found 1 reports 17:01:32 ==> Detecting git/mercurial file structure 17:01:32 ==> Reading reports 17:01:32 + ./coverage.out bytes=29387 17:01:32 ==> Appending adjustments 17:01:32 https://docs.codecov.io/docs/fixing-reports 17:01:32 + Found adjustments 17:01:32 ==> Gzipping contents 17:01:32 8.0K /tmp/codecov.x0pVWk.gz 17:01:32 ==> Uploading reports 17:01:32 url: https://codecov.io 17:01:32 query: branch=main&commit=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:01:32 -> Pinging Codecov 17:01:32 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=e6cf2f2f80d14c6ff357eccb58ac1fd20041715b&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:01:32 -> Uploading to 17:01:32 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/73D8F5FF140700D3E01443B452E23636/e6cf2f2f80d14c6ff357eccb58ac1fd20041715b/18b049c2-7e53-439c-9245-8b82b5285bc8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T170132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c65241226acbbc04b5156effc21ebe68a206d6ed2865cde644935bae968cb51a 17:01:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:32 Dload Upload Total Spent Left Speed 17:01:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 17106 --:--:-- --:--:-- --:--:-- 17106 17:01:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] } 17:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:01:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:01:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:33 17:01:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:01:33 df9b9388f04a: Pulling fs layer 17:01:33 52dc419b0ee2: Pulling fs layer 17:01:33 25bc292e5bac: Pulling fs layer 17:01:33 114826534d7a: Pulling fs layer 17:01:33 4657fd5d0bcf: Pulling fs layer 17:01:33 6ad1cebc031e: Pulling fs layer 17:01:33 8a3aa393b2d8: Pulling fs layer 17:01:33 4657fd5d0bcf: Waiting 17:01:33 6ad1cebc031e: Waiting 17:01:33 8a3aa393b2d8: Waiting 17:01:33 114826534d7a: Waiting 17:01:33 25bc292e5bac: Verifying Checksum 17:01:33 25bc292e5bac: Download complete 17:01:33 52dc419b0ee2: Verifying Checksum 17:01:33 52dc419b0ee2: Download complete 17:01:33 4657fd5d0bcf: Verifying Checksum 17:01:33 4657fd5d0bcf: Download complete 17:01:33 df9b9388f04a: Verifying Checksum 17:01:33 df9b9388f04a: Download complete 17:01:33 6ad1cebc031e: Verifying Checksum 17:01:33 6ad1cebc031e: Download complete 17:01:33 df9b9388f04a: Pull complete 17:01:33 52dc419b0ee2: Pull complete 17:01:34 25bc292e5bac: Pull complete 17:01:34 114826534d7a: Verifying Checksum 17:01:34 114826534d7a: Download complete 17:01:34 8a3aa393b2d8: Verifying Checksum 17:01:34 8a3aa393b2d8: Download complete 17:01:37 114826534d7a: Pull complete 17:01:37 4657fd5d0bcf: Pull complete 17:01:38 6ad1cebc031e: Pull complete 17:01:40 8a3aa393b2d8: Pull complete 17:01:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:40 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:01:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:01:44 $ docker top 5b1031f5f6229a96bf8e9570eff68e385ac19abd23bd974899b85ecb12853217 -eo pid,comm [Pipeline] { [Pipeline] echo 17:01:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 17:01:44 + set -o pipefail 17:01:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 17:01:50 17:01:50 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 17:01:50 17:01:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/0aad604c-fdf5-4cb7-b29c-ef84d998c113 17:01:50 17:01:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:01:50 17:01:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:01:50 17:01:50 17:01:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:01:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:01:50 More details here: https://snyk.co/ue1NS [Pipeline] } 17:01:50 $ docker stop --time=1 5b1031f5f6229a96bf8e9570eff68e385ac19abd23bd974899b85ecb12853217 17:01:53 $ docker rm -f 5b1031f5f6229a96bf8e9570eff68e385ac19abd23bd974899b85ecb12853217 [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 17:01:54 + git log --format=format:%s -1 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b [Pipeline] sh 17:01:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:54 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:01:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:01:55 $ docker top 46555da1533e89cc67382199f50c8ec4d41eaa8e034a846a751e6ba25eb040ca -eo pid,comm 17:01:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:01:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:55 [ssh-agent] Looking for ssh-agent implementation... 17:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:55 $ docker exec 46555da1533e89cc67382199f50c8ec4d41eaa8e034a846a751e6ba25eb040ca ssh-agent 17:01:55 SSH_AUTH_SOCK=/tmp/ssh-VfFetLZRRffq/agent.33 17:01:55 SSH_AGENT_PID=39 17:01:55 Running ssh-add (command line suppressed) 17:01:55 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3178091659782284834.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3178091659782284834.key) 17:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:55 + git semver tag 17:01:56 2022-10-07 17:01:56,053 [run_tag] DEBUG tag force:False 17:01:56 2022-10-07 17:01:56,053 [check_head_tag] DEBUG check head tag 17:01:56 2022-10-07 17:01:56,054 [execute] INFO git cat-file --batch-check 17:01:56 2022-10-07 17:01:56,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:01:56 2022-10-07 17:01:56,058 [execute] INFO git cat-file --batch 17:01:56 2022-10-07 17:01:56,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:01:56 2022-10-07 17:01:56,075 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:01:56 2022-10-07 17:01:56,076 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 17:01:56 2022-10-07 17:01:56,076 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:01:56 2022-10-07 17:01:56,081 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:01:56 2.3.0-dev.14 [Pipeline] } 17:01:56 $ docker exec --env ******** --env ******** 46555da1533e89cc67382199f50c8ec4d41eaa8e034a846a751e6ba25eb040ca ssh-agent -k 17:01:56 unset SSH_AUTH_SOCK; 17:01:56 unset SSH_AGENT_PID; 17:01:56 echo Agent pid 39 killed; 17:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:56 + git semver [Pipeline] } 17:01:56 $ docker stop --time=1 46555da1533e89cc67382199f50c8ec4d41eaa8e034a846a751e6ba25eb040ca 17:01:58 $ docker rm -f 46555da1533e89cc67382199f50c8ec4d41eaa8e034a846a751e6ba25eb040ca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:58 17:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:58 0.23.1-centos7: Pulling from edgex-lftools 17:01:58 ab5ef0e58194: Pulling fs layer 17:01:58 9712f1f96733: Pulling fs layer 17:01:58 63f879dbbcfc: Pulling fs layer 17:01:58 0d9ebad4ef96: Pulling fs layer 17:01:58 e9a5061849ea: Pulling fs layer 17:01:58 d747dcd14b5f: Pulling fs layer 17:01:58 2de7ff778b66: Pulling fs layer 17:01:58 e9a5061849ea: Waiting 17:01:58 d747dcd14b5f: Waiting 17:01:58 2de7ff778b66: Waiting 17:01:58 0d9ebad4ef96: Waiting 17:01:58 9712f1f96733: Verifying Checksum 17:01:58 9712f1f96733: Download complete 17:01:59 63f879dbbcfc: Verifying Checksum 17:01:59 63f879dbbcfc: Download complete 17:01:59 e9a5061849ea: Verifying Checksum 17:01:59 e9a5061849ea: Download complete 17:01:59 d747dcd14b5f: Download complete 17:01:59 ab5ef0e58194: Verifying Checksum 17:01:59 ab5ef0e58194: Download complete 17:01:59 0d9ebad4ef96: Verifying Checksum 17:01:59 0d9ebad4ef96: Download complete 17:01:59 2de7ff778b66: Verifying Checksum 17:01:59 2de7ff778b66: Download complete 17:02:02 ab5ef0e58194: Pull complete 17:02:02 9712f1f96733: Pull complete 17:02:02 63f879dbbcfc: Pull complete 17:02:06 0d9ebad4ef96: Pull complete 17:02:06 e9a5061849ea: Pull complete 17:02:06 d747dcd14b5f: Pull complete 17:02:07 2de7ff778b66: Pull complete 17:02:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:02:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:07 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:02:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:02:11 $ docker top fd59a8a9559ceb71dd04b35330cacec784bb2bf8f4c42761f507fa553ee45ecd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:02:11 provisioning config files... 17:02:11 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18138349804604847052tmp 17:02:11 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16411943925817632047tmp 17:02:11 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10508763774295840355tmp [Pipeline] { [Pipeline] echo 17:02:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:02:12 ---> sigul-configuration.sh 17:02:12 gpg: directory `/root/.gnupg' created 17:02:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:02:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:02:12 gpg: keyring `/root/.gnupg/secring.gpg' created 17:02:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:02:12 gpg: CAST5 encrypted data 17:02:12 gpg: encrypted with 1 passphrase 17:02:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:02:12 + mkdir /home/jenkins 17:02:12 + mkdir /home/jenkins/sigul [Pipeline] sh 17:02:12 + 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 17:02:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:02:13 ---> sigul-install.sh 17:02:13 Sigul already installed; skipping installation. [Pipeline] sh 17:02:13 + git tag --list 17:02:13 v0.0.0 17:02:13 v0.0.1-dev.1 17:02:13 v0.0.1-dev.10 17:02:13 v0.0.1-dev.11 17:02:13 v0.0.1-dev.12 17:02:13 v0.0.1-dev.13 17:02:13 v0.0.1-dev.14 17:02:13 v0.0.1-dev.15 17:02:13 v0.0.1-dev.16 17:02:13 v0.0.1-dev.2 17:02:13 v0.0.1-dev.3 17:02:13 v0.0.1-dev.4 17:02:13 v0.0.1-dev.5 17:02:13 v0.0.1-dev.6 17:02:13 v0.0.1-dev.7 17:02:13 v0.0.1-dev.8 17:02:13 v0.0.1-dev.9 17:02:13 v2.2.0 17:02:13 v2.2.0-dev.17 17:02:13 v2.2.0-dev.18 17:02:13 v2.2.0-dev.19 17:02:13 v2.2.0-dev.20 17:02:13 v2.2.0-dev.21 17:02:13 v2.2.0-dev.22 17:02:13 v2.2.0-dev.23 17:02:13 v2.2.0-dev.24 17:02:13 v2.2.0-dev.25 17:02:13 v2.2.0-dev.26 17:02:13 v2.2.0-dev.27 17:02:13 v2.3.0-dev.1 17:02:13 v2.3.0-dev.10 17:02:13 v2.3.0-dev.11 17:02:13 v2.3.0-dev.12 17:02:13 v2.3.0-dev.13 17:02:13 v2.3.0-dev.14 17:02:13 v2.3.0-dev.2 17:02:13 v2.3.0-dev.3 17:02:13 v2.3.0-dev.4 17:02:13 v2.3.0-dev.5 17:02:13 v2.3.0-dev.6 17:02:13 v2.3.0-dev.7 17:02:13 v2.3.0-dev.8 17:02:13 v2.3.0-dev.9 [Pipeline] sh 17:02:13 + lftools sign git-tag v2.3.0-dev.14 17:02:14 Signing Git tag with Sigul... 17:02:14 Signing v2.3.0-dev.14 [Pipeline] echo 17:02:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:02:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:02:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:02:15 $ docker stop --time=1 fd59a8a9559ceb71dd04b35330cacec784bb2bf8f4c42761f507fa553ee45ecd 17:02:16 $ docker rm -f fd59a8a9559ceb71dd04b35330cacec784bb2bf8f4c42761f507fa553ee45ecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:02:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:02:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:02:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:17 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:02:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:02:17 $ docker top 7c1361f27e62e0850c8b8b167977266e2965026e71b50d4168cfc693e387e53f -eo pid,comm 17:02:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:02:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:17 [ssh-agent] Looking for ssh-agent implementation... 17:02:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:17 $ docker exec 7c1361f27e62e0850c8b8b167977266e2965026e71b50d4168cfc693e387e53f ssh-agent 17:02:17 SSH_AUTH_SOCK=/tmp/ssh-QPhMm6bMvADw/agent.32 17:02:17 SSH_AGENT_PID=38 17:02:17 Running ssh-add (command line suppressed) 17:02:17 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15642473554372496739.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15642473554372496739.key) 17:02:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:18 + git semver bump pre 17:02:18 2022-10-07 17:02:18,503 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:02:18 2022-10-07 17:02:18,503 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 17:02:18 2022-10-07 17:02:18,503 [bump_version] DEBUG bumped version:2.3.0-dev.15 17:02:18 2022-10-07 17:02:18,503 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 17:02:18 2022-10-07 17:02:18,504 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:02:18 2022-10-07 17:02:18,504 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:02:18 2022-10-07 17:02:18,505 [execute] INFO git cat-file --batch-check 17:02:18 2022-10-07 17:02:18,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:02:18 2022-10-07 17:02:18,512 [execute] INFO git cat-file --batch 17:02:18 2022-10-07 17:02:18,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:02:18 2022-10-07 17:02:18,518 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:02:18 2.3.0-dev.15 [Pipeline] } 17:02:18 $ docker exec --env ******** --env ******** 7c1361f27e62e0850c8b8b167977266e2965026e71b50d4168cfc693e387e53f ssh-agent -k 17:02:18 unset SSH_AUTH_SOCK; 17:02:18 unset SSH_AGENT_PID; 17:02:18 echo Agent pid 38 killed; 17:02:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:18 + git semver [Pipeline] } 17:02:19 $ docker stop --time=1 7c1361f27e62e0850c8b8b167977266e2965026e71b50d4168cfc693e387e53f 17:02:20 $ docker rm -f 7c1361f27e62e0850c8b8b167977266e2965026e71b50d4168cfc693e387e53f [Pipeline] // withDockerContainer [Pipeline] sh 17:02:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:02:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:02:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:21 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:02:21 $ docker top 1bf43fd0d815f95f361a826aa01bbd8af417ca10558a1b17c8685ba008347868 -eo pid,comm 17:02:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:02:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:02:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:02:21 [ssh-agent] Looking for ssh-agent implementation... 17:02:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:02:21 $ docker exec 1bf43fd0d815f95f361a826aa01bbd8af417ca10558a1b17c8685ba008347868 ssh-agent 17:02:22 SSH_AUTH_SOCK=/tmp/ssh-YVs72DdQx96k/agent.31 17:02:22 SSH_AGENT_PID=37 17:02:22 Running ssh-add (command line suppressed) 17:02:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16961324525578456513.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16961324525578456513.key) 17:02:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:02:22 + git semver push 17:02:22 2022-10-07 17:02:22,763 [run_push] DEBUG push 17:02:22 2022-10-07 17:02:22,764 [execute] INFO git cat-file --batch-check 17:02:22 2022-10-07 17:02:22,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:02:22 2022-10-07 17:02:22,768 [execute] INFO git rev-list ddb5e63a2d8ca369aba62d406f98b45c91d9fce4 -- 17:02:22 2022-10-07 17:02:22,768 [execute] DEBUG Popen(['git', 'rev-list', 'ddb5e63a2d8ca369aba62d406f98b45c91d9fce4', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:02:22 2022-10-07 17:02:22,775 [execute] INFO git fetch -v origin 17:02:22 2022-10-07 17:02:22,775 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:02:23 2022-10-07 17:02:23,375 [run_push] DEBUG no remote changes detected 17:02:23 2022-10-07 17:02:23,376 [execute] INFO git push origin semver 17:02:23 2022-10-07 17:02:23,376 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:02:24 2022-10-07 17:02:24,157 [run_push] DEBUG push all version tags 17:02:24 2022-10-07 17:02:24,157 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:02:24 2022-10-07 17:02:24,158 [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) 17:02:24 2022-10-07 17:02:24,920 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:02:24 2.3.0-dev.15 [Pipeline] } 17:02:24 $ docker exec --env ******** --env ******** 1bf43fd0d815f95f361a826aa01bbd8af417ca10558a1b17c8685ba008347868 ssh-agent -k 17:02:25 unset SSH_AUTH_SOCK; 17:02:25 unset SSH_AGENT_PID; 17:02:25 echo Agent pid 37 killed; 17:02:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:02:25 + git semver [Pipeline] } 17:02:25 $ docker stop --time=1 1bf43fd0d815f95f361a826aa01bbd8af417ca10558a1b17c8685ba008347868 17:02:26 $ docker rm -f 1bf43fd0d815f95f361a826aa01bbd8af417ca10558a1b17c8685ba008347868 [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 17:02:27 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 17:02:27 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:02:27 total 16 17:02:27 drwxr-xr-x 3 root root 4096 Oct 7 16:51 . 17:02:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 17:02 .. 17:02:27 drwxr-xr-x 2 root root 4096 Oct 7 16:51 cost 17:02:27 -rw-r--r-- 1 root root 88 Oct 7 16:51 cost.csv 17:02:27 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 17:02:27 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:02:27 total 16 17:02:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 16:51 . 17:02:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 17:02 .. 17:02:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 16:51 cost 17:02:27 -rw-r--r-- 1 jenkins jenkins 88 Oct 7 16:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:02:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:02:28 ---> package-listing.sh 17:02:28 ++ facter osfamily 17:02:28 ++ tr '[:upper:]' '[:lower:]' 17:02:28 + OS_FAMILY=debian 17:02:28 + workspace=/w/workspace/exfoundry_device-usb-camera_main 17:02:28 + START_PACKAGES=/tmp/packages_start.txt 17:02:28 + END_PACKAGES=/tmp/packages_end.txt 17:02:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:02:28 + PACKAGES=/tmp/packages_start.txt 17:02:28 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:02:28 + PACKAGES=/tmp/packages_end.txt 17:02:28 + case "${OS_FAMILY}" in 17:02:28 + dpkg -l 17:02:28 + grep '^ii' 17:02:28 + '[' -f /tmp/packages_start.txt ']' 17:02:28 + '[' -f /tmp/packages_end.txt ']' 17:02:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:02:28 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:02:28 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 17:02:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 17:02:28 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 17:02:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:29 prd-ubuntu20.04-docker-8c-8g-7348 does not seem to be running inside a container 17:02:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:02:30 $ docker top 30acafaa81779529579ab9ad09ee2da4d0a9396abe3720afc6e14dfb242cb540 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:02:30 + mkdir -p /var/log/sysstat [Pipeline] sh 17:02:30 + ls /var/log/sa-host 17:02:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:30 provisioning config files... 17:02:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12501664518802500557tmp [Pipeline] { [Pipeline] echo 17:02:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:02:31 ---> create-netrc.sh [Pipeline] } 17:02:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:02:31 ---> python-tools-install.sh [Pipeline] echo 17:02:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:02:31 ---> sudo-logs.sh 17:02:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:02:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:02:32 ---> job-cost.sh 17:02:32 lf-activate-venv: SKIPPING 17:02:32 DEBUG: total: 0.2199999988079071 17:02:32 INFO: Retrieving Stack Cost... 17:02:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:33 INFO: Archiving Costs [Pipeline] echo 17:02:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:02:33 ---> logs-deploy.sh 17:02:33 lf-activate-venv: SKIPPING 17:02:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/53 17:02:33 INFO: archiving workspace using pattern(s): 17:02:34 Archives upload complete. 17:02:34 INFO: archiving logs to Nexus