Push event to branch main Started by user Eric Ball Rebuilds build #58 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd08d416618cedf6394f2b45eea8eb763bae3217 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-ssh7957490367518228812.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8055045148959034183.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh11894780764421936674.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5397252785108934168.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-ssh4243980955554208012.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-116986 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 cd08d416618cedf6394f2b45eea8eb763bae3217 (main) Commit message: "Merge pull request #107 from hahattan/update-topic" > 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 cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 > git rev-list --no-walk cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:46:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:46:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:46:23 ========================================================= 20:46:23 EdgeX Global Pipelines Version Info 20:46:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:46:23 ------------------- 20:46:23 stable info: 20:46:23 ------------------- 20:46:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:46:23 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:46:23 Message: update stable to v1.0.243 20:46:24 ------------------- 20:46:24 experimental info: 20:46:24 ------------------- 20:46:24 Commited By: **** collab-it+edgex@linuxfoundation.org 20:46:24 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:46:24 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd08d41 [Pipeline] echo 20:46:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:24 provisioning config files... 20:46:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1321096308154817283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:25 ---> docker-login.sh 20:46:25 nexus3.edgexfoundry.org:10001 20:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:25 Configure a credential helper to remove this warning. See 20:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:25 20:46:25 Login Succeeded 20:46:25 nexus3.edgexfoundry.org:10002 20:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:25 Configure a credential helper to remove this warning. See 20:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:25 20:46:25 Login Succeeded 20:46:25 nexus3.edgexfoundry.org:10003 20:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:25 Configure a credential helper to remove this warning. See 20:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:25 20:46:25 Login Succeeded 20:46:25 nexus3.edgexfoundry.org:10004 20:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:25 Configure a credential helper to remove this warning. See 20:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:25 20:46:25 Login Succeeded 20:46:25 docker.io 20:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:26 Configure a credential helper to remove this warning. See 20:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:26 20:46:26 Login Succeeded 20:46:26 ---> docker-login.sh ends [Pipeline] } 20:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:46:26 + git rev-list -1 --merges cd08d416618cedf6394f2b45eea8eb763bae3217~1..cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] echo 20:46:26 -----------> git rev-list -1 --merges cd08d416618cedf6394f2b45eea8eb763bae3217~1..cd08d416618cedf6394f2b45eea8eb763bae3217 cd08d416618cedf6394f2b45eea8eb763bae3217 20:46:26 cd08d416618cedf6394f2b45eea8eb763bae3217 [false] [Pipeline] sh 20:46:27 + git log --format=format:%s -1 cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] echo 20:46:27 ========================================================= 20:46:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:46:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:27 + git log --format=format:%s -1 cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] echo 20:46:27 [semverPrep] GIT_COMMIT: cd08d416618cedf6394f2b45eea8eb763bae3217, Commit Message: Merge pull request #107 from hahattan/update-topic [Pipeline] echo 20:46:27 [semverPrep] This is not a build commit. [Pipeline] sh 20:46:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:27 + grep -v github /etc/ssh/ssh_known_hosts 20:46:27 + [ -e /tmp/ssh_known_hosts ] 20:46:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:46:27 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:46:27 sudo tee -a /etc/ssh/ssh_known_hosts 20:46:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:28 20:46:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:28 0.1.4: Pulling from edgex-devops/py-git-semver 20:46:28 b85a868b505f: Pulling fs layer 20:46:28 e2be974225ed: Pulling fs layer 20:46:28 339a4e72a1f5: Pulling fs layer 20:46:28 988bab9f4d93: Pulling fs layer 20:46:28 1469e6f7b9e6: Pulling fs layer 20:46:28 eaf3925da568: Pulling fs layer 20:46:28 bab4dde63d76: Pulling fs layer 20:46:28 bde34c3a00c8: Pulling fs layer 20:46:28 b352a97aabf1: Pulling fs layer 20:46:28 4872d77fe225: Pulling fs layer 20:46:28 5851b861e8e6: Pulling fs layer 20:46:28 b352a97aabf1: Waiting 20:46:28 4872d77fe225: Waiting 20:46:28 1469e6f7b9e6: Waiting 20:46:28 5851b861e8e6: Waiting 20:46:28 eaf3925da568: Waiting 20:46:28 bab4dde63d76: Waiting 20:46:28 bde34c3a00c8: Waiting 20:46:28 988bab9f4d93: Waiting 20:46:28 e2be974225ed: Verifying Checksum 20:46:28 e2be974225ed: Download complete 20:46:28 988bab9f4d93: Verifying Checksum 20:46:28 988bab9f4d93: Download complete 20:46:28 339a4e72a1f5: Verifying Checksum 20:46:28 339a4e72a1f5: Download complete 20:46:28 1469e6f7b9e6: Verifying Checksum 20:46:28 1469e6f7b9e6: Download complete 20:46:28 eaf3925da568: Verifying Checksum 20:46:28 eaf3925da568: Download complete 20:46:28 bde34c3a00c8: Verifying Checksum 20:46:28 bde34c3a00c8: Download complete 20:46:28 b352a97aabf1: Verifying Checksum 20:46:28 b352a97aabf1: Download complete 20:46:28 4872d77fe225: Download complete 20:46:28 5851b861e8e6: Verifying Checksum 20:46:28 5851b861e8e6: Download complete 20:46:28 b85a868b505f: Download complete 20:46:29 bab4dde63d76: Verifying Checksum 20:46:29 bab4dde63d76: Download complete 20:46:30 b85a868b505f: Pull complete 20:46:30 e2be974225ed: Pull complete 20:46:30 339a4e72a1f5: Pull complete 20:46:30 988bab9f4d93: Pull complete 20:46:31 1469e6f7b9e6: Pull complete 20:46:31 eaf3925da568: Pull complete 20:46:32 bab4dde63d76: Pull complete 20:46:32 bde34c3a00c8: Pull complete 20:46:32 b352a97aabf1: Pull complete 20:46:32 4872d77fe225: Pull complete 20:46:32 5851b861e8e6: Pull complete 20:46:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:33 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 20:46: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:46:34 $ docker top 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff -eo pid,comm 20:46:34 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). 20:46:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:34 [ssh-agent] Looking for ssh-agent implementation... 20:46:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:34 $ docker exec 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff ssh-agent 20:46:34 SSH_AUTH_SOCK=/tmp/ssh-LQBQe5i5xp18/agent.32 20:46:34 SSH_AGENT_PID=38 20:46:34 Running ssh-add (command line suppressed) 20:46:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3708611626408812312.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3708611626408812312.key) 20:46:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:35 + git tag --points-at HEAD [Pipeline] } 20:46:35 $ docker exec --env ******** --env ******** 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff ssh-agent -k 20:46:35 unset SSH_AUTH_SOCK; 20:46:35 unset SSH_AGENT_PID; 20:46:35 echo Agent pid 38 killed; 20:46:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:46:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:35 [ssh-agent] Looking for ssh-agent implementation... 20:46:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:35 $ docker exec 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff ssh-agent 20:46:35 SSH_AUTH_SOCK=/tmp/ssh-UNs7XowE4Eby/agent.70 20:46:35 SSH_AGENT_PID=76 20:46:35 Running ssh-add (command line suppressed) 20:46:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3978125619318220647.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3978125619318220647.key) 20:46:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:36 + git semver init 20:46:36 2022-10-25 20:46:36,343 [run_init] DEBUG init version:0.0.0 force:False 20:46:36 2022-10-25 20:46:36,343 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:46:36 2022-10-25 20:46:36,344 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:46:36 2022-10-25 20:46:36,344 [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) 20:46:37 2022-10-25 20:46:37,274 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:46:37 2022-10-25 20:46:37,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:46:37 2022-10-25 20:46:37,275 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:37 2022-10-25 20:46:37,275 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:37 2.3.0-dev.18 [Pipeline] } 20:46:37 $ docker exec --env ******** --env ******** 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff ssh-agent -k 20:46:37 unset SSH_AUTH_SOCK; 20:46:37 unset SSH_AGENT_PID; 20:46:37 echo Agent pid 76 killed; 20:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:37 + git semver [Pipeline] } 20:46:38 $ docker stop --time=1 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff 20:46:39 $ docker rm -f 15b5e31bea4fcab4287c658185bb8fef2b584e7a07316b5e391a97b81b8ee6ff [Pipeline] // withDockerContainer [Pipeline] sh 20:46:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:46:39 Stashed 1 file(s) [Pipeline] echo 20:46:39 [edgeXSemver]: initialized semver on version 2.3.0-dev.18 [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 20:46:40 provisioning config files... 20:46:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5827823473257424742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:40 ---> docker-login.sh 20:46:40 nexus3.edgexfoundry.org:10001 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 nexus3.edgexfoundry.org:10002 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 nexus3.edgexfoundry.org:10003 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 nexus3.edgexfoundry.org:10004 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:40 Configure a credential helper to remove this warning. See 20:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:40 20:46:40 Login Succeeded 20:46:40 docker.io 20:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:41 Configure a credential helper to remove this warning. See 20:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:41 20:46:41 Login Succeeded 20:46:41 ---> docker-login.sh ends [Pipeline] } 20:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:41 ========================================================= 20:46:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:46:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:41 + 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 . 20:46:41 Sending build context to Docker daemon 1.544MB 20:46:41 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:46:41 Step 2/14 : FROM ${BASE} AS builder 20:46:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:46:41 213ec9aee27d: Pulling fs layer 20:46:41 4583459ba037: Pulling fs layer 20:46:41 93c1e223e6f2: Pulling fs layer 20:46:41 53926ce57604: Pulling fs layer 20:46:41 21b2b0c7a3f4: Pulling fs layer 20:46:41 30f14e443154: Pulling fs layer 20:46:41 801331c1e519: Pulling fs layer 20:46:41 99cc6dd402b0: Pulling fs layer 20:46:41 7d9ed39f4882: Pulling fs layer 20:46:41 30f14e443154: Waiting 20:46:41 801331c1e519: Waiting 20:46:41 99cc6dd402b0: Waiting 20:46:41 7d9ed39f4882: Waiting 20:46:41 53926ce57604: Waiting 20:46:41 21b2b0c7a3f4: Waiting 20:46:41 93c1e223e6f2: Verifying Checksum 20:46:41 93c1e223e6f2: Download complete 20:46:41 4583459ba037: Verifying Checksum 20:46:41 4583459ba037: Download complete 20:46:41 21b2b0c7a3f4: Verifying Checksum 20:46:41 21b2b0c7a3f4: Download complete 20:46:41 30f14e443154: Verifying Checksum 20:46:41 30f14e443154: Download complete 20:46:41 213ec9aee27d: Verifying Checksum 20:46:41 213ec9aee27d: Download complete 20:46:41 801331c1e519: Verifying Checksum 20:46:41 801331c1e519: Download complete 20:46:41 213ec9aee27d: Pull complete 20:46:42 4583459ba037: Pull complete 20:46:42 93c1e223e6f2: Pull complete 20:46:42 53926ce57604: Verifying Checksum 20:46:42 53926ce57604: Download complete 20:46:42 7d9ed39f4882: Verifying Checksum 20:46:42 7d9ed39f4882: Download complete 20:46:42 99cc6dd402b0: Verifying Checksum 20:46:42 99cc6dd402b0: Download complete 20:46:47 53926ce57604: Pull complete 20:46:47 21b2b0c7a3f4: Pull complete 20:46:47 30f14e443154: Pull complete 20:46:47 801331c1e519: Pull complete 20:46:48 99cc6dd402b0: Pull complete 20:46:49 7d9ed39f4882: Pull complete 20:46:49 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:46:49 ---> 1dedd983c030 20:46:49 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:46:51 ---> Running in 4e9d0ca362c4 20:46:51 Removing intermediate container 4e9d0ca362c4 20:46:51 ---> 33d881080c95 20:46:51 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:51 ---> Running in de7965d507ce 20:46:51 Removing intermediate container de7965d507ce 20:46:51 ---> f71b3bc7eb0d 20:46:51 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:46:51 ---> Running in ce34d4cf3a6e 20:46:51 Removing intermediate container ce34d4cf3a6e 20:46:51 ---> 818d7efd6b13 20:46:51 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:46:51 ---> Running in 6681ddda05c4 20:46:51 Removing intermediate container 6681ddda05c4 20:46:51 ---> 18dacfbb182e 20:46:51 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:51 ---> Running in e9d03f5ce6b8 20:46:52 Removing intermediate container e9d03f5ce6b8 20:46:52 ---> 99d57f776e21 20:46:52 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:52 ---> Running in 0b9b21ff5137 20:46:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:46:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:46:53 (1/80) Installing mesa (21.3.8-r2) 20:46:53 (2/80) Installing libxau (1.0.9-r0) 20:46:54 (3/80) Installing libxdmcp (1.1.3-r0) 20:46:54 (4/80) Installing libxcb (1.15-r0) 20:46:54 Still waiting to schedule task 20:46:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:46:55 (5/80) Installing libx11 (1.8-r0) 20:46:55 (6/80) Installing libxext (1.3.4-r0) 20:46:55 (7/80) Installing libxfixes (6.0.0-r0) 20:46:55 (8/80) Installing libxxf86vm (1.1.4-r2) 20:46:56 (9/80) Installing libpciaccess (0.16-r0) 20:46:56 (10/80) Installing libdrm (2.4.110-r0) 20:46:56 (11/80) Installing mesa-glapi (21.3.8-r2) 20:46:57 (12/80) Installing libxshmfence (1.3-r1) 20:46:57 (13/80) Installing mesa-gl (21.3.8-r2) 20:46:57 (14/80) Installing icu-data-full (71.1-r2) 20:46:58 (15/80) Installing libice (1.0.10-r0) 20:46:58 (16/80) Installing libuuid (2.38-r1) 20:46:59 (17/80) Installing libsm (1.2.3-r0) 20:46:59 (18/80) Installing libxt (1.2.1-r0) 20:46:59 (19/80) Installing libxmu (1.1.3-r0) 20:46:59 (20/80) Installing xset (1.2.4-r0) 20:47:00 (21/80) Installing xprop (1.2.5-r0) 20:47:00 (22/80) Installing xdg-utils (1.1.3-r3) 20:47:00 (23/80) Installing dbus-libs (1.14.4-r0) 20:47:01 (24/80) Installing libffi (3.4.2-r1) 20:47:01 (25/80) Installing libintl (0.21-r2) 20:47:01 (26/80) Installing libblkid (2.38-r1) 20:47:02 (27/80) Installing libmount (2.38-r1) 20:47:02 (28/80) Installing pcre (8.45-r2) 20:47:02 (29/80) Installing glib (2.72.1-r0) 20:47:03 (30/80) Installing icu-libs (71.1-r2) 20:47:04 (31/80) Installing libpcre2-16 (10.40-r0) 20:47:04 (32/80) Installing zstd-libs (1.5.2-r1) 20:47:04 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:47:05 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:47:05 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:47:05 (36/80) Installing mesa-gbm (21.3.8-r2) 20:47:06 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:47:06 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:47:07 (39/80) Installing libxcomposite (0.4.5-r0) 20:47:07 (40/80) Installing libbz2 (1.0.8-r1) 20:47:07 (41/80) Installing libpng (1.6.37-r1) 20:47:08 (42/80) Installing freetype (2.12.1-r0) 20:47:08 (43/80) Installing fontconfig (2.14.0-r0) 20:47:08 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:47:08 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:47:09 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:47:09 (47/80) Installing xz-libs (5.2.5-r1) 20:47:09 (48/80) Installing libxml2 (2.9.14-r2) 20:47:10 (49/80) Installing libxkbcommon (1.4.1-r0) 20:47:10 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:47:11 (51/80) Installing mesa-egl (21.3.8-r2) 20:47:11 (52/80) Installing avahi-libs (0.8-r6) 20:47:11 (53/80) Installing nettle (3.7.3-r0) 20:47:12 (54/80) Installing p11-kit (0.24.1-r0) 20:47:12 (55/80) Installing libtasn1 (4.18.0-r0) 20:47:12 (56/80) Installing libunistring (1.0-r0) 20:47:13 (57/80) Installing gnutls (3.7.7-r0) 20:47:14 (58/80) Installing cups-libs (2.4.2-r0) 20:47:14 (59/80) Installing graphite2 (1.3.14-r1) 20:47:14 (60/80) Installing harfbuzz (4.3.0-r0) 20:47:15 (61/80) Installing libevdev (1.12.1-r0) 20:47:15 (62/80) Installing mtdev (1.1.6-r0) 20:47:15 (63/80) Installing eudev-libs (3.2.11-r0) 20:47:15 (64/80) Installing libinput-libs (1.20.1-r0) 20:47:16 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:47:16 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:47:17 (67/80) Installing xcb-util (0.4.0-r3) 20:47:17 (68/80) Installing xcb-util-image (0.4.0-r1) 20:47:17 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:47:17 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:47:18 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:47:18 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:47:18 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:47:19 (74/80) Installing v4l-utils (1.22.1-r1) 20:47:19 (75/80) Installing udev-init-scripts (35-r0) 20:47:20 Executing udev-init-scripts-35-r0.post-install 20:47:20 (76/80) Installing kmod-libs (29-r2) 20:47:20 (77/80) Installing eudev (3.2.11-r0) 20:47:20 (78/80) Installing eudev-dev (3.2.11-r0) 20:47:21 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:47:21 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:47:21 Executing busybox-1.35.0-r17.trigger 20:47:21 Executing eudev-3.2.11-r0.trigger 20:47:21 OK: 330 MiB in 131 packages 20:47:23 Removing intermediate container 0b9b21ff5137 20:47:23 ---> a7759ac2137a 20:47:23 Step 9/14 : WORKDIR /device-usb-camera 20:47:23 ---> Running in 470c0625bf36 20:47:23 Removing intermediate container 470c0625bf36 20:47:23 ---> 141744f6d07b 20:47:23 Step 10/14 : COPY go.mod vendor* ./ 20:47:23 ---> a4ab010947db 20:47:23 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:23 ---> Running in 65856e4b1252 20:47:45 Removing intermediate container 65856e4b1252 20:47:45 ---> d0d06d66920c 20:47:45 Step 12/14 : COPY . . 20:47:45 ---> 7e6e5bf9f9f3 20:47:45 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:47:45 ---> Running in 4a90acfa4080 20:47:45  % Total % Received % Xferd Average Speed Time Time Time Current 20:47:45 Dload Upload Total Spent Left Speed 20:47:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11123 0 --:--:-- --:--:-- --:--:-- 11178 20:47:45 Removing intermediate container 4a90acfa4080 20:47:45 ---> c7d28ce9e9b6 20:47:45 Step 14/14 : RUN ${MAKE} 20:47:45 ---> Running in 9fc45f728283 20:47:45 noop 20:47:45 Removing intermediate container 9fc45f728283 20:47:45 ---> aa8cfa2dfd42 20:47:45 Successfully built aa8cfa2dfd42 20:47:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:46 + docker inspect -f . ci-base-image-x86_64 20:47:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:46 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 20:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:47:46 $ docker top 63145d2b96d126e1b3fd50b1fbebc94bf773d32433a0c1a896bf7bb7be84603c -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:46 + go version 20:47:46 go version go1.18.7 linux/amd64 [Pipeline] } 20:47:46 $ docker stop --time=1 63145d2b96d126e1b3fd50b1fbebc94bf773d32433a0c1a896bf7bb7be84603c 20:47:48 $ docker rm -f 63145d2b96d126e1b3fd50b1fbebc94bf773d32433a0c1a896bf7bb7be84603c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:48 + docker inspect -f . ci-base-image-x86_64 20:47:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:48 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 20:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:47:49 $ docker top b90acad11745d1828a92dc33e509e9a15e27ec7baf8fc441c2bdf7acf2205b01 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:49 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:47:49 + make test 20:47:49 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:47:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:48:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:48:00 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 20:48:08 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." 20:48:08 CGO_ENABLED=1 go vet ./... 20:48:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:48:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:48:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:48:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:48:10 $ docker stop --time=1 b90acad11745d1828a92dc33e509e9a15e27ec7baf8fc441c2bdf7acf2205b01 20:48:11 $ docker rm -f b90acad11745d1828a92dc33e509e9a15e27ec7baf8fc441c2bdf7acf2205b01 [Pipeline] // withDockerContainer [Pipeline] sh 20:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:48:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:48:13 + ls -al . 20:48:13 total 204 20:48:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:47 . 20:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:46 .. 20:48:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:48 .git 20:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:46 .github 20:48:13 -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 20:46 .gitignore 20:48:13 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 20:46 .golangci.yml 20:48:13 -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 20:46 .hadolint.yml 20:48:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:46 .semver 20:48:13 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 20:46 Attribution.txt 20:48:13 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 20:46 CHANGELOG.md 20:48:13 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 20:46 Dockerfile 20:48:13 -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 20:46 GOVERNANCE.md 20:48:13 -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 20:46 Jenkinsfile 20:48:13 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 20:46 LICENSE 20:48:13 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 20:46 Makefile 20:48:13 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 20:46 OWNERS.md 20:48:13 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 20:46 README.md 20:48:13 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 20:46 VERSION 20:48:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:46 bin 20:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:46 cmd 20:48:13 -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 20:47 coverage.out 20:48:13 -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 20:46 docker-entrypoint.sh 20:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:46 docs 20:48:13 -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 20:46 go.mod 20:48:13 -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 20:46 go.sum 20:48:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:46 internal 20:48:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:46 snap 20:48:13 -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 20:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:13 + 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=cd08d416618cedf6394f2b45eea8eb763bae3217 --label arch=amd64 --label version=2.3.0-dev.18 . 20:48:13 Sending build context to Docker daemon 1.574MB 20:48:13 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 20:48:13 Step 2/36 : FROM ${BASE} AS builder 20:48:13 ---> aa8cfa2dfd42 20:48:13 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:48:13 ---> Running in 84f3ea8cf942 20:48:13 Removing intermediate container 84f3ea8cf942 20:48:13 ---> 115598b4d162 20:48:13 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:13 ---> Running in a0c73d4f77cc 20:48:13 Removing intermediate container a0c73d4f77cc 20:48:13 ---> 662518d442fd 20:48:13 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:48:13 ---> Running in 2e2450a27e9d 20:48:13 Removing intermediate container 2e2450a27e9d 20:48:13 ---> 4dbb0a260ada 20:48:13 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:48:13 ---> Running in a96df4d6392c 20:48:14 Removing intermediate container a96df4d6392c 20:48:14 ---> 06d0a3ce0a11 20:48:14 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:48:14 ---> Running in 76c047ea6316 20:48:14 Removing intermediate container 76c047ea6316 20:48:14 ---> 13b7ef427a08 20:48:14 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:48:14 ---> Running in 3dd0175d43fc 20:48:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:48:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:48:16 OK: 330 MiB in 131 packages 20:48:16 Removing intermediate container 3dd0175d43fc 20:48:16 ---> e3a810e77fac 20:48:16 Step 9/36 : WORKDIR /device-usb-camera 20:48:16 ---> Running in 456990f16ab8 20:48:16 Removing intermediate container 456990f16ab8 20:48:16 ---> 169b1f916cba 20:48:16 Step 10/36 : COPY go.mod vendor* ./ 20:48:16 ---> 8e6d6f395b34 20:48:16 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:16 ---> Running in 47be59192f0c 20:48:17 Removing intermediate container 47be59192f0c 20:48:17 ---> b762617ef1f8 20:48:17 Step 12/36 : COPY . . 20:48:17 ---> 50f4690e046f 20:48:17 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:48:17 ---> Running in ff5ec95ed57c 20:48:17  % Total % Received % Xferd Average Speed Time  Time Time Current 20:48:17 Dload Upload Total Spent Left Speed 20:48:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 40827 0 --:--:-- --:--:-- --:--:-- 42480 20:48:18 Removing intermediate container ff5ec95ed57c 20:48:18 ---> f6d7fb023b52 20:48:18 Step 14/36 : RUN ${MAKE} 20:48:18 ---> Running in 29af0a0a2160 20:48:18 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:48:40 Removing intermediate container 29af0a0a2160 20:48:40 ---> 52014b3a867a 20:48:40 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:48:40 v0.18.4: Pulling from aler9/rtsp-simple-server 20:48:40 af6660deedbd: Pulling fs layer 20:48:40 97cd0a44c592: Pulling fs layer 20:48:40 97cd0a44c592: Download complete 20:48:40 af6660deedbd: Download complete 20:48:40 af6660deedbd: Pull complete 20:48:40 97cd0a44c592: Pull complete 20:48:40 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:48:40 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:48:40 ---> fea57e182299 20:48:40 Step 16/36 : FROM alpine:3.16 20:48:40 3.16: Pulling from library/alpine 20:48:40 213ec9aee27d: Already exists 20:48:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:48:40 Status: Downloaded newer image for alpine:3.16 20:48:40 ---> 9c6f07244728 20:48:40 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:48:40 ---> Running in 264c1b3b6021 20:48:40 Removing intermediate container 264c1b3b6021 20:48:40 ---> 230f119a2c9d 20:48:40 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:48:40 ---> Running in 643cb088594e 20:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:48:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:48:40 (1/83) Installing dumb-init (1.2.5-r1) 20:48:40 (2/83) Installing sdl2 (2.0.22-r0) 20:48:40 (3/83) Installing libxau (1.0.9-r0) 20:48:40 (4/83) Installing libxdmcp (1.1.3-r0) 20:48:40 (5/83) Installing libxcb (1.15-r0) 20:48:40 (6/83) Installing libx11 (1.8-r0) 20:48:40 (7/83) Installing aom-libs (3.3.0-r0) 20:48:40 (8/83) Installing alsa-lib (1.2.7.2-r0) 20:48:40 (9/83) Installing expat (2.5.0-r0) 20:48:40 (10/83) Installing brotli-libs (1.0.9-r6) 20:48:40 (11/83) Installing libbz2 (1.0.8-r1) 20:48:40 (12/83) Installing libpng (1.6.37-r1) 20:48:40 (13/83) Installing freetype (2.12.1-r0) 20:48:40 (14/83) Installing fontconfig (2.14.0-r0) 20:48:40 (15/83) Installing fribidi (1.0.12-r0) 20:48:40 (16/83) Installing libffi (3.4.2-r1) 20:48:40 (17/83) Installing libintl (0.21-r2) 20:48:40 (18/83) Installing libblkid (2.38-r1) 20:48:40 (19/83) Installing libmount (2.38-r1) 20:48:40 (20/83) Installing pcre (8.45-r2) 20:48:40 (21/83) Installing glib (2.72.1-r0) 20:48:40 (22/83) Installing graphite2 (1.3.14-r1) 20:48:40 (23/83) Installing harfbuzz (4.3.0-r0) 20:48:40 (24/83) Installing libass (0.16.0-r0) 20:48:40 (25/83) Installing libdav1d (1.0.0-r0) 20:48:40 (26/83) Installing libpciaccess (0.16-r0) 20:48:40 (27/83) Installing libdrm (2.4.110-r0) 20:48:40 (28/83) Installing gmp (6.2.1-r2) 20:48:40 (29/83) Installing nettle (3.7.3-r0) 20:48:40 (30/83) Installing p11-kit (0.24.1-r0) 20:48:40 (31/83) Installing libtasn1 (4.18.0-r0) 20:48:40 (32/83) Installing libunistring (1.0-r0) 20:48:40 (33/83) Installing gnutls (3.7.7-r0) 20:48:40 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:48:40 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 20:48:40 (36/83) Installing lame (3.100-r0) 20:48:40 (37/83) Installing opus (1.3.1-r1) 20:48:40 (38/83) Installing libasyncns (0.8-r1) 20:48:40 (39/83) Installing dbus-libs (1.14.4-r0) 20:48:40 (40/83) Installing libltdl (2.4.7-r0) 20:48:40 (41/83) Installing orc (0.4.32-r0) 20:48:40 (42/83) Installing libgcc (11.2.1_git20220219-r2) 20:48:40 (43/83) Installing libogg (1.3.5-r1) 20:48:40 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 20:48:40 (45/83) Installing flac (1.3.4-r0) 20:48:40 (46/83) Installing libvorbis (1.3.7-r0) 20:48:40 (47/83) Installing libsndfile (1.1.0-r0) 20:48:40 (48/83) Installing libgomp (11.2.1_git20220219-r2) 20:48:40 (49/83) Installing soxr (0.1.3-r2) 20:48:40 (50/83) Installing speexdsp (1.2.0-r0) 20:48:40 (51/83) Installing tdb-libs (1.4.6-r0) 20:48:40 (52/83) Installing libpulse (15.0-r2) 20:48:40 (53/83) Installing cjson (1.7.15-r3) 20:48:41 (54/83) Installing mbedtls (2.28.1-r0) 20:48:41 (55/83) Installing librist (0.2.6-r1) 20:48:41 (56/83) Installing libsrt (1.4.4-r0) 20:48:41 (57/83) Installing libssh (0.9.6-r1) 20:48:41 (58/83) Installing libtheora (1.1.1-r16) 20:48:41 (59/83) Installing libjpeg-turbo (2.1.3-r1) 20:48:41 (60/83) Installing v4l-utils-libs (1.22.1-r1) 20:48:41 (61/83) Installing libxext (1.3.4-r0) 20:48:41 (62/83) Installing libxfixes (6.0.0-r0) 20:48:41 (63/83) Installing wayland-libs-client (1.20.0-r0) 20:48:41 (64/83) Installing libva (2.14.0-r0) 20:48:41 (65/83) Installing libvdpau (1.5-r0) 20:48:41 (66/83) Installing vidstab (1.1.0-r1) 20:48:41 (67/83) Installing libvpx (1.11.0-r1) 20:48:41 (68/83) Installing libwebp (1.2.3-r0) 20:48:41 (69/83) Installing x264-libs (0.163_git20210613-r0) 20:48:41 (70/83) Installing numactl (2.0.14-r0) 20:48:41 (71/83) Installing x265-libs (3.5-r3) 20:48:41 (72/83) Installing xvidcore (1.3.7-r1) 20:48:41 (73/83) Installing ffmpeg-libs (5.0.1-r1) 20:48:41 (74/83) Installing ffmpeg (5.0.1-r1) 20:48:41 (75/83) Installing udev-init-scripts (35-r0) 20:48:41 Executing udev-init-scripts-35-r0.post-install 20:48:41 (76/83) Installing eudev-libs (3.2.11-r0) 20:48:41 (77/83) Installing xz-libs (5.2.5-r1) 20:48:41 (78/83) Installing zstd-libs (1.5.2-r1) 20:48:41 (79/83) Installing kmod-libs (29-r2) 20:48:41 (80/83) Installing eudev (3.2.11-r0) 20:48:41 (81/83) Installing libsodium (1.0.18-r0) 20:48:41 (82/83) Installing libzmq (4.3.4-r0) 20:48:41 (83/83) Installing zeromq (4.3.4-r0) 20:48:41 Executing busybox-1.35.0-r17.trigger 20:48:41 Executing eudev-3.2.11-r0.trigger 20:48:41 OK: 101 MiB in 97 packages 20:48:43 Removing intermediate container 643cb088594e 20:48:43 ---> 13efc6aedbf4 20:48:43 Step 19/36 : WORKDIR / 20:48:43 ---> Running in b9f41fbfe5d6 20:48:43 Removing intermediate container b9f41fbfe5d6 20:48:43 ---> bdbc034233cf 20:48:43 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 20:48:43 ---> 30e7702d9490 20:48:43 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:48:43 ---> 0c1e6c0c4552 20:48:43 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:48:43 ---> ce4d0fcf2bb3 20:48:43 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:48:44 ---> c091deebd718 20:48:44 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:48:44 ---> 781cd0ae81d3 20:48:44 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:48:44 ---> df22bb0949bc 20:48:44 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 20:48:44 ---> 5fb6032cb151 20:48:44 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:48:44 ---> Running in baa11009349a 20:48:45 Removing intermediate container baa11009349a 20:48:45 ---> c396b24a1621 20:48:45 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:48:45 ---> Running in b41d9523ee19 20:48:46 Removing intermediate container b41d9523ee19 20:48:46 ---> c9e83033ad6f 20:48:46 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:48:46 ---> Running in 1c96ebf599ef 20:48:46 Removing intermediate container 1c96ebf599ef 20:48:46 ---> 9f1be3b7efa1 20:48:46 Step 30/36 : EXPOSE 59983 20:48:46 ---> Running in 977a71f0c08d 20:48:46 Removing intermediate container 977a71f0c08d 20:48:46 ---> 0cb225a64594 20:48:46 Step 31/36 : EXPOSE 8554 20:48:46 ---> Running in 76600ca7c401 20:48:46 Removing intermediate container 76600ca7c401 20:48:46 ---> c993d7bd6c42 20:48:46 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:48:46 ---> Running in c70e03353e66 20:48:46 Removing intermediate container c70e03353e66 20:48:46 ---> 2bd23374f272 20:48:46 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:48:46 ---> Running in 14c39d25f892 20:48:46 Removing intermediate container 14c39d25f892 20:48:46 ---> 3684db877a4d 20:48:46 Step 34/36 : LABEL arch=amd64 20:48:46 ---> Running in 66e0cb39b777 20:48:47 Removing intermediate container 66e0cb39b777 20:48:47 ---> 78e949b5ac4c 20:48:47 Step 35/36 : LABEL git_sha=cd08d416618cedf6394f2b45eea8eb763bae3217 20:48:47 ---> Running in 5cef63528800 20:48:47 Removing intermediate container 5cef63528800 20:48:47 ---> 943f998f988f 20:48:47 Step 36/36 : LABEL version=2.3.0-dev.18 20:48:47 ---> Running in da763fb5d39c 20:48:47 Removing intermediate container da763fb5d39c 20:48:47 ---> 3307e7d07425 20:48:47 [Warning] One or more build-args [ARCH] were not consumed 20:48:47 Successfully built 3307e7d07425 20:48:47 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 20:48:47 provisioning config files... 20:48:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1684655526280747164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:47 ---> docker-login.sh 20:48:47 nexus3.edgexfoundry.org:10001 20:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:47 Configure a credential helper to remove this warning. See 20:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:47 20:48:47 Login Succeeded 20:48:47 nexus3.edgexfoundry.org:10002 20:48:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:47 Configure a credential helper to remove this warning. See 20:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:47 20:48:47 Login Succeeded 20:48:47 nexus3.edgexfoundry.org:10003 20:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:48 Configure a credential helper to remove this warning. See 20:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:48 20:48:48 Login Succeeded 20:48:48 nexus3.edgexfoundry.org:10004 20:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:48 Configure a credential helper to remove this warning. See 20:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:48 20:48:48 Login Succeeded 20:48:48 docker.io 20:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:48 Configure a credential helper to remove this warning. See 20:48:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:48 20:48:48 Login Succeeded 20:48:48 ---> docker-login.sh ends [Pipeline] } 20:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:48 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:48:48 cd08d416618cedf6394f2b45eea8eb763bae3217 20:48:48 latest 20:48:48 2.3.0-dev.18 20:48:48 cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:48:48 main 20:48:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:49 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217 20:48:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:48:49 fb05008e8149: Preparing 20:48:49 a7d03e12f33b: Preparing 20:48:49 cc6492cf73b2: Preparing 20:48:49 550e596c6d0e: Preparing 20:48:49 1207169bf42c: Preparing 20:48:49 c9f8785e2b5d: Preparing 20:48:49 42bcbbcd1171: Preparing 20:48:49 1f6da271dede: Preparing 20:48:49 9acdd195e01f: Preparing 20:48:49 eda08b2b1e16: Preparing 20:48:49 c1f69f7d08dc: Preparing 20:48:49 994393dc58e7: Preparing 20:48:49 1f6da271dede: Waiting 20:48:49 42bcbbcd1171: Waiting 20:48:49 9acdd195e01f: Waiting 20:48:49 eda08b2b1e16: Waiting 20:48:49 c1f69f7d08dc: Waiting 20:48:49 994393dc58e7: Waiting 20:48:49 c9f8785e2b5d: Waiting 20:48:49 cc6492cf73b2: Pushed 20:48:49 1207169bf42c: Pushed 20:48:49 fb05008e8149: Pushed 20:48:49 a7d03e12f33b: Pushed 20:48:49 c9f8785e2b5d: Pushed 20:48:49 42bcbbcd1171: Pushed 20:48:49 9acdd195e01f: Pushed 20:48:49 1f6da271dede: Pushed 20:48:49 994393dc58e7: Layer already exists 20:48:51 550e596c6d0e: Pushed 20:48:52 eda08b2b1e16: Pushed 20:48:58 c1f69f7d08dc: Pushed 20:48:58 cd08d416618cedf6394f2b45eea8eb763bae3217: digest: sha256:f6bf5efe86359c6bd67c2b8dec74d74c832f364449aa5991f33c91dcb20e6c87 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:58 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:48:59 fb05008e8149: Preparing 20:48:59 a7d03e12f33b: Preparing 20:48:59 cc6492cf73b2: Preparing 20:48:59 550e596c6d0e: Preparing 20:48:59 1207169bf42c: Preparing 20:48:59 c9f8785e2b5d: Preparing 20:48:59 42bcbbcd1171: Preparing 20:48:59 1f6da271dede: Preparing 20:48:59 9acdd195e01f: Preparing 20:48:59 eda08b2b1e16: Preparing 20:48:59 c1f69f7d08dc: Preparing 20:48:59 994393dc58e7: Preparing 20:48:59 42bcbbcd1171: Waiting 20:48:59 1f6da271dede: Waiting 20:48:59 9acdd195e01f: Waiting 20:48:59 eda08b2b1e16: Waiting 20:48:59 994393dc58e7: Waiting 20:48:59 c1f69f7d08dc: Waiting 20:48:59 c9f8785e2b5d: Waiting 20:48:59 cc6492cf73b2: Layer already exists 20:48:59 fb05008e8149: Layer already exists 20:48:59 550e596c6d0e: Layer already exists 20:48:59 a7d03e12f33b: Layer already exists 20:48:59 1207169bf42c: Layer already exists 20:48:59 c9f8785e2b5d: Layer already exists 20:48:59 1f6da271dede: Layer already exists 20:48:59 42bcbbcd1171: Layer already exists 20:48:59 eda08b2b1e16: Layer already exists 20:48:59 9acdd195e01f: Layer already exists 20:48:59 994393dc58e7: Layer already exists 20:48:59 c1f69f7d08dc: Layer already exists 20:48:59 latest: digest: sha256:f6bf5efe86359c6bd67c2b8dec74d74c832f364449aa5991f33c91dcb20e6c87 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:59 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.18 20:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:48:59 fb05008e8149: Preparing 20:48:59 a7d03e12f33b: Preparing 20:48:59 cc6492cf73b2: Preparing 20:48:59 550e596c6d0e: Preparing 20:48:59 1207169bf42c: Preparing 20:48:59 c9f8785e2b5d: Preparing 20:48:59 42bcbbcd1171: Preparing 20:48:59 1f6da271dede: Preparing 20:48:59 9acdd195e01f: Preparing 20:48:59 eda08b2b1e16: Preparing 20:48:59 c1f69f7d08dc: Preparing 20:48:59 994393dc58e7: Preparing 20:48:59 42bcbbcd1171: Waiting 20:48:59 eda08b2b1e16: Waiting 20:48:59 c1f69f7d08dc: Waiting 20:48:59 994393dc58e7: Waiting 20:48:59 1f6da271dede: Waiting 20:48:59 9acdd195e01f: Waiting 20:48:59 c9f8785e2b5d: Waiting 20:48:59 550e596c6d0e: Layer already exists 20:48:59 cc6492cf73b2: Layer already exists 20:48:59 a7d03e12f33b: Layer already exists 20:48:59 fb05008e8149: Layer already exists 20:48:59 1207169bf42c: Layer already exists 20:48:59 42bcbbcd1171: Layer already exists 20:48:59 c9f8785e2b5d: Layer already exists 20:48:59 1f6da271dede: Layer already exists 20:48:59 eda08b2b1e16: Layer already exists 20:48:59 9acdd195e01f: Layer already exists 20:48:59 c1f69f7d08dc: Layer already exists 20:48:59 994393dc58e7: Layer already exists 20:48:59 2.3.0-dev.18: digest: sha256:f6bf5efe86359c6bd67c2b8dec74d74c832f364449aa5991f33c91dcb20e6c87 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:00 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:49:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:49:00 fb05008e8149: Preparing 20:49:00 a7d03e12f33b: Preparing 20:49:00 cc6492cf73b2: Preparing 20:49:00 550e596c6d0e: Preparing 20:49:00 1207169bf42c: Preparing 20:49:00 c9f8785e2b5d: Preparing 20:49:00 42bcbbcd1171: Preparing 20:49:00 1f6da271dede: Preparing 20:49:00 c9f8785e2b5d: Waiting 20:49:00 9acdd195e01f: Preparing 20:49:00 eda08b2b1e16: Preparing 20:49:00 42bcbbcd1171: Waiting 20:49:00 9acdd195e01f: Waiting 20:49:00 1f6da271dede: Waiting 20:49:00 c1f69f7d08dc: Preparing 20:49:00 eda08b2b1e16: Waiting 20:49:00 994393dc58e7: Preparing 20:49:00 994393dc58e7: Waiting 20:49:00 c1f69f7d08dc: Waiting 20:49:00 550e596c6d0e: Layer already exists 20:49:00 cc6492cf73b2: Layer already exists 20:49:00 fb05008e8149: Layer already exists 20:49:00 1207169bf42c: Layer already exists 20:49:00 a7d03e12f33b: Layer already exists 20:49:00 c9f8785e2b5d: Layer already exists 20:49:00 1f6da271dede: Layer already exists 20:49:00 eda08b2b1e16: Layer already exists 20:49:00 42bcbbcd1171: Layer already exists 20:49:00 9acdd195e01f: Layer already exists 20:49:00 c1f69f7d08dc: Layer already exists 20:49:00 994393dc58e7: Layer already exists 20:49:00 cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18: digest: sha256:f6bf5efe86359c6bd67c2b8dec74d74c832f364449aa5991f33c91dcb20e6c87 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:00 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:01 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:49:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:49:01 fb05008e8149: Preparing 20:49:01 a7d03e12f33b: Preparing 20:49:01 cc6492cf73b2: Preparing 20:49:01 550e596c6d0e: Preparing 20:49:01 1207169bf42c: Preparing 20:49:01 c9f8785e2b5d: Preparing 20:49:01 42bcbbcd1171: Preparing 20:49:01 1f6da271dede: Preparing 20:49:01 9acdd195e01f: Preparing 20:49:01 eda08b2b1e16: Preparing 20:49:01 c1f69f7d08dc: Preparing 20:49:01 994393dc58e7: Preparing 20:49:01 c9f8785e2b5d: Waiting 20:49:01 9acdd195e01f: Waiting 20:49:01 42bcbbcd1171: Waiting 20:49:01 eda08b2b1e16: Waiting 20:49:01 1f6da271dede: Waiting 20:49:01 c1f69f7d08dc: Waiting 20:49:01 994393dc58e7: Waiting 20:49:01 550e596c6d0e: Layer already exists 20:49:01 cc6492cf73b2: Layer already exists 20:49:01 1207169bf42c: Layer already exists 20:49:01 fb05008e8149: Layer already exists 20:49:01 a7d03e12f33b: Layer already exists 20:49:01 42bcbbcd1171: Layer already exists 20:49:01 1f6da271dede: Layer already exists 20:49:01 9acdd195e01f: Layer already exists 20:49:01 c9f8785e2b5d: Layer already exists 20:49:01 eda08b2b1e16: Layer already exists 20:49:01 994393dc58e7: Layer already exists 20:49:01 c1f69f7d08dc: Layer already exists 20:49:01 main: digest: sha256:f6bf5efe86359c6bd67c2b8dec74d74c832f364449aa5991f33c91dcb20e6c87 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:49:01 ===================================================== [Pipeline] echo 20:49:01 taggedImages: 20:49:01 - nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217 20:49:01 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:49:01 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.18 20:49:01 - nexus3.edgexfoundry.org:10004/device-usb-camera:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:49:01 - 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 20:49:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:01 20:49:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:01 latest: Pulling from edgex-lftools-log-publisher 20:49:01 5eb5b503b376: Pulling fs layer 20:49:01 5c69ac0246d0: Pulling fs layer 20:49:01 ec43610c2a17: Pulling fs layer 20:49:01 3a2ae6a8a46f: Pulling fs layer 20:49:01 33b1e0a273af: Pulling fs layer 20:49:01 5d3b04190fa2: Pulling fs layer 20:49:01 2f39f015ded8: Pulling fs layer 20:49:01 3a2ae6a8a46f: Waiting 20:49:01 33b1e0a273af: Waiting 20:49:01 2f39f015ded8: Waiting 20:49:01 5d3b04190fa2: Waiting 20:49:01 5c69ac0246d0: Download complete 20:49:01 3a2ae6a8a46f: Download complete 20:49:01 33b1e0a273af: Verifying Checksum 20:49:01 33b1e0a273af: Download complete 20:49:02 ec43610c2a17: Verifying Checksum 20:49:02 ec43610c2a17: Download complete 20:49:02 5d3b04190fa2: Verifying Checksum 20:49:02 5d3b04190fa2: Download complete 20:49:02 5eb5b503b376: Verifying Checksum 20:49:02 5eb5b503b376: Download complete 20:49:02 2f39f015ded8: Download complete 20:49:03 5eb5b503b376: Pull complete 20:49:03 5c69ac0246d0: Pull complete 20:49:03 ec43610c2a17: Pull complete 20:49:03 3a2ae6a8a46f: Pull complete 20:49:03 33b1e0a273af: Pull complete 20:49:04 5d3b04190fa2: Pull complete 20:49:08 2f39f015ded8: Pull complete 20:49:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:08 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 20:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:49:10 $ docker top e18d4b7c5ce3b2aa383078ac3fa55309c92c895d6646365ba605cd2b6265a1ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:10 ---> job-cost.sh 20:49:10 lf-activate-venv: SKIPPING 20:49:10 INFO: No Stack... 20:49:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:49:11 INFO: Archiving Costs [Pipeline] sh 20:49:11 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 20:49:11 + cut -d, -f6 [Pipeline] lock 20:49:11 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] 20:49:11 Resource [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] did not exist. Created. 20:49:11 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:49:11 + echo total: 0.2199999988079071 [Pipeline] stash 20:49:11 Stashed 1 file(s) [Pipeline] } 20:49:12 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 20:49:12 $ docker stop --time=1 e18d4b7c5ce3b2aa383078ac3fa55309c92c895d6646365ba605cd2b6265a1ba 20:49:13 $ docker rm -f e18d4b7c5ce3b2aa383078ac3fa55309c92c895d6646365ba605cd2b6265a1ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:51:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116987 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:51:00 Running in /w/workspace/device-usb-camera/59 [Pipeline] { [Pipeline] checkout 20:51:00 Selected Git installation does not exist. Using Default 20:51:00 The recommended git tool is: NONE 20:51:06 using credential edgex-jenkins-ssh 20:51:06 Cloning the remote Git repository 20:51:06 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:51:06 > git init /w/workspace/device-usb-camera/59 # timeout=10 20:51:06 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:51:06 > git --version # timeout=10 20:51:06 > git --version # 'git version 2.25.1' 20:51:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:06 Verifying host key using known hosts file 20:51:07 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. 20:51:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:07 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:51:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:08 Avoid second fetch 20:51:08 Checking out Revision cd08d416618cedf6394f2b45eea8eb763bae3217 (main) 20:51:09 Commit message: "Merge pull request #107 from hahattan/update-topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:08 > git config core.sparsecheckout # timeout=10 20:51:08 > git checkout -f cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 20:51:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:51:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:10 Dload Upload Total Spent Left Speed 20:51:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80782 0 --:--:-- --:--:-- --:--:-- 81303 [Pipeline] sh 20:51:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:51:11 + sudo tee /etc/docker/daemon.new 20:51:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:51:11 { 20:51:11 "registry-mirrors": [ 20:51:11 "https://nexus3.edgexfoundry.org:10001" 20:51:11 ], 20:51:11 "bip": "10.250.0.254/24", 20:51:11 "hosts": [ 20:51:11 "tcp://0.0.0.0:5555", 20:51:11 "unix:///var/run/docker.sock" 20:51:11 ], 20:51:11 "mtu": 1458, 20:51:11 "selinux-enabled": true, 20:51:11 "seccomp-profile": "/etc/docker/seccomp.json" 20:51:11 } [Pipeline] sh 20:51:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:51:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:30 provisioning config files... 20:51:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/59@tmp/config11776788597817589062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:30 ---> docker-login.sh 20:51:30 nexus3.edgexfoundry.org:10001 20:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:31 Configure a credential helper to remove this warning. See 20:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:31 20:51:31 Login Succeeded 20:51:31 nexus3.edgexfoundry.org:10002 20:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:31 Configure a credential helper to remove this warning. See 20:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:31 20:51:31 Login Succeeded 20:51:31 nexus3.edgexfoundry.org:10003 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 nexus3.edgexfoundry.org:10004 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:32 Configure a credential helper to remove this warning. See 20:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:32 20:51:32 Login Succeeded 20:51:32 docker.io 20:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:33 Configure a credential helper to remove this warning. See 20:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:33 20:51:33 Login Succeeded 20:51:33 ---> docker-login.sh ends [Pipeline] } 20:51:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:33 ========================================================= 20:51:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:51:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:33 + 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 . 20:51:34 Sending build context to Docker daemon 1.015MB 20:51:34 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:51:34 Step 2/14 : FROM ${BASE} AS builder 20:51:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:51:34 9b18e9b68314: Pulling fs layer 20:51:34 d32db5db7311: Pulling fs layer 20:51:34 d0c4b47475fc: Pulling fs layer 20:51:34 5831b945b038: Pulling fs layer 20:51:34 86bbec2aaacd: Pulling fs layer 20:51:34 e10730c5d714: Pulling fs layer 20:51:34 5dd5c2283517: Pulling fs layer 20:51:34 d5ac0230b979: Pulling fs layer 20:51:34 86bbec2aaacd: Waiting 20:51:34 e10730c5d714: Waiting 20:51:34 5dd5c2283517: Waiting 20:51:34 5831b945b038: Waiting 20:51:34 d5ac0230b979: Waiting 20:51:34 d0c4b47475fc: Download complete 20:51:34 d32db5db7311: Verifying Checksum 20:51:34 d32db5db7311: Download complete 20:51:34 86bbec2aaacd: Download complete 20:51:34 e10730c5d714: Verifying Checksum 20:51:34 e10730c5d714: Download complete 20:51:34 9b18e9b68314: Verifying Checksum 20:51:35 9b18e9b68314: Pull complete 20:51:35 d5ac0230b979: Verifying Checksum 20:51:35 d5ac0230b979: Download complete 20:51:35 d32db5db7311: Pull complete 20:51:36 d0c4b47475fc: Pull complete 20:51:36 5dd5c2283517: Verifying Checksum 20:51:36 5dd5c2283517: Download complete 20:51:37 5831b945b038: Verifying Checksum 20:51:37 5831b945b038: Download complete 20:51:49 5831b945b038: Pull complete 20:51:49 86bbec2aaacd: Pull complete 20:51:49 e10730c5d714: Pull complete 20:51:56 5dd5c2283517: Pull complete 20:51:57 d5ac0230b979: Pull complete 20:51:58 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:51:58 ---> 59b3b1a385d4 20:51:58 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:51:59 ---> Running in b46d0f199e9e 20:52:00 Removing intermediate container b46d0f199e9e 20:52:00 ---> 4b62b8f0fb3a 20:52:00 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:00 ---> Running in 2a9203335eb3 20:52:00 Removing intermediate container 2a9203335eb3 20:52:00 ---> fdffc62471d5 20:52:00 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:52:00 ---> Running in ad729eae950e 20:52:01 Removing intermediate container ad729eae950e 20:52:01 ---> f241f99355a0 20:52:01 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:52:01 ---> Running in 4806f4750311 20:52:01 Removing intermediate container 4806f4750311 20:52:01 ---> bfb05efb58ad 20:52:01 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:52:01 ---> Running in fb68adcaaced 20:52:03 Removing intermediate container fb68adcaaced 20:52:03 ---> 20d21e37f99b 20:52:03 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:03 ---> Running in c6f8bfc79382 20:52:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:52:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:52:07 (1/14) Installing libintl (0.21-r2) 20:52:07 (2/14) Installing eudev-libs (3.2.11-r0) 20:52:08 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:52:08 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:52:09 (5/14) Installing v4l-utils (1.22.1-r1) 20:52:09 (6/14) Installing udev-init-scripts (35-r0) 20:52:09 Executing udev-init-scripts-35-r0.post-install 20:52:09 (7/14) Installing libblkid (2.38-r1) 20:52:10 (8/14) Installing xz-libs (5.2.5-r1) 20:52:10 (9/14) Installing zstd-libs (1.5.2-r1) 20:52:11 (10/14) Installing kmod-libs (29-r2) 20:52:11 (11/14) Installing eudev (3.2.11-r0) 20:52:12 (12/14) Installing eudev-dev (3.2.11-r0) 20:52:12 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:52:12 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:52:13 Executing busybox-1.35.0-r17.trigger 20:52:13 Executing eudev-3.2.11-r0.trigger 20:52:13 OK: 228 MiB in 65 packages 20:52:14 Removing intermediate container c6f8bfc79382 20:52:14 ---> 5e2d33ebf431 20:52:14 Step 9/14 : WORKDIR /device-usb-camera 20:52:14 ---> Running in be9cc99dd7cd 20:52:14 Removing intermediate container be9cc99dd7cd 20:52:14 ---> 6763daa57352 20:52:14 Step 10/14 : COPY go.mod vendor* ./ 20:52:15 ---> fed6683d5122 20:52:15 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:15 ---> Running in 55be42a81693 20:53:11 Removing intermediate container 55be42a81693 20:53:11 ---> a8b9b696e09e 20:53:11 Step 12/14 : COPY . . 20:53:12 ---> 54e1e08147e8 20:53:12 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:53:12 ---> Running in 8bd4d9e2227b 20:53:13  % Total % Received % Xferd Average Speed Time Time Time Current 20:53:13 Dload Upload Total Spent Left Speed 20:53:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7186 0 --:--:-- --:--:-- --:--:-- 7224 20:53:14 Removing intermediate container 8bd4d9e2227b 20:53:14 ---> 2bd5ea416ee9 20:53:14 Step 14/14 : RUN ${MAKE} 20:53:14 ---> Running in 1906c540fcb7 20:53:15 noop 20:53:16 Removing intermediate container 1906c540fcb7 20:53:16 ---> 8089ddc8b904 20:53:16 Successfully built 8089ddc8b904 20:53:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:16 + docker inspect -f . ci-base-image-arm64 20:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:16 prd-ubuntu20.04-docker-arm64-4c-16g-116987 does not seem to be running inside a container 20:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/59 -v /w/workspace/device-usb-camera/59:/w/workspace/device-usb-camera/59:rw,z -v /w/workspace/device-usb-camera/59@tmp:/w/workspace/device-usb-camera/59@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 20:53:17 $ docker top 8e706ecd55be408f2b4c208d193c2ae0bc24f85cdb1ec1e535db0a8f258267a6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:18 + go version 20:53:18 go version go1.18.7 linux/arm64 [Pipeline] } 20:53:18 $ docker stop --time=1 8e706ecd55be408f2b4c208d193c2ae0bc24f85cdb1ec1e535db0a8f258267a6 20:53:20 $ docker rm -f 8e706ecd55be408f2b4c208d193c2ae0bc24f85cdb1ec1e535db0a8f258267a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:20 + docker inspect -f . ci-base-image-arm64 20:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-116987 does not seem to be running inside a container 20:53:21 $ 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/59 -v /w/workspace/device-usb-camera/59:/w/workspace/device-usb-camera/59:rw,z -v /w/workspace/device-usb-camera/59@tmp:/w/workspace/device-usb-camera/59@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 20:53:22 $ docker top 7654ee0ea2a6119dbb92ea6839748b99af6d5d743e33037817c8e0197edbbdc5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:23 + git config --global --add safe.directory /w/workspace/device-usb-camera/59 [Pipeline] fileExists [Pipeline] sh 20:53:23 + make test 20:53:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:53:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:55:01 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:55:01 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.9% of statements 20:55:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:55:01 CGO_ENABLED=1 go vet ./... 20:55:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:28 ./bin/test-attribution-txt.sh [Pipeline] echo 20:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:55:28 $ docker stop --time=1 7654ee0ea2a6119dbb92ea6839748b99af6d5d743e33037817c8e0197edbbdc5 20:55:30 $ docker rm -f 7654ee0ea2a6119dbb92ea6839748b99af6d5d743e33037817c8e0197edbbdc5 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:31 Warning: overwriting stash ‘coverage-report’ 20:55:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:32 + ls -al . 20:55:32 total 200 20:55:32 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 20:53 . 20:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:51 .. 20:55:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:51 .git 20:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:51 .github 20:55:32 -rw-rw-r-- 1 jenkins jenkins 414 Oct 25 20:51 .gitignore 20:55:32 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 20:51 .golangci.yml 20:55:32 -rw-rw-r-- 1 jenkins jenkins 77 Oct 25 20:51 .hadolint.yml 20:55:32 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 25 20:51 Attribution.txt 20:55:32 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 25 20:51 CHANGELOG.md 20:55:32 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 25 20:51 Dockerfile 20:55:32 -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 20:51 GOVERNANCE.md 20:55:32 -rw-rw-r-- 1 jenkins jenkins 659 Oct 25 20:51 Jenkinsfile 20:55:32 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 20:51 LICENSE 20:55:32 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 25 20:51 Makefile 20:55:32 -rw-rw-r-- 1 jenkins jenkins 622 Oct 25 20:51 OWNERS.md 20:55:32 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 25 20:51 README.md 20:55:32 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 20:46 VERSION 20:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:51 bin 20:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:51 cmd 20:55:32 -rw-r--r-- 1 jenkins jenkins 29387 Oct 25 20:55 coverage.out 20:55:32 -rwxrwxr-x 1 jenkins jenkins 140 Oct 25 20:51 docker-entrypoint.sh 20:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:51 docs 20:55:32 -rw-rw-r-- 1 jenkins jenkins 3621 Oct 25 20:51 go.mod 20:55:32 -rw-rw-r-- 1 jenkins jenkins 45122 Oct 25 20:51 go.sum 20:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:51 internal 20:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:51 snap 20:55:32 -rw-rw-r-- 1 jenkins jenkins 231 Oct 25 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:33 + 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=cd08d416618cedf6394f2b45eea8eb763bae3217 --label arch=arm64 --label version=2.3.0-dev.18 . 20:55:33 Sending build context to Docker daemon 1.045MB 20:55:33 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 20:55:33 Step 2/36 : FROM ${BASE} AS builder 20:55:33 ---> 8089ddc8b904 20:55:33 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:55:33 ---> Running in e8c2088ebbcc 20:55:34 Removing intermediate container e8c2088ebbcc 20:55:34 ---> 744162484d8a 20:55:34 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:34 ---> Running in 3bae0c18d749 20:55:34 Removing intermediate container 3bae0c18d749 20:55:34 ---> caad13749f08 20:55:34 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:55:34 ---> Running in f397286b6fd8 20:55:35 Removing intermediate container f397286b6fd8 20:55:35 ---> 1d9c044ea7b8 20:55:35 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:55:35 ---> Running in 5191b0ea0e43 20:55:36 Removing intermediate container 5191b0ea0e43 20:55:36 ---> 31699e841119 20:55:36 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:36 ---> Running in 3e807629c878 20:55:38 Removing intermediate container 3e807629c878 20:55:38 ---> 61726989fcf3 20:55:38 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:38 ---> Running in 17a8015f2fa3 20:55:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:55:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:55:42 OK: 228 MiB in 65 packages 20:55:42 Removing intermediate container 17a8015f2fa3 20:55:42 ---> 48ac0bf81043 20:55:42 Step 9/36 : WORKDIR /device-usb-camera 20:55:42 ---> Running in 365437681b61 20:55:43 Removing intermediate container 365437681b61 20:55:43 ---> fa0cdd961ddc 20:55:43 Step 10/36 : COPY go.mod vendor* ./ 20:55:43 ---> ccf9fdf3589d 20:55:43 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:44 ---> Running in a21590c6a886 20:55:46 Removing intermediate container a21590c6a886 20:55:46 ---> 88a03d15b782 20:55:46 Step 12/36 : COPY . . 20:55:47 ---> 7bb739411c0e 20:55:47 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:55:47 ---> Running in fc1a760e4cca 20:55:48  % Total % Received % Xferd Average Speed Time Time Time Current 20:55:48 Dload Upload Total Spent Left Speed 20:55:48 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12656 0 --:--:-- --:--:-- --:--:-- 12795 20:55:49 Removing intermediate container fc1a760e4cca 20:55:49 ---> 13b1bbc325be 20:55:49 Step 14/36 : RUN ${MAKE} 20:55:49 ---> Running in 3c7cbbd2fd15 20:55:50 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:58:42 Removing intermediate container 3c7cbbd2fd15 20:58:42 ---> 460ed86ac001 20:58:42 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:58:42 v0.18.4: Pulling from aler9/rtsp-simple-server 20:58:42 eab2503cf8f4: Pulling fs layer 20:58:42 97cd0a44c592: Pulling fs layer 20:58:42 97cd0a44c592: Verifying Checksum 20:58:42 97cd0a44c592: Download complete 20:58:42 eab2503cf8f4: Verifying Checksum 20:58:42 eab2503cf8f4: Download complete 20:58:42 eab2503cf8f4: Pull complete 20:58:42 97cd0a44c592: Pull complete 20:58:42 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:58:42 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:58:42 ---> 7f763cca56b3 20:58:42 Step 16/36 : FROM alpine:3.16 20:58:42 3.16: Pulling from library/alpine 20:58:42 9b18e9b68314: Already exists 20:58:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:58:42 Status: Downloaded newer image for alpine:3.16 20:58:42 ---> a6215f271958 20:58:42 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:58:42 ---> Running in 6ecb9a16375d 20:58:42 Removing intermediate container 6ecb9a16375d 20:58:42 ---> 0b9660140b1c 20:58:42 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:58:42 ---> Running in ca5edad4647e 20:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:58:42 (1/82) Installing dumb-init (1.2.5-r1) 20:58:42 (2/82) Installing sdl2 (2.0.22-r0) 20:58:42 (3/82) Installing libxau (1.0.9-r0) 20:58:42 (4/82) Installing libxdmcp (1.1.3-r0) 20:58:42 (5/82) Installing libxcb (1.15-r0) 20:58:42 (6/82) Installing libx11 (1.8-r0) 20:58:42 (7/82) Installing aom-libs (3.3.0-r0) 20:58:42 (8/82) Installing alsa-lib (1.2.7.2-r0) 20:58:42 (9/82) Installing expat (2.5.0-r0) 20:58:42 (10/82) Installing brotli-libs (1.0.9-r6) 20:58:42 (11/82) Installing libbz2 (1.0.8-r1) 20:58:42 (12/82) Installing libpng (1.6.37-r1) 20:58:42 (13/82) Installing freetype (2.12.1-r0) 20:58:42 (14/82) Installing fontconfig (2.14.0-r0) 20:58:42 (15/82) Installing fribidi (1.0.12-r0) 20:58:42 (16/82) Installing libffi (3.4.2-r1) 20:58:42 (17/82) Installing libintl (0.21-r2) 20:58:42 (18/82) Installing libblkid (2.38-r1) 20:58:42 (19/82) Installing libmount (2.38-r1) 20:58:42 (20/82) Installing pcre (8.45-r2) 20:58:42 (21/82) Installing glib (2.72.1-r0) 20:58:42 (22/82) Installing graphite2 (1.3.14-r1) 20:58:42 (23/82) Installing harfbuzz (4.3.0-r0) 20:58:42 (24/82) Installing libass (0.16.0-r0) 20:58:42 (25/82) Installing libdav1d (1.0.0-r0) 20:58:42 (26/82) Installing libdrm (2.4.110-r0) 20:58:42 (27/82) Installing gmp (6.2.1-r2) 20:58:42 (28/82) Installing nettle (3.7.3-r0) 20:58:42 (29/82) Installing p11-kit (0.24.1-r0) 20:58:42 (30/82) Installing libtasn1 (4.18.0-r0) 20:58:42 (31/82) Installing libunistring (1.0-r0) 20:58:42 (32/82) Installing gnutls (3.7.7-r0) 20:58:42 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:58:42 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 20:58:42 (35/82) Installing lame (3.100-r0) 20:58:42 (36/82) Installing opus (1.3.1-r1) 20:58:42 (37/82) Installing libasyncns (0.8-r1) 20:58:42 (38/82) Installing dbus-libs (1.14.4-r0) 20:58:42 (39/82) Installing libltdl (2.4.7-r0) 20:58:42 (40/82) Installing orc (0.4.32-r0) 20:58:42 (41/82) Installing libgcc (11.2.1_git20220219-r2) 20:58:42 (42/82) Installing libogg (1.3.5-r1) 20:58:42 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 20:58:42 (44/82) Installing flac (1.3.4-r0) 20:58:42 (45/82) Installing libvorbis (1.3.7-r0) 20:58:42 (46/82) Installing libsndfile (1.1.0-r0) 20:58:42 (47/82) Installing libgomp (11.2.1_git20220219-r2) 20:58:42 (48/82) Installing soxr (0.1.3-r2) 20:58:42 (49/82) Installing speexdsp (1.2.0-r0) 20:58:42 (50/82) Installing tdb-libs (1.4.6-r0) 20:58:42 (51/82) Installing libpulse (15.0-r2) 20:58:42 (52/82) Installing cjson (1.7.15-r3) 20:58:42 (53/82) Installing mbedtls (2.28.1-r0) 20:58:42 (54/82) Installing librist (0.2.6-r1) 20:58:42 (55/82) Installing libsrt (1.4.4-r0) 20:58:42 (56/82) Installing libssh (0.9.6-r1) 20:58:42 (57/82) Installing libtheora (1.1.1-r16) 20:58:42 (58/82) Installing libjpeg-turbo (2.1.3-r1) 20:58:42 (59/82) Installing v4l-utils-libs (1.22.1-r1) 20:58:42 (60/82) Installing libxext (1.3.4-r0) 20:58:42 (61/82) Installing libxfixes (6.0.0-r0) 20:58:42 (62/82) Installing wayland-libs-client (1.20.0-r0) 20:58:42 (63/82) Installing libva (2.14.0-r0) 20:58:42 (64/82) Installing libvdpau (1.5-r0) 20:58:42 (65/82) Installing vidstab (1.1.0-r1) 20:58:42 (66/82) Installing libvpx (1.11.0-r1) 20:58:42 (67/82) Installing libwebp (1.2.3-r0) 20:58:42 (68/82) Installing x264-libs (0.163_git20210613-r0) 20:58:42 (69/82) Installing numactl (2.0.14-r0) 20:58:42 (70/82) Installing x265-libs (3.5-r3) 20:58:42 (71/82) Installing xvidcore (1.3.7-r1) 20:58:42 (72/82) Installing ffmpeg-libs (5.0.1-r1) 20:58:42 (73/82) Installing ffmpeg (5.0.1-r1) 20:58:42 (74/82) Installing udev-init-scripts (35-r0) 20:58:42 Executing udev-init-scripts-35-r0.post-install 20:58:42 (75/82) Installing eudev-libs (3.2.11-r0) 20:58:42 (76/82) Installing xz-libs (5.2.5-r1) 20:58:42 (77/82) Installing zstd-libs (1.5.2-r1) 20:58:42 (78/82) Installing kmod-libs (29-r2) 20:58:42 (79/82) Installing eudev (3.2.11-r0) 20:58:42 (80/82) Installing libsodium (1.0.18-r0) 20:58:42 (81/82) Installing libzmq (4.3.4-r0) 20:58:42 (82/82) Installing zeromq (4.3.4-r0) 20:58:42 Executing busybox-1.35.0-r17.trigger 20:58:42 Executing eudev-3.2.11-r0.trigger 20:58:42 OK: 78 MiB in 96 packages 20:58:45 Removing intermediate container ca5edad4647e 20:58:45 ---> 5e92a0710169 20:58:45 Step 19/36 : WORKDIR / 20:58:45 ---> Running in cf0a9fc6ccef 20:58:45 Removing intermediate container cf0a9fc6ccef 20:58:45 ---> 68e03af96ffe 20:58:45 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 20:58:47 ---> 01f39297c584 20:58:47 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:58:47 ---> 54ee490e8951 20:58:47 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:58:48 ---> d41f2d03cd88 20:58:48 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:58:48 ---> b28c834e30fa 20:58:48 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:58:49 ---> 69fe3be117a1 20:58:49 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:58:49 ---> 0dbca317a93a 20:58:49 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 20:58:51 ---> 61c04ec67828 20:58:51 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:58:51 ---> Running in 38877a7f27c8 20:58:53 Removing intermediate container 38877a7f27c8 20:58:53 ---> a03f71a93479 20:58:53 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:58:53 ---> Running in 434ce3d678fd 20:58:54 Removing intermediate container 434ce3d678fd 20:58:54 ---> f56e513dee4a 20:58:54 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:58:54 ---> Running in 0f88b8a05099 20:58:56 Removing intermediate container 0f88b8a05099 20:58:56 ---> 1345977a244d 20:58:56 Step 30/36 : EXPOSE 59983 20:58:56 ---> Running in 92757f7ce86a 20:58:57 Removing intermediate container 92757f7ce86a 20:58:57 ---> c203f4d00c37 20:58:57 Step 31/36 : EXPOSE 8554 20:58:57 ---> Running in cc458cafcd8f 20:58:57 Removing intermediate container cc458cafcd8f 20:58:57 ---> 05ec11b0d1e0 20:58:57 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:58:57 ---> Running in 6851e0efbffb 20:58:57 Removing intermediate container 6851e0efbffb 20:58:57 ---> 435780a17ad3 20:58:57 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:58:57 ---> Running in 9bc18cb10b4b 20:58:58 Removing intermediate container 9bc18cb10b4b 20:58:58 ---> 194d2acbbd1f 20:58:58 Step 34/36 : LABEL arch=arm64 20:58:58 ---> Running in 3083968a2dc8 20:58:58 Removing intermediate container 3083968a2dc8 20:58:58 ---> 2a6c4662b2fe 20:58:58 Step 35/36 : LABEL git_sha=cd08d416618cedf6394f2b45eea8eb763bae3217 20:58:58 ---> Running in 3d4ccf88414c 20:58:59 Removing intermediate container 3d4ccf88414c 20:58:59 ---> bdbf29021244 20:58:59 Step 36/36 : LABEL version=2.3.0-dev.18 20:58:59 ---> Running in 378526db4d1c 20:58:59 Removing intermediate container 378526db4d1c 20:58:59 ---> 2f04dda01af6 20:58:59 [Warning] One or more build-args [ARCH] were not consumed 20:58:59 Successfully built 2f04dda01af6 20:58:59 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 20:58:59 provisioning config files... 20:58:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/59@tmp/config11814879583286395068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:00 ---> docker-login.sh 20:59:00 nexus3.edgexfoundry.org:10001 20:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:00 Configure a credential helper to remove this warning. See 20:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:00 20:59:00 Login Succeeded 20:59:00 nexus3.edgexfoundry.org:10002 20:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:00 Configure a credential helper to remove this warning. See 20:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:00 20:59:00 Login Succeeded 20:59:00 nexus3.edgexfoundry.org:10003 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10004 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 docker.io 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 ---> docker-login.sh ends [Pipeline] } 20:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:02 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 20:59:02 cd08d416618cedf6394f2b45eea8eb763bae3217 20:59:02 latest 20:59:02 2.3.0-dev.18 20:59:02 cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:59:02 main 20:59:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:02 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:02 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217 20:59:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:59:02 c7da8256ec8d: Preparing 20:59:02 4dad0df65544: Preparing 20:59:02 a3f42fd5b55a: Preparing 20:59:02 a43932d1df72: Preparing 20:59:02 1207169bf42c: Preparing 20:59:02 f0d7b8c3bdf4: Preparing 20:59:02 d42a9ea8fb5b: Preparing 20:59:02 87158b4de615: Preparing 20:59:02 8aab222d0fc0: Preparing 20:59:02 22106cf27a4a: Preparing 20:59:02 69a5fe7c87ab: Preparing 20:59:02 5d3e392a13a0: Preparing 20:59:02 8aab222d0fc0: Waiting 20:59:02 22106cf27a4a: Waiting 20:59:02 5d3e392a13a0: Waiting 20:59:02 f0d7b8c3bdf4: Waiting 20:59:02 d42a9ea8fb5b: Waiting 20:59:02 69a5fe7c87ab: Waiting 20:59:02 87158b4de615: Waiting 20:59:03 1207169bf42c: Pushed 20:59:03 4dad0df65544: Pushed 20:59:03 c7da8256ec8d: Pushed 20:59:03 a3f42fd5b55a: Pushed 20:59:03 f0d7b8c3bdf4: Pushed 20:59:03 87158b4de615: Pushed 20:59:03 8aab222d0fc0: Pushed 20:59:03 d42a9ea8fb5b: Pushed 20:59:03 5d3e392a13a0: Layer already exists 20:59:07 a43932d1df72: Pushed 20:59:09 22106cf27a4a: Pushed 20:59:21 69a5fe7c87ab: Pushed 20:59:21 cd08d416618cedf6394f2b45eea8eb763bae3217: digest: sha256:382e71a84e10978337d12b25ce3db8e25c2160550cbc56ed736cd2ede7fe914d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:21 + 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 20:59:22 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:59:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:59:22 c7da8256ec8d: Preparing 20:59:22 4dad0df65544: Preparing 20:59:22 a3f42fd5b55a: Preparing 20:59:22 a43932d1df72: Preparing 20:59:22 1207169bf42c: Preparing 20:59:22 f0d7b8c3bdf4: Preparing 20:59:22 d42a9ea8fb5b: Preparing 20:59:22 87158b4de615: Preparing 20:59:22 8aab222d0fc0: Preparing 20:59:22 22106cf27a4a: Preparing 20:59:22 69a5fe7c87ab: Preparing 20:59:22 5d3e392a13a0: Preparing 20:59:22 8aab222d0fc0: Waiting 20:59:22 22106cf27a4a: Waiting 20:59:22 69a5fe7c87ab: Waiting 20:59:22 5d3e392a13a0: Waiting 20:59:22 d42a9ea8fb5b: Waiting 20:59:22 f0d7b8c3bdf4: Waiting 20:59:22 87158b4de615: Waiting 20:59:22 a43932d1df72: Layer already exists 20:59:22 1207169bf42c: Layer already exists 20:59:22 4dad0df65544: Layer already exists 20:59:22 a3f42fd5b55a: Layer already exists 20:59:22 c7da8256ec8d: Layer already exists 20:59:22 87158b4de615: Layer already exists 20:59:22 f0d7b8c3bdf4: Layer already exists 20:59:22 d42a9ea8fb5b: Layer already exists 20:59:22 8aab222d0fc0: Layer already exists 20:59:22 22106cf27a4a: Layer already exists 20:59:22 5d3e392a13a0: Layer already exists 20:59:22 69a5fe7c87ab: Layer already exists 20:59:22 latest: digest: sha256:382e71a84e10978337d12b25ce3db8e25c2160550cbc56ed736cd2ede7fe914d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:22 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.18 20:59:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:59:23 c7da8256ec8d: Preparing 20:59:23 4dad0df65544: Preparing 20:59:23 a3f42fd5b55a: Preparing 20:59:23 a43932d1df72: Preparing 20:59:23 1207169bf42c: Preparing 20:59:23 f0d7b8c3bdf4: Preparing 20:59:23 d42a9ea8fb5b: Preparing 20:59:23 87158b4de615: Preparing 20:59:23 8aab222d0fc0: Preparing 20:59:23 22106cf27a4a: Preparing 20:59:23 69a5fe7c87ab: Preparing 20:59:23 5d3e392a13a0: Preparing 20:59:23 f0d7b8c3bdf4: Waiting 20:59:23 d42a9ea8fb5b: Waiting 20:59:23 8aab222d0fc0: Waiting 20:59:23 87158b4de615: Waiting 20:59:23 22106cf27a4a: Waiting 20:59:23 69a5fe7c87ab: Waiting 20:59:23 5d3e392a13a0: Waiting 20:59:23 1207169bf42c: Layer already exists 20:59:23 4dad0df65544: Layer already exists 20:59:23 c7da8256ec8d: Layer already exists 20:59:23 a3f42fd5b55a: Layer already exists 20:59:23 a43932d1df72: Layer already exists 20:59:23 f0d7b8c3bdf4: Layer already exists 20:59:23 87158b4de615: Layer already exists 20:59:23 d42a9ea8fb5b: Layer already exists 20:59:23 22106cf27a4a: Layer already exists 20:59:23 8aab222d0fc0: Layer already exists 20:59:23 69a5fe7c87ab: Layer already exists 20:59:23 5d3e392a13a0: Layer already exists 20:59:23 2.3.0-dev.18: digest: sha256:382e71a84e10978337d12b25ce3db8e25c2160550cbc56ed736cd2ede7fe914d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:23 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:59:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:59:24 c7da8256ec8d: Preparing 20:59:24 4dad0df65544: Preparing 20:59:24 a3f42fd5b55a: Preparing 20:59:24 a43932d1df72: Preparing 20:59:24 1207169bf42c: Preparing 20:59:24 f0d7b8c3bdf4: Preparing 20:59:24 d42a9ea8fb5b: Preparing 20:59:24 87158b4de615: Preparing 20:59:24 8aab222d0fc0: Preparing 20:59:24 22106cf27a4a: Preparing 20:59:24 69a5fe7c87ab: Preparing 20:59:24 5d3e392a13a0: Preparing 20:59:24 f0d7b8c3bdf4: Waiting 20:59:24 d42a9ea8fb5b: Waiting 20:59:24 87158b4de615: Waiting 20:59:24 8aab222d0fc0: Waiting 20:59:24 69a5fe7c87ab: Waiting 20:59:24 22106cf27a4a: Waiting 20:59:24 5d3e392a13a0: Waiting 20:59:24 a43932d1df72: Layer already exists 20:59:24 c7da8256ec8d: Layer already exists 20:59:24 a3f42fd5b55a: Layer already exists 20:59:24 1207169bf42c: Layer already exists 20:59:24 4dad0df65544: Layer already exists 20:59:24 d42a9ea8fb5b: Layer already exists 20:59:24 f0d7b8c3bdf4: Layer already exists 20:59:24 87158b4de615: Layer already exists 20:59:24 8aab222d0fc0: Layer already exists 20:59:24 22106cf27a4a: Layer already exists 20:59:24 5d3e392a13a0: Layer already exists 20:59:24 69a5fe7c87ab: Layer already exists 20:59:24 cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18: digest: sha256:382e71a84e10978337d12b25ce3db8e25c2160550cbc56ed736cd2ede7fe914d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:24 + 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 20:59:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 20:59:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:59:25 c7da8256ec8d: Preparing 20:59:25 4dad0df65544: Preparing 20:59:25 a3f42fd5b55a: Preparing 20:59:25 a43932d1df72: Preparing 20:59:25 1207169bf42c: Preparing 20:59:25 f0d7b8c3bdf4: Preparing 20:59:25 d42a9ea8fb5b: Preparing 20:59:25 87158b4de615: Preparing 20:59:25 8aab222d0fc0: Preparing 20:59:25 22106cf27a4a: Preparing 20:59:25 69a5fe7c87ab: Preparing 20:59:25 5d3e392a13a0: Preparing 20:59:25 87158b4de615: Waiting 20:59:25 8aab222d0fc0: Waiting 20:59:25 22106cf27a4a: Waiting 20:59:25 69a5fe7c87ab: Waiting 20:59:25 5d3e392a13a0: Waiting 20:59:25 f0d7b8c3bdf4: Waiting 20:59:25 d42a9ea8fb5b: Waiting 20:59:25 4dad0df65544: Layer already exists 20:59:25 c7da8256ec8d: Layer already exists 20:59:25 1207169bf42c: Layer already exists 20:59:25 a43932d1df72: Layer already exists 20:59:25 a3f42fd5b55a: Layer already exists 20:59:25 d42a9ea8fb5b: Layer already exists 20:59:25 f0d7b8c3bdf4: Layer already exists 20:59:25 22106cf27a4a: Layer already exists 20:59:25 87158b4de615: Layer already exists 20:59:25 8aab222d0fc0: Layer already exists 20:59:25 5d3e392a13a0: Layer already exists 20:59:25 69a5fe7c87ab: Layer already exists 20:59:25 main: digest: sha256:382e71a84e10978337d12b25ce3db8e25c2160550cbc56ed736cd2ede7fe914d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:59:25 ===================================================== [Pipeline] echo 20:59:25 taggedImages: 20:59:25 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217 20:59:25 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:59:25 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.18 20:59:25 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:cd08d416618cedf6394f2b45eea8eb763bae3217-2.3.0-dev.18 20:59:25 - 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 20:59:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:25 20:59:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:26 arm64: Pulling from edgex-lftools-log-publisher 20:59:26 8998bd30e6a1: Pulling fs layer 20:59:26 04944245beec: Pulling fs layer 20:59:26 699f458cf7ca: Pulling fs layer 20:59:26 765212b225bb: Pulling fs layer 20:59:26 f23df028b6ca: Pulling fs layer 20:59:26 d65c8cfc05b1: Pulling fs layer 20:59:26 2437ff75d9bd: Pulling fs layer 20:59:26 d65c8cfc05b1: Waiting 20:59:26 765212b225bb: Waiting 20:59:26 2437ff75d9bd: Waiting 20:59:26 f23df028b6ca: Waiting 20:59:26 04944245beec: Verifying Checksum 20:59:26 04944245beec: Download complete 20:59:26 765212b225bb: Verifying Checksum 20:59:26 765212b225bb: Download complete 20:59:26 f23df028b6ca: Verifying Checksum 20:59:26 f23df028b6ca: Download complete 20:59:26 d65c8cfc05b1: Verifying Checksum 20:59:26 d65c8cfc05b1: Download complete 20:59:26 699f458cf7ca: Verifying Checksum 20:59:26 699f458cf7ca: Download complete 20:59:26 8998bd30e6a1: Verifying Checksum 20:59:26 8998bd30e6a1: Download complete 20:59:29 2437ff75d9bd: Verifying Checksum 20:59:29 2437ff75d9bd: Download complete 20:59:30 8998bd30e6a1: Pull complete 20:59:31 04944245beec: Pull complete 20:59:32 699f458cf7ca: Pull complete 20:59:33 765212b225bb: Pull complete 20:59:34 f23df028b6ca: Pull complete 20:59:34 d65c8cfc05b1: Pull complete 20:59:49 2437ff75d9bd: Pull complete 20:59:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:49 prd-ubuntu20.04-docker-arm64-4c-16g-116987 does not seem to be running inside a container 20:59:49 $ 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/59 -v /w/workspace/device-usb-camera/59:/w/workspace/device-usb-camera/59:rw,z -v /w/workspace/device-usb-camera/59@tmp:/w/workspace/device-usb-camera/59@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 20:59:52 $ docker top 073182444cb15f2a5add71929eb87096a93fca2c7196e8e0251b899dbca777ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:53 ---> job-cost.sh 20:59:53 lf-activate-venv: SKIPPING 20:59:53 INFO: No Stack... 20:59:53 INFO: Retrieving Pricing Info for: v3-standard-4 20:59:54 INFO: Archiving Costs [Pipeline] sh 20:59:55 + cat /w/workspace/device-usb-camera/59/archives/cost.csv 20:59:55 + cut -d, -f6 [Pipeline] lock 20:59:55 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] 20:59:55 Resource [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] did not exist. Created. 20:59:55 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:55 /w/workspace/device-usb-camera/59@tmp/durable-450ae989/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:59:56 + echo total: 0.10999999940395355 [Pipeline] stash 20:59:56 Warning: overwriting stash ‘stack-cost’ 20:59:56 Stashed 1 file(s) [Pipeline] } 20:59:56 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:56 $ docker stop --time=1 073182444cb15f2a5add71929eb87096a93fca2c7196e8e0251b899dbca777ea 20:59:58 $ docker rm -f 073182444cb15f2a5add71929eb87096a93fca2c7196e8e0251b899dbca777ea [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 20:59:58 provisioning config files... 20:59:58 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16130710972767587251tmp [Pipeline] { [Pipeline] sh 20:59:58 + set +x 20:59:58 + bash -s -- 20:59:58 + curl -s https://codecov.io/bash 20:59:58 20:59:58 _____ _ 20:59:58 / ____| | | 20:59:58 | | ___ __| | ___ ___ _____ __ 20:59:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:59:58 | |___| (_) | (_| | __/ (_| (_) \ V / 20:59:58 \_____\___/ \__,_|\___|\___\___/ \_/ 20:59:58 Bash-1.0.6 20:59:58 20:59:58 20:59:58 ==> git version 2.25.1 found 20:59:58 ==> 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 20:59:58 Release-Date: 2020-01-08 20:59:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:59:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:59:58 ==> Jenkins CI detected. 20:59:58 current dir:  /w/workspace/exfoundry_device-usb-camera_main 20:59:58 project root: . 20:59:58 --> token set from env 20:59:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:59:58 ==> Running gcov in . (disable via -X gcov) 20:59:58 ==> Python coveragepy not found 20:59:58 ==> Searching for coverage reports in: 20:59:58 + . 20:59:58 -> Found 1 reports 20:59:58 ==> Detecting git/mercurial file structure 20:59:58 ==> Reading reports 20:59:58 + ./coverage.out bytes=29387 20:59:58 ==> Appending adjustments 20:59:58 https://docs.codecov.io/docs/fixing-reports 20:59:59 + Found adjustments 20:59:59 ==> Gzipping contents 20:59:59 8.0K /tmp/codecov.u0NcdY.gz 20:59:59 ==> Uploading reports 20:59:59 url: https://codecov.io 20:59:59 query: branch=main&commit=cd08d416618cedf6394f2b45eea8eb763bae3217&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:59:59 -> Pinging Codecov 20:59:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=cd08d416618cedf6394f2b45eea8eb763bae3217&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:59:59 -> Uploading to 20:59:59 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/73D8F5FF140700D3E01443B452E23636/cd08d416618cedf6394f2b45eea8eb763bae3217/4c78265f-7edc-41d6-800c-38b3165e285d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T205959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75e85cbbeaf305ef7f44378bfe82256732c6c98a6fa113250d662ecc2e6979cf 20:59:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:59 Dload Upload Total Spent Left Speed 20:59:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 17036 --:--:-- --:--:-- --:--:-- 17036 20:59:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] } 20:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:59:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:59:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:00 21:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:00:00 df9b9388f04a: Pulling fs layer 21:00:00 52dc419b0ee2: Pulling fs layer 21:00:00 25bc292e5bac: Pulling fs layer 21:00:00 114826534d7a: Pulling fs layer 21:00:00 4657fd5d0bcf: Pulling fs layer 21:00:00 6ad1cebc031e: Pulling fs layer 21:00:00 8a3aa393b2d8: Pulling fs layer 21:00:00 114826534d7a: Waiting 21:00:00 4657fd5d0bcf: Waiting 21:00:00 6ad1cebc031e: Waiting 21:00:00 8a3aa393b2d8: Waiting 21:00:00 25bc292e5bac: Download complete 21:00:00 52dc419b0ee2: Download complete 21:00:00 4657fd5d0bcf: Download complete 21:00:00 df9b9388f04a: Download complete 21:00:00 df9b9388f04a: Pull complete 21:00:00 6ad1cebc031e: Verifying Checksum 21:00:00 6ad1cebc031e: Download complete 21:00:00 52dc419b0ee2: Pull complete 21:00:00 25bc292e5bac: Pull complete 21:00:01 114826534d7a: Verifying Checksum 21:00:01 114826534d7a: Download complete 21:00:01 8a3aa393b2d8: Verifying Checksum 21:00:01 8a3aa393b2d8: Download complete 21:00:04 114826534d7a: Pull complete 21:00:04 4657fd5d0bcf: Pull complete 21:00:04 6ad1cebc031e: Pull complete 21:00:07 8a3aa393b2d8: Pull complete 21:00:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:07 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:00:08 $ docker top b334f73ff0f1c492ebc7f762cb28a269f1825856711b5c1ea692944a53902a0a -eo pid,comm [Pipeline] { [Pipeline] echo 21:00:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 21:00:09 + set -o pipefail 21:00:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 21:00:15 21:00:15 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 21:00:15 21:00:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/b23922fb-a258-4136-a30a-cd99be91d3c5 21:00:15 21:00:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:00:15 21:00:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:00:15 21:00:15 21:00:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:00:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:00:15 More details here: https://snyk.co/ue1NS [Pipeline] } 21:00:15 $ docker stop --time=1 b334f73ff0f1c492ebc7f762cb28a269f1825856711b5c1ea692944a53902a0a 21:00:17 $ docker rm -f b334f73ff0f1c492ebc7f762cb28a269f1825856711b5c1ea692944a53902a0a [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 21:00:18 + git log --format=format:%s -1 cd08d416618cedf6394f2b45eea8eb763bae3217 [Pipeline] sh 21:00:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:19 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:00:19 $ docker top 0cccc88d8c5c013d7ae923d895fa73733e31e4628eb4a749e81938f4b6fc9eab -eo pid,comm 21:00:19 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). 21:00:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:19 [ssh-agent] Looking for ssh-agent implementation... 21:00:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:19 $ docker exec 0cccc88d8c5c013d7ae923d895fa73733e31e4628eb4a749e81938f4b6fc9eab ssh-agent 21:00:19 SSH_AUTH_SOCK=/tmp/ssh-vVuPIQNUn9rl/agent.32 21:00:19 SSH_AGENT_PID=38 21:00:19 Running ssh-add (command line suppressed) 21:00:19 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15292043383204652129.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15292043383204652129.key) 21:00:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:20 + git semver tag 21:00:20 2022-10-25 21:00:20,324 [run_tag] DEBUG tag force:False 21:00:20 2022-10-25 21:00:20,324 [check_head_tag] DEBUG check head tag 21:00:20 2022-10-25 21:00:20,325 [execute] INFO git cat-file --batch-check 21:00:20 2022-10-25 21:00:20,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:00:20 2022-10-25 21:00:20,328 [execute] INFO git cat-file --batch 21:00:20 2022-10-25 21:00:20,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:00:20 2022-10-25 21:00:20,344 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:20 2022-10-25 21:00:20,344 [execute] INFO git tag -a v2.3.0-dev.18 -m v2.3.0-dev.18 21:00:20 2022-10-25 21:00:20,344 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.18', '-m', 'v2.3.0-dev.18'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:00:20 2022-10-25 21:00:20,347 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:20 2.3.0-dev.18 [Pipeline] } 21:00:20 $ docker exec --env ******** --env ******** 0cccc88d8c5c013d7ae923d895fa73733e31e4628eb4a749e81938f4b6fc9eab ssh-agent -k 21:00:20 unset SSH_AUTH_SOCK; 21:00:20 unset SSH_AGENT_PID; 21:00:20 echo Agent pid 38 killed; 21:00:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:20 + git semver [Pipeline] } 21:00:21 $ docker stop --time=1 0cccc88d8c5c013d7ae923d895fa73733e31e4628eb4a749e81938f4b6fc9eab 21:00:22 $ docker rm -f 0cccc88d8c5c013d7ae923d895fa73733e31e4628eb4a749e81938f4b6fc9eab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:00:22 21:00:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:00:23 0.23.1-centos7: Pulling from edgex-lftools 21:00:23 ab5ef0e58194: Pulling fs layer 21:00:23 9712f1f96733: Pulling fs layer 21:00:23 63f879dbbcfc: Pulling fs layer 21:00:23 0d9ebad4ef96: Pulling fs layer 21:00:23 e9a5061849ea: Pulling fs layer 21:00:23 d747dcd14b5f: Pulling fs layer 21:00:23 2de7ff778b66: Pulling fs layer 21:00:23 0d9ebad4ef96: Waiting 21:00:23 e9a5061849ea: Waiting 21:00:23 2de7ff778b66: Waiting 21:00:23 d747dcd14b5f: Waiting 21:00:23 9712f1f96733: Verifying Checksum 21:00:23 9712f1f96733: Download complete 21:00:23 63f879dbbcfc: Verifying Checksum 21:00:23 63f879dbbcfc: Download complete 21:00:23 e9a5061849ea: Verifying Checksum 21:00:23 e9a5061849ea: Download complete 21:00:23 d747dcd14b5f: Download complete 21:00:23 0d9ebad4ef96: Verifying Checksum 21:00:23 0d9ebad4ef96: Download complete 21:00:23 2de7ff778b66: Verifying Checksum 21:00:23 2de7ff778b66: Download complete 21:00:23 ab5ef0e58194: Verifying Checksum 21:00:23 ab5ef0e58194: Download complete 21:00:26 ab5ef0e58194: Pull complete 21:00:26 9712f1f96733: Pull complete 21:00:26 63f879dbbcfc: Pull complete 21:00:30 0d9ebad4ef96: Pull complete 21:00:30 e9a5061849ea: Pull complete 21:00:30 d747dcd14b5f: Pull complete 21:00:31 2de7ff778b66: Pull complete 21:00:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:00:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:00:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:31 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:00:32 $ docker top 51bdc873edfd2de97af91e2603165ba4d2f937f8888a821d123e8e8a2a524e4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:00:33 provisioning config files... 21:00:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2540189879258412606tmp 21:00:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9686690250069427869tmp 21:00:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3626894601830834780tmp [Pipeline] { [Pipeline] echo 21:00:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:00:33 ---> sigul-configuration.sh 21:00:33 gpg: directory `/root/.gnupg' created 21:00:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:00:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:00:33 gpg: keyring `/root/.gnupg/secring.gpg' created 21:00:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:00:33 gpg: CAST5 encrypted data 21:00:33 gpg: encrypted with 1 passphrase 21:00:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:00:33 + mkdir /home/jenkins 21:00:33 + mkdir /home/jenkins/sigul [Pipeline] sh 21:00:33 + 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 21:00:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:00:34 ---> sigul-install.sh 21:00:34 Sigul already installed; skipping installation. [Pipeline] sh 21:00:34 + git tag --list 21:00:34 v0.0.0 21:00:34 v0.0.1-dev.1 21:00:34 v0.0.1-dev.10 21:00:34 v0.0.1-dev.11 21:00:34 v0.0.1-dev.12 21:00:34 v0.0.1-dev.13 21:00:34 v0.0.1-dev.14 21:00:34 v0.0.1-dev.15 21:00:34 v0.0.1-dev.16 21:00:34 v0.0.1-dev.2 21:00:34 v0.0.1-dev.3 21:00:34 v0.0.1-dev.4 21:00:34 v0.0.1-dev.5 21:00:34 v0.0.1-dev.6 21:00:34 v0.0.1-dev.7 21:00:34 v0.0.1-dev.8 21:00:34 v0.0.1-dev.9 21:00:34 v2.2.0 21:00:34 v2.2.0-dev.17 21:00:34 v2.2.0-dev.18 21:00:34 v2.2.0-dev.19 21:00:34 v2.2.0-dev.20 21:00:34 v2.2.0-dev.21 21:00:34 v2.2.0-dev.22 21:00:34 v2.2.0-dev.23 21:00:34 v2.2.0-dev.24 21:00:34 v2.2.0-dev.25 21:00:34 v2.2.0-dev.26 21:00:34 v2.2.0-dev.27 21:00:34 v2.3.0-dev.1 21:00:34 v2.3.0-dev.10 21:00:34 v2.3.0-dev.11 21:00:34 v2.3.0-dev.12 21:00:34 v2.3.0-dev.13 21:00:34 v2.3.0-dev.14 21:00:34 v2.3.0-dev.15 21:00:34 v2.3.0-dev.16 21:00:34 v2.3.0-dev.17 21:00:34 v2.3.0-dev.18 21:00:34 v2.3.0-dev.2 21:00:34 v2.3.0-dev.3 21:00:34 v2.3.0-dev.4 21:00:34 v2.3.0-dev.5 21:00:34 v2.3.0-dev.6 21:00:34 v2.3.0-dev.7 21:00:34 v2.3.0-dev.8 21:00:34 v2.3.0-dev.9 [Pipeline] sh 21:00:34 + lftools sign git-tag v2.3.0-dev.18 21:00:35 Signing Git tag with Sigul... 21:00:35 Signing v2.3.0-dev.18 [Pipeline] echo 21:00:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:00:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:00:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:00:35 $ docker stop --time=1 51bdc873edfd2de97af91e2603165ba4d2f937f8888a821d123e8e8a2a524e4a 21:00:37 $ docker rm -f 51bdc873edfd2de97af91e2603165ba4d2f937f8888a821d123e8e8a2a524e4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:00:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:37 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:00:38 $ docker top 9d8c903ce1a987916958fd4beebb679fb9bdba21ee20ed19114b3fd98af38f21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:38 [ssh-agent] Looking for ssh-agent implementation... 21:00:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:38 $ docker exec 9d8c903ce1a987916958fd4beebb679fb9bdba21ee20ed19114b3fd98af38f21 ssh-agent 21:00:38 SSH_AUTH_SOCK=/tmp/ssh-JruZxq5g695P/agent.31 21:00:38 SSH_AGENT_PID=37 21:00:38 Running ssh-add (command line suppressed) 21:00:38 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18076456687129954744.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18076456687129954744.key) 21:00:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:39 + git semver bump pre 21:00:39 2022-10-25 21:00:39,232 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:39 2022-10-25 21:00:39,232 [bump_version] DEBUG bumping version:2.3.0-dev.18 on axis:pre with prefix:dev 21:00:39 2022-10-25 21:00:39,232 [bump_version] DEBUG bumped version:2.3.0-dev.19 21:00:39 2022-10-25 21:00:39,232 [write_version] DEBUG write version:2.3.0-dev.19 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 21:00:39 2022-10-25 21:00:39,232 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:39 2022-10-25 21:00:39,232 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:39 2022-10-25 21:00:39,234 [execute] INFO git cat-file --batch-check 21:00:39 2022-10-25 21:00:39,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:00:39 2022-10-25 21:00:39,239 [execute] INFO git cat-file --batch 21:00:39 2022-10-25 21:00:39,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:00:39 2022-10-25 21:00:39,245 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:39 2.3.0-dev.19 [Pipeline] } 21:00:39 $ docker exec --env ******** --env ******** 9d8c903ce1a987916958fd4beebb679fb9bdba21ee20ed19114b3fd98af38f21 ssh-agent -k 21:00:39 unset SSH_AUTH_SOCK; 21:00:39 unset SSH_AGENT_PID; 21:00:39 echo Agent pid 37 killed; 21:00:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:39 + git semver [Pipeline] } 21:00:40 $ docker stop --time=1 9d8c903ce1a987916958fd4beebb679fb9bdba21ee20ed19114b3fd98af38f21 21:00:41 $ docker rm -f 9d8c903ce1a987916958fd4beebb679fb9bdba21ee20ed19114b3fd98af38f21 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:42 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:00:42 $ docker top a19ab5e84510202e3f007afc19be5aa173f28c3b738e7630f2245e4573f803ff -eo pid,comm 21:00:42 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). 21:00:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:42 [ssh-agent] Looking for ssh-agent implementation... 21:00:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:42 $ docker exec a19ab5e84510202e3f007afc19be5aa173f28c3b738e7630f2245e4573f803ff ssh-agent 21:00:42 SSH_AUTH_SOCK=/tmp/ssh-H0q4rwBgDrNk/agent.33 21:00:42 SSH_AGENT_PID=39 21:00:42 Running ssh-add (command line suppressed) 21:00:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3123415861393705634.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3123415861393705634.key) 21:00:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:43 + git semver push 21:00:43 2022-10-25 21:00:43,322 [run_push] DEBUG push 21:00:43 2022-10-25 21:00:43,323 [execute] INFO git cat-file --batch-check 21:00:43 2022-10-25 21:00:43,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:00:43 2022-10-25 21:00:43,327 [execute] INFO git rev-list f3315f0d1dbcee7c52f7483461998caa7089f8ef -- 21:00:43 2022-10-25 21:00:43,327 [execute] DEBUG Popen(['git', 'rev-list', 'f3315f0d1dbcee7c52f7483461998caa7089f8ef', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:00:43 2022-10-25 21:00:43,332 [execute] INFO git fetch -v origin 21:00:43 2022-10-25 21:00:43,333 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:00:43 2022-10-25 21:00:43,946 [run_push] DEBUG no remote changes detected 21:00:43 2022-10-25 21:00:43,947 [execute] INFO git push origin semver 21:00:43 2022-10-25 21:00:43,947 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:00:44 2022-10-25 21:00:44,729 [run_push] DEBUG push all version tags 21:00:44 2022-10-25 21:00:44,729 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:00:44 2022-10-25 21:00:44,730 [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) 21:00:45 2022-10-25 21:00:45,565 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:00:45 2.3.0-dev.19 [Pipeline] } 21:00:45 $ docker exec --env ******** --env ******** a19ab5e84510202e3f007afc19be5aa173f28c3b738e7630f2245e4573f803ff ssh-agent -k 21:00:45 unset SSH_AUTH_SOCK; 21:00:45 unset SSH_AGENT_PID; 21:00:45 echo Agent pid 39 killed; 21:00:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:46 + git semver [Pipeline] } 21:00:46 $ docker stop --time=1 a19ab5e84510202e3f007afc19be5aa173f28c3b738e7630f2245e4573f803ff 21:00:47 $ docker rm -f a19ab5e84510202e3f007afc19be5aa173f28c3b738e7630f2245e4573f803ff [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 21:00:48 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 21:00:48 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:00:48 total 16 21:00:48 drwxr-xr-x 3 root root 4096 Oct 25 20:49 . 21:00:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 21:00 .. 21:00:48 drwxr-xr-x 2 root root 4096 Oct 25 20:49 cost 21:00:48 -rw-r--r-- 1 root root 88 Oct 25 20:49 cost.csv 21:00:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 21:00:48 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:00:48 total 16 21:00:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:49 . 21:00:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 21:00 .. 21:00:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 20:49 cost 21:00:48 -rw-r--r-- 1 jenkins jenkins 88 Oct 25 20:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:00:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:00:49 ---> package-listing.sh 21:00:49 ++ facter osfamily 21:00:49 ++ tr '[:upper:]' '[:lower:]' 21:00:49 + OS_FAMILY=debian 21:00:49 + workspace=/w/workspace/exfoundry_device-usb-camera_main 21:00:49 + START_PACKAGES=/tmp/packages_start.txt 21:00:49 + END_PACKAGES=/tmp/packages_end.txt 21:00:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:00:49 + PACKAGES=/tmp/packages_start.txt 21:00:49 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:00:49 + PACKAGES=/tmp/packages_end.txt 21:00:49 + case "${OS_FAMILY}" in 21:00:49 + dpkg -l 21:00:49 + grep '^ii' 21:00:49 + '[' -f /tmp/packages_start.txt ']' 21:00:49 + '[' -f /tmp/packages_end.txt ']' 21:00:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:00:49 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:00:49 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 21:00:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 21:00:49 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 21:00:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:50 prd-ubuntu20.04-docker-8c-8g-116986 does not seem to be running inside a container 21:00:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:50 $ docker top dbe0c15aa09077ab3c15822f7d9041878a381ae87dc0f9bac17af5e2a5798c15 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:51 + touch /tmp/pre-build-complete [Pipeline] sh 21:00:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:00:51 + ls /var/log/sa-host 21:00:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:51 provisioning config files... 21:00:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10154934053838124282tmp [Pipeline] { [Pipeline] echo 21:00:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:00:52 ---> create-netrc.sh [Pipeline] } 21:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:52 ---> python-tools-install.sh [Pipeline] echo 21:00:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:52 ---> sudo-logs.sh 21:00:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:53 ---> job-cost.sh 21:00:53 lf-activate-venv: SKIPPING 21:00:53 DEBUG: total: 0.2199999988079071 21:00:53 INFO: Retrieving Stack Cost... 21:00:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:53 INFO: Archiving Costs [Pipeline] echo 21:00:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:54 ---> logs-deploy.sh 21:00:54 lf-activate-venv: SKIPPING 21:00:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/59 21:00:54 INFO: archiving workspace using pattern(s): 21:00:55 Archives upload complete. 21:00:55 INFO: archiving logs to Nexus