Code Monkey home page Code Monkey logo

Comments (9)

joevandyk avatar joevandyk commented on September 7, 2024

This started happening at 7c27845, tests all run fine before that.

from que.

chanks avatar chanks commented on September 7, 2024

I can't reproduce it on my machine, either on master or that commit, and things seem to be fine on Travis on 2.0.0 (just the same old intermittent errors on rbx and jruby). I don't know why there would be forked processes running - I played around with forking a bit locally, but it never made it into master. I notice that all the errors relate to ActiveRecord - what version is in your Gemfile.lock? I'm using 4.0.0.

from que.

joevandyk avatar joevandyk commented on September 7, 2024

4.0.2. Gemfile.lock is here: https://gist.github.com/joevandyk/e5a7233fef94d072266b/raw/a5bbef1c89cf9c629b9847f0655356eb45ab5116/gistfile1.txt

I'll try to dig some more.

from que.

joevandyk avatar joevandyk commented on September 7, 2024

Nevermind about the fork.

When the process was hanging, I used ctrl-c to stop the process, but for some reason, the ruby process still sticks around, see https://gist.github.com/joevandyk/e88eced0ae2c4d8f94a1 for the transcript. (then when I tried running rake again, there'd be multiples of these left-over ruby processes.

from que.

chanks avatar chanks commented on September 7, 2024

I just updated to 4.0.2, still no issue on 2.0.0-p247 or 2.0.0-p353.

Yeah, I've seen that issue with Ctrl+C not killing test processes properly, I'm not sure why it happens. Usually it just results in advisory-lock lint warnings, nothing like this.

from que.

joevandyk avatar joevandyk commented on September 7, 2024

Weird. I can replicate it on two separate ubuntu 12.04 machines and two separate OSX machines.

from que.

chanks avatar chanks commented on September 7, 2024

That's very, very strange. I'm running Linux Mint 15, which is derived from Ubuntu 13.04. I'll try to reproduce this on 12.04 tomorrow.

from que.

chanks avatar chanks commented on September 7, 2024

Figured it out. I have the TZ environment variable on my machine set to "UTC" so that Time.now returns values in that time zone. I set it up that way forever ago to emulate Heroku, but it's doing something unexpected with ActiveRecord here. I'm not sure what the fix is yet, but deleting that environment variable lets me recreate the problem on my machine, so I can figure it out from here. Thanks!

from que.

joevandyk avatar joevandyk commented on September 7, 2024

Looks good!

from que.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.