diff mbox series

[v1,2/4] .travis.yml: drop MacOSX

Message ID 20200501111505.4225-3-alex.bennee@linaro.org
State New
Headers show
Series testing/next updates | expand

Commit Message

Alex Bennée May 1, 2020, 11:15 a.m. UTC
This keeps breaking on Travis so lets just fall back to the Cirrus CI
builds which seem to be better maintained. Fix up the comments while
we are doing this as we never had a windows build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 28 +---------------------------
 1 file changed, 1 insertion(+), 27 deletions(-)

Comments

Daniel P. Berrangé May 1, 2020, 11:21 a.m. UTC | #1
On Fri, May 01, 2020 at 12:15:03PM +0100, Alex Bennée wrote:
> This keeps breaking on Travis so lets just fall back to the Cirrus CI
> builds which seem to be better maintained. Fix up the comments while
> we are doing this as we never had a windows build.

FYI the current problem with macOS biulds is not a Travis problem,
it is a Homebrew problem, fixed by this patch:

https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg04234.html


> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .travis.yml | 28 +---------------------------
>  1 file changed, 1 insertion(+), 27 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index a4c3c6c805..49267b73b3 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -9,9 +9,8 @@ compiler:
>  cache:
>    # There is one cache per branch and compiler version.
>    # characteristics of each job are used to identify the cache:
> -  # - OS name (currently, linux, osx, or windows)
> +  # - OS name (currently only linux)
>    # - OS distribution (for Linux, xenial, trusty, or precise)
> -  # - macOS image name (e.g., xcode7.2)
>    # - Names and values of visible environment variables set in .travis.yml or Settings panel
>    timeout: 1200
>    ccache: true
> @@ -271,31 +270,6 @@ jobs:
>          - TEST_CMD=""
>  
>  
> -    # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
> -
> -    - name: "OSX Xcode 10.3"
> -      env:
> -        - BASE_CONFIG="--disable-docs --enable-tools"
> -        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
> -      os: osx
> -      osx_image: xcode10.3
> -      compiler: clang
> -      addons:
> -        homebrew:
> -          packages:
> -            - ccache
> -            - glib
> -            - pixman
> -            - gnu-sed
> -            - python
> -          update: true
> -      before_script:
> -        - brew link --overwrite python
> -        - export PATH="/usr/local/opt/ccache/libexec:$PATH"
> -        - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
> -        - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
> -
> -
>      # Python builds
>      - name: "GCC Python 3.5 (x86_64-softmmu)"
>        env:
> -- 
> 2.20.1
> 
> 

Regards,
Daniel
Philippe Mathieu-Daudé May 1, 2020, 12:19 p.m. UTC | #2
On 5/1/20 1:15 PM, Alex Bennée wrote:
> This keeps breaking on Travis so lets just fall back to the Cirrus CI
> builds which seem to be better maintained. Fix up the comments while
> we are doing this as we never had a windows build.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   .travis.yml | 28 +---------------------------
>   1 file changed, 1 insertion(+), 27 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index a4c3c6c805..49267b73b3 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -9,9 +9,8 @@ compiler:
>   cache:
>     # There is one cache per branch and compiler version.
>     # characteristics of each job are used to identify the cache:
> -  # - OS name (currently, linux, osx, or windows)
> +  # - OS name (currently only linux)
>     # - OS distribution (for Linux, xenial, trusty, or precise)
> -  # - macOS image name (e.g., xcode7.2)
>     # - Names and values of visible environment variables set in .travis.yml or Settings panel
>     timeout: 1200
>     ccache: true
> @@ -271,31 +270,6 @@ jobs:
>           - TEST_CMD=""
>   
>   
> -    # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
> -
> -    - name: "OSX Xcode 10.3"
> -      env:
> -        - BASE_CONFIG="--disable-docs --enable-tools"
> -        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
> -      os: osx
> -      osx_image: xcode10.3
> -      compiler: clang
> -      addons:
> -        homebrew:
> -          packages:
> -            - ccache
> -            - glib
> -            - pixman
> -            - gnu-sed
> -            - python
> -          update: true
> -      before_script:
> -        - brew link --overwrite python
> -        - export PATH="/usr/local/opt/ccache/libexec:$PATH"
> -        - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
> -        - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
> -
> -
>       # Python builds
>       - name: "GCC Python 3.5 (x86_64-softmmu)"
>         env:
> 

Already reviewed:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg697749.html

Again:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Richard Henderson May 1, 2020, 2:25 p.m. UTC | #3
On 5/1/20 4:15 AM, Alex Bennée wrote:
> This keeps breaking on Travis so lets just fall back to the Cirrus CI
> builds which seem to be better maintained. Fix up the comments while
> we are doing this as we never had a windows build.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .travis.yml | 28 +---------------------------
>  1 file changed, 1 insertion(+), 27 deletions(-)

Acked-by: Richard Henderson <richard.henderson@linaro.org>

I haven't had a single green run on Travis for at least a month because of
macos failures.


r~
Alex Bennée May 1, 2020, 3:03 p.m. UTC | #4
Daniel P. Berrangé <berrange@redhat.com> writes:

> On Fri, May 01, 2020 at 12:15:03PM +0100, Alex Bennée wrote:
>> This keeps breaking on Travis so lets just fall back to the Cirrus CI
>> builds which seem to be better maintained. Fix up the comments while
>> we are doing this as we never had a windows build.
>
> FYI the current problem with macOS biulds is not a Travis problem,
> it is a Homebrew problem, fixed by this patch:
>
> https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg04234.html

