[ovs-dev] peer ca cert test failure on Windows

Gurucharan Shetty shettyg at nicira.com
Mon Aug 24 14:46:18 UTC 2015


On Sun, Aug 23, 2015 at 9:34 AM, Ben Pfaff <blp at nicira.com> wrote:
> Hi Guru, I'm seeing the following test failure in the Windows builds on
> the new test.  Do you have a lead on the problem?

Ugh, I was a little over-confident. I sent in a fix.

>
> Thanks,
>
> Ben.
>
> #                             -*- compilation -*-
> 1591. ovs-vsctl.at:1313: testing peer ca cert ...
> /d/build/ob/bora-3008270/ovs/build/ovs/utilities/ovs-pki.in: log directory /d/build/ob/bora-3008270/ovs/build/ovs/tests/testsuite.dir/1591/d:/build/ob/bora-3008270/ovs/build/ovs/tests/testsuite.dir/1591 does not exist and cannot be created
> ./ovs-vsctl.at:1324: ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema
> ./ovs-vsctl.at:1325: ovsdb-server --detach --no-chdir --pidfile="`pwd`"/pid --private-key=$PKIDIR/ovsdbserver-privkey.pem --certificate=$PKIDIR/ovsdbserver-cert.pem --ca-cert=$PKIDIR/pki/switchca/cacert.pem --peer-ca-cert=$PKIDIR/ovsdbserver-cert.pem --remote=pssl:0:127.0.0.1 --unixctl="`pwd`"/unixctl --log-file="`pwd`"/ovsdb-server.log conf.db
> stderr:
> stdout:
> cat: cleanup: No such file or directory
> ./ovs-vsctl.at:1330: ovs-vsctl -t 5 --db=ssl:127.0.0.1:$SSL_PORT --private-key=$PKIDIR/vsctl-privkey.pem --certificate=$PKIDIR/vsctl-cert.pem --bootstrap-ca-cert=$PKIDIR/cacert.pem show
> stderr:
> 2015-08-23T07:48:54Z|00001|stream_ssl|ERR|SSL_use_PrivateKey_file: error:02001002:system library:fopen:No such file or directory
> 2015-08-23T07:48:54Z|00002|stream_ssl|ERR|SSL_use_certificate_file: error:02001002:system library:fopen:No such file or directory
> 2015-08-23T07:48:54Z|00003|stream_ssl|ERR|Private key must be configured to use SSL
> 2015-08-23T07:48:54Z|00004|stream_ssl|ERR|Certificate must be configured to use SSL
> ovs-vsctl: ssl:127.0.0.1:50363: database connection failed (Unknown error)
> stdout:
> ./ovs-vsctl.at:1333: ovs_wait_cond () { test -e $PKIDIR/cacert.pem
> }
> ovs_wait
> stderr:
> stdout:
> ./ovs-vsctl.at:1333: exit code was 1, expected 0
> 1591. ovs-vsctl.at:1313: 1591. peer ca cert (ovs-vsctl.at:1313): FAILED (ovs-vsctl.at:1333)



More information about the dev mailing list