Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5fffbd66594f49ede0a3d86a9de33fe9badea20d 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-ssh15315077820283962026.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-ssh2959876095734226317.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-ssh505349605033548323.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-ssh11648230513782346544.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-ssh13498374513933780981.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-117309 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 5fffbd66594f49ede0a3d86a9de33fe9badea20d (main) Commit message: "Merge pull request #108 from ejlee3/go-mods-config-docker" > 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 5fffbd66594f49ede0a3d86a9de33fe9badea20d # timeout=10 > git rev-list --no-walk cd08d416618cedf6394f2b45eea8eb763bae3217 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:32:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:32:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:32:51 ========================================================= 20:32:51 EdgeX Global Pipelines Version Info 20:32:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:32:52 ------------------- 20:32:52 stable info: 20:32:52 ------------------- 20:32:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:32:52 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:32:52 Message: update stable to v1.0.243 20:32:52 ------------------- 20:32:52 experimental info: 20:32:52 ------------------- 20:32:52 Commited By: **** collab-it+edgex@linuxfoundation.org 20:32:52 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:32:52 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fffbd6 [Pipeline] echo 20:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:53 provisioning config files... 20:32:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4671893286491114030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:53 ---> docker-login.sh 20:32:53 nexus3.edgexfoundry.org:10001 20:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:54 Configure a credential helper to remove this warning. See 20:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:54 20:32:54 Login Succeeded 20:32:54 nexus3.edgexfoundry.org:10002 20:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:54 Configure a credential helper to remove this warning. See 20:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:54 20:32:54 Login Succeeded 20:32:54 nexus3.edgexfoundry.org:10003 20:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:54 Configure a credential helper to remove this warning. See 20:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:54 20:32:54 Login Succeeded 20:32:54 nexus3.edgexfoundry.org:10004 20:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:54 Configure a credential helper to remove this warning. See 20:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:54 20:32:54 Login Succeeded 20:32:54 docker.io 20:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:54 Configure a credential helper to remove this warning. See 20:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:54 20:32:54 Login Succeeded 20:32:54 ---> docker-login.sh ends [Pipeline] } 20:32:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:32:55 + git rev-list -1 --merges 5fffbd66594f49ede0a3d86a9de33fe9badea20d~1..5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] echo 20:32:55 -----------> git rev-list -1 --merges 5fffbd66594f49ede0a3d86a9de33fe9badea20d~1..5fffbd66594f49ede0a3d86a9de33fe9badea20d 5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:32:55 5fffbd66594f49ede0a3d86a9de33fe9badea20d [false] [Pipeline] sh 20:32:55 + git log --format=format:%s -1 5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] echo 20:32:55 ========================================================= 20:32:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:32:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:55 + git log --format=format:%s -1 5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] echo 20:32:56 [semverPrep] GIT_COMMIT: 5fffbd66594f49ede0a3d86a9de33fe9badea20d, Commit Message: Merge pull request #108 from ejlee3/go-mods-config-docker [Pipeline] echo 20:32:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:32:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:32:56 + grep -v github /etc/ssh/ssh_known_hosts 20:32:56 + [ -e /tmp/ssh_known_hosts ] 20:32:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:32:56 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:32:56 sudo tee -a /etc/ssh/ssh_known_hosts 20:32:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:56 20:32:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:32:57 b85a868b505f: Pulling fs layer 20:32:57 e2be974225ed: Pulling fs layer 20:32:57 339a4e72a1f5: Pulling fs layer 20:32:57 988bab9f4d93: Pulling fs layer 20:32:57 1469e6f7b9e6: Pulling fs layer 20:32:57 eaf3925da568: Pulling fs layer 20:32:57 bab4dde63d76: Pulling fs layer 20:32:57 bde34c3a00c8: Pulling fs layer 20:32:57 b352a97aabf1: Pulling fs layer 20:32:57 4872d77fe225: Pulling fs layer 20:32:57 5851b861e8e6: Pulling fs layer 20:32:57 bab4dde63d76: Waiting 20:32:57 bde34c3a00c8: Waiting 20:32:57 b352a97aabf1: Waiting 20:32:57 4872d77fe225: Waiting 20:32:57 5851b861e8e6: Waiting 20:32:57 988bab9f4d93: Waiting 20:32:57 1469e6f7b9e6: Waiting 20:32:57 eaf3925da568: Waiting 20:32:57 e2be974225ed: Download complete 20:32:57 988bab9f4d93: Verifying Checksum 20:32:57 988bab9f4d93: Download complete 20:32:57 1469e6f7b9e6: Verifying Checksum 20:32:57 1469e6f7b9e6: Download complete 20:32:57 eaf3925da568: Verifying Checksum 20:32:57 eaf3925da568: Download complete 20:32:57 339a4e72a1f5: Verifying Checksum 20:32:57 339a4e72a1f5: Download complete 20:32:57 bde34c3a00c8: Verifying Checksum 20:32:57 bde34c3a00c8: Download complete 20:32:57 4872d77fe225: Verifying Checksum 20:32:57 4872d77fe225: Download complete 20:32:57 5851b861e8e6: Verifying Checksum 20:32:57 5851b861e8e6: Download complete 20:32:57 b85a868b505f: Verifying Checksum 20:32:57 b85a868b505f: Download complete 20:32:57 bab4dde63d76: Verifying Checksum 20:32:57 bab4dde63d76: Download complete 20:32:59 b85a868b505f: Pull complete 20:32:59 e2be974225ed: Pull complete 20:32:59 339a4e72a1f5: Pull complete 20:32:59 988bab9f4d93: Pull complete 20:32:59 1469e6f7b9e6: Pull complete 20:32:59 eaf3925da568: Pull complete 20:33:01 bab4dde63d76: Pull complete 20:33:01 bde34c3a00c8: Pull complete 20:33:01 b352a97aabf1: Pull complete 20:33:02 4872d77fe225: Pull complete 20:33:02 5851b861e8e6: Pull complete 20:33:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:33:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:02 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:33:02 $ 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:33:03 $ docker top 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 -eo pid,comm 20:33:03 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:33:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:33:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:03 [ssh-agent] Looking for ssh-agent implementation... 20:33:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:03 $ docker exec 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 ssh-agent 20:33:03 SSH_AUTH_SOCK=/tmp/ssh-aWucNXCqrzP9/agent.33 20:33:03 SSH_AGENT_PID=39 20:33:03 Running ssh-add (command line suppressed) 20:33:04 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3994920757889585953.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3994920757889585953.key) 20:33:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:04 + git tag --points-at HEAD [Pipeline] } 20:33:04 $ docker exec --env ******** --env ******** 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 ssh-agent -k 20:33:04 unset SSH_AUTH_SOCK; 20:33:04 unset SSH_AGENT_PID; 20:33:04 echo Agent pid 39 killed; 20:33:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:33:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:04 [ssh-agent] Looking for ssh-agent implementation... 20:33:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:04 $ docker exec 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 ssh-agent 20:33:04 SSH_AUTH_SOCK=/tmp/ssh-AxaqgwZjez46/agent.71 20:33:04 SSH_AGENT_PID=77 20:33:04 Running ssh-add (command line suppressed) 20:33:04 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4834506894169744350.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4834506894169744350.key) 20:33:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:05 + git semver init 20:33:05 2022-10-26 20:33:05,317 [run_init] DEBUG init version:0.0.0 force:False 20:33:05 2022-10-26 20:33:05,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:33:05 2022-10-26 20:33:05,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:33:05 2022-10-26 20:33:05,318 [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:33:06 2022-10-26 20:33:06,114 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:33:06 2022-10-26 20:33:06,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:33:06 2022-10-26 20:33:06,115 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:33:06 2022-10-26 20:33:06,115 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:33:06 2.3.0-dev.19 [Pipeline] } 20:33:06 $ docker exec --env ******** --env ******** 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 ssh-agent -k 20:33:06 unset SSH_AUTH_SOCK; 20:33:06 unset SSH_AGENT_PID; 20:33:06 echo Agent pid 77 killed; 20:33:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:33:06 + git semver [Pipeline] } 20:33:07 $ docker stop --time=1 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 20:33:08 $ docker rm -f 899ba63c39e2cb238e95df495b004c9da73ca42454ead1c39cc613ea16464b12 [Pipeline] // withDockerContainer [Pipeline] sh 20:33:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:33:09 Stashed 1 file(s) [Pipeline] echo 20:33:09 [edgeXSemver]: initialized semver on version 2.3.0-dev.19 [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:33:09 provisioning config files... 20:33:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9538955078831343615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:09 ---> docker-login.sh 20:33:09 nexus3.edgexfoundry.org:10001 20:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:09 Configure a credential helper to remove this warning. See 20:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:09 20:33:09 Login Succeeded 20:33:09 nexus3.edgexfoundry.org:10002 20:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:09 Configure a credential helper to remove this warning. See 20:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:09 20:33:09 Login Succeeded 20:33:10 nexus3.edgexfoundry.org:10003 20:33:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:10 Configure a credential helper to remove this warning. See 20:33:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:10 20:33:10 Login Succeeded 20:33:10 nexus3.edgexfoundry.org:10004 20:33:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:10 Configure a credential helper to remove this warning. See 20:33:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:10 20:33:10 Login Succeeded 20:33:10 docker.io 20:33:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:33:10 Configure a credential helper to remove this warning. See 20:33:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:33:10 20:33:10 Login Succeeded 20:33:10 ---> docker-login.sh ends [Pipeline] } 20:33:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:33:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:33:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:33:10 ========================================================= 20:33:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:33:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:11 + 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:33:11 Sending build context to Docker daemon 1.556MB 20:33:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:33:11 Step 2/13 : FROM ${BASE} AS builder 20:33:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:33:11 213ec9aee27d: Pulling fs layer 20:33:11 4583459ba037: Pulling fs layer 20:33:11 93c1e223e6f2: Pulling fs layer 20:33:11 53926ce57604: Pulling fs layer 20:33:11 21b2b0c7a3f4: Pulling fs layer 20:33:11 30f14e443154: Pulling fs layer 20:33:11 801331c1e519: Pulling fs layer 20:33:11 99cc6dd402b0: Pulling fs layer 20:33:11 7d9ed39f4882: Pulling fs layer 20:33:11 30f14e443154: Waiting 20:33:11 801331c1e519: Waiting 20:33:11 7d9ed39f4882: Waiting 20:33:11 99cc6dd402b0: Waiting 20:33:11 93c1e223e6f2: Verifying Checksum 20:33:11 4583459ba037: Download complete 20:33:11 21b2b0c7a3f4: Verifying Checksum 20:33:11 21b2b0c7a3f4: Download complete 20:33:11 30f14e443154: Verifying Checksum 20:33:11 30f14e443154: Download complete 20:33:11 213ec9aee27d: Verifying Checksum 20:33:11 213ec9aee27d: Download complete 20:33:11 801331c1e519: Download complete 20:33:11 213ec9aee27d: Pull complete 20:33:11 4583459ba037: Pull complete 20:33:11 93c1e223e6f2: Pull complete 20:33:11 7d9ed39f4882: Verifying Checksum 20:33:11 7d9ed39f4882: Download complete 20:33:11 99cc6dd402b0: Verifying Checksum 20:33:11 99cc6dd402b0: Download complete 20:33:12 53926ce57604: Verifying Checksum 20:33:12 53926ce57604: Download complete 20:33:16 53926ce57604: Pull complete 20:33:16 21b2b0c7a3f4: Pull complete 20:33:16 30f14e443154: Pull complete 20:33:16 801331c1e519: Pull complete 20:33:18 99cc6dd402b0: Pull complete 20:33:19 7d9ed39f4882: Pull complete 20:33:19 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:33:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:33:19 ---> 1dedd983c030 20:33:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:33:21 ---> Running in bf05a59cbecc 20:33:21 Removing intermediate container bf05a59cbecc 20:33:21 ---> bb42bf6d5d40 20:33:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:21 ---> Running in cd4c23ed3005 20:33:21 Removing intermediate container cd4c23ed3005 20:33:21 ---> 9b61bc9713ce 20:33:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:33:21 ---> Running in 2e16831994d7 20:33:21 Removing intermediate container 2e16831994d7 20:33:21 ---> dac83fe65ac0 20:33:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:33:21 ---> Running in 512b77f1023b 20:33:21 Removing intermediate container 512b77f1023b 20:33:21 ---> 077cf25a045a 20:33:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:21 ---> Running in f942b3d19f64 20:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:33:22 (1/80) Installing mesa (21.3.8-r2) 20:33:22 (2/80) Installing libxau (1.0.9-r0) 20:33:22 (3/80) Installing libxdmcp (1.1.3-r0) 20:33:22 (4/80) Installing libxcb (1.15-r0) 20:33:22 (5/80) Installing libx11 (1.8-r0) 20:33:22 (6/80) Installing libxext (1.3.4-r0) 20:33:22 (7/80) Installing libxfixes (6.0.0-r0) 20:33:22 (8/80) Installing libxxf86vm (1.1.4-r2) 20:33:22 (9/80) Installing libpciaccess (0.16-r0) 20:33:22 (10/80) Installing libdrm (2.4.110-r0) 20:33:22 (11/80) Installing mesa-glapi (21.3.8-r2) 20:33:22 (12/80) Installing libxshmfence (1.3-r1) 20:33:22 (13/80) Installing mesa-gl (21.3.8-r2) 20:33:22 (14/80) Installing icu-data-full (71.1-r2) 20:33:22 (15/80) Installing libice (1.0.10-r0) 20:33:22 (16/80) Installing libuuid (2.38-r1) 20:33:22 (17/80) Installing libsm (1.2.3-r0) 20:33:22 (18/80) Installing libxt (1.2.1-r0) 20:33:22 (19/80) Installing libxmu (1.1.3-r0) 20:33:22 (20/80) Installing xset (1.2.4-r0) 20:33:22 (21/80) Installing xprop (1.2.5-r0) 20:33:22 (22/80) Installing xdg-utils (1.1.3-r3) 20:33:22 (23/80) Installing dbus-libs (1.14.4-r0) 20:33:22 (24/80) Installing libffi (3.4.2-r1) 20:33:22 (25/80) Installing libintl (0.21-r2) 20:33:22 (26/80) Installing libblkid (2.38-r1) 20:33:22 (27/80) Installing libmount (2.38-r1) 20:33:22 (28/80) Installing pcre (8.45-r2) 20:33:22 (29/80) Installing glib (2.72.1-r0) 20:33:22 (30/80) Installing icu-libs (71.1-r2) 20:33:22 (31/80) Installing libpcre2-16 (10.40-r0) 20:33:22 (32/80) Installing zstd-libs (1.5.2-r1) 20:33:22 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:33:23 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:33:23 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:33:23 (36/80) Installing mesa-gbm (21.3.8-r2) 20:33:23 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:33:23 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:33:23 (39/80) Installing libxcomposite (0.4.5-r0) 20:33:23 (40/80) Installing libbz2 (1.0.8-r1) 20:33:23 (41/80) Installing libpng (1.6.37-r1) 20:33:23 (42/80) Installing freetype (2.12.1-r0) 20:33:23 (43/80) Installing fontconfig (2.14.0-r0) 20:33:23 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:33:23 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:33:23 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:33:23 (47/80) Installing xz-libs (5.2.5-r1) 20:33:23 (48/80) Installing libxml2 (2.9.14-r2) 20:33:23 (49/80) Installing libxkbcommon (1.4.1-r0) 20:33:23 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:33:23 (51/80) Installing mesa-egl (21.3.8-r2) 20:33:23 (52/80) Installing avahi-libs (0.8-r6) 20:33:23 (53/80) Installing nettle (3.7.3-r0) 20:33:23 (54/80) Installing p11-kit (0.24.1-r0) 20:33:23 (55/80) Installing libtasn1 (4.18.0-r0) 20:33:23 (56/80) Installing libunistring (1.0-r0) 20:33:23 (57/80) Installing gnutls (3.7.7-r0) 20:33:23 (58/80) Installing cups-libs (2.4.2-r0) 20:33:23 (59/80) Installing graphite2 (1.3.14-r1) 20:33:23 (60/80) Installing harfbuzz (4.3.0-r0) 20:33:23 (61/80) Installing libevdev (1.12.1-r0) 20:33:23 (62/80) Installing mtdev (1.1.6-r0) 20:33:23 (63/80) Installing eudev-libs (3.2.11-r0) 20:33:23 (64/80) Installing libinput-libs (1.20.1-r0) 20:33:23 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:33:23 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:33:23 (67/80) Installing xcb-util (0.4.0-r3) 20:33:23 (68/80) Installing xcb-util-image (0.4.0-r1) 20:33:23 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:33:23 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:33:23 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:33:23 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:33:23 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:33:23 (74/80) Installing v4l-utils (1.22.1-r1) 20:33:23 (75/80) Installing udev-init-scripts (35-r0) 20:33:23 Executing udev-init-scripts-35-r0.post-install 20:33:23 (76/80) Installing kmod-libs (29-r2) 20:33:23 (77/80) Installing eudev (3.2.11-r0) 20:33:23 (78/80) Installing eudev-dev (3.2.11-r0) 20:33:23 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:33:23 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:33:23 Executing busybox-1.35.0-r17.trigger 20:33:23 Executing eudev-3.2.11-r0.trigger 20:33:23 OK: 330 MiB in 131 packages 20:33:24 Still waiting to schedule task 20:33:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:33:26 Removing intermediate container f942b3d19f64 20:33:26 ---> f0be3bf8f609 20:33:26 Step 8/13 : WORKDIR /device-usb-camera 20:33:26 ---> Running in 46e9b7e9140e 20:33:26 Removing intermediate container 46e9b7e9140e 20:33:26 ---> 2d56e6b6016f 20:33:26 Step 9/13 : COPY go.mod vendor* ./ 20:33:26 ---> fad8d33cd325 20:33:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:26 ---> Running in ec37a2e03150 20:33:44 Removing intermediate container ec37a2e03150 20:33:44 ---> 1d338476a9f0 20:33:44 Step 11/13 : COPY . . 20:33:44 ---> 173ba3d6513b 20:33:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:33:44 ---> Running in d11bcae95a3f 20:33:44  % Total % Received % Xferd Average Speed Time Time Time Current 20:33:44 Dload Upload Total Spent Left Speed 20:33:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7522 0 --:--:-- --:--:-- --:--:-- 7531 20:33:45 Removing intermediate container d11bcae95a3f 20:33:45 ---> 60badb93a5f5 20:33:45 Step 13/13 : RUN ${MAKE} 20:33:45 ---> Running in b5174f7e988a 20:33:45 noop 20:33:46 Removing intermediate container b5174f7e988a 20:33:46 ---> 401d792c18de 20:33:46 Successfully built 401d792c18de 20:33:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:46 + docker inspect -f . ci-base-image-x86_64 20:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:46 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:33: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:33:46 $ docker top 757d8fcf544e73e8cc20008d2b4874db6f6b79ba2736e61b4261d66a34cb81ad -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:47 + go version 20:33:47 go version go1.18.7 linux/amd64 [Pipeline] } 20:33:47 $ docker stop --time=1 757d8fcf544e73e8cc20008d2b4874db6f6b79ba2736e61b4261d66a34cb81ad 20:33:48 $ docker rm -f 757d8fcf544e73e8cc20008d2b4874db6f6b79ba2736e61b4261d66a34cb81ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:48 + docker inspect -f . ci-base-image-x86_64 20:33:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:49 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:33:49 $ 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:33:49 $ docker top 06afdf5be101b26ad6a0dc4feff42b3da42dddf3f274a8fe8d90a5f0b15d7dd5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:49 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:33:50 + make test 20:33:50 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:33:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:34:02 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:34:02 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 20:34:09 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:34:09 CGO_ENABLED=1 go vet ./... 20:34:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:34:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:34:12 ./bin/test-attribution-txt.sh [Pipeline] echo 20:34:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:34:12 $ docker stop --time=1 06afdf5be101b26ad6a0dc4feff42b3da42dddf3f274a8fe8d90a5f0b15d7dd5 20:34:14 $ docker rm -f 06afdf5be101b26ad6a0dc4feff42b3da42dddf3f274a8fe8d90a5f0b15d7dd5 [Pipeline] // withDockerContainer [Pipeline] sh 20:34:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:34:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:34:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:34:15 + ls -al . 20:34:15 total 204 20:34:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:33 . 20:34:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:32 .. 20:34:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:34 .git 20:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 .github 20:34:15 -rw-rw-r-- 1 jenkins jenkins 414 Oct 26 20:32 .gitignore 20:34:15 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:32 .golangci.yml 20:34:15 -rw-rw-r-- 1 jenkins jenkins 77 Oct 26 20:32 .hadolint.yml 20:34:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:33 .semver 20:34:15 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 26 20:32 Attribution.txt 20:34:15 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 26 20:32 CHANGELOG.md 20:34:15 -rw-rw-r-- 1 jenkins jenkins 2378 Oct 26 20:32 Dockerfile 20:34:15 -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 20:32 GOVERNANCE.md 20:34:15 -rw-rw-r-- 1 jenkins jenkins 659 Oct 26 20:32 Jenkinsfile 20:34:15 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:32 LICENSE 20:34:15 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 26 20:32 Makefile 20:34:15 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:32 OWNERS.md 20:34:15 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 26 20:32 README.md 20:34:15 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:33 VERSION 20:34:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:32 bin 20:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 cmd 20:34:15 -rw-r--r-- 1 jenkins jenkins 29387 Oct 26 20:34 coverage.out 20:34:15 -rwxrwxr-x 1 jenkins jenkins 140 Oct 26 20:32 docker-entrypoint.sh 20:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 docs 20:34:15 -rw-rw-r-- 1 jenkins jenkins 3622 Oct 26 20:32 go.mod 20:34:15 -rw-rw-r-- 1 jenkins jenkins 45124 Oct 26 20:32 go.sum 20:34:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 internal 20:34:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:32 snap 20:34:15 -rw-rw-r-- 1 jenkins jenkins 231 Oct 26 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:15 + 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=5fffbd66594f49ede0a3d86a9de33fe9badea20d --label arch=amd64 --label version=2.3.0-dev.19 . 20:34:15 Sending build context to Docker daemon 1.587MB 20:34:15 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 20:34:15 Step 2/35 : FROM ${BASE} AS builder 20:34:15 ---> 401d792c18de 20:34:15 Step 3/35 : ARG ADD_BUILD_TAGS="" 20:34:15 ---> Running in 5340d2611bfd 20:34:15 Removing intermediate container 5340d2611bfd 20:34:15 ---> 9064c470f5f9 20:34:15 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:16 ---> Running in 1ffe2b34b11c 20:34:16 Removing intermediate container 1ffe2b34b11c 20:34:16 ---> 48645902a965 20:34:16 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:34:16 ---> Running in 6224cb4a952c 20:34:16 Removing intermediate container 6224cb4a952c 20:34:16 ---> b3f95f972dad 20:34:16 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:34:16 ---> Running in 2cc3e7c3337d 20:34:16 Removing intermediate container 2cc3e7c3337d 20:34:16 ---> a0bf642fd2fe 20:34:16 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:16 ---> Running in 2c789ea9d436 20:34:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:34:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:34:16 OK: 330 MiB in 131 packages 20:34:17 Removing intermediate container 2c789ea9d436 20:34:17 ---> 30b76f2acaa4 20:34:17 Step 8/35 : WORKDIR /device-usb-camera 20:34:17 ---> Running in d4da99a37321 20:34:17 Removing intermediate container d4da99a37321 20:34:17 ---> 9456930a2836 20:34:17 Step 9/35 : COPY go.mod vendor* ./ 20:34:17 ---> bce9c3e2a218 20:34:17 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:17 ---> Running in a5ce0a899c54 20:34:19 Removing intermediate container a5ce0a899c54 20:34:19 ---> 6095f4c962ae 20:34:19 Step 11/35 : COPY . . 20:34:20 ---> 8293945c8264 20:34:20 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:34:20 ---> Running in d1621cb2aff5 20:34:20  % Total % Received % Xferd Average Speed Time Time Time Current 20:34:20 Dload Upload Total Spent Left Speed 20:34:20  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 41863 0 --:--:-- --:--:-- --:--:-- 42480 20:34:20 Removing intermediate container d1621cb2aff5 20:34:20 ---> 5eb42982fe9c 20:34:20 Step 13/35 : RUN ${MAKE} 20:34:20 ---> Running in ec137ade3a20 20:34:20 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:34:42 Removing intermediate container ec137ade3a20 20:34:42 ---> c648ed15520a 20:34:42 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:34:42 v0.18.4: Pulling from aler9/rtsp-simple-server 20:34:42 af6660deedbd: Pulling fs layer 20:34:42 97cd0a44c592: Pulling fs layer 20:34:42 97cd0a44c592: Verifying Checksum 20:34:42 97cd0a44c592: Download complete 20:34:42 af6660deedbd: Verifying Checksum 20:34:42 af6660deedbd: Download complete 20:34:42 af6660deedbd: Pull complete 20:34:42 97cd0a44c592: Pull complete 20:34:42 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:34:42 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:34:42 ---> fea57e182299 20:34:42 Step 15/35 : FROM alpine:3.16 20:34:43 3.16: Pulling from library/alpine 20:34:43 213ec9aee27d: Already exists 20:34:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:34:43 Status: Downloaded newer image for alpine:3.16 20:34:43 ---> 9c6f07244728 20:34:43 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:34:43 ---> Running in 97a1558ac1a4 20:34:43 Removing intermediate container 97a1558ac1a4 20:34:43 ---> 7923b3d15c44 20:34:43 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:34:44 ---> Running in 9ba19f506369 20:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:34:44 (1/83) Installing dumb-init (1.2.5-r1) 20:34:44 (2/83) Installing sdl2 (2.0.22-r0) 20:34:44 (3/83) Installing libxau (1.0.9-r0) 20:34:44 (4/83) Installing libxdmcp (1.1.3-r0) 20:34:44 (5/83) Installing libxcb (1.15-r0) 20:34:44 (6/83) Installing libx11 (1.8-r0) 20:34:44 (7/83) Installing aom-libs (3.3.0-r0) 20:34:44 (8/83) Installing alsa-lib (1.2.7.2-r0) 20:34:44 (9/83) Installing expat (2.5.0-r0) 20:34:44 (10/83) Installing brotli-libs (1.0.9-r6) 20:34:44 (11/83) Installing libbz2 (1.0.8-r1) 20:34:44 (12/83) Installing libpng (1.6.37-r1) 20:34:44 (13/83) Installing freetype (2.12.1-r0) 20:34:44 (14/83) Installing fontconfig (2.14.0-r0) 20:34:44 (15/83) Installing fribidi (1.0.12-r0) 20:34:44 (16/83) Installing libffi (3.4.2-r1) 20:34:44 (17/83) Installing libintl (0.21-r2) 20:34:44 (18/83) Installing libblkid (2.38-r1) 20:34:44 (19/83) Installing libmount (2.38-r1) 20:34:44 (20/83) Installing pcre (8.45-r2) 20:34:44 (21/83) Installing glib (2.72.1-r0) 20:34:44 (22/83) Installing graphite2 (1.3.14-r1) 20:34:44 (23/83) Installing harfbuzz (4.3.0-r0) 20:34:44 (24/83) Installing libass (0.16.0-r0) 20:34:44 (25/83) Installing libdav1d (1.0.0-r0) 20:34:44 (26/83) Installing libpciaccess (0.16-r0) 20:34:44 (27/83) Installing libdrm (2.4.110-r0) 20:34:44 (28/83) Installing gmp (6.2.1-r2) 20:34:44 (29/83) Installing nettle (3.7.3-r0) 20:34:44 (30/83) Installing p11-kit (0.24.1-r0) 20:34:45 (31/83) Installing libtasn1 (4.18.0-r0) 20:34:45 (32/83) Installing libunistring (1.0-r0) 20:34:45 (33/83) Installing gnutls (3.7.7-r0) 20:34:45 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:34:45 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 20:34:45 (36/83) Installing lame (3.100-r0) 20:34:45 (37/83) Installing opus (1.3.1-r1) 20:34:45 (38/83) Installing libasyncns (0.8-r1) 20:34:45 (39/83) Installing dbus-libs (1.14.4-r0) 20:34:45 (40/83) Installing libltdl (2.4.7-r0) 20:34:45 (41/83) Installing orc (0.4.32-r0) 20:34:45 (42/83) Installing libgcc (11.2.1_git20220219-r2) 20:34:45 (43/83) Installing libogg (1.3.5-r1) 20:34:45 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 20:34:45 (45/83) Installing flac (1.3.4-r0) 20:34:45 (46/83) Installing libvorbis (1.3.7-r0) 20:34:45 (47/83) Installing libsndfile (1.1.0-r0) 20:34:45 (48/83) Installing libgomp (11.2.1_git20220219-r2) 20:34:45 (49/83) Installing soxr (0.1.3-r2) 20:34:45 (50/83) Installing speexdsp (1.2.0-r0) 20:34:45 (51/83) Installing tdb-libs (1.4.6-r0) 20:34:45 (52/83) Installing libpulse (15.0-r2) 20:34:45 (53/83) Installing cjson (1.7.15-r3) 20:34:45 (54/83) Installing mbedtls (2.28.1-r0) 20:34:45 (55/83) Installing librist (0.2.6-r1) 20:34:45 (56/83) Installing libsrt (1.4.4-r0) 20:34:45 (57/83) Installing libssh (0.9.6-r1) 20:34:45 (58/83) Installing libtheora (1.1.1-r16) 20:34:45 (59/83) Installing libjpeg-turbo (2.1.3-r1) 20:34:45 (60/83) Installing v4l-utils-libs (1.22.1-r1) 20:34:45 (61/83) Installing libxext (1.3.4-r0) 20:34:45 (62/83) Installing libxfixes (6.0.0-r0) 20:34:45 (63/83) Installing wayland-libs-client (1.20.0-r0) 20:34:45 (64/83) Installing libva (2.14.0-r0) 20:34:45 (65/83) Installing libvdpau (1.5-r0) 20:34:45 (66/83) Installing vidstab (1.1.0-r1) 20:34:45 (67/83) Installing libvpx (1.11.0-r1) 20:34:45 (68/83) Installing libwebp (1.2.3-r0) 20:34:45 (69/83) Installing x264-libs (0.163_git20210613-r0) 20:34:45 (70/83) Installing numactl (2.0.14-r0) 20:34:45 (71/83) Installing x265-libs (3.5-r3) 20:34:45 (72/83) Installing xvidcore (1.3.7-r1) 20:34:45 (73/83) Installing ffmpeg-libs (5.0.1-r1) 20:34:45 (74/83) Installing ffmpeg (5.0.1-r1) 20:34:45 (75/83) Installing udev-init-scripts (35-r0) 20:34:45 Executing udev-init-scripts-35-r0.post-install 20:34:45 (76/83) Installing eudev-libs (3.2.11-r0) 20:34:45 (77/83) Installing xz-libs (5.2.5-r1) 20:34:45 (78/83) Installing zstd-libs (1.5.2-r1) 20:34:45 (79/83) Installing kmod-libs (29-r2) 20:34:45 (80/83) Installing eudev (3.2.11-r0) 20:34:45 (81/83) Installing libsodium (1.0.18-r0) 20:34:45 (82/83) Installing libzmq (4.3.4-r0) 20:34:45 (83/83) Installing zeromq (4.3.4-r0) 20:34:45 Executing busybox-1.35.0-r17.trigger 20:34:45 Executing eudev-3.2.11-r0.trigger 20:34:45 OK: 101 MiB in 97 packages 20:34:47 Removing intermediate container 9ba19f506369 20:34:47 ---> 914f886bc72e 20:34:47 Step 18/35 : WORKDIR / 20:34:47 ---> Running in e8ef6a79d0fc 20:34:47 Removing intermediate container e8ef6a79d0fc 20:34:47 ---> a90adef213f6 20:34:47 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 20:34:48 ---> 737c90c1c5d1 20:34:48 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 20:34:48 ---> 8d56861529b1 20:34:48 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:34:48 ---> 66384e5ee806 20:34:48 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:34:48 ---> 7c86b92a719f 20:34:48 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:34:48 ---> bc28b98850f2 20:34:48 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 20:34:48 ---> 77285aab9d06 20:34:48 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 20:34:50 ---> 8831e131e27d 20:34:50 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:34:50 ---> Running in c8ce90917eff 20:34:50 Removing intermediate container c8ce90917eff 20:34:50 ---> 963a10840f32 20:34:50 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:34:50 ---> Running in 68be59fad49f 20:34:51 Removing intermediate container 68be59fad49f 20:34:51 ---> 42a4ba39919f 20:34:51 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:34:51 ---> Running in 59d1a90a723a 20:34:51 Removing intermediate container 59d1a90a723a 20:34:51 ---> 140c68ac0d25 20:34:51 Step 29/35 : EXPOSE 59983 20:34:51 ---> Running in abb6321395a5 20:34:51 Removing intermediate container abb6321395a5 20:34:51 ---> 29b62a32d5d7 20:34:51 Step 30/35 : EXPOSE 8554 20:34:51 ---> Running in 92de6857a9b6 20:34:51 Removing intermediate container 92de6857a9b6 20:34:51 ---> 56110ddc49f6 20:34:51 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:34:51 ---> Running in 4878fcb67516 20:34:51 Removing intermediate container 4878fcb67516 20:34:51 ---> ed48ea68112b 20:34:51 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:34:51 ---> Running in de8b587a9d50 20:34:51 Removing intermediate container de8b587a9d50 20:34:51 ---> 6dfacd95a78c 20:34:51 Step 33/35 : LABEL arch=amd64 20:34:51 ---> Running in 0cfa4539913d 20:34:52 Removing intermediate container 0cfa4539913d 20:34:52 ---> 21bb0b2fc3c2 20:34:52 Step 34/35 : LABEL git_sha=5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:34:52 ---> Running in 2830f99bf586 20:34:52 Removing intermediate container 2830f99bf586 20:34:52 ---> ee96eccac8af 20:34:52 Step 35/35 : LABEL version=2.3.0-dev.19 20:34:52 ---> Running in be421468b01d 20:34:52 Removing intermediate container be421468b01d 20:34:52 ---> d18947969d54 20:34:52 [Warning] One or more build-args [ARCH] were not consumed 20:34:52 Successfully built d18947969d54 20:34:52 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:34:52 provisioning config files... 20:34:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18110164392729356221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:52 ---> docker-login.sh 20:34:52 nexus3.edgexfoundry.org:10001 20:34:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10002 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10003 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10004 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 docker.io 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 ---> docker-login.sh ends [Pipeline] } 20:34:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:54 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:34:54 5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:34:54 latest 20:34:54 2.3.0-dev.19 20:34:54 5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:34:54 main 20:34:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:54 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:34:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:34:54 3c209891da4e: Preparing 20:34:54 b0e3bbec9d43: Preparing 20:34:54 33837a90473a: Preparing 20:34:54 550e596c6d0e: Preparing 20:34:54 1207169bf42c: Preparing 20:34:54 5d7b0c3cc03b: Preparing 20:34:54 59b9e2a66ced: Preparing 20:34:54 04daec41dc0f: Preparing 20:34:54 2e7ae29b5b4c: Preparing 20:34:54 02d85bb7c8ac: Preparing 20:34:54 6dba00cf5a02: Preparing 20:34:54 994393dc58e7: Preparing 20:34:54 6dba00cf5a02: Waiting 20:34:54 02d85bb7c8ac: Waiting 20:34:54 994393dc58e7: Waiting 20:34:54 59b9e2a66ced: Waiting 20:34:54 2e7ae29b5b4c: Waiting 20:34:54 5d7b0c3cc03b: Waiting 20:34:54 b0e3bbec9d43: Pushed 20:34:54 1207169bf42c: Pushed 20:34:54 33837a90473a: Pushed 20:34:54 3c209891da4e: Pushed 20:34:54 59b9e2a66ced: Pushed 20:34:54 5d7b0c3cc03b: Pushed 20:34:54 2e7ae29b5b4c: Pushed 20:34:54 04daec41dc0f: Pushed 20:34:54 994393dc58e7: Layer already exists 20:34:56 550e596c6d0e: Pushed 20:34:57 02d85bb7c8ac: Pushed 20:35:03 6dba00cf5a02: Pushed 20:35:03 5fffbd66594f49ede0a3d86a9de33fe9badea20d: digest: sha256:5524434b74c980cff0be9f273345eee92aaa2584382b90a48ea3e63cb17703f4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:04 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:35:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:35:04 3c209891da4e: Preparing 20:35:04 b0e3bbec9d43: Preparing 20:35:04 33837a90473a: Preparing 20:35:04 550e596c6d0e: Preparing 20:35:04 1207169bf42c: Preparing 20:35:04 5d7b0c3cc03b: Preparing 20:35:04 59b9e2a66ced: Preparing 20:35:04 04daec41dc0f: Preparing 20:35:04 2e7ae29b5b4c: Preparing 20:35:04 02d85bb7c8ac: Preparing 20:35:04 6dba00cf5a02: Preparing 20:35:04 994393dc58e7: Preparing 20:35:04 04daec41dc0f: Waiting 20:35:04 2e7ae29b5b4c: Waiting 20:35:04 02d85bb7c8ac: Waiting 20:35:04 6dba00cf5a02: Waiting 20:35:04 994393dc58e7: Waiting 20:35:04 5d7b0c3cc03b: Waiting 20:35:04 59b9e2a66ced: Waiting 20:35:04 b0e3bbec9d43: Layer already exists 20:35:04 550e596c6d0e: Layer already exists 20:35:04 1207169bf42c: Layer already exists 20:35:04 3c209891da4e: Layer already exists 20:35:04 33837a90473a: Layer already exists 20:35:04 5d7b0c3cc03b: Layer already exists 20:35:04 59b9e2a66ced: Layer already exists 20:35:04 02d85bb7c8ac: Layer already exists 20:35:04 04daec41dc0f: Layer already exists 20:35:04 2e7ae29b5b4c: Layer already exists 20:35:04 6dba00cf5a02: Layer already exists 20:35:04 994393dc58e7: Layer already exists 20:35:04 latest: digest: sha256:5524434b74c980cff0be9f273345eee92aaa2584382b90a48ea3e63cb17703f4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:04 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.19 20:35:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:35:05 3c209891da4e: Preparing 20:35:05 b0e3bbec9d43: Preparing 20:35:05 33837a90473a: Preparing 20:35:05 550e596c6d0e: Preparing 20:35:05 1207169bf42c: Preparing 20:35:05 5d7b0c3cc03b: Preparing 20:35:05 59b9e2a66ced: Preparing 20:35:05 04daec41dc0f: Preparing 20:35:05 2e7ae29b5b4c: Preparing 20:35:05 02d85bb7c8ac: Preparing 20:35:05 6dba00cf5a02: Preparing 20:35:05 994393dc58e7: Preparing 20:35:05 5d7b0c3cc03b: Waiting 20:35:05 59b9e2a66ced: Waiting 20:35:05 04daec41dc0f: Waiting 20:35:05 2e7ae29b5b4c: Waiting 20:35:05 02d85bb7c8ac: Waiting 20:35:05 6dba00cf5a02: Waiting 20:35:05 994393dc58e7: Waiting 20:35:05 b0e3bbec9d43: Layer already exists 20:35:05 3c209891da4e: Layer already exists 20:35:05 550e596c6d0e: Layer already exists 20:35:05 1207169bf42c: Layer already exists 20:35:05 33837a90473a: Layer already exists 20:35:05 5d7b0c3cc03b: Layer already exists 20:35:05 59b9e2a66ced: Layer already exists 20:35:05 02d85bb7c8ac: Layer already exists 20:35:05 04daec41dc0f: Layer already exists 20:35:05 2e7ae29b5b4c: Layer already exists 20:35:05 6dba00cf5a02: Layer already exists 20:35:05 994393dc58e7: Layer already exists 20:35:05 2.3.0-dev.19: digest: sha256:5524434b74c980cff0be9f273345eee92aaa2584382b90a48ea3e63cb17703f4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:05 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:35:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:35:05 3c209891da4e: Preparing 20:35:05 b0e3bbec9d43: Preparing 20:35:05 33837a90473a: Preparing 20:35:05 550e596c6d0e: Preparing 20:35:05 1207169bf42c: Preparing 20:35:05 5d7b0c3cc03b: Preparing 20:35:05 59b9e2a66ced: Preparing 20:35:05 04daec41dc0f: Preparing 20:35:05 2e7ae29b5b4c: Preparing 20:35:05 02d85bb7c8ac: Preparing 20:35:05 6dba00cf5a02: Preparing 20:35:05 994393dc58e7: Preparing 20:35:05 5d7b0c3cc03b: Waiting 20:35:05 59b9e2a66ced: Waiting 20:35:05 2e7ae29b5b4c: Waiting 20:35:05 02d85bb7c8ac: Waiting 20:35:05 6dba00cf5a02: Waiting 20:35:05 994393dc58e7: Waiting 20:35:05 33837a90473a: Layer already exists 20:35:05 1207169bf42c: Layer already exists 20:35:05 550e596c6d0e: Layer already exists 20:35:05 3c209891da4e: Layer already exists 20:35:05 b0e3bbec9d43: Layer already exists 20:35:05 5d7b0c3cc03b: Layer already exists 20:35:05 04daec41dc0f: Layer already exists 20:35:05 02d85bb7c8ac: Layer already exists 20:35:05 59b9e2a66ced: Layer already exists 20:35:05 2e7ae29b5b4c: Layer already exists 20:35:05 6dba00cf5a02: Layer already exists 20:35:05 994393dc58e7: Layer already exists 20:35:05 5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19: digest: sha256:5524434b74c980cff0be9f273345eee92aaa2584382b90a48ea3e63cb17703f4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:06 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:35:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:35:06 3c209891da4e: Preparing 20:35:06 b0e3bbec9d43: Preparing 20:35:06 33837a90473a: Preparing 20:35:06 550e596c6d0e: Preparing 20:35:06 1207169bf42c: Preparing 20:35:06 5d7b0c3cc03b: Preparing 20:35:06 59b9e2a66ced: Preparing 20:35:06 5d7b0c3cc03b: Waiting 20:35:06 04daec41dc0f: Preparing 20:35:06 2e7ae29b5b4c: Preparing 20:35:06 02d85bb7c8ac: Preparing 20:35:06 6dba00cf5a02: Preparing 20:35:06 59b9e2a66ced: Waiting 20:35:06 994393dc58e7: Preparing 20:35:06 04daec41dc0f: Waiting 20:35:06 2e7ae29b5b4c: Waiting 20:35:06 02d85bb7c8ac: Waiting 20:35:06 6dba00cf5a02: Waiting 20:35:06 994393dc58e7: Waiting 20:35:06 1207169bf42c: Layer already exists 20:35:06 550e596c6d0e: Layer already exists 20:35:06 3c209891da4e: Layer already exists 20:35:06 b0e3bbec9d43: Layer already exists 20:35:06 33837a90473a: Layer already exists 20:35:06 5d7b0c3cc03b: Layer already exists 20:35:06 59b9e2a66ced: Layer already exists 20:35:06 04daec41dc0f: Layer already exists 20:35:06 2e7ae29b5b4c: Layer already exists 20:35:06 02d85bb7c8ac: Layer already exists 20:35:06 994393dc58e7: Layer already exists 20:35:06 6dba00cf5a02: Layer already exists 20:35:06 main: digest: sha256:5524434b74c980cff0be9f273345eee92aaa2584382b90a48ea3e63cb17703f4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:35:06 ===================================================== [Pipeline] echo 20:35:06 taggedImages: 20:35:06 - nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:35:06 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:35:06 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.19 20:35:06 - nexus3.edgexfoundry.org:10004/device-usb-camera:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:35:06 - 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:35:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:06 20:35:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:07 latest: Pulling from edgex-lftools-log-publisher 20:35:07 5eb5b503b376: Pulling fs layer 20:35:07 5c69ac0246d0: Pulling fs layer 20:35:07 ec43610c2a17: Pulling fs layer 20:35:07 3a2ae6a8a46f: Pulling fs layer 20:35:07 33b1e0a273af: Pulling fs layer 20:35:07 5d3b04190fa2: Pulling fs layer 20:35:07 2f39f015ded8: Pulling fs layer 20:35:07 3a2ae6a8a46f: Waiting 20:35:07 33b1e0a273af: Waiting 20:35:07 5d3b04190fa2: Waiting 20:35:07 2f39f015ded8: Waiting 20:35:07 5c69ac0246d0: Download complete 20:35:07 3a2ae6a8a46f: Download complete 20:35:07 33b1e0a273af: Verifying Checksum 20:35:07 33b1e0a273af: Download complete 20:35:07 5d3b04190fa2: Download complete 20:35:07 ec43610c2a17: Verifying Checksum 20:35:07 ec43610c2a17: Download complete 20:35:07 5eb5b503b376: Verifying Checksum 20:35:07 5eb5b503b376: Download complete 20:35:07 2f39f015ded8: Verifying Checksum 20:35:07 2f39f015ded8: Download complete 20:35:08 5eb5b503b376: Pull complete 20:35:08 5c69ac0246d0: Pull complete 20:35:09 ec43610c2a17: Pull complete 20:35:09 3a2ae6a8a46f: Pull complete 20:35:09 33b1e0a273af: Pull complete 20:35:09 5d3b04190fa2: Pull complete 20:35:13 2f39f015ded8: Pull complete 20:35:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:35:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:13 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:35:13 $ 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:35:15 $ docker top 04e2feffc61c473aedb218e09291ca71a63a2fa3e1350fe17319dbc5c10b896a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:15 ---> job-cost.sh 20:35:15 lf-activate-venv: SKIPPING 20:35:15 INFO: No Stack... 20:35:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:16 INFO: Archiving Costs [Pipeline] sh 20:35:16 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 20:35:16 + cut -d, -f6 [Pipeline] lock 20:35:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] 20:35:16 Resource [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] did not exist. Created. 20:35:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:35:17 Stashed 1 file(s) [Pipeline] } 20:35:17 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:17 $ docker stop --time=1 04e2feffc61c473aedb218e09291ca71a63a2fa3e1350fe17319dbc5c10b896a 20:35:18 $ docker rm -f 04e2feffc61c473aedb218e09291ca71a63a2fa3e1350fe17319dbc5c10b896a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117315 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:36:28 Running in /w/workspace/device-usb-camera/60 [Pipeline] { [Pipeline] checkout 20:36:28 Selected Git installation does not exist. Using Default 20:36:28 The recommended git tool is: NONE 20:36:35 using credential edgex-jenkins-ssh 20:36:35 Cloning the remote Git repository 20:36:35 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:36:35 > git init /w/workspace/device-usb-camera/60 # timeout=10 20:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:36:35 > git --version # timeout=10 20:36:35 > git --version # 'git version 2.25.1' 20:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:35 Verifying host key using known hosts file 20:36:36 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:36:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:36:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:38 Avoid second fetch 20:36:38 Checking out Revision 5fffbd66594f49ede0a3d86a9de33fe9badea20d (main) 20:36:38 > git config core.sparsecheckout # timeout=10 20:36:38 > git checkout -f 5fffbd66594f49ede0a3d86a9de33fe9badea20d # timeout=10 20:36:38 Commit message: "Merge pull request #108 from ejlee3/go-mods-config-docker" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:36:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:39 Dload Upload Total Spent Left Speed 20:36:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 20:36:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:36:40 + sudo tee /etc/docker/daemon.new 20:36:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:36:40 { 20:36:40 "registry-mirrors": [ 20:36:40 "https://nexus3.edgexfoundry.org:10001" 20:36:40 ], 20:36:40 "bip": "10.250.0.254/24", 20:36:40 "hosts": [ 20:36:40 "tcp://0.0.0.0:5555", 20:36:40 "unix:///var/run/docker.sock" 20:36:40 ], 20:36:40 "mtu": 1458, 20:36:40 "selinux-enabled": true, 20:36:40 "seccomp-profile": "/etc/docker/seccomp.json" 20:36:40 } [Pipeline] sh 20:36:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:36:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:00 provisioning config files... 20:37:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/60@tmp/config1159914334190751850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:00 ---> docker-login.sh 20:37:00 nexus3.edgexfoundry.org:10001 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 nexus3.edgexfoundry.org:10002 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:01 Configure a credential helper to remove this warning. See 20:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:01 20:37:01 Login Succeeded 20:37:01 nexus3.edgexfoundry.org:10003 20:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:02 Configure a credential helper to remove this warning. See 20:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:02 20:37:02 Login Succeeded 20:37:02 nexus3.edgexfoundry.org:10004 20:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:02 Configure a credential helper to remove this warning. See 20:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:02 20:37:02 Login Succeeded 20:37:02 docker.io 20:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:03 Configure a credential helper to remove this warning. See 20:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:03 20:37:03 Login Succeeded 20:37:03 ---> docker-login.sh ends [Pipeline] } 20:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:03 ========================================================= 20:37:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:37:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:37:04 Sending build context to Docker daemon 1.024MB 20:37:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:37:04 Step 2/13 : FROM ${BASE} AS builder 20:37:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:04 9b18e9b68314: Pulling fs layer 20:37:04 d32db5db7311: Pulling fs layer 20:37:04 d0c4b47475fc: Pulling fs layer 20:37:04 5831b945b038: Pulling fs layer 20:37:04 86bbec2aaacd: Pulling fs layer 20:37:04 e10730c5d714: Pulling fs layer 20:37:04 5dd5c2283517: Pulling fs layer 20:37:04 d5ac0230b979: Pulling fs layer 20:37:04 e10730c5d714: Waiting 20:37:04 5831b945b038: Waiting 20:37:04 5dd5c2283517: Waiting 20:37:04 86bbec2aaacd: Waiting 20:37:04 d0c4b47475fc: Verifying Checksum 20:37:04 d0c4b47475fc: Download complete 20:37:04 d32db5db7311: Verifying Checksum 20:37:04 d32db5db7311: Download complete 20:37:04 86bbec2aaacd: Verifying Checksum 20:37:04 86bbec2aaacd: Download complete 20:37:04 e10730c5d714: Download complete 20:37:04 9b18e9b68314: Download complete 20:37:05 9b18e9b68314: Pull complete 20:37:06 d5ac0230b979: Verifying Checksum 20:37:06 d5ac0230b979: Download complete 20:37:06 d32db5db7311: Pull complete 20:37:06 d0c4b47475fc: Pull complete 20:37:07 5dd5c2283517: Verifying Checksum 20:37:07 5dd5c2283517: Download complete 20:37:08 5831b945b038: Verifying Checksum 20:37:08 5831b945b038: Download complete 20:37:20 5831b945b038: Pull complete 20:37:20 86bbec2aaacd: Pull complete 20:37:21 e10730c5d714: Pull complete 20:37:27 5dd5c2283517: Pull complete 20:37:29 d5ac0230b979: Pull complete 20:37:29 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:37:30 ---> 59b3b1a385d4 20:37:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:37:32 ---> Running in b7974febba3b 20:37:32 Removing intermediate container b7974febba3b 20:37:32 ---> dd50b8ec7b46 20:37:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:32 ---> Running in 1e07ef6dd63d 20:37:32 Removing intermediate container 1e07ef6dd63d 20:37:32 ---> c40d0fc09db1 20:37:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:37:33 ---> Running in fa09dca425af 20:37:33 Removing intermediate container fa09dca425af 20:37:33 ---> f9a7794ad77b 20:37:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:37:33 ---> Running in 787f355d7f97 20:37:34 Removing intermediate container 787f355d7f97 20:37:34 ---> 6edc81c8ccd7 20:37:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:34 ---> Running in c6e17f309c4e 20:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:37:36 (1/14) Installing libintl (0.21-r2) 20:37:36 (2/14) Installing eudev-libs (3.2.11-r0) 20:37:36 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:37:36 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:37:37 (5/14) Installing v4l-utils (1.22.1-r1) 20:37:37 (6/14) Installing udev-init-scripts (35-r0) 20:37:37 Executing udev-init-scripts-35-r0.post-install 20:37:37 (7/14) Installing libblkid (2.38-r1) 20:37:37 (8/14) Installing xz-libs (5.2.5-r1) 20:37:37 (9/14) Installing zstd-libs (1.5.2-r1) 20:37:37 (10/14) Installing kmod-libs (29-r2) 20:37:37 (11/14) Installing eudev (3.2.11-r0) 20:37:37 (12/14) Installing eudev-dev (3.2.11-r0) 20:37:37 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:37:37 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:37:37 Executing busybox-1.35.0-r17.trigger 20:37:37 Executing eudev-3.2.11-r0.trigger 20:37:37 OK: 228 MiB in 65 packages 20:37:39 Removing intermediate container c6e17f309c4e 20:37:39 ---> 3ff915655405 20:37:39 Step 8/13 : WORKDIR /device-usb-camera 20:37:39 ---> Running in 9ee46063fecd 20:37:39 Removing intermediate container 9ee46063fecd 20:37:39 ---> 35621c1f32c1 20:37:39 Step 9/13 : COPY go.mod vendor* ./ 20:37:40 ---> 51adc6a33ba5 20:37:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:40 ---> Running in 03068dddce5c 20:38:48 Removing intermediate container 03068dddce5c 20:38:48 ---> 6aaf00213973 20:38:48 Step 11/13 : COPY . . 20:38:48 ---> 25aa860d0cb6 20:38:48 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:38:48 ---> Running in 1aaca53f834a 20:38:48  % Total % Received % Xferd Average Speed Time Time Time Current 20:38:48 Dload Upload Total Spent Left Speed 20:38:48 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11279 0 --:--:-- --:--:-- --:--:-- 11419 20:38:48 Removing intermediate container 1aaca53f834a 20:38:48 ---> 179aa7ae8862 20:38:48 Step 13/13 : RUN ${MAKE} 20:38:48 ---> Running in 296961bfbe24 20:38:48 noop 20:38:48 Removing intermediate container 296961bfbe24 20:38:48 ---> 4302f2475e85 20:38:48 Successfully built 4302f2475e85 20:38:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:48 + docker inspect -f . ci-base-image-arm64 20:38:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:49 prd-ubuntu20.04-docker-arm64-4c-16g-117315 does not seem to be running inside a container 20:38:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/60 -v /w/workspace/device-usb-camera/60:/w/workspace/device-usb-camera/60:rw,z -v /w/workspace/device-usb-camera/60@tmp:/w/workspace/device-usb-camera/60@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:38:50 $ docker top 03f6f2e2693b88dabc9be4fc200e26bab73913329cbd26baddd5f8b18bfacd4b -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:51 + go version 20:38:51 go version go1.18.7 linux/arm64 [Pipeline] } 20:38:51 $ docker stop --time=1 03f6f2e2693b88dabc9be4fc200e26bab73913329cbd26baddd5f8b18bfacd4b 20:38:53 $ docker rm -f 03f6f2e2693b88dabc9be4fc200e26bab73913329cbd26baddd5f8b18bfacd4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:53 + docker inspect -f . ci-base-image-arm64 20:38:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:54 prd-ubuntu20.04-docker-arm64-4c-16g-117315 does not seem to be running inside a container 20:38:54 $ 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/60 -v /w/workspace/device-usb-camera/60:/w/workspace/device-usb-camera/60:rw,z -v /w/workspace/device-usb-camera/60@tmp:/w/workspace/device-usb-camera/60@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:38:55 $ docker top 0534229ea2fe4efa3c3ddd34f6e6852d763936618c7d4fa71758e2aa989bc025 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:56 + git config --global --add safe.directory /w/workspace/device-usb-camera/60 [Pipeline] fileExists [Pipeline] sh 20:38:57 + make test 20:38:57 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:38:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:40:50 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:40:53 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.099s coverage: 1.9% of statements 20:40:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:40:54 CGO_ENABLED=1 go vet ./... 20:41:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:33 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:33 $ docker stop --time=1 0534229ea2fe4efa3c3ddd34f6e6852d763936618c7d4fa71758e2aa989bc025 20:41:35 $ docker rm -f 0534229ea2fe4efa3c3ddd34f6e6852d763936618c7d4fa71758e2aa989bc025 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:36 Warning: overwriting stash ‘coverage-report’ 20:41:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:38 + ls -al . 20:41:38 total 200 20:41:38 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:38 . 20:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 .. 20:41:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:36 .git 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 .github 20:41:38 -rw-rw-r-- 1 jenkins jenkins 414 Oct 26 20:36 .gitignore 20:41:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:36 .golangci.yml 20:41:38 -rw-rw-r-- 1 jenkins jenkins 77 Oct 26 20:36 .hadolint.yml 20:41:38 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 26 20:36 Attribution.txt 20:41:38 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 26 20:36 CHANGELOG.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 2378 Oct 26 20:36 Dockerfile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 20:36 GOVERNANCE.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 659 Oct 26 20:36 Jenkinsfile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:36 LICENSE 20:41:38 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 26 20:36 Makefile 20:41:38 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:36 OWNERS.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 26 20:36 README.md 20:41:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:33 VERSION 20:41:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:36 bin 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 cmd 20:41:38 -rw-r--r-- 1 jenkins jenkins 29387 Oct 26 20:40 coverage.out 20:41:38 -rwxrwxr-x 1 jenkins jenkins 140 Oct 26 20:36 docker-entrypoint.sh 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 docs 20:41:38 -rw-rw-r-- 1 jenkins jenkins 3622 Oct 26 20:36 go.mod 20:41:38 -rw-rw-r-- 1 jenkins jenkins 45124 Oct 26 20:36 go.sum 20:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 internal 20:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 snap 20:41:38 -rw-rw-r-- 1 jenkins jenkins 231 Oct 26 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:38 + 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=5fffbd66594f49ede0a3d86a9de33fe9badea20d --label arch=arm64 --label version=2.3.0-dev.19 . 20:41:40 Sending build context to Docker daemon 1.054MB 20:41:40 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 20:41:40 Step 2/35 : FROM ${BASE} AS builder 20:41:40 ---> 4302f2475e85 20:41:40 Step 3/35 : ARG ADD_BUILD_TAGS="" 20:41:41 ---> Running in 5e753a81e450 20:41:41 Removing intermediate container 5e753a81e450 20:41:41 ---> 2d5b00b396ed 20:41:41 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:41 ---> Running in fad81a44eedf 20:41:42 Removing intermediate container fad81a44eedf 20:41:42 ---> d03a037e670c 20:41:42 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:41:42 ---> Running in 0b750a586d58 20:41:42 Removing intermediate container 0b750a586d58 20:41:42 ---> 032ab45f3d94 20:41:42 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:41:42 ---> Running in f4ffc8bba8f4 20:41:43 Removing intermediate container f4ffc8bba8f4 20:41:43 ---> 39adcd4a075f 20:41:43 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:43 ---> Running in b1551f8cac93 20:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:41:46 OK: 228 MiB in 65 packages 20:41:47 Removing intermediate container b1551f8cac93 20:41:47 ---> 5229cd85d862 20:41:47 Step 8/35 : WORKDIR /device-usb-camera 20:41:47 ---> Running in 6182d8b58f5a 20:41:47 Removing intermediate container 6182d8b58f5a 20:41:47 ---> 1a985767ea98 20:41:47 Step 9/35 : COPY go.mod vendor* ./ 20:41:48 ---> b63042477fa5 20:41:48 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:48 ---> Running in faf5cff197e2 20:41:50 Removing intermediate container faf5cff197e2 20:41:50 ---> 512acd8af811 20:41:50 Step 11/35 : COPY . . 20:41:51 ---> 8a9d1da51ae0 20:41:51 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:41:51 ---> Running in a6fd79e14c8f 20:41:52   % Total % Received % Xferd Average Speed Time Time Time Current 20:41:52  Dload Upload Total Spent Left Speed 20:41:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11759 0 --:--:-- --:--:-- --:--:-- 11932 20:41:53 Removing intermediate container a6fd79e14c8f 20:41:53 ---> e7943446904b 20:41:53 Step 13/35 : RUN ${MAKE} 20:41:53 ---> Running in 540758a33d2e 20:41:54 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:44:46 Removing intermediate container 540758a33d2e 20:44:46 ---> efa717ab2a7f 20:44:46 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:44:46 v0.18.4: Pulling from aler9/rtsp-simple-server 20:44:46 eab2503cf8f4: Pulling fs layer 20:44:46 97cd0a44c592: Pulling fs layer 20:44:46 97cd0a44c592: Verifying Checksum 20:44:46 97cd0a44c592: Download complete 20:44:46 eab2503cf8f4: Verifying Checksum 20:44:46 eab2503cf8f4: Download complete 20:44:46 eab2503cf8f4: Pull complete 20:44:46 97cd0a44c592: Pull complete 20:44:46 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:44:46 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:44:46 ---> 7f763cca56b3 20:44:46 Step 15/35 : FROM alpine:3.16 20:44:47 3.16: Pulling from library/alpine 20:44:47 9b18e9b68314: Already exists 20:44:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:44:48 Status: Downloaded newer image for alpine:3.16 20:44:48 ---> a6215f271958 20:44:48 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:44:48 ---> Running in 02c3aec7ef36 20:44:48 Removing intermediate container 02c3aec7ef36 20:44:48 ---> 3368d45c88e9 20:44:48 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:44:48 ---> Running in 22a385c02db9 20:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:44:51 (1/82) Installing dumb-init (1.2.5-r1) 20:44:51 (2/82) Installing sdl2 (2.0.22-r0) 20:44:51 (3/82) Installing libxau (1.0.9-r0) 20:44:51 (4/82) Installing libxdmcp (1.1.3-r0) 20:44:51 (5/82) Installing libxcb (1.15-r0) 20:44:51 (6/82) Installing libx11 (1.8-r0) 20:44:51 (7/82) Installing aom-libs (3.3.0-r0) 20:44:51 (8/82) Installing alsa-lib (1.2.7.2-r0) 20:44:51 (9/82) Installing expat (2.5.0-r0) 20:44:51 (10/82) Installing brotli-libs (1.0.9-r6) 20:44:51 (11/82) Installing libbz2 (1.0.8-r1) 20:44:51 (12/82) Installing libpng (1.6.37-r1) 20:44:51 (13/82) Installing freetype (2.12.1-r0) 20:44:51 (14/82) Installing fontconfig (2.14.0-r0) 20:44:51 (15/82) Installing fribidi (1.0.12-r0) 20:44:51 (16/82) Installing libffi (3.4.2-r1) 20:44:52 (17/82) Installing libintl (0.21-r2) 20:44:52 (18/82) Installing libblkid (2.38-r1) 20:44:52 (19/82) Installing libmount (2.38-r1) 20:44:52 (20/82) Installing pcre (8.45-r2) 20:44:52 (21/82) Installing glib (2.72.1-r0) 20:44:52 (22/82) Installing graphite2 (1.3.14-r1) 20:44:52 (23/82) Installing harfbuzz (4.3.0-r0) 20:44:52 (24/82) Installing libass (0.16.0-r0) 20:44:52 (25/82) Installing libdav1d (1.0.0-r0) 20:44:52 (26/82) Installing libdrm (2.4.110-r0) 20:44:52 (27/82) Installing gmp (6.2.1-r2) 20:44:52 (28/82) Installing nettle (3.7.3-r0) 20:44:52 (29/82) Installing p11-kit (0.24.1-r0) 20:44:52 (30/82) Installing libtasn1 (4.18.0-r0) 20:44:52 (31/82) Installing libunistring (1.0-r0) 20:44:52 (32/82) Installing gnutls (3.7.7-r0) 20:44:52 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:44:52 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 20:44:52 (35/82) Installing lame (3.100-r0) 20:44:52 (36/82) Installing opus (1.3.1-r1) 20:44:52 (37/82) Installing libasyncns (0.8-r1) 20:44:52 (38/82) Installing dbus-libs (1.14.4-r0) 20:44:52 (39/82) Installing libltdl (2.4.7-r0) 20:44:52 (40/82) Installing orc (0.4.32-r0) 20:44:52 (41/82) Installing libgcc (11.2.1_git20220219-r2) 20:44:52 (42/82) Installing libogg (1.3.5-r1) 20:44:52 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 20:44:52 (44/82) Installing flac (1.3.4-r0) 20:44:52 (45/82) Installing libvorbis (1.3.7-r0) 20:44:52 (46/82) Installing libsndfile (1.1.0-r0) 20:44:52 (47/82) Installing libgomp (11.2.1_git20220219-r2) 20:44:53 (48/82) Installing soxr (0.1.3-r2) 20:44:53 (49/82) Installing speexdsp (1.2.0-r0) 20:44:53 (50/82) Installing tdb-libs (1.4.6-r0) 20:44:53 (51/82) Installing libpulse (15.0-r2) 20:44:53 (52/82) Installing cjson (1.7.15-r3) 20:44:53 (53/82) Installing mbedtls (2.28.1-r0) 20:44:53 (54/82) Installing librist (0.2.6-r1) 20:44:53 (55/82) Installing libsrt (1.4.4-r0) 20:44:53 (56/82) Installing libssh (0.9.6-r1) 20:44:53 (57/82) Installing libtheora (1.1.1-r16) 20:44:53 (58/82) Installing libjpeg-turbo (2.1.3-r1) 20:44:53 (59/82) Installing v4l-utils-libs (1.22.1-r1) 20:44:53 (60/82) Installing libxext (1.3.4-r0) 20:44:53 (61/82) Installing libxfixes (6.0.0-r0) 20:44:53 (62/82) Installing wayland-libs-client (1.20.0-r0) 20:44:53 (63/82) Installing libva (2.14.0-r0) 20:44:53 (64/82) Installing libvdpau (1.5-r0) 20:44:53 (65/82) Installing vidstab (1.1.0-r1) 20:44:53 (66/82) Installing libvpx (1.11.0-r1) 20:44:53 (67/82) Installing libwebp (1.2.3-r0) 20:44:53 (68/82) Installing x264-libs (0.163_git20210613-r0) 20:44:53 (69/82) Installing numactl (2.0.14-r0) 20:44:53 (70/82) Installing x265-libs (3.5-r3) 20:44:53 (71/82) Installing xvidcore (1.3.7-r1) 20:44:53 (72/82) Installing ffmpeg-libs (5.0.1-r1) 20:44:54 (73/82) Installing ffmpeg (5.0.1-r1) 20:44:54 (74/82) Installing udev-init-scripts (35-r0) 20:44:54 Executing udev-init-scripts-35-r0.post-install 20:44:54 (75/82) Installing eudev-libs (3.2.11-r0) 20:44:54 (76/82) Installing xz-libs (5.2.5-r1) 20:44:54 (77/82) Installing zstd-libs (1.5.2-r1) 20:44:54 (78/82) Installing kmod-libs (29-r2) 20:44:54 (79/82) Installing eudev (3.2.11-r0) 20:44:54 (80/82) Installing libsodium (1.0.18-r0) 20:44:54 (81/82) Installing libzmq (4.3.4-r0) 20:44:54 (82/82) Installing zeromq (4.3.4-r0) 20:44:54 Executing busybox-1.35.0-r17.trigger 20:44:54 Executing eudev-3.2.11-r0.trigger 20:44:54 OK: 78 MiB in 96 packages 20:44:57 Removing intermediate container 22a385c02db9 20:44:57 ---> abc45c1e4a1c 20:44:57 Step 18/35 : WORKDIR / 20:44:57 ---> Running in 4929a8069146 20:44:58 Removing intermediate container 4929a8069146 20:44:58 ---> 526fcd41988e 20:44:58 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 20:45:00 ---> f73952035317 20:45:00 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 20:45:00 ---> e84577c36a2d 20:45:00 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:45:01 ---> 3f29fe2098d5 20:45:01 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:45:01 ---> bdde7f8c8981 20:45:01 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:45:02 ---> 1a7d055375dd 20:45:02 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 20:45:02 ---> 6ca5ae8edcc0 20:45:02 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 20:45:04 ---> 287640e25c89 20:45:04 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:45:04 ---> Running in 7dca3658b3f7 20:45:06 Removing intermediate container 7dca3658b3f7 20:45:06 ---> 0bf12df2f68b 20:45:06 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:45:06 ---> Running in e81b37cd46d1 20:45:08 Removing intermediate container e81b37cd46d1 20:45:08 ---> 18c40788fbe9 20:45:08 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:45:08 ---> Running in 24846e6a5433 20:45:09 Removing intermediate container 24846e6a5433 20:45:09 ---> 72841bfb17ba 20:45:09 Step 29/35 : EXPOSE 59983 20:45:10 ---> Running in a319237c5a21 20:45:10 Removing intermediate container a319237c5a21 20:45:10 ---> 7aca05edfc3c 20:45:10 Step 30/35 : EXPOSE 8554 20:45:10 ---> Running in 102578fccbb5 20:45:10 Removing intermediate container 102578fccbb5 20:45:10 ---> 56bb5551ab64 20:45:10 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:45:11 ---> Running in 2701bc763a86 20:45:11 Removing intermediate container 2701bc763a86 20:45:11 ---> 9c20b03ed5b3 20:45:11 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:45:11 ---> Running in a34b11d068fc 20:45:11 Removing intermediate container a34b11d068fc 20:45:11 ---> c23c0e96bcfb 20:45:11 Step 33/35 : LABEL arch=arm64 20:45:11 ---> Running in 861be1f959dd 20:45:12 Removing intermediate container 861be1f959dd 20:45:12 ---> 35a8505bc18b 20:45:12 Step 34/35 : LABEL git_sha=5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:45:12 ---> Running in 3fe1efd85cb1 20:45:12 Removing intermediate container 3fe1efd85cb1 20:45:12 ---> 5d2efc539879 20:45:12 Step 35/35 : LABEL version=2.3.0-dev.19 20:45:12 ---> Running in 65294f730d3a 20:45:13 Removing intermediate container 65294f730d3a 20:45:13 ---> 8fffdbb87237 20:45:13 [Warning] One or more build-args [ARCH] were not consumed 20:45:13 Successfully built 8fffdbb87237 20:45:13 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:45:13 provisioning config files... 20:45:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/60@tmp/config1379677068809994217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:13 ---> docker-login.sh 20:45:13 nexus3.edgexfoundry.org:10001 20:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:13 Configure a credential helper to remove this warning. See 20:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:13 20:45:13 Login Succeeded 20:45:13 nexus3.edgexfoundry.org:10002 20:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:14 Configure a credential helper to remove this warning. See 20:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:14 20:45:14 Login Succeeded 20:45:14 nexus3.edgexfoundry.org:10003 20:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:14 Configure a credential helper to remove this warning. See 20:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:14 20:45:14 Login Succeeded 20:45:14 nexus3.edgexfoundry.org:10004 20:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:14 Configure a credential helper to remove this warning. See 20:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:14 20:45:14 Login Succeeded 20:45:14 docker.io 20:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:15 Configure a credential helper to remove this warning. See 20:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:15 20:45:15 Login Succeeded 20:45:15 ---> docker-login.sh ends [Pipeline] } 20:45:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:15 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 20:45:15 5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:45:15 latest 20:45:15 2.3.0-dev.19 20:45:15 5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:45:15 main 20:45:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:16 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:45:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:45:16 bf735aae7c4b: Preparing 20:45:16 fa1f0aabf82d: Preparing 20:45:16 c056b28ff4ab: Preparing 20:45:16 a43932d1df72: Preparing 20:45:16 1207169bf42c: Preparing 20:45:16 cc25056be766: Preparing 20:45:16 d15ecf6aefba: Preparing 20:45:16 3c90b4859bd8: Preparing 20:45:16 f81a5384ce27: Preparing 20:45:16 a25b524c1db9: Preparing 20:45:16 da00ed92bb29: Preparing 20:45:16 5d3e392a13a0: Preparing 20:45:16 3c90b4859bd8: Waiting 20:45:16 f81a5384ce27: Waiting 20:45:16 a25b524c1db9: Waiting 20:45:16 da00ed92bb29: Waiting 20:45:16 5d3e392a13a0: Waiting 20:45:16 cc25056be766: Waiting 20:45:16 d15ecf6aefba: Waiting 20:45:16 c056b28ff4ab: Pushed 20:45:16 fa1f0aabf82d: Pushed 20:45:16 1207169bf42c: Pushed 20:45:16 bf735aae7c4b: Pushed 20:45:17 d15ecf6aefba: Pushed 20:45:17 cc25056be766: Pushed 20:45:17 f81a5384ce27: Pushed 20:45:17 3c90b4859bd8: Pushed 20:45:17 5d3e392a13a0: Layer already exists 20:45:21 a43932d1df72: Pushed 20:45:22 a25b524c1db9: Pushed 20:45:34 da00ed92bb29: Pushed 20:45:34 5fffbd66594f49ede0a3d86a9de33fe9badea20d: digest: sha256:d7965c6fe85eb4357c893b3b11c284c7caba962543574df04dd3bf8b1836df51 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:35 + 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:45:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:45:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:45:35 bf735aae7c4b: Preparing 20:45:35 fa1f0aabf82d: Preparing 20:45:35 c056b28ff4ab: Preparing 20:45:35 a43932d1df72: Preparing 20:45:35 1207169bf42c: Preparing 20:45:35 cc25056be766: Preparing 20:45:35 d15ecf6aefba: Preparing 20:45:35 3c90b4859bd8: Preparing 20:45:35 f81a5384ce27: Preparing 20:45:35 a25b524c1db9: Preparing 20:45:35 da00ed92bb29: Preparing 20:45:35 5d3e392a13a0: Preparing 20:45:35 f81a5384ce27: Waiting 20:45:35 a25b524c1db9: Waiting 20:45:35 cc25056be766: Waiting 20:45:35 d15ecf6aefba: Waiting 20:45:35 da00ed92bb29: Waiting 20:45:35 3c90b4859bd8: Waiting 20:45:35 bf735aae7c4b: Layer already exists 20:45:35 1207169bf42c: Layer already exists 20:45:35 c056b28ff4ab: Layer already exists 20:45:35 a43932d1df72: Layer already exists 20:45:35 fa1f0aabf82d: Layer already exists 20:45:35 3c90b4859bd8: Layer already exists 20:45:35 d15ecf6aefba: Layer already exists 20:45:35 cc25056be766: Layer already exists 20:45:35 a25b524c1db9: Layer already exists 20:45:35 f81a5384ce27: Layer already exists 20:45:35 da00ed92bb29: Layer already exists 20:45:35 5d3e392a13a0: Layer already exists 20:45:35 latest: digest: sha256:d7965c6fe85eb4357c893b3b11c284c7caba962543574df04dd3bf8b1836df51 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:36 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.19 20:45:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:45:36 bf735aae7c4b: Preparing 20:45:36 fa1f0aabf82d: Preparing 20:45:36 c056b28ff4ab: Preparing 20:45:36 a43932d1df72: Preparing 20:45:36 1207169bf42c: Preparing 20:45:36 cc25056be766: Preparing 20:45:36 d15ecf6aefba: Preparing 20:45:36 3c90b4859bd8: Preparing 20:45:36 f81a5384ce27: Preparing 20:45:36 a25b524c1db9: Preparing 20:45:36 da00ed92bb29: Preparing 20:45:36 5d3e392a13a0: Preparing 20:45:36 f81a5384ce27: Waiting 20:45:36 a25b524c1db9: Waiting 20:45:36 da00ed92bb29: Waiting 20:45:36 5d3e392a13a0: Waiting 20:45:36 cc25056be766: Waiting 20:45:36 3c90b4859bd8: Waiting 20:45:36 d15ecf6aefba: Waiting 20:45:36 c056b28ff4ab: Layer already exists 20:45:36 fa1f0aabf82d: Layer already exists 20:45:36 a43932d1df72: Layer already exists 20:45:36 bf735aae7c4b: Layer already exists 20:45:36 1207169bf42c: Layer already exists 20:45:36 3c90b4859bd8: Layer already exists 20:45:36 d15ecf6aefba: Layer already exists 20:45:36 cc25056be766: Layer already exists 20:45:36 a25b524c1db9: Layer already exists 20:45:36 f81a5384ce27: Layer already exists 20:45:36 5d3e392a13a0: Layer already exists 20:45:36 da00ed92bb29: Layer already exists 20:45:37 2.3.0-dev.19: digest: sha256:d7965c6fe85eb4357c893b3b11c284c7caba962543574df04dd3bf8b1836df51 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:37 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:45:37 bf735aae7c4b: Preparing 20:45:37 fa1f0aabf82d: Preparing 20:45:37 c056b28ff4ab: Preparing 20:45:37 a43932d1df72: Preparing 20:45:37 1207169bf42c: Preparing 20:45:37 cc25056be766: Preparing 20:45:37 d15ecf6aefba: Preparing 20:45:37 3c90b4859bd8: Preparing 20:45:37 f81a5384ce27: Preparing 20:45:37 a25b524c1db9: Preparing 20:45:37 da00ed92bb29: Preparing 20:45:37 5d3e392a13a0: Preparing 20:45:37 f81a5384ce27: Waiting 20:45:37 a25b524c1db9: Waiting 20:45:37 da00ed92bb29: Waiting 20:45:37 5d3e392a13a0: Waiting 20:45:37 cc25056be766: Waiting 20:45:37 3c90b4859bd8: Waiting 20:45:37 d15ecf6aefba: Waiting 20:45:37 bf735aae7c4b: Layer already exists 20:45:37 fa1f0aabf82d: Layer already exists 20:45:37 c056b28ff4ab: Layer already exists 20:45:37 a43932d1df72: Layer already exists 20:45:37 1207169bf42c: Layer already exists 20:45:37 d15ecf6aefba: Layer already exists 20:45:37 f81a5384ce27: Layer already exists 20:45:37 3c90b4859bd8: Layer already exists 20:45:37 cc25056be766: Layer already exists 20:45:37 a25b524c1db9: Layer already exists 20:45:37 da00ed92bb29: Layer already exists 20:45:37 5d3e392a13a0: Layer already exists 20:45:37 5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19: digest: sha256:d7965c6fe85eb4357c893b3b11c284c7caba962543574df04dd3bf8b1836df51 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:38 + 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:45:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 20:45:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:45:38 bf735aae7c4b: Preparing 20:45:38 fa1f0aabf82d: Preparing 20:45:38 c056b28ff4ab: Preparing 20:45:38 a43932d1df72: Preparing 20:45:38 1207169bf42c: Preparing 20:45:38 cc25056be766: Preparing 20:45:38 d15ecf6aefba: Preparing 20:45:38 3c90b4859bd8: Preparing 20:45:38 f81a5384ce27: Preparing 20:45:38 a25b524c1db9: Preparing 20:45:38 da00ed92bb29: Preparing 20:45:38 5d3e392a13a0: Preparing 20:45:38 cc25056be766: Waiting 20:45:38 d15ecf6aefba: Waiting 20:45:38 3c90b4859bd8: Waiting 20:45:38 f81a5384ce27: Waiting 20:45:38 a25b524c1db9: Waiting 20:45:38 da00ed92bb29: Waiting 20:45:38 5d3e392a13a0: Waiting 20:45:38 fa1f0aabf82d: Layer already exists 20:45:38 c056b28ff4ab: Layer already exists 20:45:38 1207169bf42c: Layer already exists 20:45:38 a43932d1df72: Layer already exists 20:45:38 bf735aae7c4b: Layer already exists 20:45:38 a25b524c1db9: Layer already exists 20:45:38 cc25056be766: Layer already exists 20:45:38 f81a5384ce27: Layer already exists 20:45:38 d15ecf6aefba: Layer already exists 20:45:38 3c90b4859bd8: Layer already exists 20:45:38 5d3e392a13a0: Layer already exists 20:45:38 da00ed92bb29: Layer already exists 20:45:39 main: digest: sha256:d7965c6fe85eb4357c893b3b11c284c7caba962543574df04dd3bf8b1836df51 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:39 ===================================================== [Pipeline] echo 20:45:39 taggedImages: 20:45:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d 20:45:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:45:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.19 20:45:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:5fffbd66594f49ede0a3d86a9de33fe9badea20d-2.3.0-dev.19 20:45:39 - 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:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:39 20:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:39 arm64: Pulling from edgex-lftools-log-publisher 20:45:39 8998bd30e6a1: Pulling fs layer 20:45:39 04944245beec: Pulling fs layer 20:45:39 699f458cf7ca: Pulling fs layer 20:45:39 765212b225bb: Pulling fs layer 20:45:39 f23df028b6ca: Pulling fs layer 20:45:39 d65c8cfc05b1: Pulling fs layer 20:45:39 2437ff75d9bd: Pulling fs layer 20:45:39 765212b225bb: Waiting 20:45:39 f23df028b6ca: Waiting 20:45:39 d65c8cfc05b1: Waiting 20:45:40 04944245beec: Verifying Checksum 20:45:40 04944245beec: Download complete 20:45:40 765212b225bb: Verifying Checksum 20:45:40 765212b225bb: Download complete 20:45:40 f23df028b6ca: Verifying Checksum 20:45:40 f23df028b6ca: Download complete 20:45:40 d65c8cfc05b1: Verifying Checksum 20:45:40 d65c8cfc05b1: Download complete 20:45:40 699f458cf7ca: Verifying Checksum 20:45:40 699f458cf7ca: Download complete 20:45:40 8998bd30e6a1: Download complete 20:45:43 2437ff75d9bd: Verifying Checksum 20:45:43 2437ff75d9bd: Download complete 20:45:44 8998bd30e6a1: Pull complete 20:45:45 04944245beec: Pull complete 20:45:46 699f458cf7ca: Pull complete 20:45:46 765212b225bb: Pull complete 20:45:47 f23df028b6ca: Pull complete 20:45:47 d65c8cfc05b1: Pull complete 20:46:02 2437ff75d9bd: Pull complete 20:46:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:46:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-117315 does not seem to be running inside a container 20:46:02 $ 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/60 -v /w/workspace/device-usb-camera/60:/w/workspace/device-usb-camera/60:rw,z -v /w/workspace/device-usb-camera/60@tmp:/w/workspace/device-usb-camera/60@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:46:05 $ docker top 38a866276c6393f6d9224d5cf4fbf16de388eb873af5f342f49e8ed1a8efbb4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:06 ---> job-cost.sh 20:46:06 lf-activate-venv: SKIPPING 20:46:06 INFO: No Stack... 20:46:07 INFO: Retrieving Pricing Info for: v3-standard-4 20:46:07 INFO: Archiving Costs [Pipeline] sh 20:46:08 + + cat /w/workspace/device-usb-camera/60/archives/cost.csv 20:46:08 cut -d, -f6 [Pipeline] lock 20:46:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] 20:46:08 Resource [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] did not exist. Created. 20:46:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:09 /w/workspace/device-usb-camera/60@tmp/durable-94b8973d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:46:10 + echo total: 0.10999999940395355 [Pipeline] stash 20:46:10 Warning: overwriting stash ‘stack-cost’ 20:46:10 Stashed 1 file(s) [Pipeline] } 20:46:10 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:10 $ docker stop --time=1 38a866276c6393f6d9224d5cf4fbf16de388eb873af5f342f49e8ed1a8efbb4f 20:46:11 $ docker rm -f 38a866276c6393f6d9224d5cf4fbf16de388eb873af5f342f49e8ed1a8efbb4f [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:46:12 provisioning config files... 20:46:12 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6495177010167366503tmp [Pipeline] { [Pipeline] sh 20:46:12 + set +x 20:46:12 + curl -s https://codecov.io/bash 20:46:12 + bash -s -- 20:46:12 20:46:12 _____ _ 20:46:12 / ____| | | 20:46:12 | | ___ __| | ___ ___ _____ __ 20:46:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:46:12 | |___| (_) | (_| | __/ (_| (_) \ V / 20:46:12 \_____\___/ \__,_|\___|\___\___/ \_/ 20:46:12 Bash-1.0.6 20:46:12 20:46:12 20:46:12 ==> git version 2.25.1 found 20:46:12 ==> 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:46:12 Release-Date: 2020-01-08 20:46:12 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:46:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:46:12 ==> Jenkins CI detected. 20:46:12 current dir:  /w/workspace/exfoundry_device-usb-camera_main 20:46:12 project root: . 20:46:12 --> token set from env 20:46:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:46:12 ==> Running gcov in . (disable via -X gcov) 20:46:12 ==> Python coveragepy not found 20:46:12 ==> Searching for coverage reports in: 20:46:12 + . 20:46:12 -> Found 1 reports 20:46:12 ==> Detecting git/mercurial file structure 20:46:12 ==> Reading reports 20:46:12 + ./coverage.out bytes=29387 20:46:12 ==> Appending adjustments 20:46:12 https://docs.codecov.io/docs/fixing-reports 20:46:12 + Found adjustments 20:46:12 ==> Gzipping contents 20:46:12 8.0K /tmp/codecov.MluvSX.gz 20:46:12 ==> Uploading reports 20:46:12 url: https://codecov.io 20:46:12 query: branch=main&commit=5fffbd66594f49ede0a3d86a9de33fe9badea20d&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:12 -> Pinging Codecov 20:46:12 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=5fffbd66594f49ede0a3d86a9de33fe9badea20d&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:12 -> Uploading to 20:46:12 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/73D8F5FF140700D3E01443B452E23636/5fffbd66594f49ede0a3d86a9de33fe9badea20d/5bf74b54-2c12-4599-a433-5239dc8e3d21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T204612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d65ae066d24e788c1513e37d03e0fc85e750d7203db95a9bb716b4f5f39fa963 20:46:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:12 Dload Upload Total Spent Left Speed 20:46:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4191 0 0 100 4191 0 17176 --:--:-- --:--:-- --:--:-- 17176 20:46:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] } 20:46:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:46:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:46:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:13 20:46:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:46:14 df9b9388f04a: Pulling fs layer 20:46:14 52dc419b0ee2: Pulling fs layer 20:46:14 25bc292e5bac: Pulling fs layer 20:46:14 114826534d7a: Pulling fs layer 20:46:14 4657fd5d0bcf: Pulling fs layer 20:46:14 6ad1cebc031e: Pulling fs layer 20:46:14 8a3aa393b2d8: Pulling fs layer 20:46:14 114826534d7a: Waiting 20:46:14 4657fd5d0bcf: Waiting 20:46:14 6ad1cebc031e: Waiting 20:46:14 8a3aa393b2d8: Waiting 20:46:14 25bc292e5bac: Download complete 20:46:14 52dc419b0ee2: Verifying Checksum 20:46:14 52dc419b0ee2: Download complete 20:46:14 4657fd5d0bcf: Verifying Checksum 20:46:14 4657fd5d0bcf: Download complete 20:46:14 df9b9388f04a: Verifying Checksum 20:46:14 df9b9388f04a: Download complete 20:46:14 df9b9388f04a: Pull complete 20:46:14 52dc419b0ee2: Pull complete 20:46:14 25bc292e5bac: Pull complete 20:46:14 6ad1cebc031e: Verifying Checksum 20:46:14 6ad1cebc031e: Download complete 20:46:15 114826534d7a: Verifying Checksum 20:46:15 114826534d7a: Download complete 20:46:16 8a3aa393b2d8: Verifying Checksum 20:46:16 8a3aa393b2d8: Download complete 20:46:18 114826534d7a: Pull complete 20:46:18 4657fd5d0bcf: Pull complete 20:46:19 6ad1cebc031e: Pull complete 20:46:21 8a3aa393b2d8: Pull complete 20:46:21 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:46:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:21 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:46:21 $ 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 20:46:23 $ docker top e6a6823faf5e3bbf8ae1cd6421e265f497598f14e5691bc8d1144533a4f867a6 -eo pid,comm [Pipeline] { [Pipeline] echo 20:46:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 20:46:24 + set -o pipefail 20:46:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 20:46:30 20:46:30 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 20:46:30 20:46:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/01b1e947-bad5-4b07-a623-9d5f0c666218 20:46:30 20:46:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:46:30 20:46:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:46:30 20:46:30 20:46:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:46:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:46:30 More details here: https://snyk.co/ue1NS [Pipeline] } 20:46:30 $ docker stop --time=1 e6a6823faf5e3bbf8ae1cd6421e265f497598f14e5691bc8d1144533a4f867a6 20:46:33 $ docker rm -f e6a6823faf5e3bbf8ae1cd6421e265f497598f14e5691bc8d1144533a4f867a6 [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 20:46:33 + git log --format=format:%s -1 5fffbd66594f49ede0a3d86a9de33fe9badea20d [Pipeline] sh 20:46:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:34 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:46:34 $ 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 20:46:34 $ docker top fd61337b222b83ba569535e50257a6a8e1b4ca384a32a6d78a16a7d73fd96f42 -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:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:35 $ docker exec fd61337b222b83ba569535e50257a6a8e1b4ca384a32a6d78a16a7d73fd96f42 ssh-agent 20:46:35 SSH_AUTH_SOCK=/tmp/ssh-W72IStc4qyXL/agent.32 20:46:35 SSH_AGENT_PID=38 20:46:35 Running ssh-add (command line suppressed) 20:46:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3633183096404691295.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3633183096404691295.key) 20:46:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:35 + git semver tag 20:46:35 2022-10-26 20:46:35,752 [run_tag] DEBUG tag force:False 20:46:35 2022-10-26 20:46:35,752 [check_head_tag] DEBUG check head tag 20:46:35 2022-10-26 20:46:35,753 [execute] INFO git cat-file --batch-check 20:46:35 2022-10-26 20:46:35,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:46:35 2022-10-26 20:46:35,757 [execute] INFO git cat-file --batch 20:46:35 2022-10-26 20:46:35,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:46:35 2022-10-26 20:46:35,773 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:35 2022-10-26 20:46:35,774 [execute] INFO git tag -a v2.3.0-dev.19 -m v2.3.0-dev.19 20:46:35 2022-10-26 20:46:35,774 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.19', '-m', 'v2.3.0-dev.19'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 20:46:35 2022-10-26 20:46:35,778 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:35 2.3.0-dev.19 [Pipeline] } 20:46:35 $ docker exec --env ******** --env ******** fd61337b222b83ba569535e50257a6a8e1b4ca384a32a6d78a16a7d73fd96f42 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] } [Pipeline] // withEnv [Pipeline] sh 20:46:36 + git semver [Pipeline] } 20:46:36 $ docker stop --time=1 fd61337b222b83ba569535e50257a6a8e1b4ca384a32a6d78a16a7d73fd96f42 20:46:37 $ docker rm -f fd61337b222b83ba569535e50257a6a8e1b4ca384a32a6d78a16a7d73fd96f42 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:38 20:46:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:38 0.23.1-centos7: Pulling from edgex-lftools 20:46:38 ab5ef0e58194: Pulling fs layer 20:46:38 9712f1f96733: Pulling fs layer 20:46:38 63f879dbbcfc: Pulling fs layer 20:46:38 0d9ebad4ef96: Pulling fs layer 20:46:38 e9a5061849ea: Pulling fs layer 20:46:38 d747dcd14b5f: Pulling fs layer 20:46:38 2de7ff778b66: Pulling fs layer 20:46:38 0d9ebad4ef96: Waiting 20:46:38 d747dcd14b5f: Waiting 20:46:38 e9a5061849ea: Waiting 20:46:38 2de7ff778b66: Waiting 20:46:38 9712f1f96733: Download complete 20:46:39 63f879dbbcfc: Verifying Checksum 20:46:39 63f879dbbcfc: Download complete 20:46:39 ab5ef0e58194: Verifying Checksum 20:46:39 ab5ef0e58194: Download complete 20:46:39 d747dcd14b5f: Verifying Checksum 20:46:39 d747dcd14b5f: Download complete 20:46:39 e9a5061849ea: Verifying Checksum 20:46:39 e9a5061849ea: Download complete 20:46:39 0d9ebad4ef96: Verifying Checksum 20:46:39 0d9ebad4ef96: Download complete 20:46:39 2de7ff778b66: Verifying Checksum 20:46:39 2de7ff778b66: Download complete 20:46:41 ab5ef0e58194: Pull complete 20:46:41 9712f1f96733: Pull complete 20:46:42 63f879dbbcfc: Pull complete 20:46:45 0d9ebad4ef96: Pull complete 20:46:45 e9a5061849ea: Pull complete 20:46:45 d747dcd14b5f: Pull complete 20:46:46 2de7ff778b66: Pull complete 20:46:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:46:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:46 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:46: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:46:48 $ docker top c34769ef505299f3ebc7030dd8449b1f80ccc0bc21754d4b00ce60f15d0684bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:46:49 provisioning config files... 20:46:49 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10455764524508002595tmp 20:46:49 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3921512910631770189tmp 20:46:49 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4394193335505788848tmp [Pipeline] { [Pipeline] echo 20:46:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:46:49 ---> sigul-configuration.sh 20:46:49 gpg: directory `/root/.gnupg' created 20:46:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:46:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:46:49 gpg: keyring `/root/.gnupg/secring.gpg' created 20:46:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:46:49 gpg: CAST5 encrypted data 20:46:49 gpg: encrypted with 1 passphrase 20:46:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:46:49 + mkdir /home/jenkins 20:46:49 + mkdir /home/jenkins/sigul [Pipeline] sh 20:46:49 + 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 20:46:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:46:50 ---> sigul-install.sh 20:46:50 Sigul already installed; skipping installation. [Pipeline] sh 20:46:50 + git tag --list 20:46:50 v0.0.0 20:46:50 v0.0.1-dev.1 20:46:50 v0.0.1-dev.10 20:46:50 v0.0.1-dev.11 20:46:50 v0.0.1-dev.12 20:46:50 v0.0.1-dev.13 20:46:50 v0.0.1-dev.14 20:46:50 v0.0.1-dev.15 20:46:50 v0.0.1-dev.16 20:46:50 v0.0.1-dev.2 20:46:50 v0.0.1-dev.3 20:46:50 v0.0.1-dev.4 20:46:50 v0.0.1-dev.5 20:46:50 v0.0.1-dev.6 20:46:50 v0.0.1-dev.7 20:46:50 v0.0.1-dev.8 20:46:50 v0.0.1-dev.9 20:46:50 v2.2.0 20:46:50 v2.2.0-dev.17 20:46:50 v2.2.0-dev.18 20:46:50 v2.2.0-dev.19 20:46:50 v2.2.0-dev.20 20:46:50 v2.2.0-dev.21 20:46:50 v2.2.0-dev.22 20:46:50 v2.2.0-dev.23 20:46:50 v2.2.0-dev.24 20:46:50 v2.2.0-dev.25 20:46:50 v2.2.0-dev.26 20:46:50 v2.2.0-dev.27 20:46:50 v2.3.0-dev.1 20:46:50 v2.3.0-dev.10 20:46:50 v2.3.0-dev.11 20:46:50 v2.3.0-dev.12 20:46:50 v2.3.0-dev.13 20:46:50 v2.3.0-dev.14 20:46:50 v2.3.0-dev.15 20:46:50 v2.3.0-dev.16 20:46:50 v2.3.0-dev.17 20:46:50 v2.3.0-dev.18 20:46:50 v2.3.0-dev.19 20:46:50 v2.3.0-dev.2 20:46:50 v2.3.0-dev.3 20:46:50 v2.3.0-dev.4 20:46:50 v2.3.0-dev.5 20:46:50 v2.3.0-dev.6 20:46:50 v2.3.0-dev.7 20:46:50 v2.3.0-dev.8 20:46:50 v2.3.0-dev.9 [Pipeline] sh 20:46:50 + lftools sign git-tag v2.3.0-dev.19 20:46:51 Signing Git tag with Sigul... 20:46:51 Signing v2.3.0-dev.19 [Pipeline] echo 20:46:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:46:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:46:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:46:51 $ docker stop --time=1 c34769ef505299f3ebc7030dd8449b1f80ccc0bc21754d4b00ce60f15d0684bf 20:46:53 $ docker rm -f c34769ef505299f3ebc7030dd8449b1f80ccc0bc21754d4b00ce60f15d0684bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:46:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:53 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:46:54 $ docker top 9d96047e66c55fb8304dd2eb7362b6991ab19af31906dd47d3c5de94fdb14f7d -eo pid,comm 20:46:54 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:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:54 [ssh-agent] Looking for ssh-agent implementation... 20:46:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:54 $ docker exec 9d96047e66c55fb8304dd2eb7362b6991ab19af31906dd47d3c5de94fdb14f7d ssh-agent 20:46:54 SSH_AUTH_SOCK=/tmp/ssh-x717rcIVS6qh/agent.34 20:46:54 SSH_AGENT_PID=40 20:46:54 Running ssh-add (command line suppressed) 20:46:54 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3720579407347275325.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3720579407347275325.key) 20:46:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:55 + git semver bump pre 20:46:55 2022-10-26 20:46:55,264 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:55 2022-10-26 20:46:55,264 [bump_version] DEBUG bumping version:2.3.0-dev.19 on axis:pre with prefix:dev 20:46:55 2022-10-26 20:46:55,265 [bump_version] DEBUG bumped version:2.3.0-dev.20 20:46:55 2022-10-26 20:46:55,265 [write_version] DEBUG write version:2.3.0-dev.20 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 20:46:55 2022-10-26 20:46:55,265 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:55 2022-10-26 20:46:55,265 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:55 2022-10-26 20:46:55,266 [execute] INFO git cat-file --batch-check 20:46:55 2022-10-26 20:46:55,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:55 2022-10-26 20:46:55,272 [execute] INFO git cat-file --batch 20:46:55 2022-10-26 20:46:55,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:55 2022-10-26 20:46:55,277 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:46:55 2.3.0-dev.20 [Pipeline] } 20:46:55 $ docker exec --env ******** --env ******** 9d96047e66c55fb8304dd2eb7362b6991ab19af31906dd47d3c5de94fdb14f7d ssh-agent -k 20:46:55 unset SSH_AUTH_SOCK; 20:46:55 unset SSH_AGENT_PID; 20:46:55 echo Agent pid 40 killed; 20:46:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:46:55 + git semver [Pipeline] } 20:46:56 $ docker stop --time=1 9d96047e66c55fb8304dd2eb7362b6991ab19af31906dd47d3c5de94fdb14f7d 20:46:57 $ docker rm -f 9d96047e66c55fb8304dd2eb7362b6991ab19af31906dd47d3c5de94fdb14f7d [Pipeline] // withDockerContainer [Pipeline] sh 20:46:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:46:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:46:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:58 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:46:58 $ docker top 7316bdea6dcc7607e0852577efe44117f023d57555abdcb871b9bf20f1044e03 -eo pid,comm 20:46:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:46:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:46:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:46:58 [ssh-agent] Looking for ssh-agent implementation... 20:46:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:46:58 $ docker exec 7316bdea6dcc7607e0852577efe44117f023d57555abdcb871b9bf20f1044e03 ssh-agent 20:46:58 SSH_AUTH_SOCK=/tmp/ssh-fTqmLyX3ePyZ/agent.31 20:46:58 SSH_AGENT_PID=37 20:46:58 Running ssh-add (command line suppressed) 20:46:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4779286711411718620.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4779286711411718620.key) 20:46:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:46:59 + git semver push 20:46:59 2022-10-26 20:46:59,405 [run_push] DEBUG push 20:46:59 2022-10-26 20:46:59,406 [execute] INFO git cat-file --batch-check 20:46:59 2022-10-26 20:46:59,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:46:59 2022-10-26 20:46:59,410 [execute] INFO git rev-list 280f24b9b85a3bc07b2766f68864f1f532693aea -- 20:46:59 2022-10-26 20:46:59,410 [execute] DEBUG Popen(['git', 'rev-list', '280f24b9b85a3bc07b2766f68864f1f532693aea', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:46:59 2022-10-26 20:46:59,416 [execute] INFO git fetch -v origin 20:46:59 2022-10-26 20:46:59,416 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:47:00 2022-10-26 20:46:59,993 [run_push] DEBUG no remote changes detected 20:47:00 2022-10-26 20:46:59,993 [execute] INFO git push origin semver 20:47:00 2022-10-26 20:46:59,994 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:47:00 2022-10-26 20:47:00,805 [run_push] DEBUG push all version tags 20:47:00 2022-10-26 20:47:00,805 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:47:00 2022-10-26 20:47:00,806 [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) 20:47:01 2022-10-26 20:47:01,623 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:47:01 2.3.0-dev.20 [Pipeline] } 20:47:01 $ docker exec --env ******** --env ******** 7316bdea6dcc7607e0852577efe44117f023d57555abdcb871b9bf20f1044e03 ssh-agent -k 20:47:02 unset SSH_AUTH_SOCK; 20:47:02 unset SSH_AGENT_PID; 20:47:02 echo Agent pid 37 killed; 20:47:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:02 + git semver [Pipeline] } 20:47:02 $ docker stop --time=1 7316bdea6dcc7607e0852577efe44117f023d57555abdcb871b9bf20f1044e03 20:47:03 $ docker rm -f 7316bdea6dcc7607e0852577efe44117f023d57555abdcb871b9bf20f1044e03 [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 20:47:04 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 20:47:04 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:47:04 total 16 20:47:04 drwxr-xr-x 3 root root 4096 Oct 26 20:35 . 20:47:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:46 .. 20:47:04 drwxr-xr-x 2 root root 4096 Oct 26 20:35 cost 20:47:04 -rw-r--r-- 1 root root 88 Oct 26 20:35 cost.csv 20:47:04 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 20:47:04 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:47:04 total 16 20:47:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:35 . 20:47:04 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:46 .. 20:47:04 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:35 cost 20:47:04 -rw-r--r-- 1 jenkins jenkins 88 Oct 26 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:05 ---> package-listing.sh 20:47:05 ++ tr '[:upper:]' '[:lower:]' 20:47:05 ++ facter osfamily 20:47:05 + OS_FAMILY=debian 20:47:05 + workspace=/w/workspace/exfoundry_device-usb-camera_main 20:47:05 + START_PACKAGES=/tmp/packages_start.txt 20:47:05 + END_PACKAGES=/tmp/packages_end.txt 20:47:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:05 + PACKAGES=/tmp/packages_start.txt 20:47:05 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:47:05 + PACKAGES=/tmp/packages_end.txt 20:47:05 + case "${OS_FAMILY}" in 20:47:05 + dpkg -l 20:47:05 + grep '^ii' 20:47:05 + '[' -f /tmp/packages_start.txt ']' 20:47:05 + '[' -f /tmp/packages_end.txt ']' 20:47:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:05 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:47:05 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 20:47:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 20:47:05 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 20:47:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:06 prd-ubuntu20.04-docker-8c-8g-117309 does not seem to be running inside a container 20:47:06 $ 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 20:47:06 $ docker top 7518d9fe75d42803e3dd0c1efea446fc16d187acce7f05ea6867d5bbe66545a8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:07 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:07 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:07 + ls /var/log/sa-host 20:47:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:07 provisioning config files... 20:47:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6282901602351598519tmp [Pipeline] { [Pipeline] echo 20:47:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:08 ---> create-netrc.sh [Pipeline] } 20:47:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:08 ---> python-tools-install.sh [Pipeline] echo 20:47:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:08 ---> sudo-logs.sh 20:47:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:09 ---> job-cost.sh 20:47:09 lf-activate-venv: SKIPPING 20:47:09 DEBUG: total: 0.2199999988079071 20:47:09 INFO: Retrieving Stack Cost... 20:47:09 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:09 INFO: Archiving Costs [Pipeline] echo 20:47:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:10 ---> logs-deploy.sh 20:47:10 lf-activate-venv: SKIPPING 20:47:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/60 20:47:10 INFO: archiving workspace using pattern(s): 20:47:11 Archives upload complete. 20:47:11 INFO: archiving logs to Nexus