I did have this in my queue but I thought we hit another problem after
that? Even your log message wasn't overly confident about timeouts hence
my desire to sack it off and leave it to Cirrus.

>
>
>> 
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>  .travis.yml | 28 +---------------------------
>>  1 file changed, 1 insertion(+), 27 deletions(-)
>> 
>> diff --git a/.travis.yml b/.travis.yml
>> index a4c3c6c805..49267b73b3 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -9,9 +9,8 @@ compiler:
>>  cache:
>>    # There is one cache per branch and compiler version.
>>    # characteristics of each job are used to identify the cache:
>> -  # - OS name (currently, linux, osx, or windows)
>> +  # - OS name (currently only linux)
>>    # - OS distribution (for Linux, xenial, trusty, or precise)
>> -  # - macOS image name (e.g., xcode7.2)
>>    # - Names and values of visible environment variables set in .travis.yml or Settings panel
>>    timeout: 1200
>>    ccache: true
>> @@ -271,31 +270,6 @@ jobs:
>>          - TEST_CMD=""
>>  
>>  
>> -    # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
>> -
>> -    - name: "OSX Xcode 10.3"
>> -      env:
>> -        - BASE_CONFIG="--disable-docs --enable-tools"
>> -        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
>> -      os: osx
>> -      osx_image: xcode10.3
>> -      compiler: clang
>> -      addons:
>> -        homebrew:
>> -          packages:
>> -            - ccache
>> -            - glib
>> -            - pixman
>> -            - gnu-sed
>> -            - python
>> -          update: true
>> -      before_script:
>> -        - brew link --overwrite python
>> -        - export PATH="/usr/local/opt/ccache/libexec:$PATH"
>> -        - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
>> -        - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
>> -
>> -
>>      # Python builds
>>      - name: "GCC Python 3.5 (x86_64-softmmu)"
>>        env:
>> -- 
>> 2.20.1
>> 
>> 
>
> Regards,
> Daniel
Alex Bennée May 4, 2020, 7:50 p.m. UTC | #5
Daniel P. Berrangé <berrange@redhat.com> writes:

> On Fri, May 01, 2020 at 12:15:03PM +0100, Alex Bennée wrote:
>> This keeps breaking on Travis so lets just fall back to the Cirrus CI
>> builds which seem to be better maintained. Fix up the comments while
>> we are doing this as we never had a windows build.
>
> FYI the current problem with macOS biulds is not a Travis problem,
> it is a Homebrew problem, fixed by this patch:
>
> https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg04234.html

I had another go and it still went red with a timeout so I think I'll
stick with the original plan of dropping it and leaving it to Cirrus for
the coverage.

>
>
>> 
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>  .travis.yml | 28 +---------------------------
>>  1 file changed, 1 insertion(+), 27 deletions(-)
>> 
>> diff --git a/.travis.yml b/.travis.yml
>> index a4c3c6c805..49267b73b3 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -9,9 +9,8 @@ compiler:
>>  cache:
>>    # There is one cache per branch and compiler version.
>>    # characteristics of each job are used to identify the cache:
>> -  # - OS name (currently, linux, osx, or windows)
>> +  # - OS name (currently only linux)
>>    # - OS distribution (for Linux, xenial, trusty, or precise)
>> -  # - macOS image name (e.g., xcode7.2)
>>    # - Names and values of visible environment variables set in .travis.yml or Settings panel
>>    timeout: 1200
>>    ccache: true
>> @@ -271,31 +270,6 @@ jobs:
>>          - TEST_CMD=""
>>  
>>  
>> -    # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
>> -
>> -    - name: "OSX Xcode 10.3"
>> -      env:
>> -        - BASE_CONFIG="--disable-docs --enable-tools"
>> -        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
>> -      os: osx
>> -      osx_image: xcode10.3
>> -      compiler: clang
>> -      addons:
>> -        homebrew:
>> -          packages:
>> -            - ccache
>> -            - glib
>> -            - pixman
>> -            - gnu-sed
>> -            - python
>> -          update: true
>> -      before_script:
>> -        - brew link --overwrite python
>> -        - export PATH="/usr/local/opt/ccache/libexec:$PATH"
>> -        - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
>> -        - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
>> -
>> -
>>      # Python builds
>>      - name: "GCC Python 3.5 (x86_64-softmmu)"
>>        env:
>> -- 
>> 2.20.1
>> 
>> 
>
> Regards,
> Daniel
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index a4c3c6c805..49267b73b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,9 +9,8 @@  compiler:
 cache:
   # There is one cache per branch and compiler version.
   # characteristics of each job are used to identify the cache:
-  # - OS name (currently, linux, osx, or windows)
+  # - OS name (currently only linux)
   # - OS distribution (for Linux, xenial, trusty, or precise)
-  # - macOS image name (e.g., xcode7.2)
   # - Names and values of visible environment variables set in .travis.yml or Settings panel
   timeout: 1200
   ccache: true
@@ -271,31 +270,6 @@  jobs:
         - TEST_CMD=""
 
 
-    # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
-
-    - name: "OSX Xcode 10.3"
-      env:
-        - BASE_CONFIG="--disable-docs --enable-tools"
-        - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
-      os: osx
-      osx_image: xcode10.3
-      compiler: clang
-      addons:
-        homebrew:
-          packages:
-            - ccache
-            - glib
-            - pixman
-            - gnu-sed
-            - python
-          update: true
-      before_script:
-        - brew link --overwrite python
-        - export PATH="/usr/local/opt/ccache/libexec:$PATH"
-        - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
-        - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
-
-
     # Python builds
     - name: "GCC Python 3.5 (x86_64-softmmu)"
       env: