Comment 2 for bug 1025381

Revision history for this message
Marc Tardif (cr3) wrote : Re: Submission.xml is not written before checkbox attempts to submit results

The steps of the user interface are defined in the user_interface plugin in this order:

             "prompt-begin",
             "prompt-gather",
             "prompt-jobs",
             "prompt-report",
             "prompt-exchange",
             "prompt-finish"]

The submission.xml file is generated in the prompt-report step and the messages are exchanged in the prompt-exchange step. So, considering these steps are in order, the former should happen before the latter.

Just in case, I tried running checkbox-certification from the trunk of the project. These are the steps I followed:

1. Remove all traces of files like the submission.xml that might be there already:

  $ rm -fr store messages checkbox.xsl checkbox-certification.log certification_plugins.bpickle* sub*

2. Ran checkbox-certification-server with a whitelist only containing resources, __info__ and __graphics__:

  $ CHECKBOX_DATA=. ./bin/checkbox-certification-server -W graphics.whitelist

3. Pressed ctrl-c at the report step:

Test case results report

a: Graphics tests
 : Space when finished

Please choose (a/ ): ./bin/checkbox-certification-server: line 18: 13181 I/O possible python3 $CHECKBOX_SHARE/run "$@" $CHECKBOX_CERTIFICATION_SHARE/configs/$(basename $0).ini

4. Checked that the submission.xml file exists and has a size:

  $ wc -c submission.xml
  228160 submission.xml

Everything looks good, I don't understand how to reproduce this problem.