Lando news: patch conflict detail now available

2021-02-26 Thread Zeid Zabaneh
Greetings everyone,

Are you tired of the cryptic, not-so-useful patch conflict messages that
Lando normally spits out? If so, you're in luck -- a new feature has just
been deployed to Lando that will hopefully provide you with more useful
information*. *If not, don't worry, you'll still be able to see those
beautiful raw error messages we've all gotten so accustomed to seeing.

Lando will now show you:

   - Which revision in the stack caused the patch conflict
   
   - Which revision of the particular file(s) being patched in the revision
   encountered the conflict
   - A diff showing the failed hunks in each file that was not patched
   successfully

*jstutte *has graciously accepted my request to use their patch for testing
this new feature, so you can see it in action in revision D106029
 (before/after)

Please let me know if you have any feedback on this feature. If you
encounter any issues, please reach out to me via Slack, Matrix, email, this
thread, or file a bug in Conduit::Lando

.

There are some planned improvements (for example, including some of this
info in the notification emails, and cleaning up the interface a little
more), so stay tuned!

Zeid

PS: there were a couple of hiccups deploying this release, so you may have
noticed some delays in your patches landing, but those should be resolved
now.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: New system for landing + cancelling landing jobs in Lando

2020-08-04 Thread Zeid Zabaneh
Hi all,

After running various tests on our lower environments, we've run into some
snags due to the limited amount of memory we've allocated for Lando in our
production cluster. Specifically when running some hungry mercurial
commands on `mozilla-central` which are essential for the reliability of
the system. Therefore I'm postponing the deployment of this until early
next week while we adjust the configuration of this cluster to allocate
more memory and run these tests again.

Apologies for this delay. I will send out another update once these issues
are resolved and this is deployed!

Zeid

On Thu, Jul 16, 2020 at 12:20 PM Zeid Zabaneh  wrote:

> Greetings everyone,
>
> The new Lando landing worker system has now been enabled for the below
> repositories. This system is part of Lando, and no longer uses the legacy
> Autoland-Transplant system.
>
>- phabricator-qa-stage (
>https://hg.mozilla.org/automation/phabricator-qa-stage)
>- version-control-tools (
>https://hg.mozilla.org/hgcustom/version-control-tools)
>- build-tools (https://hg.mozilla.org/build/tools/)
>- ci-admin (https://hg.mozilla.org/ci/ci-admin)
>- ci-configuration (https://hg.mozilla.org/ci/ci-configuration)
>- fluent-migration (https://hg.mozilla.org/l10n/fluent-migration)
>- comm-central (https://hg.mozilla.org/comm-central)
>- nspr (https://hg.mozilla.org/projects/nspr)
>- taskgraph (https://hg.mozilla.org/ci/taskgraph)
>- nss (https://hg.mozilla.org/projects/nss)
>
> What should you expect? Things should work the same as they did before. If
> you experience any issues when landing (for example, if a landing is stuck
> in the same state for a very long time, or if you see unexpected behaviour
> or errors) please let me know.
>
> If your repository is in the list above, you will also now have the
> ability to cancel a landing request within a certain time frame after
> submitting it. A "cancel landing request" button will show up after
> submitting a landing. Upon clicking the button, a cancel request will be
> sent. Let me know if you have any questions or if you run into any issues
> with this feature as well.
>
> The above features will be enabled for mozilla-central (
> https://hg.mozilla.org/integration/autoland) next week.
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


New system for landing + cancelling landing jobs in Lando

2020-08-04 Thread Zeid Zabaneh
Greetings everyone,

The new Lando landing worker system has now been enabled for the below
repositories. This system is part of Lando, and no longer uses the legacy
Autoland-Transplant system.

   - phabricator-qa-stage (
   https://hg.mozilla.org/automation/phabricator-qa-stage)
   - version-control-tools (
   https://hg.mozilla.org/hgcustom/version-control-tools)
   - build-tools (https://hg.mozilla.org/build/tools/)
   - ci-admin (https://hg.mozilla.org/ci/ci-admin)
   - ci-configuration (https://hg.mozilla.org/ci/ci-configuration)
   - fluent-migration (https://hg.mozilla.org/l10n/fluent-migration)
   - comm-central (https://hg.mozilla.org/comm-central)
   - nspr (https://hg.mozilla.org/projects/nspr)
   - taskgraph (https://hg.mozilla.org/ci/taskgraph)
   - nss (https://hg.mozilla.org/projects/nss)

What should you expect? Things should work the same as they did before. If
you experience any issues when landing (for example, if a landing is stuck
in the same state for a very long time, or if you see unexpected behaviour
or errors) please let me know.

If your repository is in the list above, you will also now have the ability
to cancel a landing request within a certain time frame after submitting
it. A "cancel landing request" button will show up after submitting a
landing. Upon clicking the button, a cancel request will be sent. Let me
know if you have any questions or if you run into any issues with this
feature as well.

The above features will be enabled for mozilla-central (
https://hg.mozilla.org/integration/autoland) next week.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: New system for landing + cancelling landing jobs in Lando

2020-08-04 Thread Zeid Zabaneh
Greetings everyone!

I'm happy to report that the new system for landing as well as the ability
to cancel landing jobs is now deployed and operational for the `autoland`
tree as of 7:45 p.m. UTC. You may have experienced some delays landing
things earlier as we were fixing a couple of issues that came up.

Please let me know if you do experience any unexpected behaviour, or you
can directly file a bug
<https://bugzilla.mozilla.org/enter_bug.cgi?product=Conduit=Lando>
under Conduit::Lando.

Regards,

Zeid

On Fri, Jul 24, 2020 at 1:48 PM Zeid Zabaneh  wrote:

> Hi all,
>
> After running various tests on our lower environments, we've run into some
> snags due to the limited amount of memory we've allocated for Lando in our
> production cluster. Specifically when running some hungry mercurial
> commands on `mozilla-central` which are essential for the reliability of
> the system. Therefore I'm postponing the deployment of this until early
> next week while we adjust the configuration of this cluster to allocate
> more memory and run these tests again.
>
> Apologies for this delay. I will send out another update once these issues
> are resolved and this is deployed!
>
> Zeid
>
> On Thu, Jul 16, 2020 at 12:20 PM Zeid Zabaneh  wrote:
>
>> Greetings everyone,
>>
>> The new Lando landing worker system has now been enabled for the below
>> repositories. This system is part of Lando, and no longer uses the legacy
>> Autoland-Transplant system.
>>
>>- phabricator-qa-stage (
>>https://hg.mozilla.org/automation/phabricator-qa-stage)
>>- version-control-tools (
>>https://hg.mozilla.org/hgcustom/version-control-tools)
>>- build-tools (https://hg.mozilla.org/build/tools/)
>>- ci-admin (https://hg.mozilla.org/ci/ci-admin)
>>- ci-configuration (https://hg.mozilla.org/ci/ci-configuration)
>>- fluent-migration (https://hg.mozilla.org/l10n/fluent-migration)
>>- comm-central (https://hg.mozilla.org/comm-central)
>>- nspr (https://hg.mozilla.org/projects/nspr)
>>- taskgraph (https://hg.mozilla.org/ci/taskgraph)
>>- nss (https://hg.mozilla.org/projects/nss)
>>
>> What should you expect? Things should work the same as they did before.
>> If you experience any issues when landing (for example, if a landing is
>> stuck in the same state for a very long time, or if you see unexpected
>> behaviour or errors) please let me know.
>>
>> If your repository is in the list above, you will also now have the
>> ability to cancel a landing request within a certain time frame after
>> submitting it. A "cancel landing request" button will show up after
>> submitting a landing. Upon clicking the button, a cancel request will be
>> sent. Let me know if you have any questions or if you run into any issues
>> with this feature as well.
>>
>> The above features will be enabled for mozilla-central (
>> https://hg.mozilla.org/integration/autoland) next week.
>>
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Lando's "Appropriate token is expired" error

2020-03-09 Thread Zeid Zabaneh
Greetings everyone,

I have determined the cause of this bug. It is due to a change in the way
*flask-pyoidc* handles session refresh. A new key, *last_session_refresh*,
was added to the session cookie and is now used to determine when an auth
token needs to be refreshed. Users who have logged in before this latest
deployment are missing this value from their session cookie. *flask-pyoidc*
handles these cases incorrectly, marking these users who are missing this
value as not needing a session refresh at all and thus the API will reject
those requests with an "expired token" error without any automatic remedy.

You should not encounter this issue again once you have followed the
instructions of signing out and back in again! There is no need to contact
me regarding this issue unless you are experiencing it despite taking the
steps outlined in the original thread.

Zeid

On Fri, Mar 6, 2020 at 4:09 PM Zeid Zabaneh  wrote:

> Greetings everyone,
>
> A new version of Lando was deployed yesterday around 5:15 PM UTC. This
> release included a major version update to the authentication packages, as
> well as some API changes in order to support those updates. Those updates
> seem to have caused the issue below, and I am looking into whether this
> issue is a temporary bug or a more persistent one.
>
> There have been a few reports of users getting this:
>
>> Lando API returned an unexpected error
>>
>> Appropriate token is expired
>>
>
> This bug should affect you if you are trying to navigate to a *revision
> stack page that contains multiple stacks*, or if you are trying to *land
> a stack*.
>
> If you encounter this error, please log out of Lando, navigate back to
> https://lando.services.mozilla.com/, and log back in again. This should
> resolve the issue.
>
> If you encounter this issue again, some time after you have taken the
> steps above and have been able to successfully use Lando, please notify me
> by replying to this thread.
>
> Sorry for the disruption!
>
> Happy weekend!
>
> -- Zeid
>
> PS & PPS
>
>- If you have encountered this error in the distant past (i.e. prior
>to yesterday) or outside of the criteria above, please send me a note.
>- If you've used Lando since noon UTC yesterday, and have not
>experienced any issues trying to view multiple stacks or land stacks, I'd
>appreciate a quick note.
>
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Lando's "Appropriate token is expired" error

2020-03-09 Thread Zeid Zabaneh
Greetings everyone,

A new version of Lando was deployed yesterday around 5:15 PM UTC. This
release included a major version update to the authentication packages, as
well as some API changes in order to support those updates. Those updates
seem to have caused the issue below, and I am looking into whether this
issue is a temporary bug or a more persistent one.

There have been a few reports of users getting this:

> Lando API returned an unexpected error
>
> Appropriate token is expired
>

This bug should affect you if you are trying to navigate to a *revision
stack page that contains multiple stacks*, or if you are trying to *land a
stack*.

If you encounter this error, please log out of Lando, navigate back to
https://lando.services.mozilla.com/, and log back in again. This should
resolve the issue.

If you encounter this issue again, some time after you have taken the steps
above and have been able to successfully use Lando, please notify me by
replying to this thread.

Sorry for the disruption!

Happy weekend!

-- Zeid

PS & PPS

   - If you have encountered this error in the distant past (i.e. prior to
   yesterday) or outside of the criteria above, please send me a note.
   - If you've used Lando since noon UTC yesterday, and have not
   experienced any issues trying to view multiple stacks or land stacks, I'd
   appreciate a quick note.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform