lp://staging/~javier.collado/utah/returncodes

Created by Javier Collado and last modified
Get this branch:
bzr branch lp://staging/~javier.collado/utah/returncodes
Only Javier Collado can upload to this branch. If you are Javier Collado please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Javier Collado
Project:
UTAH
Status:
Merged

Recent revisions

838. By Javier Collado

Refactored client return codes to use a class instead of a dictionary

Suggested by Andy

837. By Javier Collado

Refactored server return codes to use a class instead of a dictionary

Suggested by Andy

836. By Javier Collado

Clarified return code values in server and client
(LP: #1025633, LP: #1133227)

835. By Javier Collado

Added server return codes dictionary

The server has its own return codes and an offset that is added to the client
return code when an error is returned to make sure it's possible to know when
an error came from the client or the server just looking at the return code.

834. By Javier Collado

Added comment to make clear return codes and set ERROR to 2

833. By Javier Collado

Removed error on test case command failure

Any non success returncode (!= 0) in the test case command is considered a
failure. Before this change, if the test case command returned 1 it was
considered a failure and an error otherwise. Since no assumption can be made on
the returncode from the test case command, this change considers that
everything is a failure.

Note that an non successful returncode in the setup command is always
considered and error. Hence, the sum of errors and fetch_errors is the number
of test cases that weren't really executed because something failed before the
command was executed while the number of failures is the number of test cases
commands that failed for some reason.

832. By Javier Collado

Removed processes return code constants

These constants are not being used anywhere else, so it makes sense to remove
them and avoid confusing them with the return codes used by the client.

831. By Javier Collado

Hardcoded user unknown return code

Instead of using a constant that isn't using anywhere else, this change
replaces it with the constant 1 which happens to be the same code that sudo
would have returned when trying to execute.

I think this is better to avoid confussing return codes from commands executed
by the client and return codes from the client itself.

830. By Javier Collado

Replaced ERROR_TIMEOUT constant with real return code from process

829. By Javier Collado

Added line that was skipped when resolving merge conflict

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/utah
This branch contains Public information 
Everyone can see this information.

Subscribers