You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/20 10:07:37 UTC
[GitHub] [airflow] turbaszek opened a new issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
turbaszek opened a new issue #10425:
URL: https://github.com/apache/airflow/issues/10425
**Apache Airflow version**:
Current master
**Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
**Environment**:
- **OS** (e.g. from /etc/os-release): MacOS
**What happened**:
```
➜ ./breeze prepare-backport-packages 2020.07.27 cncf
/Users/tomaszurbaszek/airflow/scripts/ci/libraries/_md5sum.sh: line 86: FILES_FOR_REBUILD_CHECK[@]: unbound variable
```
**What you expected to happen**:
I would love to build packages
**How to reproduce it**:
Just run
```
./breeze prepare-backport-packages 2020.07.27 cncf
```
**Anything else we need to know**:
N/A
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677526008
And this is the output I have on Linux if I run your command:
```
===================================================================================
Preparing backport package 2020.07.27
-----------------------------------------------------------------------------------
ERROR! Wrong first param: 2020.07.27
You should provide PACKAGE as first of the setup.py arguments
Available packages:
amazon apache.cassandra apache.druid apache.hdfs apache.hive apache.kylin
apache.livy apache.pig apache.pinot apache.spark apache.sqoop celery cloudant
cncf.kubernetes databricks datadog dingding discord docker elasticsearch exasol
facebook ftp google grpc hashicorp http imap jdbc jenkins jira microsoft.azure
microsoft.mssql microsoft.winrm mongo mysql odbc openfaas opsgenie oracle
pagerduty papermill postgres presto qubole redis salesforce samba segment sftp
singularity slack snowflake sqlite ssh vertica yandex zendesk
Additional commands:
list-providers-packages - lists all provider packages
list-backportable-packages - lists all packages that are backportable
update-package-release-notes [YYYY.MM.DD] [PACKAGES] - updates package release notes
--version-suffix <SUFFIX> - adds version suffix to version of the packages.
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677525558
You need to run `./breeze prepare-backport-packages 2020.07.27 cncf.kubernetes` (and there you get another issue - with missing README.md that you have to add). But I have different (correct) output in Linux so I have to double check it. The output I have:
```
Building backport package: cncf.kubernetes
Traceback (most recent call last):
File "setup_backport_packages.py", line 1233, in <module>
do_setup_package_providers(provider_package_id=provider_package,
File "setup_backport_packages.py", line 269, in do_setup_package_providers
long_description=get_long_description(provider_package_id),
File "setup_backport_packages.py", line 218, in get_long_description
with open(os.path.join(package_folder, "README.md"), encoding='utf-8') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/airflow/backport_packages/airflow/providers/cncf/kubernetes/README.md'
###########################################################################################
[IN CONTAINER] EXITING /opt/airflow/scripts/ci/in_container/run_prepare_backport_packages.sh WITH STATUS CODE 1
###########################################################################################
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek closed issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
turbaszek closed issue #10425:
URL: https://github.com/apache/airflow/issues/10425
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677526205
I will double check it on mac and see where the undefined variable comes from
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677508562
When I move back to 5739ba28a Fix broken breeze script (#10418) everything seems to be ok.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677506257
@potiuk any ideas?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677516990
Mac issue
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] turbaszek commented on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677526632
> (and there you get another issue - with missing README.md that you have to add
I solved this with changing mode to `w+`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk edited a comment on issue #10425: FILES_FOR_REBUILD_CHECK[@]: unbound variable
Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #10425:
URL: https://github.com/apache/airflow/issues/10425#issuecomment-677525558
You need to run `./breeze prepare-backport-packages cncf.kubernetes` (and there you get another issue - with missing README.md that you have to add). But I have different (correct) output in Linux so I have to double check it. The output I have:
```
Building backport package: cncf.kubernetes
Traceback (most recent call last):
File "setup_backport_packages.py", line 1233, in <module>
do_setup_package_providers(provider_package_id=provider_package,
File "setup_backport_packages.py", line 269, in do_setup_package_providers
long_description=get_long_description(provider_package_id),
File "setup_backport_packages.py", line 218, in get_long_description
with open(os.path.join(package_folder, "README.md"), encoding='utf-8') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/airflow/backport_packages/airflow/providers/cncf/kubernetes/README.md'
###########################################################################################
[IN CONTAINER] EXITING /opt/airflow/scripts/ci/in_container/run_prepare_backport_packages.sh WITH STATUS CODE 1
###########################################################################################
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org