Page MenuHomePhabricator

CI Tests with Python 3.9 always fails at Appveyor
Closed, ResolvedPublic

Description

[00:00:00] Build started
[00:00:00] ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
[00:00:00] C:\Python39 3.9.x 32
[00:00:00] SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
[00:00:00] git clone -q --depth=50 --branch=master https://github.com/wikimedia/pywikibot.git C:\projects\pywikibot-g4xqx
[00:00:03] git checkout -qf 682bef47be54f60134a39cb7918882e28039d748
[00:00:03] Running Install scripts
[00:00:03] git submodule update --init
[00:00:03] Submodule 'i18n' (https://gerrit.wikimedia.org/r/pywikibot/i18n) registered for path 'scripts/i18n'
[00:00:06] Cloning into 'C:/projects/pywikibot-g4xqx/scripts/i18n'...
[00:00:08] Submodule path 'scripts/i18n': checked out 'cf961d5d7db37682d927d57875102b883c05d2bf'
[00:00:08] mkdir appveyor
[00:00:08] $wc = new-object net.webclient
[00:00:08] $run = $wc.DownloadString($env:APPVEYOR_PYTHON_URL + 'run_with_env.cmd')
[00:00:08] $run | Out-File -Encoding ascii -FilePath appveyor\run_with_env.cmd
[00:00:08] if (-not(Test-Path($env:PYTHON))) {
[00:00:08]   iex $wc.DownloadString($env:APPVEYOR_PYTHON_URL + 'install.ps1')
[00:00:08] }
[00:00:08] 
[00:00:09] Installing Python 3.9.x for 32 bit architecture to C:\Python39
[00:00:09] Cannot convert value "3.9.x" to type "System.Version". Error: "Input string was not in a correct format."
[00:00:09] At line:58 char:5
[00:00:09] +     $version_obj = [version]$python_version
[00:00:09] +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:09]     + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
[00:00:09]     + FullyQualifiedErrorId : InvalidCastParseTargetInvocation
[00:00:09]  
[00:00:09] Downloading python-3.9.x.msi from https://www.python.org/ftp/python/../python-3.9.x.msi
[00:00:11] Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
[00:00:11] At line:47 char:9
[00:00:11] +         $webclient.DownloadFile($url, $filepath)
[00:00:11] +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:11]     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
[00:00:11]     + FullyQualifiedErrorId : WebException
[00:00:11]  
[00:00:11] Installing C:\projects\pywikibot-g4xqx\python-3.9.x.msi to C:\Python39
[00:00:11] msiexec.exe /qn /log C:\Python39.log /i C:\projects\pywikibot-g4xqx\python-3.9.x.msi TARGETDIR=C:\Python39
[00:00:11] 
[00:00:11] Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName                                                                                                                                                                
[00:00:11] -------  ------    -----      -----     ------     --  -- -----------                                                                                                                                                                
[00:00:11]      16       2      284       1588       0.02   2096   1 msiexec                                                                                                                                                                    
[00:00:12] Python seems to be installed else-where, reinstalling.
[00:00:12] msiexec.exe /qn /x C:\projects\pywikibot-g4xqx\python-3.9.x.msi
[00:00:12]      11       2      284       1412       0.00   1828   1 msiexec                                                                                                                                                                    
[00:00:13] msiexec.exe /qn /log C:\Python39.log /i C:\projects\pywikibot-g4xqx\python-3.9.x.msi TARGETDIR=C:\Python39
[00:00:13]       3       2      244       1288       0.00   2624   1 msiexec                                                                                                                                                                    
[00:00:14] Failed to install Python in C:\Python39
[00:00:14] Command exited with code 
[00:00:14] codecov
[00:00:14] 'codecov' is not recognized as an internal or external command,
[00:00:14] operable program or batch file.
[00:00:14] Command exited with code 1

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt renamed this task from CI Tests wit Python 3,9 always fails att Appveyor to CI Tests wit Python 3.9 always fails at Appveyor .Jan 30 2021, 4:55 PM
Xqt triaged this task as High priority.
Xqt added a subscriber: Ladsgroup.
Xqt renamed this task from CI Tests wit Python 3.9 always fails at Appveyor to CI Tests with Python 3.9 always fails at Appveyor .Jan 30 2021, 4:59 PM

Change 663147 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [tests] Enable VS 2019

https://gerrit.wikimedia.org/r/663147

Change 663147 merged by jenkins-bot:
[pywikibot/core@master] [tests] Enable VS 2019

https://gerrit.wikimedia.org/r/663147

Xqt claimed this task.