[sos-devel] Broken: sosreport/sos#4897 (legacy-3.9 - 8288b5b)

Travis CI builds at travis-ci.org
Wed Oct 21 17:50:43 UTC 2020


Build Update for sosreport/sos
-------------------------------------

Build: #4897
Status: Broken

Duration: 1 hr, 0 mins, and 35 secs
Commit: 8288b5b (legacy-3.9)
Author: Jan Jansky
Message: [policy] Fix failure conditions with upload

The logic for determining if an archive should be uploaded to the
Customer Portal was too strict, ease it to now properly only block on a
missing case number since username and passwords may now be provided via
env vars.

Fixes an issue whereby we ignore a user-provided FTP directory.

Adds a timeout and a timeout handler for FTP connections, rather than
letting the connection attempt continue indefinitely.

Second, adds exception handling for an edge case where the connection to
the FTP server fails, but does not generate an exception from the ftplib
module.

Additionally, correct the type-ing of the error numbers being checked so
that we actually match them.

Caling "sos report --upload --case-id=123 --batch" should fallback
to uploading to FTP server as the upload user is unknown and can't
be prompted in batch mode.

Related: #2276
Related: #2245
Resolves: #2265

Signed-off-by: Jan Jansky <jjansky at redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake at redhat.com>

View the changeset: https://github.com/sosreport/sos/compare/d5ea92776988...8288b5bb76d0

View the full build log and details: https://travis-ci.org/github/sosreport/sos/builds/737771371?utm_medium=notification&utm_source=email


--

You can unsubscribe from build emails from the sosreport/sos repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=819743&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sos-devel/attachments/20201021/64c1b73a/attachment.htm>


More information about the sos-devel mailing list