Closed ShiChangkuo closed 1 year ago
fixes #79
$ go test -v ./... ? github.com/huaweicloud/packer-builder-huaweicloud-ecs [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestImageConfigPrepare_Region --- PASS: TestImageConfigPrepare_Region (0.00s) === RUN TestRunConfigPrepare --- PASS: TestRunConfigPrepare (0.00s) === RUN TestRunConfigPrepare_InstanceType --- PASS: TestRunConfigPrepare_InstanceType (0.00s) === RUN TestRunConfigPrepare_SourceImage --- PASS: TestRunConfigPrepare_SourceImage (0.00s) === RUN TestRunConfigPrepare_SSHPort --- PASS: TestRunConfigPrepare_SSHPort (0.00s) === RUN TestRunConfigPrepare_BlockStorage --- PASS: TestRunConfigPrepare_BlockStorage (0.00s) === RUN TestBuildImageFilter --- PASS: TestBuildImageFilter (0.00s) === RUN TestBuildBadImageFilter --- PASS: TestBuildBadImageFilter (0.00s) === RUN TestImageFiltersEmpty --- PASS: TestImageFiltersEmpty (0.00s) === RUN TestBerToDer 2023/07/04 20:51:14 Couldn't parse SSH key, trying work around for [GH-2526]. 2023/07/04 20:51:14 Executing: /usr/bin/openssl [rsa -in /tmp/packer-ber-privatekey-2610527326 -out /tmp/packer-der-privatekey-3994203908] 2023/07/04 20:51:14 ui: Successfully converted BER encoded SSH key to DER encoding. --- PASS: TestBerToDer (0.07s) PASS ok github.com/huaweicloud/packer-builder-huaweicloud-ecs/builder/ecs 0.093s
fixes #79