Comment 13 for bug 1296965

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: [Bug 1296965] Re: canonical-certification-server needs the iperf tests added and needs to honor settings in /etc/xdg/canonical-certification.conf

Does the job advertise environment variables using the environ field in the job definition?

Sent from my BlackBerry 10 smartphone.
  Original Message
From: Jeff Lane
Sent: środa, 26 marca 2014 23:35
To: <email address hidden>
Reply To: Bug 1296965
Subject: [Bug 1296965] Re: canonical-certification-server needs the iperf tests added and needs to honor settings in /etc/xdg/canonical-certification.conf

So doing some testing also and I've discovered that neither the [common]
nor [environment] sections of canonical-certification.conf are honored.

HOWEVER, if I add the [sru] section to set a Secure ID prior to testing,
that IS honored. On a fresh 14.04 system I installed c-c-s from the dev
ppa and edited the file /etc/xdg/canonical-certification.conf to look
like this:

root@CCS-SUT:~# cat /etc/xdg/canonical-certification.conf
[common]
welcome_text = THIS IS JEFFS HOUSE OF PAIN!!!

Abandon all hope, ye who enter here...

[environment]
# For virtualization testing.
# Uncomment the following 2 lines and set the proper parameters:
#kvm_timeout:
#kvm_image:
# For network testing.
# Uncomment the following 4 lines and set the proper parameters:
#test_target_ftp: your-ftp-server.example.com
#test_user: anonymous
#test_pass:
test_target_iperf: 10.128.242.171

[sru]
secure_id=a00D000000M60SE

as you can see, I changed the welcome text completely, and added a
test_target_iperf variable to point to my iperf server, and added the
secure_id variable.

Then I ran through it and deselected everything but the ethernet tests.

As expected the ethernet tests failed

--
You received this bug notification because you are a member of Checkbox
Bug Wranglers, which is subscribed to checkbox.
https://bugs.launchpad.net/bugs/1296965

Title:
canonical-certification-server needs the iperf tests added and needs
to honor settings in /etc/xdg/canonical-certification.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/1296965/+subscriptions