You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2014/12/15 16:22:27 UTC

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** open
**Milestone:** unreleased
**Labels:** bitesize sf-current 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Mon Dec 15, 2014 03:22 PM UTC
**Owner:** nobody

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: review --> closed
- **Reviewer**: Dave Brondsema



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** closed
**Milestone:** unreleased
**Labels:** bitesize 42cc sf-current sf-1 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Fri Jan 09, 2015 04:32 PM UTC
**Owner:** Igor Bondarenko

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: bitesize, 42cc, sf-current, sf-1 --> bitesize, 42cc, sf-1



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** closed
**Milestone:** unreleased
**Labels:** bitesize 42cc sf-1 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Mon Jan 12, 2015 03:42 PM UTC
**Owner:** Igor Bondarenko

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail

Posted by Heith Seewald <hs...@slashdotmedia.com>.
I'll work on this next week.


---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** open
**Milestone:** unreleased
**Labels:** bitesize sf-current sf-1 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Fri Dec 19, 2014 08:09 PM UTC
**Owner:** nobody

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Ticket 7516 discussion

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: bitesize --> bitesize, sf-current



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** open
**Milestone:** unreleased
**Labels:** bitesize sf-current 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Mon Dec 15, 2014 03:22 PM UTC
**Owner:** nobody

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail

Posted by Igor Bondarenko <je...@gmail.com>.
- **status**: in-progress --> review
- **Comment**:

Closed #706. `ib/7516`



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** review
**Milestone:** unreleased
**Labels:** bitesize 42cc sf-current sf-1 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Fri Jan 09, 2015 04:29 PM UTC
**Owner:** Igor Bondarenko

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7516 Timing may case test_set_password_sets_last_updated to fail

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: bitesize, sf-current --> bitesize, sf-current, sf-1



---

** [tickets:#7516] Timing may case test_set_password_sets_last_updated to fail**

**Status:** open
**Milestone:** unreleased
**Labels:** bitesize sf-current sf-1 
**Created:** Tue Jul 01, 2014 03:14 PM UTC by Dave Brondsema
**Last Updated:** Mon Dec 15, 2014 04:39 PM UTC
**Owner:** nobody

This can fail, sometimes.  I think its because the timings can be too close, since it relies on current `utcnow()` values.

~~~~
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated
    assert_true(user.last_password_updated < now2)
AssertionError: False is not true
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.