Comments (5)
This does not occur with the local test:
heather@mitaka:/work/src/gopkg.in/goose.v1/swift$ go test -check.v ./... > results-local.out 2>&1/work/src/gopkg.in/goose.v1/swift$ cat results-local.out
heather@mitaka:
PASS: :5: localLiveSuite.TestHeadObject 0.002s
PASS: :3: localLiveSuite.TestList 0.004s
PASS: :1: localLiveSuite.TestObject 0.004s
PASS: :2: localLiveSuite.TestObjectReader 0.002s
PASS: :7: localLiveSuite.TestPublicList 0.004s
PASS: :6: localLiveSuite.TestPublicObjectReader 0.001s
PASS: :8: localLiveSuite.TestPublicURL 0.002s
PASS: :4: localLiveSuite.TestURL 0.002s
OK: 8 passed
PASS
ok gopkg.in/goose.v1/swift 0.080s
from goose.
I get a different error, but it also fails for me:
START: live_test.go:154: LiveTestsPublicContainer.SetUpSuite
PASS: live_test.go:154: LiveTestsPublicContainer.SetUpSuite 0.000s
START: live_test.go:195: LiveTestsPublicContainer.TestPublicList
START: live_test.go:164: LiveTestsPublicContainer.SetUpTest
live_test.go:171:
assertCreateContainer(c, s.containerName, s.swift, swift.PublicRead)
live_test.go:71:
c.Assert(err, gc.IsNil)
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc4203ca110), errcode:"Unspecified", cause:(*errors.gooseError)(0xc42034c090)} ("failed to create container: test_containera185cc42ea974fda\ncaused by: Resource at https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda not found\ncaused by: request (https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda) returned unexpected status: 404; error info: 404 Not Found\n\nThe resource could not be found.\n\n ")
FAIL: live_test.go:164: LiveTestsPublicContainer.SetUpTest
START: live_test.go:174: LiveTestsPublicContainer.TearDownTest
live_test.go:176:
c.Check(err, gc.IsNil)
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc4203851b0), errcode:"Unspecified", cause:(*errors.gooseError)(0xc4202f7830)} ("failed to delete container: test_containera185cc42ea974fda\ncaused by: Resource at https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda not found\ncaused by: request (https://swift.canonistack.canonical.com/v1/AUTH_2459d3e9ea8044658626c0d508f6b425/test_containera185cc42ea974fda) returned unexpected status: 404; error info: 404 Not Found\n\nThe resource could not be found.\n\n ")
FAIL: live_test.go:174: LiveTestsPublicContainer.TearDownTest
... Panic: Fixture has panicked (see related PANIC)
PANIC: live_test.go:195: LiveTestsPublicContainer.TestPublicList
START: live_test.go:162: LiveTestsPublicContainer.TearDownSuite
PASS: live_test.go:162: LiveTestsPublicContainer.TearDownSuite 0.000s
OOPS: 0 passed, 2 FAILED, 1 MISSED
--- FAIL: Test (6.93s)
from goose.
And a different error again when run against Rackspace:
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc420397770), errcode:"Unspecified", cause:(*errors.gooseError)(0xc420305590)} ("failed to list contents of container: test_container6d85582b6e650244\ncaused by: Unauthorised URL https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=\ncaused by: request (https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=) returned unexpected status: 401; error info: <html><h1>Unauthorized</h1><p>This server could not verify that you are authorized to access the document you requested.</p></html>")
from goose.
This one looks more similar to the one I got for this bug.
Is there a rackspace utility to do the equivalent of a “swift stat” on the container listed, look at the ACL info? In my case, the containers were left behind.
-Heather
On Oct 4, 2016, at 6:55 PM, Andrew Wilkins <[email protected]mailto:[email protected]> wrote:
And a different error again when run against Rackspace:
... value _errors.gooseError = &errors.gooseError{error:(_errors.errorString)(0xc420397770), errcode:"Unspecified", cause:(*errors.gooseError)(0xc420305590)} ("failed to list contents of container: test_container6d85582b6e650244\ncaused by: Unauthorised URL https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=\ncaused by: request (https://storage101.syd2.clouddrive.com/v1/MossoCloudFS_945896/test_container6d85582b6e650244?delimiter=&format=json&marker=&prefix=) returned unexpected status: 401; error info:
Unauthorized
This server could not verify that you are authorized to access the document you requested.
")—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/24#issuecomment-251537254, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARbClJPoF9V8_pGabmzrLw8dr5BOIOtWks5qwtlrgaJpZM4KN-nm.
from goose.
rackspace is an openstack, so the swift CLI works. In my case, I get:
$ swift stat
Account: MossoCloudFS_945896
Containers: 0
Objects: 0
Bytes: 0
Containers in policy "policy-0": 0
Objects in policy "policy-0": 0
Bytes in policy "policy-0": 0
Meta Temp-Url-Key: <redacted>
X-Timestamp: 1462379841.47633
X-Trans-Id: tx27c3c2788b6546caa31f9-0057f43b47syd2
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes
from goose.
Related Issues (14)
- Fix and improve currentServiceMethodName() for gccgo
- test.py: failures due to repository change for juju dependencies HOT 1
- nova live test fails due to missing network in api call HOT 3
- When getting credentials from env, os_user_domain_name might be missed
- Neutron network query needs filter parameters HOT 3
- Create test-double for cinder.
- apiversion_test has failures HOT 1
- Create go generate directive to automatically regenerate cinder client on build.
- Support for GBP API (Cisco ACI) HOT 1
- Client re-auth failures HOT 5
- credential incorrectly processes tenant/project id
- authentication hides important error information
- add projectdomainid to identity credentials
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goose.