-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Travis log too long #523
Comments
how about |
And |
And thank you for spotting this. |
According to pypa/pip#2756 if we provide the Unfortunately, it seems Travis is now completely broken. See e.g. https://travis-ci.org/tensorflow/tensor2tensor/builds/329575693 (note that a given commit just changes README.md). |
I think it’s fine not to see the pip exceptions in Travis. The focus of the
tests is not to test pip install. If a pip command fails, we'll see it and
can retry locally to see the error.
…On Thu, Jan 18, 2018 at 12:02 PM Martin Popel ***@***.***> wrote:
According to pypa/pip#2756 <pypa/pip#2756> if
we provide the --quiet option, pip does not display exceptions, which is
a bit unfortunate for Travis. That said, it would be still better than the
current state.
And yes, git clone -q is a good idea.
Unfortunately, it seems Travis is now completely broken. See e.g.
https://travis-ci.org/tensorflow/tensor2tensor/builds/329575693 (note
that a given commit just changes README.md).
In #524 <#524> I have
tried to silence the pip, but Travis again failed for other reasons.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#523 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABEGW7Dh5eapBCtAMw3hq-f6A_dogrSQks5tL6NzgaJpZM4Rgoy6>
.
|
I changed |
* no pip download progress bars in Travis log see #523 * allow specifying --checkpoint_path with t2t-decoder and allow keeping timestamp in that case. This is needed for t2t-translate-all + t2t-bleu to work as expected (I forgot to add this commit to #488). * prevent tf.gfile.Glob crashes due to concurrent filesystem edits tf.gfile.Glob may crash with tensorflow.python.framework.errors_impl.NotFoundError: xy/model.ckpt-1130761_temp_9cb4cb0b0f5f4382b5ea947aadfb7a40; No such file or directory Let's use standard glob.glob instead, it seems to be more reliable. * reintroducing FLAGS deleted by someone this is needed for **locals() to work * speedup BLEU tokenization As I think about it, I would prefer my original implementation https://github.com/tensorflow/tensor2tensor/blob/bb1173adce940e62c840970fa0f06f69fd9398db/tensor2tensor/utils/bleu_hook.py#L147-L157 But it seems there are some T2T/Google internal Python guidelines forbidding this, so we have to live with the singleton. * another solution of #523 * make save_checkpoints_secs work again The functionality was broken during the adoption of TPU trainer_lib.py instead of the original trainer_utils.py. Currently, the default is to save checkpoints each 2000 steps, while in previous T2T versions the default was each 10 minutes. * adapt according to @rsepassi's review * Update NotFoundError
Travis CI has 4MB limit on the log file, but current T2T tests exceed this limit.
As a result I cannot see the real cause why a given build failed.
Most of the log (if downloaded as a raw file) is full of download progress bars, e.g.
This is the first time I see this problem, but it seems that until a new pip version with --progress-bar off option is released, we should use a workaround
pip install package | cat && exit ${PIPESTATUS[0]}
orset -o pipefail; pip install package | cat
.The text was updated successfully, but these errors were encountered: