Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Add beta3 #38

Merged
merged 1 commit into from
Mar 23, 2015
Merged

Add beta3 #38

merged 1 commit into from
Mar 23, 2015

Conversation

friism
Copy link
Contributor

@friism friism commented Feb 27, 2015

No description provided.

@ghost
Copy link

ghost commented Feb 27, 2015

Hi @friism, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.msopentech.com.

TTYL, MSOTBOT;

@ghost ghost added the cla-required label Feb 27, 2015
@ahmetb
Copy link
Contributor

ahmetb commented Feb 27, 2015

Thanks for PR! Build is failing at the moment, can you please take a look?

Also there shouldn't be two READMEs, please remove the one in beta2. We just need to keep one readme next to a Dockerfile so that Hub can generate a description from readme file. In this case we decided to keep it next to latest. it'll be fine if you just remove the old one in beta2.

Can you also squash the commits into one please?

@friism
Copy link
Contributor Author

friism commented Mar 2, 2015

@ahmetalpbalkan for some reason, the two sample apps are locked to beta1. I've sent an update to update them to beta3: dotnet/aspnetcore#348

@friism
Copy link
Contributor Author

friism commented Mar 2, 2015

@msotclas I've gotten the CLA signed, thanks!

@friism
Copy link
Contributor Author

friism commented Mar 2, 2015

@ahmetalpbalkan commits squashed, beta2 README removed.

@ahmetb
Copy link
Contributor

ahmetb commented Mar 2, 2015

LGTM. I'll merge once samples are fixed. I guess there's no need to hurry at this point.

@JontyMC
Copy link

JontyMC commented Mar 5, 2015

I had to change the last line of the docker file to:

ENV PATH $PATH:$KVM_USER_HOME/runtimes/default/bin

@ahmetb
Copy link
Contributor

ahmetb commented Mar 5, 2015

@friism sounds about right. I remember you using /runtimes/.. at some point?

@friism
Copy link
Contributor Author

friism commented Mar 5, 2015

Lemme take a look

@ahmetb
Copy link
Contributor

ahmetb commented Mar 5, 2015

Oh sorry that was the nightly PR #36.

@akoeplinger
Copy link

@ahmetalpbalkan beta3 runtimes are now in ~/.k/runtimes/..

@ahmetb
Copy link
Contributor

ahmetb commented Mar 5, 2015

@akoeplinger thanks. We need to find out if it respects the install path we provide.

@friism
Copy link
Contributor Author

friism commented Mar 5, 2015

Fix pushed, thanks @JontyMC

@ahmetb
Copy link
Contributor

ahmetb commented Mar 12, 2015

@friism the samples are updated however it's now failing with a different error. (output) can you please check?

2015-03-12T20:57:22.017488921Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [DefaultHost]: Project path: /app
2015-03-12T20:57:22.017651922Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [DefaultHost]: Project root: /app
2015-03-12T20:57:22.017723844Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [DefaultHost]: Packages path: /root/.kpm/packages
2015-03-12T20:57:22.035903240Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [DependencyWalker]: Walking dependency graph for 'app Asp.Net,Version=v5.0'.
2015-03-12T20:57:22.138845141Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [ProjectReferenceDependencyProvider]: app 1.0.0
2015-03-12T20:57:22.140820374Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [NuGetDependencyResolver]: Kestrel 1.0.0-beta3, Microsoft.AspNet.Diagnostics 1.0.0-beta3, Microsoft.AspNet.Hosting 1.0.0-beta3, Microsoft.AspNet.Server.WebListener 1.0.0-beta3, Microsoft.AspNet.StaticFiles 1.0.0-beta3, Microsoft.AspNet.Server.Kestrel 1.0.0-beta3, Microsoft.AspNet.RequestContainer 1.0.0-beta3, Microsoft.AspNet.FileProviders 1.0.0-beta3, Microsoft.AspNet.Http.Core 1.0.0-beta3, Microsoft.Framework.Logging 1.0.0-beta3, Microsoft.Framework.OptionsModel 1.0.0-beta3, Newtonsoft.Json 6.0.6, Microsoft.AspNet.FeatureModel 1.0.0-beta3, Microsoft.AspNet.Http 1.0.0-beta3, Microsoft.Framework.ConfigurationModel 1.0.0-beta3, Microsoft.Net.Http.Server 1.0.0-beta3, Microsoft.Net.WebSocketAbstractions 1.0.0-beta3, Microsoft.AspNet.Http.Extensions 1.0.0-beta3, Microsoft.AspNet.FileProviders.Interfaces 1.0.0-beta3, Microsoft.AspNet.Http.Interfaces 1.0.0-beta3, Microsoft.AspNet.WebUtilities 1.0.0-beta3, Microsoft.Net.Http.Headers 1.0.0-beta3, Microsoft.Framework.Logging.Interfaces 1.0.0-beta3, Microsoft.Framework.DependencyInjection 1.0.0-beta3, Microsoft.Net.WebSockets 1.0.0-beta3, Microsoft.Framework.Runtime.Interfaces 1.0.0-beta3
2015-03-12T20:57:22.178069023Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [ReferenceAssemblyDependencyResolver]: gac/mscorlib 4.0.0.0, gac/System 4.0.0.0, gac/System.Core 4.0.0.0, gac/Microsoft.CSharp 4.0.0.0
2015-03-12T20:57:22.180077959Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/Microsoft.Framework.Runtime.dll Information : 0 : [DependencyWalker]: Resolved dependencies for app in 143ms
2015-03-12T20:57:22.183107476Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [LoaderContainer]: Load name=Microsoft.AspNet.Hosting
2015-03-12T20:57:22.198661862Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [NuGetAssemblyLoader]: Loaded name=Microsoft.AspNet.Hosting in 15ms
2015-03-12T20:57:22.201234714Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [LoaderContainer]: Load name=Microsoft.Framework.ConfigurationModel
2015-03-12T20:57:22.202052039Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [NuGetAssemblyLoader]: Loaded name=Microsoft.Framework.ConfigurationModel in 0ms
2015-03-12T20:57:22.202659841Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [LoaderContainer]: Load name=Microsoft.Framework.DependencyInjection
2015-03-12T20:57:22.203594637Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [NuGetAssemblyLoader]: Loaded name=Microsoft.Framework.DependencyInjection in 0ms
2015-03-12T20:57:22.204005843Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [LoaderContainer]: Load name=Microsoft.AspNet.Http
2015-03-12T20:57:22.204568101Z /opt/kre/packages/KRE-Mono.1.0.0-beta1/bin/klr.host.dll Information : 0 : [NuGetAssemblyLoader]: Loaded name=Microsoft.AspNet.Http in 0ms
2015-03-12T20:57:22.222870765Z System.InvalidOperationException: No service for type 'Microsoft.Framework.DependencyInjection.ServiceLookup.IServiceManifest' has been registered.
2015-03-12T20:57:22.222870765Z   at Microsoft.Framework.DependencyInjection.ServiceProviderExtensions.GetRequiredService (IServiceProvider provider, System.Type serviceType) [0x00000] in <filename unknown>:0 
2015-03-12T20:57:22.222951590Z   at Microsoft.Framework.DependencyInjection.ServiceProviderExtensions.GetRequiredService[IServiceManifest] (IServiceProvider provider) [0x00000] in <filename unknown>:0 
2015-03-12T20:57:22.222951590Z   at Microsoft.AspNet.Hosting.HostingServices.Import (IServiceProvider fallbackProvider) [0x00000] in <filename unknown>:0 
2015-03-12T20:57:22.222951590Z   at Microsoft.AspNet.Hosting.HostingServices.Create (IServiceProvider fallbackServices, IConfiguration configuration) [0x00000] in <filename unknown>:0 
2015-03-12T20:57:22.222951590Z   at Microsoft.AspNet.Hosting.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
2015-03-12T20:57:22.222951590Z   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
2015-03-12T20:57:22.222951590Z   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

@ahmetb
Copy link
Contributor

ahmetb commented Mar 13, 2015

@friism it looks like Home/samples are updated with beta3 stuff and now 1.0.0-beta1 imaage cannot run these? https://circle-artifacts.com/gh/aspnet/aspnet-docker/36/artifacts/0/home/ubuntu/aspnet-docker/container-logs/ee6864cee948.log can you please check if this is the case, if so we can probably discontinue the old versions.

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

@ahmetalpbalkan taking a look now

@ahmetb
Copy link
Contributor

ahmetb commented Mar 13, 2015

@friism looks like we fixed it in #41. can you please rebase so we can kick off another CI run?

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

@ahmetalpbalkan done, crossing my fingers for build :-)

@ahmetb
Copy link
Contributor

ahmetb commented Mar 13, 2015

@friism unfortunately fails with this.

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

looking

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

Weird, works fine on my local machine with master checkout of the home samples. Checking the circle crap.

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

@ahmetalpbalkan I don't get it, the CircleCI errors are not like what you post. Where are you getting that? I'm looking at https://circleci.com/gh/aspnet/aspnet-docker/39

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

@ahmetalpbalkan the log that you're posting, which of the sample project is that?

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

@ahmetalpbalkan is there any public chat/IRC place where you consistently hang out? Like vnext Jabbr? https://jabbr.net/#/rooms/AspNetvNext

@friism
Copy link
Contributor Author

friism commented Mar 13, 2015

alright, trying to build the images the way that you do: https://github.com/aspnet/aspnet-docker/blob/master/.ci/build-app-image.sh#L14

@ahmetb
Copy link
Contributor

ahmetb commented Mar 14, 2015

@friism I grabbed the container id from CircleCI output logs, clicked on Artifacts on CircleCI and you can see that all containers have log files over there. We save container logs in each build so that we can troubleshoot the problem like this.

you can find me on irc.freenode.net 7/24 (ahmetalpbalkan).

@vlesierse
Copy link
Contributor

I've looked into this problem and it appears that the version tags doesn't match with the versions in the project.json of samples. They are still on beta1 in the beta3 tag.

My suggestion is to create a sample application within this repository. This repository will be less dependent on what is happening in the Home repository.

@friism
Copy link
Contributor Author

friism commented Mar 14, 2015

Ya, it looks like they didn't move the beta3 tag: https://github.com/aspnet/Home/releases

@ahmetb
Copy link
Contributor

ahmetb commented Mar 14, 2015

@friism @vlesierse is the project.json the only problem? If so, just like we inject Dockerfiles, we can "sed -i" the versions as well. I'm not really a big fan of maintaining samples. :-(

@vlesierse
Copy link
Contributor

@ahmetalpbalkan for this particular case it is. But there is not guarantee for breaking code changes in the future.

I've tested to change the project.json and it is sufficient.

@ahmetb
Copy link
Contributor

ahmetb commented Mar 14, 2015

@vlesierse feel free to fork or create another samples repo if you like. we can refer to your repo in the CI tests. looks like there's no other way we can handle this very well until we have a stable release.

@vlesierse
Copy link
Contributor

I have forked the aspnet/Home repo and changed the tags to the right commits. Please feel free to change the ci to vlesierse/Home.

@ahmetb
Copy link
Contributor

ahmetb commented Mar 15, 2015

@vlesierse feel free to send the PR. 😄 it's better when proposal comes from you.

@friism
Copy link
Contributor Author

friism commented Mar 15, 2015

It feels weird to be relying on samples hosted in @vlesierse's account, but up to you guys.

@ahmetalpbalkan what about factoring the tests into a separate repo that has the (non-broken) samples?

@vlesierse
Copy link
Contributor

I agree that this isn't sustainable solution for the future. I will at least create an issue to the aspnet/Home repo that it takes care of the samples as well when the releases are tagged.

@davidfowl
Copy link
Member

Do we just need to retag the home branch with beta3 working samples?

@ahmetb
Copy link
Contributor

ahmetb commented Mar 15, 2015

@davidfowl looks like it.

@vlesierse
Copy link
Contributor

If the v1.0.0-beta3 tag points to commit b1b5cbb558587a0822d318605dba401f56787cda, which is the next one with the beta3 fix, then we don't need to point to another repo.

@ahmetb
Copy link
Contributor

ahmetb commented Mar 23, 2015

@feiling Tests are passing now. Merging and updating Docker Hub.

ahmetb added a commit that referenced this pull request Mar 23, 2015
@ahmetb ahmetb merged commit ad7179a into aspnet:master Mar 23, 2015
@friism
Copy link
Contributor Author

friism commented Mar 23, 2015

💃

@ahmetb
Copy link
Contributor

ahmetb commented Mar 23, 2015

Added build:

@vlesierse
Copy link
Contributor

Great

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants