Narrative:

As I returned from [my] last break the [relief pilot] in the right seat started his brief on aircraft status. As I settled back into my duty station; the [relief pilot] then asked ATC if we were supposed to cross [fix] at 31000 ft. ATC confirmed that we were cleared to cross [fix] at 31000 ft. We were currently at 37000 ft. Approximately 4 miles northwest of the fix. The mode control panel altitude selector had never been set to the crossing altitude of 31000 ft. The legs page was correctly set for the crossing at 31000 ft. The other [relief pilot] who was present during the ATC crossing clearance was out of the cockpit taking a final bathroom break as is typical during the crew's final return before top of descent.ATC subsequently cleared us to descend to 31000 ft.; and made no mention of any traffic conflict. We continued on to [our] destination with no further issues. This was an oversight of not properly following SOP during a very busy phase of flight; and forgetting to reset the altitude selector around the same time they were undoubtedly calling back to the cabin to wake the first officer and myself at the end of our rest period. When I returned to the cockpit neither [relief pilot] briefed the descent clearance; I was unaware until the [relief pilot] in the right seat asked ATC about the clearance. One major factor in this oversight was undoubtedly due to a passenger in the cabin being in the forward lavatory for an extensive period of time.our return to the cockpit was delayed much longer than normal; as the passenger was in the lavatory for at least fifteen minutes; and blocked our return to the cockpit after our final rest period. I was resting in a seat and the first officer was in the lower bunk. We had set the wakeup reminder for one hour prior to landing; which the [relief pilots] followed correctly when they called us back; we just couldn't enter the cockpit and had to wait it out. Just as we were getting ready to knock on the lavatory door; the passenger finally came out; and we returned to the cockpit approximately 10 to 15 minutes later than is in my comfort zone; right near [the] top of descent.

Google
 

Original NASA ASRS Text

Title: An Air Carrier Captain reported during a flight crew switch and cabin distractions they did not comply with a crossing restriction.

Narrative: As I returned from [my] last break the [Relief Pilot] in the right seat started his brief on aircraft status. As I settled back into my duty station; the [Relief Pilot] then asked ATC if we were supposed to cross [fix] at 31000 ft. ATC confirmed that we were cleared to cross [fix] at 31000 ft. We were currently at 37000 ft. approximately 4 miles northwest of the fix. The Mode Control Panel altitude selector had never been set to the crossing altitude of 31000 ft. The legs page was correctly set for the crossing at 31000 ft. The Other [Relief Pilot] who was present during the ATC crossing clearance was out of the cockpit taking a final bathroom break as is typical during the crew's final return before top of descent.ATC subsequently cleared us to descend to 31000 ft.; and made no mention of any traffic conflict. We continued on to [our] destination with no further issues. This was an oversight of not properly following SOP during a very busy phase of flight; and forgetting to reset the altitude selector around the same time they were undoubtedly calling back to the cabin to wake the First Officer and myself at the end of our rest period. When I returned to the cockpit neither [Relief Pilot] briefed the descent clearance; I was unaware until the [Relief Pilot] in the right seat asked ATC about the clearance. One major factor in this oversight was undoubtedly due to a passenger in the cabin being in the forward lavatory for an extensive period of time.Our return to the cockpit was delayed much longer than normal; as the passenger was in the lavatory for at least fifteen minutes; and blocked our return to the cockpit after our final rest period. I was resting in a seat and the First Officer was in the lower bunk. We had set the wakeup reminder for one hour prior to landing; which the [Relief Pilots] followed correctly when they called us back; we just couldn't enter the cockpit and had to wait it out. Just as we were getting ready to knock on the lavatory door; the passenger finally came out; and we returned to the cockpit approximately 10 to 15 minutes later than is in my comfort zone; right near [the] top of descent.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.