potiuk commented on PR #30422:
URL: https://github.com/apache/airflow/pull/30422#issuecomment-1493380744

   I've run a number of tests and here is an example of how it works.
   
   Example builds  with those suspended (just picked some arbitrary / 
representative ones): yandex, influxdb, apache.hdfs, pinot.
   
   * Automatically removing unneeded libraries from the image (this is what we 
really need):
   
https://github.com/apache/airflow/actions/runs/4589278601/jobs/8104063675#step:4:18596
   
   ```
   < # This constraints file was automatically generated on 2023-04-01T16:28:00Z
   ---
   > # This constraints file was automatically generated on 2023-04-02T14:57:11Z
   110c110
   < blinker==1.5
   ---
   > blinker==1.6
   129d128
   < ciso8601==2.3.0
   261d259
   < influxdb-client==1.36.1
   367d364
   < pinotdb==0.4.14
   441d437
   < reactivex==4.0.4
   466c462
   < semver==2.13.0
   ---
   > semver==3.0.0
   ```
   
   * Not building documentation for suspended providers:
   
   
https://github.com/apache/airflow/actions/runs/4589278601/jobs/8104136038#step:6:606
   
   * Pytest not collecting the tests from suspended providers:
   
   
https://github.com/apache/airflow/actions/runs/4589278601/jobs/8104136262#step:6:346
   
   ```
   Running command ['pytest',
    '--ignore=tests/providers/yandex', '--ignore=tests/providers/influxdb', 
'--ignore=tests/providers/apache/pinot', 
'--ignore=tests/providers/apache/hdfs', 
   '--ignore=tests/system/providers/yandex', 
'--ignore=tests/system/providers/influxdb', 
'--ignore=tests/system/providers/apache/pinot', 
'--ignore=tests/system/providers/apache/hdfs', 
   '--ignore=tests/integration/providers/yandex', 
'--ignore=tests/integration/providers/influxdb', 
'--ignore=tests/integration/providers/apache/pinot', 
'--ignore=tests/integration/providers/apache/hdfs',
    '--collect-only', '-qqqq', '--disable-warnings', 'tests']
   ```
   
   * Suspended packages not being prepared (cc: @eladkal):
   
   
https://github.com/apache/airflow/actions/runs/4589278601/jobs/8104136217#step:7:8343
   
   * Tests excluded from being executed:
   
https://github.com/apache/airflow/actions/runs/4589278601/jobs/8104176380#step:6:5158
   
   ```
    Starting the tests with those pytest arguments: --verbosity=0 
--strict-markers --durations=100
    --maxfail=50 --color=yes --junitxml=/files/test_result-Providers-mysql.xml 
   --timeouts-order moi --setup-timeout=60 --execution-timeout=60 
--teardown-timeout=60
   --output=/files/warnings-Providers-mysql.txt --disable-warnings -rfEX
   --ignore=tests/providers/yandex --ignore=tests/system/providers/yandex 
--ignore=tests/integration/providers/yandex
   --ignore=tests/providers/influxdb --ignore=tests/system/providers/influxdb 
--ignore=tests/integration/providers/influxdb
   --ignore=tests/providers/apache/pinot 
--ignore=tests/system/providers/apache/pinot 
--ignore=tests/integration/providers/apache/pinot
   --ignore=tests/providers/apache/hdfs 
--ignore=tests/system/providers/apache/hdfs 
--ignore=tests/integration/providers/apache/hdfs
   --with-db-init tests/providers
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to