Skip to content

Conversation

@khalidmammadov
Copy link
Contributor

@khalidmammadov khalidmammadov commented Nov 27, 2021

Current "airflow" password gets masked whenever mentioned in the logs.
This causes word "airflow" to be replaced with *** in the logs including folder path etc.

This causes issue in some tests that read logs.
For example:
Test case: tests.cli.commands.test_task_command.TestLogsfromTaskRunCommand
It asserts for this value:

"INFO - Running: ['airflow', 'tasks', 'run'...."

but gets

"INFO - Running: ['***', 'tasks', 'run'..."

^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk
Copy link
Member

potiuk commented Nov 27, 2021

Should we also un-quarantine the quarantined tests ?

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Nov 27, 2021
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@khalidmammadov
Copy link
Contributor Author

At the moment quarantine is set on a class/suite level and there are some other issues in those test. I will fix one by one and once complete we can remove quarantine flag.

@potiuk
Copy link
Member

potiuk commented Nov 27, 2021

Sounds good. @ashb - are you ok with that?

khalidmammadov and others added 2 commits November 29, 2021 12:35
Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
@khalidmammadov khalidmammadov requested a review from ashb November 29, 2021 20:48
@potiuk potiuk merged commit 387893a into apache:main Nov 29, 2021
dillonjohnson pushed a commit to dillonjohnson/airflow that referenced this pull request Dec 1, 2021
@jedcunningham jedcunningham added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:logging changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants