Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppVeyor build is failing #478

Open
eeverman opened this issue Oct 31, 2019 · 0 comments
Open

AppVeyor build is failing #478

eeverman opened this issue Oct 31, 2019 · 0 comments

Comments

@eeverman
Copy link
Owner

@eeverman eeverman commented Oct 31, 2019

Describe the bug
When the build attempts to run on AppVeyor for a merge request, AppVeyor fails to find 'mvn.exe' and fails. Here is the console output:

[00:00:00] Build started
[00:00:00] git clone -q --depth=10 --branch=zdt-type https://github.com/eeverman/andhow.git C:\projects\andhow
[00:00:02] git checkout -qf b47534a
[00:00:03] Restoring build cache
[00:00:03]
[00:00:03] Cache 'C:\Users\appveyor.m2' - Calculating dependencies checksum...
[00:00:03] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...1%
[00:00:03] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...10%
[00:00:03] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...20%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...30%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...40%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...50%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...60%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...70%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...80%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...90%
[00:00:04] Cache 'C:\Users\appveyor.m2' - Downloading (30,597,029 bytes)...100%
[00:00:06] Cache 'C:\Users\appveyor.m2' - Unzipping...
[00:00:06] Cache 'C:\Users\appveyor.m2' - Restored
[00:00:06] Running Install scripts
[00:00:06] choco upgrade maven
[00:00:06] Chocolatey v0.10.15
[00:00:06] Upgrading the following packages:
[00:00:06] maven
[00:00:06] By upgrading you accept licenses for the packages.
[00:00:07] maven is not installed. Installing...
[00:00:07]
[00:00:07] Progress: Downloading maven 3.6.2... 12%
[00:00:07] Progress: Downloading maven 3.6.2... 12%
[00:00:07] Progress: Downloading maven 3.6.2... 39%
[00:00:07] Progress: Downloading maven 3.6.2... 39%
[00:00:07] Progress: Downloading maven 3.6.2... 65%
[00:00:07] Progress: Downloading maven 3.6.2... 65%
[00:00:07] Progress: Downloading maven 3.6.2... 91%
[00:00:07] Progress: Downloading maven 3.6.2... 91%
[00:00:07] Progress: Downloading maven 3.6.2... 100%
[00:00:07]
[00:00:07] Progress: Downloading maven 3.6.2... 100%
[00:00:08]
[00:00:08] maven v3.6.2 [Approved]
[00:00:08] maven package files upgrade completed. Performing other installation steps.
[00:00:10] Downloading Maven
[00:00:10] from 'https://archive.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip'
[00:00:10]
[00:00:10] Progress: 1% - Saving 160 KB of 8.75 MB
[00:00:10] Progress: 3% - Saving 320 KB of 8.75 MB
[00:00:10] Progress: 5% - Saving 480 KB of 8.75 MB
[00:00:10] Progress: 7% - Saving 640 KB of 8.75 MB
[00:00:11] Progress: 8% - Saving 800 KB of 8.75 MB
[00:00:11] Progress: 10% - Saving 960 KB of 8.75 MB
[00:00:11] Progress: 12% - Saving 1.09 MB of 8.75 MB
[00:00:11] Progress: 14% - Saving 1.25 MB of 8.75 MB
[00:00:11] Progress: 16% - Saving 1.41 MB of 8.75 MB
[00:00:11] Progress: 17% - Saving 1.56 MB of 8.75 MB
[00:00:11] Progress: 19% - Saving 1.72 MB of 8.75 MB
[00:00:11] Progress: 21% - Saving 1.88 MB of 8.75 MB
[00:00:11] Progress: 23% - Saving 2.03 MB of 8.75 MB
[00:00:11] Progress: 24% - Saving 2.19 MB of 8.75 MB
[00:00:11] Progress: 26% - Saving 2.34 MB of 8.75 MB
[00:00:11] Progress: 28% - Saving 2.5 MB of 8.75 MB
[00:00:11] Progress: 30% - Saving 2.66 MB of 8.75 MB
[00:00:11] Progress: 32% - Saving 2.81 MB of 8.75 MB
[00:00:11] Progress: 33% - Saving 2.97 MB of 8.75 MB
[00:00:11] Progress: 35% - Saving 3.13 MB of 8.75 MB
[00:00:11] Progress: 37% - Saving 3.28 MB of 8.75 MB
[00:00:11] Progress: 39% - Saving 3.44 MB of 8.75 MB
[00:00:11] Progress: 41% - Saving 3.59 MB of 8.75 MB
[00:00:11] Progress: 42% - Saving 3.75 MB of 8.75 MB
[00:00:11] Progress: 44% - Saving 3.91 MB of 8.75 MB
[00:00:11] Progress: 46% - Saving 4.06 MB of 8.75 MB
[00:00:11] Progress: 48% - Saving 4.22 MB of 8.75 MB
[00:00:11] Progress: 49% - Saving 4.38 MB of 8.75 MB
[00:00:11] Progress: 51% - Saving 4.53 MB of 8.75 MB
[00:00:11] Progress: 53% - Saving 4.69 MB of 8.75 MB
[00:00:11] Progress: 55% - Saving 4.84 MB of 8.75 MB
[00:00:11] Progress: 57% - Saving 5 MB of 8.75 MB
[00:00:11] Progress: 58% - Saving 5.16 MB of 8.75 MB
[00:00:11] Progress: 60% - Saving 5.31 MB of 8.75 MB
[00:00:11] Progress: 62% - Saving 5.47 MB of 8.75 MB
[00:00:11] Progress: 64% - Saving 5.63 MB of 8.75 MB
[00:00:11] Progress: 66% - Saving 5.78 MB of 8.75 MB
[00:00:11] Progress: 67% - Saving 5.94 MB of 8.75 MB
[00:00:11] Progress: 69% - Saving 6.09 MB of 8.75 MB
[00:00:11] Progress: 71% - Saving 6.25 MB of 8.75 MB
[00:00:11] Progress: 73% - Saving 6.41 MB of 8.75 MB
[00:00:11] Progress: 74% - Saving 6.56 MB of 8.75 MB
[00:00:11] Progress: 76% - Saving 6.72 MB of 8.75 MB
[00:00:11] Progress: 78% - Saving 6.88 MB of 8.75 MB
[00:00:11] Progress: 80% - Saving 7.03 MB of 8.75 MB
[00:00:11] Progress: 82% - Saving 7.19 MB of 8.75 MB
[00:00:11] Progress: 83% - Saving 7.34 MB of 8.75 MB
[00:00:11] Progress: 85% - Saving 7.5 MB of 8.75 MB
[00:00:11] Progress: 87% - Saving 7.66 MB of 8.75 MB
[00:00:11] Progress: 89% - Saving 7.81 MB of 8.75 MB
[00:00:11] Progress: 91% - Saving 7.97 MB of 8.75 MB
[00:00:11] Progress: 92% - Saving 8.13 MB of 8.75 MB
[00:00:11] Progress: 94% - Saving 8.28 MB of 8.75 MB
[00:00:11] Progress: 96% - Saving 8.44 MB of 8.75 MB
[00:00:11] Progress: 98% - Saving 8.59 MB of 8.75 MB
[00:00:11] Progress: 99% - Saving 8.75 MB of 8.75 MB
[00:00:11] Progress: 100% - Completed download of C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\maven\3.6.2\apache-maven-3.6.2-bin.zip (8.75 MB).
[00:00:11] Download of apache-maven-3.6.2-bin.zip (8.75 MB) completed.
[00:00:14] Hashes match.
[00:00:14] Extracting C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\maven\3.6.2\apache-maven-3.6.2-bin.zip to C:\ProgramData\chocolatey\lib\maven...
[00:00:15] C:\ProgramData\chocolatey\lib\maven
[00:00:15] C:\Users\appveyor.m2
[00:00:15] PATH environment variable does not have %M2_HOME%\bin in it. Adding...
[00:00:16] Environment Vars (like PATH) have changed. Close/reopen your shell to
[00:00:16] see the changes (or in powershell/cmd.exe just type refreshenv).
[00:00:16] The upgrade of maven was successful.
[00:00:16] Software installed to 'C:\ProgramData\chocolatey\lib\maven'
[00:00:16]
[00:00:16] Chocolatey upgraded 1/1 packages.
[00:00:16] See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[00:00:16] SET PATH=%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=%;
[00:00:16] SET MAVEN_OPTS=-XX:MaxPermSize=1g -Xmx2g
[00:00:16] SET JAVA_OPTS=-XX:MaxPermSize=1g -Xmx2g
[00:00:16] C:\ProgramData\chocolatey\bin\mvn.exe --version
[00:00:16] 'C:\ProgramData\chocolatey\bin\mvn.exe' is not recognized as an internal or external command,
[00:00:16] operable program or batch file.
[00:00:16] Command exited with code 1

Job link: https://ci.appveyor.com/project/eeverman/andhow/builds/28509157

To Reproduce
Any merge request should kick off an automatic build on that request, so its easy to test a proposed fix.

Expected behavior / Actual behavior
It should build!

Environment (please complete the following information):
AppVeyor / Windows

Additional context
This used to work, but I'm guessing something changed w/ AppVeyor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.