Skip to content

Instantly share code, notes, and snippets.

@varshavaradarajan
varshavaradarajan / trace
Created April 14, 2016 10:19
Endurance Cookie
curl "http://ctf.india.endurance.com/" -vvv
* Hostname was NOT found in DNS cache
* Trying 54.169.34.238...
* Connected to ctf.india.endurance.com (54.169.34.238) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: ctf.india.endurance.com
> Accept: */*
>
< HTTP/1.1 200 OK
"qtp1485697819-675532": running, holding [0x00000005cb7b7190, 0x000000070b7a16b0]
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.jruby.internal.runtime.methods.InvocationMethodFactory.tryBlockCallback19Class(InvocationMethodFactory.java:1424)
at org.jruby.internal.runtime.methods.InvocationMethodFactory.getBlockCallback19(InvocationMethodFactory.java:989)
at org.jruby.runtime.Helpers.createBlockCallback19(Helpers.java:153)
at org.jruby.runtime.Helpers.createCompiledBlockBody19(Helpers.java:243)
at org.jruby.runtime.Helpers.createCompiledBlockBody19(Helpers.java:235)
"qtp1485697819-675532" #675532 prio=5 os_prio=0 tid=0x00007f0381ebb000 nid=0x1342 runnable [0x00007f01f39e4000]
java.lang.Thread.State: RUNNABLE
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- locked <0x00000005cb7b7190> (a org.jruby.util.ClassCache$OneShotClassLoader)
#! /bin/sh
setup_autoregister_properties_file_for_elastic_agent() {
echo "agent.auto.register.key=${GO_EA_AUTO_REGISTER_KEY}" >> $1
echo "agent.auto.register.environments=${GO_EA_AUTO_REGISTER_ENVIRONMENT}" >> $1
echo "agent.auto.register.elasticAgent.agentId=${GO_EA_AUTO_REGISTER_ELASTIC_AGENT_ID}" >> $1
echo "agent.auto.register.elasticAgent.pluginId=${GO_EA_AUTO_REGISTER_ELASTIC_PLUGIN_ID}" >> $1
echo "agent.auto.register.hostname=${AGENT_AUTO_REGISTER_HOSTNAME}" >> $1
export GO_SERVER_URL="${GO_EA_SERVER_URL}"
# unset variables, so we don't pollute and leak sensitive stuff to the agent process...
org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.thoughtworks.go.domain.MaterialInstance#45478]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.thoughtworks.go.domain.MaterialInstance#45478]
go-server.log.3- at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:677)
go-server.log.3- at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
go-server.log.3- at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
go-server.log.3- at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
go-server.log.3- at com.thoughtworks.go.server.persistence.MaterialRepository.findLatestModification(MaterialRepository.java:791)
go-server.log.3- at com.thoughtworks.go.server.persistence.MaterialRepository.fin
018-01-24 16:38:37,048 WARN [98@MessageListener for MaterialUpdateListener] MaterialDatabaseUpdater:115 - [Material Update] Modification check failed for material: URL: git@github.com:nubank/morpheus.git, Branch: master
java.lang.RuntimeException: Failed to run git clone command STDERR: Cloning into '/var/lib/go-server/pipelines/flyweight/31b32639-d786-485e-942e-1ce07151cf00'...
STDERR: Failed to add the RSA host key for IP address '192.30.253.113' to the list of known hosts (/var/go/.ssh/known_hosts).
STDERR: ERROR: Repository not found.
STDERR: fatal: Could not read from remote repository.
STDERR:
STDERR: Please make sure you have the correct access rights
STDERR: and the repository exists.
at com.thoughtworks.go.util.ExceptionUtils.bomb(ExceptionUtils.java:40)
at com.thoughtworks.go.config.materials.git.GitMaterial.getGit(GitMaterial.java:212)
curl 'http://localhost:8153/go/api/elastic/profiles' \
-H 'Accept: application/vnd.go.cd.v1+json' \
-H 'Content-Type: application/json' \
-X POST -d '{
"id": "demo-app",
"plugin_id": "cd.go.contrib.elasticagent.kubernetes",
"properties": [
{
"key": "Image",
"value": "gocd/gocd-agent-docker-dind:v18.2.0"
<pipelines group="artifact_demo">
<pipeline name="build_and_publish_image">
<environmentvariables>
<variable name="DOCKERHUB_USERNAME">
<value>varshavs</value>
</variable>
</environmentvariables>
<materials>
<git url="/Users/varshavs/git_test/docker_artifact" />
</materials>
<pipelines group="fan_in_travis_williams">
<pipeline name="p1">
<materials>
<git url="/Users/varshavs/git_test/test_fan_in_1" />
</materials>
<stage name="defaultStage">
<jobs>
<job name="defaultJob">
<tasks>
<exec command="sleep">
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mithril/0.2.3/mithril.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body><script id="jsbin-javascript">
var HTMLString =